CN114692210A - Data storage system, method, equipment and medium - Google Patents

Data storage system, method, equipment and medium Download PDF

Info

Publication number
CN114692210A
CN114692210A CN202011560378.9A CN202011560378A CN114692210A CN 114692210 A CN114692210 A CN 114692210A CN 202011560378 A CN202011560378 A CN 202011560378A CN 114692210 A CN114692210 A CN 114692210A
Authority
CN
China
Prior art keywords
characteristic value
electronic data
electronic
certificate
server
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
CN202011560378.9A
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.)
Shaanxi Aerospace Information Co ltd
Aisino Corp
Original Assignee
Shaanxi Aerospace Information Co ltd
Aisino Corp
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 Shaanxi Aerospace Information Co ltd, Aisino Corp filed Critical Shaanxi Aerospace Information Co ltd
Priority to CN202011560378.9A priority Critical patent/CN114692210A/en
Publication of CN114692210A publication Critical patent/CN114692210A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a data storage system, a data storage method, data storage equipment and a data storage medium, which are used for solving the problems of complex flow, low efficiency and high cost in data storage in the prior art. In the embodiment of the invention, the data storage is carried out only by sending the certificate storage request to the server, so the process is simple, and after the server receives the certificate storage request, the server can obtain the characteristic value of the electronic data and send the characteristic value to the first block chain node, and the first block chain node stores the characteristic value, thereby realizing automatic storage, reducing the labor cost during storage and improving the storage efficiency.

Description

