Traceability protection method and device for digital document, electronic equipment and storage medium

By extracting and encrypting digital documents, a new font library containing traceability information is generated, which solves the problem of theft and inability to trace the digital documents, and effectively protects the document content.

CN118898057AActive Publication Date: 2024-11-05HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD

Patent Information

Application Number
CN202410947304.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-05
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Digital documents are easily stolen and cannot be traced, making it difficult to protect content.

Method used

By extracting and encrypting the digital documents to be distributed by encrypted, a new font library containing traceability information is generated to ensure that the document can still be traced after being screenshot, photographed, printed out, and scanned and copied.

Benefits of technology

It effectively protects the content of digital documents, ensures that it can still contain traceability information after processing, and realizes traceability protection of digital documents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898057A_ABST
    Figure CN118898057A_ABST
Patent Text Reader

Abstract

The invention discloses a traceability protection method and device for a digital document, electronic equipment and a storage medium, the method and device are applied to the electronic equipment, and specifically, character extraction is performed on the digital document to be encrypted and distributed to obtain document characters; performing encryption conversion on the document characters to obtain a format document, the format document including a conversion relationship; the format document is stored; returning user information according to the processing of the user script; and processing the format document according to the conversion relation to obtain a new font library containing the traceability information. A user can encrypt the to-be-distributed digital document based on the new font library, the processed content can be converted into other characters, and only the new font library can convert the processed content into real content, so that the content of the digital document is effectively protected, and in view of the fact that the digital document contains extractable traceability information, the content of the digital document can be converted into the real content by the new font library. Therefore, the corresponding digital document can be effectively traced and protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intellectual property protection, and more specifically, to a method, device, electronic device and storage medium for tracing and protecting digital documents. Background Art

[0002] Digital documents have become an important source of information for people in their production and life due to their convenience, and have become an indispensable part of people's daily work and life. Like other intellectual property, digital documents are also the results of people's intellectual labor or intellectual wealth, so they need to be protected. However, due to the easy accessibility of digital documents, they are easy to be stolen, and they cannot be traced after being stolen, which brings great trouble to the owners of digital documents. Therefore, how to protect the content of digital documents from illegal use, that is, how to ensure that digital documents can still be traced and protected after being screenshotted, photographed, printed out, scanned and copied, has become an important part of protecting digital documents. Summary of the invention

[0003] In view of this, the present application provides a digital document traceability protection method, device, electronic device and storage medium, which are used to ensure that the digital document still contains traceability information after being acquired and processed, so that the digital document can be effectively traced and protected.

[0004] In order to achieve the above objectives, the proposed solution is as follows:

[0005] A digital document traceability protection method is applied to electronic equipment, and the traceability protection method comprises the following steps:

[0006] Extract characters from the digital document to be encrypted and distributed to obtain document characters;

[0007] Encrypting and converting the document characters to obtain a layout document, wherein the layout document includes a conversion relationship;

[0008] Saving the layout document;

[0009] Return user information based on the processing of the user script;

[0010] The layout document is processed according to the conversion relationship to obtain a new font library containing traceability information.

[0011] Optionally, the character extraction of the digital document to be encrypted and distributed comprises the steps of:

[0012] Selecting a standard parsing protocol for a corresponding industry based on the document type of the digital document;

[0013] The digital document is extracted character by character based on the standard parsing protocol to obtain the character document.

[0014] Optionally, the step of encrypting and converting the document characters to obtain a layout document comprises the following steps:

[0015] Generating a unique random character comparison table for each character in the document characters;

[0016] Performing a replacement process on the document characters according to the random character comparison table;

[0017] Modify the font library referenced by the document characters;

[0018] Introduce a script library for obtaining font libraries;

[0019] The document characters that have been replaced and modified are converted with the script library to obtain the layout document.

[0020] Optionally, the processing of the layout document according to the conversion relationship to obtain a new font library containing traceability information comprises the steps of:

[0021] Extracting the conversion relationship in the layout text;

[0022] Extracting the character code corresponding to the converted character in the conversion relationship;

[0023] Searching for a glyph description according to the source character code in the conversion relationship;

[0024] The character code and the glyph description are packaged to obtain the new digital document.

[0025] A digital document traceability protection device, applied to electronic equipment, comprising:

