Electronic document storage method, device and terminal equipment

By using blockchain technology to store electronic document evidence for double verification, the problem of low credibility of electronic document evidence in the existing technology is solved, and higher security and credibility is achieved, and users can easily retrieve and verify electronic documents.

CN113536368BActive Publication Date: 2025-05-06WEALEDGER NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110712609.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2025-05-06
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

In the prior art, electronic document evidence storage is low, easy to be damaged and difficult to ensure the integrity and security of data.

Method used

Blockchain technology is used to store evidence for electronic documents. The original electronic documents are stored in one place by calling the blockchain's evidence interface, and the results of the evidence are written back into the document to form a conversion document, and then secondary evidence is stored to ensure the decentralization and tamper-proofness of the data.

Benefits of technology

It improves the credibility and security of electronic document proof storage, supports users to retrieve, view and download electronic documents anytime and anywhere, improves the efficiency of document acquisition, and further enhances the credibility of documents through secondary evidence storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113536368B_ABST
    Figure CN113536368B_ABST
Patent Text Reader

Abstract

The present invention provides an electronic document evidence method, device and terminal device, which is applied to the document evidence technology field, including: receiving a user's document evidence request, the document evidence request includes an original electronic document; calling the evidence interface of the target blockchain, performing a primary evidence storage on the original electronic document, and obtaining a primary evidence storage result of the original electronic document; writing the primary evidence storage result back to the preset position of the original electronic document, and obtaining a converted document corresponding to the original electronic document; calling the evidence interface of the target blockchain, and performing a secondary evidence storage on the converted document. The electronic document evidence method, device and terminal device provided by the present invention improve the credibility of electronic document evidence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of document storage, and more specifically, to an electronic document storage method, device and terminal equipment. Background Art

[0002] As information increases, more and more documents need to be stored. Traditional paper document storage is relatively difficult to identify, circulate, and store, and it is easy to waste resources. In addition, paper documents are prone to the risk of "fake stamps". Therefore, electronic document storage came into being.

[0003] In the prior art, electronic document storage is usually performed by storing electronic documents in a backup form on a server owned by the institution or rented by the institution. The document data is very easy to be damaged and has poor credibility. Therefore, how to improve the credibility of electronic document storage has become an urgent problem to be solved in this field. Summary of the invention

[0004] The purpose of the present invention is to provide an electronic document storage method, device and terminal device to solve the technical problem of poor credibility of electronic document storage in the prior art.

[0005] A first aspect of an embodiment of the present invention provides an electronic document storage method, comprising:

[0006] Receiving a document storage request from a user, wherein the document storage request includes an original electronic document;

[0007] Calling the storage interface of the target blockchain to store the original electronic document once, and obtaining a storage result of the original electronic document;

[0008] Writing the primary evidence storage result back to the original electronic document to obtain a converted document corresponding to the original electronic document;

[0009] The target blockchain’s evidence storage interface is called to perform secondary evidence storage on the converted document.

[0010] In a possible implementation, the electronic document storage method further includes:

[0011] Receiving a document verification request sent by a user through a smart terminal, wherein the document verification request includes a primary evidence storage result held by the user, and the primary evidence storage result held by the user is obtained by scanning a code of a converted document held by the user through the smart terminal;

[0012] The converted document held by the user is verified based on the result of a primary evidence storage held by the user.

[0013] In a possible implementation, the electronic document storage method further includes:

[0014] Receiving a document verification request sent by a user through a web page, wherein the document verification request includes a converted document submitted by the user through the web page;

[0015] Call the verification interface of the target blockchain to verify the conversion document submitted by the user;

[0016] If the converted document submitted by the user passes the first verification, the first evidence result in the converted document submitted by the user is extracted, and the converted document submitted by the user is verified for a second time based on the first evidence result in the converted document submitted by the user.

[0017] In a possible implementation, the electronic document storage method further includes:

[0018] Receiving a document verification request sent by a user through an application, wherein the document verification request includes a converted document submitted by the user through the application;

[0019] Extract the first-time evidence result from the conversion document submitted by the user;

