CN108830545B - Contract data processing method, contract management client and block chain management device - Google Patents

Contract data processing method, contract management client and block chain management device Download PDF

Info

Publication number
CN108830545B
CN108830545B CN201810407842.7A CN201810407842A CN108830545B CN 108830545 B CN108830545 B CN 108830545B CN 201810407842 A CN201810407842 A CN 201810407842A CN 108830545 B CN108830545 B CN 108830545B
Authority
CN
China
Prior art keywords
contract
party
management client
signing
content
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
CN201810407842.7A
Other languages
Chinese (zh)
Other versions
CN108830545A (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.)
Nanjing Yibo Software Technology Co.,Ltd.
Original Assignee
Shenzhen Smartcom Business Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Smartcom Business Co ltd filed Critical Shenzhen Smartcom Business Co ltd
Priority to CN201810407842.7A priority Critical patent/CN108830545B/en
Publication of CN108830545A publication Critical patent/CN108830545A/en
Application granted granted Critical
Publication of CN108830545B publication Critical patent/CN108830545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps

Abstract

The embodiment of the invention discloses a contract data processing method, which comprises the following steps: after receiving a first notification signing contract message sent by the block chain management device, sending a request for reading the signing information of the second party to the block chain management device; receiving the signing information of the second party sent by the block chain management device; when the second party signs the information and confirms that the information is correct, a hash1 is generated according to the contract content and the first time stamp; encrypting the hash1 according to a private key of the first party to obtain a first party signature; a first contract transaction is constructed from the contract content, the first timestamp, and the first party signature. The characteristics of the block chain are utilized to ensure that the contract content is not tampered, and the time is proved and trusted; the management cost of each subscriber is reduced.

Description

