Electronic file management method, device and system based on block chain

文档序号:1904482 发布日期:2021-11-30 浏览:2次 中文

阅读说明:本技术 基于区块链的电子档案管理方法、装置及系统 (Electronic file management method, device and system based on block chain ) 是由 朱春凤 李邦辉 李亚明 刘悦 于 2021-09-01 设计创作,主要内容包括:本发明提供一种基于区块链的电子档案管理方法、装置及系统,涉及金融领域和区块链技术领域。所述方法包括:接收用户端的电子档案存储请求,并根据所述电子档案存储请求生成对应的预准备消息;将所述预准备消息发送至除当前区块链节点外的其他区块链节点上,使所述除当前区块链节点外的其他区块链节点根据所述预准备消息生成对应的准备消息;对所述除当前区块链节点外的其他区块链节点的准备消息进行合法性验证;当合法性验证通过时,根据所述除当前区块链节点外的其他区块链节点发送的确认消息存储所述待存储的电子档案。本申请利用区块链进行档案存储,综合运用电子签名、智能合约等区块链技术,有效防止档案数据被篡改。(The invention provides an electronic file management method, device and system based on a block chain, and relates to the financial field and the technical field of the block chain. The method comprises the following steps: receiving an electronic archive storage request of a user side, and generating a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message; carrying out validity verification on the preparation messages of other block chain nodes except the current block chain node; and when the validity verification passes, storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node. The file data is effectively prevented from being tampered by utilizing the block chain to store the files and comprehensively utilizing the block chain technologies such as the electronic signature and the intelligent contract.)

1. An electronic archive management method based on a block chain is characterized by comprising the following steps:

receiving an electronic archive storage request of a user side, and generating a corresponding pre-preparation message according to the electronic archive storage request; the electronic archive storage request comprises an electronic archive to be stored;

sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message;

carrying out validity verification on the preparation messages of other block chain nodes except the current block chain node;

and when the validity verification passes, storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node.

2. The blockchain-based electronic archive management method according to claim 1, wherein the pre-preparation message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

generating a corresponding pre-preparation message according to the electronic archive storage request comprises:

allocating a serial number to the electronic file storage request;

generating a first abstract corresponding to the electronic archive storage request;

acquiring a first image batch number of the electronic file to be stored;

and integrating the electronic file storage request, the serial number, the first abstract and the first image batch number according to a preset first message format to obtain a preset message.

3. The blockchain-based electronic archive management method according to claim 2, wherein the preparation message includes: generating a node number of a block chain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request and a second image batch number of the electronic archive to be stored;

the validity verification of the preparation messages of the other blockchain nodes except the current blockchain node comprises the following steps:

verifying whether the signature of the prepare message is correct;

verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

verifying whether the serial number is between a preset upper limit and a preset lower limit; and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

4. The blockchain-based electronic archive management method according to claim 3, further comprising, after the validity verification is passed:

sending confirmation messages to other block chain nodes except the current block chain node; and

and receiving the confirmation messages of the other block link points except the current block link point.

5. An electronic archive management method based on a block chain is characterized by comprising the following steps:

carrying out validity verification on a received pre-prepared message sent by a block chain node corresponding to the official document subsystem; the block chain link points corresponding to the official document subsystem generate the pre-preparation message according to the received electronic file storage request of the user side; the electronic archive storage request comprises an electronic archive to be stored;

when the validity of the pre-preparation message passes verification, generating a corresponding preparation message according to the pre-preparation message, and sending the preparation message to other block chain nodes except the current block chain node;

carrying out validity verification on the preparation messages of other block chain nodes except the current block chain node;

and when the validity verification passes, storing the electronic file to be stored according to confirmation messages sent by other block chain nodes except the current block chain node.

6. The blockchain-based electronic archive management method according to claim 5, wherein the pre-preparation message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

the validity verification of the pre-prepared message comprises:

verifying whether the signature of the pre-prepared message is correct;

verifying whether the first abstract is consistent with the abstract of the electronic file to be stored;

verifying whether the first image batch number is consistent with the image batch number of the electronic file to be stored;

and verifying whether the serial number is between a preset upper limit and a preset lower limit.

7. The blockchain-based electronic archive management method according to claim 6, wherein the prepare message includes: generating a node number of a blockchain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request, and a second image batch number of the electronic archive to be stored

The validity verification of the preparation messages of other blockchain nodes except the current blockchain node comprises:

verifying whether the signature of the prepare message is correct;

verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

verifying whether the serial number is between a preset upper limit and a preset lower limit; and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

8. The blockchain-based electronic archive management method according to claim 7, further comprising, after the validity verification of the preparation message for the blockchain nodes other than the current blockchain node passes:

sending confirmation messages to other block chain nodes except the current block chain node; and

and receiving the confirmation messages of the other block link points except the current block link point.

9. An electronic archive management method based on a block chain is characterized by comprising the following steps:

a first block chain link point receives an electronic archive storage request of a user terminal and generates a corresponding pre-preparation message according to the electronic archive storage request; the electronic archive storage request comprises an electronic archive to be stored;

the first block link node sending the pre-preparation message to a plurality of second block link nodes;

the plurality of second block chain link points respectively carry out validity verification on the pre-prepared message;

when the validity of the pre-preparation message passes verification, the second block chain link points respectively generate corresponding preparation messages according to the pre-preparation message, and send the preparation messages to the first block chain link points and other second block chain nodes except the current second block chain link points;

the first block link point and the plurality of second block link points perform validity verification on the received preparation message;

and when the validity of the received preparation message is verified, storing the electronic file to be stored according to the first block chain link point and confirmation messages sent by other second block chain link points except the current second block chain link point.

10. An electronic archive management device based on a block chain, comprising:

