Tamper detection method, device and medium

Through distributed data network and verification code detection, the risk and trust issues of tampering with paper copies during multi-institutional transmission are solved, and data cannot be tampered with and historical traceability is achieved.

CN112487490BActive Publication Date: 2024-09-13RICOH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910856999.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-11
Publication Date
2024-09-13
Estimated Expiration
2039-09-11

AI Technical Summary

Technical Problem

In the existing technology, there is a risk of tampering when paper copies are transferred between multiple institutions, and because the verification information is concentrated on a single server, there is a single point of tampering risk and trust issues.

Method used

Using a distributed data network, by obtaining an optically read copy of the paper copy, detecting the verification code, and judging whether the paper copy has been tampered based on the printed transaction identification comparison information, the data is recorded and verified synchronously among multiple nodes to ensure Data cannot be tampered with.

Benefits of technology

It solves the trust problem in the cross-institutional paper copy verification process, any tampering can be discovered, and solves the privacy and historical traceability issues through the authentication mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112487490B
    Figure CN112487490B
Patent Text Reader

Abstract

Disclosed are a tampering identification method, device and medium. The tampering identification method is applied to one of multiple entities involved in paper copy delivery, including: obtaining an optical read copy of the paper copy; obtaining a verification code detection result of the optical read copy; when the verification code detection result is no verification code, determining that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, obtaining a corresponding printing transaction based on the printing transaction identifier, and comparing the optical read copy with information included in the printing transaction to determine whether the paper copy has been tampered with, wherein the multiple entities correspond to multiple nodes in a distributed data network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of secure document management, and more particularly, to methods, devices, and media that can be used to identify tampering from paper copies. Background Art

[0002] Nowadays, various documents are widely created as electronic data and are managed and processed. Printing documents is a daily function where users can print electronic documents as part of their daily work or record keeping, etc.

[0003] And, with the advancement of communication systems, people often send documents as attachments to others. Since these files are in electronic form, they are easy to edit at any time. That is, anyone can change the content (or other attributes) of the document before printing.

[0004] When the electronic document to be printed is a document with high security requirements, such as a contract document, it is even more important to verify whether the paper copy has been tampered with. For example, in a secure contract management system, the contract needs to be printed as a paper copy and passed and stamped between the multiple entities involved in the contract (such as different corporate organizations). However, there is a risk of tampering with the contract during the transmission process. Therefore, a system is needed to verify whether the printed paper copy is a true copy of the original document or whether it has been tampered with.

[0005] In the prior art, a single server can be used to control the printing and verification of electronic documents, and the verification information related to the electronic documents is stored on the centralized server. However, the problem with this solution is that since the verification information is stored on a single server, there is a risk of single-point tampering of the verification information. For example, if the server is hacked, the verification information stored on the server will be tampered with.

[0006] Furthermore, if the server is managed and maintained by one of the institutions involved in the contract, then in the process of transferring paper copies between multiple institutions, there is a problem that the other institutions cannot trust each other, resulting in verification failure. Summary of the invention

[0007] In view of the above circumstances, it is desirable to provide new tampering identification methods, devices, and media that can solve the trust problem in the paper copy verification process across institutions.

[0008] According to one aspect of the present disclosure, a tampering identification method is provided, which is applied to one of multiple entities involved in the delivery of paper copies, including: obtaining an optical read copy of the paper copy; obtaining a verification code detection result of the optical read copy; when the verification code detection result is no verification code, determining that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, obtaining a corresponding printing transaction based on the printing transaction identifier, and comparing the optical read copy with information included in the printing transaction to determine whether the paper copy has been tampered with, wherein the multiple entities correspond to multiple nodes in a distributed data network, each node is used to send / receive data to / from other nodes in the distributed data network, and receive / send audit results for the data from / to other nodes, wherein data for obtaining the required audit results are synchronously recorded in each node of the distributed data network, wherein the data recorded in each node in the distributed data network is used to verify tampering of data in other nodes, and the data includes the printing transaction.

[0009] In addition, in the tampering identification method according to the embodiment of the present disclosure, the printing transaction is generated in response to a printing command, and the printing command includes the electronic document to be printed and its registration transaction identifier; wherein the corresponding registration transaction can be uniquely obtained based on the registration transaction identifier, and the registration transaction is generated by a node that creates the electronic document, and is audited by other nodes in the distributed data network. After obtaining the required audit results, it is synchronously recorded in each node of the distributed data network, and the registration transaction includes identification information of the electronic document.

[0010] In addition, in the tampering identification method according to the embodiment of the present disclosure, the verification code is used to indicate the consistency between the identification information included in the registration transaction and the electronic document to be printed. It is generated after receiving the print command, and is embedded in the electronic document to be printed and printed as a paper copy.

[0011] In addition, in the tampering identification method according to the embodiment of the present disclosure, the verification code is generated by a node that prints the electronic document, wherein the generated verification code includes a prefix code for identifying the node that generates the verification code, and wherein determining the verification code detection result of the optically read copy further includes: determining the node that generates the verification code based on the prefix code in the detected verification code; and requesting the node that generates the verification code for a printing transaction address stored in association with the verification code.

[0012] In addition, in the tampering identification method according to the embodiment of the present disclosure, the verification code is generated by a node that prints the electronic document and is sent to other nodes in the distributed data network for review by the other nodes, wherein the verification code that obtains the required review result is synchronously recorded in each node of the distributed data network, and wherein determining the verification code detection result of the optically read copy further includes: based on the detected verification code, obtaining the printing transaction address stored in association with it.

[0013] In addition, in the tampering identification method according to the embodiment of the present disclosure, after determining whether the paper copy has been tampered with, it further includes: generating a scanning transaction, wherein the scanning transaction includes a printing transaction identifier of the paper copy, a scanning verification result indicating whether the paper copy has been tampered with, and scanning operation information; sending the generated scanning transaction to other nodes in the distributed data network for review by the other nodes, wherein the scanning transaction that obtains the required review result is synchronously recorded in each node of the distributed data network, wherein each node in the distributed data network can obtain the corresponding scanning transaction based on the scanning transaction identifier.

[0014] In addition, in the tampering identification method according to the embodiment of the present disclosure, the printing transaction includes the registration transaction address of the electronic document being printed, and the verification code is further stored in association with the scanning transaction identifier, and the method further includes: based on the printing transaction, determining the registration transaction identifier of the corresponding electronic document, and based on the verification code, determining the associated scanning transaction identifier; based on the registration transaction identifier and the scanning transaction identifier, obtaining the registration transaction and the scanning transaction of the electronic document corresponding to the paper copy; displaying or outputting the information contained in the registration transaction, the printing transaction and the scanning transaction.

[0015] In addition, in the tampering identification method according to the embodiment of the present disclosure, the sending, reading and receiving of data in the distributed data network need to be authenticated, and at least one of the multiple entities is allowed to send, read and receive data in the distributed data network after being authenticated.

[0016] According to another aspect of the present disclosure, there is provided a tampering identification device, corresponding to one of a plurality of entities involved in the delivery of a paper copy, comprising: a distributed data management device, as a node in a distributed data network, for sending / receiving data to / from other nodes in the distributed data network, and receiving / sending audit results for the data from / to other nodes, wherein data for obtaining the required audit results are synchronously recorded in each node of the distributed data network, and each node in the distributed data network corresponds to a different tampering identification device, wherein the data recorded in each node in the distributed data network is used to verify the tampering of data in other nodes, and the data includes the printing transaction; and a scanning verification device, for obtaining an optical reading copy of the paper copy, and obtaining a verification code detection result of the optical reading copy, and when the verification code detection result is no verification code, determining that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, obtaining a printing transaction of the corresponding electronic document based on the printing transaction identifier, and comparing the optical reading copy with the information contained in the printing transaction to determine whether the paper copy has been tampered with.

[0017] In addition, in the tampering identification device according to the embodiment of the present disclosure, the printing transaction is generated in response to a printing command, and the printing command includes the electronic document to be printed and its registration transaction identifier; wherein the corresponding registration transaction can be uniquely obtained based on the registration transaction identifier, and the registration transaction is generated by a node that creates the electronic document, and is audited by other nodes in the distributed data network. After obtaining the required audit results, it is synchronously recorded in each node of the distributed data network, and the registration transaction includes identification information of the electronic document.

[0018] In addition, in the tampering identification device according to the embodiment of the present disclosure, the verification code is used to indicate the consistency between the identification information included in the registration transaction and the electronic document to be printed. It is generated after receiving the print command, and is embedded in the electronic document to be printed and printed as a paper copy.