[0020] The interactive interface of the target blockchain is called to verify the primary evidence result in the conversion document submitted by the user, and when the primary evidence result in the conversion document submitted by the user passes the verification, the original electronic document corresponding to the primary evidence result in the conversion document submitted by the user is returned to the user.

[0021] In a possible implementation, writing the primary evidence storage result back to the original electronic document to obtain a converted document corresponding to the original electronic document includes:

[0022] Converting the primary evidence storage result to generate readable information;

[0023] The readable information is written back to the original electronic document to obtain a converted document corresponding to the original electronic document.

[0024] In a possible implementation, the calling of the verification interface of the target blockchain to verify the converted document submitted by the user includes:

[0025] Calculate the hash value of the transformed document submitted by the user;

[0026] Call the verification interface of the target blockchain to determine whether the hash value has been stored in the target blockchain;

[0027] If the hash value has been stored in the target blockchain, the converted document submitted by the user is authenticated once.

[0028] A second aspect of an embodiment of the present invention provides an electronic document storage device, comprising:

[0029] A data acquisition module is used to receive a document storage request from a user, wherein the document storage request includes an original electronic document;

[0030] A primary evidence storage module, used to call the evidence storage interface of the target blockchain, store the original electronic document once, and obtain the primary evidence storage result of the original electronic document;

[0031] A document conversion module, used to write the primary evidence storage result back to the original electronic document to obtain a conversion document corresponding to the original electronic document;

[0032] The secondary evidence storage module is used to call the evidence storage interface of the target blockchain to perform secondary evidence storage on the converted document.

[0033] In a possible implementation, the electronic document storage device further includes:

[0034] Document verification module;

[0035] The document verification module is used to receive a document verification request sent by a user through a smart terminal, wherein the document verification request includes a primary evidence storage result held by the user, and the primary evidence storage result held by the user is obtained by scanning a code of a converted document held by the user through the smart terminal;

[0036] Verify the converted document held by the user based on the primary evidence stored by the user;

[0037] Alternatively, the document verification module is used to receive a document verification request sent by a user through a web page, wherein the document verification request includes a converted document submitted by the user through the web page;

[0038] Call the verification interface of the target blockchain to verify the conversion document submitted by the user;

[0039] If the converted document submitted by the user passes the primary verification, the primary evidence result in the converted document submitted by the user is extracted, and the converted document submitted by the user is verified for a second time based on the primary evidence result in the converted document submitted by the user;

[0040] Alternatively, the document verification module is used to receive a document verification request sent by a user through an application, wherein the document verification request includes a converted document submitted by the user through the application;

[0041] Extract the first-time evidence result from the conversion document submitted by the user;

[0042] The interactive interface of the target blockchain is called to verify the primary evidence result in the conversion document submitted by the user, and when the primary evidence result in the conversion document submitted by the user passes the verification, the original electronic document corresponding to the primary evidence result in the conversion document submitted by the user is returned to the user.

[0043] According to a third aspect of an embodiment of the present invention, a terminal device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned electronic document storage method when executing the computer program.

[0044] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned electronic document storage method are implemented.

[0045] The electronic document storage method, device and terminal device provided by the present invention have the following beneficial effects:

[0046] Different from the solution in the prior art that electronic documents are stored in the form of backup in one's own organization or on a rented server, the present invention realizes the storage of electronic documents based on blockchain. Blockchain is a new technical solution that integrates multiple technologies such as distributed network, encryption technology, smart contract, etc., and is an important part of the new generation of information technology. The present invention uses the characteristics of "decentralization and tamper-proof" of blockchain to solve the credibility problem of electronic document storage in the prior art, and also supports users to search, view and download blockchain electronic documents anytime and anywhere, thereby improving the efficiency of obtaining electronic documents. On this basis, the present invention also provides a secondary storage solution to further improve the credibility of electronic document storage. Moreover, based on the secondary storage, the present invention can distribute converted documents (rather than original electronic documents) to users when they obtain documents. Users can quickly verify and trace electronic documents based on the primary storage results in the converted documents, effectively improving the efficiency of electronic document verification. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 A schematic diagram of a process flow of an electronic document storage method provided by an embodiment of the present invention;