the electronic archive storage request receiving module is used for receiving an electronic archive storage request of a user side; the electronic archive storage request comprises an electronic archive to be stored;

the pre-preparation message generation module is used for generating a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message;

the validity verification module is used for verifying the validity of the preparation messages of other block chain nodes except the current block chain node;

and the electronic file storage module is used for storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node when the validity verification passes.

11. The blockchain-based electronic archive management device according to claim 10, wherein the prepare message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

the pre-preparation message generation module includes:

the serial number generating unit is used for distributing a serial number for the electronic archive storage request;

the abstract generating unit is used for generating a first abstract corresponding to the electronic archive storage request;

the image batch number generating unit is used for acquiring a first image batch number of the electronic file to be stored;

and the pre-preparation message generating unit is used for integrating the electronic archive storage request, the serial number, the first abstract and the first image batch number according to a preset first message format to obtain a pre-preparation message.

12. The blockchain-based electronic archive management device according to claim 11, wherein the prepare message includes: generating a node number of a block chain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request and a second image batch number of the electronic archive to be stored;

the validity verification module is specifically configured to:

verifying whether the signature of the prepare message is correct;

verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

verifying whether the serial number is between a preset upper limit and a preset lower limit; and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

13. An electronic archive management device based on a block chain, comprising:

the system comprises a pre-prepared message verification module, a document subsystem and a document management module, wherein the pre-prepared message verification module is used for verifying the validity of a received pre-prepared message sent by a block chain node corresponding to the document subsystem; the block chain link points corresponding to the official document subsystem generate the pre-preparation message according to the received electronic file storage request of the user side; the electronic archive storage request comprises an electronic archive to be stored;

the preparation message generation module is used for generating a corresponding preparation message according to the preparation message when the validity of the preparation message passes the verification, and sending the preparation message to other block chain nodes except the current block chain node;

the prepared message verification module is used for verifying the validity of the prepared messages of other block chain nodes except the current block chain node;

and the electronic file storage module is used for storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node when the validity verification passes.

14. The blockchain-based electronic archive management device according to claim 13, wherein the prepare message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

the pre-prepared message verification module is specifically configured to:

verifying whether the signature of the pre-prepared message is correct;

verifying whether the first abstract is consistent with the abstract of the electronic file to be stored;

verifying whether the first image batch number is consistent with the image batch number of the electronic file to be stored;

and verifying whether the serial number is between a preset upper limit and a preset lower limit.

15. The blockchain-based electronic archive management device according to claim 14, wherein the prepare message includes: generating a node number of a block chain node of a block chain link point of the preparation message, a sequence number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request, and a second image batch number of the electronic archive to be stored

The preparation message verification module is specifically configured to:

verifying whether the signature of the prepare message is correct;

verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

verifying whether the serial number is between a preset upper limit and a preset lower limit; and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

16. An electronic file management system based on a block chain is characterized by comprising a first device and a plurality of second devices;

the first device comprises:

the electronic archive storage request receiving module is used for receiving an electronic archive storage request of a user side; the electronic archive storage request comprises an electronic archive to be stored;

the pre-preparation message generation module is used for generating a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to the plurality of second devices, so that the plurality of second devices generate corresponding preparation messages according to the pre-preparation message;

a validity verifying module, configured to verify validity of the preparation messages sent by the plurality of second devices;

the first electronic archive storage module is used for storing the electronic archives to be stored according to the confirmation messages sent by the plurality of second devices when the validity verification passes;

the plurality of second devices respectively include:

the pre-prepared message verification module is used for verifying the validity of the pre-prepared message sent by the first device;

the preparation message generating module is used for generating a corresponding preparation message according to the preparation message when the validity of the preparation message passes the verification, and sending the preparation message to the first device and other second devices except the current second device;

the prepared message verification module is used for verifying the validity of the received prepared message;

and the second electronic archive storage module is used for storing the electronic archive to be stored according to the confirmation messages sent by the first device and other second devices except the current second device when the validity of the received preparation message is verified.

Technical Field

The present disclosure relates to the field of blockchain technology and financial technology, and more particularly, to a method, an apparatus, and a system for managing electronic files based on blockchains.

Background

Archive management is an important basic and systematic work of banks, and plays an irreplaceable supporting and guaranteeing role in the aspects of history recording, rights and interests maintenance, asset safety guarantee, financial risk prevention and the like. With the remarkable acceleration of global informatization process, especially in the era background of global digital transformation, the file working objects are migrating from traditional files based on paper to electronic files, and the file management work enters a new stage of electronic and networked development. Archive mixization, data quantization and demand personalization become a new normal state of archive management in a new period, and for electronic archives, the electronic archives have the characteristics of being easy to lose, easy to change, dependent on metadata, separable type of information and carriers and the like, and along with the generation of a large number of electronic archives, the receiving, long-term storage and safety management of the archives face huge challenges.

Disclosure of Invention

The application provides an electronic archive management method based on a block chain, and relates to the technical field of the block chain and the financial field. The block chain-based electronic archive management method comprises the following steps:

receiving an electronic archive storage request of a user side, and generating a corresponding pre-preparation message according to the electronic archive storage request; the electronic archive storage request comprises an electronic archive to be stored;

sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message;

carrying out validity verification on the preparation messages of other block chain nodes except the current block chain node;

and when the validity verification passes, storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node.

In another embodiment, the present application further provides another block chain-based electronic archive management method, including:

carrying out validity verification on a received pre-prepared message sent by a block chain node corresponding to the official document subsystem; the block chain link points corresponding to the official document subsystem generate the pre-preparation message according to the received electronic file storage request of the user side; the electronic archive storage request comprises an electronic archive to be stored;

when the validity of the pre-preparation message passes verification, generating a corresponding preparation message according to the pre-preparation message, and sending the preparation message to other block chain nodes except the current block chain node;