[0019] In addition, in the tampering identification device according to the embodiment of the present disclosure, the verification code is generated by a node that prints the electronic document, wherein the generated verification code includes a prefix code for identifying the node that generates the verification code, and wherein the scanning verification device is further configured to: determine the node that generates the verification code based on the prefix code in the detected verification code; and request the node that generates the verification code for a printing transaction address stored in association with the verification code.

[0020] In addition, in the tampering identification device according to the embodiment of the present disclosure, the verification code is generated by a node that prints the electronic document and is sent to other nodes in the distributed data network for review by the other nodes, wherein the verification code that obtains the required review result is synchronously recorded in each node of the distributed data network, and wherein the scanning verification device is further configured to: based on the detected verification code, obtain the printing transaction address stored in association with it.

[0021] In addition, in the tampering identification device according to the embodiment of the present disclosure, the scanning verification device is further configured to: generate a scanning transaction, wherein the scanning transaction includes a printing transaction identifier of the paper copy, a scanning verification result indicating whether the paper copy has been tampered with, and scanning operation information; send the generated scanning transaction to other nodes in the distributed data network for review by the other nodes, wherein the scanning transaction that obtains the required review result is synchronously recorded in each node of the distributed data network, wherein each node in the distributed data network can obtain the corresponding scanning transaction based on the scanning transaction identifier.

[0022] In addition, in the tampering identification device according to the embodiment of the present disclosure, the printing transaction includes the registration transaction address of the printed electronic document, and the verification code is further stored in association with the scanning transaction identifier, and the device further includes: a document tracking device for determining the registration transaction identifier of the corresponding electronic document based on the printing transaction, and determining the associated scanning transaction identifier based on the verification code; and obtaining the registration transaction and scanning transaction of the electronic document corresponding to the paper copy based on the registration transaction identifier and the scanning transaction identifier; and a display device for displaying the information contained in the registration transaction, the printing transaction and the scanning transaction.

[0023] In addition, in the tampering identification device according to the embodiment of the present disclosure, the sending, reading and receiving of data in the distributed data network need to be authenticated, and the device further includes: an authentication device for performing authentication on the distributed data management device, wherein after the distributed data management device has passed the authentication, it is allowed to perform sending, reading and receiving of data in the distributed data network.

[0024] According to another aspect of the present disclosure, there is provided a tampering identification device, corresponding to one of a plurality of entities involved in the delivery of a paper copy, comprising: a memory for storing a computer program thereon; and a processor for performing the following processing when executing the computer program stored on the memory: obtaining an optically read copy of the paper copy; obtaining a verification code detection result of the optically read copy; when the verification code detection result is that there is no verification code, determining that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, obtaining a corresponding printing transaction based on the printing transaction identifier, and comparing the optically read copy with the verification code included in the printing transaction. The tampering identification device is used to compare the information contained in the paper copy to determine whether the paper copy has been tampered with, wherein the tampering identification device is used as a node in the distributed data network to send / receive data to / from other nodes in the distributed data network, and receive / send audit results for the data from / to other nodes, wherein the data for obtaining the required audit results are synchronously recorded in each node of the distributed data network, and each node in the distributed data network corresponds to a different tampering identification device, wherein the data recorded in each node in the distributed data network is used to verify the tampering of data in other nodes, and the data includes the printing transaction.

[0025] According to another aspect of the present disclosure, a computer-readable recording medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the tampering identification method described above is performed.

[0026] By using the tampering identification method and device according to the present disclosure, once a creation operation or a printing operation is performed on an electronic document, or a scanning operation is performed on a paper text, the corresponding transactions, namely, registration transactions, printing transactions and scanning transactions, will be recorded in each node of the distributed data network in a distributed storage manner after each node reaches a consensus. The data in the distributed data network cannot be tampered with, and the consensus of each node in the network is obtained. The trust problem in the verification process of cross-institutional paper copies is solved by this distributed storage method. In the process of cross-institutional transmission of paper copies, any tampering of paper copies can be discovered. In addition, the sending, reading and receiving of data in the distributed data network need to be authenticated, and at least one of the multi-party entities is allowed to send, read and receive data in the distributed data network after the authentication. Through this authentication method, for different electronic documents, different nodes in the distributed data network can be allowed to send, read and receive related transaction data. In addition, through this authentication method, the privacy problem of cross-institutional document verification is solved, and the institutions that have the right to send, read and receive related transaction data can be flexibly controlled. In addition, by storing the verification code in association with the printing transaction identifier and the scanning transaction identifier, all document-related transaction information can be read from the distributed data network, solving the problem of historical tracing of documents during the transmission process among multiple institutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a schematic diagram illustrating an application environment of an embodiment of the present disclosure;

[0028] Figure 2 is a flowchart illustrating a process of an electronic document registration method according to an embodiment of the present disclosure;

[0029] Figure 3 is a flowchart illustrating a process of a printing verification method according to an embodiment of the present disclosure;

[0030] Figure 4 is a flowchart illustrating a process of a scanning verification method according to an embodiment of the present disclosure;

[0031] Figure 5 is a functional block diagram illustrating a configuration of a tamper identification device according to an embodiment of the present disclosure; and

[0032] Figure 6 A schematic diagram showing the architecture of an exemplary computing device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0033] The various preferred embodiments of the present invention will be described below with reference to the accompanying drawings. The following description with reference to the accompanying drawings is provided to assist in the understanding of the exemplary embodiments of the present invention as defined by the claims and their equivalents. It includes various specific details to assist in understanding, but they are to be viewed as exemplary only. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Moreover, in order to make the specification more clear and concise, detailed descriptions of functions and configurations well known in the art will be omitted.

[0034] First, the application environment of the embodiments of the present disclosure will be briefly described. Figure 1 As shown, a distributed data network is formed by entity 10, entity 20 and entity 30. For example, in the scenario of security contract management, entity 10, entity 20 and entity 30 can be regarded as the parties involved in the contract. In addition, entity 10, entity 20 and entity 30 are respectively a node in the distributed data network, and each node can perform data communication with each other through a wired or wireless network. It should be recognized that Figure 1 The number of entities shown is illustrative and not limiting. In a distributed data network, more nodes may be included.

[0035] Next, we will refer to Figure 2 The electronic document registration method according to the present disclosure is described. The electronic document registration method can be Figure 1 Executed by any one of the entities 10, 20 and 30. Figure 2 As shown, the electronic document registration method includes the following steps.

[0036] First, in step S201, an electronic document is created, and a registration transaction corresponding to the electronic document is generated. The registration transaction includes identification information of the electronic document. For example, the identification information of the electronic document includes, but is not limited to, an electronic document identifier (ID), name, size, digital summary (e.g., hash value), generated event, information of the operator (name, ID, email address), or other related information.

[0037] Then, in step S202, in the distributed data network, the current node that creates the electronic document sends the generated registration transaction to other nodes in the distributed data network for review by other nodes. For example, each of the other nodes can compare the identification information contained in the registration transaction with the electronic document. If the two are consistent, the review is passed and a digital signature is added to the registration transaction. Otherwise, the review is not passed.

[0038] Finally, in step S203, the registration transaction that obtains the required audit result is recorded in the current node, and the registration transaction is further synchronously recorded in other nodes of the distributed data network. The registration transaction that obtains the required audit result can be considered to be a consensus reached between the nodes of the distributed data network, and the transaction reached by consensus is data that each entity can trust each other. Therefore, the data that has been reviewed and agreed upon by each entity is stored in each entity respectively to realize the distributed storage of data. For example, the required audit result can be that all nodes in other nodes have been audited and passed, or it can also be that some nodes (such as most nodes) in other nodes have been audited and passed. This can be flexibly selected and set according to specific design requirements.

[0039] Here, it should be pointed out that each node in the distributed data network records complete transaction data, so each node can participate in supervising the tampering of electronic documents or paper copies. In addition, each node in the data distribution network is independent and of equal status, and the nodes rely on a consensus mechanism to ensure storage consistency. In addition, the transaction data recorded in each node in the distributed data network is used to verify the tampering of transaction data in other nodes. In other words, when the transaction data on a node in the distributed data network is modified, other nodes in the network will be able to discover the modification. Therefore, the problem of single-point tampering is effectively avoided. In addition, through the distributed data network, transaction data will not be lost unless all nodes are destroyed, thereby ensuring the security of transaction data. The transaction data includes not only registration transactions, but also printing transactions and scanning transactions described below.

[0040] In addition, the registration transaction has a corresponding registration transaction identifier (ID). For example, the registration transaction identifier may be a logical address. Based on the registration transaction identifier, the corresponding registration transaction may be uniquely retrieved from the recorded data.