[0026] A character extraction module is configured to extract characters from the digital document to be encrypted and distributed to obtain document characters;

[0027] A character conversion module is configured to perform encryption conversion on the document characters to obtain a layout document, wherein the layout document includes a conversion relationship;

[0028] A character storage module, configured to save the format document;

[0029] An authentication processing module, configured to return user information based on processing of a user script;

[0030] The character encapsulation module is configured to process the layout document according to the conversion relationship to obtain a new font library containing traceability information.

[0031] Optionally, the character extraction module includes:

[0032] A protocol selection unit, configured to select a standard parsing protocol of a corresponding industry based on the document type of the digital document;

[0033] The extraction execution unit is configured to extract the digital document character by character based on the standard parsing protocol to obtain the character document.

[0034] Optionally, the character conversion module includes:

[0035] A comparison table generating unit, configured to generate a unique random character comparison table for each character in the document characters;

[0036] A replacement processing unit, configured to perform replacement processing on the document characters according to the random character comparison table;

[0037] A modification processing unit configured to modify a font library referenced by the document characters;

[0038] A script library acquisition unit, configured to introduce a script library for acquiring a font library;

[0039] The conversion execution unit is configured to convert the document characters that have been replaced and modified and the script library to obtain the layout document.

[0040] Optionally, the font packaging module includes:

[0041] A relationship extraction unit, configured to extract the conversion relationship in the layout text;

[0042] A character extraction unit, configured to extract a character code corresponding to the converted character in the conversion relationship;

[0043] A glyph search unit configured to search for a glyph description according to a source character code in the conversion relationship;

[0044] The encapsulation execution unit is configured to encapsulate the character code and the glyph description to obtain the new font library.

[0045] An electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0046] The memory is used to store computer programs or instructions;

[0047] The processor is used to execute the computer program or instruction so that the electronic device implements the digital document traceability protection method as described above.

[0048] A computer-readable storage medium is applied to an electronic device. Optionally, the storage medium carries one or more computer programs, and the one or more computer programs can be executed by the electronic device, so that the electronic device implements the digital document traceability protection method as described above.

[0049] It can be seen from the above technical solution that the present application discloses a traceability protection method, device, electronic device and storage medium for digital documents. The method and device are applied to electronic devices, specifically to extract characters from digital documents to be encrypted and distributed to obtain document characters; encrypt and convert document characters to obtain a layout document, which includes a conversion relationship; save the layout document; return user information based on the processing of user scripts; process the layout document according to the conversion relationship to obtain a new font library containing traceability information. Users can encrypt digital documents to be distributed based on the new font library, and the content processed by it can be converted into other characters. Only the new font library can convert it into real content, thereby effectively protecting the content of the digital document. Since it contains traceability information that can be extracted, the corresponding digital document can be effectively traced and protected. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 A flowchart of a method for tracing and protecting a digital document according to an embodiment of the present application;

[0052] Figure 2 A schematic diagram of a font shape involved in an embodiment of the present application;

[0053] Figure 3 A block diagram of a digital document traceability protection device according to an embodiment of the present application;

[0054] Figure 4 A block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] Figure 1 This is a flow chart of a method for tracing and protecting the origin of a digital document according to an embodiment of the present application.

[0057] like Figure 1 As shown, the traceability protection method provided in this embodiment is applied to an electronic device for traceability protection of a digital document. The electronic device can be understood as a computer, server or cloud platform with data computing and information processing capabilities. The traceability protection method includes the following steps:

[0058] S1. Extract characters from the digital document to be encrypted and distributed to obtain document characters.

[0059] According to the different document types of the documents that need to be encrypted and distributed, the standard parsing protocol of the corresponding industry is used to extract the characters one by one to obtain the document characters. The specific steps include:

[0060] First, a standard parsing protocol for the corresponding industry is selected based on the document type of the digital document.

[0061] Then, the standard parsing protocol is used to extract characters from the digital document to obtain a character document.

[0062] S2. Encrypt and convert the document characters to obtain a layout document.

[0063] The specific process is as follows:

[0064] First, the extracted document characters are deduplicated, repeated document characters are removed, and a unique random character comparison table corresponding to each remaining document character is generated.

[0065] Then, replace the original document characters according to the random character comparison table.