carrying out validity verification on the preparation messages of other block chain nodes except the current block chain node;

and when the validity verification passes, storing the electronic file to be stored according to confirmation messages sent by other block chain nodes except the current block chain node.

In another embodiment, the present application further provides another block chain-based electronic archive management method, including:

a first block chain link point receives an electronic archive storage request of a user terminal and generates a corresponding pre-preparation message according to the electronic archive storage request; the electronic archive storage request comprises an electronic archive to be stored;

the first block link node sending the pre-preparation message to a plurality of second block link nodes;

the plurality of second block chain link points respectively carry out validity verification on the pre-prepared message;

when the validity of the pre-preparation message passes verification, the second block chain link points respectively generate corresponding preparation messages according to the pre-preparation message, and send the preparation messages to the first block chain link points and other second block chain nodes except the current second block chain link points;

the first block link point and the plurality of second block link points perform validity verification on the received preparation message;

and when the validity of the received preparation message is verified, storing the electronic file to be stored according to the first block chain link point and confirmation messages sent by other second block chain link points except the current second block chain link point.

In another embodiment, the present application further provides an electronic archive management apparatus based on a block chain, including:

the electronic archive storage request receiving module is used for receiving an electronic archive storage request of a user side; the electronic archive storage request comprises an electronic archive to be stored;

the pre-preparation message generation module is used for generating a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message;

the validity verification module is used for verifying the validity of the preparation messages of other block chain nodes except the current block chain node;

and the electronic file storage module is used for storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node when the validity verification passes.

In another embodiment, the present application further provides another block chain-based electronic archive management apparatus, including:

the system comprises a pre-prepared message verification module, a document subsystem and a document management module, wherein the pre-prepared message verification module is used for verifying the validity of a received pre-prepared message sent by a block chain node corresponding to the document subsystem; the block chain link points corresponding to the official document subsystem generate the pre-preparation message according to the received electronic file storage request of the user side; the electronic archive storage request comprises an electronic archive to be stored;

the preparation message generation module is used for generating a corresponding preparation message according to the preparation message when the validity of the preparation message passes the verification, and sending the preparation message to other block chain nodes except the current block chain node;

the prepared message verification module is used for verifying the validity of the prepared messages of other block chain nodes except the current block chain node;

and the electronic file storage module is used for storing the electronic file to be stored according to the confirmation messages sent by the other block chain nodes except the current block chain node when the validity verification passes.

In another embodiment, the present application further provides an electronic archive management system based on a block chain, including a first device and a plurality of second devices;

the first device comprises:

the electronic archive storage request receiving module is used for receiving an electronic archive storage request of a user side; the electronic archive storage request comprises an electronic archive to be stored;

the pre-preparation message generation module is used for generating a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to the plurality of second devices, so that the plurality of second devices generate corresponding preparation messages according to the pre-preparation message;

a validity verifying module, configured to verify validity of the preparation messages sent by the plurality of second devices;

the first electronic archive storage module is used for storing the electronic archives to be stored according to the confirmation messages sent by the plurality of second devices when the validity verification passes;

the plurality of second devices respectively include:

the pre-prepared message verification module is used for verifying the validity of the pre-prepared message sent by the first device;

the preparation message generating module is used for generating a corresponding preparation message according to the preparation message when the validity of the preparation message passes the verification, and sending the preparation message to the first device and other second devices except the current second device;

the prepared message verification module is used for verifying the validity of the received prepared message;

and the second electronic archive storage module is used for storing the electronic archive to be stored according to the confirmation messages sent by the first device and other second devices except the current second device when the validity of the received preparation message is verified.

According to the block chain-based electronic file management method, device and system, file storage is performed by using the block chain, block chain technologies such as electronic signatures and intelligent contracts are comprehensively applied, and a plurality of service subsystems are linked for common verification, so that safe storage of files is realized, and file data is effectively prevented from being tampered.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1A is a schematic diagram of a banking system.

FIG. 1B is a block chain structure diagram of an electronic file corresponding to a banking system.

FIG. 1C is a block chain structure diagram of another electronic file corresponding to the banking system.

FIG. 2 is a block chain-based electronic archive management method according to the present application.

FIG. 3 is another diagram of a block chain-based electronic archive management method.

FIG. 4 is another diagram of a block chain-based electronic archive management method.

FIG. 5 is another diagram of a block chain-based electronic archive management method.

FIG. 6 is another diagram of a block chain-based electronic archive management method.

FIG. 7 is another diagram of a block chain-based electronic archive management method.

FIG. 8 is another diagram of a block chain-based electronic archive management method.

FIG. 9 is another diagram of a block chain-based electronic archive management method.

FIG. 10 is a diagram of another block chain-based method for electronic archive management.

FIG. 11 is a block chain based electronic archive management device according to the present application.

FIG. 12 is another diagram of an electronic archive management device based on a block chain.

FIG. 13 is another diagram of an electronic archive management device based on a block chain.

FIG. 14 is a block chain based electronic archive management system of the present application.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In order to more clearly describe the block chain-based electronic file management method of the present application, the present application first describes an application scenario of the block chain-based electronic file management method, so as to facilitate understanding of the public.

The block chain-based electronic file management method can be applied to various business systems, and is particularly suitable for banking business systems. As shown in fig. 1A and 1B, the banking system includes business subsystems such as a document subsystem, a financial management subsystem, a personal loan subsystem, and a legal loan subsystem, each of which corresponds to a block chain node, and data stored in each of the business subsystems realizes consensus through a block chain. For each block chain node, the block chain node can receive an electronic file operation request from a corresponding service subsystem, and complete management operations such as handover, utilization, destruction and the like of the electronic file according to the operation request.

