CN112667576A - Watermark content processing method and device, electronic equipment and storage medium - Google Patents
Watermark content processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112667576A CN112667576A CN202011529972.1A CN202011529972A CN112667576A CN 112667576 A CN112667576 A CN 112667576A CN 202011529972 A CN202011529972 A CN 202011529972A CN 112667576 A CN112667576 A CN 112667576A
- Authority
- CN
- China
- Prior art keywords
- watermark
- character string
- source information
- information
- file
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 41
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 13
- 238000012217 deletion Methods 0.000 abstract 1
- 230000037430 deletion Effects 0.000 abstract 1
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
The application provides a watermark content processing method, a device, an electronic device and a storage medium, wherein the watermark content processing method comprises the following steps: acquiring source information of a file to be processed; acquiring watermark information in the source information, wherein the watermark information is used for describing watermark content in the file; deleting the watermark information in the source information to obtain updated source information; and generating a file which does not carry the watermark content according to the updated source information. The method and the device realize the deletion of the watermark content in the file to be processed according to the source information of the file to be processed, have short time consumption in the processing process and ensure the normal display of the file after the watermark content is deleted.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a watermark content processing method and apparatus, an electronic device, and a storage medium.
Background
At present, when a user generates a file through various file processing software, watermark content is usually added to the file for the purpose of copyright protection and the like of the file. In practical application, the existence of the watermark content causes inconvenience to the use of the file, so that the watermark content in the file needs to be deleted in some application scenarios.
In the related art, in order to delete the watermark content in the file, it is generally required to read the source information of the entire file, analyze the source information of the entire file, and rewrite the entire file according to the file format standard to obtain the file with the watermark content deleted. The processing method of the watermark content consumes longer time, and when an original file containing the watermark content does not conform to the file format standard, if the file is rewritten according to the file format standard after the source information of the file is analyzed, partial information is lost, and the file display after the watermark content is deleted is abnormal.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present application is to provide a watermark content processing method, an apparatus, an electronic device, a storage medium, and a computer program product, so as to solve the technical problems of long time consumption and abnormal file display after deleting the watermark content in the watermark content processing method in the related art.
In order to achieve the above object, an embodiment of the first aspect of the present application provides a watermark content processing method, including: acquiring source information of a file to be processed; acquiring watermark information in the source information, wherein the watermark information is used for describing the file; deleting the watermark information in the source information to obtain updated source information; and generating a file which does not carry the watermark content according to the updated source information.
In a possible implementation form, the obtaining watermark information in the source information includes: acquiring a watermark in the source information, wherein the watermark is used for marking the position of the watermark information in the source file; and inquiring the source information according to the watermark to obtain the watermark information carrying the watermark in the source information.
In another possible implementation form, the obtaining the watermark in the source information includes: acquiring the file format of the file; acquiring a watermark corresponding to the file format; and determining the watermark corresponding to the file format as the watermark in the source information.
In another possible implementation form, the obtaining the watermark in the source information further includes: obtaining a drawing instruction in the source information, wherein the drawing instruction comprises: drawing an identification of the object; and extracting the watermark from the identifier of the drawing object, and determining the extracted watermark as the watermark in the source information.
In another possible implementation form, the watermarking includes: a watermark identification, a start string and an end string; the querying the source information according to the watermark to obtain the watermark information carrying the watermark in the source information includes: acquiring first content which carries the watermark identification in the source information, takes the starting character string as the beginning and takes the ending character string as the end; and determining the first content as watermark information in the source information.
In another possible implementation form, the source information includes: page character strings corresponding to all pages in the file; the obtaining of the first content which carries the watermark identifier in the source information, and takes the start character string as a beginning and the end character string as an end includes: aiming at a page character string corresponding to each page, acquiring a first position of the watermark identifier in the page character string; according to the initial character string, forward querying from the first position of the page character string to obtain a second position of the initial character string in the page character string; according to the ending character string, backward inquiring from the first position of the page character string to obtain a third position of the ending character string in the page character string; and determining the first content in the page character string according to the second position and the third position.
In another possible implementation form, the number of the first positions in the page character string is multiple; the obtaining a second location of the initial character string in the page character string by querying from the first location of the page character string according to the initial character string comprises: acquiring a previous first position adjacent to the first position in the page character string; acquiring a first part of character string between the first position and the previous first position; and according to the initial character string, inquiring the first part of character string from the first position of the page character string to obtain a second position of the initial character string in the page character string.
In another possible implementation form, the querying backward from the first location of the page character string according to the ending character string to obtain a third location of the ending character string in the page character string includes: acquiring a first position after the first position is adjacent to the first position in the page character string; acquiring a second part of character string between the first position and the later first position; and according to the ending character string, the second part of character string is inquired backwards from the first position of the page character string, and a third position of the ending character string in the page character string is obtained.
In another possible implementation form, the second position is a start position of the start character string; the third position is the starting position of the ending character string; the determining the first content in the page character string according to the second location and the third location includes: acquiring length information of the ending character string; determining the ending position of the ending character string according to the length information and the third position; and determining the character string content from the second position to the ending position in the page character string as the first content in the page character string.
In another possible implementation form, the file format of the file is a PDF format; the watermark comprises: watermark identification "/Watermark", start string "/Artifact", end string "EMC".
In order to achieve the above object, a watermark content processing apparatus according to an embodiment of the second aspect of the present application includes: the first acquisition module is used for acquiring source information of a file to be processed; a second obtaining module, configured to obtain watermark information of watermark information in the source information, where the watermark information is used to describe watermark content in the file; the processing module is used for deleting the watermark information in the source information to obtain updated source information; and the generating module is used for generating a file which does not carry the watermark content according to the updated source information.
In one possible implementation form, the second obtaining module includes: a first obtaining unit, configured to obtain a watermark in the source information, where the watermark is used to mark a location of the watermark in the source file; and the second acquisition unit is used for inquiring the source information according to the watermark to acquire the watermark information carrying the watermark in the source information.
In another possible implementation form, the first obtaining unit is specifically configured to: acquiring the file format of the file; acquiring a watermark corresponding to the file format; and determining the watermark corresponding to the file format as the watermark in the source information.
In another possible implementation form, the first obtaining unit is further configured to: obtaining a drawing instruction in the source information, wherein the drawing instruction comprises: drawing an identification of the object; and extracting the watermark from the identifier of the drawing object, and determining the extracted watermark as the watermark in the source information.
In another possible implementation form, the watermarking includes: a watermark identification, a start string and an end string; the second acquisition unit includes: an obtaining subunit, configured to obtain first content that carries the watermark identifier in the source information, and that takes the start character string as a start and the end character string as an end; and the determining subunit is used for determining the first content as the watermark information in the source information.
In another possible implementation form, the source information includes: page character strings corresponding to all pages in the file; the obtaining subunit is specifically configured to: aiming at a page character string corresponding to each page, acquiring a first position of the watermark identifier in the page character string; according to the initial character string, forward querying from the first position of the page character string to obtain a second position of the initial character string in the page character string; according to the ending character string, backward inquiring from the first position of the page character string to obtain a third position of the ending character string in the page character string; and determining the first content in the page character string according to the second position and the third position.
In another possible implementation form, the number of the first positions in the page character string is multiple; the obtaining subunit is further configured to: acquiring a previous first position adjacent to the first position in the page character string; acquiring a first part of character string between the first position and the previous first position; and according to the initial character string, inquiring the first part of character string from the first position of the page character string to obtain a second position of the initial character string in the page character string.
In another possible implementation form, the obtaining subunit is further configured to: acquiring a first position after the first position is adjacent to the first position in the page character string; acquiring a second part of character string between the first position and the later first position; and according to the ending character string, the second part of character string is inquired backwards from the first position of the page character string, and a third position of the ending character string in the page character string is obtained.
In another possible implementation form, the second position is a start position of the start character string; the third position is the starting position of the ending character string; the obtaining subunit is further configured to: acquiring length information of the ending character string; determining the ending position of the ending character string according to the length information and the third position; and determining the character string content from the second position to the ending position in the page character string as the first content in the page character string.
In another possible implementation form, the file format of the file is a PDF format; the watermark comprises: watermark identification "/Watermark", start string "/Artifact", end string "EMC".
In order to achieve the above object, an electronic device according to a third aspect of the present application includes: a processor, a memory, a power circuit, a multimedia component, an audio component, an interface for input/output (I/O), a sensor component, and a communication component; wherein, the circuit board is arranged in the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: acquiring source information of a file to be processed; acquiring watermark information in the source information, wherein the watermark information is used for describing watermark content in the file; deleting the watermark information in the source information to obtain updated source information; and generating a file which does not carry the watermark content according to the updated source information.
To achieve the above object, a non-transitory computer-readable storage medium is provided in an embodiment of a fourth aspect of the present application, and when executed by a processor of an electronic device, enables the electronic device to perform the watermark content processing method described in the embodiment of the first aspect.
To achieve the above object, a computer program product according to an embodiment of the fifth aspect of the present application is provided, where instructions of the computer program product, when executed by a processor, implement the watermark content processing method according to the embodiment of the first aspect.
The technical scheme of this application has following beneficial effect:
by acquiring the watermark information in the source information of the file to be processed, wherein the watermark information is used for describing the watermark content in the file, deleting the watermark information in the source information to obtain updated source information, and then generating the file which does not carry the watermark content according to the updated source information, the watermark content in the file is deleted according to the source information of the file to be processed, the processing process is short in time consumption, and the normal display of the file with the watermark content deleted is ensured.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a watermark content processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a watermark content processing method according to another embodiment of the present application;
fig. 3 is a flowchart illustrating a watermark content processing method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a watermark content processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
It can be understood that, in the related art, taking deleting watermark content in a PDF (Portable Document Format) file as an example, it is usually necessary to read source information of the entire PDF file, analyze the source information of the entire PDF file, and rewrite the entire PDF file according to a PDF standard to obtain the PDF file after deleting the watermark content.
The processing method of the watermark content consumes a long time, and when an original file containing the watermark content does not comply with the PDF standard, if the file is rewritten according to the PDF standard after analyzing the source information of the PDF file, a part of information is lost, which causes an abnormal situation that the PDF file after deleting the watermark content is inconsistent with the display of other contents except the watermark content in the original file.
In order to solve the technical problems of long time consumption and abnormal file display after the watermark content is deleted in the related technology, the application provides a watermark content processing method, by acquiring the watermark information in the source information of a file to be processed, wherein the watermark information is used for describing the watermark content in the file, deleting the watermark information in the source information to obtain updated source information, and further generating a file which does not carry the watermark content according to the updated source information, the watermark content in the file is deleted according to the source information of the file to be processed, the processing process consumes short time, and the normal display of the file after the watermark content is deleted is ensured.
The watermark content processing method, device, electronic equipment, storage medium and computer program product provided by the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a watermark content processing method according to an embodiment of the present application.
The watermark content processing method in this embodiment may be configured in a watermark content processing apparatus, and the watermark content processing apparatus may be disposed in a server, or may also be disposed in a computer device, which is not limited in this embodiment of the present application. The present embodiment exemplifies that the watermark content processing method is configured as a watermark content processing apparatus, and the watermark content processing apparatus is configured as a computer device.
It should be noted that the execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) in a server or a computer device in terms of hardware, and may be, for example, a related background service in the server or the computer device in terms of software, which is not limited to this.
Referring to fig. 1, the watermark content processing method includes:
The file to be processed is a file for which a watermark needs to be deleted, and may be a file in a PDF format or a file in another format, which is not limited in the present application.
Specifically, the source information of the file to be processed may be obtained by reading the file to be processed through an Application Programming Interface (API) of the computer device. Wherein the read source information includes a plurality of character strings.
It is to be understood that the source information of the file includes information for describing the type, location, and the like of each object in the file, and in this embodiment, the watermark information for describing the watermark content in the file may be obtained from the source information.
In an exemplary embodiment, the source information may include watermark marks for describing locations of the watermark information in the source file, so that the watermark information in the source information may be obtained by querying the source information according to the watermark marks.
For example, assuming that the format of the file to be processed is PDF format, the following watermark marks are used in the source information of the file to be processed to mark the position of the watermark information in the source file: "/Watermark", "/Artifact", "/EMC". Wherein, "/Watermark", locate at the intermediate position of the Watermark information, is used for marking the correspondent information as the Watermark information; the "/Artifact" is positioned at the beginning of the watermark information and is used for marking the starting position of the watermark information in the source file; "/EMC" is located at the end of the watermark information for marking the end location of the watermark information in the source file. In this embodiment of the present application, the source information may be queried according to the watermark, so as to obtain watermark information in the source information.
And 103, deleting the watermark information in the source information to obtain updated source information.
And 104, generating a file which does not carry the watermark content according to the updated source information.
Specifically, after the watermark information in the source information is acquired, the watermark information in the source information can be deleted to obtain updated source information, and since the updated source information does not include the watermark information, a file which does not carry the watermark content can be generated according to the updated source information.
It can be understood that, the watermark content processing method of the application can directly obtain the watermark information used for describing the watermark content in the file in the source information and delete the watermark information after obtaining the source information of the file to be processed, so as to obtain the updated source information, and further generate the file without carrying the watermark content according to the updated source information.
The watermark content processing method provided by the embodiment of the application comprises the steps of firstly obtaining source information of a file to be processed, then obtaining watermark information in the source information, wherein the watermark information is used for describing watermark content in the file, then deleting the watermark information in the source information to obtain updated source information, and further generating the file which does not carry the watermark content according to the updated source information.
The watermark content processing method provided by the present application is further described below with reference to fig. 2.
Fig. 2 is a flowchart illustrating a watermark content processing method according to another embodiment of the present application.
Referring to fig. 2, the watermark content processing method includes:
Wherein, the watermark is marked as the mark used for marking the position of the watermark information in the source file in the source information. In an exemplary embodiment, the watermark may include a watermark identification, a start string, and an end string. The watermark identification is positioned in the middle of the watermark information and used for marking the corresponding information as the watermark information; the starting character string is positioned at the beginning of the watermark information and used for marking the starting position of the watermark information in the source file; and the ending character string is positioned at the end of the watermark information and is used for marking the ending position of the watermark information in the source file.
In an exemplary embodiment, the watermark in the source information may be obtained in a number of ways.
In a first mode
Acquiring a file format of a file; acquiring a watermark corresponding to a file format; and determining the watermark corresponding to the file format as the watermark in the source information.
In the embodiment of the application, the watermark corresponding to the file format can be acquired according to the file format of the file to be processed, and then the watermark corresponding to the file format of the file to be processed is determined as the watermark in the source information.
Taking the file format of the file to be processed as the PDF format as an example, the watermark corresponding to the PDF format includes: the Watermark identifier "/Watermark", the start character string "/Artifact", and the end character string "EMC" may be determined as the Watermark in the source information.
Mode two
Obtaining a drawing instruction in the source information, wherein the drawing instruction comprises: drawing an identification of the object; and extracting the watermark from the identifier of the drawing object, and determining the extracted watermark as the watermark in the source information.
The drawing object may be any type of object such as a picture and a character, which is not limited in this application.
And the identification of the drawing object is used for uniquely identifying the corresponding drawing object.
It is understood that, in general, the source information of the file includes drawing instructions for describing each object in the file, and the file can be generated by drawing each object through the drawing instructions of each object. The drawing instruction of each drawing object includes the identifier of the corresponding drawing object, and if a certain drawing object includes watermark content, the identifier of the drawing object in the source information includes a watermark.
In this embodiment, in the source information of the file to be processed, the watermark extraction may be performed on the identifier of the rendering object included in the rendering instruction, and the extracted watermark may be determined as the watermark in the source information.
Furthermore, after the watermark in the source information is acquired, the source information can be queried according to the watermark, and the watermark information carrying the watermark in the source information is acquired.
In an exemplary embodiment, when the watermark includes the watermark identifier, the start character string and the end character string, the source information may be queried according to the watermark identifier in the following manner shown in step 203 and step 204, so as to obtain the watermark information carrying the watermark identifier in the source information.
Specifically, the source information may be traversed from front to back according to the watermark identifier, and whether the watermark identifier exists in the source information is queried, and if not, it indicates that the file to be processed does not include the watermark content. If the source information comprises the watermark identification, the file to be processed comprises watermark content. Because the watermark identifier is located in the middle of the watermark information, the start character string is located at the beginning of the watermark information, and the end character string is located at the end of the watermark information, the first content which carries the watermark identifier, takes the start character string as the beginning and the end character string as the end can be obtained according to the position relation among the watermark identifier, the start character string and the end character string, and the first content is the watermark information in the source information. The process of specifically acquiring the first content will be explained in the following embodiments, which are not explained herein.
And step 206, generating a file which does not carry the watermark content according to the updated source information.
The specific implementation process and principle of the steps 201, 205 and 206 can refer to the description of the above embodiments, and are not described herein again.
According to the watermark content processing method provided by the embodiment of the application, after the source information of the file to be processed is obtained, the watermark mark in the source information is obtained, the first content which carries the watermark mark in the source information and is started by the initial character string and ended by the ending character string is determined as the watermark information in the source information, the watermark information in the source information is deleted, the updated source information is obtained, the file which does not carry the watermark content is generated according to the updated source information, the watermark content in the file is deleted according to the watermark mark in the source information of the file to be processed, the processing time consumption is short, and the normal display of the file after the watermark content is deleted is ensured.
The watermark content processing method provided by the present application is further described below with reference to fig. 3.
Fig. 3 is a flowchart illustrating a watermark content processing method according to another embodiment of the present application.
Referring to fig. 3, the watermark content processing method includes:
In the embodiment of the application, the file to be processed can be read by taking a page as a unit to obtain the source information of the file, wherein the source information of the file comprises the page character strings corresponding to the pages.
The watermark may include a watermark identification, a start string, and an end string. The watermark identification is positioned in the middle of the watermark information and used for marking the corresponding information as the watermark information; the starting character string is positioned at the beginning of the watermark information and used for marking the starting position of the watermark information in the source file; and the ending character string is positioned at the end of the watermark information and is used for marking the ending position of the watermark information in the source file.
And 304, according to the initial character string, inquiring from the first position of the page character string to the front, and acquiring the second position of the initial character string in the page character string.
And 305, according to the ending character string, querying backwards from the first position of the page character string, and acquiring a third position of the ending character string of the page character string.
Specifically, for a page character string corresponding to each page, when the page character string includes a watermark identifier, a first location of the watermark identifier in the page character string may be obtained first. Because the watermark identifier is located in the middle of the watermark information, and the initial character string is located at the beginning of the watermark information, after the first location of the watermark identifier in the page character string is obtained, whether the initial character string exists or not can be inquired forward from the first location of the page character string, and if the initial character string exists, the second location of the initial character string in the page character string is obtained. Further, because the watermark identifier is located in the middle of the watermark information, and the ending character string is located at the end of the watermark information, whether the ending character string exists can be inquired backwards from the first location of the page character string, and if the ending character string exists, the third location of the ending character string in the page character string is obtained.
The first location may be a start location or an end location of the watermark identifier, or a location of a certain character in the watermark identifier; the second position may be a start position or an end position of the start character string, or a position of a certain character in the start character string; the third location may be a start location or an end location of the ending character string, or a location of a certain character in the ending character string, which is not limited in this application.
It should be noted that, the step 304 may be executed at the same time, or the step 304 may be executed first and then the step 305 is executed, or the step 305 is executed first and then the step 304 is executed, which is not limited in this application. Taking the example of performing step 304 and then performing step 305, if the initial character string does not exist before the first position of the page character string, then step 305 may not be performed.
And step 306, determining the first content in the page character string according to the second position and the third position.
And 308, deleting the watermark information in the source information to obtain updated source information.
In an exemplary embodiment, when the second location is a start location of the start character string, and the third location is an end location of the end character string, the content of the character string from the second location to the third location in the page character string may be directly determined as the first content in the page character string.
In an exemplary embodiment, when the second position is the start position of the start character string, and the third position is the start position of the end character string, the length information of the end character string may be obtained, the end position of the end character string is determined according to the length information and the third position, and then the character string content from the second position to the end position in the page character string is determined as the first content in the page character string.
For example, assume that the start string is "/Artifact", the end string "EMC", the second location is the start location of the start string "/Artifact", i.e., "/" location, and the third location is the start location of the end string "EMC", i.e., "E". Since the length of the ending character string is 3 characters, the ending position of the ending character string 'EMC', that is, the position of 'C', can be determined, and the position is 2 characters after the third position, so that the character string content of the page character string from the second position to the ending position of the ending character string can be determined as the first content in the page character string.
It will be appreciated that, in one possible implementation form, for each page of the document to be processed, only one watermark content may be included in the page, and accordingly, in the embodiment of the present application, a first location of the watermark identifier in the page string corresponding to the page may be obtained, and then, according to the initial character string, the first position of the page character string is inquired forwards, when the page character string is inquired to have the initial character string, the second position of the initial character string can be obtained, then according to the ending character string, the page character string is inquired backwards from the first position of the page character string, when the ending character string exists in the inquired page character string, the third position of the ending character string can be obtained, and then according to the second position and the third position, the first content in the page string may be determined so that the first content may be determined as one of the watermark information in the source information.
In another possible implementation form, for each page of the document to be processed, it is possible that the page includes a plurality of watermark contents, and accordingly, in this embodiment of the present application, a plurality of first locations of watermark identifications in page strings corresponding to the pages may be obtained, and then, for each first location, the second position of the initial character string in the page character string can be obtained by inquiring from the first position of the page character string according to the initial character string, according to the ending character string, the first position of the page character string is inquired backwards to obtain the third position of the ending character string of the page character string, so as to obtain a plurality of second positions and a plurality of third positions, and further determining a plurality of first contents in the page character string according to the plurality of second positions and the plurality of third positions, so that a plurality of watermark information in the source information can be determined.
For example, assuming that a file to be processed is in a PDF format, the Watermark content processing apparatus obtains 2 first locations of Watermark identifiers "/Watermark" in a page string corresponding to a page 1, for example, location 1 and location 2, then, for location 1, it may forward query from location 1 of the page string according to a start string "/Artifact", if it is queried that there is a start string "/Artifact", it may obtain a second location of the start string, it is assumed to be location 3, then it may backward query from location 1 of the page string, if it is queried that there is a last string "EMC", it may obtain a third location of the last string, it is assumed to be location 4, and then it may determine one Watermark information in the source information according to location 3 and location 4. For the position 2, forward query can be performed from the position 2 of the page character string according to the start character string "/Artifact", if the presence of the start character string "/Artifact" is queried, the second position of the start character string can be obtained, the position 5 is assumed, then backward query can be performed from the position 2 of the page character string, if the presence of the end character string "EMC" is queried, the third position of the end character string can be obtained, the position 6 is assumed, and then one piece of watermark information in the source information can be determined according to the position 5 and the position 6.
In practical application, the page character string of each page can be queried from front to back, when a first position of a watermark identifier in the page character string is queried, a second position of the initial character string in the page character string is obtained by querying the first position of the watermark identifier in the page character string from the initial character string to the first position, a third position of the final character string in the page character string is obtained by querying the first position of the page character string from the final character string to the back, and then a piece of watermark information in the source information is obtained according to the second position and the third position, and the watermark information in the source information is deleted. And then, querying backwards again, when querying a second first position of the watermark identifier in the page character string, querying forwards from the second first position of the page character string according to the initial character string, obtaining a second position of the initial character string in the page character string, querying backwards from the first position of the page character string according to the ending character string, obtaining a third position of the ending character string of the page character string, further obtaining a second watermark information in the source information according to the second position and the third position, and deleting the watermark information in the source information until traversing the page character string of the complete page.
It should be noted that, in the above embodiment, the example is described in which any piece of watermark information in the page character string includes a complete watermark, that is, includes the watermark identifier, the start character string, and the end character string. For example, in the above example, the page character string corresponding to the page 1 sequentially includes, from front to back, a start character string "/Artifact" at the position 3, a Watermark identifier "/Watermark at the position 1," EMC "at the position 4, a start character string"/Artifact "at the position 5, a Watermark identifier"/Watermark at the position 2, and an end character string "EMC" at the position 6, that is, Watermark information carrying the Watermark identifier "/Watermark" at the position 1 and Watermark information carrying the Watermark identifier "/Watermark" at the position 2, all include a Watermark identifier, a start character string, and an end character string.
In practical applications, when a file to be processed contains watermark content, the watermark content may have problems such as blurring, and a situation that one piece of watermark information does not contain a complete watermark mark may occur in a page character string corresponding to a page, such as only including a watermark identifier, or only including the watermark identifier and a start character string, or only including the watermark identifier and an end character string.
In this embodiment, after the first location of the watermark identifier in the page string is obtained, there may be no starting string before the first location of the page string, or there may be no ending string after the first location of the page string, or there may be no starting string before the first location of the page string, or there may be no ending string after the first location of the page string, which indicates that there is a problem in the watermark information of the watermark identifier in the page, where the watermark identifier carries the first location, and thus, the next first location of the watermark identifier in the page string corresponding to the page may be traversed without processing the watermark information.
For example, continuing with the above example, assume that the page string corresponding to page 1 sequentially includes the Watermark identifier "/Watermark at position 1,"/Artifact at position 5, "/Watermark at position 2, and" EMC "at position 6, in order from front to back, that is, the Watermark information carrying the Watermark identifier"/Watermark at position 1 does not include a complete Watermark. The watermark content processing device can determine that the watermark information carrying the watermark identifier of the position 1 has a problem when inquiring forward from the position 1 of the page character string according to the starting character string '/Artifact' at the position 1 and does not inquire the existence of the starting character string '/Artifact' at the position 1, and then does not delete the watermark information, so that the device can continuously inquire forward from the position 2 of the page character string according to the starting character string '/Artifact' at the position 2 at the position 5 at the position 2, and determine one watermark information in the source information according to the position 5 and the position 6 after inquiring the ending character string 'EMC' at the position 6 at the position 2.
It can be understood that, when the number of first locations of the page identifier in the page string is multiple, if the entire page string is queried forwards or backwards for a certain first location, it may be that a second location of a start string before other first locations is queried during forward querying, or a third location of an end string after other first locations is queried during backward querying, and if the watermark information in the source information is determined according to the second locations of the start string before other first locations or according to the third locations of the end string after other first locations, the determined watermark information may be an error.
For example, continuing with the above example, assume that the page string corresponding to page 1 sequentially includes, from front to back, the start string "/Artifact" at position 3, the Watermark identifier "/Watermark at position 1, the start string"/Artifact "at position 5, the Watermark identifier"/Watermark at position 2, and the end string "EMC" at position 6, that is, the Watermark information carrying the Watermark identifier "/Watermark at position 1 does not include a complete Watermark. Then, for the position 1, according to the initial character string "/Artifact", forward inquiry is performed from the position 1 of the page character string, after inquiring the initial character string "/Artifact" of the position 3, if the whole page character string is inquired, the ending character string "EMC" of the position 6 can be inquired, and if the Watermark information carrying the Watermark identifier "/Watermark" of the position 1 is determined according to the position 3 and the position 6, the determined Watermark information is wrong.
In order to avoid the above situation, in this embodiment of the application, when the second location of the initial character string in the page character string is obtained by querying forward from the first location of the page character string according to the initial character string, only a part of character strings among the page character string, the first location, and the previous first location adjacent to the first location may be queried.
That is, step 304 may be implemented by:
acquiring a previous first position adjacent to the first position in the page character string;
acquiring a first partial character string between a first position and a previous first position;
and according to the initial character string, forward querying the first part of character string from the first position of the page character string, and acquiring the second position of the initial character string in the page character string.
Similarly, when the third position of the ending character string in the page character string is obtained by querying backwards from the first position of the page character string according to the ending character string, only a part of character strings among the page character string, the first position and the later first position adjacent to the first position can be queried.
That is, step 305 may be implemented by:
acquiring a first position after the first position is adjacent to the first position in the page character string;
acquiring a second partial character string between the first position and the first position;
and according to the ending character string, querying the second part of character string backwards from the first position of the page character string, and acquiring a third position of the ending character string in the page character string.
For example, continuing with the above example, assume that the page character string corresponding to page 1 sequentially includes, in order from front to back, a start character string "/Artifact" at position 3, a Watermark identifier "/Watermark at position 1, an end character string" EMC "at position 4, a Watermark identifier"/Watermark at position 2 and an end character string "EMC" at position 6. Then, for the position 1, when querying backward from the position 1 of the page character string according to the ending character string "EMC", the partial character string between the position 1 and the position 2 may be queried backward from the position 1 of the page character string, so as to obtain a third position, i.e. the position 4, of the ending character string in the page character string. For the position 2, when querying from the position 2 of the page character string forward according to the starting character string "/Artifact", a part of character string between the position 1 and the position 2 can be queried from the position 2 of the page character string forward, so as to obtain the second position of the starting character string in the page character string, i.e. the position 5.
Therefore, the accuracy of the determined watermark information can be ensured.
It should be noted that, in the embodiment of the present application, only the file format of the file to be processed is a PDF format, the Watermark identifier is "/Watermark", the start character string is "/Artifact", and the end character string is "EMC" for example, which cannot be understood as a limitation to the technical scheme of the present application.
For the specific implementation process and principle of the steps 301 and 308 and 309, reference may be made to the description of the foregoing embodiments, and details are not repeated herein.
The watermark content processing method provided by the embodiment of the application obtains the source information of a file to be processed, obtains the watermark mark in the source information, obtains the first position of the watermark mark in the page character string according to the page character string corresponding to each page, queries from the first position of the page character string according to the initial character string, obtains the second position of the initial character string in the page character string, queries from the first position of the page character string according to the ending character string, obtains the third position of the ending character string in the page character string, determines the first content in the page character string according to the second position and the third position, determines the first content as the watermark information in the source information, deletes the watermark information in the source information, obtains the updated source information, and further determines the updated source information according to the updated source information, and generating a file which does not carry the watermark content. Therefore, the watermark content in the file is deleted according to the watermark in the source information of the file to be processed, the processing process is short in time consumption, and the normal display of the file with the watermark content deleted is guaranteed.
Fig. 4 is a schematic structural diagram of a watermark content processing apparatus according to an embodiment of the present application.
Referring to fig. 4, the apparatus 400 includes:
a first obtaining module 401, configured to obtain source information of a file to be processed;
a second obtaining module 402, configured to obtain watermark information in the source information, where the watermark information is used to describe watermark content in a file;
a processing module 403, configured to delete the watermark information in the source information to obtain updated source information;
a generating module 404, configured to generate a file without carrying the watermark content according to the updated source information.
Optionally, in some embodiments, the second obtaining module 402 includes:
the first acquisition unit is used for acquiring a watermark in the source information, wherein the watermark is used for marking the position of the watermark information in the source file;
and the second acquisition unit is used for inquiring the source information according to the watermark to acquire the watermark information carrying the watermark in the source information.
Optionally, in some embodiments, the first obtaining unit is specifically configured to:
acquiring the file format of the file;
acquiring a watermark corresponding to the file format;
and determining the watermark corresponding to the file format as the watermark in the source information.
Optionally, in some embodiments, the first obtaining unit is further configured to:
obtaining a drawing instruction in the source information, wherein the drawing instruction comprises: drawing an identification of the object;
and extracting the watermark from the identifier of the drawing object, and determining the extracted watermark as the watermark in the source information.
Optionally, in some embodiments, the watermarking comprises: a watermark identification, a start string and an end string;
correspondingly, the second obtaining unit includes:
an obtaining subunit, configured to obtain first content that carries the watermark identifier in the source information, and that takes the start character string as a start and the end character string as an end;
and the determining subunit is used for determining the first content as the watermark information in the source information.
Optionally, in some embodiments, the source information includes: page character strings corresponding to all pages in the file;
the obtaining subunit is specifically configured to:
aiming at a page character string corresponding to each page, acquiring a first position of the watermark identifier in the page character string;
according to the initial character string, forward querying from the first position of the page character string to obtain a second position of the initial character string in the page character string;
according to the ending character string, backward inquiring from the first position of the page character string to obtain a third position of the ending character string in the page character string;
and determining the first content in the page character string according to the second position and the third position.
Optionally, in some embodiments, the number of the first positions in the page character string is multiple;
the obtaining subunit is further configured to:
acquiring a previous first position adjacent to the first position in the page character string;
acquiring a first part of character string between the first position and the previous first position;
and according to the initial character string, inquiring the first part of character string from the first position of the page character string to obtain a second position of the initial character string in the page character string.
Optionally, in some embodiments, the obtaining subunit is further configured to:
acquiring a first position after the first position is adjacent to the first position in the page character string;
acquiring a second part of character string between the first position and the later first position;
and according to the ending character string, the second part of character string is inquired backwards from the first position of the page character string, and a third position of the ending character string in the page character string is obtained.
Optionally, in some embodiments, the second location is a start location of the start character string; the third position is the starting position of the ending character string;
the obtaining subunit is further configured to:
acquiring length information of the ending character string;
determining the ending position of the ending character string according to the length information and the third position;
and determining the character string content from the second position to the ending position in the page character string as the first content in the page character string.
Optionally, in some embodiments, the file format of the file is PDF format;
the watermark comprises: watermark identification "/Watermark", start string "/Artifact", end string "EMC".
It should be noted that the foregoing explanations of the embodiments of the watermark content processing method in fig. 1 to fig. 3 also apply to the watermark content processing apparatus 400 of this embodiment, and the implementation principles thereof are similar and will not be described herein again.
In the embodiment, the watermark information in the source information of the file to be processed is acquired, wherein the watermark information is used for describing the watermark content in the file, the watermark information in the source information is deleted, the updated source information is obtained, and the file which does not carry the watermark content is generated according to the updated source information, so that the watermark content in the file is deleted according to the source information of the file to be processed, the processing process is short in time consumption, and the normal display of the file with the watermark content deleted is ensured.
An embodiment of the present application further provides an electronic device, and referring to fig. 5, the electronic device 500 may include one or more of the following components: a processor 501, a memory 502, a power circuit 503, a multimedia component 504, an audio component 505, an input/output (I/O) interface 506, a sensor component 507, and a communication component 508.
A power supply circuit 503 for supplying power to each circuit or device of the electronic apparatus; memory 502 is used to store executable program code; the processor 501 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 502, for performing the steps of:
acquiring source information of a file to be processed;
acquiring watermark information in the source information, wherein the watermark information is used for describing watermark content in the file;
deleting the watermark information in the source information to obtain updated source information;
and generating a file which does not carry the watermark content according to the updated source information.
It should be noted that the foregoing explanations of the watermark content processing method in the embodiments of fig. 1 to fig. 3 also apply to the electronic device 500 of this embodiment, and the implementation principles thereof are similar and will not be described again here.
In the embodiment, the watermark information in the source information of the file to be processed is acquired, wherein the watermark information is used for describing the watermark content in the file, the watermark information in the source information is deleted, the updated source information is obtained, and the file which does not carry the watermark content is generated according to the updated source information, so that the watermark content in the file is deleted according to the source information of the file to be processed, the processing process is short in time consumption, and the normal display of the file with the watermark content deleted is ensured.
In order to implement the above embodiments, the present application also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the watermark content processing method as described in the above embodiments.
The non-transitory computer-readable storage medium in this embodiment obtains the watermark information in the source information of the file to be processed, where the watermark information is used to describe the watermark content in the file, and deletes the watermark information in the source information to obtain updated source information, and then generates a file that does not carry the watermark content according to the updated source information, so that the watermark content in the file is deleted according to the source information of the file to be processed, the processing process is short in time consumption, and normal display of the file from which the watermark content is deleted is ensured.
In order to implement the above embodiments, the present application also proposes a computer program product, wherein when the instructions in the computer program product are executed by a processor, the watermark content processing method according to the above embodiments is implemented.
The computer program product in this embodiment obtains the watermark information in the source information of the file to be processed, where the watermark information is used to describe the watermark content in the file, deletes the watermark information in the source information to obtain the updated source information, and further generates the file without carrying the watermark content according to the updated source information, so that the watermark content in the file is deleted according to the source information of the file to be processed, the processing process is short in time consumption, and normal display of the file with the watermark content deleted is ensured.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (10)
1. A method of processing watermarked content, comprising:
acquiring source information of a file to be processed;
acquiring watermark information in the source information, wherein the watermark information is used for describing watermark content in the file;
deleting the watermark information in the source information to obtain updated source information;
and generating a file which does not carry the watermark content according to the updated source information.
2. The watermark content processing method according to claim 1, wherein the obtaining of the watermark information in the source information includes:
acquiring a watermark in the source information, wherein the watermark is used for marking the position of the watermark information in the source file;
and inquiring the source information according to the watermark to obtain the watermark information carrying the watermark in the source information.
3. The method for processing watermark content according to claim 2, wherein the obtaining the watermark in the source information comprises:
acquiring the file format of the file;
acquiring a watermark corresponding to the file format;
and determining the watermark corresponding to the file format as the watermark in the source information.
4. The watermark content processing method according to claim 2 or 3, wherein the obtaining of the watermark in the source information further comprises:
obtaining a drawing instruction in the source information, wherein the drawing instruction comprises: drawing an identification of the object;
and extracting the watermark from the identifier of the drawing object, and determining the extracted watermark as the watermark in the source information.
5. The watermark content processing method according to claim 2, wherein the watermarking includes: a watermark identification, a start string and an end string;
the querying the source information according to the watermark to obtain the watermark information carrying the watermark in the source information includes:
acquiring first content which carries the watermark identification in the source information, takes the starting character string as the beginning and takes the ending character string as the end;
and determining the first content as watermark information in the source information.
6. The watermark content processing method according to claim 5, wherein the source information includes: page character strings corresponding to all pages in the file;
the obtaining of the first content which carries the watermark identifier in the source information, and takes the start character string as a beginning and the end character string as an end includes:
aiming at a page character string corresponding to each page, acquiring a first position of the watermark identifier in the page character string;
according to the initial character string, forward querying from the first position of the page character string to obtain a second position of the initial character string in the page character string;
according to the ending character string, backward inquiring from the first position of the page character string to obtain a third position of the ending character string in the page character string;
and determining the first content in the page character string according to the second position and the third position.
7. A watermark content processing apparatus, comprising:
the first acquisition module is used for acquiring source information of a file to be processed;
a second obtaining module, configured to obtain watermark information in the source information, where the watermark information is used to describe watermark content in the file;
the processing module is used for deleting the watermark information in the source information to obtain updated source information;
and the generating module is used for generating a file which does not carry the watermark content according to the updated source information.
8. An electronic device, comprising one or more of the following components: a processor, a memory, a power circuit, a multimedia component, an audio component, an interface for input/output (I/O), a sensor component, and a communication component; wherein, the circuit board is arranged in the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
acquiring source information of a file to be processed;
acquiring watermark information in the source information, wherein the watermark information is used for describing watermark content in the file;
deleting the watermark information in the source information to obtain updated source information;
and generating a file which does not carry the watermark content according to the updated source information.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the watermark content processing method according to any one of claims 1 to 6.
10. A computer program product, wherein instructions, when executed by a processor, implement the watermark content processing method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011529972.1A CN112667576A (en) | 2020-12-22 | 2020-12-22 | Watermark content processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011529972.1A CN112667576A (en) | 2020-12-22 | 2020-12-22 | Watermark content processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112667576A true CN112667576A (en) | 2021-04-16 |
Family
ID=75407696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011529972.1A Pending CN112667576A (en) | 2020-12-22 | 2020-12-22 | Watermark content processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112667576A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902929A (en) * | 2012-08-10 | 2013-01-30 | 西北大学 | Natural language watermark robustness testing method and system |
CN102968596A (en) * | 2012-10-30 | 2013-03-13 | 南京信息工程大学 | Delete marker-based office open xml (OOX) document digital watermarking method |
CN104486304A (en) * | 2014-12-04 | 2015-04-01 | 湖南科技大学 | Wireless sensor network data security protection method based on digital watermarking |
US20150228045A1 (en) * | 2013-09-23 | 2015-08-13 | Infosys Limited | Methods for embedding and extracting a watermark in a text document and devices thereof |
CN105989013A (en) * | 2015-01-28 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Method and device for removing character watermarks |
WO2017016294A1 (en) * | 2015-07-24 | 2017-02-02 | 乐视控股(北京)有限公司 | Method and apparatus for removing watermark from video |
CN108737875A (en) * | 2017-04-13 | 2018-11-02 | 北京小度互娱科技有限公司 | Image processing method and device |
CN109903210A (en) * | 2019-01-04 | 2019-06-18 | 阿里巴巴集团控股有限公司 | Minimizing technology, device and the server of watermark |
CN110087098A (en) * | 2018-01-26 | 2019-08-02 | 优酷网络技术(北京)有限公司 | Watermark handling method and device |
CN111815499A (en) * | 2019-04-11 | 2020-10-23 | 珠海金山办公软件有限公司 | Watermark deleting method and device |
CN112070649A (en) * | 2020-09-09 | 2020-12-11 | 焦点科技股份有限公司 | Method and system for removing specific character string watermark |
-
2020
- 2020-12-22 CN CN202011529972.1A patent/CN112667576A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902929A (en) * | 2012-08-10 | 2013-01-30 | 西北大学 | Natural language watermark robustness testing method and system |
CN102968596A (en) * | 2012-10-30 | 2013-03-13 | 南京信息工程大学 | Delete marker-based office open xml (OOX) document digital watermarking method |
US20150228045A1 (en) * | 2013-09-23 | 2015-08-13 | Infosys Limited | Methods for embedding and extracting a watermark in a text document and devices thereof |
CN104486304A (en) * | 2014-12-04 | 2015-04-01 | 湖南科技大学 | Wireless sensor network data security protection method based on digital watermarking |
CN105989013A (en) * | 2015-01-28 | 2016-10-05 | 腾讯科技(深圳)有限公司 | Method and device for removing character watermarks |
WO2017016294A1 (en) * | 2015-07-24 | 2017-02-02 | 乐视控股(北京)有限公司 | Method and apparatus for removing watermark from video |
CN108737875A (en) * | 2017-04-13 | 2018-11-02 | 北京小度互娱科技有限公司 | Image processing method and device |
CN110087098A (en) * | 2018-01-26 | 2019-08-02 | 优酷网络技术(北京)有限公司 | Watermark handling method and device |
CN109903210A (en) * | 2019-01-04 | 2019-06-18 | 阿里巴巴集团控股有限公司 | Minimizing technology, device and the server of watermark |
CN111815499A (en) * | 2019-04-11 | 2020-10-23 | 珠海金山办公软件有限公司 | Watermark deleting method and device |
CN112070649A (en) * | 2020-09-09 | 2020-12-11 | 焦点科技股份有限公司 | Method and system for removing specific character string watermark |
Non-Patent Citations (3)
Title |
---|
朱正平;钟诚;陈东用;: "一种基于执行路径隐藏的软件水印算法", 计算机应用研究, no. 12, 10 December 2006 (2006-12-10), pages 124 - 126 * |
王继军;: "一种基于位置图的可逆水印方案", 计算机工程与应用, no. 04, 16 January 2012 (2012-01-16), pages 91 - 94 * |
顾艳春;杨扬;: "一种基于PDF文档和置乱技术的文本数字水印算法", 佛山科学技术学院学报(自然科学版), no. 02, 15 March 2009 (2009-03-15), pages 47 - 50 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110851209B (en) | Data processing method and device, electronic equipment and storage medium | |
CN109885577B (en) | Data processing method, device, terminal and storage medium | |
KR101238374B1 (en) | Method and appratus for supplying mashup service | |
KR20150125012A (en) | Managing operations on stored data units | |
KR20090065202A (en) | Apparatus for acquiring memory data of mobile terminal and method thereof | |
EP2988226A1 (en) | Electronic document data updating method and device | |
US9514392B2 (en) | Method of creating compound file and data storage device having the compound file | |
CN110059214B (en) | Image resource processing method and device | |
CN113407932B (en) | Channel identifier reporting method, system and storage medium | |
CN112667576A (en) | Watermark content processing method and device, electronic equipment and storage medium | |
CN110750960A (en) | Configuration file analysis method, storage medium, electronic device and system | |
CN110750268B (en) | File cleaning method and device, computer readable storage medium and electronic equipment | |
CN109800273A (en) | A kind of method, apparatus of data processing, computer storage medium and terminal | |
US8429331B2 (en) | Storage optimizations by directory compaction in a fat file system | |
JP2019200696A (en) | Document processing device, document processing method, and program | |
CN109948123B (en) | Image merging method and device | |
CN111597149B (en) | Data cleaning method and device for database | |
CN114968841A (en) | Information flash memory storage method and device, computer equipment and storage medium | |
JP2008269339A (en) | Image processor, image processing method, image processing program, and recording medium | |
CN113744008A (en) | Resource bit delivery method and device, electronic equipment and storage medium | |
US8655929B2 (en) | Modification of data within a file | |
CN110688103A (en) | Code writing method and device, electronic equipment and computer readable storage medium | |
CN112988737B (en) | Data storage method and device, data acquisition method and device and electronic equipment | |
CN114168079B (en) | Method, device and related component for identifying tiff type data deleted from disk | |
US9077872B2 (en) | Document management apparatus and document management method |
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 |