[0049] Figure 2A structural block diagram of an electronic document storage device provided by an embodiment of the present invention;

[0050] Figure 3 A schematic block diagram of a terminal device provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0051] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0052] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0053] Please refer to Figure 1 , Figure 1 A flowchart of an electronic document storage method provided by an embodiment of the present invention includes:

[0054] S101: Receive a document storage request from a user, where the document storage request includes an original electronic document.

[0055] The execution subject of the present method may be a terminal device or a server. In the present embodiment, the document evidence request may be directly input to the execution subject by the user through an input device, or may be sent to the execution subject by the user through a user terminal, which is not limited here.

[0056] In this embodiment, the document deposit request may also include the requester ID, the identifier of the original electronic document, other attribute information of the original electronic document, etc.

[0057] S102: Call the storage interface of the target blockchain to store the original electronic document once, and obtain a storage result of the original electronic document.

[0058] In this embodiment, the content of the primary storage includes but is not limited to the document content of the original electronic document, the hash value corresponding to the original electronic document, etc. The primary storage result of the original electronic document includes but is not limited to the hash value of the original electronic document, the storage transaction ID, the hash value / height / time of the transaction packaging block, etc.

[0059] S103: Writing the primary evidence storage result back to the original electronic document to obtain a converted document corresponding to the original electronic document.

[0060] In this embodiment, the primary storage result can be written back to the preset position of the original electronic document to obtain a converted document corresponding to the original electronic document. The preset position includes but is not limited to the starting position of the original electronic document, the ending position of the original electronic document, and other blank areas of the original electronic document.

[0061] In a possible implementation, a storage result is written back to the original electronic document to obtain a conversion document corresponding to the original electronic document, including:

[0062] Convert the result of a storage to generate readable information.

[0063] The readable information is written back to the original electronic document to obtain a converted document corresponding to the original electronic document.

[0064] The readable information may be a QR code or a character string.

[0065] S104: Call the target blockchain’s evidence storage interface to perform secondary evidence storage on the converted document.

[0066] In this embodiment, after the converted document is secondary stored, the secondary storage result may be returned to the user who submitted the document storage request, or the secondary storage result may be directly discarded.

[0067] In a possible implementation, if a document download request submitted by a user is received, the converted document corresponding to the document download request is returned to the user who submitted the document download request. The document download request includes a request document identifier, and the query interface of the target blockchain can be called according to the request document identifier to find the corresponding converted document and return it to the user who submitted the document download request.

[0068] From the above, it can be concluded that, different from the solution in the prior art that electronic documents are stored in the form of backup in one's own organization or on a rented server, the embodiment of the present invention realizes the storage of electronic documents based on blockchain. Blockchain is a new technical solution that integrates multiple technologies such as distributed network, encryption technology, and smart contracts. It is an important part of the new generation of information technology. The embodiment of the present invention utilizes the characteristics of "decentralization and tamper-proof" of blockchain, which not only solves the credibility problem of electronic document storage in the prior art, but also supports users to retrieve, view, and download blockchain electronic documents anytime and anywhere, thereby improving the efficiency of obtaining electronic documents. On this basis, the embodiment of the present invention also provides a secondary storage solution to further improve the credibility of electronic document storage. Moreover, based on the secondary storage, the embodiment of the present invention can distribute converted documents (rather than original electronic documents) to users when they obtain documents. Users can quickly verify and trace electronic documents based on the primary storage results in the converted documents, effectively improving the efficiency of electronic document verification.

[0069] In a first possible implementation, the electronic document storage method further includes:

[0070] A document verification request is received from a user via a smart terminal. The document verification request includes a one-time evidence storage result held by the user. The one-time evidence storage result held by the user is obtained by scanning a code of a converted document held by the user via the smart terminal.

[0071] The converted document held by the user is verified based on the result of a primary evidence storage held by the user.