In the banking system, only the document subsystem has the authority to send the storage request of the electronic file, so the storage operation of the electronic file can be realized only by the block link point 1 corresponding to the document subsystem. In other words, the electronic file storage request can only be sent to its corresponding block chain node 1 through the document subsystem. Other operations such as utilization and destruction of the electronic file can be realized through the block chain node 2 corresponding to the financial management subsystem, the block chain node 3 corresponding to the personal loan subsystem and the block chain node 4 corresponding to the legal loan subsystem.

The electronic archive storage request sent by the official document subsystem comprises the electronic archive to be stored, the electronic archive to be stored is the corresponding official document generated by integrating the files of other business subsystems, and the official document subsystem is only used for storing the official document.

The application firstly provides an electronic file management method based on a block chain, and the method can be realized by all block chain link points in the electronic file block chain. Referring to fig. 1A, fig. 1B and fig. 2, the method specifically includes the following steps S201 to S206:

in step S201, a first block link node receives an electronic archive storage request from a user side, and generates a corresponding pre-preparation message according to the electronic archive storage request.

Specifically, in this embodiment, the first block link node is a block link node 1 corresponding to the document subsystem. The electronic file storage request is sent to the first block chain node by the user side. The electronic archive storage request comprises an electronic archive to be stored, and the electronic archive comprises at least one file of the service subsystem.

The first block chain link point generates a corresponding PRE-preparation message according to the electronic archive storage request, wherein the format of the PRE-preparation message is preset and specifically is < < PRE-PREPARE, v, n, d >, m >, and the 'PRE-PREPARE' represents that the message is the PRE-preparation message; "v" is an image batch number of the electronic file to be stored, which is obtained by the first block link point, and the image batch number is a number corresponding to the electronic file to be stored; "n" is a serial number assigned by the first block chain node to the electronic archive storage request, and the serial number n is generated by the first block chain node according to an archive serial number generation rule of the national archive office and is assigned to the electronic archive storage request; "d" is the summary of the electronic file storage request generated by the first block link point, and the summary includes the source identifier of the electronic file to be stored in the electronic file storage request; and m is the electronic archive storage request sent by the user side.

After the pre-preparation message is generated, the first blockchain node also stores the pre-preparation message in the node.

Step S202, the first blockchain node sends the pre-preparation message to a plurality of second blockchain nodes.

In this embodiment, the plurality of second block link points at least include a block link point 2 corresponding to the financial management subsystem, a block link node 3 corresponding to the personal loan subsystem, and a block link point 4 corresponding to the legal loan subsystem. In practical applications, the number of the second blockchain nodes may also be determined according to the number of the service subsystems actually included in the service system, and here, only three second blockchain nodes are taken as an example for illustration, which is not a limitation of the present application.

After the first block link node generates the pre-preparation message, the pre-preparation message is sent to a plurality of second block link nodes.

It should be noted that the first block chain node and the second block chain node in all embodiments of the present application are not particularly limited to a certain block chain node, but are distinguished according to whether the block chain node has a function of receiving an electronic file storage request, the block chain node that can receive the electronic file storage request is the first block chain node, and the block chain node that cannot receive the electronic file storage request is the second block chain node, which depends on the characteristics of the service subsystem corresponding to the block chain node, and the block chain nodes 1 to 4 in this embodiment are themselves equivalent and have no hierarchical division.

Step S203, the plurality of second block link points perform validity verification on the pre-preparation message respectively.

Specifically, after receiving the pre-preparation message, the plurality of second block link nodes may perform validity verification on the pre-preparation message sent by the first block link node, where the validity verification of the pre-preparation message at least includes:

verifying whether the signature of the pre-prepared message is correct;

verifying whether the abstract in the pre-preparation message is consistent with the abstract of the electronic file to be stored;

verifying whether the image batch number in the pre-preparation message is consistent with the image batch number of the electronic file to be stored;

verifying whether the sequence number in the pre-preparation message is positioned between an upper limit H (high water level) and a lower limit H (low water level) of a preset waterline (watermark); the water line has the significance of preventing a failed block chain link point from consuming serial number space by using a large serial number, and avoids random distribution of the serial number by setting a low water level H and a high water level H.

When the validity of the pre-preparation message is verified, the plurality of second block link points store the pre-preparation message in a message log of the node, and execute step S204; otherwise, the plurality of second block chain nodes return validity verification failure to the first block chain link point.

Step S204, when the validity of the pre-preparation message is verified, the plurality of second block link points respectively generate corresponding preparation messages according to the pre-preparation message, and send the preparation messages to the first block link points and other second block link nodes except the current second block link point.

Specifically, the preparation message is generated by each second block chain node according to a preset preparation message format < PREPARE, v, n, d, i >, wherein "PREPARE" represents that the message is a preparation message; "v" is the image batch number of the electronic file to be stored, which is obtained by the second block link point; "n" is a serial number assigned by the first blockchain node to the electronic archive storage request; "d" is the summary of the electronic archive storage request generated by the second block link point; "i" is the node number of the second block chain node, for example, the node number of the block chain link point 2 corresponding to the financial management subsystem is 2, and the node number of the block chain node 3 corresponding to the personal loan subsystem is 3.

After each second block link point generates a preparation message, the preparation message is sent to the first block link point and other second block link nodes except the current second block link point. For example, after the preparation message is generated by the block link point 2 (second block link node) corresponding to the financial management subsystem, the preparation message is sent to the block link point 1 (first block link node) corresponding to the official document subsystem, the block link node 3 (second block link node) corresponding to the personal loan subsystem, and the block link point 4 (second block link node) corresponding to the legal loan subsystem. The same applies to the other second block link points, and will not be described herein again.