[0066] Then, the font library referenced by the original document characters is modified to a new font (recorded as UserAFontFamily), which is described here as a new font library to distinguish it from the original font library.

[0067] Then, a script library is introduced to realize the function of obtaining the font library.

[0068] Finally, convert the document characters and script library after replacement processing and modification processing into a layout document for subsequent further processing.

[0069] S3. Save the layout document.

[0070] Save the layout document using the corresponding database. The saved layout document includes the above conversion relationship and the fingerprint (md5) of this layout document.

[0071] S4. Obtain user information by authenticating the user.

[0072] When receiving the corresponding request from the user, perform authentication processing on the user, and after determining the permissions, process the request of the script sent by the user to obtain user information.

[0073] S5. Process the layout document according to the conversion relationship and the new font library.

[0074] Process it through the conversion relationship and the new font library included in the stored layout text to obtain a new digital document containing traceability information. The specific processing process is as follows:

[0075] First, perform extraction processing from the stored layout document according to the above fingerprint (md5) to obtain the above conversion relationship.

[0076] Then, extract the character code corresponding to the converted character in the conversion relationship, use it as the character code of the new font library, and record it as key;

[0077] Next, according to the source character code in the conversion relationship, search for the corresponding glyph description in the font library set, use it as the glyph description corresponding to the character code in the previous step, and record it as value. The font library set in this application is specially designed for the method of this application. For example, Figure 2 for the character "恒" in it, where the details of the first few strokes are different, and it contains all Chinese and English characters and their corresponding character codes (key) and glyph descriptions (value). The glyph descriptions corresponding to the same character code between font library sets only have differences at both ends of the outline.

[0078] Finally, according to the TrueType Font (TTF) font standard, repackage UserAFontFamily, key, and value in the above operations to obtain a new font library.

[0079] After completing the above processing, a new font library can be obtained, which can be used to encrypt the digital documents to be distributed. The processed content can be converted into other characters. Only the new font library in this application can obtain the real content, which effectively protects the content of the digital document and ensures that the font details of the document can still extract traceability information after screenshots, photos, printouts, and scans and copies.

[0080] It can be seen from the above technical solution that the present application provides a traceability protection method for digital documents, which is applied to electronic devices, specifically extracting characters from digital documents to be encrypted and distributed to obtain document characters; encrypting and converting document characters to obtain a layout document, which includes a conversion relationship; saving the layout document; returning user information based on the processing of user scripts; processing the layout document based on the conversion relationship to obtain a new font library containing traceability information. Users can encrypt digital documents to be distributed based on the new font library, and the processed content can be converted into other characters. Only the new font library can convert it into real content, thereby effectively protecting the content of the digital document. Given that it contains traceability information that can be extracted, the corresponding digital document can be effectively traced and protected.

[0081] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0082] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0083] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0084] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as C or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.

[0085] Figure 3 A block diagram of a digital document traceability protection device according to an embodiment of the present application.

[0086] like Figure 3 As shown, the traceability protection device provided in this embodiment is applied to an electronic device for traceability protection of a digital document. The electronic device can be understood as a computer, server or cloud platform with data computing and information processing capabilities. The traceability protection device includes a character extraction module 10, a character conversion module 20, a character storage module 30, an authentication processing module 40 and a character encapsulation module 50.

[0087] The character extraction module is used to extract characters from the digital document to be encrypted and distributed, and obtain document characters.

[0088] According to the different document types of the documents to be encrypted and distributed, the standard parsing protocol of the corresponding industry is used to extract the characters one by one to obtain the document characters. This module includes a protocol selection unit and an extraction execution unit.

[0089] The protocol selection unit is used to select a standard parsing protocol of a corresponding industry based on the document type of the digital document.

[0090] The extraction execution unit is used to extract the digital document character by character using the standard parsing protocol to obtain a character document.

[0091] The character conversion module is used to encrypt and convert the document characters to obtain a format document. The module includes a comparison table generation unit, a replacement processing unit, a modification processing unit, a script library acquisition unit and a conversion execution unit.

[0092] The comparison table generating unit is used to perform deduplication processing on the extracted document characters, remove the repeated document characters, and generate a unique random character comparison table corresponding to each remaining document character.

[0093] The replacement processing unit is used to replace the original document characters according to the random character comparison table.