[0041] For example, this decentralized distributed data network can be implemented through blockchain technology. In this case, each node sets up a blockchain ledger locally to store transaction data related to the operation of electronic documents that is agreed upon between the nodes, such as the registration transaction described above. In addition, the transaction data in the blockchain ledger cannot be tampered with.

[0042] After the electronic document is created, it will inevitably involve the printing process of the electronic document. Figure 3 The printing verification method according to the embodiment of the present disclosure is described. Similar to the electronic document registration method, the printing verification method can also be performed by Figure 1The printing verification method can be executed by any one of the entities 10, 20, and 30 in the embodiment. Furthermore, the entity executing the printing verification method can be the same as the entity executing the electronic document registration method, or can be different from the entity executing the electronic document registration method. For example, the electronic document registration can be performed in one entity first, and then the electronic document printing can be performed. Alternatively, the electronic document registration can be performed in one entity, and then the electronic document printing can be performed in another entity. Figure 3 As shown, the printing verification method includes the following steps.

[0043] First, in step S301, a print command is received, wherein the print command includes the electronic document to be printed and its registration transaction identifier. For example, the print command may be generated in response to a user clicking a print icon in the electronic document to be printed.

[0044] Then, in step S302, the registration transaction is retrieved based on the registration transaction identifier.

[0045] Next, in step S303, the identification information included in the registration transaction is compared with the corresponding information of the electronic document to be printed to determine whether the electronic document to be printed is the originally created electronic document. For example, as described above, the identification information may include a digital summary such as a hash value. The hash value of the electronic document to be printed is calculated and compared with the hash value included in the identification information. If the two are different, it is considered that the electronic document to be printed is different from the originally created electronic document. If the two are the same, other information in the identification information may be further compared.

[0046] If all the information included in the identification information is consistent with the electronic document to be printed, then the judgment is yes in step S303, at this time, the printing of the electronic document to be printed is allowed, and the processing proceeds to step S304. In step S304, the verification code corresponding to the electronic document to be printed is obtained, and the electronic document embedded with the verification code is printed as a paper copy. Then, the processing proceeds to step S305.

[0047] The verification code may be a machine-readable code, and may be a code that is not readable by human vision. The verification code may be a one-dimensional or two-dimensional code, and may be printed out on ordinary paper media by black and white toner, color toner, or fluorescent material of an ordinary printer. An optical read copy is obtained by scanning the paper copy with a scanner or photographing the paper copy with a camera, and the verification code is extracted by processing the optical read copy with a specific algorithm. For example, this may be achieved by invisible watermark technology.

[0048] Here, for example, the verification code may be a verification code corresponding to the electronic document, that is, the verification code is the same for each page included in the electronic document. Of course, the verification code is different for different electronic documents. In this case, the verification code can uniquely identify the electronic document and can be used to distinguish between paper copies of different electronic documents, but cannot be used to distinguish between multiple copies of the same electronic document.

[0049] Alternatively, for another example, the verification code may include multiple verification codes associated with all paper copies of the electronic document. That is, the verification codes are different for different copies printed from the same electronic document. In this case, the verification code can not only uniquely identify the electronic document, but also distinguish different copies printed from the same electronic document.

[0050] Or, for another example, the verification code may include multiple verification codes associated with each page of all paper copies of the electronic document. That is, the verification code is different for different copies printed from the same electronic document. And, the verification code is also different for each page in the same copy. In this case, the verification code can not only uniquely identify different copies of the electronic document, but also distinguish different pages in the same copy.

[0051] Of course, the identification granularity of the verification code can be flexibly selected and set according to specific application scenarios and design requirements, and the present disclosure is not limited to the above examples.

[0052] In addition, for example, as a possible implementation, the verification code corresponding to the electronic document to be printed may be obtained from a remote server.

[0053] Specifically, the remote server may be a centralized server connected to each entity. When the verification of the electronic document to be printed is successful in an entity, the entity may request the server to generate a verification code. For example, the server may randomly generate a verification code and send the generated verification code to the entity that made the request.

[0054] Alternatively, as another possible implementation, the verification code corresponding to the electronic document to be printed may be generated locally. The specific generation method is similar to the generation method of the server. In this case, as a first example, the verification code is saved only at one entity that generates the verification code. Specifically, the generated verification code includes a prefix code for identifying the entity that generates the verification code. As a second example, the verification code is not only saved at one entity that generates the verification code. The verification code can be stored in a manner similar to the distributed storage of registration transactions described above. Specifically, after the verification code is generated locally (current entity), the generated verification code is sent to other entities (nodes) in the distributed data network for review by other nodes, wherein the verification code that obtains the required review result is stored in the current node, and the verification code is further synchronously recorded in other nodes of the distributed data network.

[0055] On the other hand, if any one of the information included in the identification information does not match the corresponding information of the electronic document to be printed, then the judgment is NO in step S303 , at which time, printing of the electronic document to be printed is prohibited, and the process proceeds to step S305 .

[0056] In step S305, a print transaction is generated. For example, the print transaction includes a registration transaction identifier of the electronic document to be printed, a print verification result indicating whether the electronic document to be printed is an original electronic document, and when the print verification result indicates that the electronic document to be printed is an original electronic document, the print transaction further includes identification information of the printed paper copy.

[0057] Here, the purpose of including the registration transaction identifier in the printing transaction is to be able to trace the relevant information of the originally created electronic document. In particular, when the printing of the paper copy is not completed, the user can trace the history of the printing verification failure of the corresponding electronic document through the registration transaction identifier included in the printing transaction, so as to grasp the situation of the attempt to tamper with the electronic document and print it. In this case, since the verification code is not generated, for example, the printing transaction identifier can be stored in association with the registration transaction identifier.

[0058] As another possible implementation, when the printing of the paper copy is not completed, the printing transaction may include a registration transaction identifier of the electronic document to be printed and a printing verification result indicating tampering; and when the printing of the paper copy is completed, the printing transaction may only include the printed paper copy identification information.

[0059] For example, paper copy identification information may include, but is not limited to: the printing time of the paper copy, printing device information (device ID, model, IP address), printing operator information (name, ID, email address), the number of copies printed at the same time, the number of pages of each copy, the entity information of the printed copy (entity name, ID), verification code information and other relevant information.

[0060] Then, in step S306, the generated printing transaction is sent to other nodes in the distributed data network for review by other nodes.

[0061] Finally, in step S307, the printing transaction that obtains the required audit result is recorded in the current node, and the printing transaction is further synchronously recorded in other nodes of the distributed data network. The printing transaction that obtains the required audit result can be considered as a consensus reached between the nodes of the distributed data network, and the transaction reached by consensus is data that each entity can trust each other. Therefore, the data that has been audited and reached consensus by each entity is stored in each entity respectively to realize the distributed storage of data. For example, the required audit result can be that all nodes in other nodes have been audited and passed, or it can also be that some nodes in other nodes (such as, majority nodes) have been audited and passed. This can be flexibly selected and set according to specific design requirements. It can be seen that the distributed storage method of printing transactions is exactly the same as the distributed storage method of registration transactions.

[0062] In addition, the printing transaction has a corresponding printing transaction identifier (ID). For example, the printing transaction identifier may be a logical address. Based on the printing transaction identifier, the corresponding printing transaction may be uniquely retrieved from the recorded data.

[0063] In addition, in order to facilitate the retrieval of the relevant printing transaction in the subsequent scanning of the paper copy, it is necessary to store the verification code in association with the printing transaction identifier. For example, in an implementation mode in which the verification code is obtained from a remote server, after the printing transaction is generated, the printing transaction identifier is further sent to the server, and the printing transaction identifier is stored in association with the previously generated verification code in the server. In an implementation mode in which the verification code is generated locally and stored only locally, the printing transaction identifier is stored locally in association with the verification code. In an implementation mode in which the verification code is generated locally and stored in a distributed manner, the printing transaction identifier is stored in association with the verification code in each node of the distributed data network.

[0064] After the electronic document creation and electronic document printing described above, there will inevitably be a scanning verification process for the printed paper copy. Therefore, next, we will refer to Figure 4The scanning verification method according to the embodiment of the present disclosure is described. Similar to the electronic document registration method and the printing verification method, the scanning verification method can also be performed by Figure 1 The scanning verification method may be executed by any one of the entities 10, 20 and 30. Furthermore, the entity executing the scanning verification method may be the same as or different from the entity executing the electronic document registration method and the entity executing the printing verification method. For example, the registration of the electronic document, the printing of the electronic document and the scanning verification of the paper copy may be performed in the same entity. Alternatively, the registration of the electronic document may be performed in one entity, the printing of the electronic document may be performed in another entity, and the scanning verification of the paper copy may be performed in yet another entity. Alternatively, the registration and printing of the electronic document may be performed in one entity, and the scanning verification of the paper copy may be performed in another entity. Of course, any other combination is also applicable and is included in the scope of the present disclosure. Figure 4 As shown, the scanning verification method includes the following steps.