[0072] Based on the above embodiment, this embodiment also provides a method for verifying the authenticity of an electronic document after it is stored. A user can read the converted document he holds through a smart terminal to determine the primary storage result of the converted document he holds. Then, the user can make a document verification request based on the primary storage result of the converted document he holds, so as to verify the converted document he holds.

[0073] In a possible specific implementation, the user can scan the readable information (which can be a QR code or a string) in the converted document held by the user through a smart terminal to obtain the one-time evidence result of the converted document held by the user (including but not limited to information such as block height / block hash value / transaction ID). Then the user makes a document verification request through a blockchain browser (the terminal where it is located corresponds to the execution subject of the embodiment of the present invention), queries the corresponding blocks and transactions in the one-time evidence information, checks whether there is an evidence of the converted document held by the user in the transaction (document hash value or all contents), and checks whether the transaction package block height and time are consistent with the one-time evidence result of the converted document held by the user. If they are consistent, it proves that the original electronic document of the converted document has been evidenced, which indicates that the converted document held by the user has passed the verification (that is, the one-time evidence result input by the user can be used to determine whether the converted document held by the user has passed the verification). This method is based on the one-time evidence result verification and can be applied to the verification of electronic documents / paper documents. The characteristic is to scan the readable information in the converted document.

[0074] Among them, after confirming that the converted document held by the user has passed the authentication, the corresponding original electronic document can also be returned to the user.

[0075] Among them, the corresponding block information and transaction information can also be directly returned to the user based on the one-time evidence storage result held by the user, and the user can perform manual comparison to realize document verification, which is not limited here.

[0076] In a second possible implementation, the electronic document storage method further includes:

[0077] A document verification request sent by a user through a web page is received, where the document verification request includes a converted document submitted by the user through the web page.

[0078] Call the verification interface of the target blockchain to verify the conversion document submitted by the user.

[0079] If the converted document submitted by the user passes the first verification, the first evidence result in the converted document submitted by the user is extracted, and the converted document submitted by the user is verified for a second time based on the first evidence result in the converted document submitted by the user.

[0080] Based on the above embodiments, this embodiment also provides a method for verifying the authenticity of an electronic document after it is stored, that is, the user can directly submit the converted document he holds on the document verification web page, and the system (corresponding to the execution entity in this solution) will automatically perform a second verification on it.

[0081] In a possible specific implementation, the user can submit the converted document held by the user to the system through the document verification web page. The system calls the verification interface of the target blockchain to verify the converted document submitted by the user, that is, to verify whether the converted document held by the user has been stored. If it has been stored, the first verification is passed (that is, it is confirmed that the converted document is a document that has been stored twice and has not been tampered with). If it has not been stored, it means that the converted document held by the user is a forged document. If the first verification is passed, the first storage result in the converted document submitted by the user is extracted, and the storage information of the first storage result in the converted document submitted by the user is checked to see if it is correct. If it is correct, the second verification is passed (that is, it is confirmed that the corresponding original document is a document that has been stored once), indicating that the converted document held by the user is compliant.

[0082] Among them, in a possible implementation method, calling the verification interface of the target blockchain to verify the conversion document submitted by the user, including:

[0083] Computes the hash value of the transformed document submitted by the user.

[0084] Call the verification interface of the target blockchain to determine whether the hash value has been stored in the target blockchain.

[0085] If the hash value has been stored in the target blockchain, the converted document submitted by the user will be verified once.

[0086] In a third possible implementation, the electronic document storage method further includes:

[0087] A document verification request is received from a user through an application, where the document verification request includes a converted document submitted by the user through the application.

[0088] Extract the first-time notarization result from the conversion document submitted by the user.

[0089] The interactive interface of the target blockchain is called to verify the primary evidence result in the conversion document submitted by the user, and when the primary evidence result in the conversion document submitted by the user passes the verification, the original electronic document corresponding to the primary evidence result in the conversion document submitted by the user is returned to the user.