Contract data processing method, contract management client and block chain management device
Technical Field
The invention relates to the field of contract signing, in particular to a contract data processing method, a contract management client and a block chain management device.
Background
The existing contract signing method is mainly to sign a paper contract by meeting two, three or more parties or to sign an electronic contract through a signing platform system without meeting.
However, the paper contract needs to sign multiple contracts and has the risk of loss and tampering. The electronic contract is signed by the signing platform system, and is easy to attack and has the problem of safety and availability.
Disclosure of Invention
The embodiment of the invention provides a contract data processing method, a contract management client and a block chain management device, and by adopting the scheme of the embodiment of the invention, the characteristics of a block chain are utilized to ensure that the contract content is not tampered, and the time is proved and trusted; the management cost of each contractor is reduced, the workload of manually importing the contract parameters into the relevant external system is reduced, and the risk of importing the contract parameters into errors is avoided.
In a first aspect, an embodiment of the present invention provides a contract data processing method, which is applied to a contract data processing system that includes a first-party contract management client, a second-party contract management client, and a blockchain management apparatus, and includes:
after receiving a first notification signing contract message sent by the blockchain management device, sending a request for reading second party signing information to the blockchain management device, wherein the first notification signing contract message is used for notifying the first party contract management client to sign a contract;
receiving signing information of a second party sent by the block chain management device;
when the second party signs the information and confirms that the information is correct, generating a hash1 according to the contract content and the first timestamp T1; encrypting the hash1 according to a private key of a first party to obtain a first party signature S1; a first contract transaction is constructed from the contract content, the first timestamp T1, and the first party signature S1. By storing the contract content in the block chain, the characteristics of the block chain are utilized to ensure that the contract content is not tampered, and the time certification is feasible. Only one contract content is stored in the block chain, and each contractor can check the contract content on the block chain, so that the management cost of each contractor is reduced.
In one possible embodiment, after constructing the first contract transaction from the contract content, the first timestamp T1, and the first party signature S1, the method further comprises:
sending a first contract signing transaction request to the blockchain management device, the first contract signing transaction request requesting the blockchain management device to store the first contract transaction; the first contract transaction signing request comprises the first contract transaction;
and receiving a first contract signing transaction response sent by the block chain management device for responding to the first contract signing transaction request.
In a possible embodiment, the second party signing information includes the contract content, a second timestamp T2 and a second party signature, and after receiving the second party signing information sent by the block chain management apparatus, the method further includes:
generating a hash2 from the contract content and the second timestamp T2, the second timestamp T2 preceding the first timestamp T1;
decrypting the second party signature according to the public key of the second party to obtain a first hash;
and when the first hash is consistent with the hash2, the second party signing information is confirmed to be correct.
In a possible embodiment, before sending the request for reading the second party signing information to the blockchain management device, the method further comprises:
receiving contract parameters/contract contents sent by a first party responsible person terminal device; the contract content comprises a contract template and the parameters;
when the contract parameters are received, generating the contract contents according to the contract parameters and the contract template;
generating a digest hash according to the contract content; encrypting the digest hash according to the private key of the first party to obtain a signature S; constructing a second contract transaction according to the contract content, the abstract hash and the signature S;
sending a second contract signing transaction request to the blockchain management device, the second contract signing transaction request requesting the blockchain to store the second contract transaction; the second contract transaction signing request comprises the second contract transaction;
and receiving a second contract signing transaction response sent by the block chain management device for responding to the second contract signing transaction request.
In a possible embodiment, before generating the digest hash according to the contract content, the method further includes:
and encrypting the contract content according to a symmetric encryption algorithm.
In a possible embodiment, after receiving the first contract-signed transaction response sent by the blockchain management device, the method further includes:
and sending a signing success message to the first party responsible person terminal equipment.
In a second aspect, an embodiment of the present invention provides another contract data processing method, which is applied to a contract data processing system including a first-party contract management client, a second-party contract management client, and a blockchain management apparatus, and includes:
when a first notification signing contract message sent by a block chain management device is received, sending a contract content reading request to the block chain management device, wherein the first notification signing contract message is used for notifying the second party contract management client to notify signing contract;
receiving contract information sent by the block chain management device, wherein the contract information comprises contract content;
when the contract information is determined to be correct, sending the contract content to the second party responsible person terminal equipment;
after receiving a signing confirmation instruction, generating a hash2 according to the contract content and a second time stamp T2; encrypting the hash2 according to a second party' S private key to obtain a second party signature S2; a third contract transaction is constructed from the contract content, the second timestamp T2, and the second party signature S2. By storing the contract content in the block chain, the characteristics of the block chain are utilized to ensure that the contract content is not tampered, and the time certification is feasible. Only one contract content is stored in the block chain, and each contractor can check the contract content on the block chain, so that the management cost of each contractor is reduced.
In one possible embodiment, after constructing the third contract transaction from the contract content, the second timestamp T2 and the second party signature S2, the method further comprises:
sending a third contract signing transaction request to the blockchain management device, the third contract signing transaction request requesting the blockchain management device to store the third contract transaction; the third contract transaction signing request comprises the third contract transaction;
and receiving a third contract signing transaction response sent by the block chain management device, wherein the third contract signing transaction response is used for responding to the third contract signing transaction request.
In a possible embodiment, the contract information further includes a digest hash and a signature S of the contract content, and after receiving the contract information sent by the blockchain management apparatus, the method further includes:
decrypting the signature S according to the public key of the first party to obtain a second hash;
and when the second hash is consistent with the abstract hash, confirming that the content information is correct.
In a third aspect, an embodiment of the present invention provides another contract data processing method, which is applied to a contract data processing system that includes a first-party contract management client, a second-party contract management client, and a blockchain management apparatus, and includes:
receiving a contract signing transaction request sent by a contract management client, wherein the contract management client comprises a first party contract management client and a second party contract management client, and the contract signing transaction request comprises a contract signing transaction request sent by the first party contract management client and a contract signing transaction request sent by the second party contract management client;
block-persisting a contract transaction in the contract signing transaction request, the contract transaction comprising contract content;
sending a contract signing transaction response to the contract management client. By storing the contract content in the block chain, the characteristics of the block chain are utilized to ensure that the contract content is not tampered, and the time certification is feasible. Only one contract content is stored in the block chain, and each contractor can check the contract content on the block chain, so that the management cost of each contractor is reduced.
In a possible embodiment, after block persisting the contract transaction in the contract signing transaction request, the method further comprises:
sending a contract transaction signing response to a contract management client A and sending a notification contract signing message to the contract management client B; the contract transaction signing response is used for responding to a contract signing transaction request sent by the contract management client, and the contract signing notification message is used for notifying the contract management client B to sign a contract;
the contract management client a is the first party contract management client or the second party contract management client, the contract management client B is the first party contract management client or the second party contract management client, and the contract management client a and the contract management client are not the same contract management client.
In one possible embodiment, the block persisting the contract transaction in the contract signing transaction request includes:
checking contract affairs in the contract signing affair request;
after the checking is passed, packing the contract affairs into blocks;
the block is stored.
In a possible embodiment, after sending the contract signing transaction response to the contract management client, the method further comprises:
analyzing contract contents through an intelligent contract to obtain contract parameters of the contract contents;
and sending the contract parameters of the contract contents to the first party-related external system and the second party-related external system.
In a possible embodiment, the method further comprises:
receiving a request for reading the signing information of the second party sent by the first party contract management client;
acquiring the signing information of the second party;
and sending the second party signing information to the first party contract management client.
In a possible embodiment, the method further comprises:
receiving a contract content reading request sent by the second party contract management client;
acquiring contract information;
and sending the contract information to the second party contract management client.
In a fourth aspect, an embodiment of the present invention provides a contract management client applied to a contract data processing system including a first-party contract management client, a second-party contract management client, and a blockchain management apparatus, the contract management client including:
a sending unit, configured to send a request for reading second party signing information to the blockchain management apparatus after receiving a first notification signing contract message sent by the blockchain management apparatus, where the first notification signing contract message is used to notify the first party contract management client to sign a contract;
the receiving unit is used for receiving the signing information of the second party sent by the block chain management device;
the processing unit is used for generating a hash1 according to the contract content and the first time stamp T1 after the second party signs the information and confirms that the information is correct; encrypting the hash1 according to a private key of a first party to obtain a first party signature S1; a first contract transaction is constructed from the contract content, the first timestamp T1, and the first party signature S1.
In a possible embodiment, the sending unit is further configured to send a first contract signing transaction request to the blockchain management apparatus, where the first contract signing transaction request is used to request the blockchain to store the first contract transaction; the first contract transaction signing request comprises the first contract transaction;
the receiving unit is further configured to receive a first contract signing transaction response sent by the blockchain management device, and is configured to respond to the first contract signing transaction request.
In a possible embodiment, the second party signing information includes the contract content, a second timestamp T2 and a second party signature, and the contract management client further includes:
the processing unit is further configured to generate a hash2 according to the contract content and the second timestamp T2 after receiving second party signing information sent by the blockchain management apparatus, where the second timestamp T2 is before the first timestamp T1; decrypting the second party signature according to the public key of the second party to obtain a first hash;
and the confirming unit is used for confirming that the signed information of the second party is correct when the first hash is consistent with the hash 2.
In a possible embodiment, the contract management apparatus further includes:
the receiving unit is further used for receiving contract parameters/contract contents sent by a first party responsible person terminal device before sending a request for reading second party signed information to the block chain management device; the contract content comprises a contract template and the parameters;
the generating unit is used for generating the contract content according to the contract parameters and the contract template when the contract parameters are received;
the processing unit is further configured to generate a digest hash according to the contract content; encrypting the digest hash according to a private key of a first party to obtain a signature S; constructing a second contract transaction according to the contract content, the abstract hash and the signature S;
the sending unit is used for sending a second contract signing transaction request to the blockchain management device, wherein the second contract signing transaction request is used for requesting the blockchain to store the second contract transaction; the second contract transaction signing request comprises the second contract transaction;
the receiving unit is further configured to receive a second contract signing transaction response sent by the blockchain management device, and is configured to respond to the second contract signing transaction request.
In a possible embodiment, the sending unit is also adapted to
After receiving the second contract signing transaction response sent by the blockchain management device, sending a second notification signing contract message to the blockchain management device for notifying a second party contract management client to sign a contract.
In a possible embodiment, before generating the digest hash according to the contract content, the contract management client further includes:
and the encryption unit is used for encrypting the contract content according to a symmetric encryption algorithm before generating the digest hash according to the contract content.
In a fifth aspect, an embodiment of the present invention provides another contract management client applied to a contract data processing system including a first-party contract management client, a second-party contract management client, and a blockchain management apparatus, the contract management client including:
a transmission unit configured to transmit a read contract content request to a blockchain management apparatus when receiving a first notification signing contract message transmitted by the blockchain management apparatus, the first notification signing contract message being for notifying the second party contract management client of notification signing contract;
a receiving unit, configured to receive contract information sent by the blockchain management apparatus, where the contract information includes contract content;
the sending unit is further used for sending the contract content to the second party responsible person terminal equipment after the contract information is determined to be correct;
the processing unit is used for generating a hash2 according to the contract content and a second timestamp T2 after receiving the signing confirmation instruction; encrypting the hash2 according to a second party' S private key to generate a second party signature S2; a third contract transaction is constructed from the contract content, the second timestamp T2, and the second party signature S2.
In a possible embodiment, the sending unit is further configured to send a third contract signing transaction request to the blockchain management apparatus, where the third contract signing transaction request is used to request the blockchain to store the third contract transaction; the first contract transaction signing request comprises the third contract transaction;
the receiving unit is further configured to receive a third contract signing transaction response sent by the blockchain management device, and is configured to respond to the third contract signing transaction request.
In a possible embodiment, the contract information further includes a digest hash and a signature S of the contract content, and the contract management client further includes:
the decryption unit is used for decrypting the signature S according to a public key of a first party after receiving the contract information sent by the block chain management device so as to obtain a second hash;
and the confirming unit is used for confirming that the content information is correct when the second hash is consistent with the abstract hash.
In a sixth aspect, an embodiment of the present invention provides a blockchain management apparatus, where the blockchain management apparatus is applied to a contract data processing system that further includes a first-party contract management client and a second-party contract management client, and the blockchain management apparatus includes:
a receiving unit, configured to receive a contract signing transaction request sent by a contract management client, where the contract management client includes the first party contract management client and the second party contract management client, and the contract signing transaction request includes a contract signing transaction request sent by the first party contract management client and a contract signing transaction request sent by the second party contract management client;
a persistence unit, configured to perform block persistence on a contract transaction in the contract signing transaction request, where the contract transaction includes contract content;
and the sending unit is used for sending a contract signing transaction response to the contract management client.
In a possible embodiment, the sending unit is specifically configured to:
sending a contract transaction signing response to a contract management client A and sending a notification contract signing message to the contract management client B; the contract transaction signing response is used for responding to a contract signing transaction request sent by the contract management client, and the contract signing notification message is used for notifying the contract management client B to sign a contract;
the contract management client a is the first party contract management client or the second party contract management client, the contract management client B is the first party contract management client or the second party contract management client, and the contract management client a and the contract management client are not the same contract management client.
In a possible embodiment, the persistence unit is specifically configured to:
checking contract affairs in the contract signing affair request;
after the checking is passed, packing the contract affairs into blocks;
the block is stored.
In a possible embodiment, the block chain management apparatus further includes:
the analysis unit is used for analyzing the contract content through an intelligent contract to obtain contract parameters of the contract content;
the sending unit is further configured to send the contract parameters of the contract content to the first-party related external system and the second-party related external system.
In a possible embodiment, the block chain management apparatus further includes:
the receiving unit is used for receiving a request for reading the signed information of the second party sent by the first party contract management client;
the acquisition unit is used for acquiring the signed information of the second party;
the sending unit is used for sending the second party signing information to the first party contract management client.
In a possible embodiment, the block chain management apparatus further includes:
the receiving unit is used for receiving a contract content reading request sent by the second party contract management client;
the acquiring unit is further used for acquiring contract information;
the sending unit is used for sending the contract information to the second party contract management client.
In a seventh aspect, an embodiment of the present invention provides a contract management client, including
A memory storing executable program code;
a processor coupled to the processor;
the processor calls the executable program code stored in the memory to perform all or part of the method according to the first aspect, or to perform all or part of the method according to the second aspect.
In an eighth aspect, an embodiment of the present invention provides a block chain management apparatus, including
A memory storing executable program code;
a processor coupled to the processor;
the processor calls the executable program code stored in the memory to execute all or part of the method according to the third aspect.
In a ninth aspect, embodiments of the present invention provide a computer-readable storage medium including instructions which, when executed on a computer, cause the computer to perform all or part of the method according to the first aspect, or all or part of the method according to the second aspect.
In a tenth aspect, embodiments of the present invention provide a computer-readable storage medium including instructions which, when executed on a computer, cause the computer to perform all or part of the method of the third aspect.
In an eleventh aspect, embodiments of the present invention provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform all or part of the method according to the first aspect, or all or part of the method according to the second aspect.
In a twelfth aspect, embodiments of the present invention provide a computer program product comprising instructions that, when run on a computer, cause the computer to perform all or part of the method of the third aspect.
It can be seen that, in the scheme of the embodiment of the present invention, by storing the contract content in the blockchain, the characteristics of the blockchain can be used to ensure that the contract content cannot be tampered, and the time certification and the credibility can be ensured. Only one contract content is stored in the block chain, and each contractor can check the contract content in the block chain, so that the management cost of each contractor is reduced. Contract contents in the block chain are constructed through the contract template, contract parameters in the contract contents are analyzed through the intelligent contracts, and the contract parameters are automatically written into other related external systems, so that the workload of manually importing the contract parameters into other related external systems is reduced, and errors in the manual importing process are avoided.
These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a system framework for a contract data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a contract data processing method according to an embodiment of the present invention;
figure 3a is a schematic diagram of a two-party contract template signed by the hotel with TMC;
FIG. 3b is a schematic diagram of a two-party contract template signed by an enterprise with TMC;
FIG. 3c is a schematic diagram of a three-party contract template signed by the hotel, TMC and enterprise;
FIG. 3d is a schematic diagram of a contract template signed by a corporate hotel with TMC;
FIG. 4 is a schematic diagram of a contract transaction data structure according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart illustrating another contract data processing method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart illustrating another contract data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic interactive flow chart of a method for contract data processing according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an intelligent contract installation flow provided by an embodiment of the present invention;
FIG. 9 is a diagram illustrating a specific application process of an intelligent contract according to an embodiment of the present invention;
FIG. 10 is a schematic interactive flow chart of another contract data processing method according to an embodiment of the present invention;
FIG. 11 is a schematic interactive flow chart of another contract data processing method according to an embodiment of the present invention;
FIG. 12 is a schematic interactive flow chart of another contract data processing method according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a contract management client according to an embodiment of the present invention;
FIG. 14 is a schematic structural diagram of another contract management client according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a block chain management apparatus according to an embodiment of the present invention;
FIG. 16 is a schematic structural diagram of another contract management client according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of another block chain management apparatus according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic diagram of a system framework applied to a contract data processing method according to an embodiment of the present invention. As shown in fig. 1, the system architecture includes a first party contract management client, a second party contract management client, and a blockchain management apparatus.
The first party contract management client and the second party contract management client can be handheld devices or vehicle-mounted devices with wireless connection functions. Common terminal devices include: a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), an internet of things device, a wearable device (e.g., a smart watch, a smart bracelet, a pedometer), and the like.
It should be noted that the first-party contract management client and the second-party contract management client may also be software installed on a PC or a terminal device.
The block chain management device comprises a plurality of block chain processing nodes, and two block chain processing nodes in the plurality of block chain processing nodes respectively provide services for a first party contract management client and a second party contract management client.
The two contract management clients can be contract management clients of hotels and enterprises respectively; but also can be contract management clients of airlines and enterprises, or other contract management clients of two or more parties in a cooperative relationship, which is not listed here.
Referring to fig. 2, fig. 2 is a schematic flow chart of a contract data processing method according to an embodiment of the present invention. The method is applied to a contract data processing system which comprises a first party contract management client, a second party contract management client and a block chain management device. As shown in fig. 2, the method includes:
s201, after receiving a first notification signing contract message sent by the block chain management device, the first party contract management client sends a request for reading second party signing information to the block chain management device.
Wherein, the first notification signing contract message is used for notifying the first party contract management client to sign a contract.
In a possible embodiment, before sending the request for reading the second party signing information to the blockchain management device, the method further comprises:
receiving contract parameters/contract contents sent by a first party responsible person terminal device; the contract content comprises a contract template and the parameters;
when the contract parameters are received, generating the contract contents according to the contract parameters and the contract template;
generating a digest hash according to the contract content; encrypting the digest hash according to a private key of a first party to obtain a signature S; constructing a second contract transaction according to the contract content, the abstract hash and the signature S;
sending a second contract signing transaction request to the blockchain management device, the second contract signing transaction request requesting the blockchain to store the second contract transaction; the second contract transaction signing request comprises the second contract transaction;
and receiving a second contract signing transaction response sent by the block chain management device for responding to the second contract signing transaction request.
Specifically, the first party contract management client receives contract parameters or contract contents sent by the first party responsible person terminal device. And when receiving the contract parameters, the first party contract management client generates the contract contents according to the stored contract template and the contract parameters. The first contract management client generates a digest hash according to the contract content; encrypting the digest hash according to a private key of a first party to obtain a signature S; and then constructing a second contract transaction according to the contract content, the digest hash and the signature S. The first party contract management client sends a second contract signing transaction request carrying the second contract transaction to the blockchain management device to request the blockchain concept device to store the first contract transaction in a local blockchain. And the first party contract management client receives a second contract signing transaction response sent by the blockchain management device and is used for responding to the second contract signing transaction request.
It should be noted that, different contract management clients, i.e., different contract signatories, have different contract templates.
The contract templates are illustrated by hotels, TMC, and enterprises as examples. Figure 3a is a schematic diagram of a two-party contract template signed by the hotel with TMC. The two-party contract template includes, but is not limited to: house type & house price, type of service provided & facility usage price as well as discounts, default terms and other issues. Fig. 3b is a schematic diagram of a two-party contract template signed by an enterprise with TMC. The two-party contract template includes, but is not limited to: travel service items, service item charge criteria, settlement methods, and other items. Figure 3c is a schematic diagram of a three-party contract template signed by the hotel, TMC and enterprise. The three-party contract template includes, but is not limited to: business to which employees belong, house type & house price, type of service provided & facility use price, as well as discounts, default terms, and other issues. Fig. 3d is a schematic diagram of a contract template signed by the group hotel and TMC, the contract template includes: a general contract section and a store contract section; the overall contract portion includes, but is not limited to, default terms and other items; store contract segments include, but are not limited to, house type & rate, type of service provided & rate of use of facilities, as well as discounts and other issues.
Further, the contract contents include a general contract content and a partial contract content. The overall contract content is the contract content signed by the first party and the second party, the local contract content is the contract content signed by the first party and the third party, the second party and the third party are in a master-slave relationship, the second party is the master, and the third party is the slave. For example, the second party is a hotel group, and the third party is a store flagged by the hotel group; for another example, the second party is a main store, and the third party is a branch store.
According to the method, the first-party contract management client stores the overall contract content and the partial contract content in the blockchain management device.
In a possible embodiment, after the first contract management client acquires the contract content (including the overall contract content and the partial contract content), the contract content is encrypted according to a symmetric encryption algorithm, and the key used for encryption is saved by the parties involved in the contract.
S202, the first party contract management client receives the second party signing information sent by the block chain management device.
The second party signing information comprises contract content, a second time stamp T2 and a second party signature.
After receiving the contract content, the second timestamp T2 and the second party signature, the first party contract management client generates a hash2 according to the contract content and the second timestamp T2, and the second timestamp T2 is before the first timestamp T1; and then, when the second party signature is decrypted according to the public key of the second party to obtain that the first hash is consistent with the hash2, the first party contract management client confirms that the second party signing information is correct, that is, confirms that the contract content is not tampered and confirms that the second party has signed.
S203, when the second party signs the information and confirms that the information is correct, generating a hash1 according to the contract content and the first timestamp T1; encrypting the hash1 according to a private key of a first party to obtain a first party signature S1; a first contract transaction is constructed from the contract content, the first timestamp T1, and the first party signature S1.
Specifically, when it is determined that the contract content has not been tampered with and it is determined that the second party has signed, the first party contract management client generates a hash1 on the contract content and a first timestamp T1; and encrypts the hash1 according to the first party' S private key to obtain the first party signature S1. The first party contract management client then constructs the first contract transaction based on the contract content, the first timestamp T1, and the first party signature S1.
Wherein the contract transaction data structure is shown in fig. 4. The contract transaction data structure includes: version, transaction type, contract script, timestamp, contract signature, and contract type.
Said version indicating a version of said contract transaction data structure; the transaction type is used for indicating the type of the contract transaction; the contract original text is the complete content of the contract; the time stamp is the contract signature at the signing time acquired by a third party time service organization during contract signing: and (4) encrypting the hash value of the identical content by using a private key of the identical content to obtain a signature. The contract types can be classified into two-party contracts signed by TMC and hotels, two-party contracts signed by TMC and enterprises, three-party contracts signed by TMC, hotels and enterprises, and group contracts signed by TMC and hotel groups, for example.
Further, the first contract management client sends a first contract signing transaction request to the block chain management device and receives a first contract signing transaction response sent by the block chain management device.
The first contract signing transaction request is used for requesting the blockchain to store the first contract transaction, the first contract transaction signing request comprises the first contract transaction, and the first contract signing transaction response is used for responding to the first contract signing transaction request.
Further, after determining that the first contract signing transaction response is received, the first party contract management client sends a signing success message to the first party principal terminal device.
It can be seen that, in the scheme of the embodiment of the present invention, by storing the contract content in the blockchain, the characteristics of the blockchain can be used to ensure that the contract content cannot be tampered, and the time certification and the credibility can be ensured. Only one contract content is stored in the block chain, and each contractor can check the contract content in the block chain, so that the management cost of each contractor is reduced.
Referring to fig. 5, fig. 5 is a schematic flow chart of a contract data processing method according to an embodiment of the present invention. The method is applied to a contract data processing system which comprises a first party contract management client, a second party contract management client and a block chain management device. As shown in fig. 5, the method includes:
and S501, when receiving the first notification signing contract message sent by the block chain management device, the second party contract management client sends a request for reading contract content to the block chain management device.
Wherein, the first notification signing contract message is used for notifying the second party contract management client to notify signing contract.
Specifically, the second contract management client transmits a request for reading contract content to the blockchain management apparatus, the request being for reading contract content that is stored in the local blockchain of the blockchain management apparatus by the first-party contract management client and that is to be signed by the first-party and the second-party.
S502, the second party contract management client receives contract information sent by the block chain management device, wherein the contract information comprises contract content
In a possible embodiment, the contract information further includes a digest hash and a signature S of the contract content, and after receiving the contract information sent by the blockchain management apparatus, the method further includes:
decrypting the signature S according to the public key of the first party to obtain a second hash;
and when the second hash is consistent with the abstract hash, confirming that the content information is correct.
Specifically, after receiving the contract information, the second contract management client determines whether the contract content in the contract information is falsified. The method specifically comprises the following steps: and the second contract management client decrypts the signature S according to the public key of the first party of the fir tree to obtain a second hash, and when the second hash is consistent with the digest hash, the second contract management client determines that the contract content is not tampered and confirms that the contract content is correct.
And S503, after the contract information is determined to be correct, the second party contract management client sends the contract content to the second party responsible person terminal equipment.
And after the second party responsible person terminal equipment receives the contract content, the contract content is displayed so that the second party responsible person can conveniently check the contract content.
And after the second party responsible person considers that the contract content is reasonable, sending a signing confirmation instruction to the second party contract management client through the terminal equipment.
S504, after receiving the signing confirmation instruction, the second party contract management client generates a hash2 according to the contract content and a second timestamp T2; encrypting the hash2 according to a second party' S private key to obtain a second party signature S2; a third contract transaction is constructed from the contract content, the second timestamp T2, and the second party signature S2.
Specifically, after receiving the contract signing instruction sent by the second party responsible person terminal device, the second party contract management client determines that the content of the contract is considered to be reasonable by the second party responsible person, and can sign the contract. The second party contract management client generates a hash2 according to the contract content and a second timestamp T2; and encrypts the hash2 with the second party' S private key to obtain the second party signature S2. The second party contract management client constructs a contract transaction according to the contract content, the second timestamp T2 and the second party signature S2.
Further, the second contract management client sends a third contract signing transaction request to the block chain management device and receives a third contract signing transaction response sent by the block chain management device.
Wherein the third contract signing transaction request is used for requesting a blockchain to store the third contract transaction; the third contract transaction signing request includes a third contract transaction. The third contract signing transaction response is used for responding to the third contract signing transaction request.
In one possible embodiment, the contract content includes a general contract content and a partial contract content. The overall contract content is the contract content signed by the first party and the second party, the local contract content is the contract content signed by the first party and the third party, the second party and the third party are in a master-slave relationship, the second party is the master, and the third party is the slave. For example, the second party is a hotel group, and the third party is a store flagged by the hotel group; for another example, the second party is a main store, and the third party is a branch store.
And after the second party responsible person terminal equipment sends a signing confirmation instruction aiming at the overall contract content to the second party contract management client, the second party responsible person terminal equipment sends a notification signing contract message to third party responsible person terminal equipment. After receiving the notification signing contract message, the third party responsible person terminal equipment sends a request for reading local contract content to the second party contract management client; after receiving the local contract content sent by the second party contract management client, the third party responsible person terminal equipment displays the local contract content, so that the third party responsible person can conveniently check the local contract content; and after the third party responsible person considers that the local contract content is reasonable, sending a signing confirmation instruction to the second party contract management client through the third party responsible person terminal equipment. The second party contract managing client processes the partial contract content according to the steps S504 to S506, which will not be described herein.
It can be seen that, in the scheme of the embodiment of the present invention, by storing the contract content in the blockchain, the characteristics of the blockchain are utilized to ensure that the contract content is not tampered with, and time certification and feasibility are achieved. Only one contract content is stored in the block chain, and each contractor can check the contract content on the block chain, so that the management cost of each contractor is reduced.
Referring to fig. 6, fig. 6 is a schematic flow chart of a contract data processing method according to an embodiment of the present invention. The method is applied to a contract data processing system which further comprises a first party contract management client and a second party contract management client. As shown in fig. 6, the method includes:
s601, the blockchain management device receives a contract signing transaction request sent by a contract management client.
The contract management client comprises the first party contract management client and the second party contract management client, and the contract signing transaction request is sent by the first party contract management client and the contract signing transaction request is sent by the second party contract management client.
The contract signing transaction request sent by the first party contract management client is used for requesting the blockchain management device to store the contract transaction included in the signing transaction request in the local blockchain of the blockchain management device; the contract signing transaction request sent by the second party contract management client is used for requesting the blockchain management device to store the contract transaction included in the signing transaction request in the local blockchain thereof.
S602, the block chain management device performs block persistence on the contract transaction in the contract signing transaction request.
In one possible embodiment, the block persisting the contract transaction in the contract signing transaction request includes:
checking contract affairs in the contract signing affair request;
after the checking is passed, packing the contract affairs into blocks;
the block is stored.
Specifically, after receiving the contract signing transaction request, the block chain management device verifies the contract transaction in the contract signing transaction request; and after the verification is passed, packaging the transaction which is not packaged in the block chain management device into a block together with the transaction, and then storing the block into a local block chain of the block chain management device.
S603, the block chain management device sends a contract signing transaction response to the contract management client.
Wherein, the contract signing transaction response is used for responding the contract signing transaction request.
In a possible embodiment, after block persisting the contract transaction in the contract signing transaction request, the method further comprises:
sending a contract transaction signing response to a contract management client A and sending a notification contract signing message to the contract management client B; the contract transaction signing response is used for responding to a contract signing transaction request sent by the contract management client, and the contract signing notification message is used for notifying the contract management client B to sign a contract;
the contract management client a is the first party contract management client or the second party contract management client, the contract management client B is the first party contract management client or the second party contract management client, and the contract management client a and the contract management client are not the same contract management client.
Specifically, after the block chain management device receives a contract signing transaction request sent by the first party contract management client, the block chain management device performs block persistence on a contract transaction in the contract signing transaction request, and then sends a contract signing transaction response to the first party contract management client, where the contract signing transaction request is responded to, and meanwhile sends a notification signing contract message to the second party contract management client, where the notification signing contract response is used to notify the second party contract management client to sign a contract.
In a possible embodiment, the method further includes:
receiving a request for reading the signing information of the second party sent by the first party contract management client;
acquiring the signing information of the second party;
and sending the second party signing information to the first party contract management client.
In a possible embodiment, the method further comprises:
receiving a contract content reading request sent by the second party contract management client;
acquiring contract information;
and sending the contract information to the second party contract management client.
In a possible embodiment, the block chain management apparatus receives the signing contract notification message sent by the first-party contract management apparatus, and then sends the signing contract message to the second-party contract management apparatus to notify the second-party contract management apparatus of the signing contract; and receiving the notice signing contract message sent by the second party contract management device, and then sending the signing contract message to the first party contract management device so as to inform the first party contract management device of signing the contract.
In a possible embodiment, the block chain management device parses the contract content through an intelligent contract to obtain the contract parameters of the contract content; and sending the contract parameters of the contract content to the first party-associated external system and the second party-associated external system.
After acquiring the contract parameter, the block chain management device imports the first party-related external system and the second party-related external system into the contract parameter.
It can be seen that, in the scheme of the embodiment of the present invention, by storing the contract content in the blockchain, the characteristics of the blockchain can be used to ensure that the contract content cannot be tampered, and the time certification and the credibility can be ensured. Only one contract content is stored in the block chain, and each contractor can check the contract content in the block chain, so that the management cost of each contractor is reduced. Contract contents in the block chain are constructed through the contract template, contract parameters in the contract contents are analyzed through the intelligent contracts, and the contract parameters are automatically written into other related external systems, so that the workload of manually importing the contract parameters into other related external systems is reduced, and errors in the manual importing process are avoided.
In a specific application scenario, an enterprise entrusts travel management to a Travel Management Company (TMC), and air tickets, hotel reservations and the like of enterprise personnel during travel can be provided by the TMC, and monthly fees of the enterprise are paid to the TMC. TMC provides business trip management services. Aiming at hotel reservation, TMC collects room type quantity resources released by hotels, releases information such as hotel room type quantity and room price to enterprises, and opens reservations conforming to business policies of the enterprises for the enterprises; orders for business employees' travel reservations are processed. TMC monthly royalties are given to hotels. The hotel signs a cooperation agreement with the TMC or with the enterprise, issues the room type room volume and room price resources of the hotel to the TMC, confirms the reservation order of the TMC and processes the check-in and the departure of the enterprise staff.
Two or three parties of TMC, hotels and enterprises are often required to contract to agree on the way and route of the cooperation, the price of the goods & services offered (e.g. house-type rates) and the settlement method. The current contract may be signed by a paper contract, paper is delivered by face-to-face signing or by express delivery, and multiple copies may need to be signed; or possibly an electronic contract signed on a third party's platform. All parties need to separately maintain and manage the same contract
The paper contract needs to be signed for multiple copies and has the risks of loss and tampering, and the electronic contract is signed by a signing platform system and is easy to attack and has the problems of safety and availability. And the information such as house type and house price signed on the contract needs to be manually imported into the TMC system, which not only generates extra workload, but also has the risk of import error. In order to solve the above problem, an embodiment of the present invention proposes a contract data processing method, and specifically refers to the methods shown in fig. 7 to 12.
Referring to fig. 7, fig. 7 is an interactive flowchart of a method for processing contract data according to an embodiment of the present invention. The method specifically introduces a block chain based contract signing process between TMC and hotel. As shown in fig. 7, the method includes:
s701, sending contract content C/contract parameters to the TMC contract management client by the TMC responsible person terminal equipment.
The contract content C includes a contract template and contract parameters. The contract parameters include the type of room offered by the hotel, the price of the room, the price of the service offered, and discounts.
And when the TMC contract management client stores a contract template, the TMC contract management client receives contract parameters sent by the TMC responsible person terminal equipment. And after receiving the contract parameters, the TMC contract management client generates contract content C according to the contract parameters and the contract template.
In a possible embodiment, when the TMC contract management client acquires the contract content C, the TMC contract management apparatus encrypts the contract content according to a symmetric encryption algorithm, and a key for encryption is commonly owned by parties who sign a contract. And in the subsequent process of transmitting the contract content C by each party, the encrypted contract content C is transmitted.
S702, the TMC contract management client sends a first contract signing transaction request to the blockchain management device.
After acquiring the contract content C, the TMC contract management client generates a digest hash according to the contract content C, encrypts the digest hash according to the private key of the TMC to generate a signature S, and constructs a first contract transaction according to the contract content C, the digest hash and the signature S. The TMC contract management client sends the first contract signing transaction request to the block chain management apparatus.
Wherein the first contract signing transaction request comprises the first contract transaction.
S703 the blockchain management device performs block persistence.
It should be noted that the block chain management apparatus includes the TMC block chain processing node and the hotel block chain processing node. Before the TMC contract management client executes step S701, the TMC blockchain processing node and the hotel blockchain processing node perform leader election to obtain a main blockchain processing node.
Specifically, the TMC contract management client sends the contract transaction to the blockchain management apparatus, so as to store the contract transaction in the blockchain processing nodes (including the TMC blockchain processing node and the hotel blockchain processing node) of the blockchain management apparatus.
After receiving the first contract signing transaction request, a main blockchain processing node in the blockchain management device acquires the first contract transaction from the request and verifies the correctness of the contract transaction. After the check is passed, the contract transactions of the main blockchain processing nodes are packaged into blocks, and then the blocks are sent to each blockchain processing node (including the TMC blockchain processing node and the hotel blockchain processing node). And each block chain processing node checks the correctness of the transaction in the block, and after the transaction which cannot be checked in the block is removed, the main block chain processing node and each block chain processing node store the block memory. When the block chain management device returns the notice of the storage completion to the TMC block chain client.
It should be noted that, when the blockchain is a federation chain, the blockchain management apparatus includes an endorsement node and a sorting node. The endorsement node may be assumed by the block chain processing node (including the TMC block chain processing node and the hotel block chain processing node), and is configured to check the transaction, and the checking algorithm may be a bayer byzantine fault tolerance (PBFT) algorithm, which is used for voting by the endorsement node to determine whether the transaction check is passed.
The sequencing node is used for sequencing the transactions, packaging the sequenced transactions into blocks and sending the blocks to each block chain node, and enabling the block chain processing node to store the blocks.
S704, the blockchain management device sends a first contract signing transaction response to the TMC contract management client.
Specifically, the first contract signing transaction response is used for responding to the first contract signing transaction request and informing the TMC contract management client that the blockchain management device stores the first contract transaction.
S705, the blockchain management device sends a first notification signing contract message to the hotel management client.
Wherein the first notification signing contract message is used for notifying the store party to sign a contract.
It should be noted that the steps S704 and S705 are executed simultaneously, and there is no sequence.
S706, the hotel contract management client sends a contract content reading request to the blockchain management device.
And S707, the block chain management device sends the contract content C, the digest hash and the signature S to the hotel contract management client.
Specifically, after the hotel contract management client sends the request for reading contract content to the block chain management device; the block chain management device reads the content contract C, the abstract hash and the signature S from the local block chain, and sends the contract content C, the abstract hash and the signature S to the hotel contract management client.
And S708, the hotel contract management client sends contract content C to the hotel leader terminal equipment.
Specifically, when receiving the contract content C, the hotel contract management client decrypts the signature S with the public key of the TMC to obtain a first hash, and when it is determined that the first hash is consistent with the digest hash, determines that the contract content C is not tampered, and sends the contract content C to the hotel principal terminal device, so that the hotel principal can view the contract content C conveniently.
And S709, the hotel responsible person terminal equipment sends a signing confirmation instruction to the hotel contract management client.
Specifically, after the hotel responsible person checks the contract content C through the terminal device of the hotel responsible person, if the contract content C is reasonable, a signing confirmation instruction is sent to the hotel contract management client through the terminal device of the hotel service responsible person.
And S710, the hotel contract management client sends a second contract signing transaction request to the blockchain management device.
Specifically, after receiving the signing confirmation instruction sent by the hotel leader terminal device, the hotel contract management client generates a hash1 according to the contract content C and the current timestamp T1, and encrypts the hash1 according to the private key of the hotel to generate a hotel signature S1. The hotel contract management client builds a contract second transaction based on the contract content C, the current timestamp T1, and the hotel signature S1. And the hotel contract management client sends the second contract signing transaction request to the block chain management device.
Wherein the second contract-signing transaction request comprises the second contract transaction.
S711, the blockchain management device performs block persistence.
It should be noted that the process of block persistence performed by the block chain management device may be regarded as a process of block persistence performed by the TMC block chain processing node and the hotel block chain processing node. After the TMC blockchain processing node and the hotel blockchain processing node perform block persistence, the content C of the hotel contract, the timestamp T1, and the hotel signature S1 are stored in the local blockchains of the TMC blockchain processing node and the hotel blockchain processing node. The specific process of this step is referred to the above step S703, and will not be described here.
And S712, the blockchain management device sends a second contract signing transaction response to the hotel contract management client.
Wherein said second contract signing transaction response is used for responding to said second contract signing transaction request.
S713, the blockchain management apparatus sends the second notification signing contract message to the TMC contract management apparatus.
Wherein the second notification signing contract message is used for notifying the TMC contract management client that the wine shop side has signed the contract and notifying the TMC side to sign the contract.
It should be noted that the steps S713 and S714 are executed simultaneously, and there is no sequence.
S714, the TMC contract management client sends a request for reading hotel signed content to the blockchain management device.
When receiving the second notification contract message, the TMC contract management client transmits the hotel signature content reading request to the block chain management apparatus, and requests to read the content signed by the store side, including contract content C, timestamp T1, and hotel signature S1.
S715, the blockchain management apparatus sends the same content C, the time stamp T1, and the hotel signature S1 to the TMC contract management client.
Specifically, when receiving the request for reading hotel signature content, the blockchain management apparatus reads the contract content C, the timestamp T1, and the hotel signature S1 from its local blockchain; after receiving the contract content C, the timestamp T1 and the hotel signature S1, the TMC contract management client generates a hash1 according to the hotel signature contract content C2 and the timestamp T1; then, the public key of the hotel is used for decrypting the hotel signature S1 to obtain a second hash; when the second hash is consistent with the hash1, the TMC contract management client determines that the hotel signing contract has not been tampered with and that the hotel party has signed up.
The TMC contract management client generates a hash2 according to the contract content C and the current timestamp T2, and encrypts the hash2 according to the private key of TMC to obtain a TMC signature S2. The TMC contract management client constructs a contract management transaction from the contract content C, the timestamp T2, and the TMC signature S2.
S716, the TMC contract management client sends a third contract signing transaction request to the blockchain management device.
Wherein the third contract signing transaction request comprises the contract management transaction.
S717, the block chain management device performs block persistence.
It should be noted that the process of block persistence performed by the block chain management device may be regarded as a process of block persistence performed by the TMC block chain processing node and the hotel block chain processing node. The TMC blockchain processing node and the hotel blockchain processing node perform a block persistence process, and the specific process refers to the step S703, which is not described herein.
After the block persistence of the TMC block chain processing node and the hotel block chain processing node is completed, the contract management transaction is stored in the local block chain of the TMC block chain processing node and the hotel block chain processing node.
S718, the blockchain management device sends a third contract signing transaction response to the TMC contract management client.
And the third contract signing transaction response is used for responding to the third contract signing transaction request.
And S719, the TMC contract management client sends a contract signing success message to the TMC leader terminal equipment.
Further, after receiving the third contract signing transaction response, the TMC contract management client sends a contract signing success notification to the terminal device of the TMC principal to notify that the TMC principal successfully signs a contract with the hotel.
S720, the block chain management device analyzes the contract content C to obtain contract parameters.
Specifically, the block chain management device first parses the contract management transaction to obtain the contract content C, and then continues to parse the contract content C through the intelligent contract to obtain the corresponding contract parameters.
The contract parameters include, but are not limited to, house price, house type, quantity, service item and price, discount, and other information.
And S721, the block chain management device imports contract parameters into other TMC related systems and other hotel related systems.
Specifically, the block chain management device imports contract parameters into other TMC related systems and other hotel related systems. The other related systems of the TMC can be hotel resource issuing systems, hotel settlement systems or other systems; the hotel other related system may be a Property Management System (PMS) or other system.
According to the method, the signing of the contract between the TMC and the hotel is realized.
The following specifically describes a specific process of joining an intelligent contract in the TMC blockchain processing node and the hotel blockchain processing node. Referring to fig. 8, fig. 8 is a schematic diagram of a process of adding an intelligent contract in a TMC blockchain processing node and a hotel blockchain processing node. As shown in fig. 8, includes:
s801, writing and packaging the intelligent contract according to the contract clauses by TMC to obtain an intelligent contract package P.
Wherein the contract clauses are clauses in a contract signed by the TMC and the hotel.
S802, TMC sends an intelligent contract package P to the TMC contract management client.
S803, the TMC contract management client encrypts and signs the intelligent contract package P to obtain a first signed intelligent contract package.
Specifically, after receiving the intelligent contract package P, the TMC contract management client encrypts the hash value of the intelligent contract package P by using its private key to generate a TMC signature S1, and loads the TMC signature S1 into the signature sequence of the intelligent contract package to obtain a first signed intelligent contract package.
S804, the TMC contract management client sends a first signature intelligent contract package to the hotel contract management client.
And S805, the hotel contract management client sends a notification viewing message to the hotel.
After receiving the first signed smart contract package, the hotel contract management client decrypts the signature S1 by using the public key of TMC to obtain the hash of S1. And when the hash of the S1 is consistent with the hash of the first signed intelligent contract package, the hotel contract management client sends a notification check message to the hotel to notify the hotel to check the intelligent contract.
S806, the hotel sends a check confirmation message to the hotel contract management client.
And when the intelligent contract is confirmed to be correct, the hotel sends a checking confirmation message to the hotel contract management client to indicate that the intelligent contract is correct.
S807, the hotel contract management client carries out encryption signature on the first signature intelligent contract package to obtain a second signature intelligent contract package.
The hotel contract management client encrypts the hash of the first signed intelligent contract package by using a private key of the hotel contract management client to obtain a hotel signature S2, and loads the hotel signature S2 into a signature sequence of the intelligent contract package to obtain a second signed intelligent contract package.
And S808, the hotel contract management client sends a second signature intelligent contract package to the TMC contract management client.
And S809, the TMC contract management client and the hotel contract management client install intelligent contracts on the TMC block chain processing node and the hotel block chain processing node respectively.
Specifically, when the TMC contract management client determines that the hotel signature S2 exists in the signature sequence of the second signed smart contract package, the TMC contract management client and the hotel contract management client install smart contracts on the TMC block chain processing node and the hotel block chain processing node, respectively.
And adding intelligent contracts into the TMC blockchain processing node and the hotel blockchain processing node.
One specific embodiment of an intelligent contract for a hotel contract is described below. When business employees view prices and discounts for services (such as laundry, shopping, etc.) and facilities (conference rooms, gyms, swimming pools, etc.) offered by the hotel, the viewing can be done by invoking intelligent contracts for hotel contracts. Referring to fig. 9, fig. 9 is a schematic flow chart of a specific example of an intelligent contract of a hotel contract. As shown in fig. 9, includes:
and S901, sending an authentication message to the hotel resource issuing system by the enterprise staff terminal equipment.
The authentication message includes identity information of the enterprise employee, such as an identity card number, an enterprise employee number, and the like.
Specifically, the enterprise staff directly logs in the hotel resource issuing system by using the terminal device of the enterprise staff or enters the hotel resource issuing system by using the OA jump of the enterprise and other modes.
S902, the hotel resource issuing system authenticates the identity of the enterprise employee.
Specifically, the hotel resource issuing system traverses its internal database according to the identity information of the enterprise employee to determine whether the enterprise employee is an employee of the enterprise signed with the enterprise employee.
S903, the hotel resource issuing system sends an authentication success message to the enterprise employee terminal equipment.
When the enterprise staff is determined to be the staff working hours of the enterprise signed with the hotel, the hotel resource issuing system sends an authentication success message to the enterprise staff terminal device.
And S904, sending a first viewing service request to the hotel resource issuing system by the enterprise staff terminal equipment.
After receiving the authentication success message, the enterprise employee terminal device sends the first check service request to the hotel resource issuing system to request to acquire information such as service, price, discount and the like provided by the hotel for the enterprise employee, wherein the information is included in a contract signed by the hotel and the enterprise.
S905, the hotel resource issuing system sends a second viewing service request to the TMC contract management client.
Because the contract content signed by the hotel and the enterprise is not stored in the hotel resource issuing system, the hotel resource issuing system needs to send a second viewing service request to the TMC contract management client. The second viewing service request carries the hotel information and the enterprise information to which the employee belongs. The hotel information may be a hotel ID or a hotel name; the business information to which the employee belongs may be a business ID or a business name.
S906, the TMC contract management client sends a contract list acquisition request to the TMC blockchain processing node.
The contract list acquiring request is used for requesting to acquire a list of contracts signed by the hotel and the enterprise to which the enterprise employee belongs. The contract list acquisition request carries the hotel information and the enterprise information to which the employee belongs.
S907, the TMC block chain processing node sends a contract list to the TMC contract management client.
The contract list comprises the number of the contract signed by the enterprise & hotel & TMC three party and/or the number of the contract signed by the hotel & TMC two party.
S908, the TMC contract management client selects a target contract number.
Alternatively, the target contract number may be the number of a contract signed by the enterprise & hotel & TMC three parties or the number of a contract signed by the hotel & TMC two parties.
Preferably, the target contract number may be the number of a contract signed by a business & hotel & TMC third party.
S909, the TMC contract management client sends a third viewing service request to the TMC blockchain processing node.
Wherein, the third viewing service request carries the target contract number.
S910, the TMC block chain processing node sends the query result to the TMC contract management client.
And the TMC block chain processing node acquires a target contract according to the target contract number, and then inquires information such as service items, prices, discounts and the like in the target contract by calling a corresponding intelligent contract. And sending a query result to the TMC contract management client, wherein the query result comprises information such as the service item, the price, the discount and the like in the target contract.
And S911, the TMC contract management client sends the query result to the hotel resource issuing system.
S912, the hotel resource issuing system sends the query result to the enterprise employee terminal equipment.
Therefore, the enterprise employee acquires the information of the service, the price, the discount and the like provided by the hotel for the enterprise, which is contained in the contract signed by the hotel and the enterprise, through the terminal device of the enterprise employee, so that the employee can better enjoy the service provided by the hotel.
It can be seen that in the embodiments shown in fig. 7-9, by introducing the contract template, generating the contract content according to the contract template and the contract parameters, and storing the contract content in the block chain, the irrevocable, time proof and credibility of the contract content are ensured. And the contract content is only stored in the block chain, and each signing party can check the contract on the block chain, so that the management cost of each signing party is reduced. The contract parameters are obtained by analyzing the contract contents through the block chain and are imported into a relevant external system, so that the workload of manually importing the contract parameters is reduced, and the occurrence of errors in manually importing the contract parameters is avoided. By compiling the information such as the price, discount and the like of hotel service facilities in the contract into an intelligent contract, the enterprise staff can conveniently check the contract, and can enjoy more advantages.
Referring to fig. 10, fig. 10 is an interactive flowchart of another method for processing contract data according to the embodiment of the present invention. The method specifically introduces a block chain based contract signing process between TMC and enterprises. As shown in fig. 10, the method includes:
s1001, sending contract content C/contract parameters to a TMC contract management client by TMC responsible person terminal equipment.
The contract content C includes a contract template and contract parameters. The contract parameters include the type of room offered by the hotel, the price of the room, the price of the service offered, and discounts.
And when the TMC contract management client stores a contract template, the TMC contract management client receives contract parameters sent by the TMC responsible person terminal equipment. And after receiving the contract parameters, the TMC contract management client generates contract content C according to the contract parameters and the contract template.
In a possible embodiment, when the TMC contract management client acquires the contract content C, the TMC contract management apparatus encrypts the contract content according to a symmetric encryption algorithm, and a key for encryption is commonly owned by parties who sign a contract. And in the subsequent process of transmitting the contract content C by each party, the encrypted contract content C is transmitted.
S1002, the TMC contract management client sends a first contract signing transaction request to the blockchain management device.
After acquiring the contract content C, the TMC contract management client generates a digest hash according to the contract content C, encrypts the digest hash according to a private key of TMC to obtain a signature S, and constructs a first contract transaction according to the contract content C, the digest hash and the signature S. The complaint TMC contract management client sends the first contract signing transaction request to the block chain management apparatus, where the first contract signing transaction request includes the first contract transaction.
S1003, the blockchain management device performs block persistence.
It should be noted that the blockchain management apparatus includes the TMC blockchain processing node and the enterprise blockchain processing node. Before the TMC contract management client executes step S1001, the TMC blockchain processing node and the enterprise blockchain processing node perform leader election to obtain a main blockchain processing node.
Specifically, the TMC contract management client sends the contract transaction to the blockchain management apparatus in order to store the contract transaction in the blockchain processing nodes (including the TMC blockchain processing node and the enterprise blockchain processing node) of the blockchain management apparatus.
After receiving the first contract signing transaction request, a main blockchain processing node in the blockchain management device acquires the first contract transaction from the request and verifies the correctness of the contract transaction. After the check is passed, the contract transactions of the main blockchain processing nodes are packaged into blocks, and then the blocks are sent to each blockchain processing node (including the TMC blockchain processing node and the enterprise blockchain processing node). And each block chain processing node checks the correctness of the transaction in the block, and after the transaction which cannot be checked in the block is removed, the main block chain processing node and each block chain processing node store the block memory. When the block chain management device returns the notice of the storage completion to the TMC block chain client.
It should be noted that, when the blockchain is a federation chain, the blockchain management apparatus includes an endorsement node and a sorting node. The endorsement node may be assumed by the block chain processing node (including the TMC block chain processing node and the enterprise block chain processing node), and is configured to check the transaction, and the check algorithm may be a PBFT algorithm, or when the check is performed, the endorsement node votes to determine whether the transaction check is passed.
The sequencing node is used for sequencing the transactions, packaging the sequenced transactions into blocks and sending the blocks to each block chain node, and enabling the block chain processing node to store the blocks.
S1004, the blockchain management apparatus sends the first contract signing transaction response to the TMC contract management client.
Wherein, the first contract signing transaction response is used for responding to the first contract signing transaction request and informing the TMC contract management client that the block chain management device stores the first contract transaction.
S1005, the blockchain management apparatus sends a first notification signing contract message to the enterprise contract management client.
Wherein, the first notification signing contract message is used for notifying the enterprise party to sign the contract.
It should be noted that the above step S1004 and step S1005 are executed simultaneously, and there is no order of priority.
And S1006, the enterprise contract management client sends a contract content reading request to the blockchain management device.
And S1007, the block chain management device sends the contract content C, the digest hash and the signature S to the enterprise contract management client.
Specifically, the enterprise contract management client sends the contract content reading request to the blockchain management device; and the enterprise block chain processing node reads the content contract C, the abstract hash and the signature S from the local block chain, and sends the contract content C, the abstract hash and the signature S to the enterprise contract management client.
And S1008, the enterprise contract management client sends the contract content C to the enterprise principal terminal equipment.
Specifically, when receiving the contract content C, the enterprise contract management client decrypts the signature S with the public key of the TMC to obtain a first hash, and when it is determined that the first hash is consistent with the digest hash, determines that the contract content C is not tampered, and sends the contract content C to the enterprise principal terminal device, so that the enterprise principal can view the contract content C conveniently.
And S1009, the enterprise supervisor terminal equipment sends a signing confirmation instruction to the enterprise contract management client.
Specifically, after the enterprise service principal checks the contract content C through the terminal device of the enterprise service principal, the enterprise service principal sends a signing confirmation instruction to the enterprise contract management client through the terminal device of the enterprise service principal if the contract content C is reasonable.
S1010, the enterprise contract management client sends a second contract signing transaction request to the blockchain management device.
Specifically, after receiving the signing confirmation instruction sent by the terminal device of the enterprise principal, the enterprise contract management client generates a hash1 according to the contract content C and the current timestamp T1, and encrypts the hash1 according to the private key of the enterprise to obtain an enterprise signature S1. The enterprise contract management client builds a second contract transaction based on the contract content C, the current timestamp T1, and the enterprise signature S1. And the enterprise contract management client sends the second contract signing transaction request to the block chain management device.
Wherein the second contract-signing transaction request comprises the second contract transaction.
S1011, the blockchain management device performs block persistence.
It should be noted that the process of performing block persistence by the block chain management device may be regarded as a process of performing block persistence by the TMC block chain processing node and the enterprise block chain processing node. After the TMC blockchain processing node and the enterprise blockchain processing node perform block persistence, the contract content C, the timestamp T1, and the enterprise signature S1 are stored in the local blockchains of the TMC blockchain processing node and the enterprise blockchain processing node. The specific process of this step is described in relation to step S1003 above, and will not be described here.
S1012, the block chain management device sends a second contract signing transaction response to the enterprise contract management client.
Specifically, the block chain management apparatus sends the second contract signing transaction response to the enterprise contract management client, for responding to the second contract signing transaction request.
S1013, the blockchain management device sends a second notification signing contract message to the TMC contract management client
Wherein, the second signing contract message is used for informing the TMC contract management client that the enterprise side has signed the contract and informing the TMC side to sign the contract.
It should be noted that step S1012 and step S1013 are executed simultaneously, and there is no order.
S1014, the TMC contract management client sends a read enterprise signed content request to the blockchain management device.
When receiving the second notification signing contract message, the TMC contract management client sends the read enterprise signing content request to the blockchain management device, for requesting to read the content signed by the enterprise, including contract content C, timestamp T1 and enterprise signature S1.
S1015, the blockchain management apparatus sends the same content C, the time stamp T1, and the enterprise signature S1 to the TMC contract management client.
Specifically, when receiving the request for reading the enterprise signed content, the block chain management device reads the contract content C, the timestamp T1 and the enterprise signature S1 from the local block chain, and the TMC contract management client generates a hash1 according to the contract content C and the timestamp T1; then, the enterprise signature S1 is decrypted by using the public key of the enterprise to obtain a second hash; when the second hash is consistent with the hash1, the TMC contract management client determines that the enterprise signed contract has not been tampered with and that the enterprise has signed up.
The TMC contract management client generates a hash2 according to the contract content C and the current timestamp T2, and encrypts the hash2 according to the private key of TMC to obtain a TMC signature S2. The TMC contract management client constructs a contract management transaction from the contract content C, the timestamp T2, and the TMC signature S2.
S1016, the TMC contract management client sends a third contract signing transaction request to the block chain management apparatus.
Specifically, the TMC contract management client sends the third contract signing transaction request to the block chain management apparatus. Wherein the third contract signing transaction request comprises the contract management transaction.
S1017, the blockchain management device performs block persistence.
It should be noted that the process of performing block persistence by the block chain management device may be regarded as a process of performing block persistence by the TMC block chain processing node and the enterprise block chain processing node. The TMC blockchain processing node and the enterprise blockchain processing node perform a block persistence process, and the specific process refers to the related description of step S1003, and will not be described here.
After the TMC blockchain processing node and the enterprise blockchain processing node complete the block persistence, the contract management transaction is stored in the local blockchain of the TMC blockchain processing node and the enterprise blockchain processing node.
S1018, the blockchain management device sends a third contract signing transaction response to the TMC contract management client.
Specifically, the block chain management apparatus sends the third contract signing transaction response to the TMC contract management client, where the third contract signing transaction response is used to respond to the third contract signing transaction request.
S1019, the TMC contract management client sends a contract signing success message to the TMC responsible person terminal equipment.
Further, after receiving the third contract signing transaction response, the TMC contract management client sends a contract signing success notification to the terminal device of the TMC principal to notify that the TMC principal successfully signs a contract with the enterprise.
S1020, the blockchain management device parses the contract content C to obtain contract parameters.
Specifically, the block chain management device first parses the contract management transaction to obtain the contract content C, and then continues to parse the contract content C according to the intelligent contract to obtain the corresponding contract parameters.
The contract parameters include, but are not limited to, house price, house type, quantity, service item and price, discount, and other information.
And S1021, the block chain management device leads the contract parameters into other TMC related systems and other enterprise related systems.
Specifically, the block chain management device imports contract parameters into other TMC related systems and other enterprise related systems. Wherein, the other related systems of TMC may be an enterprise resource distribution system, an enterprise settlement system or other systems; the other related systems of the enterprise may be the enterprise PMS or other systems.
According to the method, the signing of the contracts of the TMC and the enterprises is realized.
Referring to fig. 11, fig. 11 is an interactive flowchart of another contract data processing method according to an embodiment of the present invention. The method specifically introduces a process of signing contracts by TMC, hotels and enterprises based on a block chain. As shown in fig. 11, the method includes:
s1101, sending contract content C/contract parameters to the TMC contract management client by the TMC responsible person terminal equipment.
The contract content C includes a contract template and contract parameters. The contract parameters include the type of room offered by the hotel, the price of the room, the price of the service offered, and discounts.
And when the TMC contract management client stores a contract template, the TMC contract management client receives contract parameters sent by the TMC responsible person terminal equipment. And after receiving the contract parameters, the TMC contract management client generates contract content C according to the contract parameters and the contract template.
In a possible embodiment, when the TMC contract management client acquires the contract content C, the TMC contract management apparatus encrypts the contract content according to a symmetric encryption algorithm, and a key for encryption is commonly owned by parties who sign a contract. And in the subsequent process of transmitting the contract content C by each party, the encrypted contract content C is transmitted.
S1102, the TMC contract management client sends a first contract signing transaction request to the blockchain management device.
After acquiring the contract content C, the TMC contract management client generates a digest hash according to the contract content C, encrypts the digest hash according to a private key of TMC to obtain a signature S, and constructs a first contract transaction according to the contract content C, the digest hash and the signature S. The TMC contract management client sends the first contract signing transaction request to the block chain management apparatus.
Wherein the first contract signing transaction request comprises the first contract transaction.
S1103, the blockchain management device performs block persistence.
It should be noted that the block chain management device includes the TMC block chain processing node, the hotel block chain processing node, and the enterprise block chain processing node. Before the TMC contract management client executes step S1101, the TMC blockchain processing node, the enterprise blockchain processing node, and the hotel blockchain processing node perform leader elections to obtain a main blockchain processing node.
Specifically, the TMC contract management client sends the contract transaction to the blockchain management apparatus, so as to store the contract transaction in the blockchain processing nodes (including the TMC blockchain processing node, the enterprise blockchain processing node, and the hotel blockchain processing node) of the blockchain management apparatus.
After receiving the first contract signing transaction request, a main blockchain processing node in the blockchain management device acquires the first contract transaction from the request and verifies the correctness of the contract transaction. After the check is passed, the contract transactions of the main blockchain processing nodes are packaged into blocks, and then the blocks are sent to each blockchain processing node (including the TMC blockchain processing node, the enterprise blockchain processing node and the hotel blockchain processing node). And each block chain processing node checks the correctness of the transaction in the block, and after the transaction which cannot be checked in the block is removed, the main block chain processing node and each block chain processing node store the block memory. When the block chain management device returns the notice of the storage completion to the TMC block chain client.
It should be noted that, when the blockchain is a federation chain, the blockchain management apparatus includes an endorsement node and a sorting node. The endorsement node may be assumed by the block chain processing node (including the TMC block chain processing node, the enterprise block chain processing node, and the hotel block chain processing node), and is configured to check the transaction, and the check algorithm may be a PBFT algorithm, or when the check is performed, the endorsement node votes to determine whether the transaction check is passed.
The sequencing node is used for sequencing the transactions, packaging the sequenced transactions into blocks and sending the blocks to each block chain node, and enabling the block chain processing node to store the blocks.
At this point, the contract content C, the digest hash and the signature S are stored in the block chains corresponding to the TMC block chain processing node, the hotel block chain processing node and the enterprise block chain processing node.
S1104, the block chain management device sends a first contract signing transaction response to the TMC contract management client.
Specifically, the block chain management device sends the first contract signing transaction response to the TMC contract management client, and is configured to respond to the first contract signing transaction request and notify the TMC contract management client that the block chain management device stores the first contract transaction.
S1105, the blockchain management device sends a first notification signing contract message to the hotel contract management client.
Wherein the first notification signing contract message is used for notifying the store party to sign a contract.
It should be noted that the step S1104 and the step S1105 are executed simultaneously, and there is no sequence.
S1106, the hotel contract management client sends a request for reading contract content to the blockchain management device.
And S1107, the block chain management device sends contract content C, abstract hash and signature S to the hotel contract management client.
Specifically, the hotel contract management client sends the request for reading contract content to the block chain management device; and the hotel block chain processing node reads the content contract C, the abstract hash and the signature S from the local block chain, and sends the contract content C, the abstract hash and the signature S to the hotel contract management client.
And S1108, the hotel contract management client sends contract content C to the hotel leader terminal equipment.
Specifically, when receiving the contract content C, the hotel contract management client decrypts the signature S with the public key of the TMC to obtain a first hash, and when it is determined that the first hash is consistent with the digest hash, determines that the contract content C is not tampered, and sends the contract content C to the hotel principal terminal device, so that the hotel principal can view the contract content C conveniently.
S1109, the hotel responsible person terminal equipment sends a signing confirmation instruction to the hotel contract management client.
Specifically, after the hotel responsible person checks the contract content C through the terminal device of the hotel responsible person, if the contract content C is reasonable, a signing confirmation instruction is sent to the hotel contract management client through the terminal device of the hotel service responsible person.
S1110, the hotel contract management client sends a second contract signing transaction request to the blockchain management device.
Specifically, after receiving the signing confirmation instruction sent by the hotel leader terminal device, the hotel contract management client generates a hash1 according to the contract content C and the current timestamp T1, and encrypts the hash1 according to the private key of the hotel to obtain a hotel signature S1. The hotel contract management client builds a contract second transaction based on the contract content C, the current timestamp T1, and the hotel signature S1. And the hotel contract management client sends the second contract signing transaction request to the block chain management device.
Wherein the second contract-signing transaction request comprises the second contract transaction.
S1111, the block chain management device performs block persistence.
It should be noted that the process of block persistence performed by the block chain management device may be regarded as a process of block persistence performed by the TMC block chain processing node, the enterprise block chain processing node, and the hotel block chain processing node. After the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node perform block persistence, the contract content C, the timestamp T1, and the hotel signature S1 are stored in the local blockchains of the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node. The specific process of this step is referred to the above step S1103, and will not be described here.
After the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node complete the block persistence, the local blockchains of the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node store the second contract transaction.
S1112, the blockchain management apparatus sends a second contract signing transaction response to the hotel contract management client.
Wherein said second contract signing transaction response is used for responding to said second contract signing transaction request.
S1113, the blockchain management device sends a second notification signing contract message to the enterprise contract management client
Wherein, the second notification signing contract message is used for notifying the enterprise contract management client that the store party has signed the contract and notifying the enterprise party to sign the contract.
It should be noted that step S1112 and step S1113 are executed simultaneously, and there is no sequence.
S1114, the enterprise contract management client sends a second request for reading contract content to the blockchain management device.
When receiving the second notification contract message, the enterprise contract management client sends the second contract content reading request to the blockchain management device, and the second contract content reading request is used for requesting to read the contents signed by the store side, including contract content C, timestamp T1 and hotel signature S1.
S1115, the blockchain management device sends contract content C, a timestamp T1 and a hotel signature S1 to the enterprise contract management client.
When receiving the second contract content reading request, the block chain management device reads the contract content C, the timestamp T1 and the hotel signature S1 from the local block chain, and sends the contract content C, the timestamp T1 and the hotel signature S1 to the enterprise contract management client.
And S1116, the enterprise contract management client sends the contract content C to the enterprise supervisor terminal equipment.
Specifically, after receiving the contract content C, the timestamp T1 and the enterprise signature S1, the enterprise contract management client generates a hash1 according to the contract content C and the timestamp T1; then, the enterprise signature S1 is decrypted by using the public key of the enterprise to obtain a second hash; when the second hash is consistent with the hash1, the enterprise contract management client determines that the hotel signing contract has not been tampered with and that the hotel party has signed up. And the enterprise contract management client sends contract content C to the enterprise supervisor terminal equipment.
And S1117, the enterprise principal terminal equipment sends a signing confirmation instruction to the enterprise contract management client.
And after receiving the contract content C, the terminal equipment of the enterprise principal displays the contract content C so as to facilitate the checking of the enterprise principal. And after the contract content C is confirmed to be reasonable, the enterprise principal sends a signing confirmation instruction to the enterprise contract management client through the terminal equipment.
S1118, the enterprise contract management client sends a third contract signing transaction request to the blockchain management device.
After receiving the signing confirmation instruction, the enterprise contract management client generates a hash2 according to the contract content C and the current timestamp T2, and encrypts the hash2 according to the private key of the enterprise to obtain an enterprise signature S2. The enterprise contract management client constructs a third contract transaction according to the contract content C, the timestamp T2 and the enterprise signature S2, and sends a third contract signing transaction request to the block chain management device.
Wherein the third contract signing transaction request includes the third contract transaction with timestamp T2 after the timestamp T1.
S1119, the block chain management device processes block persistence.
It should be noted that the process of block persistence performed by the block chain management device may be regarded as a process of block persistence performed by the TMC block chain processing node, the enterprise block chain processing node, and the hotel block chain processing node. After the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node perform block persistence, the contract content C, the timestamp T2, and the enterprise signature S2 are stored in the local blockchains of the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node. The specific process of this step is referred to the above step S1103, and will not be described here.
After the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node complete the block persistence, the third colleague business is stored in the local blockchain of the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node.
And S1120, the blockchain management device sends a third contract signing transaction response to the enterprise contract management client.
Specifically, the block chain management device sends the third contract signing transaction response to the enterprise contract management client, where the third contract signing transaction response is used for responding to the third contract signing transaction request.
S1121, the block chain management device sends a third notification signing message to the TMC contract management client
Wherein, the third known signing contract message is used for informing the TMC contract management client that the shop side and the enterprise side have signed the contract and informing the TMC side to sign the contract.
It should be noted that, the step S1120 and the step S1121 are executed simultaneously, and there is no sequence.
S1122, the TMC contract management client sends a third request for reading contract content to the blockchain management device.
Specifically, the TMC contract management client sends the third contract content reading request to the blockchain management device, and is configured to request to read the enterprise-signed content and the hotel-signed content, where the third contract content request includes contract content C, timestamp T1, timestamp T2, hotel signature S1, and enterprise signature S2.
S1123, the blockchain management apparatus sends the contract content C, the time stamp T1, the time stamp T2, the hotel signature S1, and the enterprise signature S2 to the TMC contract management client.
Specifically, when receiving the third contract content reading request, the block chain management apparatus reads the contract content C, the timestamp T1, the timestamp T2, the hotel signature S1, and the enterprise signature S2 from the local block chain, and sends the read contract content C, the timestamp T1, the timestamp T2, the hotel signature S1, and the enterprise signature S2 to the TMC contract management client.
After receiving the contract content C, the timestamp T1, the timestamp T2, the hotel signature S1 and the enterprise signature S2, the TMC contract management client generates a hash1 according to the contract content C and the timestamp T1; then, the public key of the hotel is used for decrypting the enterprise signature S1 to obtain a third hash; when the third hash is consistent with the hash1, the TMC contract management client determines that the hotel signing contract contents have not been tampered and that the hotel party has signed up. The TMC contract management client generates a hash2 according to the contract content C and the timestamp T2; then, decrypting the enterprise signature S2 by using the public key of the enterprise to obtain a fourth hash; when the fourth hash is consistent with the hash2, the TMC contract management client determines that the enterprise signed contract has not been tampered with and that the enterprise has signed up.
And the TMC contract management client generates a hash3 according to the contract content C and the current timestamp T3, and encrypts the hash3 according to a TMC private key to obtain a TMC signature S3. The TMC contract management client constructs a fourth contract transaction from the contract content C, the time stamp T3, and the TMC signature S3, and sends a fourth contract transaction request to the block chain management apparatus, with the time stamp T3 following the time stamp T2.
S1124, the TMC contract management client sends a fourth contract signing transaction request to the blockchain management device.
Specifically, the TMC contract management client transmits the fourth contract signing transaction request to the above block chain management apparatus. Wherein said fourth contract signing transaction request comprises said fourth contract transaction.
S1125, the blockchain management device performs block persistence.
It should be noted that the process of block persistence performed by the block chain management device may be regarded as a process of block persistence performed by the TMC block chain processing node, the enterprise block chain processing node, and the hotel block chain processing node. After the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node perform block persistence, the contract content C, the timestamp T3, and the TMC signature S3 are stored in the local blockchains of the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node. The specific process of this step is referred to the above step S1103, and will not be described here.
After the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node complete the block persistence, the fourth contract transaction is stored in the local blockchain of the TMC blockchain processing node, the hotel blockchain processing node, and the enterprise blockchain processing node.
S1126, the block chain management device sends a fourth contract signing transaction response to the TMC contract management client.
Specifically, the block chain management apparatus sends the fourth contract signing transaction response to the TMC contract management client, where the fourth contract signing transaction response is used to respond to the third contract signing transaction request.
S1127, the TMC contract management client sends a contract signing success message to the TMC principal terminal equipment.
S1128, the blockchain management device parses the contract content C to obtain contract parameters.
Specifically, the block chain management apparatus first parses the fourth contract transaction to obtain the contract content C, and then continues to parse the contract content C according to the intelligent contract to obtain the corresponding contract parameter.
S1129, the block chain management device leads the contract parameters into other related systems of TMC and other related systems of enterprises.
Specifically, the block chain management device imports the contract parameters into other TMC related systems and other enterprise related systems. Wherein, the other related systems of TMC may be an enterprise resource distribution system, an enterprise settlement system or other systems; the other related systems of the enterprise may be a PMS or other systems.
According to the method, the signing of the three-party contract of TMC, enterprises and hotels is realized.
Referring to fig. 12, fig. 12 is an interactive flowchart of another contract data processing method according to an embodiment of the present invention. The method specifically introduces a process of signing contracts based on block chains by TMC, a hotel group and hotel stores below the hotel group. As shown in fig. 12, the method includes:
s1201, the TMC person in charge terminal equipment sends contract content/contract parameters to the TMC contract management client.
Specifically, when the TMC person in charge wants to initiate a contract with the hotel group and the under-flag store, the TMC person in charge sends contract contents or contract parameters to the TMC contract management client through the terminal device of the TMC person in charge.
When the TMC contract management client stores a contract template, the TMC person in charge terminal equipment sends the contract parameters to the TMC contract management client; when the TMC contract management client does not store the contract template, the TMC person in charge terminal device transmits the contract content to the TMC contract management client.
Wherein, the contract content comprises a contract template and contract parameters. The contract contents include a general contract content in which the TMC is signed with the hotel group and a store contract content in which the TMC is signed with a store under the hotel group. The contract parameters also include contract parameters of the overall contract contents of the TMC with the hotel group and contract parameters of the store contract contents of the TMC with the stores under the hotel group.
In a possible embodiment, when the TMC contract management client acquires the contract content, the TMC contract management apparatus encrypts the contract content according to a symmetric encryption algorithm, and a key for encryption is commonly owned by each party who signs the contract. And in the subsequent process of transmitting the contract contents by each party, the encrypted contract contents are transmitted.
S1202, the TMC contract management client sends a first overall contract signing transaction request to the blockchain management device.
And after receiving the contract parameters, the TMC contract management client generates the total contract content C and store contract content according to the contract template and the contract parameters.
The TMC contract management client generates a digest hashC according to the overall contract content C, and encrypts the digest hashC according to a private key of TMC to obtain a first signature S1; and generating a first contract transaction according to the overall contract content, the digest hashC and the first signature S1, and sending a first overall contract signing transaction request to the blockchain management device, where the first contract transaction is carried in the request.
S1203, the block chain management device conducts block persistence.
It should be noted that, the specific process of this step refers to the above-mentioned description related to step S703 of the embodiment shown in fig. 7, and is not described here.
After the TMC blockchain processing node and the hotel blockchain processing node complete the block persistence, the local blockchains of the TMC blockchain processing node and the hotel blockchain processing node both store the first contract transaction.
S1204, the blockchain management device sends the first total contract signing transaction response to the TMC contract management client.
Specifically, the block chain management apparatus sends the first total contract signing transaction response to the TMC contract management client, and is configured to respond to the first total contract signing transaction request and notify the TMC contract management client that the block chain management apparatus has stored the first contract transaction.
S1205, the TMC contract management client sends a first store A contract signing transaction request to the blockchain management device.
The TMC contract management client generates a digest hashA according to the store A contract content CA, and encrypts the digest hashA according to the TMC private key to obtain a second signature S2; and generating a second contract transaction according to the store a contract content CA, the digest hashA and the second signature S2, and sending a request for the first store a contract signing transaction to the blockchain management apparatus, where the request carries the second contract transaction.
S1206, the block chain management device performs block persistence.
It should be noted that, the specific process of this step refers to the above-mentioned description related to step S703 of the embodiment shown in fig. 7, and is not described here.
After the TMC blockchain processing node and the hotel blockchain processing node complete the block persistence, the local blockchains of the TMC blockchain processing node and the hotel blockchain processing node both store the second contract transaction.
S1207, the blockchain management apparatus sends a first store a contract signing transaction response to the TMC contract management client.
Specifically, the block chain management apparatus sends the first store a contract signing transaction response to the TMC contract management client, where the contract signing transaction response is used to respond to the first store a contract signing transaction request and inform the TMC contract management client that the block chain management apparatus has stored the second contract transaction.
It should be noted that, when the store contract content includes not only the store a contract content, other store contract content is persisted to the blockchain management apparatus according to the method described in the above steps S1205-S1207.
S1208, the block chain management device sends a first notification signing contract message to the hotel contract management client.
Wherein, the first notification signing contract message is used for notifying the hotel headquarters party to sign the overall contract content.
It should be noted that the above steps S1207 and S1208 are executed simultaneously, and there is no sequence.
S1209, the hotel contract management client sends a request for reading contract content to the blockchain management apparatus.
S1210, the block chain management device sends all contract contents to the hotel contract management client.
Specifically, after the hotel contract management client sends the request for reading the contract content to the blockchain management device, the hotel blockchain processing node reads all contract contents from the local blockchain and sends all the contract contents to the hotel contract management client. Wherein the all-contract content includes overall contract content and store contract content.
S1211, the hotel contract management client sends the complete contract content to the terminal equipment of the responsible person of the hotel headquarters.
After all the contract contents are obtained, the hotel contract management client side forms all the contract contents into complete contract contents and sends the complete contract contents to the terminal equipment of the responsible person of the hotel headquarters.
And S1212, the hotel headquarters responsible person terminal equipment sends a signing confirmation instruction to the hotel contract management client.
After the hotel responsible person checks the complete contract content through the terminal equipment, the contract content is considered to be reasonable, and a signing confirmation instruction is sent to the hotel contract management client through the terminal equipment of the hotel service responsible person.
S1213, the hotel contract management client sends a second overall contract signing transaction request to the blockchain management device.
Specifically, after receiving the signing confirmation instruction sent by the hotel leader terminal device, the hotel contract management client generates a hash1 according to the overall contract content C and the current timestamp T1, and encrypts the hash1 according to the private key of the hotel to obtain a hotel headquarters signature S3. The hotel contract management client builds a contract third transaction based on the overall contract content C, the current timestamp T1, and the hotel headquarters signature S3. And sends a second global contract signing transaction request to the blockchain management apparatus. Wherein the second global contract signing transaction request comprises the third contract transaction.
S1214, the blockchain management device performs block persistence.
It should be noted that, the specific process of this step refers to the above-mentioned description related to step S703 of the embodiment shown in fig. 7, and is not described here.
After the TMC block chain processing node and the hotel block chain processing node complete block persistence, the third co-worker is stored in the local block chains of the TMC block chain processing node and the hotel block chain processing node.
S1215, the blockchain management apparatus sends a second overall contract signing transaction response to the hotel contract management client.
Specifically, the block management apparatus sends the second overall contract signing transaction response to the hotel contract management client, for responding to the second overall contract signing transaction request and for informing the hotel contract management client that the third contract transaction is stored in the local block chain of the hotel block chain processing node.
S1216, the blockchain management device sends a second notification signing contract message to the TMC contract management client
The second notification contract message is used for notifying the TMC contract management client that the hotel group has signed the contract and notifying the TMC party of signing the overall contract content.
It should be noted that the above steps S1215 and S1216 are executed simultaneously, and there is no order of priority.
S1217, the TMC contract management client sends a request for reading the hotel headquarters to sign the overall contract content to the blockchain management apparatus.
Specifically, when receiving the second notification signing contract message, the TMC contract management client transmits the hotel signing contract content reading request to the block chain management apparatus, for requesting to read the content signed by the store side, including the general contract content C, the time stamp T1, and the hotel headquarters signature S3
S1218, the blockchain management apparatus transmits the overall contract content C, the time stamp T1, and the hotel headquarters signature S3 to the TMC contract management client.
When receiving the request for reading hotel subscription content, the block chain management device reads the overall contract content C, the timestamp T1 and the hotel headquarters signature S3 from the local block chain, and transmits the read overall contract content C, the timestamp T1 and the hotel headquarters signature S3 to the TMC contract management client.
Specifically, after receiving the overall contract content C, the timestamp T1 and the hotel headquarters signature S3, the TMC contract management client generates the hash1 according to the overall contract content C and the timestamp T1; then, decrypting the hotel headquarters signature S3 by using the public key of the hotel to obtain a first hash; when the first hash is consistent with the hash1, the TMC contract management client determines that the hotel signing contract has not been tampered with and that the hotel party has signed up.
The TMC contract management client generates a hash2 according to the overall contract content C and a timestamp T2, encrypts the hash2 according to a private key of TMC to obtain a TMC signature S4, and constructs a fourth contract transaction according to the overall contract content C, the timestamp T2 and the TMC signature S7, wherein the timestamp T2 is located after the timestamp T1.
S1219, the TMC contract management client sends a third overall contract signing transaction request to the blockchain management apparatus.
Specifically, the TMC contract management client transmits the third total contract signing transaction request to the block chain management apparatus. Wherein the third overall contract signing transaction request comprises the fourth contract transaction described above.
S1220, the blockchain management device performs block persistence.
It should be noted that, the specific process of this step refers to the above-mentioned description related to step S703 of the embodiment shown in fig. 7, and is not described here.
After the TMC blockchain processing node and the hotel blockchain processing node complete the block persistence, the fourth contract transaction is stored in the local blockchains of the TMC blockchain processing node and the hotel blockchain processing node.
S1221, the blockchain management device sends the third total contract signing transaction response to the TMC contract management client.
Specifically, the block chain management apparatus sends the second total contract signing transaction response to the TMC contract management client, to respond to the second total contract signing transaction request.
S1222, the blockchain management device parses the overall contract content C to obtain the contract parameters of C.
Specifically, the block chain management device first parses the contract transaction to obtain the overall contract content C, and then continues to parse the overall contract content C according to the intelligent contract to obtain the contract parameters of C.
The contract parameters of C include, but are not limited to, information such as default terms.
S1223, the blockchain management apparatus transmits the contract parameter of C to the TMC-related external system and the hotel-related external system.
Wherein the block chain management apparatus transmits the contract parameter of C to the TMC-related external system and the hotel-related external system. The other related systems of the TMC can be hotel resource issuing systems, hotel settlement systems or other systems; the hotel other related system may be a PMS or other system.
And S1224, the terminal equipment of the person in charge of the hotel headquarters sends a third notification signing contract message to the terminal equipment of the person in charge of the store A.
Wherein, the third notification contract message is used for notifying the store A to sign the contract.
And S1225, the terminal equipment of the person in charge of the store A sends a request for reading the contract content of the store A to the hotel contract management client.
And S1226, the hotel contract management client sends the contract content CA of the store A to the terminal equipment of the person in charge of the store A.
And S1227, the terminal equipment of the person in charge of the store A sends a signing confirmation instruction to the hotel contract management client.
Specifically, after the store a responsible person checks the contract content CA of the store a through the terminal device of the responsible person, the responsible person regards the contract content CA of the store as reasonable, and then sends a signing confirmation instruction to the hotel contract management client through the terminal device of the hotel service responsible person.
Specifically, after receiving the signing confirmation instruction sent by the hotel leader terminal device, the hotel contract management client generates a hashA1 according to the store a contract content CA and the timestamp TA1, and encrypts the hashA1 according to the private key of the hotel to obtain a store a signature SA 1. The hotel contract management client constructs a fifth contract transaction according to the store contract content CA, the timestamp TA1 and the store A signature SA1, wherein the timestamp TA1 is after the timestamp T2.
And S1228, the hotel contract management client sends a second store A contract signing transaction request to the blockchain management device.
Specifically, the hotel contract management client transmits a second store a contract signing transaction request to the block chain management apparatus. Wherein the second store a contract-signing transaction request comprises the fifth contract transaction.
S1229, the blockchain management device performs block persistence.
It should be noted that, the specific process of this step refers to the above-mentioned description related to step S703 of the embodiment shown in fig. 7, and is not described here.
After the TMC blockchain processing node and the hotel blockchain processing node complete the block persistence, the fifth co-affairs are stored in the local blockchains of the TMC blockchain processing node and the hotel blockchain processing node.
S1230, the blockchain management apparatus sends a second store a contract signing transaction response to the hotel contract management client.
Specifically, the block chain management apparatus sends the second store a contract signing transaction response to the hotel contract management client, where the second store a contract signing transaction response is used to respond to the second store a contract signing transaction request.
S1231, the blockchain management device sends a fourth notification signing contract message to the TMC contract management client.
The fourth known signing contract message is used for informing the TMC contract management client that the store A side has signed the contract and informing the TMC side to sign the store contract content CA.
It should be noted that the step S1230 and the step S1231 are executed simultaneously, and there is no sequence.
S1232, the TMC contract management client sends a request to the blockchain management apparatus to read the contract content signed by store a.
Specifically, the TMC contract management client transmits, to the block chain management apparatus, the read store a signing contract content request for requesting reading of the content signed by the store a side, including the store a contract content CA, the time stamp TA1, and the store a signature SA 1.
S1233, the blockchain management apparatus transmits the store contract content CA, the time stamp TA1, and the store a signature SA1 to the TMC contract management client.
Specifically, upon receiving the request to read store a signed contract content, the block chain management apparatus reads the store a contract content CA, the timestamp TA1, and the store a signature SA1 from its local block chain, and transmits the store a contract content CA, the timestamp TA1, and the store a signature SA1 to the hotel contract management client. After receiving the store a contract content CA, the timestamp TA1 and the store a signature SA1, the TMC contract management client generates the hashA1 according to the store a contract content CA and the timestamp TA 1; then, the public key of the hotel is used for decrypting the shop A signature SA1 to obtain a second hash; when the second hash agrees with the hash a1, the TMC contract management client determines that the store a signed contract has not been tampered with and that the store a party has signed up.
The TMC contract management client generates hashA2 according to store A contract content CA and a timestamp TA2, encrypts the hashA2 according to a private key of TMC to obtain a TMC signature SA2, and constructs a sixth contract transaction according to the store A contract content CA, the timestamp TA2 and the TMC signature SA2, wherein the timestamp TA2 is after the timestamp TA 1.
S1234, the TMC contract management client sends a third store a contract signing transaction request to the blockchain management apparatus.
Specifically, the TMC contract management client transmits a third store a contract signing transaction request to the block chain management apparatus. Wherein the contract-signing transaction request of the third store A comprises the sixth contract transaction
S1235, the blockchain management device performs block persistence.
It should be noted that, the specific process of this step refers to the above-mentioned description related to step S703 of the embodiment shown in fig. 7, and is not described here.
After the TMC blockchain processing node and the hotel blockchain processing node complete the block persistence, the sixth co-affairs are stored in the local blockchains of the TMC blockchain processing node and the hotel blockchain processing node.
S1236, the blockchain management device sends a third store a contract signing transaction response to the TMC contract management client.
Specifically, the block chain management apparatus sends the third store a contract signing transaction response to the TMC contract management client, in response to the third store a contract signing transaction request.
And S1237, the TMC contract management client sends a contract signing success message to the TMC principal terminal equipment.
And S1238, the block chain management device analyzes the contract content CA of the store A to obtain the contract parameters of the CA.
Specifically, the block chain management device first parses the contract transaction to obtain the overall contract content C, and then continues to parse the overall contract content C according to the intelligent contract to obtain the contract parameters of C.
The contract parameters include, but are not limited to, house price, house type, quantity, service item and price, discount, and other information.
S1239, the blockchain management device sends the contract parameters of the CA to the TMC-related external system and the hotel-related external system.
Wherein the block chain management apparatus transmits the contract parameters of the CA to the TMC-related external system and the hotel-related external system. The other related systems of the TMC can be hotel resource issuing systems, hotel settlement systems or other systems; the hotel other related system may be a PMS or other system.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a contract management client according to an embodiment of the present invention. The contract management client is applied to a contract data processing system which comprises a first party contract management client, a second party contract management client and a block chain management device. As shown in fig. 13, the contract management client 1300 includes:
a sending unit 1301, configured to send a request for reading second party signing information to the blockchain management apparatus after receiving a first notification signing contract message sent by the blockchain management apparatus, where the first notification signing contract message is used to notify the first party contract management client to sign a contract.
A receiving unit 1302, configured to receive the second party signing information sent by the blockchain management device.
The processing unit 1303 is configured to generate a hash1 according to the contract content and the first timestamp T1 after the second party signs the information and confirms that the information is correct; encrypting the hash1 according to a private key of a first party to obtain a first party signature S1; a first contract transaction is constructed from the contract content, the first timestamp T1, and the first party signature S1.
In a possible embodiment, the second party signing information includes the contract content, a second timestamp T2 and a second party signature, and the contract management client 1300 further includes:
the processing unit 1303 is further configured to generate a hash2 according to the contract content and the second timestamp T2 after receiving second party signing information sent by the blockchain management apparatus, where the second timestamp T2 is before the first timestamp T1; decrypting the second party signature according to the public key of the second party to obtain a first hash;
a confirmation unit 1304 that the second party signed message is correct when the first hash matches the hash 2.
The sending unit 1301 is further configured to send a first contract signing transaction request to the blockchain management apparatus, where the first contract signing transaction request is used to request the blockchain to store the first contract transaction; the first contract transaction signing request includes the first contract transaction.
The receiving unit 1302 is further configured to receive a first contract signing transaction response sent by the blockchain management device, and is configured to respond to the first contract signing transaction request.
In a possible embodiment, the contract management apparatus 1300 further includes:
the receiving unit 1302 is further configured to receive the contract parameters/the contract contents sent by the first party responsible person terminal device before sending the request for reading the second party signed information to the blockchain management apparatus; the contract content comprises a contract template and the parameters;
a generating unit 1305, configured to, when receiving the contract parameter, generate the contract content according to the contract parameter and the contract template;
the processing unit 1303 is further configured to generate a digest hash according to the contract content; encrypting the digest hash according to a private key of a first party to obtain a signature S; and constructing a second contract transaction according to the contract content, the digest hash and the signature S.
In a possible embodiment, the sending unit 1301 is further configured to send a second contract signing transaction request to the blockchain management apparatus, where the second contract signing transaction request is used to request the blockchain to store the second contract transaction; the second contract transaction signing request comprises the second contract transaction;
the receiving unit 1302 is further configured to receive a second contract signing transaction response sent by the blockchain management device, and is configured to respond to the second contract signing transaction request.
In a possible embodiment, before generating the digest hash according to the contract content, the contract management client 1300 further includes:
an encrypting unit 1306, configured to encrypt the contract content according to a symmetric encryption algorithm before generating a digest hash according to the contract content.
In a possible embodiment, the sending unit 1301 is further configured to:
and after receiving a first contract signing transaction response sent by the block chain management device, sending a signing success message to the first party responsible person terminal equipment.
The units (the transmitting unit 1301, the receiving unit 1302, the processing unit 1303, the confirming unit 1304, the generating unit 1305 and the encrypting unit 1306) are used for executing the steps related to the method.
In the present embodiment, the contract management client 1300 is presented in the form of a unit. An "element" may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. Further, the above transmitting unit 1301, receiving unit 1302, processing unit 1303, confirmation unit 1304, generation unit 1305, and encryption unit 1306 can be realized by the processor 1601 of the contract management client illustrated in fig. 16.
Referring to fig. 14, fig. 14 is a schematic structural diagram of another contract management client according to the embodiment of the present invention. The contract management client is applied to a contract data processing system which comprises a first party contract management client, a second party contract management client and a block chain management device. As shown in fig. 14, the contract management client 1400 includes:
a transmission unit 1401 configured to transmit a read contract content request to the blockchain management apparatus when receiving a first notification signing contract message transmitted by the blockchain management apparatus, the first notification signing contract message being used to notify the second party contract management client of notification signing contract.
A receiving unit 1402, configured to receive contract information sent by the blockchain management apparatus, where the contract information includes contract content.
The sending unit 1401 is further configured to send the contract content to the second party responsible person terminal device after determining that the contract information is correct.
A processing unit 1403, configured to generate a hash2 according to the contract content and the second timestamp T2 after receiving the signing confirmation instruction; encrypting the hash2 according to a second party' S private key to generate a second party signature S2; a third contract transaction is constructed from the contract content, the second timestamp T2, and the second party signature S2.
In a possible embodiment, the sending unit 1401 is further configured to send a third contract signing transaction request to the blockchain management apparatus, where the third contract signing transaction request is used to request the blockchain to store the third contract transaction; the first contract transaction signing request comprises the third contract transaction;
the receiving unit 1402 is further configured to receive a third contract signing transaction response sent by the blockchain management device, and is configured to respond to the third contract signing transaction request.
In a possible embodiment, the contract information further includes a digest hash and a signature S of the contract content, and the contract management client 1400 further includes:
a decryption unit 1404, configured to decrypt the signature S according to a public key of the first party after receiving the contract information sent by the blockchain management apparatus, so as to obtain a second hash;
a confirming unit 1405, configured to confirm that the content information is error-free when the second hash is consistent with the digest hash.
It should be noted that the above units (sending unit 1401, receiving unit 1402, processing unit 1403, decrypting unit 1404 and confirming unit 1405) are used to execute the relevant steps of the above method.
In the present embodiment, the contract management client 1400 is presented in the form of a unit. An "element" may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. Further, the above transmission unit 1401, reception unit 1402, processing unit 1403, decryption unit 1404, and confirmation unit 1405 can be realized by the processor 1601 of the contract management client shown in fig. 16.
Referring to fig. 15, fig. 15 is a schematic structural diagram of a block chain management device according to an embodiment of the present invention. The block chain management device is applied to a contract data processing system, and the contract data processing system further comprises a first party contract management client and a second party contract management client. As shown in fig. 15, the blockchain management apparatus 1500 includes:
a receiving unit 1501, configured to receive a contract signing transaction request sent by a contract management client, where the contract management client includes the first-party contract management client and the second-party contract management client, and the contract signing transaction request includes a contract signing transaction request sent by the first-party contract management client and a contract signing transaction request sent by the second-party contract management client.
A persistence unit 1502 for block-persisting a contract transaction in the contract signing transaction request, the contract transaction comprising contract content.
A sending unit 1503, configured to send a contract signing transaction response to the contract management client.
In a possible embodiment, the sending unit 1503 is specifically configured to:
sending a contract transaction signing response to a contract management client A and sending a notification contract signing message to the contract management client B; the contract transaction signing response is used for responding to a contract signing transaction request sent by the contract management client, and the contract signing notification message is used for notifying the contract management client B to sign a contract;
the contract management client a is the first party contract management client or the second party contract management client, the contract management client B is the first party contract management client or the second party contract management client, and the contract management client a and the contract management client are not the same contract management client.
In a possible embodiment, the block chain management apparatus 1500 further includes:
an analyzing unit 1504, configured to analyze the contract content through an intelligent contract to obtain contract parameters of the contract content;
the sending unit 1503 is further configured to send the contract parameters of the contract content to the first-party related external system and the second-party related external system.
In a possible embodiment, the persistence unit 1502 is specifically configured to:
checking contract affairs in the contract signing affair request;
after the checking is passed, packing the contract affairs into blocks;
the block is stored.
In a possible embodiment, the block chain management apparatus 1500 further includes:
the receiving unit 1501 is configured to receive a request for reading second party signed information sent by the first party contract management client;
an acquiring unit 1505 for acquiring the signed information of the second party;
the sending unit 1503 is configured to send the second party signing information to the first party contract management client.
In a possible embodiment, the block chain management apparatus 1500 further includes:
the receiving unit 1501 is configured to receive a contract content reading request sent by the second-party contract management client;
the acquiring unit 1505 is further used for acquiring contract information;
the sending unit 1503 is configured to send the contract information to the second party contract management client.
It should be noted that the above units (the receiving unit 1501, the persistence unit 1502, the sending unit 1503, the parsing unit 1504 and the obtaining unit 1505) are used for executing the relevant steps of the above method.
In the present embodiment, the blockchain management device 1500 is presented in the form of a unit. An "element" may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. Further, the above receiving unit 1501, persisting unit 1502, transmitting unit 1503, parsing unit 1504 and acquiring unit 1505 may be realized by the processor 1701 of the block chain management apparatus shown in fig. 17.
As shown in fig. 16, the contract management client 1600 can be implemented in the structure of fig. 16, the contract management client 1600 comprising at least one processor 1601, at least one memory 1602 and at least one communication interface 1603. The processor 1601, the 1602 and the communication interface 1603 are connected via the communication bus and communicate with each other.
The processor 1601 may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution according to the above scheme.
Communication interface 1603 is for communicating with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.
The Memory 1602 may be, but is not limited to, a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically erasable programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. May be separate and connected to the processor by a bus. Or may be integrated with the processor.
The memory 1602 is used for storing application program codes for executing the above schemes, and is controlled by the processor 1601 for execution. The processor 1601 is used to execute application code stored in the memory 1602.
The code stored in the memory 1602 may execute the above-mentioned contract data processing method executed by the contract management client provided above, such as sending a request for reading second party signing information to the blockchain management apparatus after receiving a first notification signing contract message sent by the blockchain management apparatus, the first notification signing contract message being used for notifying the first party contract management client to sign a contract; receiving signing information of a second party sent by the block chain management device; when the second party signs the information and confirms that the information is correct, generating a hash1 according to the contract content and the first timestamp T1; encrypting the hash1 according to a private key of a first party to obtain a first party signature S1; constructing a first contract transaction from the contract content, a first timestamp T1, and a first party signature S1; sending a first contract signing transaction request to the blockchain management device, the first contract signing transaction request requesting that the blockchain store the first contract transaction; the first contract transaction signing request comprises the first contract transaction; receiving a first contract signing transaction response sent by the block chain management device, wherein the first contract signing transaction response is used for responding to the first contract signing transaction request, or;
when a first notification signing contract message sent by a block chain management device is received, sending a contract content reading request to the block chain management device, wherein the first notification signing contract message is used for notifying the second party contract management client to notify signing contract; receiving contract information sent by the block chain management device, wherein the contract information comprises contract content; when the contract information is determined to be correct, sending the contract content to the second party responsible person terminal equipment; after receiving a signing confirmation instruction, generating a hash2 according to the contract content and a second time stamp T2; encrypting the hash2 according to a second party' S private key to obtain a second party signature S2; constructing a third contract transaction from the contract content, a second timestamp T2, and a second party signature S2; sending a third contract signing transaction request to the blockchain management device, the third contract signing transaction request requesting the blockchain management device to store the third contract transaction; the third contract transaction signing request comprises the third contract transaction; and receiving a third contract signing transaction response sent by the block chain management device, wherein the third contract signing transaction response is used for responding to the third contract signing transaction request.
As shown in fig. 17, the blockchain management apparatus 1700 may be implemented in the structure of fig. 17, and the blockchain management apparatus 1700 includes at least one processor 1701, at least one memory 1702 and at least one communication interface 1703. The processor 1701, the memory 1702 and the communication interface 1703 are connected via the communication bus and communicate with each other.
The processor 1701 may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the above schemes.
Communication interface 1703 may be used to communicate with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
The Memory 1702 may be, but is not limited to, a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically erasable programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. May be separate and connected to the processor by a bus. Or may be integrated with the processor.
The memory 1702 is used for storing application program code for performing the above schemes and is controlled in execution by the processor 1701. The processor 1701 is used to execute application code stored in the memory 1702.
The code stored in the memory 1702 can execute the above-mentioned contract data processing method executed by the blockchain management apparatus provided above, such as receiving a contract signing transaction request sent by a contract management client, the contract management client including the first party contract management client and the second party contract management client, the contract signing transaction request including a contract signing transaction request sent by the first party contract management client and a contract signing transaction request sent by the second party contract management client; block persisting contract transactions in the contract signing transaction request; sending a contract signing transaction response to the contract management client; analyzing contract contents through an intelligent contract to obtain contract parameters of the contract contents; and sending the contract parameters of the contract contents to the first party-related external system and the second party-related external system.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program includes, when executed, some or all of the steps of any one of the contract data processing methods described in the above method embodiments.
Embodiments of the present invention also provide a computer program product, which includes instructions that, when executed on a computer, include some or all of the steps of any of the contract data processing methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed storage device can be implemented in other manners. For example, the above-described embodiments of the storage device are merely illustrative, and for example, the division of the units is only one logical division, and the actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, memory devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present invention.