[0065] First, in step S401, an optical reading copy of the paper copy is obtained. For example, the optical reading copy can be obtained by scanning the paper copy with a scanner or taking a photo of the paper copy with a camera.

[0066] Then, in step S402, a verification code detection result of the optical read copy is obtained. The verification code detection result may include whether a verification code is detected. And when a verification code is detected, the verification code detection result further includes a printing transaction identifier associated with the verification code.

[0067] For example, in the implementation described above where the verification code is generated by a remote server, the optical read copy can be sent to the remote server, and the remote server can extract the verification code to generate a verification code detection result.

[0068] Alternatively, in the implementation described above, where the verification code is stored only at the node that generates the verification code, the verification code extraction is performed locally. Furthermore, in the case where the verification code is detected, the node (entity) that generates the verification code is determined based on the prefix code in the verification code. Then, a print transaction identifier associated with the verification code is requested from the node that generates the verification code.

[0069] Furthermore, in the implementation of the distributed storage of the verification code described above, the verification code is extracted locally, and when the verification code is detected, the associated printing transaction identifier is directly obtained locally based on the verification code.

[0070] In step S403, it is determined whether the verification code detection result includes a verification code. If the determination in step S403 is no, that is, when the verification code detection result is no verification code, the process proceeds to step S404. In step S404, it is determined that the paper copy has been tampered with. As described above, only electronic documents that have passed the printing verification can be printed as paper copies, and the verification code is embedded in the electronic document before printing as a paper copy, so the paper copy that has passed the verification and is printed must include the verification code. In other words, if the verification code is not detected in the paper copy, the paper copy must be a tampered copy.

[0071] On the other hand, if the judgment in step S403 is yes, that is, when the verification code detection result includes the detected verification code and the associated printing transaction identifier, the processing proceeds to step S405. In step S405, the corresponding printing transaction is obtained based on the printing transaction identifier, and the optical read copy is compared with the information contained in the printing transaction to determine whether the information is consistent, so as to determine whether the paper copy has been tampered with. If the judgment in step S405 is yes, the processing proceeds to step S406. In step S406, it is determined that the paper copy has not been tampered with. On the other hand, if the judgment in step S405 is no, the processing proceeds to step S404. In step S404, it is determined that the paper copy has been tampered with.

[0072] As described above, the printing transaction includes paper copy identification information, and the paper copy identification information includes but is not limited to: the printing time of the paper copy, the printing device information (device ID, model, IP address), the printing operator information (name, ID, email address), the number of copies printed at the same time, the number of pages of each copy, the entity information of the printed copy (entity name, ID), verification code information and other related information. Since a paper copy may contain multiple pages, the optical reading copy also includes multiple pages accordingly. For example, if the optical reading copy has a total of 9 pages and contains 9 pages of verification code information, and the number of copy pages in the paper copy identification information is 10, that is, the optical reading copy is inconsistent with the information contained in the printing transaction, then this means that the paper copy is missing a page, that is, the paper copy has been tampered with. Alternatively, as described above, if the verification code can identify each page in the paper copy, then it can be further determined which page of the paper copy is missing based on the detected verification code. For another example, if the optically read copy has 10 pages, 9 pages contain verification code information and 1 page does not contain verification code information, and the number of pages in the paper copy identification information is 10, that is, the optically read copy is inconsistent with the information contained in the print transaction, then this means that one page of the paper copy has been replaced, that is, the paper copy has been tampered with. Alternatively, as described above, if the verification code can identify each page in the paper copy, then it can be further determined which page of the paper copy has been replaced based on the detected verification code.

[0073] As described above, a print transaction is generated in response to a print command, and the print command includes an electronic document to be printed and a registration transaction identifier thereof. Furthermore, a corresponding registration transaction can be uniquely obtained based on the registration transaction identifier, and the registration transaction is generated by a node that creates an electronic document, and is audited by other nodes in the distributed data network. After obtaining the required audit results, it is synchronously recorded in each node of the distributed data network, and the registration transaction includes identification information of the electronic document.

[0074] Furthermore, the verification code is used to indicate the consistency between the identification information included in the registration transaction and the electronic document to be printed, is generated after receiving the print command, and is embedded in the electronic document to be printed and printed as a paper copy.

[0075] After step S404 or step S406, the process proceeds to step S407. In step S407, a scan transaction is generated. For example, the scan transaction may include a print transaction identifier of the paper copy, a scan verification result indicating whether the paper copy has been tampered with, and scan operation information. For example, the scan operation information may include, but is not limited to: scan operation time, scanner device identification information (scanner device ID, model, IP address, etc.), scan operator identification information (name, ID, email address, etc.), number of scanned copies, number of scanned pages, entity identification information where the scan operation is performed (such as organization name), etc. For example, when the scan verification result indicates that the paper copy has been tampered with, the scan verification result may further include an explanation of the tampering information, including which page is missing, which page is replaced, and which page is added.

[0076] Similar to the registration transaction and the printing transaction described above, next, in step S408, the generated scanning transaction is sent to other nodes in the distributed data network for review by the other nodes.

[0077] Finally, in step S409, the scanning transaction that obtains the required audit result is recorded in the current node, and the scanning transaction is further synchronously recorded in other nodes of the distributed data network. The scanning transaction that obtains the required audit result can be considered as a consensus reached between the nodes of the distributed data network, and the transaction reached by consensus is data that each entity can trust each other. Therefore, the data that has been audited and reached a consensus by each entity is stored in each entity respectively to realize the distributed storage of data. For example, the required audit result can be that all nodes in other nodes have been audited and passed, or it can also be that some nodes in other nodes (such as, most nodes) have been audited and passed. This can be flexibly selected and set according to specific design requirements. It can be seen that the distributed storage method of scanning transactions is exactly the same as the distributed storage method of registration transactions and printing transactions described above.

[0078] And, similar to the printing transaction described above, the scanning transaction has a corresponding scanning transaction identifier (ID). For example, the scanning transaction identifier can be a logical address. Based on the scanning transaction identifier, the corresponding scanning transaction can be uniquely retrieved in the recorded data.

[0079] In addition, in order to facilitate the retrieval of related scanning transactions in the subsequent scanning of paper copies, the verification code can be stored in association with the scanning transaction identifier. For example, in an implementation mode in which the verification code is obtained from a remote server, after the scanning transaction is generated, the scanning transaction identifier is further sent to the server, and the scanning transaction identifier is stored in association with the previously generated verification code in the server. In an implementation mode in which the verification code is generated locally by an entity and is only stored locally in the entity, the scanning transaction identifier is stored in association with the verification code in the entity that generates the verification code. In an implementation mode in which the verification code is generated locally in an entity and stored in a distributed manner, the scanning transaction identifier is stored in association with the verification code in each node of the distributed data network.

[0080] A paper copy is generated through a printing operation, so there is a corresponding printing transaction. In addition, during the transfer of paper copies between multiple entities (institutions), multiple scanning verifications can be performed, and multiple scanning transactions can be generated. During the cross-institutional transfer of paper copies, if the institution that receives the paper copy wants to trace the historical record of the paper copy transfer, it can scan and verify the paper copy, detect the verification code, and obtain all printing transaction identifiers and scanning transaction identifiers associated with the verification code, for example, through the remote server described above, the institution that generates the verification code, or locally at the institution that scans the verification code.

[0081] As described above, the printing transaction includes the registration transaction address of the electronic document being printed, and the verification code is further stored in association with the scanning transaction identifier. In this case, when a paper copy is received at an entity, it can be optically scanned and the verification code therein can be obtained. Based on the verification code, the associated registration transaction identifier, printing transaction identifier and scanning transaction identifier are determined. Moreover, the registration transaction, printing transaction and scanning transaction are obtained based on the registration transaction identifier, printing transaction identifier and scanning transaction identifier, and the information contained in these transactions is output on a display for the user to view, or output to an external device.

[0082] Specifically, based on the verification code, the associated printing transaction identifier and the printing transaction can be determined. Then, based on the printing transaction, the registration transaction identifier of the corresponding electronic document can be determined. And based on the verification code, the associated scanning transaction identifier can also be determined. Then, based on the registration transaction identifier and the scanning transaction identifier, the registration transaction and the scanning transaction of the electronic document corresponding to the paper copy are obtained. Finally, the information contained in the registration transaction, the printing transaction, and the scanning transaction is displayed or output.

