[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113554546A - Watermark drawing method and device - Google Patents

Watermark drawing method and device Download PDF

Info

Publication number
CN113554546A
CN113554546A CN202110875324.XA CN202110875324A CN113554546A CN 113554546 A CN113554546 A CN 113554546A CN 202110875324 A CN202110875324 A CN 202110875324A CN 113554546 A CN113554546 A CN 113554546A
Authority
CN
China
Prior art keywords
watermark
layer
nattable
information
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110875324.XA
Other languages
Chinese (zh)
Inventor
黄朝林
张清立
卢樨
金正皓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Business Intelligence Of Oriental Nations Corp ltd
Original Assignee
Business Intelligence Of Oriental Nations Corp ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Business Intelligence Of Oriental Nations Corp ltd filed Critical Business Intelligence Of Oriental Nations Corp ltd
Priority to CN202110875324.XA priority Critical patent/CN113554546A/en
Publication of CN113554546A publication Critical patent/CN113554546A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention provides a watermark drawing method and a watermark drawing device. The watermark drawing method comprises the following steps: creating a watermark layer in a table component NatTable; based on the watermark layer, configuring watermark information in a NatTable; acquiring the watermark information under the condition that the NatTable renders the watermark layer; based on the watermark information, drawing a watermark through a watermark drawing device; wherein the watermark information is watermark parameter information required for rendering the watermark. The watermark drawing method and the watermark drawing device provided by the invention can realize the watermark configuration function in the NatTable, and can prevent the data from being distorted by drawing the watermark, thereby improving the data security and realizing the data tracing at the same time.

Description

Watermark drawing method and device
Technical Field
The invention relates to the technical field of data security, in particular to a watermark drawing method and a watermark drawing device.
Background
The existing table component NatTable has a function of an SWT (Standard Widget Toolkit) native table, and also has functions that many SWT native table components do not have, for example: hide/show columns, drag columns, sort and group, etc. Since the layers in the NatTable are limited, i.e., the functions that the NatTable can perform are limited, it is not enough to cope with all services.
Disclosure of Invention
The invention provides a watermark drawing method and a watermark drawing device, which are used for solving the technical problem that a NatTable cannot draw a watermark in the prior art.
In a first aspect, the present invention provides a watermark rendering method, including:
creating a watermark layer in a table component NatTable;
based on the watermark layer, configuring watermark information in a NatTable;
acquiring the watermark information under the condition that the NatTable renders the watermark layer;
based on the watermark information, drawing a watermark through a watermark drawing device;
wherein the watermark information is watermark parameter information required for rendering the watermark.
In an embodiment, the configuring, based on the watermark layer, watermark information in a NatTable includes:
creating a watermark layer object based on the watermark layer;
setting preset watermark content in the watermark layer object;
and configuring the watermark information in the NatTable based on the preset watermark content.
In one embodiment, the watermark renderer renders the watermark by:
setting a watermark font, a watermark transparency and a watermark color based on the watermark information and the preset watermark content;
determining the rendering position of the current watermark according to the single watermark rendering range and the watermark rendering range;
setting the rotation angle of the current watermark according to the drawing position of the current watermark;
and drawing the current watermark based on the rotation angle of the current watermark.
In one embodiment, the watermark rendering method further includes:
determining the drawing position of the next watermark according to the drawing position of the current watermark, the horizontal space of the watermark and the vertical space of the watermark;
and drawing the next watermark according to the drawing position of the next watermark.
In one embodiment, the watermark information includes:
the watermark rotating angle, the horizontal space, the vertical space, the rendering range, the color, the transparency and the font of the watermark.
In one embodiment, the watermark layer is stacked to the uppermost layer of the NatTable.
In a second aspect, the present invention provides a watermark rendering apparatus, including:
the creation module is used for creating a watermark layer in a table component NatTable;
and the configuration module is used for configuring the watermark information in the NatTable based on the watermark layer.
An obtaining module, configured to obtain the watermark information when the NatTable renders the watermark layer;
the rendering module is used for rendering the watermark through the watermark renderer based on the watermark information;
and the watermark information is watermark parameter information required by drawing the watermark.
In one embodiment, the configuration module is to:
creating a watermark layer object based on the watermark layer;
setting preset watermark content in the watermark layer object;
and configuring the watermark information in the NatTable based on the preset watermark content.
In a third aspect, the present invention provides an electronic device, comprising a memory and a memory storing a computer program, wherein the processor implements the steps of the watermark rendering method according to the first aspect when executing the program.
In a fourth aspect, the present invention provides a processor-readable storage medium having stored thereon a computer program for causing a processor to perform the steps of the method of watermarking according to the first aspect.
According to the watermark drawing method and device provided by the invention, the watermark layer is arranged in the NatTable, and the watermark information can be configured in the NatTable to realize the function of adding the watermark; and based on the watermark information, the watermark is drawn by the watermark drawing device, so that the data can be prevented from being tampered, the data security is improved, and the data tracing can be realized.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a watermark rendering method provided by the present invention;
fig. 2 is a schematic diagram of a watermark by applying the watermark rendering method provided by the present invention;
fig. 3 is a schematic structural diagram of a watermark rendering apparatus provided in the present invention;
fig. 4 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a watermark rendering method provided by the present invention. Referring to fig. 1, the watermark rendering method provided by the present invention includes:
step 110, creating a watermark layer in a table component NatTable;
step 120, based on the watermark layer, configuring watermark information in a NatTable;
step 130, under the condition that the NatTable renders the watermark layer, acquiring the watermark information;
step 140, based on the watermark information, rendering a watermark through a watermark renderer;
wherein the watermark information is watermark parameter information required for rendering the watermark.
The execution main body of the watermark drawing method provided by the invention can be an electronic device, a component in the electronic device, an integrated circuit or a chip. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), and the like, and the present invention is not limited in particular.
The following describes the technical solution of the present invention in detail by taking an example in which a computer executes the watermark rendering method provided by the present invention.
Optionally, the SWT (Standard Widget Toolkit) has a plurality of components, such as a Label (Label), a Button (Button), a Text box (Text), a drop-down box (Combo), a panel (Composite), a palette (Canvas), and the like. Java developers can build a graphical interface for a PC desktop application by using SWT. Among the numerous components of SWT are Table components (tables). With the Table component (Table), the developer can perform many operations such as displaying, editing, etc. on the data. The SWT native form component (Table) actually calls the form in the UI library of the operating system, making the SWT form component (Table) single in expression and also having many limitations in use. Thus, a table component NatTable is drawn by expanding the palette component (Canvas).
Optionally, in step 110, the NatTable adds a different function by adding a Layer (Layer). Each feature or function is typically implemented by a separate layer. For example, column hiding/displaying is implemented by ColumnHideShowLayer, sorting is implemented by SortHeaderLayer, and so on. The layers may be stacked together in a Stack (Stack). At the bottom of each layer stack there is a data layer (DataLayer) that serves as the data source for all other layers. Therefore, a watermark layer (watermark) is created on the basis of the NatTable, and the NatTable can be provided with a watermark function.
Optionally, in step 120, the watermark layer is stacked on the NatTable through its layer interface (ILayer) to perform its function. The watermark information can be configured by a configuration method commonly used by the NatTable, and if the watermark information is not configured, default watermark information can be used. The watermark information is the encapsulation of various parameters required for rendering the watermark.
Optionally, in step 130, after configuring the watermark information in the NatTable, the watermark renderer in the watermark layer acquires the configured watermark information. The computer application system renders layer by layer while running the NatTable. For example: when the watermark layers are stacked to the uppermost layer of the NatTable, the NatTable starts to render layer by layer from the bottom layer to the uppermost layer.
Optionally, in step 140, when the watermark layer is rendered, the watermark layer may invoke a watermark renderer, and render the watermark according to the watermark information, and finally present the watermark on the NatTable. Wherein, the watermark drawing device is a tool for drawing the watermark by the watermark layer.
According to the watermark drawing method provided by the invention, the watermark information can be configured in the NatTable by creating the watermark layer, so that the NatTable can have the function of adding the watermark; and a watermark drawing device is called through a watermark layer to realize the drawing of the watermark, so that the finally generated data can present the watermark, and the data security is improved.
In an embodiment, the configuring, based on the watermark layer, watermark information in a NatTable includes:
creating a watermark layer object based on the watermark layer;
setting preset watermark content in the watermark layer object;
and configuring the watermark information in the NatTable based on the preset watermark content.
Alternatively, the preset watermark content may be directly set by the watermark layer, that is, a watermark layer object is created in the watermark layer, and the preset watermark content is set by the watermark layer object. Different watermark content may serve different functions. The preset watermark content may be an explanatory file, including, for example: user identification, local IP address, user name or current time, etc., and the present invention is not limited in particular.
Alternatively, when the NatTable executes a specific business logic, a desired layer may be selected in the NatTable packet, stacked or combined together. When the program runs, the table is rendered layer by layer from bottom to top, and when the top layer is rendered, the target display table is generated.
According to the watermark drawing method provided by the invention, the preset watermark content is set by creating the watermark layer object, so that the user-defined watermark content can be realized to show the data, the data can be prevented from being distorted and used in other places in the transmission process, and meanwhile, the data can be traced.
In one embodiment, the watermark renderer renders the watermark by:
setting a watermark font, a watermark transparency and a watermark color based on the watermark information and preset watermark content;
determining the rendering position of the current watermark according to the single watermark rendering range and the watermark rendering range;
setting the rotation angle of the current watermark according to the drawing position of the current watermark;
and drawing the current watermark based on the rotation angle of the current watermark.
Optionally, the watermark layer may include preset watermark content and a watermark renderer. The preset watermark content can be directly set through the watermark layer, and the watermark drawing device is a tool for drawing the watermark by the watermark layer. The watermark drawing process of the watermark drawing device is as follows:
step 1, respectively setting watermark fonts, watermark transparencies and watermark colors based on watermark information and preset watermark contents; the order of setting the above parameters is not particularly limited in the present invention.
Step 2, determining the drawing range of a single watermark, and setting the drawing range of the single watermark according to requirements; based on the watermark drawing range, the drawing position of the current watermark can be calculated.
And 3, setting a watermark rotation angle after determining the drawing position of the current watermark.
And 4, after the adjustment of the watermark rotation angle is completed, drawing the current watermark.
The watermark drawing method provided by the invention can perform parameter setting on the preset watermark content through the watermark information, and can draw the watermark in a user-defined way, thereby improving the data security.
In one embodiment, the watermark rendering method further includes:
determining the drawing position of the next watermark according to the drawing position of the current watermark, the horizontal space of the watermark and the vertical space of the watermark;
and drawing the next watermark according to the drawing position of the next watermark.
Alternatively, after the first current watermark is rendered, the position of the next watermark may be determined based on the horizontal and vertical spacing of the watermarks. And based on the watermark drawing range, until the drawn watermark is spread over the whole watermark drawing range, namely the watermark is drawn to the boundary of the watermark drawing range.
For example: the rendering position of the watermark can be represented by the coordinates of the central point of the watermark, and then the rendering position of the current watermark is set to (0, 0). The horizontal spacing of the watermarks is 50px and the vertical spacing of the watermarks is 100px, then the rendering position with the next watermark can be (50, 100), (50, -100), (-50, 100) or (-50, -100). The specific location of the next watermark can be determined as desired.
Optionally, after the first current watermark is rendered, the positions of all watermarks may be determined according to the horizontal and vertical distances of the watermarks until the rendered watermark is spread over the entire watermark rendering range, that is, all watermarks may be directly rendered by the positions of all watermarks.
The watermark drawing method provided by the invention can determine the position of the next watermark through the horizontal space and the vertical space of the watermark, thereby improving the efficiency of watermark drawing.
In one embodiment, the watermark information includes:
the watermark rotating angle, the horizontal space, the vertical space, the rendering range, the color, the transparency and the font of the watermark.
Optionally, the watermark information is an encapsulation of various parameters required for rendering the watermark, and the parameter values may be default values or preset values. The parameters and the description of the parameters of the watermark information are shown in the following table:
Figure BDA0003190337350000081
the length unit of the horizontal space and the horizontal vertical space of the watermark is px (pixel). Taking the distance between A and B of 20px as an example, it represents that A and B are separated by 20 pixels. The horizontal watermark distance 50px represents that the distance between the two watermarks in the horizontal direction is 50 pixel points, and the vertical watermark distance 100px represents that the distance between the two watermarks in the vertical direction is 100 pixel points.
If the watermark is drawn in a rectangular range, the watermark drawing range is a rectangular range, and any point in the rectangular range can be set as the origin of coordinates. The rectangular range may be the size of the display interface, or may be the size of a default setting, and the present invention is not limited in particular. As shown in the above table, the end point coordinates of the watermark drawing range are (Min x, Min y), (Max x, Max y), (Min x, Max y), respectively. Taking default values as an example, the end point coordinates of the watermarking range are (-500 ), (2000, 2000), and (-500, 2000), respectively.
The value range of the watermark transparency is 0-255, and the smaller the value of the transparency is, the more transparent the watermark transparency is. As described above, the default value for watermark transparency is 100.
According to the watermark drawing method provided by the invention, through configuring the watermark information and the specific parameter values, the personalized watermark setting can be realized, and the user experience is improved.
In one embodiment, the watermark layer may be stacked to the uppermost layer of NatTable.
Optionally, when using the NatTable, the required layers are selected from the NatTable packet according to specific business logic, and stacked or combined together. When the program runs, the table is rendered layer by layer from bottom to top, and the target table can be generated after the top layer is rendered. When the watermark layer is stacked to the uppermost layer of the NatTable, the NatTable starts to be rendered layer by layer from the bottom layer to the uppermost layer, and the finally rendered table is the watermark added with specific information and can be used for tracing the table and displaying the source of data. As shown in fig. 2, fig. 2 is a schematic diagram of a watermark by applying the watermark rendering method provided by the present invention.
According to the watermark drawing method provided by the invention, the watermark layer is stacked to the uppermost layer of the NatTable, so that a table presenting the watermark can be obtained, and the traceability of data is improved.
The following describes the watermark rendering apparatus provided by the present invention, and the watermark rendering apparatus described below and the watermark rendering method described above may be referred to in correspondence with each other.
Fig. 3 is a schematic structural diagram of a watermark rendering apparatus provided in the present invention. Referring to fig. 3, the watermark rendering apparatus provided by the present invention includes:
a creating module 310, configured to create a watermark layer in a table component NatTable;
a configuration module 320, configured to configure watermark information in the NatTable based on the watermark layer;
an obtaining module 330, configured to obtain the watermark information when the NatTable renders the watermark layer;
a rendering module 340, configured to render a watermark by a watermark renderer based on the watermark information;
and the watermark information is watermark parameter information required by drawing the watermark.
According to the watermark drawing device provided by the invention, the watermark information can be configured in the NatTable by creating the watermark layer, so that the NatTable can have the function of adding the watermark; and a watermark drawing device is called through a watermark layer to realize the drawing of the watermark, so that the finally generated data can present the watermark, and the data security is improved.
In an embodiment, the configuration module 320 is further specifically configured to:
creating a watermark layer object based on the watermark layer;
setting preset watermark content in the watermark layer object;
and configuring the watermark information in the NatTable based on the preset watermark content.
In an embodiment, the drawing module 340 is specifically configured to:
setting a watermark font, a watermark transparency and a watermark color based on the watermark information and preset watermark content;
determining the rendering position of the current watermark according to the single watermark rendering range and the watermark rendering range;
setting the rotation angle of the current watermark according to the drawing position of the current watermark;
and drawing the current watermark based on the rotation angle of the current watermark.
In an embodiment, the drawing module 340 is further specifically configured to:
determining the drawing position of the next watermark according to the drawing position of the current watermark, the horizontal space of the watermark and the vertical space of the watermark;
and drawing the next watermark according to the drawing position of the next watermark.
In one embodiment, the watermark information includes:
the watermark rotating angle, the horizontal space, the vertical space, the rendering range, the color, the transparency and the font of the watermark.
In one embodiment, the watermark layer is stacked to the uppermost layer of the NatTable.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a Communication Interface (Communication Interface)420, a memory (memory)430 and a Communication bus 440, wherein the processor 410, the Communication Interface 420 and the memory 430 are communicated with each other via the Communication bus 440. The processor 410 may invoke computer programs in the memory 430 to perform the steps of the watermarking method, including, for example:
creating a watermark layer in a table component NatTable;
based on the watermark layer, configuring watermark information in a NatTable;
acquiring the watermark information under the condition that the NatTable renders the watermark layer;
based on the watermark information, drawing a watermark through a watermark drawing device;
wherein the watermark information is watermark parameter information required for rendering the watermark.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the watermark rendering method provided by the above methods, the method comprising:
creating a watermark layer in a table component NatTable;
based on the watermark layer, configuring watermark information in a NatTable;
acquiring the watermark information under the condition that the NatTable renders the watermark layer;
based on the watermark information, drawing a watermark through a watermark drawing device;
wherein the watermark information is watermark parameter information required for rendering the watermark.
On the other hand, an embodiment of the present application further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to cause the processor to execute the watermark rendering method provided in each of the above embodiments, for example, the method includes:
creating a watermark layer in a table component NatTable;
based on the watermark layer, configuring watermark information in a NatTable;
acquiring the watermark information under the condition that the NatTable renders the watermark layer;
based on the watermark information, drawing a watermark through a watermark drawing device;
wherein the watermark information is watermark parameter information required for rendering the watermark.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of watermarking, comprising:
creating a watermark layer in a table component NatTable;
based on the watermark layer, configuring watermark information in a NatTable;
acquiring the watermark information under the condition that the NatTable renders the watermark layer;
based on the watermark information, drawing a watermark through a watermark drawing device;
wherein the watermark information is watermark parameter information required for rendering the watermark.
2. The watermark drawing method according to claim 1, wherein the configuring watermark information in a NatTable based on the watermark layer includes:
creating a watermark layer object based on the watermark layer;
setting preset watermark content in the watermark layer object;
and configuring the watermark information in the NatTable based on the preset watermark content.
3. The method of claim 2, wherein the watermark renderer renders the watermark by:
setting a watermark font, a watermark transparency and a watermark color based on the watermark information and the preset watermark content;
determining the rendering position of the current watermark according to the single watermark rendering range and the watermark rendering range;
setting the rotation angle of the current watermark according to the drawing position of the current watermark;
and drawing the current watermark based on the rotation angle of the current watermark.
4. The watermark rendering method of claim 3, further comprising:
determining the drawing position of the next watermark according to the drawing position of the current watermark, the horizontal space of the watermark and the vertical space of the watermark;
and drawing the next watermark according to the drawing position of the next watermark.
5. The watermark rendering method of any of claims 1-4, wherein the watermark information comprises:
the watermark rotating angle, the horizontal space, the vertical space, the rendering range, the color, the transparency and the font of the watermark.
6. The watermark rendering method according to any one of claims 1 to 4, wherein the watermark layer is stacked to the uppermost layer of the NatTable.
7. A watermark rendering apparatus, comprising:
the creation module is used for creating a watermark layer in a table component NatTable;
the configuration module is used for configuring watermark information in the NatTable based on the watermark layer;
an obtaining module, configured to obtain the watermark information when the NatTable renders the watermark layer;
the rendering module is used for rendering the watermark through the watermark renderer based on the watermark information;
and the watermark information is watermark parameter information required by drawing the watermark.
8. The apparatus of claim 7, wherein the configuration module is configured to:
creating a watermark layer object based on the watermark layer;
setting preset watermark content in the watermark layer object;
and configuring the watermark information in the NatTable based on the preset watermark content.
9. An electronic device comprising a processor and a memory storing a computer program, wherein the steps of the watermarking method according to any of claims 1 to 6 are implemented when the processor executes the computer program.
10. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing a processor to execute the steps of the watermark rendering method according to any one of claims 1 to 6.
CN202110875324.XA 2021-07-30 2021-07-30 Watermark drawing method and device Pending CN113554546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110875324.XA CN113554546A (en) 2021-07-30 2021-07-30 Watermark drawing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110875324.XA CN113554546A (en) 2021-07-30 2021-07-30 Watermark drawing method and device

