CN113179320A - Storage method and device for public letter files - Google Patents

Storage method and device for public letter files Download PDF

Info

Publication number
CN113179320A
CN113179320A CN202110463191.5A CN202110463191A CN113179320A CN 113179320 A CN113179320 A CN 113179320A CN 202110463191 A CN202110463191 A CN 202110463191A CN 113179320 A CN113179320 A CN 113179320A
Authority
CN
China
Prior art keywords
target node
node
node group
administrator
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110463191.5A
Other languages
Chinese (zh)
Other versions
CN113179320B (en
Inventor
宋健
泮晓波
陈树华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dingxiang Technology Co ltd
Original Assignee
Top Elephant Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Top Elephant Technology Co ltd filed Critical Top Elephant Technology Co ltd
Priority to CN202110463191.5A priority Critical patent/CN113179320B/en
Publication of CN113179320A publication Critical patent/CN113179320A/en
Application granted granted Critical
Publication of CN113179320B publication Critical patent/CN113179320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1051Group master selection mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and a device for storing a public letter file, which relate to the technical field of data storage and comprise the following steps: the block chain comprises a plurality of node groups, wherein each node group comprises a plurality of node group administrators and a plurality of node administrators, each node administrator is used for managing a plurality of nodes, and after a public letter file uploaded by a user is obtained, a synchronization request is sent to a node in a target node group through a target node group administrator of the target node group; after a target node administrator acquires feedback information sent by a target node based on a synchronization request, the target node administrator sends a file synchronization certificate to the target node; after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification on the file synchronization certificate, the target node is used for storing the public trust file and obtaining the reward based on the file synchronization certificate, so that the technical problem that the storage safety of the public trust file is poor in the prior art is solved.

Description

Storage method and device for public letter files
Technical Field
The invention relates to the technical field of data storage, in particular to a storage method and a storage device for a public letter file.
Background
With the increasing demand of cloud in application, the challenge of secure storage is increasing, and the storage medium and backup technology in the prior art are continuously upgraded, but it is difficult to thoroughly ensure the security and tamper resistance of files.
The existing storage technology is limited by the service life of storage media for storing files, the number of storage centers and backup conditions, and once the storage media are damaged or a data center is in a disaster, data is catastrophically lost in the existing public letter file storage scheme.
No effective solution has been proposed to the above problems.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method for storing a trusted file, so as to alleviate the technical problem of poor security of the trusted file in the prior art.
In a first aspect, an embodiment of the present invention provides a method for storing a public letter file, which is applied to a block chain, where the block chain includes a plurality of node groups, each node group includes a plurality of node group administrators and a plurality of node administrators, each node group administrator is used to manage the plurality of node administrators, and each node administrator is used to manage a plurality of nodes, and the method includes: after a credit document uploaded by a user is obtained, a target node group administrator of a target node group sends a synchronization request to nodes in the target node group, wherein the synchronization request carries the data volume of the credit document, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and the plurality of node group administrators of the target node group; after a target node administrator acquires feedback information sent by a target node based on the synchronization request, the target node administrator sends a file synchronization certificate to the target node, wherein the target node is a node with a storage space larger than the data volume of the public information file in the target node group, and the target node administrator is a node administrator managing the target node; after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification on the file synchronization certificate, the target node is used for storing the public trust file and obtaining a reward based on the file synchronization certificate, wherein the reward comprises: and storing space and/or virtual currency, wherein the other nodes are nodes in the target node group except the target node.
Further, before sending a synchronization request to a node in a target node group by a target node group administrator for the target node group, the method further comprises: and determining a target node group administrator of the target node group based on the IP addresses of the node group administrators.
Further, determining a target node group administrator for the target node group based on the IP addresses of the plurality of node group administrators comprises: determining IP addresses of the plurality of node group administrators; determining a connection speed between the IP addresses of the node group administrators and the IP address of the user based on the IP addresses of the node group administrators; and determining the node administrator corresponding to the IP address with the highest connection speed between the IP addresses of the plurality of node group administrators and the IP address of the user as the target node group administrator.
Further, obtaining a reward based on the file synchronization credential includes: after the target node finishes storing the public letter file, the file synchronization certificate is sent to a node administrator corresponding to the target node, so that the node administrator corresponding to the target node issues the reward to the target node.
Further, the official document is a document which has official trust and needs permanent storage.
In a second aspect, an embodiment of the present invention further provides a storage system for a public letter file, which is applied to a block chain, where the block chain includes a plurality of node clusters, each node cluster includes a plurality of node cluster administrators and a plurality of node administrators, each node cluster administrator is used to manage the plurality of node administrators, and each node administrator is used to manage a plurality of nodes, and the storage system includes: the device comprises a first sending unit, a second sending unit and a synchronization unit, wherein the first sending unit is used for sending a synchronization request to a node in a target node group through a target node group administrator of the target node group after acquiring a public letter file uploaded by a user, the synchronization request carries the data volume of the public letter file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and the plurality of node group administrators of the target node group; the second sending unit is configured to send a file synchronization certificate to a target node after a target node administrator obtains feedback information sent by the target node based on the synchronization request, where the target node is a node in the target node group, where a storage space of the target node is larger than a data volume of the public key file, and the target node administrator is a node administrator who manages the target node; the synchronization unit is configured to, after the target node sends the file synchronization credential to the remaining nodes and the remaining nodes complete verification of the file synchronization credential, store the public trust file by using the target node, and obtain a reward based on the file synchronization credential, where the reward includes: and storing space and/or virtual currency, wherein the other nodes are nodes in the target node group except the target node.
Further, the apparatus further comprises: a determining unit, configured to determine a target node group administrator of the target node group based on the IP addresses of the plurality of node group administrators.
Further, the determining unit is further configured to: determining IP addresses of the plurality of node group administrators; determining a connection speed between the IP addresses of the node group administrators and the IP address of the user based on the IP addresses of the node group administrators; and determining the node administrator corresponding to the IP address with the highest connection speed between the IP addresses of the plurality of node group administrators and the IP address of the user as the target node group administrator.
Further, the synchronization unit is further configured to: after the target node finishes storing the public letter file, the file synchronization certificate is sent to a node administrator corresponding to the target node, so that the node administrator corresponding to the target node issues the reward to the target node.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method in the first aspect.
In the embodiment of the present invention, after obtaining a public affair file uploaded by a user, a block chain sends a synchronization request to a node in a target node group through a target node group administrator of the target node group, where the synchronization request carries a data volume of the public affair file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and one of a plurality of node group administrators of the target node group; after a target node administrator acquires feedback information sent by a target node based on the synchronization request, the target node administrator sends a file synchronization certificate to the target node, wherein the target node is a node with a storage space larger than the data volume of the public information file in the target node group, and the target node administrator is a node administrator managing the target node; after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification on the file synchronization certificate, the target node is used for storing the public trust file and obtaining a reward based on the file synchronization certificate, wherein the reward comprises: and the other nodes are nodes except the target node in the target node group, so that the aim of storing the public letter file by using a block chain technology is fulfilled, the technical problem of poor storage safety of the public letter file in the prior art is solved, and the technical effect of the storage safety of the public letter file is realized.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a storage method of a public trust file according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a storage device for a public letter file according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. 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.
The first embodiment is as follows:
in accordance with an embodiment of the present invention, there is provided an embodiment of a method for storing a trusted file, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Fig. 1 is a flowchart of a storage method of a public trust file according to an embodiment of the present invention, and as shown in fig. 1, the method is applied to a block chain, where the block chain includes a plurality of node clusters, where each node cluster includes a plurality of node cluster administrators and a plurality of node administrators, each node cluster administrator is used to manage the plurality of node administrators, and each node administrator is used to manage a plurality of nodes, and includes the following steps:
step S102, after a public letter file uploaded by a user is obtained, a target node group administrator of a target node group sends a synchronization request to nodes in the target node group, wherein the synchronization request carries the data volume of the public letter file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and the plurality of node group administrators of the target node group;
the official document is a document which has official trust and needs permanent storage, and generally, the official document does not need to be modified frequently.
Step S104, after a target node administrator acquires feedback information sent by a target node based on the synchronization request, sending a file synchronization certificate to the target node through the target node administrator, wherein the target node is a node with a storage space larger than the data volume of the public letter file in the target node group, and the target node administrator is a node administrator managing the target node;
step S106, after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification of the file synchronization certificate, the target node is used for storing the public trust file and obtaining a reward based on the file synchronization certificate, wherein the reward comprises: and storing space and/or virtual currency, wherein the other nodes are nodes in the target node group except the target node.
In the embodiment of the present invention, after obtaining a public affair file uploaded by a user, a block chain sends a synchronization request to a node in a target node group through a target node group administrator of the target node group, where the synchronization request carries a data volume of the public affair file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and one of a plurality of node group administrators of the target node group; after a target node administrator acquires feedback information sent by a target node based on the synchronization request, the target node administrator sends a file synchronization certificate to the target node, wherein the target node is a node with a storage space larger than the data volume of the public information file in the target node group, and the target node administrator is a node administrator managing the target node; after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification on the file synchronization certificate, the target node is used for storing the public trust file and obtaining a reward based on the file synchronization certificate, wherein the reward comprises: and the other nodes are nodes except the target node in the target node group, so that the aim of storing the public letter file by using a block chain technology is fulfilled, the technical problem of poor storage safety of the public letter file in the prior art is solved, and the technical effect of the storage safety of the public letter file is realized.
After the user joins the target node group, the nearest miner manager (i.e., the target node manager) is found, then the miner manager is informed that a public trust file needs to be stored, and then the miner manager sends a synchronization request to the nodes in the target node group.
Then, after the node (i.e., the target node) with enough storage space for storing the official document receives the synchronization request, the target node sends feedback information for applying to acquire the document synchronization certificate to the corresponding miner (the target node administrator).
Then, a target node administrator issues a file synchronization certificate to a target node, the target node sends the file synchronization certificate to other nodes in the node group after acquiring the file synchronization certificate, the target node acquires and stores the public letter file after determining the file synchronization certificate by other nodes in the node group, and the target node administrator corresponding to the target node issues rewards for the target node after the storage is completed.
It should be noted that the specific value of the storage space and/or virtual currency in the reward may be carried in the file synchronization voucher.
In the embodiment of the invention, the storage safety of the public letter file can be effectively improved by storing the public letter file through the block chain, and further, by issuing the reward for the node for storing the public letter file, more nodes can be prompted to store the public letter file, and the storage safety of the public letter file is further improved.
In an embodiment of the present invention, before sending a synchronization request to a node in a target node group through a target node group administrator of the target node group, the method further includes the following steps:
step S11, determining a target node group administrator of the target node group based on the IP addresses of the plurality of node group administrators.
In the embodiment of the invention, firstly, the IP addresses of a plurality of node group administrators are determined.
Then, determining the connection speed between the IP addresses of the node group managers and the IP address of the user according to the IP addresses of the node group managers;
and finally, determining the node administrator corresponding to the IP address with the highest connection speed between the IP addresses of the plurality of node group administrators and the IP address of the user as the target node group administrator.
The embodiment of the invention realizes a distributed official document storage scheme by using decentralized block chain. Each stored node stores complete data according to a block chain structure, and the storage of each node is independent and equal in status, and the consistency of the storage is ensured by means of a consensus mechanism. No one node can record the stored data separately, thereby avoiding the possibility that a single trust file is controlled or modified by bribery. And the storage nodes are enough, so that the official document can not be lost unless all the nodes are damaged theoretically, and the data security is ensured. Anyone joins and synchronizes, and the nodes become block chain storage nodes; each node group is synchronized by a miner management data, and the miner groups form the whole block chain structure.
Furthermore, by utilizing the decentralized of the block chain, a distributed public letter file storage scheme is realized, the scheme can utilize the storage safety characteristic of the block chain to the maximum extent, and the technical breakthrough is realized in the aspects of tamper resistance and loss resistance of the safe storage of the public letter files; since the joining node group will receive the rewarded token (virtual currency), more and more people will join the storage node to achieve the goal of decentralization, security, tamper-proofing, and stable storage of the public letter file.
Example two:
the embodiment of the present invention further provides a storage system of a public letter file, where the storage device of the public letter file is used to execute the storage method of the public letter file provided in the foregoing content of the embodiment of the present invention, and the following is a specific description of the storage device of the public letter file provided in the embodiment of the present invention.
As shown in fig. 2, fig. 2 is a schematic diagram of the storage apparatus for the above-mentioned public letter file, where the block chain of the storage apparatus for the public letter file includes a plurality of node clusters, where each node cluster includes a plurality of node cluster administrators and a plurality of node administrators, each node cluster administrator is used to manage the plurality of node administrators, and each node administrator is used to manage a plurality of nodes, and the method includes: a first transmission unit 10, a second transmission unit 20 and a synchronization unit 30.
The first sending unit 10 is configured to send, after obtaining a public key file uploaded by a user, a synchronization request to a node in a target node group through a target node group administrator of the target node group, where the synchronization request carries a data volume of the public key file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and one of a plurality of node group administrators of the target node group;
the second sending unit 20 is configured to, after a target node administrator obtains feedback information sent by a target node based on the synchronization request, send a file synchronization certificate to the target node by the target node administrator, where the target node is a node in the target node group, where a storage space of the node is greater than a data amount of the public key file, and the target node administrator is a node administrator who manages the target node;
the synchronization unit 30 is configured to, after the target node sends the file synchronization credential to the other nodes and the other nodes complete verification of the file synchronization credential, store the public trust file by using the target node, and obtain a reward based on the file synchronization credential, where the reward includes: and storing space and/or virtual currency, wherein the other nodes are nodes in the target node group except the target node.
In the embodiment of the present invention, after obtaining a public affair file uploaded by a user, a block chain sends a synchronization request to a node in a target node group through a target node group administrator of the target node group, where the synchronization request carries a data volume of the public affair file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and one of a plurality of node group administrators of the target node group; after a target node administrator acquires feedback information sent by a target node based on the synchronization request, the target node administrator sends a file synchronization certificate to the target node, wherein the target node is a node with a storage space larger than the data volume of the public information file in the target node group, and the target node administrator is a node administrator managing the target node; after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification on the file synchronization certificate, the target node is used for storing the public trust file and obtaining a reward based on the file synchronization certificate, wherein the reward comprises: and the other nodes are nodes except the target node in the target node group, so that the aim of storing the public letter file by using a block chain technology is fulfilled, the technical problem of poor storage safety of the public letter file in the prior art is solved, and the technical effect of the storage safety of the public letter file is realized.
Preferably, the apparatus further comprises: a determining unit, configured to determine a target node group administrator of the target node group based on the IP addresses of the plurality of node group administrators.
Preferably, the determination unit is further configured to: determining IP addresses of the plurality of node group administrators; determining a connection speed between the IP addresses of the node group administrators and the IP address of the user based on the IP addresses of the node group administrators; and determining the node administrator corresponding to the IP address with the highest connection speed between the IP addresses of the plurality of node group administrators and the IP address of the user as the target node group administrator.
Preferably, the synchronization unit is further configured to: after the target node finishes storing the public letter file, the file synchronization certificate is sent to a node administrator corresponding to the target node, so that the node administrator corresponding to the target node issues the reward to the target node.
Preferably, the official document is a document which has official trust and needs permanent storage.
Example three:
the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method in the first embodiment.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for storing a public letter file is applied to a block chain, the block chain comprises a plurality of node groups, each node group comprises a plurality of node group administrators and a plurality of node administrators, each node group administrator is used for managing the node administrators, and each node administrator is used for managing the nodes, and the method comprises the following steps:
after a credit document uploaded by a user is obtained, a target node group administrator of a target node group sends a synchronization request to nodes in the target node group, wherein the synchronization request carries the data volume of the credit document, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and the plurality of node group administrators of the target node group;
after a target node administrator acquires feedback information sent by a target node based on the synchronization request, sending a file synchronization certificate to the target node through the target node administrator, wherein the target node is a node with a storage space larger than the data volume of the public information file in the target node group, and the target node administrator is a node administrator managing the target node;
after the target node sends the file synchronization certificate to other nodes and the other nodes finish verification on the file synchronization certificate, the target node is used for storing the public trust file and obtaining a reward based on the file synchronization certificate, wherein the reward comprises: and storing space and/or virtual currency, wherein the other nodes are nodes in the target node group except the target node.
2. The method of claim 1, wherein prior to sending a synchronization request to a node in a target node group by a target node group administrator for the target node group, the method further comprises:
and determining a target node group administrator of the target node group based on the IP addresses of the node group administrators.
3. The method of claim 2, wherein determining a target node group administrator for the target node group based on the IP addresses of the plurality of node group administrators comprises:
determining IP addresses of the plurality of node group administrators;
determining a connection speed between the IP addresses of the node group administrators and the IP address of the user based on the IP addresses of the node group administrators;
and determining the node administrator corresponding to the IP address with the highest connection speed between the IP addresses of the plurality of node group administrators and the IP address of the user as the target node group administrator.
4. The method of claim 3, wherein obtaining a reward based on the file synchronization credential comprises:
after the target node finishes storing the public letter file, the file synchronization certificate is sent to a node administrator corresponding to the target node, so that the node administrator corresponding to the target node issues the reward to the target node.
5. The method of claim 1,
the official document is a document which has official trust and needs permanent storage.
6. An apparatus for storing a public letter file, which is applied to a blockchain including a plurality of node groups, wherein each node group includes a plurality of node group administrators and a plurality of node administrators, each node group administrator is configured to manage the plurality of node administrators, and each node administrator is configured to manage a plurality of nodes, the apparatus comprising: a first transmission unit, a second transmission unit and a synchronization unit, wherein,
the first sending unit is configured to send a synchronization request to a node in a target node group through a target node group administrator of the target node group after obtaining a public key file uploaded by a user, where the synchronization request carries a data volume of the public key file, the target node group is a node group where the user is located, and the target node group administrator is a node group administrator with the highest connection speed between the user and one of a plurality of node group administrators of the target node group;
the second sending unit is configured to send a file synchronization certificate to a target node after a target node administrator obtains feedback information sent by the target node based on the synchronization request, where the target node is a node in the target node group, where a storage space of the target node is larger than a data volume of the public key file, and the target node administrator is a node administrator who manages the target node;
the synchronization unit is configured to, after the target node sends the file synchronization credential to the remaining nodes and the remaining nodes complete verification of the file synchronization credential, store the public trust file by using the target node, and obtain a reward based on the file synchronization credential, where the reward includes: and storing space and/or virtual currency, wherein the other nodes are nodes in the target node group except the target node.
7. The apparatus of claim 6, further comprising:
a determining unit, configured to determine a target node group administrator of the target node group based on the IP addresses of the plurality of node group administrators.
8. The apparatus of claim 7, wherein the determining unit is further configured to:
determining IP addresses of the plurality of node group administrators;
determining a connection speed between the IP addresses of the node group administrators and the IP address of the user based on the IP addresses of the node group administrators;
and determining the node administrator corresponding to the IP address with the highest connection speed between the IP addresses of the plurality of node group administrators and the IP address of the user as the target node group administrator.
9. The apparatus of claim 6, wherein the synchronization unit is further configured to:
after the target node finishes storing the public letter file, the file synchronization certificate is sent to a node administrator corresponding to the target node, so that the node administrator corresponding to the target node issues the reward to the target node.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of the preceding claims 1 to 5.
CN202110463191.5A 2021-04-27 2021-04-27 Storage method and device for public letter files Active CN113179320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110463191.5A CN113179320B (en) 2021-04-27 2021-04-27 Storage method and device for public letter files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110463191.5A CN113179320B (en) 2021-04-27 2021-04-27 Storage method and device for public letter files

Publications (2)

Publication Number Publication Date
CN113179320A true CN113179320A (en) 2021-07-27
CN113179320B CN113179320B (en) 2022-10-18

Family

ID=76926837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110463191.5A Active CN113179320B (en) 2021-04-27 2021-04-27 Storage method and device for public letter files

Country Status (1)

Country Link
CN (1) CN113179320B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737534A (en) * 2018-05-11 2018-11-02 北京奇虎科技有限公司 A kind of data transmission method, device, block catenary system based on block chain
CN109271115A (en) * 2018-10-11 2019-01-25 重庆晨鲸科技有限公司 Store sharing method, device, block chain distributed network topology
CN110650193A (en) * 2019-09-20 2020-01-03 腾讯科技(深圳)有限公司 Node management method, cluster management device and storage medium
WO2020053565A1 (en) * 2018-09-14 2020-03-19 Arqit Limited Autonomous quality regulation for distributed ledger networks
CN111291060A (en) * 2020-01-14 2020-06-16 腾讯科技(深圳)有限公司 Method, device and computer readable medium for managing block chain nodes
CN111385103A (en) * 2020-05-29 2020-07-07 腾讯科技(深圳)有限公司 Authority processing method, system and device and electronic equipment
CN112396357A (en) * 2021-01-12 2021-02-23 电子科技大学 Consensus method applied to personnel assessment system based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737534A (en) * 2018-05-11 2018-11-02 北京奇虎科技有限公司 A kind of data transmission method, device, block catenary system based on block chain
WO2020053565A1 (en) * 2018-09-14 2020-03-19 Arqit Limited Autonomous quality regulation for distributed ledger networks
CN109271115A (en) * 2018-10-11 2019-01-25 重庆晨鲸科技有限公司 Store sharing method, device, block chain distributed network topology
CN110650193A (en) * 2019-09-20 2020-01-03 腾讯科技(深圳)有限公司 Node management method, cluster management device and storage medium
CN111291060A (en) * 2020-01-14 2020-06-16 腾讯科技(深圳)有限公司 Method, device and computer readable medium for managing block chain nodes
CN111385103A (en) * 2020-05-29 2020-07-07 腾讯科技(深圳)有限公司 Authority processing method, system and device and electronic equipment
CN112396357A (en) * 2021-01-12 2021-02-23 电子科技大学 Consensus method applied to personnel assessment system based on block chain

Also Published As

Publication number Publication date
CN113179320B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN109033405B (en) Method and apparatus for maintaining blockchain, server, and computer-readable storage medium
CN111294379B (en) Block chain network service platform, authority hosting method thereof and storage medium
CN112235323B (en) Evidence obtaining method and device based on block chain, electronic equipment and readable storage medium
CN106100902A (en) High in the clouds index monitoring method and apparatus
CN109669955B (en) Digital asset query system and method based on block chain
CN107277079A (en) A kind of across cloud customer certification system towards mixed cloud
CN103827878B (en) Automate Password Management
CN112953930A (en) Cloud storage data processing method and device and computer system
CN114024766B (en) Zero trust identity authentication method for edge computing node
CN104363207A (en) Multi-factor security enhancement authorization and authentication method
CN111353172B (en) Hadoop cluster big data access method and system based on block chain
CN108696356A (en) A kind of digital certificate delet method, apparatus and system based on block chain
CN101730094A (en) Method for accessing terminal equipment to service platform of security system and transmitting information
CN102291271B (en) Policing port, monitoring system, terminal and method thereof
KR20200097773A (en) Blockchain-based identity system
CN107659579B (en) On-site certificate storing method and device and related certificate storing system
CN103905514A (en) Server, terminal device and network data access right management method
US20220182375A1 (en) Method for hierarchical internet trust sharing
CN115987697A (en) Multi-level information data sharing method and system based on event subscription mechanism
KR20070023640A (en) Method and system for operating a computer network which is intended for content publishing
CN103036906B (en) The authentication method of the network equipment, device, access device and controllable device
CN113179320B (en) Storage method and device for public letter files
CN110970120A (en) Family doctor management system and method based on block chain
KR20230149201A (en) Certificate verification method using blockchain and system for the same
CN109729081A (en) The method and server of cloud mobile phone safe audit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 601, Building 4, No. 165 Wuchang Avenue, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province, 311100

Patentee after: Hangzhou Dingxiang Technology Co.,Ltd.

Address before: Room 603b, building 19, No. 998, Wenyi West Road, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province

Patentee before: Top Elephant Technology Co.,Ltd.

CP03 Change of name, title or address