[0083] In addition, as described above, transaction data such as registration transactions, printing transactions, and scanning transactions are managed and stored in the distributed data network. For example, these transaction data can be data stored in the format and structure of blockchain technology. However, in addition to this, the tampering identification method can further include: storing transaction data such as registration transactions, printing transactions, and scanning transactions in a common format and structure different from the format and structure of blockchain, so that users can view them more conveniently.

[0084] In the above, refer to Figures 2 to 4 The electronic document registration method involved when creating an electronic document, the printing verification method involved when printing the created electronic document, and the scanning verification method involved when receiving a paper copy are described in chronological order. Once the creation operation, printing operation, or scanning operation is performed on the electronic document, the corresponding transactions, namely, the registration transaction, printing transaction, and scanning transaction, will be recorded in each node of the distributed data network in a distributed storage manner after each node reaches a consensus. The data in the distributed data network cannot be tampered with, and the consensus of each node in the network is obtained. This distributed storage method solves the trust problem in the cross-institutional paper copy verification process. In the process of cross-institutional transmission of paper copies, any tampering with the paper copy can be discovered.

[0085] In addition, as a possible implementation, the sending, reading and receiving of data in the distributed data network requires authentication, and at least one of the multiple entities is allowed to send, read and receive data in the distributed data network after the authentication. For example, the authentication can be in the form of an account number and password. The entities that send, read and receive registration transactions, printing transactions and scanning transactions described above are all nodes that have completed authentication.

[0086] Through this authentication method, for different electronic documents, different nodes in the distributed data network can be allowed to send, read and receive related transaction data. Specifically, first, only authenticated nodes are allowed to send transactions to the network. Secondly, the authenticated nodes can be further controlled to only read and receive transaction data of related documents. For example, assume that the distributed data network includes the first node to the fifth node, a total of five nodes. For an electronic document and the corresponding paper copy, the first node, the second node and the third node in the distributed data network can be allowed to perform reading and receiving of related data through authentication. And, for another electronic document and the corresponding paper copy, the second node, the third node and the fifth node in the distributed data network can be allowed to perform reading and receiving of related data through authentication.

[0087] Moreover, this authentication method solves the privacy problem of cross-institutional document verification and can flexibly control the institutions that have the right to send, read and receive relevant transaction data.

[0088] In addition, as described above, by storing the verification code in association with the printing transaction identifier and the scanning transaction identifier, all document-related transaction information can be read from the distributed data network, solving the problem of historical tracing of documents during the transmission process among multiple institutions.

[0089] Next, we will refer to Figure 5 The tamper identification device according to the embodiment of the present disclosure is described. Figure 5 As shown, the tampering identification device 500 includes: a distributed data management device 501 and a document generation device 502. For example, the tampering identification device 500 may correspond to Figure 1 Any one of entity 10, entity 20 and entity 30 in .

[0090] The document generation device 502 creates an electronic document and generates a registration transaction corresponding to the electronic document. The registration transaction includes identification information of the electronic document. For example, the identification information of the electronic document includes but is not limited to the electronic document identifier (ID), name, size, digital summary (such as hash value), generation event, generation operator information (name, ID, email address) or other related information.

[0091] Then, the document generation device 502 sends the generated registration transaction to the distributed data management device 501. The distributed data management device 501 sends the generated registration transaction to other nodes in the distributed data network for review by other nodes. For example, each of the other nodes can compare the identification information contained in the registration transaction with the electronic document. If the two are consistent, the review is passed and a digital signature is added to the registration transaction. Otherwise, the review is not passed.

[0092] The registration transaction that obtains the required audit result is recorded in the distributed data management device 501, and the registration transaction is further synchronously recorded in other nodes of the distributed data network. The registration transaction that obtains the required audit result can be considered as a consensus reached between the nodes of the distributed data network, and the transaction reached by consensus is data that each entity can trust each other. Therefore, the data that has been audited and reached consensus by each entity is stored in each entity respectively to realize the distributed storage of data. For example, the required audit result can be that all nodes in other nodes have been audited and passed, or it can also be that some nodes in other nodes (such as, the majority of nodes) have been audited and passed. This can be flexibly selected and set according to specific design requirements.

[0093] It can be seen that in the tampering identification device 500, only the distributed data management device 501 is substantially involved in the reading, receiving and storing of data in the distributed data network. In other words, although the tampering identification device 500 corresponds to a node in the distributed data network, in essence, the distributed data management device 502 in the tampering identification device 500 corresponds to a node in the distributed data network.

[0094] Here, it should be pointed out that each node in the distributed data network records complete transaction data, so each node can participate in supervising the tampering of electronic documents or paper copies. In addition, each node in the data distribution network is independent and of equal status, and the nodes rely on a consensus mechanism to ensure storage consistency. In addition, the transaction data recorded in each node in the distributed data network is used to verify the tampering of transaction data in other nodes. In other words, when the transaction data on a node in the distributed data network is modified, other nodes in the network will be able to discover the modification. Therefore, the problem of single-point tampering is effectively avoided. In addition, through the distributed data network, transaction data will not be lost unless all nodes are destroyed, thereby ensuring the security of transaction data. The transaction data includes not only registration transactions, but also printing transactions and scanning transactions described below.

[0095] In addition, the registration transaction has a corresponding registration transaction identifier (ID). For example, the registration transaction identifier may be a logical address. Based on the registration transaction identifier, the corresponding registration transaction may be uniquely retrieved from the recorded data.

[0096] For example, such a decentralized distributed data network can be implemented by blockchain technology. In this case, each distributed data management device 501 sets up a blockchain account book locally to store transaction data related to the operation of electronic documents that is agreed upon between the nodes, such as the registration transaction described above. In addition, the transaction data in the blockchain account book cannot be tampered with.

[0097] After the document generation device generates the electronic document, it will inevitably involve the printing process of the electronic document. Therefore, the tampering identification device 500 further includes: a printing verification device 503 and a printing device 504. Figure 5 In the figure, a document generating device 502 and a printing verification device 503 are shown in the same tampering identification device 500, but as described above, the electronic document to be printed by the printing verification device 503 is not necessarily generated by the document generating device 502 included in the same tampering identification device, but may be generated by the document generating devices in different tampering identification devices.

[0098] The printing verification device 503 is configured to perform the following processing: First, a print command is received, wherein the print command includes the electronic document to be printed and its registration transaction identifier. For example, the print command may be generated in response to a user clicking a print icon in the electronic document to be printed. Then, the identification information included in the registration transaction is compared with the corresponding information of the electronic document to be printed to determine whether the electronic document to be printed is an originally created electronic document. For example, as described above, the identification information may include a digital summary such as a hash value. The hash value of the electronic document to be printed is calculated and compared with the hash value included in the identification information. If the two are different, it is considered that the electronic document to be printed is different from the originally created electronic document. If the two are the same, other information in the identification information may be further compared.

[0099] If all the information included in the identification information is consistent with the electronic document to be printed, the printing verification device 503 determines that the electronic document to be printed is an originally created electronic document, and at this time, the printing of the electronic document to be printed is allowed. In this case, the verification code management device generates a verification code corresponding to the electronic document to be printed and sends it to the printing verification device 503. The printing verification device 503 embeds the verification code into the electronic document, and sends the electronic document embedded with the verification code to the printing device 504 for printing as a paper copy.

[0100] The verification code may be a machine-readable code, and may be a code that is not readable by human vision. The verification code may be a one-dimensional or two-dimensional code, and may be printed out on ordinary paper media by black and white toner, color toner, or fluorescent material of an ordinary printer. An optical read copy is obtained by scanning the paper copy with a scanner or photographing the paper copy with a camera, and the verification code is extracted by processing the optical read copy with a specific algorithm. For example, this may be achieved by invisible watermark technology.

[0101] Here, for example, the verification code may be a verification code corresponding to the electronic document, that is, the verification code is the same for each page included in the electronic document. Of course, the verification code is different for different electronic documents. In this case, the verification code can uniquely identify the electronic document and can be used to distinguish between paper copies of different electronic documents, but cannot be used to distinguish between multiple copies of the same electronic document.

[0102] Alternatively, for another example, the verification code may include multiple verification codes associated with all paper copies of the electronic document. That is, the verification codes are different for different copies printed from the same electronic document. In this case, the verification code can not only uniquely identify the electronic document, but also distinguish different copies printed from the same electronic document.

[0103] Or, for another example, the verification code may include multiple verification codes associated with each page of all paper copies of the electronic document. That is, the verification code is different for different copies printed from the same electronic document. And, the verification code is also different for each page in the same copy. In this case, the verification code can not only uniquely identify different copies of the electronic document, but also distinguish different pages in the same copy.

[0104] Of course, the identification granularity of the verification code can be flexibly selected and set according to specific application scenarios and design requirements, and the present disclosure is not limited to the above examples.