Publications (1)

Publication Number Publication Date
CN113554546A true CN113554546A (en) 2021-10-26

Family

ID=78133490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110875324.XA Pending CN113554546A (en) 2021-07-30 2021-07-30 Watermark drawing method and device

Country Status (1)

Country Link
CN (1) CN113554546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089363A (en) * 2023-04-04 2023-05-09 联宝(合肥)电子科技有限公司 Data processing method, device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126869A1 (en) * 2000-12-29 2002-09-12 Xin Wang Multi-stage watermarking process and system
CN107153636A (en) * 2017-04-18 2017-09-12 北京思特奇信息技术股份有限公司 It is a kind of to realize the method and system that business datum is quickly exported with PDF format
CN107766011A (en) * 2017-09-22 2018-03-06 北京北信源软件股份有限公司 Print control program, apparatus and system
CN111191414A (en) * 2019-11-11 2020-05-22 苏州亿歌网络科技有限公司 Page watermark generation method, identification method, device, equipment and storage medium
CN111382399A (en) * 2020-03-06 2020-07-07 北京明朝万达科技股份有限公司 Method and device for adding watermark
CN112329413A (en) * 2019-08-02 2021-02-05 阿里巴巴集团控股有限公司 Template building method, file generation method, template system, device and computer equipment
CN112506493A (en) * 2020-10-30 2021-03-16 福建亿能达信息技术股份有限公司 Table configuration method, device, equipment and medium based on vue
CN112686015A (en) * 2020-12-28 2021-04-20 平安普惠企业管理有限公司 Chart generation method, device, equipment and storage medium
CN112734621A (en) * 2021-01-15 2021-04-30 苏州浪潮智能科技有限公司 Image watermark safety processing method, device, equipment and storage medium
CN113095995A (en) * 2021-04-28 2021-07-09 平安国际智慧城市科技股份有限公司 Webpage watermark adding method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126869A1 (en) * 2000-12-29 2002-09-12 Xin Wang Multi-stage watermarking process and system
CN107153636A (en) * 2017-04-18 2017-09-12 北京思特奇信息技术股份有限公司 It is a kind of to realize the method and system that business datum is quickly exported with PDF format
CN107766011A (en) * 2017-09-22 2018-03-06 北京北信源软件股份有限公司 Print control program, apparatus and system
CN112329413A (en) * 2019-08-02 2021-02-05 阿里巴巴集团控股有限公司 Template building method, file generation method, template system, device and computer equipment
CN111191414A (en) * 2019-11-11 2020-05-22 苏州亿歌网络科技有限公司 Page watermark generation method, identification method, device, equipment and storage medium
CN111382399A (en) * 2020-03-06 2020-07-07 北京明朝万达科技股份有限公司 Method and device for adding watermark
CN112506493A (en) * 2020-10-30 2021-03-16 福建亿能达信息技术股份有限公司 Table configuration method, device, equipment and medium based on vue
CN112686015A (en) * 2020-12-28 2021-04-20 平安普惠企业管理有限公司 Chart generation method, device, equipment and storage medium
CN112734621A (en) * 2021-01-15 2021-04-30 苏州浪潮智能科技有限公司 Image watermark safety processing method, device, equipment and storage medium
CN113095995A (en) * 2021-04-28 2021-07-09 平安国际智慧城市科技股份有限公司 Webpage watermark adding method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘建知;王春燕;: "添加水印美化你的文档页面", 电脑知识与技术(学术交流), no. 05, 27 February 2006 (2006-02-27) *
孙德妮, 曾鹏: "Linux系统防火墙技术的实现", 电子工程师, no. 05, 15 May 2004 (2004-05-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089363A (en) * 2023-04-04 2023-05-09 联宝(合肥)电子科技有限公司 Data processing method, device, electronic equipment and storage medium
CN116089363B (en) * 2023-04-04 2023-09-01 联宝(合肥)电子科技有限公司 Data processing method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20210303108A1 (en) System and method for on-screen graphical user interface encapsulation and reproduction
CN109933322B (en) Page editing method and device and computer readable storage medium
US10540744B2 (en) Flexible control in resizing of visual displays
CN108279964B (en) Method and device for realizing covering layer rendering, intelligent equipment and storage medium
US11216253B2 (en) Application prototyping tool
CN106155454B (en) Interface display method and device and electronic equipment
TW201525776A (en) Invocation control over keyboard user interface
CN104704468A (en) Cross system installation of WEB applications
CN111936966A (en) Design system for creating graphical content
US10592063B1 (en) Controlling actions for browser extensions
US20170091152A1 (en) Generating grid layouts with mutable columns
CN104657668A (en) Terminal
CN102314291A (en) Icon processing system and method
CN113554546A (en) Watermark drawing method and device
CN104991707A (en) User interface displaying method and device
US20140325404A1 (en) Generating Screen Data
CN104657991A (en) Picture processing method
CN106293658A (en) A kind of interface assembly generates method and equipment thereof
CN108388463A (en) Icon processing method, device, computer equipment and storage medium
US10989600B2 (en) Automated methods and systems to fill background and interstitial space in a visual object layout
CN107977451B (en) Method and device for adding dynamic content in display page and terminal equipment
CN110263577B (en) Method and device for generating image, computer readable storage medium and terminal
US11599599B1 (en) Emulating a transparency effect for a display element
US11698719B2 (en) Systems and methods for automated derivation of interactive layers for fixed content
CN111813404B (en) Application method, medium and client based on mixed graphic display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination