A method and device for tracing protection of a digital document, an electronic device and a storage medium

By extracting characters from digital documents, encrypting and converting them, and processing them with a new font library, a layout document containing traceability information is generated. This solves the problem that digital documents are easily stolen and cannot be traced, and achieves the effect of traceability and protection even after illegal operations.

CN118898057BActive Publication Date: 2026-04-07HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Digital documents are easily stolen and their origins are difficult to trace, causing distress to owners. Existing technologies are insufficient to effectively protect the content from unauthorized use after screenshots, photos, or printouts.

Method used

The system extracts characters from encrypted digital documents, generates a unique random character lookup table for encryption conversion, saves the formatted document and imports it into a script library, and processes it with a new font library to include traceability information, ensuring that the document remains traceable even after being screenshotted, photographed, or printed.

Benefits of technology

It effectively protects the content of digital documents and ensures that they can still be traced after illegal operations, thus achieving traceability protection of digital documents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898057B_ABST
    Figure CN118898057B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, electronic device, and storage medium for the traceability and protection of digital documents. The method and apparatus are applied to an electronic device and specifically involve: extracting characters from a digital document to be encrypted and distributed to obtain document characters; performing encrypted conversion on the document characters to obtain a layout document, the layout document including conversion relationships; saving the layout document; returning user information based on the processing of user scripts; and processing the layout document according to the conversion relationships to obtain a new font library containing traceability information. Users can encrypt the digital document to be distributed based on the new font library. The processed content can be converted into other characters, and only the new font library can convert it into the actual content, thus effectively protecting the content of the digital document. Because it contains extractable traceability information, 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] This application relates to the field of intellectual property protection technology, and more specifically, to a method, apparatus, electronic device, and storage medium for the traceability and protection of digital documents. Background Technology

[0002] Digital documents, due to their convenience, have become an important source of information in people's production and daily lives, and an indispensable part of their routines. Like other intellectual property, digital documents are the fruits of people's intellectual labor or intellectual wealth, and therefore require protection. However, the ease of access to digital documents makes them vulnerable to theft, and once stolen, their origin cannot be traced, causing significant distress to their owners. 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 even after being screenshotted, photographed, printed, or scanned—has become a crucial aspect of digital document protection. Summary of the Invention

[0003] In view of this, this application provides a method, apparatus, electronic device and storage medium for the traceability protection of digital documents, which enables digital documents to still contain traceability information after being acquired and processed, so that the digital documents can be effectively traced and protected.

[0004] To achieve the above objectives, the following solution is proposed:

[0005] A method for tracing and protecting the source of digital documents, applied to electronic devices, the method comprising the following steps:

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

[0007] The document characters are encrypted and converted to obtain a layout document, which includes conversion relationships;

[0008] Save the document with the specified layout.

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

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

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

[0012] The standard parsing protocol for the corresponding industry is selected 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 the formatted document includes the following steps:

[0015] Generate a unique random character lookup table for each character in the document;

[0016] The document characters are replaced according to the random character lookup table;

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

[0018] Import a script library for retrieving font libraries;

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

[0020] Optionally, processing the layout document according to the conversion relationship to obtain a new font library containing source information includes the following steps:

[0021] Extract the transformation relationship from the layout text;

[0022] Extract the character code corresponding to the converted character from the conversion relationship;

[0023] Find the glyph description based on the source character code in the conversion relationship;

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

[0025] A digital document traceability and protection device, applied to electronic devices, the traceability and protection device comprising:

[0026] The character extraction module is configured to extract characters from digital documents to be encrypted and distributed, thereby obtaining document characters.

[0027] A character conversion module is configured to perform encrypted conversion on the document characters to obtain a layout document, the layout document including conversion relationships;

[0028] A character storage module is configured to save the layout document;

[0029] The authentication processing module is configured to return user information based on the processing of the 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 source information.

[0031] Optionally, the character extraction module includes:

[0032] The protocol selection unit is configured to select the standard parsing protocol for the 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] The lookup table generation unit is configured to generate a unique random character lookup table for each character in the document characters;

[0036] The replacement processing unit is configured to replace the document characters according to the random character lookup table;

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

[0038] The script library retrieval unit is configured to import a script library for retrieving font libraries;

[0039] The conversion execution unit is configured to convert the document characters that have undergone replacement and modification processing and the script library to obtain the layout document.

[0040] Optionally, the font encapsulation module includes:

[0041] The relationship extraction unit is configured to extract the transformation relationship in the layout text;

[0042] The character extraction unit is configured to extract the character code corresponding to the converted character in the conversion relationship;

[0043] The glyph lookup unit is configured to look up a glyph description based on the 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 includes 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 instructions to enable the electronic device to implement 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 that can be executed by the electronic device, thereby enabling the electronic device to implement the digital document traceability protection method as described above.

