CN111711655A - Block chain-based electronic data evidence storing method, system, storage medium and terminal - Google Patents

Block chain-based electronic data evidence storing method, system, storage medium and terminal Download PDF

Info

Publication number
CN111711655A
CN111711655A CN202010407710.1A CN202010407710A CN111711655A CN 111711655 A CN111711655 A CN 111711655A CN 202010407710 A CN202010407710 A CN 202010407710A CN 111711655 A CN111711655 A CN 111711655A
Authority
CN
China
Prior art keywords
data
certificate
electronic data
server
hash value
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.)
Pending
Application number
CN202010407710.1A
Other languages
Chinese (zh)
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.)
Terminus Technology Group Co Ltd
Original Assignee
Terminus Technology Group 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 Terminus Technology Group Co Ltd filed Critical Terminus Technology Group Co Ltd
Priority to CN202010407710.1A priority Critical patent/CN111711655A/en
Publication of CN111711655A publication Critical patent/CN111711655A/en
Priority to PCT/CN2020/133925 priority patent/WO2021227457A1/en
Pending legal-status Critical Current

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/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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

Abstract

The invention discloses an electronic data evidence storing method, a system, a storage medium and a terminal based on a block chain, wherein the method comprises the following steps: the client receives the electronic data certificate storing request and sends the electronic data certificate storing request to the server; the server receives the electronic data certificate storing request, generates a random character string and sends the random character string to the client; the client acquires electronic data, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates a certificate storage parameter set of the electronic data, and sends the certificate storage parameter set to the server; and the server receives the authentication parameter storage set, calculates a root hash value corresponding to a Mercker tree of the authentication parameter storage set to generate transaction data and broadcasts the transaction data to the block chain. Therefore, by adopting the embodiment of the application, the verification cost of the block chain data and the risk level of data leakage can be reduced.

Description