[0090] On the basis of the above-mentioned embodiments, this embodiment also provides a method for verifying the authenticity of an electronic document after it is stored. That is, under the premise that the document security requirements are not high, the original electronic document corresponding to the primary storage result in the converted document submitted by the user can be directly returned to the user for self-verification.

[0091] In a possible specific implementation, a user can scan the readable information (QR code or character string) in the converted document (electronic document or printed copy) held by the user through the WeChat applet or other application. The WeChat applet or other application automatically submits the primary evidence result corresponding to the readable information to the background system (which may correspond to the execution subject in the embodiment of the present invention). After receiving the primary evidence result, the interactive interface of the target blockchain is called to verify the primary evidence result in the converted document submitted by the user (that is, check whether the specified document information is stored in a specific block / transaction). If the verification is successful, the corresponding original electronic document is obtained according to the primary evidence information and returned to the user.

[0092] In summary, the secondary evidence storage method and verification method provided by the embodiments of the present invention support users to distribute, view, and verify the stored result documents in a variety of ways, and a variety of verification means (corresponding to verifications under different permissions / scenarios, among which the first possible implementation method corresponds to verification by the operator, the second possible implementation method corresponds to verification by an independent third party, and the third possible implementation method corresponds to manual verification by the holder) can verify each other, thereby effectively solving the verification problem after traditional document distribution and having a wider range of applications.

[0093] Corresponding to the electronic document storage method of the above embodiment, Figure 2 This is a structural block diagram of an electronic document storage device provided by an embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown. Figure 2 The electronic document storage device 20 includes: a data acquisition module 21, a primary storage module 22, a document conversion module 23, and a secondary storage module 24.

[0094] The data acquisition module 21 is used to receive a document storage request from a user, where the document storage request includes an original electronic document.

[0095] The one-time evidence storage module 22 is used to call the evidence storage interface of the target blockchain, store the original electronic document once, and obtain the one-time evidence storage result of the original electronic document.

[0096] The document conversion module 23 is used to write the primary evidence storage result back to the original electronic document to obtain a conversion document corresponding to the original electronic document.

[0097] The secondary evidence storage module 24 is used to call the evidence storage interface of the target blockchain to perform secondary evidence storage on the converted document.

[0098] In a possible implementation, the electronic document storage device 20 further includes:

[0099] Document verification module 25.

[0100] The document verification module 25 is used to receive a document verification request sent by a user through a smart terminal. The document verification request includes a primary evidence storage result held by the user. The primary evidence storage result held by the user is obtained by scanning a code of the converted document held by the user through the smart terminal.

[0101] Verify the converted document held by the user based on the primary evidence stored by the user;

[0102] Alternatively, the document verification module 25 is used to receive a document verification request sent by a user through a web page, where the document verification request includes a converted document submitted by the user through the web page;

[0103] Call the verification interface of the target blockchain to verify the conversion document submitted by the user;

[0104] If the converted document submitted by the user passes the primary verification, the primary evidence result in the converted document submitted by the user is extracted, and the converted document submitted by the user is verified for a second time based on the primary evidence result in the converted document submitted by the user;

[0105] Alternatively, the document verification module 25 is used to receive a document verification request sent by a user through an application, where the document verification request includes a converted document submitted by the user through the application;

[0106] Extract the first-time evidence result from the conversion document submitted by the user;

[0107] The interactive interface of the target blockchain is called to verify the primary evidence result in the conversion document submitted by the user, and when the primary evidence result in the conversion document submitted by the user passes the verification, the original electronic document corresponding to the primary evidence result in the conversion document submitted by the user is returned to the user.

[0108] In a possible implementation, the document conversion module 23 is specifically used for:

[0109] Convert the result of a storage to generate readable information.

[0110] The readable information is written back to the original electronic document to obtain a converted document corresponding to the original electronic document.

[0111] In a possible implementation, the document verification module 25 is specifically used for:

[0112] Computes the hash value of the transformed document submitted by the user.

[0113] Call the verification interface of the target blockchain to determine whether the hash value has been stored in the target blockchain.

[0114] If the hash value has been stored in the target blockchain, the converted document submitted by the user will be verified once.