Data storage system, method, equipment and medium
Technical Field
The present invention relates to the field of block chaining technologies, and in particular, to a data storage system, method, device, and medium.
Background
With the progress of society, the development of electronic data is particularly important, the electronic data is a modern high-tech product, and the electronic data has the characteristics of easy creation, easy storage, easy transmission, high utilization rate and the like, and is a reliable evidence with proving strength. Wherein the electronic data includes images or advertising banners, etc. Since electronic data is intellectual activity of a user, it is necessary to store the electronic data in order to prevent the risk of infringement of the electronic data, and there is a risk that the electronic data is easily tampered when stored.
In the prior art, when electronic data is stored, the electronic data is mainly stored in a notarization place, the data is firstly stored and stored better according to data types when the electronic data is stored, credibility and integrity of the data are also ensured well, manual intervention is high, and the business process of storing and processing the certificates is complicated, low in efficiency and high in cost.
Disclosure of Invention
The invention provides a data storage system, a data storage method, a data storage device, data storage equipment and a data storage medium, which are used for solving the problems of complex flow, low efficiency and high cost in data storage in the prior art.
In a first aspect, an embodiment of the present invention provides a data storage system, where the system includes: a server and a first blockchain node;
the server is used for receiving the certificate storing request and acquiring electronic data carried by the certificate storing request; acquiring a characteristic value of the electronic data based on a state cryptographic algorithm, and sending the characteristic value to the first block chain node;
and the first block chain node is used for receiving and storing the characteristic value.
In a second aspect, an embodiment of the present invention provides a data storage method, where the method includes:
receiving a certificate storing request;
acquiring electronic data carried by the certificate storing request;
and acquiring a characteristic value of the electronic data based on a state cipher algorithm, and sending the characteristic value to a first block chain node to enable the first block chain node to receive and store the characteristic value.
In a third aspect, an embodiment of the present invention provides a data storage device, where the device includes:
the receiving module is used for receiving the certificate storing request;
the acquisition module is used for acquiring the electronic data carried by the certificate storing request;
and the processing module is used for acquiring the characteristic value of the electronic data based on a cryptographic algorithm, and sending the characteristic value to the first block chain node so that the first block chain node receives and stores the characteristic value.
In a fourth aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes at least a processor and a memory, and the processor is configured to execute the data storage steps when executing a computer program stored in the memory.
In a fifth aspect, the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, performs the steps of the data storage.
In the embodiment of the invention, the data storage is carried out only by sending the certificate storage request to the server, so the process is simple, and after the server receives the certificate storage request, the server can obtain the characteristic value of the electronic data and send the characteristic value to the first block chain node, and the first block chain node stores the characteristic value, thereby realizing automatic storage, reducing the labor cost during storage and improving the storage efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of a data storage system according to some embodiments of the present invention;
fig. 2 is a schematic diagram of a relationship between modules in a first blockchain node and a second blockchain node according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a data storage according to an embodiment of the present invention;
fig. 4 is a schematic process diagram of a data storage method according to an embodiment of the present invention;
FIG. 5 is a block diagram of a data storage device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
In order to make the process simple, reduce the cost and improve the efficiency when storing data, the embodiment of the invention provides a data storage system, a method, a device, equipment and a medium.
Example 1:
fig. 1 is a schematic structural diagram of a data storage system according to some embodiments of the present invention, where the system includes: a server 101 and a first blockchain node 102;
the server 101 is configured to receive an authentication storing request and obtain electronic data carried by the authentication storing request; extracting a characteristic value of the electronic data based on a state cryptographic algorithm, and sending the characteristic value to the first block chain node 102;
the first blockchain node 102 is configured to receive and store the characteristic value.
In the embodiment of the present invention, after the server 101 receives the certificate storing request, the electronic data carried in the certificate storing request may be acquired based on the received certificate storing request. In order to avoid that the electronic data is too large and occupies the memory in the node, in the embodiment of the invention, the characteristic value of the electronic data to be stored is extracted based on the cryptographic algorithm. And sending the generated characteristic value to a first block chain node, receiving and storing the characteristic value by the first block chain node, and storing the electronic data by storing the characteristic value.
Specifically, the cryptographic algorithm may be a hash algorithm, and in the embodiment of the present invention, when the feature value is obtained, the electronic data is generated into a segment of code, that is, the feature value, through the hash algorithm. That is, only two identical pieces of electronic data are subjected to the hash algorithm to obtain the same feature value. In the embodiment of the present invention, the first blockchain node is an application access mechanism node, where the application access mechanism node may be a third-party certificate authority node, a political commission node, a public security node, a justice node, an arbitration node, and the like, and may be expanded in the future. The specific application is not limited herein as to why the access agency node is a node.
In the embodiment of the invention, when the data is stored, only the certificate storing request needs to be sent to the server, so that the process is simple, after the server receives the certificate storing request, the characteristic value of the electronic data is obtained and sent to the first block link node, and the first block link node stores the characteristic value, so that automatic storage is realized, the labor cost during storage is reduced, and the storage efficiency is improved.
Example 2:
in order to accurately store electronic data, on the basis of the above embodiment, in an embodiment of the present invention, the server 101 is further configured to extract an electronic signature carried in the electronic data, verify the electronic signature according to a pre-stored public key, and if the electronic signature passes verification, obtain a feature value of the electronic data based on a cryptographic algorithm.
Specifically, after the server 101 receives a request for storing the electronic data, the electronic signature carried in the electronic data is acquired, the acquired electronic signature is verified according to a pre-stored public key, and if the electronic signature passes the verification, the electronic data is true, and then a subsequent operation of acquiring a characteristic value of the electronic data based on a cryptographic algorithm is performed. And because the electronic data contains signature data, only two pieces of electronic data are completely consistent to generate completely identical characteristic values, thereby preventing infringement.
The electronic signature is acquired when a user applies for electronic data to an authoritative certification authority on line, and the signature is carried out by using a private key when the electronic signature is carried out. The electronic data type is an electronic contract, and may be combined with an electronic signature technology, specifically, what type of electronic data is combined with the electronic signature technology may be flexibly set, and is not limited herein.
In order to accurately store electronic data, on the basis of the foregoing embodiments, in an embodiment of the present invention, the server 101 is further configured to reject the request for storing the certificate if the electronic signature fails to be verified.
In the embodiment of the invention, if the electronic signature is verified through the pre-stored public key and the verification fails, the certificate storing request carrying the electronic data carrying the electronic signature is rejected.
Example 3:
in order to accurately store electronic data, on the basis of the foregoing embodiments, in an embodiment of the present invention, the server 101 is further configured to obtain an electronic data category carried by the certificate storing request, and send the electronic data category and the feature value to the first blockchain node 102;
the first blockchain node 102 is configured to receive and store the electronic data category and the feature value.
In order to facilitate storage of electronic data, in the embodiment of the present invention, the evidence storing request further carries an electronic data category, and after receiving the evidence storing request, the server 101 obtains the electronic data category carried in the evidence storing request, and packages and sends the electronic data category and the feature value to the first blockchain node 102. And in an embodiment of the present invention, the electronic data categories include: electronic contracts, intellectual property, national deposit certificates, financial transactions, general deposit certificates and the like.
And when the first blockchain node 102 receives the electronic data type and the corresponding feature value, the received electronic data type and the corresponding feature value are saved.
In order to reduce the cost and improve the efficiency, on the basis of the above embodiments, in an embodiment of the present invention, the system further includes: at least one second blockchain node 103;
the first blockchain node 102 is configured to obtain and store the time when the characteristic value is received, and forward the characteristic value and the time to the second blockchain node 103;
and the second blockchain node 103 is configured to receive and store the characteristic value and the time.
In order to avoid the infringement phenomenon, in the embodiment of the present invention, when the first blockchain node receives the feature value sent by the server 101, the time when the feature value is received is obtained, the corresponding relationship between the time and the feature value is stored, and the obtained feature value and the time are packed and forwarded to the second blockchain node 103. And when the characteristic value and the time are sent, the electronic data type corresponding to the characteristic value is sent to the second blockchain node 103.
The second blockchain node 103, upon receiving the eigenvalue and the time sent by the first blockchain node 102, stores the eigenvalue and the corresponding time. So that the related data information of the electronic data is stored in the nodes of the block chain, and when the characteristic value and the corresponding time are stored, the second block chain node 103 stores the electronic data type corresponding to the characteristic value correspondingly. When the electronic data is stored based on the block chain, the hardware and software environment of the computer system which is depended on for storing and transmitting the electronic data to be stored certificate is safe and reliable, so that the safety of the electronic data to be stored certificate can be ensured.
And in an embodiment of the invention, the second block link point comprises: the system comprises nodes such as a supervision institution node, a space information maintenance service node, a consensus node, an expansion node and a judicial appraisal center node. And the supervision organization nodes can be court nodes, inspection yard nodes, judicial bureau nodes and the like according to the service requirements.
Example 4:
in order to improve the user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, the system further includes:
and the query block chain node 104 is configured to receive a query instruction, determine a target characteristic value matched with the query characteristic value and a target time corresponding to the target characteristic value according to the query characteristic value carried by the query instruction, and according to the query characteristic value and a characteristic value stored in the query characteristic value.
In order to improve user experience, when query is performed, a query instruction is sent based on the query blockchain node 104, in order to perform query accurately, the query instruction carries a query characteristic value, after the query blockchain node 104 receives the query instruction, the query characteristic value carried in the query instruction is obtained, according to query information and a characteristic value stored in advance, a characteristic value matched with the query information is determined, and the characteristic value is determined to be a target characteristic value, and as the characteristic value and time for receiving the characteristic value are stored correspondingly, target time corresponding to the target characteristic value can be obtained. The query information is a query characteristic value of electronic data to be queried determined by a cryptographic algorithm offline. When determining the feature value matching the query feature value, specifically, each feature value stored in the query blockchain node 104 is first obtained, and it is determined that a feature value completely consistent with the query feature value exists in the feature values as a target feature value.
In the embodiment of the present invention, the query blockchain node 104 may provide a blockchain evidence disclosure and query function to check information of the electronic data stored in the blockchain, where the information of the electronic data includes a feature value, a time, and a category of the electronic data. In the embodiment of the present invention, the query of the information of the electronic data stored in the blockchain may also be performed through a blockchain browser, where the blockchain browser is connected to a node in the blockchain through a website and a public interface, so as to implement the query of the information of the electronic data stored in the blockchain. And in embodiments of the present invention the query blockchain node 104 may be the first blockchain node 102 or any of the second blockchain nodes.
In order to improve user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, the first blockchain node is configured to generate an uplink credential and send the uplink credential to the server after receiving the feature value;
and the server is used for receiving the uplink certificate, acquiring the terminal carried in the certificate storing request and sending the uplink certificate to the terminal.
In order to enhance the user experience, when the user uploads the electronic data to the first blockchain node 102 through the server 101, the first blockchain node 102 triggers an intelligent contract when receiving the feature value, wherein the intelligent contract generates a uplink certificate when receiving the feature value, and sends the generated uplink certificate to the server 101 sending the feature value. And when the server 101 receives the uplink certificate, the certificate storing request carries the terminal in order to improve the user experience, and when the server 101 receives the uplink certificate, the received uplink certificate is sent to the terminal.
Example 5:
in the embodiment of the invention, the preset electronic contract terms are defined as automatically executable program codes through the intelligent contract, once the contract conditions are met, a corresponding result is generated immediately, the automatic processing of the electronic data storage right business process is realized, the manual intervention cost is reduced, the full-free evidence storage service is provided for self-testified commercial disputes, each node operates according to the content of the intelligent contract, and the specific way of defining the electronic contract terms as the intelligent contract is the prior art, which is not described in detail herein.
In the embodiment of the invention, the block chain is a alliance chain, the alliance chain is built together through a monitoring organization, an aerospace information maintenance service, an application access organization, a judicial authentication center and other multi-element dispute main bodies, a set of distributed electronic certificate storage service platform is realized based on the block chain technology, and the fact that certificate data can be stored and cannot be tampered and traced on the chain can be ensured. Resource allocation needs to be solved by comprehensively planning contradictions including judicial resources in the early stage of uplink, full-chain evidence preservation is started according to the requirement of practice on evidence preservation credibility, and the authenticity problem of uplink data resources is effectively solved. While realizing the distributed storage of the digital fingerprint information of the electronic data through the block chain, the method can also quickly generate a credible electronic data signing evidence chain, seamlessly interface and process the problems of dispute resolution, arbitration of an arbitration mechanism, electronic evidence delivery and the like related to the electronic data; as a party of the alliance, the judicial authentication center can authenticate the electronic evidence kept by the authentication center and issue an authentication report by relying on the evidence-storing alliance chain. Aiming at business environment and customer requirements, the data isolation requirements among competitive companies are realized, the equality of all parties involved and the privacy of data on a chain are considered, and the transparency and the efficiency of the data in the circulation process are improved.
Fig. 2 is a schematic diagram of a relationship between modules in a first block chain node and a second block chain node according to an embodiment of the present invention, where as shown in fig. 2, each node specifically includes: the password support module provides password and digital certificate services for the security support module and the electronic certificate module based on the block chain and the intelligent contract, and the security support module provides security support and block chain services for the electronic certificate module based on the block chain and the intelligent contract.
The password support module comprises national password series algorithms and components, such as SM2/SM9, SM3 and SM4 algorithms; a national cryptographic algorithm chip; the national secret CA is responsible for issuing a digital certificate based on the national secret SM2 algorithm; and the safety of the private key of the user is ensured by a hardware/intelligent card such as a USBKey, a mobile cloud terminal and the like.
The safety support module comprises a password infrastructure submodule, a data safety support submodule and a block chain foundation support submodule.
The cipher infrastructure submodule is a Public Key Infrastructure (PKI) electronic authentication system based on the existing national authentication, and a set of basic cipher service platforms supporting the national cipher SM2/SM9, SM3 and SM4 series algorithms, such as unified identity authentication, real-name authentication service, cloud encryption service, cloud signature service, authorization authentication service, mobile access service, safe transmission service and the like, are built, so that high-reliability and high-availability cipher safety service is provided for the outside.
The data security support submodule is a data authorization system, privacy protection of user data is achieved based on domestic passwords and novel password technologies, data owners can conduct differentiation and fine-grained authorization, and other users can access all or local data after authorization permission. And establishing a data transparent encryption and decryption system to realize the non-sensing data encryption and decryption service supporting a file system, a database and a big data platform.
The block chain foundation support submodule is used for building a block chain foundation support platform based on a domestic cryptographic algorithm aiming at the requirements of real and credible electronic data storage and cross-department data intercommunication scenes. The method has the advantages that a domestic cryptographic algorithm is comprehensively used, and cryptographic hardware equipment is adopted, so that the method has a safe and reliable cryptographic basic environment; the platform has the characteristics of distribution consistency, distrust, no falsification and the like, so that the data is real and credible, and multi-party data intercommunication is realized.
And the electronic evidence storage module based on the block chain and the intelligent contract realizes the full-flow services of electronic data acquisition, evidence storage, evidence obtaining, notarization, authentication, mediation, arbitration and the like. Contract terms are defined into automatically executed program codes through intelligent contracts, and corresponding results are triggered immediately once the contract conditions are met. The whole transaction flow, the performance state and the corresponding processing are automatically completed by an intelligent contract system built in the basic alliance chain. The process is transparent and difficult to forge, is beneficial to guaranteeing the automatic legal contract fulfillment of the contract, reduces the manual intervention cost, and provides operation guarantee for free certificate storage through a technical means.
Fig. 3 is a schematic diagram of data storage provided in the embodiment of the present invention, and a detailed process includes:
s301: the electronic data is electronically signed.
S302: and initiating a certificate storing request at the server.
Wherein the server may be a social public server.
S303: the server acquires the electronic data carried in the access request, acquires an electronic signature carried by the electronic data, verifies the electronic signature, and executes S304 if the verification is passed and executes S305 if the verification fails.
S304: the server acquires the electronic data carried in the evidence storing request, extracts the characteristic value of the electronic data according to a state cryptographic algorithm, and acquires the category of the electronic data carried in the evidence storing request. And performs S306.
S305: the server rejects the received certificate storing request carrying the electronic data.
S306: the server sends the category and the characteristic value of the electronic data to the first blockchain node.
And the first block chain node is an application access mechanism node.
S307: the first block link point acquires the time of receiving the category and the characteristic value of the electronic data sent by the server, and sends the time, the category and the characteristic value of the electronic data to the second block link node.
The judicial appraisal center node in the second block chain node can be used as a third party organization to verify the evidence stored in the block chain, and the supervision organization node can automatically supervise the whole processes of chain linking, public notice, extraction, verification and the like of the electronic data through an intelligent contract technology.
In addition, in the embodiment of the invention, the electronic evidence storing database shared and shared by related parties can be realized through a block chain technology, the electronic data can be automatically stored by an intelligent contract technology, a brand-new free electronic evidence storing business mode can be provided for the self-certified electronic dispute, the internet thinking is used for attracting users, services such as charging value increment are gradually set, and the services such as charging value increment comprise: advertising fees, storage fees, judicial fees, earnings fees, etc.
In addition, the technical means can be adopted to carry out supply chain financing, account receivable financing and bill financing and obtain interest difference benefits in the embodiment of the invention. Through electronic data storage, complete portrayal is conducted on upstream and downstream supply chains of trade, based on credit conduction of core enterprises, electronic data are used as accounts receivable and electronic bill trust endorsements of trade transactions, decentralized and convenient financing of small and medium-sized enterprises in the trade chains is achieved, and operators can also obtain loan interest difference income.
Example 6:
fig. 4 is a schematic process diagram of a data storage method according to an embodiment of the present invention, where the process includes:
s401: a request for credit is received.
S402: and acquiring electronic data carried by the certificate storing request.
S403: and acquiring a characteristic value of the electronic data based on a state cryptographic algorithm, and sending the characteristic value to a first block chain node.
In a possible embodiment, before the obtaining a feature value of the electronic data based on the cryptographic algorithm and sending the feature value to the first block link point, the method further includes:
and extracting the electronic signature carried in the electronic data, verifying the electronic signature according to a pre-stored public key, and if the electronic signature passes verification, executing subsequent operation of acquiring the characteristic value of the electronic data based on a national cryptographic algorithm.
In one possible embodiment, the method further comprises: and if the electronic signature fails to be verified, rejecting the certificate storing request.
In one possible embodiment, the method further comprises: and acquiring the electronic data type carried by the certificate storing request, and sending the electronic data type and the characteristic value to the first block chain node.
In one possible embodiment, the method further comprises: and receiving an uplink certificate, acquiring a terminal carried in the certificate storing request, and sending the uplink certificate to the terminal.
The method is applied to the server, and specific processes of executing the data storage method by the server can refer to the other embodiments, and detailed descriptions are omitted.
Example 7:
fig. 5 is a data storage device according to an embodiment of the present invention, where the data storage device includes:
the receiving module 501 is configured to receive a certificate storing request.
An obtaining module 502, configured to obtain electronic data carried by the certificate storing request.
The processing module 503 is configured to obtain a feature value of the electronic data based on a cryptographic algorithm, and send the feature value to the first blockchain node, so that the first blockchain node receives and stores the feature value.
In a possible implementation manner, the processing module 503 is specifically configured to extract an electronic signature carried in the electronic data, verify the electronic signature according to a pre-stored public key, and if the electronic signature passes verification, execute a subsequent operation based on a cryptographic algorithm to obtain a feature value of the electronic data.
In a possible implementation manner, the processing module 503 is specifically configured to reject the request for storing the certificate if the electronic signature fails to be verified.
In a possible implementation manner, the processing module 503 is specifically configured to acquire an electronic data category carried by the certificate storing request, and send the electronic data category and the feature value to the first blockchain node.
In a possible implementation manner, the processing module 503 is specifically configured to receive an uplink credential, acquire a terminal carried in the credential storing request, and send the uplink credential to the terminal.
Example 8:
fig. 6 is a schematic structural diagram of an electronic device provided in the present application, and on the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, as shown in fig. 6, including: the system comprises a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602 and the memory 603 complete mutual communication through the communication bus 604;
the memory 603 has stored therein a computer program which, when executed by the processor 601, causes the processor 601 to perform the steps of:
receiving a certificate storing request;
acquiring electronic data carried by the certificate storing request;
and acquiring a characteristic value of the electronic data based on a state cipher algorithm, and sending the characteristic value to a first block chain node to enable the first block chain node to receive and store the characteristic value.
In a possible embodiment, before the obtaining a feature value of the electronic data based on the cryptographic algorithm and sending the feature value to the first block link point, the method further includes:
and extracting the electronic signature carried in the electronic data, verifying the electronic signature according to a pre-stored public key, and if the electronic signature passes verification, executing subsequent operation of acquiring the characteristic value of the electronic data based on a national cryptographic algorithm.
In one possible embodiment, the method further comprises: and if the electronic signature fails to be verified, rejecting the certificate storing request.
In one possible embodiment, the method further comprises: and acquiring the electronic data type carried by the certificate storing request, and sending the electronic data type and the characteristic value to the first block chain node.
In one possible embodiment, the method further comprises: and receiving a chain-up certificate, acquiring a terminal carried in the certificate storing request, and sending the chain-up certificate to the terminal.
The communication interface 602 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 9:
on the basis of the foregoing embodiments, the present application provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
receiving a certificate storing request;
acquiring electronic data carried by the certificate storing request;
and acquiring a characteristic value of the electronic data based on a state cipher algorithm, and sending the characteristic value to a first block chain node to enable the first block chain node to receive and store the characteristic value.
In a possible embodiment, before the obtaining a feature value of the electronic data based on the cryptographic algorithm and sending the feature value to the first block link point, the method further includes:
and extracting the electronic signature carried in the electronic data, verifying the electronic signature according to a pre-stored public key, and if the electronic signature passes verification, executing subsequent operation of acquiring the characteristic value of the electronic data based on a national cryptographic algorithm.
In one possible embodiment, the method further comprises: and if the electronic signature fails to be verified, rejecting the certificate storing request.
In one possible embodiment, the method further comprises: and acquiring the electronic data type carried by the certificate storing request, and sending the electronic data type and the characteristic value to the first block chain node.
In one possible embodiment, the method further comprises: and receiving a chain-up certificate, acquiring a terminal carried in the certificate storing request, and sending the chain-up certificate to the terminal.
Since the principle of solving the problem of the computer readable medium is similar to that of the data storage method, after the processor executes the computer program in the computer readable medium, the steps implemented may refer to the other embodiments, and repeated parts are not described again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A data storage system, the system comprising: a server and a first blockchain node;
the server is used for receiving the certificate storing request and acquiring electronic data carried by the certificate storing request; acquiring a characteristic value of the electronic data based on a state cryptographic algorithm, and sending the characteristic value to the first block chain node;
and the first block chain node is used for receiving and storing the characteristic value.
2. The system according to claim 1, wherein the server is further configured to extract an electronic signature carried in the electronic data, verify the electronic signature according to a pre-stored public key, and obtain a feature value of the electronic data based on a cryptographic algorithm if the electronic signature passes verification.
3. The system of claim 2, wherein the server is further configured to reject the request for verification if the electronic signature fails to verify.
4. The system according to claim 1, wherein the server is further configured to obtain an electronic data category carried by the certificate storing request, and send the electronic data category and the feature value to the first blockchain node;
and the first block chain node is used for receiving and storing the electronic data category and the characteristic value.
5. The system according to any one of claims 1-4, further comprising: at least one second blockchain node;
the first blockchain node is used for acquiring and storing the time when the characteristic value is received, and forwarding the characteristic value and the time to the second blockchain node;
and the second block chain node is used for receiving and storing the characteristic value and the time.
6. The system of claim 5, further comprising:
and the query block chain node is used for receiving a query instruction, and determining a target characteristic value matched with the query characteristic value and target time corresponding to the target characteristic value according to the query characteristic value carried by the query instruction and the query characteristic value and the characteristic value stored by the query characteristic value.
7. The system according to claim 1, wherein the first blockchain node is configured to generate and send a uplink credential to the server after receiving the characteristic value;
and the server is used for receiving the uplink certificate, acquiring the terminal carried in the certificate storing request and sending the uplink certificate to the terminal.
8. A method of data storage, the method comprising:
receiving a certificate storing request;
acquiring electronic data carried by the certificate storing request;
and acquiring a characteristic value of the electronic data based on a state cryptographic algorithm, and sending the characteristic value to a first block chain node to enable the first block chain node to receive and store the characteristic value.
9. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being adapted to perform the steps of data storage of claim 7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the data storage of claim 7.
CN202011560378.9A 2020-12-25 2020-12-25 Data storage system, method, equipment and medium Pending CN114692210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011560378.9A CN114692210A (en) 2020-12-25 2020-12-25 Data storage system, method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011560378.9A CN114692210A (en) 2020-12-25 2020-12-25 Data storage system, method, equipment and medium