Block chain-based electronic data evidence storing method, system, storage medium and terminal
Technical Field
The invention relates to the technical field of block chains, in particular to an electronic data evidence storing method, system, storage medium and terminal based on block chains.
Background
With the continuous development of information modernization, information data security becomes a concern of everyone, and in information data security guarantee, a block chain technology is undoubtedly the first choice, wherein the block chain technology is to utilize a chain data structure to verify and store data, utilize a distributed node consensus algorithm to generate kernel update data, and utilize a cryptography mode to guarantee the security of data transmission and access.
At present, in the process of data storage by using a block chain technology, a block chain bottom layer platform needs to be built by itself, or a plurality of manufacturers are added to build an alliance chain, on the basis, data uploaded by a user are encrypted for storage, and finally, user data are stored into a block chain or an alliance chain node. Because the possibility of 'repugnance' of the alliance is difficult to put an end to practice by building a block chain network by itself or building an alliance chain by a plurality of alliances jointly, the use cost is high, the method is not suitable for low-budget clients and low-value data storage scenes, and when a user uploads data to a platform, the risk level of data leakage is increased in the processes of transmission, storage and debugging.
Disclosure of Invention
The embodiment of the application provides an electronic data evidence storing method, system, storage medium and terminal based on a block chain. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present application provides an electronic data evidence storing method based on a block chain, which is applied to a server, and the method includes:
receiving and summarizing the certificate storing information sent by the client to generate a certificate storing information set;
combining all the evidence storage information in the evidence storage information set to generate a Merck tree of the evidence storage information;
calculating a root hash value corresponding to the Mercker tree of the evidence storage information;
generating transaction data from the root hash value and broadcasting the transaction data to a blockchain.
Optionally, after generating transaction data according to the root hash value and broadcasting the transaction data to the blockchain, the method further includes:
and when the transaction data is successfully broadcasted to the block chain, generating broadcast success information and sending the broadcast success information to the client.
In a second aspect, an embodiment of the present application provides an electronic data evidence storing method based on a block chain, which is applied to a client, and the method includes:
receiving an input electronic data evidence storing instruction, sending an electronic data evidence storing request to a server and receiving a random character string returned from the server;
acquiring electronic data;
splicing the random character string and the electronic data to generate spliced evidence storage data;
and calculating a hash value corresponding to the spliced certificate storing data and sending the hash value serving as certificate storing information to a server.
Optionally, after calculating the hash value corresponding to the spliced certificate-storing data and sending the hash value to the server as the certificate-storing information, the method further includes:
receiving broadcast success information, and sending a parameter information downloading instruction to a server;
and downloading the parameter information of the electronic data, and then performing parameter combination to generate a certificate of deposit.
In a third aspect, an embodiment of the present application provides an electronic data evidence storing method based on a block chain, where the method includes:
the client receives the electronic data certificate storing request and sends the electronic data certificate storing request to the server;
the server receives the electronic data certificate storing request, generates a random character string and sends the random character string to the client;
the client acquires electronic data, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates a certificate storage parameter set of the electronic data, and sends the certificate storage parameter set to the server;
and the server receives the authentication parameter storage set, calculates a root hash value corresponding to a Mercker tree of the authentication parameter storage set to generate transaction data and broadcasts the transaction data to the block chain.
Optionally, after generating the transaction data and broadcasting the transaction data to the blockchain, the method further includes:
according to the success of the transaction data broadcast, the server generates broadcast success information and sends the broadcast success information to the client;
the client receives the broadcast success information and sends a parameter information downloading instruction to the server;
the server downloads the parameter information of the electronic data and sends the parameter information to the client;
the client performs parameter combination on the parameter information to generate a certificate of deposit; the certificate-storing certificate consists of a server-side random character string, a certificate-storing data hash value, a Merck tree of a certificate-storing service, a block chain number and a transaction number.
Optionally, after the generating the certificate of existence credential, the method further includes:
calculating whether the hash value of the root node of the Mercker tree in the evidence storage certificate is consistent with the hash value of the root node of the Mercker tree stored in the block chain by adopting a hash algorithm, and checking the integrity of the Mercker tree;
calculating a random value in the certificate of authenticity and a hash value of the new data after data splicing by adopting a hash algorithm;
and verifying the integrity of the data according to whether the hash value corresponding to the random value of the certificate in the Mercker tree stored in the block chain is consistent with the hash value of the new data.
In a fourth aspect, an embodiment of the present application provides an electronic data evidence storing system based on a block chain, where the system includes:
the request sending module is used for receiving the electronic data certificate storing request by the client and sending the electronic data certificate storing request to the server;
the random character string generating module is used for receiving the electronic data certificate storing request by the server, generating a random character string and sending the random character string to the client;
the parameter sending module is used for acquiring electronic data by the client, splicing the electronic data and the random character string to generate spliced data, calculating a hash value of the spliced data, generating a certificate storing parameter set of the electronic data, merging and sending the certificate storing parameter set to the server;
and the data broadcasting module is used for receiving the evidence storage parameter set by the server, combining and calculating a root hash value corresponding to the Mercker tree of the evidence storage parameter set to generate transaction data and broadcasting the transaction data to the block chain.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a sixth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, a system firstly receives an electronic data evidence storing request through a client, sends the electronic data evidence storing request to a server, then receives the electronic data evidence storing request through the server, generates a random character string and sends the random character string to the client, then obtains electronic data through the client, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates an electronic data evidence storing parameter set, merges the electronic data evidence storing parameter set and sends the electronic data to the server, and finally receives the electronic data storing parameter set through the server, merges and calculates a root hash value corresponding to a Merck tree of the evidence storing parameter set to generate transaction data and broadcasts the transaction data to a block chain. Because this application has had ripe block chain network in the reality to provide data and has deposited evidence service, through using the biggest block chain network in the reality (the big scale means safer), can make full use of block chain's data tamper resistance ability, under the block chain network condition need not building oneself, through keeping the evidence request to organize the collection and reach the deposit evidence cost that reduces the user, reduced the risk level that data was revealed simultaneously.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flowchart of an electronic data evidence storing method based on a block chain according to an embodiment of the present application;
FIG. 2 is a system architecture diagram of an electronic data verification system based on a block chain according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a Merck tree formed by evidence storage information received within a time period according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating a certificate storage format of a certificate storage voucher according to an embodiment of the present application;
FIG. 5 is a structural diagram of a certificate authority data structure of a certificate authority provided in an embodiment of the present application;
FIG. 6 is a system diagram of an electronic data verification system based on a block chain according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
It should be understood that the described embodiments are only some embodiments of the invention, and not all 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.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of systems and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
So far, for electronic data storage based on a block chain, a block chain bottom platform needs to be built by itself, or a plurality of factories are added to build a alliance chain, on the basis, data uploaded by a user is encrypted for storage, and finally, user data is stored into a block chain or an alliance chain node. Because the possibility of 'repugnance' of the alliance is difficult to put an end to practice by building a block chain network by itself or building an alliance chain by a plurality of alliances jointly, the use cost is high, the method is not suitable for low-budget clients and low-value data storage scenes, and when a user uploads data to a platform, the risk level of data leakage is increased in the processes of transmission, storage and debugging. Therefore, the present application provides a method, a system, a storage medium and a terminal for storing electronic data based on a block chain, so as to solve the problems in the related art. In the technical scheme provided by the application, because the data evidence storage service is provided by utilizing the existing mature block chain network in reality, the largest block chain network (the large scale means more safety) in the reality is used, the data tamper-proofing capability of the block chain can be fully utilized, under the condition that the block chain network is not required to be built by self, the evidence storage cost of a user is reduced by organizing and summarizing the evidence storage request, meanwhile, the risk level of data leakage is reduced, and the following exemplary embodiment is adopted for detailed description.
The block chain-based electronic data evidence storing method provided by the embodiment of the application will be described in detail below with reference to fig. 1 to 5. The method may be implemented in dependence on a computer program operable on a block chain based electronic data verification system based on the von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application. The client corresponding to the block chain-based electronic data storage system in the embodiment of the present application may be a user terminal, including but not limited to: personal computers, tablet computers, handheld devices, in-vehicle devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and the like. The user terminals may be called different names in different networks, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user system, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal device in a 5G network or future evolution network, and the like.
Referring to fig. 1, a flow chart of an electronic data evidence storing method based on a block chain is provided for an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, a client receives an electronic data certificate storing request and sends the electronic data certificate storing request to a server;
the electronic certificate storage system comprises a server and the client (excluding a blockchain network), the server comprises a blockchain network docking service and an agent sub-service, and the blockchain network is only used for receiving transaction data sent by the server. The electronic data evidence is solidified and preserved, so that the electronic evidence can meet legal letter collecting requirements, namely, the electronic data is evidentialized.
Generally, a client of the authentication system is a user terminal, and a server is composed of a blockchain network docking service and one or more proxy sub-services. The block chain docking service combines the evidence information of the user data collected by the agent sub-service into a Merkel Tree (Merkel Tree), then calculates the root hash value of the Merkel Tree, and on the other hand, the block chain docking service is equivalent to a client of a block chain network, stores the calculated root hash value into transaction data and broadcasts the transaction data to a block chain, but does not participate in competitive accounting right (namely mining). The function of the agent sub-service is to respond to the certificate storing request of the client and upload the certificate storing information in a period of time to the block chain docking service.
The whole server thus implements these functions: and summarizing the certificate storage information, calculating MerkelTree of a batch of certificate storage information, and promoting the successful storage of the certificate storage service in the block chain.
In the embodiment of the application, when a certificate storing request exists, the client side initiates a certificate storing application to the agent sub-service in the server side in a wired or wireless mode.
In a possible implementation manner, a user firstly triggers an electronic data certificate storing request through a client (user terminal), and after the request is triggered, the user terminal generates a certificate storing instruction and sends the certificate storing instruction to a server in a wired or wireless manner.
For example, when a user xiao ming wants to perform electronic data storage for a file stored in a user terminal, the xiao ming firstly selects a designated electronic file at the user terminal, then triggers an electronic storage request for the electronic file through the user terminal, and when the user terminal detects that the storage request is triggered, the user terminal generates an electronic storage request instruction and sends the electronic storage request instruction to a server side in a wired or wireless mode.
S102, the server receives the electronic data certificate storing request, generates a random character string and sends the random character string to the client;
the random character string is generated by combining any character at the server.
In the embodiment of the application, the agent sub-service of the server receives the electronic certificate storing request, then obtains a plurality of characters through an internal preset program to be combined, generates a random character string and sends the random character string to the user terminal in a wired or wireless mode.
In a possible implementation manner, when an agent sub-service of a server receives an electronic data evidence storage request instruction from a user terminal, a preset random character string generation program is firstly obtained, then a plurality of character strings are obtained according to the preset random character string generation program to be randomly combined, a random character string is generated after the combination is completed, and finally the generated random character string is sent to the user terminal in a wired or wireless manner.
S103, the client acquires electronic data, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates a certificate storage parameter set of the electronic data, merges the certificate storage parameter set and sends the electronic data to the server;
in a possible implementation mode, a user terminal receives a random character string sent by a server, after the random character string is received, stored electronic data is firstly obtained through a character string splicing program of a client, then the electronic data and the received random character string are spliced, spliced data is generated after splicing is completed, the user terminal calculates a hash value of the spliced data according to the generated spliced data to generate a certificate storage parameter set of the electronic data, and finally the certificate storage parameter set of the electronic data is sent to the server in a wireless or wired mode.
S104, the server receives the evidence storage parameter set, and calculates a root hash value corresponding to the Mercker tree of the evidence storage parameter set to generate transaction data and broadcasts the transaction data to the block chain.
In a possible implementation manner, the agent sub-service of the server receives the certificate storing information within a period of time, and then uploads the certificate storing information within a period of time to the block chain docking service of the server, after the block chain docking service receives the certificate storing information within a period of time (i.e., the random value generated by the server and the hash value calculated based on the random value), the certificate storing information within a period of time forms a leaf node of a Merkel Tree (Merkel Tree), for example, as shown in fig. 3, then the root hash value of the Merkel Tree is calculated by a preset algorithm, and finally the root hash value of the Merkel Tree is stored in the transaction data and the transaction data is broadcasted to the block chain. Wherein the Merkel Tree is taken as a part of the certificate of evidence storage and is finally stored by the user.
Further, after the transaction data is broadcast successfully, firstly, the server generates broadcast success information and sends the broadcast success information to the client, then, the client receives the broadcast success information and sends a parameter information downloading instruction to the server, the server downloads the parameter information of the electronic data and sends the parameter information to the client, and finally, the client performs parameter combination on the parameter information to generate the evidence of deposit. The certificate-storing certificate is composed of a server-side random character string, a certificate-storing data hash value, a tacle tree of a certificate-storing service, a block chain number and a transaction number, as shown in fig. 4 and 5.
Further, when data integrity is checked, a hash algorithm is adopted to calculate a random value in the certificate of existence and a hash value of new data after data splicing, and then data integrity is checked according to whether the hash value corresponding to the random value of the certificate of existence in the tacle tree stored in the block chain is consistent with the hash value of the new data.
Specifically, fig. 4 and 5 show the main parameters of the certificate information and the storage format of the data certificate at the user end. When the client side sends a certificate storage request to the server side, the server side returns a random value (the form can adopt a random character string) to the client side, the client side splices the acquired random value and the certificate storage data in the internal memory, a hash value is calculated on the splicing result (a user can select one from accepted hash algorithms to calculate), and the hash value is sent to the server side. After the server successfully stores the transaction information into the block chain, the client downloads the whole MerkelTree data of the batch of storage certificates, the block numbers, the transaction numbers and the like from the server. The client may use the structure described in fig. 5 to save the certificate of authenticity as a file.
When the integrity of user data needs to be checked, the integrity of the Mercker tree and the integrity of the data need to be checked respectively. When the integrity of the Merkel Tree is checked, firstly, according to the block chain parameters in the certificate, the hash value of the root node of the Merkel Tree stored at the beginning is searched from the transaction information disclosed by the block chain, then, according to the Merkel Tree in the certificate and the hash algorithm published by the service, the integrity of the Merkel Tree can be checked, namely, whether the calculated root hash value is consistent with the value stored in the block chain or not is judged, and if so, the Merkel Tree is not tampered. And finally, checking the integrity of the data, when the integrity of the data is checked, firstly adopting a hash algorithm selected by a user and recorded in the certificate, calculating the hash value of the random value in the certificate and the new data after data splicing through the selected hash algorithm, and if the obtained result is consistent with the hash value corresponding to the random value in the Merkel Tree, indicating that the file is complete and is not tampered.
In the embodiment of the application, a system firstly receives an electronic data evidence storing request through a client, sends the electronic data evidence storing request to a server, then receives the electronic data evidence storing request through the server, generates a random character string and sends the random character string to the client, then obtains electronic data through the client, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates an electronic data evidence storing parameter set, merges the electronic data evidence storing parameter set and sends the electronic data to the server, and finally receives the electronic data storing parameter set through the server, merges and calculates a root hash value corresponding to a Merck tree of the evidence storing parameter set to generate transaction data and broadcasts the transaction data to a block chain. Because this application has had ripe block chain network in the reality to provide data and has deposited evidence service, through using the biggest block chain network in the reality (the big scale means safer), can make full use of block chain's data tamper resistance ability, under the block chain network condition need not building oneself, through keeping the evidence request to organize the collection and reach the deposit evidence cost that reduces the user, reduced the risk level that data was revealed simultaneously.
The following are embodiments of systems of the present invention that may be used to perform embodiments of methods of the present invention. For details which are not disclosed in the embodiments of the system of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 6, a schematic structural diagram of an electronic data verification system based on a block chain according to an exemplary embodiment of the present invention is shown. The blockchain-based electronic data verification system may be implemented as all or part of a terminal, in software, hardware, or a combination of both. The system 1 comprises a request sending module 10, a random character string generating module 20, a parameter sending module 30 and a data broadcasting module 40.
A request sending module 10, configured to receive an electronic data certificate storing request by a client and send the electronic data certificate storing request to a server;
the random character string generating module 20 is used for the server side to receive the electronic data evidence storing request, generate a random character string and send the random character string to the client side;
the parameter sending module 30 is used for the client to obtain electronic data, splicing the electronic data and the random character string to generate spliced data, calculating a hash value of the spliced data, generating a certificate storing parameter set of the electronic data, merging and sending the certificate storing parameter set to the server;
and the data broadcasting module 40 is configured to receive the storage parameter set by the server, and calculate a root hash value corresponding to the mercker tree of the storage parameter set to generate transaction data and broadcast the transaction data to the blockchain.
It should be noted that, when the electronic data evidence storing system based on the block chain provided in the above embodiment executes the electronic data evidence storing method based on the block chain, only the division of the above functional modules is taken as an example, and in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the block chain-based electronic data evidence storing system provided in the above embodiment and the block chain-based electronic data evidence storing method embodiment belong to the same concept, and details of the implementation process are described in the method embodiment and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a system firstly receives an electronic data evidence storing request through a client, sends the electronic data evidence storing request to a server, then receives the electronic data evidence storing request through the server, generates a random character string and sends the random character string to the client, then obtains electronic data through the client, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates an electronic data evidence storing parameter set, merges the electronic data evidence storing parameter set and sends the electronic data to the server, and finally receives the electronic data storing parameter set through the server, merges and calculates a root hash value corresponding to a Merck tree of the evidence storing parameter set to generate transaction data and broadcasts the transaction data to a block chain. Because this application has had ripe block chain network in the reality to provide data and has deposited evidence service, through using the biggest block chain network in the reality (the big scale means safer), can make full use of block chain's data tamper resistance ability, under the block chain network condition need not building oneself, through keeping the evidence request to organize the collection and reach the deposit evidence cost that reduces the user, reduced the risk level that data was revealed simultaneously.
The present invention also provides a computer readable medium, on which program instructions are stored, which when executed by a processor implement the block chain-based electronic data evidence storing method provided by the above-mentioned method embodiments. The present invention also provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for blockchain-based electronic data attestation described in the various method embodiments above.
Please refer to fig. 7, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 7, the terminal 1000 can include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 interfaces various components throughout the electronic device 1000 using various interfaces and lines to perform various functions of the electronic device 1000 and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and invoking data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory system located remotely from the processor 1001. As shown in fig. 7, a memory 1005, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a blockchain-based electronic data certification application.
In the terminal 1000 shown in fig. 7, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke a blockchain-based electronic data credentialing application stored in the memory 1005, and specifically perform the following operations:
receiving an input electronic data evidence storing instruction, sending an electronic data evidence storing request to a server and receiving a random character string returned from the server;
acquiring electronic data;
splicing the random character string and the electronic data to generate spliced evidence storage data;
and calculating a hash value corresponding to the spliced certificate storing data and sending the hash value serving as certificate storing information to a server.
In one embodiment, after the processor 1001 calculates the hash value corresponding to the spliced certificate storage data and sends the hash value to the server as certificate storage information, the following operations are further performed:
receiving broadcast success information, and sending a parameter information downloading instruction to a server;
and downloading the parameter information of the electronic data, and then performing parameter combination to generate a certificate of deposit.
In one embodiment, after the downloading of the parameter information of the electronic data and the parameter combination are performed, and the credential is generated, the processor 1001 further performs the following operations:
calculating whether the hash value of the root node of the Mercker tree in the evidence storage certificate is consistent with the hash value of the root node of the Mercker tree stored in the block chain by adopting a hash algorithm, and checking the integrity of the Mercker tree;
calculating a random value in the certificate of authenticity and a hash value of the new data after data splicing by adopting a hash algorithm;
and verifying the integrity of the data according to whether the hash value corresponding to the random value of the certificate in the Mercker tree stored in the block chain is consistent with the hash value of the new data.
In the embodiment of the application, a system firstly receives an electronic data evidence storing request through a client, sends the electronic data evidence storing request to a server, then receives the electronic data evidence storing request through the server, generates a random character string and sends the random character string to the client, then obtains electronic data through the client, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates an electronic data evidence storing parameter set, merges the electronic data evidence storing parameter set and sends the electronic data to the server, and finally receives the electronic data storing parameter set through the server, merges and calculates a root hash value corresponding to a Merck tree of the evidence storing parameter set to generate transaction data and broadcasts the transaction data to a block chain. Because this application has had ripe block chain network in the reality to provide data and has deposited evidence service, through using the biggest block chain network in the reality (the big scale means safer), can make full use of block chain's data tamper resistance ability, under the block chain network condition need not building oneself, through keeping the evidence request to organize the collection and reach the deposit evidence cost that reduces the user, reduced the risk level that data was revealed simultaneously.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. An electronic data evidence storing method based on a block chain is applied to a server side, and is characterized in that the method comprises the following steps:
receiving and summarizing the certificate storing information sent by the client to generate a certificate storing information set;
combining all the evidence storage information in the evidence storage information set to generate a Merck tree of the evidence storage information;
calculating a root hash value corresponding to the Mercker tree of the evidence storage information;
generating transaction data from the root hash value and broadcasting the transaction data to a blockchain.
2. The method of claim 1, wherein after generating transaction data from the root hash value and broadcasting the transaction data to a blockchain, further comprising:
and when the transaction data is successfully broadcasted to the block chain, generating broadcast success information and sending the broadcast success information to the client.
3. An electronic data evidence storing method based on a block chain is applied to a client and is characterized by comprising the following steps:
receiving an input electronic data evidence storing instruction, sending an electronic data evidence storing request to a server and receiving a random character string returned from the server;
acquiring electronic data;
splicing the random character string and the electronic data to generate spliced evidence storage data;
and calculating a hash value corresponding to the spliced certificate storing data and sending the hash value serving as certificate storing information to a server.
4. The method of claim 3, wherein after the calculating the hash value corresponding to the spliced certificate-storing data and sending the hash value as certificate-storing information to the server, the method further comprises:
receiving broadcast success information, and sending a parameter information downloading instruction to a server;
and downloading the parameter information of the electronic data, and then performing parameter combination to generate a certificate of deposit.
5. An electronic data evidence storing method based on a block chain is characterized by comprising the following steps:
the client receives the electronic data certificate storing request and sends the electronic data certificate storing request to the server;
the server receives the electronic data certificate storing request, generates a random character string and sends the random character string to the client;
the client acquires electronic data, splices the electronic data and the random character string to generate spliced data, calculates a hash value of the spliced data, generates a certificate storage parameter set of the electronic data, and sends the certificate storage parameter set to the server;
and the server receives the authentication parameter storage set, calculates a root hash value corresponding to a Mercker tree of the authentication parameter storage set to generate transaction data and broadcasts the transaction data to the block chain.
6. The method of claim 5, wherein after generating and broadcasting transaction data to a blockchain, further comprising:
according to the success of the transaction data broadcast, the server generates broadcast success information and sends the broadcast success information to the client;
the client receives the broadcast success information and sends a parameter information downloading instruction to the server;
the server downloads the parameter information of the electronic data and sends the parameter information to the client;
the client performs parameter combination on the parameter information to generate a certificate of deposit; the certificate-storing certificate consists of a server-side random character string, a certificate-storing data hash value, a Merck tree of a certificate-storing service, a block chain number and a transaction number.
7. The method of claim 6, wherein after generating the proof document, further comprising:
calculating whether the hash value of the root node of the Mercker tree in the evidence storage certificate is consistent with the hash value of the root node of the Mercker tree stored in the block chain by adopting a hash algorithm, and checking the integrity of the Mercker tree;
calculating a random value in the certificate of authenticity and a hash value of the new data after data splicing by adopting a hash algorithm;
and verifying the integrity of the data according to whether the hash value corresponding to the random value of the certificate in the Mercker tree stored in the block chain is consistent with the hash value of the new data.
8. An electronic data evidence keeping system based on a blockchain, the system comprising:
the request sending module is used for receiving the electronic data certificate storing request by the client and sending the electronic data certificate storing request to the server;
the random character string generating module is used for receiving the electronic data certificate storing request by the server, generating a random character string and sending the random character string to the client;
the parameter sending module is used for acquiring electronic data by the client, splicing the electronic data and the random character string to generate spliced data, calculating a hash value of the spliced data, generating a certificate storing parameter set of the electronic data, merging and sending the certificate storing parameter set to the server;
and the data broadcasting module is used for receiving the evidence storage parameter set by the server, combining and calculating a root hash value corresponding to the Mercker tree of the evidence storage parameter set to generate transaction data and broadcasting the transaction data to the block chain.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN202010407710.1A 2020-05-14 2020-05-14 Block chain-based electronic data evidence storing method, system, storage medium and terminal Pending CN111711655A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010407710.1A CN111711655A (en) 2020-05-14 2020-05-14 Block chain-based electronic data evidence storing method, system, storage medium and terminal
PCT/CN2020/133925 WO2021227457A1 (en) 2020-05-14 2020-12-04 Blockchain-based electronic data evidence preservation method and system, and storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010407710.1A CN111711655A (en) 2020-05-14 2020-05-14 Block chain-based electronic data evidence storing method, system, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111711655A true CN111711655A (en) 2020-09-25