[0049] As can be seen from the above technical solution, this application discloses a method, apparatus, electronic device, and storage medium for the traceability protection of digital documents. The method and apparatus are applied to an electronic device, specifically involving: extracting characters from a digital document to be encrypted and distributed to obtain document characters; encrypting and converting the document characters to obtain a layout document, which includes conversion relationships; saving the layout document; returning user information based on the processing of user scripts; and processing the layout document according to the conversion relationships to obtain a new font library containing traceability information. Users can encrypt the digital document to be distributed based on the new font library. The processed content can be converted into other characters, and only the new font library can convert it into the actual content, thus effectively protecting the content of the digital document. Given that it contains extractable traceability information, the corresponding digital document can be effectively traced and protected. Attached Figure Description

[0050] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0051] Figure 1 A flowchart illustrating a method for tracing and protecting digital documents according to an embodiment of this application;

[0052] Figure 2 This is a schematic diagram of a font shape involved in an embodiment of this application;

[0053] Figure 3 This is a block diagram of a digital document traceability and protection device according to an embodiment of this application;

[0054] Figure 4 This is a block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0056] Figure 1 This is a flowchart illustrating a method for tracing and protecting digital documents according to an embodiment of this application.

[0057] like Figure 1 As shown, the traceability protection method provided in this embodiment is applied to electronic devices for traceability protection of digital documents. 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 the document characters.

[0059] Depending on the document type to be encrypted and distributed, the standard parsing protocol corresponding to its industry is used to extract the document characters character by character. 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 digital document is extracted character by character using the standard parsing protocol to obtain the character document.

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

[0063] The specific process is as follows:

[0064] First, the extracted document characters are deduplicated, duplicate document characters are removed, and a unique random character lookup table is generated for each remaining document character.

[0065] Then, replace the characters in the original document with characters from a random character lookup table.

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

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

[0068] Finally, convert the document characters and the 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 the layout document.

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

[0072] When receiving the corresponding request from the user, authenticate the user. 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 contained 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 specifically 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, re-encapsulate 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 digital documents to be distributed. The content processed by the font library can be converted into other characters. Only the new font library in this application can obtain the real content, effectively protecting the content of digital documents and ensuring that the font details of the document can still be extracted and traced, regardless of whether the document is screenshotted, photographed, printed, or scanned and copied.

[0080] As can be seen from the above technical solution, this application provides a method for traceability protection of digital documents. This method is applied to electronic devices and specifically involves: extracting characters from a digital document to be encrypted and distributed to obtain document characters; encrypting and converting the document characters to obtain a layout document, which includes conversion relationships; saving the layout document; returning user information based on the processing of user scripts; and processing the layout document according to the conversion relationships to obtain a new font library containing traceability information. Users can encrypt the digital document to be distributed based on the new font library. The processed content can be converted into other characters, and only the new font library can convert it into the actual content, thus effectively protecting the content of the digital document. Since it contains extractable traceability information, the corresponding digital document can be effectively traced and protected.

[0081] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0082] Although the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous.

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

[0084] Computer program code for performing the operations of this disclosure can 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, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer.

[0085] Figure 3 This is a block diagram of a digital document traceability protection device according to an embodiment of this 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 digital documents. This 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 digital documents to be encrypted and distributed, thus obtaining the document characters.

[0088] Depending on the document type to be encrypted and distributed, the module uses its corresponding industry-standard parsing protocol to extract the document characters character by character. This module includes a protocol selection unit and an extraction execution unit.

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

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

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

[0092] The lookup table generation unit is used to deduplicate the extracted document characters, remove duplicate document characters, and generate a unique random character lookup table for each remaining document character.

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

[0094] The modification processing unit is used to change the font library referenced by the original document characters to a new font (denoted 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 that implements the function of acquiring a font library. Specifically, the imported script library can be a script library that responds to user input requests and receives their input.

[0096] The conversion execution unit is used to convert the document characters and script library after replacement and modification into a layout document for further processing.

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

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

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

[0100] When a user's request is received, the user is authenticated. After the permissions are confirmed, the user's script request is processed to obtain the user's information.

[0101] The character encapsulation module is used to process layout documents based on conversion relationships and new font libraries.

[0102] By processing the transformation relationships and new font library contained in the stored layout text, a new digital document containing traceability information is obtained. This module includes a relationship extraction unit, a character extraction unit, a glyph lookup unit, and an encapsulation execution unit.

[0103] The relation advance unit is used to extract and process the fingerprint (md5) from the stored layout document to obtain the above-mentioned transformation relation.

[0104] The character extraction unit is used to extract the character code corresponding to the transformed character in the transformation relationship, use it as the character code of the new font library, and record it as the 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 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, a new font library can be obtained, and it 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 after the document is screenshot, photographed, printed, and scanned and copied.

[0108] As can be seen from the above technical solution, this application provides a traceability protection device for digital documents. This device is applied to an electronic device. Specifically, it 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, and the layout document includes a conversion relationship; saves the layout document; returns user information according to the processing of the user script; processes the layout document according to the conversion relationship to obtain a new font library containing traceability information. The user 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, 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.

[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 on 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 in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0111] Figure 4 This is a block diagram of an electronic device according to an embodiment of this application.

[0112] The following is for reference. Figure 4 This document illustrates a structural diagram suitable for implementing the electronic device in the embodiments of this disclosure. The terminal device in the embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. This electronic device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this disclosure.

[0113] The electronic device may include a processing unit (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. The RAM also stores various programs and data required for the operation of the electronic device. The processing unit, ROM, and RAM are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0114] Typically, the following devices can be connected to the I / O interface: input devices including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 408 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various devices are shown in the figures, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0115] This application also provides an embodiment of a computer-readable storage medium.