[0105] In addition, for example, as a possible implementation, the verification code management device may not be located in the tampering identification device 500, but may be connected to the tampering identification device 500 as a remote server. Of course, in this case, the remote server is further connected to other tampering identification devices, and each tampering identification device may request the remote server to allocate a verification code when necessary.

[0106] Specifically, the remote server may be a centralized server connected to various entities (different tamper identification devices). When the verification of the electronic document to be printed is successful in one entity, the entity may request the server to generate a verification code. For example, the server may randomly generate a verification code and send the generated verification code to the entity that made the request.

[0107] Alternatively, as another possible implementation, the verification code management device may be located in the tampering identification device 500, so as to locally generate a verification code corresponding to the electronic document to be printed. Figure 5 , it is shown that the verification code management device 505 is included in the tampering identification device 500. The specific generation method is similar to the generation method of the server.

[0108] In this case, as a first example, the verification code is stored only at one entity that generates the verification code, that is, the verification code is stored only at the tamper identification device 500. Specifically, the generated verification code includes a prefix code for identifying the entity that generates the verification code.

[0109] As a second example, the verification code is not only stored at one entity that generates the verification code. The verification code can be stored in a manner similar to the distributed storage of the registration transaction described above. Specifically, after the verification code management device 505 (current entity) generates the verification code, the generated verification code is sent to the distributed data management device 501. The distributed data management device 501 then sends the verification code to other entities (nodes) in the distributed data network for review by other nodes, wherein the verification code that obtains the required review result is stored in the distributed data management device 501, and the verification code is further synchronously recorded in other nodes of the distributed data network.

[0110] On the other hand, if any one of the information included in the identification information is inconsistent with the electronic document to be printed, the print verification device 503 determines that the electronic document to be printed is not an originally created electronic document but a tampered electronic document. At this time, the printing of the electronic document to be printed is prohibited.

[0111] Furthermore, the printing verification device 503 is further configured to generate a printing transaction. For example, the printing transaction includes a registration transaction identifier of the electronic document to be printed, a printing verification result indicating whether the electronic document to be printed is an original electronic document, and when the printing verification result indicates that the electronic document to be printed is an original electronic document, the printing transaction further includes identification information of the printed paper copy.

[0112] Here, the purpose of including the registration transaction identifier in the printing transaction is to be able to trace the relevant information of the originally created electronic document. In particular, when the printing of the paper copy is not completed, the user can trace the history of the printing verification failure of the corresponding electronic document through the registration transaction identifier included in the printing transaction, so as to grasp the situation of the attempt to tamper with the electronic document and print it. In this case, since the verification code is not generated, for example, the printing transaction identifier can be stored in association with the registration transaction identifier.

[0113] As another possible implementation, when the printing of the paper copy is not completed, the printing transaction may include a registration transaction identifier of the electronic document to be printed and a printing verification result indicating tampering; and when the printing of the paper copy is completed, the printing transaction may only include the printed paper copy identification information.

[0114] For example, paper copy identification information may include, but is not limited to: the printing time of the paper copy, printing device information (device ID, model, IP address), printing operator information (name, ID, email address), the number of copies printed at the same time, the number of pages of each copy, the entity information of the printed copy (entity name, ID), verification code information and other relevant information.

[0115] The print verification device 503 sends the generated print transaction to the distributed data management device 501. The distributed data management device 501 sends the print transaction to other nodes in the distributed data network for review by other nodes. In addition, the print transaction that obtains the required review result is recorded in the distributed data management device 501 of the current node, and the print transaction is further synchronously recorded in other nodes of the distributed data network. The print transaction that obtains the required review result can be considered as a consensus reached between the nodes of the distributed data network, and the consensus-reached transaction is data that each entity can trust each other. Therefore, the data that has been reviewed and agreed upon by each entity is stored in each entity respectively to realize the distributed storage of data. For example, the required review result can be that all nodes in other nodes have been reviewed and passed, or it can also be that some nodes (such as, most nodes) in other nodes have been reviewed and passed. This can be flexibly selected and set according to specific design requirements. It can be seen that the distributed storage method of the print transaction is exactly the same as the distributed storage method of the registration transaction.

[0116] In addition, the printing transaction has a corresponding printing transaction identifier (ID). For example, the printing transaction identifier may be a logical address. Based on the printing transaction identifier, the corresponding printing transaction may be uniquely retrieved from the recorded data.

[0117] In addition, in order to facilitate the retrieval of related printing transactions in subsequent scanning of paper copies, it is necessary to store the verification code in association with the printing transaction identifier. For example, in an implementation mode in which the verification code management device is implemented by a remote server, after the printing transaction is generated, the printing transaction identifier is further sent to the server, and the printing transaction identifier is stored in association with the previously generated verification code in the server. In an implementation mode in which the verification code management device is included in a local tampering identification device, the printing transaction identifier is stored in association with the verification code in the local verification code management device. In an implementation mode in which the verification code is generated locally and stored in a distributed manner, the printing transaction identifier is stored in association with the verification code in the verification code management device of each node of the distributed data network.

[0118] After the electronic document is created and printed as described above, a scanning verification process for the printed paper copy will inevitably be involved. Therefore, the tampering identification device 500 further includes: a scanning verification device 506. Figure 5In the figure, a document generating device 502, a printing verification device 503, a printing device 504 and a scanning verification device 506 are shown in the same tampering identification device 500. However, as described above, the paper document to be verified by the scanning verification device 506 is not necessarily printed by the electronic document generated by the document generating device 502 included in the same tampering identification device, nor is it necessarily verified and printed by the printing verification device 503 and the printing device 504 included in the same tampering identification device, but may be generated by the document generating devices in different tampering identification devices, and verified and printed by the printing verification devices and the printing devices in different tampering identification devices.

[0119] The scanning verification device 506 is used to obtain an optically read copy of the paper copy and obtain a verification code detection result of the optically read copy. When the verification code detection result is no verification code, it is determined that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, the printing transaction of the corresponding electronic document is obtained based on the printing transaction identifier, and the optically read copy is compared with the information contained in the printing transaction to determine whether the paper copy has been tampered with.

[0120] For example, in the embodiment described above where the verification code management device is implemented by a remote server, correspondingly, the scanning verification device 506 can send the optical read copy to the remote server, and the remote server can perform verification code extraction to generate a verification code detection result.

[0121] Alternatively, in the embodiment described above, in which the verification code management device 505 is included in the tampering identification device 500, the verification code management device 505 performs the extraction of the verification code locally. Furthermore, when the verification code is detected, the verification code management device 505 determines the node (entity) that generates the verification code based on the prefix code in the verification code. Then, the node that generates the verification code is requested to generate a printing transaction identifier associated with the verification code.

[0122] Furthermore, in the implementation of the distributed storage of verification codes described above, the verification code management device 505 performs verification code extraction locally. Furthermore, when a verification code is detected, the verification code management device 505 directly obtains the associated printing transaction identifier locally based on the verification code.

[0123] It can be seen that the verification code management device is not only a device for generating and distributing verification codes, but also a device for analyzing and detecting verification codes and storing transaction addresses associated with verification codes.

[0124] Furthermore, the scanning verification device 506 is further configured to generate a scanning transaction. For example, the scanning transaction may include a printing transaction identifier of the paper copy, a scanning verification result indicating whether the paper copy has been tampered with, and scanning operation information. For example, the scanning operation information may include, but is not limited to: scanning operation time, scanner device identification information (scanner device ID, model, IP address, etc.), scanning operator identification information (name, ID, email address, etc.), number of scanned copies, number of scanned pages, entity identification information where the scanning operation is performed (such as organization name), etc. For example, when the scanning verification result indicates that the paper copy has been tampered with, the scanning verification result may further include an explanation of the tampering information, including which page is missing, which page is replaced, and which page is added.

[0125] Similar to the registration transaction and print transaction described above, the scan verification device 506 sends the generated scan transaction to the distributed data management device 501, and the distributed data management device 501 sends the scan transaction to other nodes in the distributed data network for review by the other nodes.

[0126] Finally, the scanning transaction that obtains the required audit result is recorded in the distributed data management device 501 of the current node, and the scanning transaction is further synchronously recorded in other nodes of the distributed data network. The scanning transaction that obtains the required audit result can be considered as a consensus reached between the nodes of the distributed data network, and the transaction reached by consensus is the data that each entity can trust each other. Therefore, the data that has been audited and reached a consensus by each entity is stored in each entity respectively to realize the distributed storage of data. For example, the required audit result can be that all nodes in other nodes have been audited and passed, or it can also be that some nodes (such as, most nodes) in other nodes have been audited and passed. This can be flexibly selected and set according to specific design requirements. It can be seen that the distributed storage method of the scanning transaction is exactly the same as the distributed storage method of the registration transaction and the printing transaction described above.