Family

ID=72537820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010407710.1A Pending CN111711655A (en) 2020-05-14 2020-05-14 Block chain-based electronic data evidence storing method, system, storage medium and terminal

Country Status (2)

Country Link
CN (1) CN111711655A (en)
WO (1) WO2021227457A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784312A (en) * 2021-01-13 2021-05-11 杭州溪塔科技有限公司 Method and device for executing multiple deposit certificate transactions in combined mode and electronic equipment
CN113095828A (en) * 2021-04-27 2021-07-09 支付宝(杭州)信息技术有限公司 Data evidence storage method and device based on block chain
CN113129145A (en) * 2021-03-12 2021-07-16 广州八爪鱼科技有限公司 Electronic evidence storing and verifying method and device based on block chain
CN113256470A (en) * 2021-05-25 2021-08-13 特斯联科技集团有限公司 Weapon equipment management system and method based on block chain
WO2021227457A1 (en) * 2020-05-14 2021-11-18 特斯联科技集团有限公司 Blockchain-based electronic data evidence preservation method and system, and storage medium and terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844654B (en) * 2022-07-06 2022-09-06 湖南密码工程研究中心有限公司 Vehicle networking credible state data proving method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825145A (en) * 2016-03-16 2016-08-03 孙凤鸣 Electronic evidence taking method, evidence taking server, evidence taking intelligent terminal and evidence taking system
CN107682308A (en) * 2017-08-16 2018-02-09 北京航空航天大学 The electronic evidence preservation system for Channel Technology of being dived based on block chain
CN108898032A (en) * 2018-07-20 2018-11-27 杭州尚尚签网络科技有限公司 A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card
CN109766724A (en) * 2018-12-19 2019-05-17 四川商通实业有限公司 Data evidence storing method based on block chain
WO2020035087A2 (en) * 2019-11-06 2020-02-20 Alipay (Hangzhou) Information Technology Co., Ltd. Consenus of shared blockchain data storage based on error correction code

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
US10581591B1 (en) * 2017-10-17 2020-03-03 Matthew Branton Probabilistic secondary token issuance on a blockchain based on burning of a primary token of the blockchain
CN108897760A (en) * 2018-05-22 2018-11-27 贵阳信息技术研究院(中科院软件所贵阳分部) Electronic evidence chain integrity verification method based on Merkel tree
CN109101572B (en) * 2018-07-17 2021-03-02 何晓行 Block chain based evidence storing method and device, server and storage medium
CN111444257A (en) * 2020-02-11 2020-07-24 江苏荣泽信息科技股份有限公司 Block chain-based electronic evidence storage method and system
CN111444542A (en) * 2020-03-30 2020-07-24 陈兴芜 Data processing method, device and storage medium for copyright file
CN111460394A (en) * 2020-03-30 2020-07-28 陈兴芜 Copyright file verification method and device and computer readable storage medium
CN111711655A (en) * 2020-05-14 2020-09-25 特斯联科技集团有限公司 Block chain-based electronic data evidence storing method, system, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825145A (en) * 2016-03-16 2016-08-03 孙凤鸣 Electronic evidence taking method, evidence taking server, evidence taking intelligent terminal and evidence taking system
CN107682308A (en) * 2017-08-16 2018-02-09 北京航空航天大学 The electronic evidence preservation system for Channel Technology of being dived based on block chain
CN108898032A (en) * 2018-07-20 2018-11-27 杭州尚尚签网络科技有限公司 A kind of electronic data based on block chain technology deposits the high-efficient treatment method of card
CN109766724A (en) * 2018-12-19 2019-05-17 四川商通实业有限公司 Data evidence storing method based on block chain
WO2020035087A2 (en) * 2019-11-06 2020-02-20 Alipay (Hangzhou) Information Technology Co., Ltd. Consenus of shared blockchain data storage based on error correction code

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021227457A1 (en) * 2020-05-14 2021-11-18 特斯联科技集团有限公司 Blockchain-based electronic data evidence preservation method and system, and storage medium and terminal
CN112784312A (en) * 2021-01-13 2021-05-11 杭州溪塔科技有限公司 Method and device for executing multiple deposit certificate transactions in combined mode and electronic equipment
CN113129145A (en) * 2021-03-12 2021-07-16 广州八爪鱼科技有限公司 Electronic evidence storing and verifying method and device based on block chain
CN113129145B (en) * 2021-03-12 2022-03-22 广州广电仲达数字科技有限公司 Electronic evidence storing and verifying method and device based on block chain
CN113095828A (en) * 2021-04-27 2021-07-09 支付宝(杭州)信息技术有限公司 Data evidence storage method and device based on block chain
CN113095828B (en) * 2021-04-27 2023-09-01 支付宝(杭州)信息技术有限公司 Data storage method and device based on blockchain
CN113256470A (en) * 2021-05-25 2021-08-13 特斯联科技集团有限公司 Weapon equipment management system and method based on block chain