[0094] The modification processing unit is used to modify the font library referenced by the original document characters into a new font (recorded as UserAFontFamily), which is described here as a new font library to distinguish it from the original font library.

[0095] The script library acquisition unit is used to import a script library, and the script library is used to realize the function of acquiring the font library. Specifically, the importation may be a script library that responds to the user's input request and receives the user's input.

[0096] The conversion execution unit is used to convert the document characters and script library that have been replaced and modified into a layout document for subsequent further processing.

[0097] The character storage module is used to save the layout documents.

[0098] The layout document is saved using a corresponding database, and the saved layout document includes the above conversion relationship and the fingerprint (md5) of the layout document.

[0099] The authentication processing module is used to obtain user information by authenticating the user.

[0100] When receiving the corresponding request from the user, the user is authenticated, and after determining the authority, the script request sent by the user is processed to obtain the user information.

[0101] The character encapsulation module is used to process the layout document according to the conversion relationship and the new font library.

[0102] By processing the conversion relationship and new font library contained in the stored layout text, a new digital document containing traceability information is obtained. The module includes a relationship extraction unit, a character extraction unit, a glyph search unit and a packaging execution unit.

[0103] The relationship advance unit is used to extract and process the stored layout document according to the above fingerprint (md5) to obtain the above conversion relationship.

[0104] The character extraction unit is used to extract the character code corresponding to the converted character in the conversion relationship, use it as the character code of the new font library, and record it as a key;

[0105] The glyph lookup unit is used to find the corresponding glyph description from the font library set according to the source character code in the conversion relationship, and use it as the glyph description corresponding to the previous character code, which is denoted as value. The font library set in this application is designed specifically for the method of this application. For example, Figure 2 the character "恒" in it has some differences in the details of the first few strokes, and it contains all Chinese and English characters and their corresponding character codes (keys) and glyph descriptions (values). The glyph descriptions corresponding to the same character code in different font library sets only have differences at both ends of the outline.

[0106] The encapsulation execution unit is used to re-encapsulate UserAFontFamily, key, and value in the above operations according to the TrueType Font (TTF) font standard, so as to obtain a new font library.

[0107] After the above processing is completed, a new font library can be obtained, which can be used to encrypt the digital document to be distributed. The content processed by it can be converted into other characters, and only the new font library in this application can obtain the real content, effectively protecting the content of the digital document, and ensuring that the font details of the document can still be traced back to the source information whether the document is screenshot, photographed, printed, or scanned and copied.

[0108] It can be seen from the above technical solutions that this application provides a traceability protection device for digital documents. This device is applied to an electronic device, specifically to extract characters from a digital document to be encrypted and distributed to obtain document characters; perform encryption conversion on the document characters to obtain a layout document, and the layout document includes a conversion relationship; save the layout document; return user information according to the processing of the user script; process the layout document according to the conversion relationship to obtain a new font library containing traceability information. Users can use the new font library to encrypt the digital document to be distributed. The content processed by it can be converted into other characters, and only this new font library can convert it into real content, thus effectively protecting the content of the digital document. In view of the fact that it contains traceability information that can be extracted, the corresponding digital document can be effectively traced and protected.

[0109] The units involved in the embodiments described in this disclosure can be implemented in software or in hardware. Among them, the name of the unit does not constitute a limitation to the unit itself in some cases. For example, the first acquisition unit can also be described as "the unit for acquiring at least two Internet protocol addresses".

[0110] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0111] Figure 4 A block diagram of an electronic device according to an embodiment of the present application.

[0112] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0113] The electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory ROM 402 or a program loaded from an input device 406 into a random access memory RAM 403. In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0114] Typically, the following devices may be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 409. The communication device 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

[0115] The present application also provides a computer-readable storage medium embodiment.

[0116] The computer-readable storage medium is applied to an electronic device and carries one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device extracts characters from the digital document to be encrypted and distributed to obtain document characters; encrypts and converts the document characters to obtain a layout document, which includes a conversion relationship; saves the layout document; returns user information based on the processing of the user script; processes the layout document based on the conversion relationship to obtain a new font library containing traceability information. Users can encrypt the digital document to be distributed based on the new font library, and the processed content can be converted into other characters. Only the new font library can convert it into real content, thereby effectively protecting the content of the digital document. Since it contains traceability information that can be extracted, the corresponding digital document can be effectively traced and protected.