It should be noted that the preparation message is generated only by the second blockchain nodes, the first blockchain node (i.e., the blockchain node 1 corresponding to the document subsystem) does not generate the preparation message, and the first blockchain node only receives the preparation message sent by each second blockchain node.

In step S205, the first block link point and the plurality of second block link points perform validity verification on the received preparation message.

Specifically, also taking the example of including one first blockchain node and three second blockchain nodes, for the first blockchain node, it receives the preparation messages sent by the three second blockchain nodes; for each second blockchain node, it receives preparation messages of other two second blockchain nodes except the local node.

The first block chain node and each second block chain node perform validity verification on all received preparation messages, wherein the validity verification of the preparation messages at least comprises the following steps:

verifying whether the signature of the prepare message is correct;

verifying whether the image batch number in the preparation message is consistent with the image batch number of the electronic file to be stored;

verifying whether the sequence number in the preparation message is positioned between an upper limit H and a lower limit H of a preset waterline (watermark); and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

For each blockchain node (including the first blockchain node and each second blockchain node), when the validity of all the received preparation messages is verified, the validity of the preparation messages is verified; otherwise, if the validity of the preparation message is not verified, returning the preparation message to other blockchain nodes except the node to verify that the preparation message is not verified.

Step S206, when the validity of the received preparation message is verified, storing the electronic file to be stored according to the confirmation messages sent by the first block chain link point and other second block chain link points except the current second block chain link point.

Specifically, for each blockchain node (including the first blockchain node and the second blockchain nodes), when the validity of all the received preparation messages is verified, the blockchain node generates an acknowledgement message and sends the acknowledgement message to the first blockchain node and other second blockchain nodes except the current second blockchain node.

Similarly, taking the example that the node comprises one first block chain node and three second block chain nodes, after the first block chain node generates the confirmation message, the confirmation message is sent to the three second block chain nodes; and after the second block chain link point generates a confirmation message, sending the confirmation message to the first block chain node and the other two second block chain nodes.

And for each block chain node (including the first block chain node and each second block chain node), storing the electronic file to be stored after receiving the confirmation messages of all the block chain link nodes except the node. At this point, the block link point completes the storage operation of the electronic file.

It should be noted that, for each blockchain node (including the first blockchain node and the second blockchain nodes), when the validity verification of the prepared message fails, the confirmation message is not generated. Assuming that the first block link node is taken as an example, assuming that the first block link node does not generate the acknowledgement message, the acknowledgement message cannot be sent to the second block link node, and at this time, the acknowledgement message received by the second block link node does not contain the acknowledgement message of the first block link node, and the storage of the electronic file cannot be executed; meanwhile, the first block link point does not execute the storage of the electronic file. That is, for each blockchain node (including the first blockchain node and the second blockchain nodes), the storage operation of the electronic archive is performed on the premise that the node verifies the preparation message (or the node generates the acknowledgement message), and meanwhile, the acknowledgement messages of all other blockchain nodes except the node are also received (or all other blockchain nodes except the node also generate the acknowledgement message and successfully send the acknowledgement message). In other words, as long as one of the blockchain nodes fails to verify the prepare message (or no acknowledgement message is generated or sent successfully), all blockchain nodes (including the first blockchain node and the second blockchain nodes) do not perform the storage of the electronic archive.

In this embodiment, after steps S201 to S206 are completed, the electronic file to be stored is stored in the block chain node corresponding to each service subsystem. At this time, the electronic archive management system can be connected with any service subsystem in the service system, and the corresponding electronic archive is acquired from the block chain node corresponding to the service subsystem and stored, so as to complete the archiving of the electronic archive.

In another embodiment, the electronic file management system does not need to obtain the electronic file from the block chain nodes corresponding to other service subsystems, as shown in fig. 1C, the electronic file management system has a block chain node 5 corresponding to the electronic file management system, and the block chain node 5 is connected to the block chain nodes 1-4 corresponding to each service subsystem. When steps S201 to S206 in the above embodiment are performed, the block chain node 5 is used as one of the second block link points, and the corresponding operation of the second block link point is completed. After the execution is finished, the block link point 5 also stores the electronic file with storage.

Because the block chain node 5 is the block chain link point corresponding to the electronic file management system, the electronic file management system does not need to acquire the electronic file from the block chain nodes of other business subsystems, and can directly acquire the electronic file from the block chain link point corresponding to the electronic file management system to complete archiving.

It should also be noted that, in this embodiment, the first block chain node and the second block chain node are not specifically referred to a certain block chain node, but are distinguished according to whether the block chain node has a function of receiving an electronic archive storage request, where the block chain node that can receive the electronic archive storage request is the first block chain node, and the block chain node that cannot receive the electronic archive storage request is the second block chain node, which depends on the characteristics of the service subsystem corresponding to the block chain node. The block link points 1 to 5 in this embodiment are equally equal and have no hierarchical division.

The foregoing embodiment describes, in combination with a schematic structural diagram of a block chain node, an electronic file management method based on a block chain provided in the present application, where the block chain is used to store an electronic file, and block chain technologies such as an electronic signature and an intelligent contract are comprehensively applied to link block chain nodes corresponding to multiple service subsystems for joint verification, so as to implement safe storage of the file and effectively prevent file data from being tampered.

In another embodiment, the present application describes a block chain based electronic archive management method from the perspective of a first block chain node, please refer to fig. 1A, fig. 1B and fig. 3, and the method includes steps S301 to S304:

step S301, receiving an electronic archive storage request of a user side, and generating a corresponding pre-preparation message according to the electronic archive storage request; and the electronic archive storage request comprises the electronic archive to be stored.

The execution subject of this embodiment may be a first block link node, i.e. a block link node 1 corresponding to the document subsystem of the present application.