Also Published As

Publication number Publication date
WO2021227457A1 (en) 2021-11-18

Similar Documents

Publication Publication Date Title
CN111711655A (en) Block chain-based electronic data evidence storing method, system, storage medium and terminal
CN108197891B (en) Electronic signing device and method based on block chain
CN110177124A (en) Identity identifying method and relevant device based on block chain
CN106572146A (en) Message sending method and message sending device
CN110601896A (en) Data processing method and equipment based on block chain nodes
CN111090386A (en) Cloud storage method, device and system and computer equipment
CN111461720A (en) Identity verification method and device based on block chain, storage medium and electronic equipment
CN112637300B (en) Block chain-based distributed storage and acquisition method and device for video information
CN111131127B (en) Communication method based on live broadcast platform and related device
CN113129002A (en) Data processing method and equipment
CN110618989A (en) Information processing method, information processing device and related product
CN113489714B (en) Multi-module-based intelligent message cross processing method and system
CN113794566B (en) Re-voting binary consensus method, device and storage medium
CN113051585B (en) Data verification method and device, electronic equipment and storage medium
CN113987062A (en) Data uplink storage method, system, device and storage medium
CN112650763A (en) Configuration method of product quota, related equipment and storage medium
CN108882005B (en) Barrage verification method, computer equipment and storage medium
CN111835815A (en) Synchronous storage method and device for internet self-media data on block chain
CN116702218B (en) Rendering method, device, terminal and storage medium of three-dimensional model in applet
CN117040929B (en) Access processing method, device, equipment, medium and program product
CN117040930B (en) Resource processing method, device, product, equipment and medium of block chain network
CN112073359B (en) Information interaction method, device, equipment and system
CN115632788A (en) Dynamic access method and device for nodes in alliance chain and electronic equipment
CN117391706A (en) Data transfer method and device, electronic equipment and storage medium
CN115730936A (en) Data processing method and device for block chain network, computer equipment and medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200925

RJ01 Rejection of invention patent application after publication