[0115] See also Figure 3 , Figure 3 A schematic block diagram of a terminal device provided by an embodiment of the present invention. Figure 3 The terminal 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to perform the following operations to perform the functions of the modules / units in the above-mentioned device embodiments, such as Figure 2 The functions of modules 21 to 25 are shown.

[0116] It should be understood that in the embodiment of the present invention, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0117] The input device 302 may include a touch panel, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.

[0118] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.

[0119] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiment of the present invention can execute the implementation methods described in the first and second embodiments of the electronic document storage method provided in the embodiment of the present invention, and can also execute the implementation methods of the terminal described in the embodiment of the present invention, which will not be repeated here.

[0120] In another embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, wherein the program instructions are executed by a processor to implement all or part of the processes in the above-mentioned embodiment method, and may also be completed by instructing the relevant hardware through the computer program, wherein the computer program may be stored in a computer-readable storage medium, and wherein the computer program may be executed by the processor to implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the contents contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signal and telecommunication signal.

[0121] The computer-readable storage medium may be an internal storage unit of the terminal of any of the foregoing embodiments, such as a hard disk or memory of the terminal. The computer-readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0122] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminals and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0124] In the several embodiments provided in the present application, it should be understood that the disclosed terminals and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0126] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0127] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for storing electronic documents, characterized in that: include: Receiving a document storage request from a user, wherein the document storage request includes an original electronic document; Calling the storage interface of the target blockchain to store the original electronic document once, and obtaining a storage result of the original electronic document; Writing the primary evidence storage result back to the original electronic document to obtain a converted document corresponding to the original electronic document; Call the target blockchain’s notarization interface to perform secondary notarization on the converted document; The step of writing the primary evidence storage result back to the original electronic document to obtain a converted document corresponding to the original electronic document includes: Converting the primary evidence storage result to generate readable information; Writing the readable information back to the original electronic document to obtain a converted document corresponding to the original electronic document; The method further comprises: Receiving a document verification request sent by a user through a web page, wherein the document verification request includes a converted document submitted by the user through the web page; Call the verification interface of the target blockchain to verify the conversion document submitted by the user; If the converted document submitted by the user passes the first verification, the first evidence result in the converted document submitted by the user is extracted, and the converted document submitted by the user is verified for a second time based on the first evidence result in the converted document submitted by the user.

2. The electronic document storage method according to claim 1, characterized in that: The verification interface of the target blockchain is called to verify the converted document submitted by the user, including: Calculate the hash value of the transformed document submitted by the user; Call the verification interface of the target blockchain to determine whether the hash value has been stored in the target blockchain; If the hash value has been stored in the target blockchain, the converted document submitted by the user is authenticated once.

3. An electronic document storage device, characterized in that: include: A data acquisition module is used to receive a document storage request from a user, wherein the document storage request includes an original electronic document; A primary evidence storage module, used to call the evidence storage interface of the target blockchain, store the original electronic document once, and obtain the primary evidence storage result of the original electronic document; A document conversion module, used to write the primary evidence storage result back to the original electronic document to obtain a conversion document corresponding to the original electronic document; A secondary evidence storage module is used to call the evidence storage interface of the target blockchain to perform secondary evidence storage on the converted document; Wherein, the document conversion module is specifically used for: Converting the primary evidence storage result to generate readable information; Writing the readable information back to the original electronic document to obtain a converted document corresponding to the original electronic document; A document verification module, used to receive a document verification request sent by a user through a web page, wherein the document verification request includes a converted document submitted by the user through the web page; Call the verification interface of the target blockchain to verify the conversion document submitted by the user; If the converted document submitted by the user passes the first verification, the first evidence result in the converted document submitted by the user is extracted, and the converted document submitted by the user is verified for a second time based on the first evidence result in the converted document submitted by the user.

4. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 or 2 are implemented.

5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • A laboratory information service management system and a working method based on a block chain

    CN109191144A

  • Block chain-based data evidence storage method, data verification method and related devices

    CN110427774A

  • Storage method based on multi-block chain

    CN111767342A