[0127] And, similar to the printing transaction described above, the scanning transaction has a corresponding scanning transaction identifier (ID). For example, the scanning transaction identifier can be a logical address. Based on the scanning transaction identifier, the corresponding scanning transaction can be uniquely retrieved in the recorded data.

[0128] In addition, in order to facilitate the retrieval of related scanning transactions in the subsequent scanning of paper copies, the verification code can be stored in association with the scanning transaction identifier. For example, in an implementation mode in which the verification code management device is implemented by a remote server, after the scanning transaction is generated, the scanning transaction identifier is further sent to the server, and the scanning transaction identifier is stored in association with the previously generated verification code in the server. In an implementation mode in which the verification code management device is included in a local tampering identification device, the scanning transaction identifier is stored in association with the verification code in the local verification code management device. In an implementation mode in which the verification code is generated locally and stored in a distributed manner, the scanning transaction identifier is stored in association with the verification code in the verification code management device of each node of the distributed data network.

[0129] A paper copy is generated through a printing operation, so there is a corresponding printing transaction. In addition, during the transfer of paper copies between multiple entities (institutions), multiple scanning verifications can be performed, and multiple scanning transactions can be generated. During the cross-institutional transfer of paper copies, if the institution that receives the paper copy wants to trace the historical record of the paper copy transfer, it can scan and verify the paper copy, detect the verification code, and obtain all printing transaction identifiers and scanning transaction identifiers associated with the verification code, for example, through the remote server described above, the institution that generates the verification code, or locally at the institution that scans the verification code.

[0130] As described above, the printing transaction includes the registration transaction address of the electronic document being printed, and the verification code is further stored in association with the scanning transaction identifier. In this case, when a paper copy is received at a tampering identification device, it can be optically scanned and the verification code therein can be obtained. Based on the verification code, the associated registration transaction identifier, printing transaction identifier and scanning transaction identifier are determined. In addition, the registration transaction, printing transaction and scanning transaction are obtained based on the registration transaction identifier, printing transaction identifier and scanning transaction identifier, and the information contained in these transactions is output on a display for the user to view, or output to an external device.

[0131] Specifically, based on the verification code, the associated printing transaction identifier and the printing transaction can be determined. Then, based on the printing transaction, the registration transaction identifier of the corresponding electronic document can be determined. And based on the verification code, the associated scanning transaction identifier can also be determined. Then, based on the registration transaction identifier and the scanning transaction identifier, the registration transaction and the scanning transaction of the electronic document corresponding to the paper copy are obtained. Finally, the information contained in the registration transaction, the printing transaction, and the scanning transaction is displayed or output.

[0132] The tampering identification device may further include: a document tracking device (not shown in the figure), used to determine the registration transaction identifier of the corresponding electronic document based on the printing transaction, and determine the associated scanning transaction identifier based on the verification code; and based on the registration transaction identifier and the scanning transaction identifier, obtain the registration transaction and scanning transaction of the electronic document corresponding to the paper copy.

[0133] In addition, the tamper identification device may further include: a display device (not shown in the figure) for displaying the information included in the registration transaction, the printing transaction and the scanning transaction. Alternatively, the tamper identification device may further include: a communication device (not shown in the figure) for outputting the information included in the registration transaction, the printing transaction and the scanning transaction to an external device.

[0134] In addition, as a possible implementation, the sending, reading and receiving of data in the distributed data network require authentication, and the tampering identification device further includes: an authentication device (not shown in the figure), which is used to perform authentication on the distributed data management device, wherein after the distributed data management device has passed the authentication, it is allowed to perform sending, reading and receiving of data in the distributed data network.

[0135] In addition, as described above, transaction data such as registration transactions, printing transactions, and scanning transactions are managed and stored in the distributed data management device. For example, these transaction data can be data stored in the format and structure of blockchain technology. However, in addition to this, the tampering identification device may further include: a storage device (not shown in the figure) for storing transaction data such as registration transactions, printing transactions, and scanning transactions in a common format and structure different from the format and structure of the blockchain, so that users can view them more conveniently.

[0136] Through the tampering identification device according to the embodiment of the present disclosure, the document generation device, the printing verification device and the scanning verification device respectively perform the creation operation, the printing operation and the scanning operation related to the document, and after the operation is performed, the corresponding transaction, that is, the registration transaction, the printing transaction and the scanning transaction will be recorded in each node of the distributed data network in a distributed storage manner after each node reaches a consensus. The data in the distributed data network cannot be tampered with, and the consensus of each node in the network is obtained. This distributed storage method solves the trust problem in the cross-institutional paper copy verification process. In the process of cross-institutional transmission of paper copies, any tampering with the paper copy can be discovered.

[0137] In addition, the sending, reading and receiving of data in the distributed data network requires authentication, and at least one of the multiple entities is allowed to send, read and receive data in the distributed data network after the authentication. For example, the authentication can be in the form of an account number and password. The distributed data management devices for sending, reading and receiving registration transactions, printing transactions and scanning transactions described above are all nodes that have completed authentication.

[0138] Through this authentication method, for different electronic documents, different nodes in the distributed data network can be allowed to send, read and receive related transaction data. Specifically, first, only authenticated nodes are allowed to send transactions to the network. Secondly, the authenticated nodes can be further controlled to only read and receive transaction data of related documents. For example, assume that the distributed data network includes the first node to the fifth node, a total of five nodes. For an electronic document and the corresponding paper copy, the first node, the second node and the third node in the distributed data network can be allowed to perform reading and receiving of related data through authentication. And, for another electronic document and the corresponding paper copy, the second node, the third node and the fifth node in the distributed data network can be allowed to perform reading and receiving of related data through authentication.

[0139] Moreover, this authentication method solves the privacy problem of cross-institutional document verification and can flexibly control the institutions that have the right to send, read and receive relevant transaction data.

[0140] In addition, as described above, by storing the verification code in association with the printing transaction identifier and the scanning transaction identifier, the document tracking device can read all document-related transaction information from the distributed data network, solving the problem of historical tracing of documents during the transmission process among multiple institutions.

[0141] In addition, according to the tampering identification device of the present disclosure, corresponding to one of the multiple entities involved in the delivery of paper copies, it may include: a memory for storing a computer program thereon; and a processor for performing the following processing when executing the computer program stored on the memory: obtaining an optically readable copy of the paper copy; obtaining a verification code detection result of the optically readable copy; when the verification code detection result is no verification code, determining that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, obtaining a corresponding printing transaction based on the printing transaction identifier, and comparing the optically readable copy with the information contained in the printing transaction to determine whether the paper copy has been tampered with.

[0142] The tampering identification device is a node in a distributed data network, used to send / receive data to / from other nodes in the distributed data network, and receive / send audit results for the data from / to other nodes, wherein the data for obtaining the required audit results are synchronously recorded in each node of the distributed data network, and each node in the distributed data network corresponds to a different tampering identification device, wherein the data recorded in each node in the distributed data network is used to verify tampering of data in other nodes, and the data includes the printing transaction.

[0143] Specifically, the method or device according to the embodiment of the present disclosure can also be used by Figure 6 The architecture of the computing device 600 shown in FIG. Figure 6 As shown, the computing device 600 may include a bus 610, one or more CPUs 620, a read-only memory (ROM) 630, a random access memory (RAM) 640, a communication port 650 connected to a network, an input / output component 660, a hard disk 670, etc. The storage device in the computing device 600, such as the ROM 630 or the hard disk 670, may store various data or files used for processing and / or communication of the tampering identification method provided by the present disclosure, as well as program instructions executed by the CPU. Of course, Figure 6 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 6 One or more components of a computing device are shown.

[0144] The embodiments of the present disclosure may also be implemented as a computer-readable storage medium. Computer-readable instructions are stored on a computer-readable storage medium according to an embodiment of the present disclosure. When the computer-readable instructions are executed by a processor, the tampering identification method according to the embodiment of the present disclosure described with reference to the above figures may be executed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. The volatile memory may, for example, include a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may, for example, include a read-only memory (ROM), a hard disk, a flash memory, etc.