[0116] The aforementioned computer-readable storage medium is applied to an electronic device and carries one or more computer programs. When these programs are executed by the electronic device, the device extracts characters from the digital document to be encrypted and distributed, obtaining document characters; performs encrypted conversion on the document characters to obtain a layout document, which includes conversion relationships; saves the layout document; returns user information based on the processing of user scripts; and processes the layout document according to the conversion relationships to obtain a new font library containing traceability information. Users can encrypt the digital document to be distributed based on the new font library. The processed content can be converted into other characters, and only the new font library can convert it into the actual content, thus effectively protecting the content of the digital document. Because it contains extractable traceability information, the corresponding digital document can be effectively traced and protected.

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

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

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

[0120] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0121] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0122] The technical solution provided by the present invention has been described in detail above. Specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of ​​the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for tracing and protecting digital documents, applied to electronic devices, characterized in that, The source tracing and protection method includes the following steps: Extract characters from the encrypted digital documents to be distributed to obtain the document characters; The document characters are encrypted and converted to obtain a layout document, which includes the conversion relationship and the fingerprint of the layout document; Save the document with the specified layout. Return user information based on the processing of the user script; Extract the transformation relationship from the layout document based on the fingerprint; Extract the character code corresponding to the converted character from the conversion relationship; Find the glyph description based on the source character code in the conversion relationship; The character codes and glyph descriptions are encapsulated to obtain a new font library containing traceability information. Users then use this new font library to encrypt digital documents to be distributed and convert them into other characters.

2. The traceability and protection method as described in claim 1, characterized in that, The character extraction process for the digital document to be encrypted and distributed includes the following steps: The standard parsing protocol for the corresponding industry is selected 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 document characters.

3. The traceability and protection method as described in claim 1, characterized in that, The step of encrypting and converting the document characters to obtain the formatted document includes the following steps: Generate a unique random character lookup table for each character in the document; The document characters are replaced according to the random character lookup table; Modify the font library referenced by the document characters; Import a script library for retrieving font libraries; The replaced and modified document characters are converted with the script library to obtain the layout document.

4. A digital document traceability and protection device, applied to electronic devices, characterized in that, The traceability protection device includes: The character extraction module is configured to extract characters from digital documents to be encrypted and distributed, thereby obtaining document characters. The character conversion module is configured to perform encrypted conversion on the document characters to obtain a layout document, the layout document including conversion relationships and a fingerprint of the layout document; A character storage module is configured to save the layout document; The authentication processing module is configured to return user information based on the processing of the 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. The user encrypts the digital document to be distributed based on the new font library and converts it into other characters. Specifically, the character encapsulation module includes: A relationship extraction unit is configured to extract the transformation relationship from the layout document based on the fingerprint; The character extraction unit is configured to extract the character code corresponding to the converted character in the conversion relationship; The glyph lookup unit is configured to look up a glyph description based on the source character code in the conversion relationship; The encapsulation execution unit is configured to encapsulate the character code and the glyph description to obtain a new font library containing source information.

5. The traceability protection device as described in claim 4, characterized in that, The character extraction module includes: The protocol selection unit is configured to select the standard parsing protocol for the corresponding industry based on the document type of the digital document; The extraction execution unit is configured to extract characters from the digital document one by one based on the standard parsing protocol to obtain the document characters.

6. The traceability protection device as described in claim 4, characterized in that, The character conversion module includes: The lookup table generation unit is configured to generate a unique random character lookup table for each character in the document characters; The replacement processing unit is configured to replace the document characters according to the random character lookup table; The modification processing unit is configured to modify the font library referenced by the document characters; The script library retrieval unit is configured to import a script library for retrieving font libraries; The conversion execution unit is configured to convert the document characters that have undergone replacement and modification processing and the script library to obtain the layout document.

7. An electronic device, characterized in that, The electronic device includes 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 instructions to enable the electronic device to implement the digital document traceability and protection method as described in any one of claims 1 to 3.

8. A computer-readable storage medium applied to an electronic device, characterized in that, The storage medium carries one or more computer programs that can be executed by the electronic device, thereby enabling the electronic device to implement the digital document traceability and protection method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

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

    CN107423629A