[0117] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0118] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0119] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0120] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0121] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0122] The technical solution provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A digital document traceability protection method, applied to electronic devices, It is characterized in that The traceability protection method comprises the steps of: Extract characters from the digital document to be encrypted and distributed to obtain document characters; Encrypting and converting the document characters to obtain a layout document, wherein the layout document includes a conversion relationship; Saving the layout document; Return user information based on the processing of the user script; The layout document is processed according to the conversion relationship to obtain a new font library containing traceability information.

2. The traceability protection method according to claim 1, It is characterized in that The method of extracting characters from a digital document to be encrypted and distributed comprises the following steps: Selecting a standard parsing protocol for a corresponding industry based on the document type of the digital document; The digital document is extracted character by character based on the standard parsing protocol to obtain the character document.

3. The traceability protection method according to claim 1, It is characterized in that The encryption conversion of the document characters to obtain the format document comprises the steps of: Generating a unique random character comparison table for each character in the document characters; Performing a replacement process on the document characters according to the random character comparison table; Modify the font library referenced by the document characters; Introduce a script library for obtaining font libraries; The document characters that have been replaced and modified are converted with the script library to obtain the layout document.

4. The traceability protection method according to claim 1, It is characterized in that The method of processing the layout document according to the conversion relationship to obtain a new font library containing traceability information comprises the following steps: Extracting the conversion relationship in the layout text; Extracting the character code corresponding to the converted character in the conversion relationship; Searching for a glyph description according to the source character code in the conversion relationship; The character code and the glyph description are packaged to obtain the new digital document.

5. A digital document traceability protection device, applied to electronic equipment, It is characterized in that The traceability protection device comprises: A character extraction module is configured to extract characters from the digital document to be encrypted and distributed to obtain document characters; A character conversion module is configured to perform encryption conversion on the document characters to obtain a layout document, wherein the layout document includes a conversion relationship; A character storage module, configured to save the format document; An authentication processing module, configured to return user information based on processing of a user script; The character encapsulation module is configured to process the layout document according to the conversion relationship to obtain a new font library containing traceability information.

6. The traceability protection device according to claim 5, It is characterized in that The character extraction module comprises: A protocol selection unit, configured to select a standard parsing protocol of a corresponding industry based on the document type of the digital document; The extraction execution unit is configured to extract the digital document character by character based on the standard parsing protocol to obtain the character document.

7. The traceability protection device according to claim 5, It is characterized in that The character conversion module comprises: A comparison table generating unit, configured to generate a unique random character comparison table for each character in the document characters; A replacement processing unit, configured to perform replacement processing on the document characters according to the random character comparison table; A modification processing unit configured to modify a font library referenced by the document characters; A script library acquisition unit, configured to introduce a script library for acquiring a font library; The conversion execution unit is configured to convert the document characters that have been replaced and modified and the script library to obtain the layout document.

8. The traceability protection device according to claim 5, It is characterized in that The font packaging module comprises: A relationship extraction unit, configured to extract the conversion relationship in the layout text; A character extraction unit, configured to extract a character code corresponding to the converted character in the conversion relationship; A glyph search unit configured to search for a glyph description according to a source character code in the conversion relationship; The encapsulation execution unit is configured to encapsulate the character code and the glyph description to obtain the new font library.

9. An electronic device, It is characterized in that The electronic device comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instruction so that the electronic device implements the digital document traceability protection method as described in any one of claims 1 to 4.

10. A computer-readable storage medium, the storage medium being applied to an electronic device, It is characterized in that The storage medium carries one or more computer programs, and the one or more computer programs can be executed by the electronic device, so that the electronic device implements the digital document traceability protection method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • File information output anti-leakage and tracing method and system

    CN107423629A

  • Method and device for embedding and extracting hidden information of OFD format electronic document

    CN112818301A

  • Format document processing method and device, electronic equipment and readable storage medium

    CN113408251A

  • Document watermark embedding method and device based on slightly-changed words and storage medium

    CN116433454A

  • Document conversion method and device, electronic equipment and medium

    CN116776835A

Cited By

  • Format document processing method, device and equipment

    CN119398029A