The first block link node receives an electronic archive storage request of the user end, and generates a corresponding pre-preparation message according to the electronic archive storage request, where a format of the pre-preparation message and information included in the pre-preparation message may refer to related description of step S201 in the foregoing embodiment, and details are not repeated here.

Step S302, sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message.

Specifically, the other block link nodes except the current block link node in step S302 refer to the second block link node, that is, the block link node 2 corresponding to the financial management subsystem, the block link node 3 corresponding to the personal loan subsystem, and the block link node 4 corresponding to the corporate loan subsystem. Therefore, step S302 sends the generated pre-preparation message to each second blockchain node for the first blockchain node.

It should be noted that, the description here is only given by taking the example including one first blockchain node and three second blockchain nodes as an example, and the present application is not limited thereto.

Step S303, performing validity verification on the preparation messages of the other block link nodes except the current block link node.

Specifically, the first blockchain node receives preparation messages of other blockchain nodes (i.e., the second blockchain node in the present application) except for the current blockchain node, and performs validity verification on each received preparation message in turn. When the legality verification of all the prepared messages passes, the legality verification of the prepared messages passes; and when the validity verification of at least one of the preparation messages fails, the validity verification of the preparation message fails, and at the moment, the first block chain node returns the verification failure to each second block chain node.

For a specific verification step, reference may be made to the related description of step S205 in the foregoing embodiment, and details are not described herein again.

Step S304, when the validity of the preparation message passes the verification, the electronic file to be stored is stored according to the confirmation messages sent by the other block chain nodes except the current block chain node.

Specifically, when the validity of the preparation message is verified by the first blockchain, and the first blockchain link node receives an acknowledgement message sent by other blockchain nodes (i.e. the second blockchain node in the present application) except the current blockchain link node, the storage operation of the electronic file to be stored is performed.

When the validity verification of the first block chain on the preparation message is not passed or the confirmation information of at least one second block chain link point is not received, the first block chain link point does not execute the storage operation of the electronic file to be stored and returns error information to each second block chain link point.

In this embodiment, the method for managing an electronic file based on a block chain is described from the perspective of a first block chain node, mainly the steps executed by the first block chain node end are sorted, and for the steps that need to be executed by a second block chain node point, too much description is not provided in this embodiment, and specific reference may be made to the description in the following embodiments.

In one embodiment, as shown in fig. 4, the pre-preparation message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

step S301, receiving an electronic archive storage request from a user side, and generating a corresponding pre-preparation message according to the electronic archive storage request, specifically including steps S3011 to S3015:

step S3011, receive an electronic file storage request from a user.

In step S3012, a serial number is assigned to the electronic file storage request.

Specifically, the first block link point is generated according to the file serial number generation rule of the national file administration and is allocated to the electronic file storage request.

Step S3013, generate a first summary corresponding to the electronic archive storage request.

The first abstract comprises a source identifier of the electronic file to be stored in the electronic file storage request.

Step S3014, obtain the first image batch number of the electronic file to be stored.

The first image batch number is the image batch number of the electronic file to be stored.

Step S3015, the electronic archive storage request, the serial number, the first summary, and the first image batch number are integrated according to a preset first message format to obtain a pre-prepared message.

The format of the PRE-preparation message is < < PRE-PREPARE, v, n, d >, m >, "PRE-PREPARE" represents that the message is a PRE-preparation message, "v" is a first image batch number, "n" is a sequence number, "d" is a first summary, and "m" is the electronic file storage request sent by the user terminal.

In this embodiment, the execution sequence of step S3012, step S3013, and step S3014 is not necessarily limited to the above sequence, and step S3012, step S3013, and step S3014 are actually three parallel steps, and the execution sequence may be any sequence.

In another embodiment, as shown in fig. 5, the prepare message includes: generating a node number of a block chain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request and a second image batch number of the electronic archive to be stored;

step S303, performing validity verification on the preparation messages of the other block link nodes except the current block link node, including:

step S3031, verifying whether the signature of the preparation message is correct;

step S3032, verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

step S3033, verifying whether the serial number is between a preset upper limit and a preset lower limit; and

step S3034, verifying whether the digest, the image batch number, and the sequence number in the preparation message are consistent with the digest, the image batch number, and the sequence number in the received pre-preparation message.

Step S3031, step S3032, and step S3033 are to verify the validity of the information in the received preparation message by the first block link point pair, and step S3034 is to determine whether the first block link point pair preparation message and the pre-preparation message are consistent, that is, whether the preparation message and the pre-preparation message correspond to the same electronic file storage request.

In this embodiment, the execution sequence of step S3031, step S3032 and step S3033 is not necessarily limited to the above sequence, and step S3031, step S3032 and step S3033 are actually three parallel steps, and the execution sequence may be any sequence.

In an embodiment, as shown in fig. 6, after the validity of the prepared message is verified, before step S304, the method further includes:

step S305, sending confirmation information to other block chain nodes except the current block chain node; and receiving the confirmation messages of the other block chain link points except the current block chain link point.

Specifically, after the validity of the prepared message is verified, the first block link node generates a confirmation message and sends the confirmation message to all the second block link nodes; meanwhile, the first block chain node receives the confirmation message sent by the second block chain node.

In another embodiment, the present application describes a block chain-based electronic archive management method from the perspective of a second block chain node, please refer to fig. 1A, fig. 1B and fig. 7, in which the method includes steps S701 to S704:

step S701, carrying out validity verification on a received pre-prepared message sent by a block chain node corresponding to the official document subsystem;

the execution subject of this embodiment may be a second block link node, that is, a block link point 2 corresponding to the financial management subsystem, a block link node 3 corresponding to the personal loan subsystem, and a block link point 4 corresponding to the corporate loan subsystem of this application; and the block chain link point 1 corresponding to the official document subsystem is a first block chain node.