[0145] So far, reference has been made to Figures 1 to 6The tampering identification method and device according to the embodiment of the present disclosure are described in detail. Through the tampering identification method and device according to the present disclosure, once the creation operation, printing operation, or scanning operation is performed on the electronic document, the corresponding transaction, that is, the registration transaction, the printing transaction, and the scanning transaction are recorded in each node of the distributed data network in a distributed storage manner after each node reaches a consensus. The data in the distributed data network cannot be tampered with, and the consensus of each node in the network is obtained. The trust problem in the verification process of cross-institutional paper copies is solved by this distributed storage method. In the process of cross-institutional transmission of paper copies, any tampering of paper copies can be discovered. In addition, the sending, reading and receiving of data in the distributed data network need to be authenticated, and at least one of the multi-party entities is allowed to send, read and receive data in the distributed data network after the authentication. Through this authentication method, different nodes in the distributed data network can be allowed to send, read and receive related transaction data for different electronic documents. Moreover, this authentication method solves the privacy problem of cross-institutional document verification, and can flexibly control the institutions that have the right to send, read and receive relevant transaction data. In addition, by storing the verification code in association with the printed transaction ID and the scanned transaction ID, all document-related transaction information can be read from the distributed data network, solving the problem of historical tracing of documents in the process of multi-institutional transmission.

[0146] It should be noted that, in this specification, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or 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 device. In the absence of further restrictions, the elements defined by the sentence "includes..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0147] Finally, it should be noted that the above series of processing includes not only processing executed in time series in the order described here, but also processing executed in parallel or separately rather than in time series.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course can also be implemented entirely by software. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0149] The present invention has been introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods 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 methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A tamper detection method, applied to one of a plurality of entities involved in the delivery of a paper copy, comprising: Obtain an optically read copy of the paper copy; obtaining a verification code detection result of the optically read copy; When the verification code detection result is that there is no verification code, it is determined that the paper copy has been tampered with; When the verification code detection result includes the detected verification code and the associated printing transaction identifier, obtaining the corresponding printing transaction based on the printing transaction identifier, and comparing the optical read copy with the information included in the printing transaction to determine whether the paper copy has been tampered with, The multiple entities correspond to multiple nodes in a distributed data network respectively, and each node is used to send / receive data to / from other nodes in the distributed data network, and receive / send audit results of the data from / to other nodes. Wherein, the method further comprises: obtaining the data of the required audit result and synchronously recording it in each node of the distributed data network, using the data recorded in each node in the distributed data network to verify the tampering of data in other nodes, and the data includes the printing transaction; After determining whether the paper copy has been tampered with, the method further includes: generating a scan transaction, wherein the scan transaction includes a print transaction identifier of the paper copy, a scan verification result indicating whether the paper copy has been tampered with, and scan operation information; The generated scanning transaction is sent to other nodes in the distributed data network for review by the other nodes, wherein the scanning transaction that obtains the required review result is synchronously recorded in each node in the distributed data network, wherein each node in the distributed data network can obtain the corresponding scanning transaction based on the scanning transaction identifier.

2. The method according to claim 1, wherein: Each of the plurality of nodes in the distributed data network is used to send data to other nodes in the distributed data network and receive audit results of the data from other nodes, and Each of the multiple nodes in the distributed data network is used to receive data from other nodes in the distributed data network and send audit results of the data to other nodes.

3. The method according to claim 1, wherein the print transaction is generated in response to a print command, the print command including an electronic document to be printed and a registered transaction identifier thereof; Wherein, the corresponding registration transaction can be uniquely obtained based on the registration transaction identifier, the registration transaction is generated by a node that creates an electronic document, is audited by other nodes in the distributed data network, and is synchronously recorded in each node of the distributed data network after obtaining the required audit results, and the registration transaction includes the identification information of the electronic document.

4. The method according to claim 3, wherein the verification code is used to indicate the consistency between the identification information included in the registration transaction and the electronic document to be printed, is generated after receiving the print command, and is embedded in the electronic document to be printed and printed as a paper copy.

5. The method according to claim 4, wherein the verification code is generated by a node that prints the electronic document, wherein: The generated verification code includes a prefix code for identifying the node that generated the verification code, and Wherein determining the verification code detection result of the optical read copy further comprises: Determine the node that generates the verification code based on the detected prefix code in the verification code; A printing transaction identifier stored in association with the verification code is requested from the node that generated the verification code.

6. The method according to claim 4, wherein the verification code is generated by a node that prints the electronic document and is sent to other nodes in the distributed data network for review by the other nodes, wherein: The verification code that obtains the required audit result is synchronously recorded in each node of the distributed data network, and Wherein determining the verification code detection result of the optical read copy further comprises: Based on the detected verification code, a printing transaction address stored in association therewith is acquired.

7. The method of claim 1, wherein the printing transaction includes a registered transaction address of the electronic document being printed, and the verification code is further stored in association with a scanning transaction identifier, and The method further comprises: Based on the printing transaction, determining a registration transaction identifier of the corresponding electronic document, and based on the verification code, determining an associated scanning transaction identifier; Based on the registration transaction identifier and the scanning transaction identifier, obtaining the registration transaction and the scanning transaction of the electronic document corresponding to the paper copy; Information included in the registration transaction, the printing transaction, and the scanning transaction is displayed or output.

8. The method according to claim 1, wherein the sending, reading and receiving of data in the distributed data network requires authentication, and at least one of the multiple entities is allowed to send, read and receive data in the distributed data network after being authenticated.

9. A tamper identification device, corresponding to one of a plurality of entities involved in the delivery of a paper copy, comprising: A distributed data management device, as a node in a distributed data network, used to send / receive data to / from other nodes in the distributed data network, and receive / send audit results of the data from / to other nodes, wherein the distributed data management device is used to obtain the data of the required audit results and synchronously record them in each node of the distributed data network, and each node in the distributed data network corresponds to a different tampering identification device, and the distributed data management device is also used to verify the tampering of data in other nodes using the data recorded in each node in the distributed data network, and the data includes a printing transaction; and A scanning verification device, used to obtain an optically read copy of the paper copy, and obtain a verification code detection result of the optically read copy, and when the verification code detection result is no verification code, determine that the paper copy has been tampered with; when the verification code detection result includes a detected verification code and an associated printing transaction identifier, obtain a printing transaction of the corresponding electronic document based on the printing transaction identifier, and compare the optically read copy with the information included in the printing transaction to determine whether the paper copy has been tampered with; wherein the scanning verification device is further used to generate a scanning transaction, wherein the scanning transaction includes a printing transaction identifier of the paper copy, a scanning verification result indicating whether the paper copy has been tampered with, and scanning operation information; The distributed data management device is also used to send the generated scanning transaction to other nodes in the distributed data network for review by the other nodes, wherein the scanning transaction that obtains the required review result is synchronously recorded in each node of the distributed data network, wherein each node in the distributed data network can obtain the corresponding scanning transaction based on the scanning transaction identifier.

10. The tamper identification device according to claim 9, wherein: The distributed data management device is used to send data to other nodes in the distributed data network and receive audit results of the data from other nodes, and Receive data from other nodes in the distributed data network and send audit results of the data to other nodes.

11. A tamper identification device, corresponding to one of a plurality of entities involved in a paper copy delivery, comprising: a memory for storing a computer program thereon; as well as A processor, configured to perform the following processing when executing the computer program stored in the memory: Obtain an optically read copy of the paper copy; obtaining a verification code detection result of the optically read copy; When the verification code detection result is that there is no verification code, it is determined that the paper copy has been tampered with; When the verification code detection result includes the detected verification code and the associated printing transaction identifier, obtaining the corresponding printing transaction based on the printing transaction identifier, and comparing the optical read copy with the information included in the printing transaction to determine whether the paper copy has been tampered with, The tamper identification device is used as a node in a distributed data network to send or receive data to or from other nodes in the distributed data network, and to receive or send audit results of the data from or to other nodes. The processor further performs the following processing: obtaining the data of the required audit result and synchronously recording it in each node of the distributed data network, and each node in the distributed data network corresponds to a different tampering identification device, using the data recorded in each node in the distributed data network to verify the tampering of data in other nodes, and the data includes the printing transaction; After determining whether the paper copy has been tampered with, the method further includes: generating a scan transaction, wherein the scan transaction includes a print transaction identifier of the paper copy, a scan verification result indicating whether the paper copy has been tampered with, and scan operation information; The generated scanning transaction is sent to other nodes in the distributed data network for review by the other nodes, wherein the scanning transaction that obtains the required review result is synchronously recorded in each node in the distributed data network, wherein each node in the distributed data network can obtain the corresponding scanning transaction based on the scanning transaction identifier.

12. The tamper identification device according to claim 11, wherein: The tamper identification device is used to send data to other nodes in the distributed data network and receive audit results of the data from other nodes, and Receive data from other nodes in the distributed data network and send audit results of the data to other nodes.

13. A computer-readable recording medium having a computer program stored thereon, which, when executed by a processor, performs the method according to any one of claims 1 to 8.