Claims (1)

1. A contract data processing method applied to a contract data processing system including a first-party contract management client, a second-party contract management client, and a blockchain management apparatus, characterized by comprising:
after receiving a first notification signing contract message sent by the blockchain management device, the first party contract management client sends a request for reading second party signing information to the blockchain management device, wherein the first notification signing contract message is used for notifying the first party contract management client to sign a contract;
the first party contract management client receives the second party signing information sent by the block chain management device;
after the second party signs the information and confirms that the information is correct, the first party contract management client generates a hash1 according to the contract content and the first timestamp T1; encrypting the hash1 according to a private key of a first party to obtain a first party signature S1; constructing a first contract transaction from the contract content, a first timestamp T1, and a first party signature S1;
wherein the contract transaction data structure includes: version, transaction type, contract original, timestamp, contract signature, and contract type;
wherein, after constructing a first contract transaction from the contract content, the first timestamp T1, and the first party signature S1, the method further comprises: the first party contract management client sends a first contract signing transaction request to the blockchain management device, wherein the first contract signing transaction request is used for requesting the blockchain management device to store the first contract transaction; the first contract transaction signing request comprises the first contract transaction; the first party contract management client receives a first contract signing transaction response sent by the blockchain management device and is used for responding to the first contract signing transaction request; the contract content comprises overall contract content and local contract content, wherein the overall contract content is the contract content signed by a first party and a second party, the local contract content is the contract content signed by the first party and a third party, the second party and the third party are in master-slave relationship, the second party is a master, and the third party is a slave;
wherein the second party signing information comprises the contract content, a second timestamp T2 and a second party signature, and after receiving the second party signing information sent by the blockchain management apparatus, the method further comprises:
the first party contract management client generating a hash2 from the contract content and the second timestamp T2, the second timestamp T2 preceding the first timestamp T1;
the first party contract management client decrypts the second party signature according to the public key of the second party to obtain a first hash;
when the first hash is consistent with the hash2, the first party contract management client confirms that the second party signed information is correct;
wherein, prior to sending a read second party signing information request to the blockchain management device,
the method further comprises the following steps:
the first party contract management client receives contract parameters/contract contents sent by first party responsible person terminal equipment; the contract content comprises a contract template and the contract parameters;
when the first party contract management client receives the contract parameters, generating the contract contents according to the contract parameters and the contract template;
the first party contract management client generates a digest hash according to the contract content; encrypting the digest hash according to the private key of the first party to obtain a signature S; constructing a second contract transaction according to the contract content, the abstract hash and the signature S;
the first party contract management client sends a second contract signing transaction request to the blockchain management device, wherein the second contract signing transaction request is used for requesting the blockchain to store the second contract transaction; the second contract transaction signing request comprises the second contract transaction;
the first party contract management client receives a second contract signing transaction response sent by the blockchain management device and is used for responding to the second contract signing transaction request;
wherein the method further comprises:
the second party contract management client sends a contract content reading request to the blockchain management device when receiving a first notification signing contract message sent by the blockchain management device, wherein the first notification signing contract message is used for notifying the second party contract management client to sign a contract;
the second party contract management client receives contract information sent by the block chain management device, wherein the contract information comprises contract content;
the second party contract management client sends the contract content to the second party responsible person terminal equipment after determining that the contract information is correct;
after receiving the signing confirmation instruction, the second party contract management client generates a hash2 according to the contract content and a second timestamp T2; encrypting the hash2 according to a second party' S private key to obtain a second party signature S2; constructing a third contract transaction from the contract content, a second timestamp T2, and a second party signature S2;
after the third contract transaction is constructed according to the contract content, the second timestamp T2 and the second party signature S2, the method further comprises:
the second party contract management client sends a third contract signing transaction request to the blockchain management device, wherein the third contract signing transaction request is used for requesting the blockchain management device to store the third contract transaction; the third contract transaction signing request comprises the third contract transaction; the second party contract management client receives a third contract signing transaction response sent by the block chain management device and is used for responding to the third contract signing transaction request;
the contract information further includes a digest hash and a signature S of the contract content, and after receiving the contract information sent by the block chain management apparatus, the method further includes: the second party contract management client decrypts the signature S according to the public key of the first party to obtain a second hash; when the second hash is consistent with the abstract hash, the second party contract management client confirms that the contract information is correct;
wherein the method further comprises:
the blockchain management device receives a contract signing transaction request sent by a contract management client, wherein the contract management client comprises the first party contract management client or the second party contract management client, and the contract signing transaction request comprises a contract signing transaction request sent by the first party contract management client or a contract signing transaction request sent by the second party contract management client;
the block chain management device performs block persistence on the contract transaction in the contract signing transaction request;
the block chain management device sends a contract signing transaction response to the contract management client;
wherein after block persisting the contract transaction in the contract signing transaction request, the method further comprises: the blockchain management device sends a contract signing transaction response to a contract management client A and sends a notification signing contract message to a contract management client B; the contract signing transaction response is used for responding to a contract signing transaction request sent by the contract management client, and the notification signing contract message is used for notifying the contract management client B to sign a contract;
the contract management client A is the first party contract management client or the second party contract management client, the contract management client B is the first party contract management client or the second party contract management client, and the contract management client A and the contract management client B are not the same contract management client;
wherein the block-persisting the contract transaction in the contract signing transaction request comprises: checking contract affairs in the contract signing affair request; after the checking is passed, packing the contract affairs into blocks; storing the block;
wherein after sending a contract signing transaction response to the contract management client, the method further comprises: the block chain management device analyzes contract contents through an intelligent contract to obtain contract parameters of the contract contents; the block chain management device sends contract parameters of the contract content to a first party-related external system and a second party-related external system;
before generating the digest hash according to the contract content, the method further includes: encrypting the contract content according to a symmetric encryption algorithm;
after receiving the first contract signing transaction response sent by the block chain management device, the method further comprises: sending a signing success message to the first party responsible person terminal equipment;
the block chain management device comprises a plurality of block chain processing nodes, wherein two block chain processing nodes in the plurality of block chain processing nodes respectively provide services for a first party contract management client and a second party contract management client;
the first party contract management client and the second party contract management client provide services which are contract management clients of hotels and enterprises respectively; or the first party contract management client and the second party contract management client provide services which are contract management clients of an airline company and an enterprise respectively;
the first party contract management client and the second party contract management client are hand-held equipment or vehicle-mounted equipment with a wireless connection function, or the first party contract management client and the second party contract management client are software installed on a PC (personal computer) end or terminal equipment.
CN201810407842.7A 2018-04-28 2018-04-28 Contract data processing method, contract management client and block chain management device Active CN108830545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810407842.7A CN108830545B (en) 2018-04-28 2018-04-28 Contract data processing method, contract management client and block chain management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810407842.7A CN108830545B (en) 2018-04-28 2018-04-28 Contract data processing method, contract management client and block chain management device