And the second block chain node receives the pre-prepared message of the first block chain node and carries out validity verification on the pre-prepared message.

The pre-preparation message is generated by the block link points corresponding to the document subsystem according to a received electronic archive storage request of the user side, wherein the electronic archive storage request comprises an electronic archive to be stored. The format of the pre-prepared message and the information included in the pre-prepared message may refer to the related description in step S201 in the foregoing embodiment, and the validity verification process of the pre-prepared message may refer to the related description in step S203 in the foregoing embodiment, which is not described herein again.

Step S702, when the validity of the pre-preparation message is verified, generating a corresponding preparation message according to the pre-preparation message, and sending the preparation message to other block chain nodes except the current block chain node.

Specifically, for each second blockchain node, after generating the preparation message, the preparation message is sent to the first blockchain node and other second blockchain nodes except the node.

And when the validity verification of the pre-preparation message is not passed, returning error information to other block chain nodes except the current block chain node.

Step S703, performing validity verification on the preparation message of other block link nodes except the current block link node.

Specifically, for each second blockchain node, the node receives the preparation messages generated by other second blockchain nodes except the node, and sequentially performs validity verification on each received preparation message. When the legality verification of all the prepared messages passes, the legality verification of the prepared messages passes; when the validity verification of at least one of the preparation messages fails, the validity verification of the preparation messages fails, and at the moment, the second block chain node returns the verification failure to the first block chain node and other second block chain nodes except the node.

For a specific validity verification step of the preparation message, reference may be made to the related description of step S205 in the foregoing embodiment, and details are not described here again.

Step S704, when the validity verification passes, the electronic file to be stored is stored according to the confirmation messages sent by the other block chain nodes except the current block chain node.

Specifically, for each second block chain, when the validity of the prepared message is verified, and the second block chain link node receives the confirmation message sent by other block chain nodes except the current block chain link node (i.e. the first block chain link node in the present application and other second block chain nodes except the current block chain link node), the storage operation of the electronic file to be stored is performed.

When the validity verification of the second block chain on the preparation message is not passed or at least the confirmation information of other block chain link points except the current block chain link point is not received, the second block chain link point does not execute the storage operation of the electronic file to be stored and returns error information to other block chain nodes except the current block chain link point.

In this embodiment, the method for managing an electronic file based on a block chain is described from the perspective of any second block chain node, mainly the steps executed by the second block chain node end are combed, and as for the steps that need to be executed by the first block chain node point, too much description is not provided in this embodiment, and specific reference may be made to the description in the foregoing embodiments.

In one embodiment, as shown in fig. 8, the pre-preparation message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

step S701, performing validity verification on the pre-prepared message sent by the block chain node corresponding to the received official document subsystem, specifically including:

step S7011, verifying whether the signature of the pre-preparation message is correct;

step S7012, verifying whether the first abstract is consistent with the abstract of the electronic file to be stored;

step S7013, verifying whether the first image batch number is consistent with the image batch number of the electronic file to be stored;

step S7014, verifying whether the serial number is between a preset upper limit and a preset lower limit.

The format of the PRE-preparation message is < < PRE-PREPARE, v, n, d >, m >, "PRE-PREPARE" represents that the message is a PRE-preparation message, "v" is a first image batch number, "n" is a sequence number, "d" is a first summary, and "m" is the electronic file storage request sent by the user terminal.

In this embodiment, the execution sequence of step S7011, step S7012, step 7013, and step S7014 is not necessarily limited to the above sequence, and in fact, step S7011, step S7012, step 7013, and step S7014 are four parallel steps, and the execution sequence may be any sequence.

In one embodiment, as shown in fig. 9, the prepare message includes: generating a node number of a block chain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request and a second image batch number of the electronic archive to be stored;

step S703 of performing validity verification on the preparation message of other block link nodes except the current block link node, specifically including:

step S7031, verifying whether the signature of the preparation message is correct;

step S7032 of verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

step S7033, verifying whether the serial number is between a preset upper limit and a preset lower limit; and

step S7034, verifying whether the digest, the image batch number, and the sequence number in the preparation message are consistent with the digest, the image batch number, and the sequence number in the received pre-preparation message.

Step S7031, step S7032, and step S7033 are performed to verify the validity of the information in the received preparation message by the second block link point pair, and step S7034 is performed to determine whether the preparation message and the pre-preparation message are consistent, that is, whether the preparation message and the pre-preparation message correspond to the same electronic file storage request.

In this embodiment, the execution sequence of step S7031, step S7032, and step S7033 is not necessarily limited to the above sequence, and in fact, step S7031, step S7032, and step S7033 are three parallel steps, and the execution sequence may be any sequence.

In an embodiment, as shown in fig. 10, after the validity of the preparation message for other blockchain nodes except for the current blockchain node is verified, before step S704, the method further includes:

step S705, sending confirmation information to other block chain nodes except the current block chain node; and receiving the confirmation messages of the other block chain link points except the current block chain link point.

Specifically, after the validity of the prepared message is verified, the second block link point generates a confirmation message, and sends the confirmation message to the first block link point and other second block link nodes except the node; meanwhile, the second block chain node receives confirmation messages sent by other second block chain nodes except the node.

The block chain-based electronic file management method is described in the application from the angles of a first block chain and a second block chain, the angle of the first block chain and the angle of the second block chain. Based on the same inventive concept, the embodiment of the present application further provides an electronic archive management device based on a block chain, which can be used to implement the block chain-based electronic archive management method described in the foregoing embodiment, as described in the following embodiments. Because the principle of solving the problem of the block chain-based electronic file management apparatus is similar to that of the block chain-based electronic file management method, the block chain-based electronic file management apparatus can be implemented by the block chain-based electronic file management method, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