Publications (1)

Publication Number Publication Date
CN114692210A true CN114692210A (en) 2022-07-01

Family

ID=82129302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011560378.9A Pending CN114692210A (en) 2020-12-25 2020-12-25 Data storage system, method, equipment and medium

Country Status (1)

Country Link
CN (1) CN114692210A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714175A (en) * 2019-03-13 2019-05-03 国家电网有限公司 Deposit card method, evidence collecting method and deposit system
US20190303551A1 (en) * 2014-08-28 2019-10-03 Facetec, Inc. Method and apparatus to dynamically control facial illumination
CN110599142A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Data storage method and device, computer equipment and storage medium
CN110598475A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain-based work attribute information acquisition method and device and computer equipment
CN111552676A (en) * 2020-04-26 2020-08-18 北京众享比特科技有限公司 Block chain based evidence storing method, device, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190303551A1 (en) * 2014-08-28 2019-10-03 Facetec, Inc. Method and apparatus to dynamically control facial illumination
CN109714175A (en) * 2019-03-13 2019-05-03 国家电网有限公司 Deposit card method, evidence collecting method and deposit system
CN110599142A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Data storage method and device, computer equipment and storage medium
CN110598475A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain-based work attribute information acquisition method and device and computer equipment
CN111552676A (en) * 2020-04-26 2020-08-18 北京众享比特科技有限公司 Block chain based evidence storing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
Xu et al. EVchain: an anonymous blockchain-based system for charging-connected electric vehicles
CN111464980B (en) Electronic evidence obtaining device and method based on block chain in Internet of vehicles environment
CN111046352B (en) Identity information security authorization system and method based on block chain
CN110046996B (en) Data processing method and device
CN110245186B (en) Service processing method based on block chain and related equipment
CN111080295A (en) Block chain-based electronic contract processing method and equipment
TWI796675B (en) Blockchain-based identity verification method and related hardware
CN110633963A (en) Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
CN113129518B (en) Electric vehicle charging system and resource management method thereof
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
WO2022089237A1 (en) Blockchain-based value verification method and apparatus, computer device and medium
EP4178155A1 (en) Blockchain-based certification audit data sharing and integrity verification system, device, and method thereof
CN112910660B (en) Certificate issuing method, adding method and transaction processing method of blockchain system
CN114971796B (en) Bidding system based on cloud service platform
CN109816386A (en) Data get through method on a kind of chain of the unified identity authentication based on block chain
CN112235301B (en) Access right verification method and device and electronic equipment
CN112712452A (en) Approval information processing method and device based on block chain
CN114266069A (en) House transaction electronic data sharing system and method based on block chain technology
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
CN112419021A (en) Electronic invoice verification method, system, storage medium, computer equipment and terminal
CN114997867A (en) Data element multi-mode delivery system and method based on block chain and privacy calculation
Jafar et al. A cost-efficient and scalable framework for e-voting system based on Ethereum Blockchain
CN112256799A (en) Data processing method and device based on block chain, server and storage medium
CN113722749A (en) Data processing method and device for block chain BAAS service based on encryption algorithm
CN110599332A (en) Block chain-based user intention determination method, device, equipment and storage 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