Publications (2)

Publication Number Publication Date
CN108830545A CN108830545A (en) 2018-11-16
CN108830545B true CN108830545B (en) 2020-08-25

Family

ID=64147263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810407842.7A Active CN108830545B (en) 2018-04-28 2018-04-28 Contract data processing method, contract management client and block chain management device

Country Status (1)

Country Link
CN (1) CN108830545B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639651A (en) * 2018-11-22 2019-04-16 安云印(天津)大数据科技有限公司 Contract based on living body authentication and block chain technology signs authentication method and its system online
CN110048995B (en) * 2018-12-05 2021-02-09 创新先进技术有限公司 Method and device for confirming content of multimedia protocol and electronic equipment
CN109377198B (en) * 2018-12-24 2022-03-11 上海金融期货信息技术有限公司 Signing system based on multi-party consensus of alliance chain
CN109784875A (en) * 2019-02-28 2019-05-21 深圳市元征科技股份有限公司 A kind of cargo transaction method, apparatus and terminal device based on block chain
CN109960919B (en) * 2019-03-25 2023-02-28 深圳市元征科技股份有限公司 Contract signing method and block link point equipment
US11070379B2 (en) 2019-04-18 2021-07-20 Advanced New Technologies Co., Ltd. Signature verification for a blockchain ledger
CN110163006B (en) * 2019-04-18 2020-07-07 阿里巴巴集团控股有限公司 Signature verification method, system, device and equipment in block chain type account book
CN110532806A (en) * 2019-07-26 2019-12-03 深圳壹账通智能科技有限公司 Bidding documents management method, system and computer readable storage medium
CN110941860B (en) * 2019-12-10 2022-01-04 博雅正链(北京)科技有限公司 Block chain and biological feature based electronic contract associable analysis verification method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301782A (en) * 2016-07-26 2017-01-04 杭州文签网络技术有限公司 A kind of signature method and system of electronic contract
CN106504008A (en) * 2016-10-24 2017-03-15 中山大学 A kind of fair contract signature method based on block chain
CN106960165A (en) * 2017-03-13 2017-07-18 广东网金控股股份有限公司 It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107679045A (en) * 2016-08-01 2018-02-09 华为技术有限公司 Copyright authorization management method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11941588B2 (en) * 2015-11-06 2024-03-26 Cable Television Laboratories, Inc. Systems and methods for blockchain virtualization and scalability

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301782A (en) * 2016-07-26 2017-01-04 杭州文签网络技术有限公司 A kind of signature method and system of electronic contract
CN107679045A (en) * 2016-08-01 2018-02-09 华为技术有限公司 Copyright authorization management method and system
CN106504008A (en) * 2016-10-24 2017-03-15 中山大学 A kind of fair contract signature method based on block chain
CN106960165A (en) * 2017-03-13 2017-07-18 广东网金控股股份有限公司 It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method

