CN111966754A - Data storage system based on block chain technology - Google Patents

Data storage system based on block chain technology Download PDF

Info

Publication number
CN111966754A
CN111966754A CN202010833224.6A CN202010833224A CN111966754A CN 111966754 A CN111966754 A CN 111966754A CN 202010833224 A CN202010833224 A CN 202010833224A CN 111966754 A CN111966754 A CN 111966754A
Authority
CN
China
Prior art keywords
module
block chain
information
authentication
data
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
CN202010833224.6A
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.)
Maanshan Rongyao Network Technology Co ltd
Original Assignee
Maanshan Rongyao Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maanshan Rongyao Network Technology Co ltd filed Critical Maanshan Rongyao Network Technology Co ltd
Priority to CN202010833224.6A priority Critical patent/CN111966754A/en
Publication of CN111966754A publication Critical patent/CN111966754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/2228Indexing structures
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • 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

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)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of authentication, in particular to a data storage and verification system based on a block chain technology, which comprises a data acquisition module, a data packaging module, a specific ID marking module, a block chain cache module and a user side, wherein the user side also comprises a login module and a registration module.

Description

Data storage system based on block chain technology
Technical Field
The invention relates to the technical field of authentication, in particular to a data storage and certification system based on a block chain technology.
Background
The block chain is a term in the technical field of information, and essentially, the block chain is a shared database, data or information stored in the database has a wide application prospect, and a data storage and verification system is used for protecting a data holder in the block chain, so that the actions of information leakage, random tampering and the like are prevented, and the existing storage and verification system has the defects that the ID still has a non-unique phenomenon, so that the login identity is not unique and the safety degree is not enough; the cache system is particularly important for storing data, the cache system is often a fixed cache server, and the data information is relatively independent after being added in the later period, so that inconvenience is brought to data information retrieval; the user has disadvantages of both registration and login, identity information is easy to conflict with a block chain during registration, and malicious login phenomenon exists in the login process and is easy to crack.
Disclosure of Invention
The invention aims to solve the defects in the background art and provides a data storage system based on a block chain technology.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a data credentialing system based on blockchain technology, comprising:
the data acquisition module is used for acquiring the content data and the user authentication information sent into the block chain;
the data packaging module is connected with the data acquisition module and is used for matching and packaging the acquired content data and the user authentication information;
the specific ID marking module is connected with the data packaging module and carries out ID marking on the packaged data through a Hash algorithm;
the block chain cache module is connected with the specific ID marking module and caches and stores the ID marked packed data;
the user side is connected with the block chain cache module and provides a user interaction function, and the user side further comprises a login module and a registration module.
Preferably, the data obtaining module includes a content key-in module and an authentication information obtaining module, the content key-in module is used for inputting content data, and the information obtained by the authentication information obtaining module includes identity information and attribute information.
Preferably, the identity information includes a user name, an identification number, a mobile phone number and a mailbox.
Preferably, the specific ID tag module includes a CPU, and the CPU is respectively connected to the random generator, the hash circuit, and the PUF circuit through wires.
Preferably, the CPU is connected to the randomizer, the hash circuit, and the PUF circuit through the AMBA transmission line, the randomizer generates a random number and transmits the random number to the CPU through the AMBA transmission line, the CPU transmits the random number to the PUF circuit through the AMBA transmission line, a value calculated by the PUF circuit is transmitted back to the CPU through the AMBA transmission line, the CPU transmits the value to the hash circuit through the AMBA transmission line, the hash circuit calculates the generated hash value, the hash value is transmitted back to the CPU through the AMBA transmission line, and the hash value is the ID used for specifying the mark.
Preferably, the IPs of the hash circuit and the PUF are designed in Verilog HDL language, and the two IPs are mounted on the CPU through AMBA transmission lines.
Preferably, the blockchain cache module comprises cache servers and blockchain nodes, the blockchain link points comprise a1, a2 … … a (n-2), a (n-1) and An, the blockchain link points form a virtual circuit from head to tail, the cache servers comprise ser1, ser2 … … ser (p-1) and ser, the number of the blockchain nodes is greater than the number of the cache servers, and the cache servers are distributed on the blockchain nodes.
Preferably, the data acquired by the blockchain cache module is stored to the closest cache server in a clockwise direction when the data falls between the blockchain nodes.
Preferably, the login module includes:
the preliminary authentication module is used for carrying out preliminary authentication on the user, and the authentication information comprises secret key information;
the first signature module is connected with the preliminary authentication module and is used for signing the passed preliminary authentication;
the challenge response module is connected with the first signature module and authenticates the identity information after checking the signature;
the second signature module is connected with the challenge response module and carries out second signature after the identity authentication information;
the ID authentication module is connected with the second signature module and is matched with the specific ID of the user for checking and detecting after checking the signature;
and a block chain checking module which is connected with the ID authentication module and checks the ID and the identity information with the information stored in the block chain.
Preferably, the registration module includes:
the identity information input module is used for inputting the identity information of the user to be registered;
the authentication server is connected with the identity information input module and used for receiving and verifying the identity information of the user;
the registration signature module is connected with the authentication server and is used for signing the identity information passing the authentication;
a blockchain information checking module, connected with the registration signature module, for checking the identity information to ensure that the identity information does not conflict with the information in the stored blockchain;
and the identity information input module is connected with the block chain information checking module to complete user registration.
Compared with the prior art, the invention has the following beneficial effects:
1. through the specific ID marking module, specific ID marking is carried out on the packaged content data and the user authentication information, and the PUF has uniqueness and stability, so that each CPU cannot be the same, the ID value given by a subsequent hash circuit is guaranteed to have better uniqueness, and the safety degree is improved.
2. Through the block chain cache module that sets up, when the information of depositing fell between the node of block chain, follow the clockwise storage on the cache server that is close to, add cache server's in-process on the block chain node in the later stage, can not destroy the data cache information on the whole block chain, the cache server of whole block chain still can relatively independent normal work, does benefit to the stability of information cache.
3. Through the login module and the registration module that set up, the block chain information checks the module in the registration module and effectively prevents the overlapping of identity information, in order to ensure the uniqueness of user's registration information, preliminary identification module and challenge response module in the login module, preliminary identification module checks preset's secret key earlier, the server burden has effectively been reduced, challenge response module verifies identity information, advance one stroke and reduced the burden of server, the burden of ID authentication has been reduced greatly, the burden of taking and bringing ID information in the block chain has been reduced, the security has also been increased simultaneously.
Drawings
FIG. 1 is a schematic diagram of a data storage system based on a block chain technique according to the present invention;
FIG. 2 is a schematic diagram of a specific ID tag module of a data storage system based on a blockchain technique according to the present invention;
FIG. 3 is a block chain cache module schematic diagram of a data storage system based on a block chain technique according to the present invention;
FIG. 4 is a schematic diagram of a log-in module of a data storage system based on a block chain technique according to the present invention;
fig. 5 is a schematic diagram of a registration module of a data storage system based on a blockchain technique according to the present invention.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art.
A data storage system based on the blockchain technique as shown in fig. 1 to 5 includes:
the data acquisition module is used for acquiring the content data and the user authentication information sent into the block chain;
the data packaging module is connected with the data acquisition module and is used for matching and packaging the acquired content data and the user authentication information;
the specific ID marking module is connected with the data packaging module and is used for carrying out ID marking on the packaged data through a Hash algorithm;
the block chain cache module is connected with the specific ID marking module and caches and stores the ID marked packed data;
the user side is connected with the block chain cache module and provides a user interaction function, and the user side further comprises a login module and a registration module.
The data acquisition module comprises a content key-in module and an authentication information acquisition module, the content key-in module is used for inputting content data, and the information acquired by the authentication information acquisition module comprises identity information and attribute information.
The identity information comprises a user name, an identity card number, a mobile phone number and a mailbox.
The specific ID marking module comprises a CPU, and the CPU is respectively connected with the random generator, the hash circuit and the PUF circuit through wires.
The CPU is respectively connected with the random generator, the hash circuit and the PUF circuit through AMBA transmission lines, the random generator generates random numbers and transmits the random numbers to the CPU through the AMBA transmission lines, the CPU sends the random numbers to the PUF circuit through the AMBA transmission lines, the calculated values of the PUF circuit are sent back to the CPU through the AMBA transmission lines, the CPU sends the values to the hash circuit through the AMBA transmission lines, the hash circuit calculates to generate hash values, the hash values are sent back to the CPU through the AMBA transmission lines, and the hash values are the ID used for specific marks.
The IP of the hash circuit and the PUF is designed through a Verilog HDL language, and the two IPs are mounted on a CPU through an AMBA transmission line.
The block chain cache module comprises cache servers and block chain nodes, the block chain link points comprise A1, A2 … … A (n-2), A (n-1) and An, the head and the tail of the block chain link points form a virtual circuit, the cache servers comprise ser1, ser2 … … ser (p-1) and ser, the number of the block chain nodes is larger than that of the cache servers, and the cache servers are distributed on the block chain nodes.
And when the data acquired by the block chain cache module falls between the block chain nodes, the data is stored to the closest cache server in a clockwise direction.
The login module comprises:
the preliminary authentication module is used for carrying out preliminary authentication on the user, and the authentication information comprises secret key information;
the first signature module is connected with the preliminary authentication module and is used for signing the passed preliminary authentication;
the challenge response module is connected with the first signature module and authenticates the identity information after checking the signature;
the second signature module is connected with the challenge response module and carries out second signature after the identity authentication information;
the ID authentication module is connected with the second signature module and is matched with the specific ID of the user for checking and detecting after checking the signature;
and a block chain checking module which is connected with the ID authentication module and checks the ID and the identity information with the information stored in the block chain.
The registration module includes:
the identity information input module is used for inputting the identity information of the user to be registered;
the authentication server is connected with the identity information input module and used for receiving and verifying the identity information of the user;
the registration signature module is connected with the authentication server and is used for signing the identity information passing the authentication;
a blockchain information checking module, connected with the registration signature module, for checking the identity information to ensure that the identity information does not conflict with the information in the stored blockchain;
and the identity information input module is connected with the block chain information checking module to complete user registration.
Through the specific ID marking module, specific ID marking is carried out on the packed content data and the user authentication information, and the PUF has uniqueness and stability, so that each CPU cannot be the same, the ID value given by a subsequent hash circuit is guaranteed to have better uniqueness, and the safety degree is improved; through the arranged block chain cache module, when the stored information falls between the nodes of the block chain, the information is stored on the cache server which is close to the block chain clockwise, and in the process of additionally arranging the cache server on the block chain node in the later period, the data cache information on the whole block chain cannot be damaged, the cache server of the whole block chain can still work normally relatively independently, and the stability of information cache is facilitated; through the login module and the registration module that set up, the block chain information checks the module in the registration module and effectively prevents the overlapping of identity information, in order to ensure the uniqueness of user's registration information, preliminary identification module and challenge response module in the login module, preliminary identification module checks preset's secret key earlier, the server burden has effectively been reduced, challenge response module verifies identity information, advance one stroke and reduced the burden of server, the burden of ID authentication has been reduced greatly, the burden of taking and bringing ID information in the block chain has been reduced, the security has also been increased simultaneously.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are merely illustrative of the principles of the invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (10)

1. A data storage and verification system based on a block chain technology is characterized in that: the method comprises the following steps:
the data acquisition module is used for acquiring the content data and the user authentication information sent into the block chain;
the data packaging module is connected with the data acquisition module and is used for matching and packaging the acquired content data and the user authentication information;
the specific ID marking module is connected with the data packaging module and carries out ID marking on the packaged data through a Hash algorithm;
the block chain cache module is connected with the specific ID marking module and caches and stores the ID marked packed data;
the user side is connected with the block chain cache module and provides a user interaction function, and the user side further comprises a login module and a registration module.
2. The system according to claim 1, wherein the system comprises: the data acquisition module comprises a content key-in module and an authentication information acquisition module, the content key-in module is used for inputting content data, and the information acquired by the authentication information acquisition module comprises identity information and attribute information.
3. The system according to claim 2, wherein the data storage system comprises: the identity information comprises a user name, an identity card number, a mobile phone number and a mailbox.
4. The system according to claim 1, wherein the system comprises: the specific ID marking module comprises a CPU, and the CPU is respectively in electric wire connection with the random generator, the hash circuit and the PUF circuit.
5. The system according to claim 4, wherein the data storage system comprises: the CPU is respectively connected with the random generator, the hash circuit and the PUF circuit through AMBA transmission lines, the random generator generates random numbers and transmits the random numbers to the CPU through the AMBA transmission lines, the CPU sends the random numbers to the PUF circuit through the AMBA transmission lines, the values after the PUF circuit operation are sent back to the CPU through the AMBA transmission lines, the CPU sends the values to the hash circuit through the AMBA transmission lines, the hash circuit operation generates hash values, the hash values are sent back to the CPU through the AMBA transmission lines, and the hash values are IDs used for specific marks.
6. The system according to claim 5, wherein the data storage system comprises: the IP of the hash circuit and the IP of the PUF are designed through a Verilog HDL language, and the two IPs are mounted on a CPU through an AMBA transmission line.
7. The system according to claim 1, wherein the system comprises: the block chain cache module comprises cache servers and block chain nodes, the block chain link points comprise A1, A2 … … A (n-2), A (n-1) and An, the block chain link points form a virtual circuit from head to tail, the cache servers comprise ser1, ser2 … … ser (p-1) and ser, the number of the block chain nodes is larger than that of the cache servers, and the cache servers are distributed on the block chain nodes.
8. The system according to claim 7, wherein the data storage system comprises: and when the data acquired by the block chain cache module falls between the block chain nodes, the data is stored to the closest cache server in a clockwise direction.
9. The system according to claim 1, wherein the system comprises: the login module comprises:
the preliminary authentication module is used for carrying out preliminary authentication on the user, and the authentication information comprises secret key information;
the first signature module is connected with the preliminary authentication module and is used for signing the passed preliminary authentication;
the challenge response module is connected with the first signature module and authenticates the identity information after checking the signature;
the second signature module is connected with the challenge response module and carries out second signature after the identity authentication information;
the ID authentication module is connected with the second signature module and is matched with the specific ID of the user for checking and detecting after checking the signature;
and a block chain checking module which is connected with the ID authentication module and checks the ID and the identity information with the information stored in the block chain.
10. The system according to claim 1, wherein the system comprises: the registration module includes:
the identity information input module is used for inputting the identity information of the user to be registered;
the authentication server is connected with the identity information input module and used for receiving and verifying the identity information of the user;
the registration signature module is connected with the authentication server and is used for signing the identity information passing the authentication;
a blockchain information checking module, connected with the registration signature module, for checking the identity information to ensure that the identity information does not conflict with the information in the stored blockchain;
and the identity information input module is connected with the block chain information checking module to complete user registration.
CN202010833224.6A 2020-08-18 2020-08-18 Data storage system based on block chain technology Pending CN111966754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010833224.6A CN111966754A (en) 2020-08-18 2020-08-18 Data storage system based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010833224.6A CN111966754A (en) 2020-08-18 2020-08-18 Data storage system based on block chain technology