In one embodiment, the present application provides an apparatus for block chain-based electronic archive management, corresponding to a block chain-based electronic archive management method described from the perspective of a first block chain, as shown in fig. 11, the apparatus comprising:

an electronic archive storage request receiving module 111, configured to receive an electronic archive storage request from a user side; the electronic archive storage request comprises an electronic archive to be stored;

a pre-preparation message generating module 112, configured to generate a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to other block chain nodes except the current block chain link point, so that the other block chain nodes except the current block chain link point generate corresponding preparation messages according to the pre-preparation message;

a validity verifying module 113, configured to verify validity of the prepared messages of the other block link nodes except the current block link node;

and the electronic file storage module 114 is configured to store the electronic file to be stored according to the confirmation message sent by the other block link points except the current block link point when the validity verification passes.

In one embodiment, as shown in fig. 12, the pre-preparation message includes: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

the pre-preparation message generation module 112 includes:

a serial number generating unit 1121, configured to assign a serial number to the electronic archive storage request;

a summary generating unit 1122, configured to generate a first summary corresponding to the electronic archive storage request;

an image batch number generating unit 1123, configured to obtain a first image batch number of the electronic file to be stored;

the prepare message generating unit 1124 is configured to integrate the electronic archive storage request, the sequence number, the first digest, and the first image batch number according to a preset first message format to obtain a prepare message.

In an embodiment, the prepare message comprises: generating a node number of a block chain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request and a second image batch number of the electronic archive to be stored;

the validity verification module 113 is specifically configured to:

verifying whether the signature of the prepare message is correct;

verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

verifying whether the serial number is between a preset upper limit and a preset lower limit; and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

In an embodiment, the present application further provides another block chain-based electronic archive management apparatus corresponding to the block chain-based electronic archive management method described from the perspective of a second block chain, as shown in fig. 13, the apparatus including:

a prepared message verification module 131, configured to verify validity of a prepared message sent by a block chain node corresponding to the received official document subsystem; the block chain link points corresponding to the official document subsystem generate the pre-preparation message according to the received electronic file storage request of the user side; the electronic archive storage request comprises an electronic archive to be stored;

a preparation message generating module 132, configured to generate a corresponding preparation message according to the preparation message when the validity of the preparation message passes verification, and send the preparation message to other block link nodes except the current block link node;

a prepared message verifying module 133, configured to verify the validity of the prepared message of other blockchain nodes except for the current blockchain node;

and the electronic file storage module 134 is configured to store the electronic file to be stored according to the confirmation message sent by the other block link points except the current block link point when the validity verification passes.

In an embodiment, the pre-preparation message comprises: the electronic archive storage request, a serial number corresponding to the electronic archive storage request, a first abstract corresponding to the electronic archive storage request and a first image batch number of the electronic archive to be stored are stored;

the pre-prepared message verification module 131 is specifically configured to:

verifying whether the signature of the pre-prepared message is correct;

verifying whether the first abstract is consistent with the abstract of the electronic file to be stored;

verifying whether the first image batch number is consistent with the image batch number of the electronic file to be stored;

and verifying whether the serial number is between a preset upper limit and a preset lower limit.

In an embodiment, the prepare message comprises: generating a node number of a blockchain node of the preparation message, a serial number corresponding to the electronic archive storage request, a second abstract corresponding to the electronic archive storage request, and a second image batch number of the electronic archive to be stored

The prepared message verification module 133 is specifically configured to:

verifying whether the signature of the prepare message is correct;

verifying whether the second image batch number is consistent with the image batch number of the electronic file to be stored;

verifying whether the serial number is between a preset upper limit and a preset lower limit; and

and verifying whether the abstract, the image batch number and the sequence number in the preparation message are consistent with the abstract, the image batch number and the sequence number in the received preparation message.

In an embodiment, the present application further provides a block chain-based electronic archive management system corresponding to the block chain-based electronic archive management method described from the perspective of a first block chain and a second block chain, as shown in fig. 14, the system including a first device 141 and a plurality of second devices 142;

the first device 141 includes:

an electronic archive storage request receiving module 1411, configured to receive an electronic archive storage request from a user side; the electronic archive storage request comprises an electronic archive to be stored;

a pre-preparation message generating module 1412, configured to generate a corresponding pre-preparation message according to the electronic archive storage request; sending the pre-preparation message to the plurality of second devices, so that the plurality of second devices generate corresponding preparation messages according to the pre-preparation message;

a validity verifying module 1413 for performing validity verification on the preparation messages transmitted by the plurality of second apparatuses;

a first electronic archive storage module 1414, configured to store the electronic archive to be stored according to the confirmation message sent by the plurality of second devices when the validity verification passes;

the plurality of second devices 142 respectively include:

a pre-prepared message verification module 1421, configured to perform validity verification on the pre-prepared message sent by the first device;

a prepared message generating module 1422, configured to generate, when the validity of the prepared message is verified, a corresponding prepared message according to the prepared message, and send the prepared message to the first device and other second devices except the current second device;

a prepared message verification module 1423, configured to perform validity verification on the received prepared message;

a second electronic archive storage module 1424, configured to, when the validity of the received preparation message is verified, store the electronic archive to be stored according to the confirmation message sent by the first device and the other second devices except the current second device.

In summary, according to the block chain-based electronic file management method, device and system, the block chain is used for file storage, block chain technologies such as electronic signatures and intelligent contracts are comprehensively applied, and a plurality of service subsystems are linked for common verification, so that the safe storage of files is realized, and file data is effectively prevented from being tampered.

As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein. The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment and the system embodiment, since they are basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment. Although embodiments of the present description provide method steps as described in embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction. The above description is only an example of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure. Various modifications and variations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

32页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种高效的R-tree索引遥感数据存储模型

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!