CN109753539A - Block link setup system and method based on data handshakes and hands over of responsibility - Google Patents

Block link setup system and method based on data handshakes and hands over of responsibility Download PDF

Info

Publication number
CN109753539A
CN109753539A CN201811550809.6A CN201811550809A CN109753539A CN 109753539 A CN109753539 A CN 109753539A CN 201811550809 A CN201811550809 A CN 201811550809A CN 109753539 A CN109753539 A CN 109753539A
Authority
CN
China
Prior art keywords
block
link setup
data link
information
party
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811550809.6A
Other languages
Chinese (zh)
Other versions
CN109753539B (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

Abstract

The present invention relates to data trade fields, and in particular to a kind of block link setup system and method based on data handshakes and hands over of responsibility, which includes: including Party A's terminal and Party B's terminal;Party A's terminal is used for Party A enterprise input data link setup block basis information, then the information is subjected to storage and forms data link setup block, and data link setup block is sent to server after enclosing on the data link setup block of formation with the envelope block message of unique identities mark and covers timestamp, generate complete data link setup block and stores its data link setup block information;Then the data link setup block that Party A enterprise selectes is established the link relationship by Party A's terminal, it obtains corresponding data link setup block information to carry out storage and generate once block information of shaking hands being sent to Party B's terminal, then the examination result list information for block information of once shaking hands is sent to Party A's terminal by Party B's terminal.

Description

Block link setup system and method based on data handshakes and hands over of responsibility
Technical field
The present invention relates to data trade fields, and in particular to a kind of block link setup system based on data handshakes and hands over of responsibility System and method.
Background technique
Data trade refers to the business that both parties exchange each other's needs to original or treated data and data service Behavior.Recently as the widely available of big data and application, the value of data resource is gradually paid attention to and is approved, data are handed over Easy demand is also being continuously increased.For data trade, a kind of block chain technology, existing block chain skill are proposed in the prior art The block mode that goes out of art is: all nodes reach common understanding to specific common recognition mechanism, determine that block node (is mostly third party at present Centralization platform is as going out block node), and it is subject to the block that the node chosen goes out.After selected block node out, when needing block out By going out block node according to specifically block algorithm goes out block out.
Go out block mode according to above-mentioned, be mostly currently based on the method that block chain technology realizes data trade: transaction is sent out The client of one centralization platform of Node registers is played, typing transaction data stores to centralization platform as uplink data Block in;Transaction acceptance node and transaction are initiated node and are completed after trading, and the client of same centralization platform, typing are logged in Transaction data after transaction, as uplink data storage in the block at centralization platform;After data storage to block, by centralization Platform completes data cochain, and carries out book keeping operation or the record of the event;Centralization platform is by carrying out big data to uplink data Analysis and processing, establish transaction data responsibility chain.For the block chain technology that available data transaction proposes, data trade is realized Requirement be: a centralization platform has been necessarily required to during data trade, the node participated in business is carried out in its client The typing of transaction data operates;Transaction data must be maintained in the block that centralization platform goes out, and carry out data by centralization platform Cochain establishes transaction data responsibility chain.
Therefore, mean that the transaction data of transaction node needs to be stored in the data block of centralization platform using the prior art In, data or centralised storage, there are the record of third party's generation or the possibility of third party's altered data;If transaction data is usurped Change, the authenticity of transaction data responsibility chain will be difficult to ensure, the responsibility of data validity is difficult to implement.
Summary of the invention
The block link setup system based on data handshakes and hands over of responsibility that it is an object of that present invention to provide a kind of, to guarantee to trade The accuracy of data.
Base case provided by the invention are as follows: the block link setup system based on data handshakes and hands over of responsibility, including Party A Terminal and Party B's terminal;
Party A's terminal is used for Party A enterprise input data link setup block basis information, and the information is then carried out storage formation Data link setup block, and build data after enclosing on the data link setup block of formation with the envelope block message of unique identities mark Chain block is sent to server and covers timestamp, generates complete data link setup block and carries out its data link setup block information Storage;Then the data link setup block that Party A enterprise selectes is established the link relationship by Party A's terminal, obtains corresponding data link setup Block information carries out storage and generates once block information of shaking hands being sent to Party B's terminal, and then Party B's terminal is by block of once shaking hands The examination result list information of information is sent to Party A's terminal;
Party B's terminal will carry out storage to examination result list information and generate secondary block of shaking hands simultaneously, and in secondary area of shaking hands It is enclosed on block and secondary block of shaking hands is sent to server after the envelope block message with unique identities mark covers timestamp;And first Square terminal stores examination result list information to once shaking hands in block after receiving examination result list information, is then once holding It is enclosed on hand block and block of once shaking hands is sent to server after the envelope block message with unique identities mark covers timestamp.
Examination result list information refer to once shake hands block information carry out accuracy examination after according to examination result generate Information.
The present invention has the advantages that
1, timestamp has been covered after enclosing on data link setup block with the envelope block message of unique identities mark, if to this The transaction data of product modify will lead to envelope block message and timestamp variation so that data link setup block information without Method is tampered, and ensure that the accuracy of data link setup block information.
2, block of once shaking hands is established according to corresponding data link setup block information, that is, block information of shaking hands sum number According to all having corresponding relationship between link setup block information, data link setup block information ensure that and the standard for block information of once shaking hands True property.
3, information is according to block information and the examination result list information generation of once shaking hands, examination knot in secondary block of shaking hands Fruit list information is that Party B's terminal generates, and once shakes hands block and data link setup block is that Party A's terminal and server generates, and makes Obtaining any one block information and going wrong can have mark that can follow, convenient for the division of responsibility.
Further, Party A's terminal includes that data link setup block establishes judgment module and data link setup block establishes mould Block, the data link setup block establish judgment module for input data link setup area in data link setup functional module, Party A enterprise A data link setup block foundation instruction is sent after block basic information establishes module, data link setup area to data link setup block Block establishes the module data link setup block that link setup block establishes judgment module transmission for receiving data and establishes instruction, and is receiving It is established after instruction to data link setup block and enters data input interface, transaction is filled in or uploaded in data input interface for enterprise Data information, then data link setup block establishes module and establishes dead zone block and empty envelope, by transaction data storage to dead zone New data link setup block is generated in block.
Judgment module is established by data link setup block and data link setup block establishes module and realizes new data link setup area The generation of block.
Further, Party A's terminal further includes data link setup block package module, and data link setup block package module is used In being packaged processing to data link setup block, when data link setup block is packaged processing, enclosed on data link setup block Cryptographic Hash, block coding and block two dimensional code, cryptographic Hash, block coding and block two dimensional code are the envelope of data link setup block Block message.
Cryptographic Hash is the unique and extremely compact numerical value representation of one piece of data.If hash a Duan Mingwen and even A letter of the paragraph is only changed, subsequent Hash will all change, and ensure that the accuracy of data link setup block information, avoid Data link setup block information is tampered.
Further, Party A's terminal further includes block package module of once shaking hands, and one time handshake block package module is used for Processing is packaged to block of once shaking hands, when encapsulation process, enclosed on the block of once shaking hands cryptographic Hash, block coding and Block two dimensional code, cryptographic Hash, block coding and block two dimensional code are the envelope block message of primary block of shaking hands.
Cryptographic Hash, block coding and block two dimensional code are the envelope block message of primary block of shaking hands, and ensure that and once shake hands The accuracy of block information.
Further, Party B's terminal includes secondary block package module of shaking hands, secondary handshake block package module for pair Secondary block of shaking hands is packaged processing, when encapsulation process, encloses cryptographic Hash, block coding and area on the secondary block of shaking hands Block two dimensional code, cryptographic Hash, block coding and block two dimensional code are the envelope block message of secondary block of shaking hands.
Cryptographic Hash, block coding and block two dimensional code are the envelope block message of secondary block of shaking hands as secondary block of shaking hands Envelope block message, ensure that the accuracy of secondary block information of shaking hands.
In addition, the block link setup system based on data handshakes and hands over of responsibility of being directed to, is additionally provided one kind and is held based on data The block link constructing method of hand and hands over of responsibility, includes the following steps:
S1, data link setup block are established: being obtained the transaction data of product, and carried out to the transaction data of product Storage forms data link setup block, then encloses the envelope block with unique identities distinguishing mark function on the data link setup block Information, and cover timestamp on data link setup block, generate complete data link setup block and its data link setup block is believed Breath is stored;
S2, block of shaking hands are established: being selected different data link setup blocks and are established the link relationship, are known by unique identities and indicated It obtains corresponding data link setup block information to carry out storage and generate once block information of shaking hands being sent to Party B's terminal, then Party B Terminal, which is once shaken hands, block information and is sent to Party A's terminal for the examination result list information for block information of once shaking hands;Second simultaneously Square terminal will carry out storage to examination result list information and generate secondary block of shaking hands, then respectively in the block and secondary of once shaking hands It shakes hands and encloses the envelope block message with unique identities blip facility on block, and respectively in block and the secondary area of shaking hands of once shaking hands It covers timestamp on block, generates after completely once shaking hands block and secondary block of shaking hands to the block information and secondary of once shaking hands Block information of shaking hands is stored and is broadcasted.
Make data link setup block information by step S1 and S2, once shake hands block information and secondary block information of shaking hands Source is clear, is convenient for divisions of responsibility.Such as: after data link setup block information goes wrong, data link setup of problems area Block message, which will be used to generate, shakes hands block information, and finds it when block information is checked shake hands there are problems, just The problem of data link setup block information can be searched out, and then just can be apparent from responsibility distribution is that reason causes Block information of shaking hands goes wrong.
Detailed description of the invention
Fig. 1 is the logical construction frame of the block link setup system based on data handshakes and hands over of responsibility in the embodiment of the present invention one Figure;
Fig. 2 is the process for using of the block link constructing method based on data handshakes and hands over of responsibility in the embodiment of the present invention one Figure;
Fig. 3 is the logical construction frame of the block link setup system based on data handshakes and hands over of responsibility in the embodiment of the present invention two Figure.
Specific embodiment
It is further described below by specific embodiment:
Embodiment one
As shown in Figure 1, the block link setup system based on data handshakes and hands over of responsibility, comprising: data link setup subsystem and Block of shaking hands builds block subsystem.It further include that retrospect block builds block if the system user is manufacturing enterprise and distributors System.
One, data link setup subsystem
Data link setup subsystem includes: Party A's terminal and server, between Party A's terminal and server by wireless communication Module carries out network communication.Party A's terminal is used for Party A enterprise.
Party A's terminal includes:
Data basis MIM message input module is used for Party A enterprise input data link setup block basis information, if Party A enterprise For production enterprise, then it includes ProductName that the data link setup block basis information inputted is needed when it establishes data link setup block Claim the batch number with product.
Data link setup block establishes judgment module, is used for Party A enterprise input data link setup in data link setup functional module A data link setup block foundation instruction is sent after block basis information establishes module to data link setup block;If Party A enterprise is Production enterprise, then data link setup block establishes judgment module and is also used to Party A enterprise according to the judgement of the product batches number of input Whether the product batches number establish corresponding data link setup block, if the product batches number do not establish corresponding data link setup area Block then sends a data link setup block foundation instruction to data link setup block and establishes module;If the batch number has had correspondence Data link setup block, then the transaction data stored in the data link setup block is sent to data link setup functional module, Data link setup functional module is received after data link setup block establishes the transaction data that judgment module is sent and is shown to it Show.Transaction data include trace to the source basic information, feed intake record information, key point record information, survey report, keep sample record Information and accessory information, basic information of tracing to the source include: name of product, quality owner, product type, product number, specification, The information such as quantity, measurement unit, date of manufacture, shelf-life, QC inspector and product batches number.Feeding intake and recording information includes: original The information such as title material, raw material batch number, supplier, examining report and the responsible person that feeds intake.Key point record information includes: note Record the information such as document number, file name and record responsible person.Survey report information includes: to examine project number, inspection content, inspection Test the information such as report number, check conclusion and identifier.Keep sample record information include: keep sample deadline time, the number of keeping sample, stay The information such as sample quantity, the unit that keeps sample and responsible person.Accessory information includes: the legal related proof text for closing rule of raw material supplier The information such as the legal related documentary evidence for closing rule of part, raw material and associated ticket.
Data link setup block establishes module, and link setup block establishes the data link setup area of judgment module transmission for receiving data Block establishes instruction, and data input interface is entered after receiving data link setup block and establishing instruction, and data input interface is used Transaction data is filled in or uploads in enterprise, then data link setup block establishes module and establishes dead zone block and empty envelope, will hand over New data link setup block is generated in easy data information memory to dead zone block.For example, Party A enterprise is production enterprise, hand over Easy data information includes the information such as the information of the company information of production, name of product and product batches number.
Data link setup block seals block module, for establishing the new data link setup block of module foundation to data link setup block Envelope block processing is carried out, when envelope block is handled, envelope block message is enclosed on the data link setup block, envelope block message includes: cryptographic Hash, area Block coding and block two dimensional code.
Data link setup block obtains module, for obtaining data link setup block information, data link setup block letter from server Breath includes the envelope block message and transaction data of corresponding data link setup block.
Server includes:
Data link setup block information memory module is stored with data link setup block in data link setup block information memory module The data link setup block information that timestamp generation module generates.
Data link setup block timestamp generation module, for being covered on the data link setup block for having enclosed envelope block message Timestamp generates complete data link setup block, and upper data link setup block is marked on the empty envelope of the data link setup block Status information after generate the corresponding data link setup block information of data link setup block and stored, complete data are built The status information of chain block subscript note is " having sealed block ".
Two, retrospect block builds block subsystem
It includes: Party A's terminal and server that retrospect block, which builds block subsystem, is passed through between Party A's terminal and server wireless Communication module carries out network communication.Retrospect block is built manufacturing enterprise of the Party A's terminal in block subsystem for product and is used.It chases after It is same equipment that the block that traces back, which builds the server in the server in block subsystem and data link setup subsystem,.
Party A's terminal includes:
Retrospect block establishes module, and for creating dead zone block and empty envelope, then storage is single with goods colleague in the block of dead zone Information includes product batches information and name of product information etc. with the single information of goods colleague, and goes together single information certainly according to goods It is dynamic to obtain the corresponding data link setup block information of product batches number, believe later according to the single information of goods colleague and data link setup block Breath establishes retrospect block, is stored in retrospect block with the single information of goods colleague and data link setup block information, data link setup block Information includes the transaction data of corresponding data link setup block, block two dimensional code, block coding and cryptographic Hash;It goes together with goods single Information includes the information such as odd numbers, institutional recipient, logistics unit, Shipping Date, consignor and product batches list of going together with goods, Product batches list information includes the information such as name of product, product batches number, quantity and data link setup block number.
Block package module is traced, the retrospect block for establishing module foundation to retrospect block is packaged processing, seals When dress processing, envelope block message is enclosed on the retrospect block, envelope block message includes: cryptographic Hash, block coding and block two dimension Code.
It traces block and obtains module, for obtaining retrospect block information from server, retrospect block information includes retrospect area The corresponding envelope block message of block, go together with goods single information and corresponding data link setup block information.
Server includes:
Block information memory module is traced, traces and is stored with retrospect block timestamp generation mould in block information memory module The retrospect block information of block storage.
Block timestamp generation module is traced, for covering timestamp on the retrospect block for having enclosed envelope block message, Complete trace back block is generated, and marks the status information of the upper retrospect block on the empty envelope of the retrospect mould block, is being marked Production traces block information and is stored after being poured in status information.The status information marked on complete retrospect block is " Encapsulation ".
Three, block of shaking hands builds block subsystem
It includes Party A's terminal, server and Party B's terminal that block of shaking hands, which builds block subsystem, if the system user is product Manufacturing enterprise and distributors, then it further includes delivery terminal that the block of shaking hands, which builds block subsystem,.Delivery terminal, Party A's terminal and second Module carries out network communication to square terminal by wireless communication with server.Delivery terminal uses (such as product delivery personnel Courier).Wireless communication module in the present embodiment selects the WIFI communication module of existing ZSW111 model.
Data link setup subsystem, the server that retrospect block builds block subsystem and block of shaking hands is built in block subsystem are same Equipment.
Party A's terminal includes:
Block link setup functional module is sent out, for selecting data link setup block to carry out hair block, hair block link setup functional module is built automatically Vertical dead zone block and empty envelope will generate block of once shaking hands in the storage to dead zone block of link setup module information, and once held according to this Hand block generates corresponding block information of once shaking hands, and the status information of the upper block of once shaking hands is marked in empty envelope, At this point, this is once shaken hands, the status information of block is " not sealing block ".If Party A enterprise is production enterprise, block link setup function is sent out Can module the data link setup block and retrospect block that are also used to select to need to establish the link relationship, then by data link setup block and Relationship is established the link between retrospect block, when establishing the link relationship, the data link setup block of relationship will be established the link as needed Link setup module information is generated with corresponding data link setup block information in retrospect block and retrospect block information, sends out block link setup later Functional module establishes dead zone block and empty envelope automatically, will generate block of once shaking hands in the storage to dead zone block of link setup module information, And block of once being shaken hands according to this generates corresponding block information of once shaking hands, and marks upper this in empty envelope later and once shakes hands The status information of block, at this point, this is once shaken hands, the status information of block is " not sealing block ".
Two dimensional code generates and pushing module, for generating corresponding two dimensional code of shaking hands according to block information of once shaking hands, so The two-dimensional barcode information of shaking hands is sent to Party B's terminal afterwards, if the user of Party A's terminal is production enterprise, will be shaken hands Two-dimensional barcode information is sent to delivery terminal.
Result list data obtaining module is checked, for receiving the examination result list information of delivery terminal transmission, and to reception To examination result list information shown.
Once shake hands block package module, for being packaged processing to block of once shaking hands, when encapsulation process this one Envelope block message is enclosed on secondary block of shaking hands, envelope block message includes: cryptographic Hash, block coding and block two dimensional code.
Block of once shaking hands obtains module, block information and is stored for obtaining once to shake hands from server, once Handshaking information includes once the shake hands corresponding envelope block message of block, examination result list information and two-dimensional barcode information of shaking hands.
Information view block is broadcasted, the casting information for sending to server is shown.
Delivery terminal includes:
It shakes hands two-dimensional code acquisition module, for shaking hands the corresponding two dimensional code of shaking hands of block from the acquisition of Party A's terminal, to shaking hands Two dimensional code is shown and is identified, and the block information of once shaking hands corresponding to the two dimensional code of shaking hands after two dimensional code is shaken hands in identification It is shown and is checked for product delivery personnel, and whether confirmation message is wrong after checking information, according to confirmation after confirmation message Result information and corresponding block information of once shaking hands generate examination result list information and are sent to Party B's terminal and Party A's terminal.
Information view block is broadcasted, the casting information for sending to server is shown.
Party B's terminal includes:
It shakes hands two dimensional code identification module, for obtaining the corresponding two dimensional code of shaking hands of block of shaking hands, to shaking hands, two dimensional code is carried out Display and identification, and block information of once shaking hands corresponding to the two dimensional code of shaking hands carries out display confession after two dimensional code is shaken hands in identification Party B company work personnel check, and whether confirmation message is wrong after checking information, according to confirmation result letter after confirmation message Breath and corresponding block information of once shaking hands generate examination result list information and are sent to Party B's terminal and Party A's terminal.
Result list data obtaining module is checked, for receiving the examination result list letter for two dimensional code identification module transmission of shaking hands Breath, and the information received is shown.
Then complete secondary block generation module of shaking hands will check result list information for creating dead zone block and empty envelope It stores and generates secondary block of shaking hands in the dead zone block of creation.
Secondary block package module of shaking hands, for being packaged processing to secondary block of shaking hands, when encapsulation process this two Envelope block message is enclosed on secondary block of shaking hands, envelope block message includes: cryptographic Hash, block coding and block two dimensional code.
Secondary block of shaking hands obtains module, for obtaining secondary block information of shaking hands, secondary handshaking information packet from server Include the corresponding envelope block message of secondary block of shaking hands, examination result list information and two-dimensional barcode information of shaking hands.
Information view block is broadcasted, the casting information for sending to server is shown.
Server includes:
Block information of shaking hands memory module stores block information of once shaking hands in block information of shaking hands memory module respectively With secondary block information of shaking hands.
It shakes hands block timestamp generation module, for covering the time on once shake hands block and secondary block of shaking hands respectively Stamp, and keeps accounts to transaction record, generates completely once shake hands block and secondary block of shaking hands later, and once holds at this Upper status information is marked on hand block and the corresponding empty envelope of secondary block of shaking hands, generates after having marked status information and once holds Hand block information and secondary shake hands and are stored block information.It is marked on complete once shake hands block and secondary block of shaking hands Status information be " encapsulation ".
Broadcasting module, for basis to block information and the secondary block information generation casting information of shaking hands of once shaking hands, so Casting information Party A's terminal, delivery terminal and Party B's terminal is sent to afterwards to check.
In addition, as shown in Fig. 2, the block link setup system based on data handshakes and hands over of responsibility of being directed to, the present embodiment are also public A kind of block link constructing method based on data handshakes and hands over of responsibility has been opened, has been given birth in this method by product of Party A's terminal user Produce enterprise, Party B's terminal user be distributors for, specifically comprise the following steps:
S1, data link setup block are established
S1-1, manufacturing enterprise staff's title for passing through the data link setup functional module input product in Party A's terminal With the batch number of product.
Data link setup block in S1-2, Party A's terminal establishes judgment module and judges the product according to the product batches number of input Whether batch number establishes corresponding data link setup block, if the product batches number do not establish corresponding data link setup block, It sends a data link setup block foundation instruction and establishes module to data link setup block;If the batch number has had corresponding data The transaction data stored in the data link setup block is then sent to data link setup functional module by link setup block.
Data link setup block in S1-3, Party A's terminal establishes module reception data link setup block and establishes judgment module transmission Data link setup block establish instruction, and receive data link setup block establish instruction after enter data input interface, believe Transaction data is filled in or is uploaded to breath input interface for enterprise, then data link setup block establish module establish dead zone block with Empty envelope will generate new data link setup block in transaction data storage to dead zone block.
Data link setup block envelope block module in S1-4, Party A's terminal establishes the new of module foundation to data link setup block Data link setup block carries out envelope block processing and encloses envelope block message on the data link setup block when envelope block is handled.
Data link setup block timestamp generation module in S1-5, server is in the data link setup for having enclosed envelope block message Timestamp is covered on block, generates complete data link setup block, and is counted on mark on the empty envelope of the data link setup block The corresponding data link setup block information of data link setup block is generated later according to the status information of link setup block and is stored, it is complete The status information marked on whole data link setup block is " having sealed block ".
Data link setup block in S1-6, Party A's terminal obtains module and obtains data link setup block information, and builds to data Chain block information is shown that the staff for manufacturing enterprise checks.
S2, retrospect block are established
Retrospect block in S2-1, Party A's terminal establishes module creation dead zone block and empty envelope, then in the block of dead zone certainly Dynamic storage is gone together single information with goods, includes product batches information and name of product information etc. with goods single information of going together, and according to With the corresponding data link setup block information of the single automatic acquisition of scientific information product batches number of goods colleague, later according to the single information of goods colleague Retrospect block is established with data link setup block information, is stored in retrospect block with the single information of goods colleague and data link setup block information It is interior.
The retrospect block that retrospect block package module in S2-2, Party A's terminal establishes module foundation to retrospect block carries out Encapsulation process when encapsulation process, encloses envelope block message on the retrospect block.
Retrospect block timestamp generation module in S2-3, server is in the retrospect block upper cover for having enclosed envelope block message Upper timestamp generates complete trace back block, and the state of the upper retrospect block is marked on the empty envelope of the retrospect mould block Information, production traces block information and is stored after having marked status information.The state marked on complete retrospect block Information is " encapsulation ".
Retrospect block in S2-4, Party A's terminal obtains module and obtains retrospect block information for manufacturing enterprise from server Staff checks.
S3, block of shaking hands are established
S3-1, manufacturing enterprise staff need to establish chain by the hair block link setup functional module selection in Party A's terminal The data link setup block and retrospect block of relationship are connect, then will establish the link relationship between data link setup block and retrospect block, When establishing the link relationship, by corresponding data link setup in the data link setup block and retrospect block that establish the link relationship as needed Block information and retrospect block information generate link setup module information, send out block link setup functional module later and establish dead zone block and sky automatically Envelope will generate block of once shaking hands in the storage to dead zone block of link setup module information, and block generation pair of once being shaken hands according to this The block information of once shaking hands answered, and the status information for going up the block of once shaking hands is marked in empty envelope, at this point, this is once held The status information of hand block is " not sealing block ".
Two dimensional code generation and pushing module in S3-2, Party A's terminal generate corresponding hold according to block information of once shaking hands Then the two-dimensional barcode information of shaking hands is sent to delivery terminal by hand two dimensional code.
Two-dimensional code acquisition module of shaking hands in S3-3, delivery terminal is shaken hands from the acquisition of Party A's terminal, and block is corresponding to shake hands two Code is tieed up, and two dimensional code of shaking hands is shown and identified, it is corresponding to the two dimensional code of shaking hands primary after two dimensional code is shaken hands in identification Block information of shaking hands is shown checks for product delivery personnel, and whether confirmation message is wrong after checking information, confirmation letter It generates examination result list information according to confirmation result information and corresponding block information of once shaking hands after breath and is sent to Party B's terminal With Party A's terminal.
Examination result list data obtaining module in S3-4, Party B's terminal receives the examination result list letter that delivery terminal is sent Breath, and the information received is shown and is checked for distributors staff.
Completely shake hands block generation module creation dead zone block and empty envelope in S3-5, Party B's terminal, then tie examination Secondary block of shaking hands is generated in the storage to the dead zone block of creation of fruit list information.
Secondary block package module of shaking hands in S3-6, Party B's terminal is packaged processing to secondary block of shaking hands, encapsulation Envelope block message is enclosed when processing on the secondary block of shaking hands, envelope block message includes: cryptographic Hash, block coding and block two dimension Code.
Block timestamp generation module of shaking hands in S3-7, server covers timestamp on secondary block of shaking hands, and right Transaction record is kept accounts, and generates complete secondary block of shaking hands later, and on the corresponding empty envelope of the secondary block of shaking hands Status information on mark generates secondary shake hands after having marked status information and block information and is stored.It is completely secondary to hold The status information marked on hand block is " encapsulation ".
S3-8, after executing step S3-3, the block package module of once shaking hands in Party A's terminal is to once shaking hands area Block is packaged processing, and when encapsulation process encloses envelope block message on the block of once shaking hands, envelope block message include: cryptographic Hash, Block coding and block two dimensional code.
Block timestamp generation module of shaking hands in S3-9, server covers timestamp on block of once shaking hands, and right Transaction record is kept accounts, and generates block of completely once shaking hands later, and on the corresponding empty envelope of the block of once shaking hands Status information on mark, generates once to shake hands after having marked status information and block information and is stored.Completely once hold The status information of hand block is " encapsulation ".
Block of once shaking hands in S3-10, Party A's terminal obtains module and once shakes hands block information simultaneously from server acquisition It is stored.
Broadcasting module in S3-11, server is according to block information and the secondary block information generation of shaking hands of once shaking hands Information is broadcasted, casting information is then sent to Party A's terminal, delivery terminal and Party B's terminal and is checked.
Embodiment two
As shown in figure 3, embodiment two and the difference of embodiment one are, the two-dimensional code acquisition module of shaking hands in embodiment two It is served only for product delivery personnel and obtains block of shaking hands corresponding shake hands two dimensional code and showing the two dimensional code of shaking hands.
In addition, it further includes examination terminal that the block of shaking hands in embodiment two, which builds block subsystem, examination terminal includes: casting letter Breath checks module and two dimensional code identification module, and two dimensional code identification module is for checking personnel after receiving cargo to delivery terminal On two dimensional code of shaking hands identified, and after two dimensional code is shaken hands in identification it is corresponding to the two dimensional code of shaking hands once shake hands block letter Breath (block information of once shaking hands includes single information of going together with goods) is shown and is checked for examination personnel that examination personnel check one Confirm whether the information is wrong after secondary block information of shaking hands, is once shaken hands according to confirmation result information to corresponding after confirmation message Block information generates examination result list information and is sent to Party B's terminal and Party A's terminal.
Casting information view block in examination terminal is used to check personnel and checks the casting information that server is sent.
The difference of embodiment two and embodiment one is that in embodiment two be examination terminal generation with goods single information of going together, Rather than delivery terminal generates, such examination personnel for being advantageous in that profession are by examination terminal to block information of once shaking hands It is checked, increases the accuracy of confirmation result information.
Embodiment three
Embodiment three and the difference of embodiment two are that the examination terminal in embodiment three selects mobile phone, set on the mobile phone It is equipped with start button, infrared lamp and inclination angle detection module, infrared lamp is arranged on mobile phone backboard, the inclination angle inspection on mobile phone It surveys module and carries out the angle formed when two dimensional code identifies with plane where two dimensional code of shaking hands of shaking hands for mobile phone;Cell phone back board bottom end Upper setting is fluted, and cell phone back board bottom end is also hinged with support frame, and normality lower bracing frame is located in groove;Support frame and mobile phone hinge The place of connecing is provided with limit plate, and the setting of limit plate is so that support frame rotation simultaneously and after limit plate contact is formed between mobile phone backboard 45 ° of angles, when inclination angle detection module detects mobile phone and horizontal plane forms inclination angle equal to 45 °, if having pressed start button, It is bright then to control infrared lamp.Inclination angle detection module includes existing obliquity sensor.
When it is implemented, two dimensional code of shaking hands can be (the Party A on Party A's terminal, Party B's terminal or the paper that prints Terminal and Party B's means can be mobile phone, ipai or computer), the two dimensional code of shaking hands if desired identified is in the paper printed On, it then needs to identify under light when identifying under dark surrounds and shake hands two dimensional code, at this moment shake hands two using examination terminal Just it probably will appear the problem of top irradiation light is blocked by examination terminal when dimension code identification, so that being on two dimensional code of shaking hands Existing shade, is easy to cause two dimensional code recognition failures of shaking hands.And only have examination personnel and horizontal plane could when tilting 45 ° in this programme So that infrared lamp is bright (having pressed button press at this time), and checks personnel and need dip sweeping then and represent that there may be yin The problem of shadow, so infrared lamp is bright when the personnel of examination tilt 45 °, first is that play the role of illuminating two dimensional code of shaking hands, second is that Since the color of infrared ray is than the colors such as existing light and sunlight depth, after having irradiated infrared ray light, other light Just it is capped, the two dimensional code that is conducive to shake hands in this way identify successfully, while infrared ray is little to people's naked eyes stimulation, is conducive to protect Eyeshield eyeball.
If two dimensional code of shaking hands is shown now by Party A's terminal or Party B's terminal, when shake hands two dimensional code identification If may cause under extraneous strong light or all Party A's terminal under indoor light or Party B's terminal screen be reflective, so not only The eyes of examination personnel are caused to stimulate, the two dimensional code part of shaking hands of display can also be made to be covered and can not be identified by strong light, this 45° angle is tilted in scheme to be scanned, and avoids strong illumination rear emergency light reflex on the screen of Party A's terminal or Party B's terminal Into the camera of examination terminal, so that the light passing amount of examination terminal camera increases, so that carrying out two dimensional code knowledge of shaking hands The two dimensional code that causes to shake hands when other can not be identified normally, and mobile phone tilts 45 °, that is, the wide part reflected, which will not be all reflected to, to be looked into It tests in terminal, increases two dimensional code recognition success rate, and it directly will examination terminal and the parallel two dimensional code identification that shake hands of horizontal plane It compares, this programme, which is also avoided that the light being irradiated on Party A's terminal or Party B's terminal screen is blocked, to be caused to shake hands two dimensional code institute The problem of position forms shade.And the setting of support frame can fast implement examination terminal convenient for examination personnel and tilt 45 °, just In examination personnel's scanning recognition.
What has been described above is only an embodiment of the present invention, and the common sense such as well known specific structure and characteristic are not made herein in scheme Excessive description, technical field that the present invention belongs to is all before one skilled in the art know the applying date or priority date Ordinary technical knowledge can know the prior art all in the field, and have using routine experiment hand before the date The ability of section, one skilled in the art can improve and be implemented in conjunction with self-ability under the enlightenment that the application provides This programme, some typical known features or known method should not become one skilled in the art and implement the application Obstacle.It should be pointed out that for those skilled in the art, without departing from the structure of the invention, can also make Several modifications and improvements out, these also should be considered as protection scope of the present invention, these all will not influence the effect that the present invention is implemented Fruit and patent practicability.The scope of protection required by this application should be based on the content of the claims, the tool in specification The records such as body embodiment can be used for explaining the content of claim.

Claims (6)

1. the block link setup system based on data handshakes and hands over of responsibility, it is characterised in that: including Party A's terminal and Party B's terminal;
Party A's terminal is used for Party A enterprise input data link setup block basis information, and the information is then carried out storage and forms data Link setup block, and by data link setup area after enclosing on the data link setup block of formation with the envelope block message of unique identities mark Block is sent to server and covers timestamp, generates complete data link setup block and deposits its data link setup block information Storage;Then the data link setup block that Party A enterprise selectes is established the link relationship by Party A's terminal, obtains corresponding data link setup area Block message carries out the primary block information of shaking hands of storage generation and is sent to Party B's terminal, and then Party B's terminal believes block of once shaking hands The examination result list information of breath is sent to Party A's terminal;
Party B's terminal will carry out storage to examination result list information and generate secondary block of shaking hands simultaneously, and shake hands on block secondary It encloses and secondary block of shaking hands is sent to server after the envelope block message with unique identities mark covers timestamp;And Party A is whole Termination stores examination result list information to once shaking hands in block after receiving examination result list information, then in area of once shaking hands It is enclosed on block and block of once shaking hands is sent to server after the envelope block message with unique identities mark covers timestamp.
2. the block link setup system based on data handshakes and hands over of responsibility as described in claim 1, it is characterised in that: the first Square terminal includes that data link setup block establishes judgment module and data link setup block establishes module, and the data link setup block is established Judgment module sends a number for Party A enterprise in data link setup functional module after input data link setup block basis information Instruction is established according to link setup block and establishes module to data link setup block, and the data link setup block establishes module for receiving data The data link setup block that link setup block establishes judgment module transmission establishes instruction, and establishes instruction receiving data link setup block After enter data input interface, transaction data is filled in or uploaded in data input interface for enterprise, then data link setup Block establishes module and establishes dead zone block and empty envelope, will generate new data link setup area in transaction data storage to dead zone block Block.
3. the block link setup system based on data handshakes and hands over of responsibility as claimed in claim 2, it is characterised in that: the first Square terminal further includes data link setup block package module, and data link setup block package module is for sealing data link setup block Dress processing, when data link setup block is packaged processing, appends cryptographic Hash, block coding and block on data link setup block Two dimensional code, cryptographic Hash, block coding and block two dimensional code are the envelope block message of data link setup block.
4. the block link setup system based on data handshakes and hands over of responsibility as claimed in claim 2, it is characterised in that: the first Square terminal further includes block package module of once shaking hands, and a handshake block package module is used to be packaged block of once shaking hands Processing when encapsulation process, encloses cryptographic Hash, block coding and block two dimensional code, cryptographic Hash, block on the block of once shaking hands Coding and block two dimensional code are the envelope block message of primary block of shaking hands.
5. the block link setup system based on data handshakes and hands over of responsibility as claimed in claim 2, it is characterised in that: the second Square terminal includes secondary block package module of shaking hands, and secondary handshake block package module is for being packaged place to secondary block of shaking hands Reason when encapsulation process, encloses cryptographic Hash, block coding and block two dimensional code on the secondary block of shaking hands, and cryptographic Hash, block are compiled Code and block two dimensional code are the envelope block message of secondary block of shaking hands.
6. a kind of block link constructing method based on data handshakes and hands over of responsibility, which comprises the steps of:
S1, data link setup block are established: being obtained the transaction data of product, and stored to the transaction data of product Data link setup block is formed, the envelope block letter with unique identities distinguishing mark function is then enclosed on the data link setup block Breath, and timestamp is covered on data link setup block, generate complete data link setup block and to its data link setup block information It is stored;
S2, block of shaking hands are established: being selected different data link setup blocks and are established the link relationship, know mark by unique identities and obtain Corresponding data link setup block information carries out the primary block information of shaking hands of storage generation and is sent to Party B's terminal, then Party B's terminal The examination result list information for block information of once shaking hands simultaneously is sent to Party A's terminal by block information of once shaking hands;Party B is whole simultaneously End will carry out storage to examination result list information and generate secondary block of shaking hands, and then block and secondary shake hands once shaking hands respectively The envelope block message with unique identities blip facility is enclosed on block, and block and secondary is shaken hands on block once shaking hands respectively It covers timestamp, generates and block information and secondary shake hands after completely once shaking hands block and secondary block of shaking hands to once shaking hands Block information is stored and is broadcasted.
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 true CN109753539A (en) 2019-05-14
CN109753539B 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 (7)

* 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
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
CN107122477A (en) * 2017-05-02 2017-09-01 成都中远信电子科技有限公司 A kind of block chain storage system
CN108197950A (en) * 2017-12-28 2018-06-22 广州美诚汇信息科技有限公司 Cosmetics supply chain retroactive method and trace platform
CN108200028A (en) * 2017-12-27 2018-06-22 飞天诚信科技股份有限公司 A kind of block chain obtains safely the method and system of server trust data
CN108256875A (en) * 2018-04-09 2018-07-06 王先笨 A kind of safe traceability system based on product supply chain

Patent Citations (7)

* 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
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
CN107122477A (en) * 2017-05-02 2017-09-01 成都中远信电子科技有限公司 A kind of block chain storage system
CN108200028A (en) * 2017-12-27 2018-06-22 飞天诚信科技股份有限公司 A kind of block chain obtains safely the method and system of server trust data
CN108197950A (en) * 2017-12-28 2018-06-22 广州美诚汇信息科技有限公司 Cosmetics supply chain retroactive method and trace platform
CN108256875A (en) * 2018-04-09 2018-07-06 王先笨 A kind of safe traceability system based on product supply chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李彬等: "基于区块链技术的自动需求响应系统应用初探", 《中国电机工程学报》 *

Also Published As

Publication number Publication date
CN109753539B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN106408173A (en) Quality random inspection execution process supervision system
CA2598800C (en) System and method for network-based object authentication
CN106556605B (en) The digitized representation system of bridge Site Detection typical disease
CN108319998A (en) A kind of product traceability system
CN104835008A (en) Motor vehicle information management system
CN105469132A (en) Duplicate coding internet of things traceability security label and 2-dimensional bar code security traceability method
CN106708448A (en) Two-dimensional code-based cloud printing system
CN105009147A (en) Information code, method for generating information code, device for reading information code, and system for using information code
CN110378710A (en) A kind of biological product whole process system for tracing and managing
CN106485298A (en) A kind of equipment routing inspection maintaining method based on Quick Response Code
CN104574122A (en) Two-dimensional code anti-counterfeit and random product packaging goods-fleeing preventing method
CN110443627A (en) Sample commission detection logistics and information management system and method based on block chain
CN104166827A (en) Two-dimensional code-based service processing system and two-dimensional code-based service processing method
CN110472427A (en) A kind of whole with no paper agriculture site inspection or enforcement approach and system
CN107918873A (en) Item authentication plateform system and item authentication management system
CN110378886A (en) Image comparison method, image comparison device, electronic equipment and medium
CN109858811A (en) A kind of automation recruitment and trial period checking system and its operation method
CN210955189U (en) Sample entrusted detection logistics and information management system based on block chain
CN109753539A (en) Block link setup system and method based on data handshakes and hands over of responsibility
CN108764673A (en) A kind of patent trusteeship service platform and the data interactive method based on platform
CN110490183A (en) A kind of document management method and its system for intelligent stamper machine
CN114022970B (en) Intelligent electric box inspection system and method
CN115148326A (en) Online tracing system and method for drug acceptance check
CN108717674A (en) System of examining for the levels on line and method of examining for the levels
CN114140131A (en) Power equipment monitoring system based on block chain

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