Publications (1)

Publication Number Publication Date
CN111966754A true CN111966754A (en) 2020-11-20

Family

ID=73388408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010833224.6A Pending CN111966754A (en) 2020-08-18 2020-08-18 Data storage system based on block chain technology

Country Status (1)

Country Link
CN (1) CN111966754A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098693A (en) * 2021-04-08 2021-07-09 太原理工大学 Memory verification method based on physical unclonable function algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098693A (en) * 2021-04-08 2021-07-09 太原理工大学 Memory verification method based on physical unclonable function algorithm
CN113098693B (en) * 2021-04-08 2022-08-16 太原理工大学 Memory verification method based on physical unclonable function algorithm

Similar Documents

Publication Publication Date Title
CN103679436B (en) A kind of electronic contract security system and method based on biological information identification
CN104579649B (en) Personal identification method and system
CN105354604B (en) A kind of method for anti-counterfeit effectively based on physics unclonable function
CN104767613B (en) Signature verification method, apparatus and system
CN104601593B (en) The method that anti-tracking in network electronic authentication procedures is realized based on challenge mode
CN107292181A (en) Database Systems based on block chain and the application method using the system
CN103905202B (en) A kind of RFID lightweight mutual authentication methods based on PUF
CN108696358B (en) Digital certificate management method and device, readable storage medium and service terminal
CN105516195B (en) A kind of security certification system and its authentication method based on application platform login
CN104468579B (en) Suitable for the Verification System of distributed storage
CN109327457A (en) A kind of internet of things equipment identity identifying method and system based on block chain
CN106878318A (en) A kind of block chain real time polling cloud system
CN106921640A (en) Identity identifying method, authentication device and Verification System
CN102271042A (en) Certificate authorization method, system, universal serial bus (USB) Key equipment and server
CN103929411B (en) Information displaying method, terminal, safety server and system
CN105978855B (en) Personal information safety protection system and method under a kind of system of real name
CN101150407A (en) Network identity validation method based on fingerprint
CN107886333A (en) A kind of Antiforge system and its method for anti-counterfeit with dynamic anti-fake information
CN107306246A (en) Based on the data capture method for accessing key
CN103024706A (en) Short message based device and short message based method for bidirectional multiple-factor dynamic identity authentication
CN108494783A (en) The guard method of high in the clouds data
CN109685534A (en) It is a kind of to encrypt anti-tamper Product quality and safety traceability system and method based on block chain
CN104468580B (en) Suitable for the authentication method of distributed storage
CN106850638A (en) A kind of mobile unit access control method and system
CN107438061A (en) A kind of method and apparatus of kafka clients authentication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201120

WD01 Invention patent application deemed withdrawn after publication