Also Published As

Publication number Publication date
CN108830545A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108830545B (en) Contract data processing method, contract management client and block chain management device
US10677607B2 (en) Blockchain-based crowdsourcing of map applications
CN102934079B (en) By the method that the characteristic set of lessee and user is distinguished
CN110493007A (en) A kind of Information Authentication method, apparatus, equipment and storage medium based on block chain
US11151582B2 (en) Smart logistics management using blockchain
CN113228011A (en) Data sharing
CN109669986A (en) Blacklist sharing method, device, equipment and storage medium based on block chain
CN109255210A (en) The method, apparatus and storage medium of intelligent contract are provided in block chain network
WO2018196523A1 (en) Electronic signing method and apparatus
KR20150131753A (en) Method for providing a service unlocking a door
CN114500093A (en) Safe interaction method and system for message information
CN113609781A (en) Automobile production mold optimization method, system, equipment and medium based on federal learning
CN110766548A (en) Block chain based information processing method and device, storage medium and electronic equipment
CN109146482B (en) Block chain-based user rights and interests providing method and device
CN114172655A (en) Secure multi-party computing data system, method, equipment and data processing terminal
CN113129008A (en) Data processing method and device, computer readable medium and electronic equipment
CN115086037B (en) Data processing method and device, storage medium and electronic equipment
CN109818965B (en) Personal identity verification device and method
CN111311179A (en) Object processing method and device, electronic equipment and computer readable storage medium
KR102500419B1 (en) Method for managing data, computing device for executing the method
CN114357472B (en) Data tagging method, system, electronic device and readable storage medium
Subash et al. IoT-based secure luggage storage kiosk
KR101986690B1 (en) Key chain management method and key chain management system for end-to-end encryption of message
Kulkarni et al. Interactive QR code based online shopping system
KR102292119B1 (en) Software development system

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
TR01 Transfer of patent right

Effective date of registration: 20201222

Address after: Room n14-2-9r, 101 software Avenue, Yuhuatai District, Nanjing, Jiangsu 210000

Patentee after: Nanjing Yibo Software Technology Co.,Ltd.

Address before: 518000 Huawei Electric Research Center, Bantian Huawei base, Longgang District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN SMARTCOM BUSINESS Co.,Ltd.

TR01 Transfer of patent right