CN109753539B - Block link establishing system and method based on data handshake and responsibility handover - Google Patents

Block link establishing system and method based on data handshake and responsibility handover Download PDF

Info

Publication number
CN109753539B
CN109753539B CN201811550809.6A CN201811550809A CN109753539B CN 109753539 B CN109753539 B CN 109753539B CN 201811550809 A CN201811550809 A CN 201811550809A CN 109753539 B CN109753539 B CN 109753539B
Authority
CN
China
Prior art keywords
block
information
data link
handshake
link building
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.)
Active
Application number
CN201811550809.6A
Other languages
Chinese (zh)
Other versions
CN109753539A (en
Inventor
严东军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811550809.6A priority Critical patent/CN109753539B/en
Publication of CN109753539A publication Critical patent/CN109753539A/en
Application granted granted Critical
Publication of CN109753539B publication Critical patent/CN109753539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the field of data transaction, in particular to a block link establishing system and a method based on data handshake and responsibility handover, wherein the system comprises the following steps: the system comprises a first party terminal and a second party terminal; the first-party terminal is used for inputting basic information of the data link building block by a first-party enterprise, then storing the information to form a data link building block, attaching block sealing information with a unique identity mark on the formed data link building block, sending the data link building block to a server, covering a timestamp on the data link building block, generating a complete data link building block and storing the data link building block information; and then the first party terminal establishes a link relation with the data link building block selected by the first party enterprise, acquires corresponding data link building block information, stores the data link building block information to generate one-time handshake block information, and sends the information to the second party terminal, and then the second party terminal sends the check result single information of the one-time handshake block information to the first party terminal.

Description

Block link establishing system and method based on data handshake and responsibility handover
Technical Field
The invention relates to the field of data transaction, in particular to a block link establishing system and method based on data handshake and responsibility handover.
Background
The data transaction refers to the business behavior of the buyer and the seller for communicating the original or processed data and data service. In recent years, with the wide popularization and application of large data, the value of data resources is gradually paid attention and recognized, and the data transaction demand is increasing. For data transaction, a block chain technique is proposed in the prior art, and the block output manner of the prior block chain technique is as follows: all nodes agree on a specific consensus mechanism, block nodes (most of the current third-party centralized platforms are used as block output nodes) are determined, and blocks output by the selected nodes are used as the standard. After the block node is selected, the block node outputs the block according to a specific block output algorithm when the block is required to be output.
According to the above block output method, most of the current methods for realizing data transaction based on the block chain technology are as follows: the transaction initiating node logs in a client of a centralized platform, records transaction data, and stores the transaction data as uplink data in a block of the centralized platform; after the transaction receiving node and the transaction initiating node complete the transaction, logging in a client of the same centralized platform, recording transaction data after the transaction, and storing the transaction data as uplink data into a block at the centralized platform; after the data is stored in the block, the centralized platform finishes data chaining and performs accounting or recording of the event; the centralized platform establishes a transaction data responsibility chain by analyzing and processing big data of the uplink data. Aiming at the block chain technology provided by the existing data transaction, the requirements for realizing the data transaction are as follows: a centralized platform is required in the data transaction process, and the transaction data entry operation is carried out on the nodes participating in the transaction at the client side of the nodes; the transaction data must be stored in a block from the centralized platform, and the centralized platform performs data chaining to establish a transaction data responsibility chain.
Therefore, the use of the prior art means that transaction data of a transaction node needs to be stored in a data block of a centralized platform, and the data is also stored in a centralized manner, so that a third party records or falsifies the data; if the transaction data is tampered, the authenticity of the transaction data responsibility chain is difficult to guarantee, and the responsibility of the data authenticity is difficult to implement.
Disclosure of Invention
The invention aims to provide a block chaining system based on data handshake and responsibility handover so as to ensure the accuracy of transaction data.
The basic scheme provided by the invention is as follows: the block link establishment system based on data handshake and responsibility handover comprises a first party terminal and a second party terminal;
the first-party terminal is used for inputting basic information of the data link building block by a first-party enterprise, then storing the information to form a data link building block, attaching block sealing information with a unique identity mark on the formed data link building block, sending the data link building block to a server, covering a timestamp on the data link building block, generating a complete data link building block and storing the data link building block information; then the first party terminal establishes a link relation with the data link building block selected by the first party enterprise, acquires corresponding data link building block information, stores the data link building block information to generate one-time handshake block information, and sends the one-time handshake block information to the second party terminal, and then the second party terminal sends the checking result single information of the one-time handshake block information to the first party terminal;
meanwhile, the terminal B stores the single information of the checking result to generate a secondary handshake block, and sends the secondary handshake block to a server to be covered with a timestamp after seal block information with a unique identity mark is attached to the secondary handshake block; and the first party terminal stores the checking result list information into the one-time handshake block after receiving the checking result list information, and then sends the one-time handshake block to the server to be covered with the timestamp after attaching the block sealing information with the unique identity mark on the one-time handshake block.
The check result single message refers to the message generated according to the check result after the accuracy check is performed on the one-time handshake block message.
The invention has the advantages that:
1. the data link building block is attached with the block sealing information with the unique identity mark and then is covered with the timestamp, and if the transaction data information of the product is modified, the block sealing information and the timestamp can be changed, so that the data link building block information cannot be tampered, and the accuracy of the data link building block information is ensured.
2. The one-time handshake block is established according to the corresponding data link establishment block information, namely, the handshake block information and the data link establishment block information have corresponding relations, so that the accuracy of the data link establishment block information and the one-time handshake block information is ensured.
3. The information in the secondary handshake block is generated according to the information of the primary handshake block and the information of the checking result list, the information of the checking result list is generated by the second-party terminal, and the primary handshake block and the data link building block are generated by the first-party terminal and the server, so that the problem of any block information can be traced, and the division of responsibility is facilitated.
The data link establishing block establishing module is used for receiving the data link establishing block establishing instruction sent by the data link establishing block establishing judging module and entering an information recording interface after receiving the data link establishing block establishing instruction, the information recording interface is used for the enterprise to fill or upload transaction data information, then the data link establishing block establishing module establishes an empty block and an empty envelope, and stores the transaction data information into the empty block to generate a new data link establishing block.
And generating a new data link building block through the data link building block establishing judgment module and the data link building block establishing module.
Further, the first-party terminal further comprises a data link building block packaging module, the data link building block packaging module is used for packaging the data link building block, when the data link building block is packaged, a hash value, a block code and a block two-dimensional code are attached to the data link building block, and the hash value, the block code and the block two-dimensional code are all the block packaging information of the data link building block.
Hash values are a unique and extremely compact representation of a piece of data as a value. If a plaintext segment is hashed and even if only one letter of the plaintext segment is changed, the subsequent hash is changed, so that the accuracy of the data link building block information is ensured, and the data link building block information is prevented from being tampered.
Further, the first-party terminal further comprises a first-hand block packaging module, the first-hand block packaging module is used for packaging the first-hand block, when the first-hand block is packaged, a hash value, a block code and a block two-dimensional code are attached to the first-hand block, and the hash value, the block code and the block two-dimensional code are all the block packaging information of the first-hand block.
The hash value, the block code and the block two-dimensional code are the block sealing information of the one-time handshaking block, so that the accuracy of the one-time handshaking block information is ensured.
Further, the second-party terminal comprises a second-time handshaking block packaging module, the second-time handshaking block packaging module is used for packaging the second-time handshaking block, during packaging, a hash value, a block code and a block two-dimensional code are attached to the second-time handshaking block, and the hash value, the block code and the block two-dimensional code are sealing information of the second-time handshaking block.
The hash value, the block code and the block two-dimensional code are all the block sealing information of the secondary handshake block as the block sealing information of the secondary handshake block, so that the accuracy of the information of the secondary handshake block is ensured.
In addition, aiming at the block chaining system based on data handshake and responsibility handover, the block chaining method based on data handshake and responsibility handover is also provided, and comprises the following steps:
s1, establishing a data link establishing block: acquiring transaction data information of a product, storing the transaction data information of the product to form a data link building block, attaching block sealing information with a unique identity identification mark function to the data link building block, covering a timestamp on the data link building block to generate a complete data link building block, and storing the data link building block information;
s2, handshake block establishment: selecting different data link building blocks to build a link relation, acquiring corresponding data link building block information through the unique identity identification mark, storing the data link building block information to generate one-time handshake block information, and sending the one-time handshake block information to the second-party terminal; and meanwhile, the second-party terminal stores the single information of the checking result to generate a secondary handshake block, then seals with unique identity mark function are attached to the primary handshake block and the secondary handshake block respectively, timestamps are covered on the primary handshake block and the secondary handshake block respectively, and the information of the primary handshake block and the information of the secondary handshake block are stored and broadcasted after the complete primary handshake block and the complete secondary handshake block are generated.
The data link building block information, the first-time handshake block information and the second-time handshake block information are made clear in source through steps S1 and S2, which facilitates division of responsibility. Such as: when the data link building block information has a problem, the data link building block information with the problem is used for generating the handshake block information, and when the handshake block information is checked, the problem of the data link building block information can be found, so that the problem of the handshake block information caused by the reason can be clearly known in the responsibility distribution process.
Drawings
FIG. 1 is a block diagram of a logic structure of a block chaining system based on data handshake and responsibility exchange according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a block chaining method based on data handshake and responsibility handover according to an embodiment of the present invention;
fig. 3 is a block diagram of a logic structure of a block chaining system based on data handshake and responsibility exchange according to a second embodiment of the present invention.
Detailed Description
The following is further detailed by way of specific embodiments:
example one
As shown in fig. 1, the block chaining system based on data handshake and responsibility handover includes: a data link building subsystem and a handshake block building subsystem. If the system user is a production enterprise and a business enterprise, the system also comprises a tracing block building subsystem.
First, data link establishing subsystem
The data link establishment subsystem comprises: the system comprises a first party terminal and a server, wherein the first party terminal and the server are in network communication through a wireless communication module. The first party terminal is used for the first party enterprise.
The first side terminal comprises:
and the data basic information input module is used for inputting data link building block basic information by the enterprise of the first party, and if the enterprise of the first party is a product production enterprise, the data link building block basic information required to be input when the enterprise of the first party establishes a data link building block comprises a product name and a batch number of the product.
The data link building block establishing and judging module is used for the first-party enterprise to input basic information of the data link building block on the data link building functional module and then send a data link building block establishing instruction to the data link building block establishing module; if the first-party enterprise is a product production enterprise, the data link establishing judgment module is also used for judging whether the product batch number establishes a corresponding data link establishing block or not by the first-party enterprise according to the input product batch number, and if the product batch number does not establish the corresponding data link establishing block, a data link establishing block establishing instruction is sent to the data link establishing block; and if the batch number has the corresponding data link establishing block, the transaction data information stored in the data link establishing block is sent to the data link establishing functional module, and the data link establishing functional module receives the transaction data information sent by the data link establishing block judging module and displays the transaction data information. The transaction data information comprises tracing basic information, feeding record information, key point record information, inspection reports, sample record information and accessory information, and the tracing basic information comprises: product name, quality responsible person, product type, product number, specification, quantity, metering unit, production date, shelf life, QC inspector, product batch number and the like. The feeding recording information comprises: raw material name, raw material batch number, supplier, detection report, charging responsible person and the like. The key point recording information includes: record file number, file name and record responsible person. The inspection report information includes: the number of the inspection item, the inspection content, the number of the inspection report, the inspection conclusion, the inspector and the like. The leave-sample recording information includes: and the sample retention time deadline, the sample retention number, the sample retention quantity, the sample retention unit, the responsible person and the like. The accessory information includes: information such as a document related to legal compliance of a raw material supplier, a document related to legal compliance of the raw material, and a related ticket.
And the data link building block building module is used for receiving the data link building block building instruction sent by the data link building block judging module, entering an information input interface after receiving the data link building block building instruction, wherein the information input interface is used for an enterprise to fill or upload transaction data information, building an empty block and an empty envelope by the data link building block building module, and storing the transaction data information into the empty block to generate a new data link building block. For example, the first party enterprise is a product production enterprise, and the transaction data information thereof includes enterprise information of product production, information of product name and product batch number, and the like.
A data link building block sealing module, configured to perform block sealing processing on a new data link building block built by the data link building block building module, where in the block sealing processing, block sealing information is attached to the data link building block, where the block sealing information includes: hash value, block code, and block two-dimensional code.
And the data link building block acquisition module is used for acquiring data link building block information from the server, wherein the data link building block information comprises block sealing information and transaction data information of the corresponding data link building block.
The server includes:
and the data link establishing block information storage module stores the data link establishing block information generated by the data link establishing block timestamp generation module.
And the data link building block timestamp generating module is used for covering a timestamp on the data link building block to which the block sealing information is attached, generating a complete data link building block, marking the state information of the data link building block on an empty envelope of the data link building block, generating and storing the data link building block information corresponding to the data link building block, wherein the state information marked on the complete data link building block is a 'sealed block'.
Second, trace back block building subsystem
The tracing block building subsystem comprises: the system comprises a first party terminal and a server, wherein the first party terminal and the server are in network communication through a wireless communication module. And the first party terminal in the tracing block building subsystem is used by a product production enterprise. And the server in the tracing block building subsystem and the server in the data link building subsystem are the same equipment.
The first side terminal comprises:
the tracing block establishing module is used for establishing an empty block and an empty envelope, then storing the information of the business form along with the goods in the empty block, wherein the information of the business form along with the goods comprises product batch number information, product name information and the like, automatically acquiring data link establishing block information corresponding to the product batch number according to the information of the business form along with the goods, then establishing a tracing block according to the information of the business form along with the goods and the data link establishing block information, wherein the information of the business form along with the goods and the data link establishing block information are stored in the tracing block, and the data link establishing block information comprises transaction data information, a block two-dimensional code, a block code and a hash value of the corresponding data link establishing block; the order-following information comprises the order-following information, such as the order-following number, the receiving unit, the logistics unit, the delivery date, the delivery person, the product batch list and the like, and the product batch list information comprises the information such as the product name, the product batch number, the quantity, the data link building block number and the like.
And the tracing block packaging module is used for packaging the tracing block established by the tracing block establishing module, and during packaging, the tracing block is attached with the seal block information, wherein the seal block information comprises: hash value, block code, and block two-dimensional code.
And the tracing block obtaining module is used for obtaining tracing block information from the server, wherein the tracing block information comprises seal block information, cargo accompanying and business form information and corresponding data link building block information corresponding to the tracing block.
The server includes:
and the tracing block information storage module is internally stored with tracing block information stored by the tracing block timestamp generation module.
And the tracing block timestamp generation module is used for covering a timestamp on the tracing block to which the block information is attached, generating a complete tracing module, marking the state information of the tracing block on an empty envelope of the tracing block, and generating and storing the tracing block information after marking the state information. The state information marked on the complete trace back block is "packaged".
Three-way handshake block building subsystem
The system comprises a handshake block building subsystem and a system user, wherein the handshake block building subsystem comprises a first party terminal, a server and a second party terminal, and if the system user is a product production enterprise and a business enterprise, the handshake block building subsystem further comprises a delivery terminal. The delivery terminal, the first party terminal and the second party terminal are in network communication with the server through the wireless communication module. The delivery terminal is used by a product delivery person (e.g., courier). The wireless communication module in this embodiment is a WIFI communication module of the existing ZSW111 model.
The servers in the data link building subsystem, the tracing block building subsystem and the handshake block building subsystem are the same device.
The first side terminal comprises:
and the block sending and link building functional module is used for selecting the data link building block to send blocks, automatically building an empty block and an empty envelope, storing information of the link building block into the empty block to generate a one-time handshake block, generating corresponding one-time handshake block information according to the one-time handshake block, and marking the state information of the one-time handshake block in the empty envelope, wherein the state information of the one-time handshake block is 'non-sealed block'. If the first-party enterprise is a product production enterprise, the link establishing function module is further used for selecting a data link establishing block and a tracing block which need to establish a link relationship, then establishing the link relationship between the data link establishing block and the tracing block, generating link establishing module information according to corresponding data link establishing block information and tracing block information in the data link establishing block and the tracing block which need to establish the link relationship when establishing the link relationship, then automatically establishing an empty block and an empty envelope by the link establishing function module, storing the link establishing module information into the empty block to generate a one-time handshake block, generating corresponding one-time handshake block information according to the one-time handshake block, and then marking the state information of the one-time handshake block in the empty envelope, wherein the state information of the one-time handshake block is an 'unsealed block'.
And the two-dimension code generating and pushing module is used for generating a corresponding two-dimension code of shaking hands according to the information of the one-time shaking hands block, then sending the information of the two-dimension code of shaking hands to the terminal of the party B, and if the user of the terminal of the party A is a product production enterprise, sending the information of the two-dimension code of shaking hands to the goods sending terminal.
And the checking result list information acquisition module is used for receiving the checking result list information sent by the delivery terminal and displaying the received checking result list information.
A one-time handshake block encapsulation module, configured to encapsulate a one-time handshake block, where seal information is attached to the one-time handshake block during encapsulation, where the seal information includes: hash value, block code, and block two-dimensional code.
And the one-time handshaking block acquisition module is used for acquiring and storing one-time handshaking block information from the server, wherein the one-time handshaking information comprises the sealing block information, the checking result single information and the handshaking two-dimensional code information corresponding to the one-time handshaking block.
And the broadcast information viewing module is used for displaying the broadcast information sent by the server.
The delivery terminal includes:
the two-dimensional code acquisition module of shaking hands, be used for from the first side terminal acquisition block of shaking hands the corresponding two-dimensional code of shaking hands, show and discern the two-dimensional code of shaking hands, and show the block information of shaking hands of this two-dimensional code of shaking hands and correspond and supply product distribution personnel to look over after discerning the two-dimensional code of shaking hands, and confirm whether information is wrong after looking over information, confirm information after according to confirm result information and the block information of shaking hands that corresponds and generate the single information of inspection result and send to second side terminal and first side terminal.
And the broadcast information viewing module is used for displaying the broadcast information sent by the server.
The second party terminal includes:
the two-dimensional code recognition module of shaking hands, is used for obtaining the two-dimensional code of shaking hands that the block of shaking hands corresponds, show and discern the two-dimensional code of shaking hands, and show the block information of shaking hands that should shake hands the two-dimensional code of corresponding one time after discerning the two-dimensional code of shaking hands and supply second side company staff to look over, and confirm whether the information has the mistake after looking over the information, confirm after the information according to confirm result information and the block information of shaking hands of the corresponding one time and generate the single information of checking result and send to second side terminal and first side terminal.
And the checking result list information acquisition module is used for receiving the checking result list information sent by the handshake two-dimensional code identification module and displaying the received information.
And the complete secondary handshake block generation module is used for creating an empty block and an empty envelope, and then storing the checking result single information into the created empty block to generate a secondary handshake block.
The secondary block encapsulation module of shaking hands for the secondary block of shaking hands encapsulates the processing, attaches the seal block information on this secondary block of shaking hands during encapsulation processing, and the seal block information includes: hash value, block code, and block two-dimensional code.
And the secondary handshake block acquisition module is used for acquiring secondary handshake block information from the server, wherein the secondary handshake information comprises seal block information, inspection result single information and handshake two-dimensional code information corresponding to the secondary handshake block.
And the broadcast information viewing module is used for displaying the broadcast information sent by the server.
The server includes:
and the handshake block information storage module is internally and respectively stored with primary handshake block information and secondary handshake block information.
And the handshake block timestamp generation module is used for respectively covering timestamps on the primary handshake block and the secondary handshake block, keeping the transaction records, generating a complete primary handshake block and a complete secondary handshake block, marking state information on empty envelopes corresponding to the primary handshake block and the secondary handshake block, and generating and storing primary handshake block information and secondary handshake block information after marking the state information. The state information marked on the complete one-time handshake block and the two-time handshake block is "packaged".
The broadcasting module is used for generating broadcasting information according to the first-time handshaking block information and the second-time handshaking block information, and then sending the broadcasting information to the first-party terminal, the delivery terminal and the second-party terminal for checking.
In addition, as shown in fig. 2, for the block chaining system based on data handshake and responsibility handover, this embodiment further discloses a block chaining method based on data handshake and responsibility handover, where in the method, a first party terminal user is taken as a product manufacturing enterprise, and a second party terminal user is taken as an operating enterprise as an example, and the method specifically includes the following steps:
s1, establishing data link building block
S1-1, the staff of the production enterprise inputs the name of the product and the batch number of the product through the data link building function module in the first party terminal.
S1-2, the data link establishing block judging module in the first party terminal judges whether the product batch number establishes the corresponding data link establishing block according to the input product batch number, if the product batch number does not establish the corresponding data link establishing block, a data link establishing block establishing instruction is sent to the data link establishing block establishing module; and if the batch number has the corresponding data link building block, sending the transaction data information stored in the data link building block to the data link building functional module.
S1-3, a data link building block establishing module in the first party terminal receives a data link building block establishing instruction sent by the data link building block judging module, and enters an information recording interface after receiving the data link building block establishing instruction, the information recording interface is used for enterprises to fill or upload transaction data information, then the data link building block establishing module establishes an empty block and an empty envelope, and the transaction data information is stored in the empty block to generate a new data link building block.
And S1-4, the data link building block sealing module in the first party terminal performs block sealing processing on the new data link building block built by the data link building block building module, and when the block sealing processing is performed, block sealing information is attached to the data link building block.
S1-5, the timestamp generation module of the data link building block in the server covers a timestamp on the data link building block to which the block sealing information has been attached, generates a complete data link building block, and generates and stores data link building block information corresponding to the data link building block after marking state information of the data link building block on an empty envelope of the data link building block, where the state information marked on the complete data link building block is "sealed block".
S1-6, a data link building block obtaining module in the first party terminal obtains the data link building block information, and displays the data link building block information for the staff of the production enterprise to check.
S2, establishing tracing block
S2-1, a tracing block establishing module in the party A terminal establishes an empty block and an empty envelope, then automatically stores the information of the cargo accompanying business list in the empty block, the information of the cargo accompanying business list comprises product batch number information, product name information and the like, automatically acquires data link establishing block information corresponding to the product batch number according to the information of the cargo accompanying business list, then establishes a tracing block according to the information of the cargo accompanying business list and the data link establishing block information, and the information of the cargo accompanying business list and the data link establishing block information are stored in the tracing block.
And S2-2, the tracing block encapsulation module in the party A terminal encapsulates the tracing block established by the tracing block establishment module, and when the tracing block is encapsulated, the tracing block is attached with the sealing block information.
And S2-3, a trace back block timestamp generation module in the server covers a timestamp on the trace back block to which the block information is attached to generate a complete trace back module, marks the state information of the trace back block on an empty envelope of the trace back block, generates and stores the trace back block information after marking the state information. The state information marked on the complete trace back block is "packaged".
S2-4, a tracing block obtaining module in the first party terminal obtains tracing block information from the server for a worker of a production enterprise to check.
S3, handshake block establishment
S3-1, a worker of a production enterprise selects a data link building block and a trace block which need to establish a link relation through a link building function module in a first-party terminal, then establishes a link relation between the data link building block and the trace block, generates link building module information according to corresponding data link building block information and trace block information in the data link building block and the trace block which need to establish the link relation when establishing the link relation, then automatically establishes a blank block and a blank envelope through the link building function module, stores the link building module information into the blank block to generate a one-time handshake block, generates corresponding one-time handshake block information according to the one-time handshake block, and marks state information of the one-time handshake block in the blank envelope, wherein the state information of the one-time handshake block is 'unsealed block'.
S3-2, generating a corresponding handshake two-dimensional code by a two-dimensional code generating and pushing module in the first-party terminal according to the information of the one-time handshake block, and then sending the information of the handshake two-dimensional code to the delivery terminal.
S3-3, a handshake two-dimensional code acquisition module in the delivery terminal acquires a handshake two-dimensional code corresponding to a handshake block from the first-party terminal, displays and identifies the handshake two-dimensional code, displays information of a one-time handshake block corresponding to the handshake two-dimensional code after identifying the handshake two-dimensional code for a product delivery worker to check, confirms whether the information is wrong after checking the information, generates check result single information according to the confirmation result information and the corresponding one-time handshake block information after confirming the information, and sends the check result single information to the second-party terminal and the first-party terminal.
And S3-4, the checking result list information acquisition module in the second party terminal receives the checking result list information sent by the delivery terminal and displays the received information for the operating enterprise staff to check.
S3-5, the complete handshake block generation module in the terminal of the second party creates an empty block and an empty envelope, and then stores the checking result list information into the created empty block to generate a secondary handshake block.
S3-6, the secondary handshake block encapsulation module in the second party terminal encapsulates the secondary handshake block, and during the encapsulation, the secondary handshake block is attached with the seal information, where the seal information includes: hash value, block code, and block two-dimensional code.
And S3-7, a handshake block timestamp generation module in the server covers a timestamp on the secondary handshake block, accounts are recorded for the transaction record, then the complete secondary handshake block is generated, state information is marked on an empty envelope corresponding to the secondary handshake block, and secondary handshake block information is generated and stored after the state information is marked. The status information marked on the complete secondary handshake block is "packaged".
S3-8, after step S3-3, the one-time handshake block encapsulation module in the first party terminal encapsulates the one-time handshake block, and during the encapsulation process, the one-time handshake block is attached with the seal information, where the seal information includes: hash value, block code, and block two-dimensional code.
And S3-9, a handshake block timestamp generation module in the server covers a timestamp on the one-time handshake block, accounts are recorded for the transaction record, then the complete one-time handshake block is generated, state information is marked on an empty envelope corresponding to the one-time handshake block, and after the state information is marked, one-time handshake block information is generated and stored. The state information of the complete one-time handshake block is "encapsulated".
S3-10, the first hand shaking block obtaining module in the first party terminal obtains the first hand shaking block information from the server and stores the information.
And S3-11, generating broadcast information by a broadcast module in the server according to the first-hand shaking block information and the second-hand shaking block information, and then sending the broadcast information to the first-party terminal, the delivery terminal and the second-party terminal for viewing.
Example two
As shown in fig. 3, a difference between the second embodiment and the first embodiment is that the two-dimensional handshake code acquiring module in the second embodiment is only used for the product distributor to acquire the two-dimensional handshake code corresponding to the handshake block and display the two-dimensional handshake code.
In addition, the handshake block building subsystem in embodiment two further includes a verification terminal, and the verification terminal includes: the broadcast information checking module and the two-dimension code identification module are used for identifying the two-dimension code of shaking hands on the goods sending terminal after goods are received by an inspector, displaying the information of the block of shaking hands corresponding to the two-dimension code of shaking hands (the information of the block of shaking hands comprises the information of the single person who works with the goods) after the two-dimension code of shaking hands is identified for the inspector to check, the inspector confirms whether the information is wrong after checking the information of the block of shaking hands of one time, and the information is confirmed and then the information of shaking hands corresponding to the information of the block of shaking hands is generated to result single information to be sent to the inspector terminal and the first party terminal.
And the broadcast information viewing module in the checking terminal is used for checking the broadcast information sent by the server by the checking personnel.
The difference between the second embodiment and the first embodiment is that the receipt information along with the shipment in the second embodiment is generated by the inspection terminal, but not generated by the shipment terminal, which is advantageous in that a professional inspector inspects the one-time handshake block information through the inspection terminal, thereby increasing the accuracy of the confirmation result information.
EXAMPLE III
The difference between the third embodiment and the second embodiment is that the mobile phone is used as the checking terminal in the third embodiment, the mobile phone is provided with a start button, an infrared lamp and an inclination angle detection module, the infrared lamp is arranged on a back plate of the mobile phone, and the inclination angle detection module on the mobile phone is used for forming an included angle with a plane where the two-dimensional handshaking code is located when the mobile phone identifies the two-dimensional handshaking code; the bottom end of the mobile phone back plate is provided with a groove, the bottom end of the mobile phone back plate is also hinged with a support frame, and the support frame is positioned in the groove under normal state; the support frame is provided with the limiting plate with the articulated department of cell-phone, and the setting of limiting plate makes the support frame rotate and form 45 contained angles between the back and the cell-phone backplate with the limiting plate contact, when inclination detection module detected the cell-phone and formed the inclination with the horizontal plane and equals 45, if press the start button, then control infrared lamp and shine. The tilt detection module includes an existing tilt sensor.
During specific implementation, the two-dimensional code of shaking hands can be at first side terminal, second side terminal or on the paper of printing out (first side terminal and second side means can be the cell-phone, ipai or computer), if the two-dimensional code of shaking hands that needs the discernment is on the paper of printing out, then need discernment two-dimensional code of shaking hands under light when discernment under the dark surrounds, just it shines the problem that light was sheltered from by the inspection terminal to probably appear the top when using at this moment to examine the two-dimensional code discernment of shaking hands at the inspection terminal, make and appear the shadow on the two-dimensional code of shaking hands, lead to the two-dimensional code of shaking hands to discern. And only can make infrared lamp bright (push button this moment) when checking personnel and horizontal plane slope 45 in this scheme, and checking personnel need the slope scanning then represent the problem that probably has the shade, so infrared lamp is bright when checking personnel slope 45, firstly play the effect of illuminating the two-dimensional code of shaking hands, secondly because the colour of infrared ray light is darker than current light and colours such as sunlight, after having shone infrared light, other light just are covered, be favorable to shaking hands the two-dimensional code recognition success like this, infrared ray light is little to the human naked eye stimulation simultaneously, be favorable to protecting eyes.
If the two-dimensional code of shaking hands shows through first side terminal or second side terminal, it is possible to cause the first side terminal or second side terminal screen to reflect light under the external strong light or indoor light when carrying out the two-dimensional code identification of shaking hands, thus not only causing the stimulation to the eyes of the checking personnel, but also making the displayed two-dimensional code of shaking hands partly covered by the strong light and unable to identify, in this scheme, the 45 degree of inclination scans, avoids the strong light from reflecting to the camera of the checking terminal after the strong light irradiates on the first side terminal or second side terminal screen, so that the light quantity of the camera of the checking terminal is increased, and further makes the two-dimensional code of shaking hands unable to identify normally when carrying out the two-dimensional code identification of shaking hands, and the mobile phone inclines 45 degree, namely the reflected light is mostly not reflected to the checking terminal, the success rate of two-dimensional code identification is increased, compared with the two-dimensional code identification of shaking hands which is, the scheme can also avoid the problem that the position of the two-dimensional code of shaking hands forms a shadow due to the fact that light irradiating the screen of the first party terminal or the second party terminal is shielded. And the support frame is arranged, so that the inspection personnel can quickly realize that the inspection terminal is inclined by 45 degrees, and the scanning and identification of the inspection personnel are facilitated.
The foregoing is merely an example of the present invention, and common general knowledge in the field of known specific structures and characteristics is not described herein in any greater extent than that known in the art at the filing date or prior to the priority date of the application, so that those skilled in the art can now appreciate that all of the above-described techniques in this field and have the ability to apply routine experimentation before this date can be combined with one or more of the present teachings to complete and implement the present invention, and that certain typical known structures or known methods do not pose any impediments to the implementation of the present invention by those skilled in the art. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several changes and modifications can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.

Claims (6)

1. A block chaining system based on data handshake and responsibility handover, comprising: the system comprises a first party terminal and a second party terminal;
the first-party terminal is used for inputting basic information of the data link building block by a first-party enterprise, then storing the information to form a data link building block, attaching block sealing information with a unique identity mark on the formed data link building block, sending the data link building block to a server, covering a timestamp on the data link building block, generating a complete data link building block and storing the data link building block information; then the first party terminal establishes a link relation with the data link building block selected by the first party enterprise, acquires corresponding data link building block information, stores the data link building block information to generate one-time handshake block information, and sends the one-time handshake block information to the second party terminal, and then the second party terminal sends the checking result single information of the one-time handshake block information to the first party terminal;
meanwhile, the terminal B stores the single information of the checking result to generate a secondary handshake block, and sends the secondary handshake block to a server to be covered with a timestamp after seal block information with a unique identity mark is attached to the secondary handshake block; after receiving the checking result single information, the first party terminal stores the checking result single information into the one-time handshake block, attaches the block sealing information with the unique identity mark to the one-time handshake block and then sends the one-time handshake block to the server to be covered with the timestamp;
the system comprises a handshake block building subsystem, wherein the handshake block building subsystem comprises an inspection terminal, and the inspection terminal comprises: the system comprises a broadcast information checking module and a two-dimensional code identification module, wherein the two-dimensional code identification module is used for identifying a two-dimensional code of shaking hands on a goods delivery terminal after goods are received by an inspector, displaying information of a one-time shaking hand block corresponding to the two-dimensional code of shaking hands for the inspector to check, the inspector confirms whether the information is wrong after checking the information of the one-time shaking hand block, generating inspection result single information according to the confirmation result information after confirming the information, and sending the inspection result single information to a second party terminal and a first party terminal; the bottom end of the mobile phone back plate is provided with a groove, the bottom end of the mobile phone back plate is also hinged with a support frame, and the support frame is positioned in the groove under normal state; the support frame is provided with the limiting plate with the articulated department of cell-phone, and the setting of limiting plate makes the support frame rotate and form 45 contained angles between the back and the cell-phone backplate with the limiting plate contact, when inclination detection module detected the cell-phone and formed the inclination with the horizontal plane and equals 45, if press the start button, then control infrared lamp and shine.
2. A block chaining system based on data handshake and responsibility handover as claimed in claim 1 wherein: the first-party terminal comprises a data link building block establishing judgment module and a data link building block establishing module, the data link building block establishing judgment module is used for a first-party enterprise to send a data link building block establishing instruction to the data link building block after inputting data link building block basic information on the data link building function module, the data link building block establishing module is used for receiving the data link building block establishing instruction sent by the data link building block establishing judgment module and entering an information recording interface after receiving the data link building block establishing instruction, the information recording interface is used for the enterprise to fill or upload transaction data information, then the data link building block establishing module establishes an empty block and an empty envelope, and the transaction data information is stored in the empty block to generate a new data link building block.
3. A block chaining system based on data handshake and responsibility handover as claimed in claim 2 wherein: the first-party terminal further comprises a data link building block packaging module, the data link building block packaging module is used for packaging the data link building block, when the data link building block is packaged, a hash value, a block code and a block two-dimensional code are attached to the data link building block, and the hash value, the block code and the block two-dimensional code are all the block packaging information of the data link building block.
4. A block chaining system based on data handshake and responsibility handover as claimed in claim 2 wherein: the first-party terminal further comprises a first-hand block packaging module, the first-hand block packaging module is used for packaging the first-hand block, when the first-hand block is packaged, a hash value, a block code and a block two-dimensional code are attached to the first-hand block, and the hash value, the block code and the block two-dimensional code are all the block packaging information of the first-hand block.
5. A block chaining system based on data handshake and responsibility handover as claimed in claim 2 wherein: the second-party terminal comprises a secondary handshake block packaging module, the secondary handshake block packaging module is used for packaging the secondary handshake block, during packaging, a hash value, a block code and a block two-dimensional code are attached to the secondary handshake block, and the hash value, the block code and the block two-dimensional code are sealing block information of the secondary handshake block.
6. A block chaining method based on data handshake and responsibility handover, characterized by comprising the following steps:
s1, establishing a data link establishing block: acquiring transaction data information of a product, storing the transaction data information of the product to form a data link building block, attaching block sealing information with a unique identity identification mark function to the data link building block, covering a timestamp on the data link building block to generate a complete data link building block, and storing the data link building block information;
s2, handshake block establishment: selecting different data link building blocks to build a link relation, acquiring corresponding data link building block information through the unique identity identification mark, storing the data link building block information to generate one-time handshake block information, and sending the one-time handshake block information to the second-party terminal; meanwhile, the terminal B stores the single information of the checking result to generate a secondary handshake block, then seal block information with a unique identity mark function is attached to the primary handshake block and the secondary handshake block respectively, timestamps are covered on the primary handshake block and the secondary handshake block respectively, and the information of the primary handshake block and the information of the secondary handshake block are stored and broadcasted after the complete primary handshake block and the complete secondary handshake block are generated;
the two-dimension code identification module is used for identifying the two-dimension code of shaking hands on the goods delivery terminal after goods are received by an inspector, displaying the information of the one-time shaking hands block corresponding to the two-dimension code of shaking hands for the inspector to check after the two-dimension code of shaking hands is identified, the inspector checks the information of the one-time shaking hands block and then determines whether the information is wrong, the inspector generates inspection result single information according to the information of the one-time shaking hands block corresponding to the information of the one-time shaking hands after the information is confirmed and sends the inspection result single information to the second party terminal and the first party terminal, the inspection terminal is a mobile phone, a starting button, an infrared lamp and an inclination angle detection module are arranged on the mobile phone back plate, and the inclination angle detection module on the mobile phone is used for forming an; the bottom end of the mobile phone back plate is provided with a groove, the bottom end of the mobile phone back plate is also hinged with a support frame, and the support frame is positioned in the groove under normal state; the support frame is provided with the limiting plate with the articulated department of cell-phone, and the setting of limiting plate makes the support frame rotate and form 45 contained angles between the back and the cell-phone backplate with the limiting plate contact, when inclination detection module detected the cell-phone and formed the inclination with the horizontal plane and equals 45, if press the start button, then control infrared lamp and shine.
CN201811550809.6A 2018-12-18 2018-12-18 Block link establishing system and method based on data handshake and responsibility handover Active CN109753539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550809.6A CN109753539B (en) 2018-12-18 2018-12-18 Block link establishing system and method based on data handshake and responsibility handover

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550809.6A CN109753539B (en) 2018-12-18 2018-12-18 Block link establishing system and method based on data handshake and responsibility handover

Publications (2)

Publication Number Publication Date
CN109753539A CN109753539A (en) 2019-05-14
CN109753539B true CN109753539B (en) 2020-11-20

Family

ID=66403734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550809.6A Active CN109753539B (en) 2018-12-18 2018-12-18 Block link establishing system and method based on data handshake and responsibility handover

Country Status (1)

Country Link
CN (1) CN109753539B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375298A (en) * 2016-08-30 2017-02-01 湖南中车时代通信信号有限公司 Method for realizing configurable secure communication protocol
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160098730A1 (en) * 2014-10-01 2016-04-07 The Filing Cabinet, LLC System and Method for Block-Chain Verification of Goods
CN107122477A (en) * 2017-05-02 2017-09-01 成都中远信电子科技有限公司 A kind of block chain storage system
CN108200028B (en) * 2017-12-27 2020-06-16 飞天诚信科技股份有限公司 Method and system for safely acquiring trusted data of server by using block chain
CN108197950B (en) * 2017-12-28 2022-01-04 广州美诚汇信息科技有限公司 Cosmetic supply chain tracing method and tracing platform
CN108256875A (en) * 2018-04-09 2018-07-06 王先笨 A kind of safe traceability system based on product supply chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375298A (en) * 2016-08-30 2017-02-01 湖南中车时代通信信号有限公司 Method for realizing configurable secure communication protocol
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链技术的自动需求响应系统应用初探;李彬等;《中国电机工程学报》;20170705;第37卷(第13期);全文 *

Also Published As

Publication number Publication date
CN109753539A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
US7243842B1 (en) Computer-based value-bearing item customization security
CN106408173A (en) Quality random inspection execution process supervision system
US8572695B2 (en) Method for applying a physical seal authorization to documents in electronic workflows
US11042738B2 (en) Simple authentication of elements in blister packages
CN106934630B (en) Measuring instrument quantity value tracing method
EP1986162A1 (en) Object authentication using a portable digital image acquisition device
CN106485298A (en) A kind of equipment routing inspection maintaining method based on Quick Response Code
EP2050050A2 (en) System and method for authenticating a workflow
MX2007010426A (en) System and method for network-based object authentication.
CN104238819B (en) The detection method and system of display screen state in mobile terminal
CN107481349A (en) A kind of station method for inspecting and its cruising inspection system
CN105976252A (en) Checking method and system for electronic device screen damage insurance
CN108418747A (en) Method for sending information, device, equipment based on instant messaging and storage medium
KR101085528B1 (en) Method and system for electronic document in Certified Electronic Data Authority
CN104751532A (en) Universal patrol system and patrol method thereof
US7933845B1 (en) Image-customization of computer-based value-bearing items
CN111429015B (en) Block chain system for monitoring house decoration quality
CN109753539B (en) Block link establishing system and method based on data handshake and responsibility handover
US20220164833A1 (en) Portable evaluation device, associated systems and methods, and resumable evaluation sessions
CN114020649A (en) Quality inspection result verification method, system, test equipment and storage medium
CN111309339A (en) Chip burning method and system based on Internet of things and readable storage medium
US8065239B1 (en) Customized computer-based value-bearing item quality assurance
US8805745B1 (en) Printing of computer-based value-bearing items
CN114666133B (en) Remote inquiry evidence obtaining system and method based on original handwriting signature
CN115688066A (en) Electronic signature method, device, storage medium and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant