CN111338849B - Industrial demand contract execution method based on block chain - Google Patents

Industrial demand contract execution method based on block chain Download PDF

Info

Publication number
CN111338849B
CN111338849B CN202010114062.0A CN202010114062A CN111338849B CN 111338849 B CN111338849 B CN 111338849B CN 202010114062 A CN202010114062 A CN 202010114062A CN 111338849 B CN111338849 B CN 111338849B
Authority
CN
China
Prior art keywords
contract
blockchain
node
terminal
demand
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
CN202010114062.0A
Other languages
Chinese (zh)
Other versions
CN111338849A (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.)
Yangzhou Zhihui Interconnection Information Technology Co ltd
Original Assignee
Yangzhou Zhihui Interconnection Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yangzhou Zhihui Interconnection Information Technology Co ltd filed Critical Yangzhou Zhihui Interconnection Information Technology Co ltd
Priority to CN202010114062.0A priority Critical patent/CN111338849B/en
Publication of CN111338849A publication Critical patent/CN111338849A/en
Application granted granted Critical
Publication of CN111338849B publication Critical patent/CN111338849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method for executing industrial demand contracts based on block chains, which is executed at a terminal and comprises the following steps: the terminal acquires an industrial demand contract; the terminal acquires the parties signing the industrial demand contract and the demand keywords; the terminal determines block chains corresponding to parties of each party; the terminal controls the node corresponding to the block chain, and establishes a block corresponding to the industrial demand contract in the block chain according to the demand keyword; and the terminal controls the node corresponding to the block chain in the process that the industrial demand contract is executed, and records the execution information in the block. According to the scheme, parties and demand keywords of each party are signed according to industrial demand contracts; and establishing blocks corresponding to the industrial demand contracts in block chains corresponding to the parties, and recording the execution information of the industrial demand contracts in the established blocks, so that the non-falsification of the industrial demand contracts during execution is ensured through the block chains.

Description

Industrial demand contract execution method based on block chain
Technical Field
The invention relates to the field of blockchains, in particular to an industrial demand contract execution method based on blockchains.
Background
A contract (or contract) is a legal action that parties who contract are legal based on meaning expression agreement, and is a main expression of privacy autonomy.
With the complexity of industrial systems, the connection between industrial systems is more compact, and the industrial demand chain is complex. A system failure may result in paralysis of one or more other systems associated therewith, resulting in significant losses.
Therefore, how to ensure that the execution information of the industrial demand contract of the industrial system is not tamperable is a technical problem to be solved.
Disclosure of Invention
First, the technical problem to be solved
In order to solve the above problems in the prior art, the present invention provides a method for executing industrial demand contracts based on blockchain.
(II) technical scheme
In order to achieve the above purpose, the main technical scheme adopted by the invention comprises the following steps:
a blockchain-based industrial demand contract execution method, the method being executed at a terminal, the method comprising:
s101, the terminal acquires an industrial demand contract;
s102, the terminal acquires parties signing the industrial demand contract and demand keywords;
s103, the terminal determines block chains corresponding to all parties;
s104, the terminal controls the node corresponding to the block chain, and a block corresponding to the industrial demand contract is built in the block chain according to the demand keyword;
and S105, the terminal controls the node corresponding to the block chain in the process that the industrial demand contract is executed, and the execution information is recorded in the block.
Optionally, the terminal is connected with the node cloud in a wired or wireless way; the terminal is connected with the block chain system of the principal in a wired or wireless way;
the node cloud corresponds to a principal blockchain system in which the blockchain corresponding to each principal is located;
the system comprises a plurality of blockchains, wherein nodes in the node cloud are in one-to-one correspondence with the blockchains in the system, and each node in the node cloud controls the blockchains in the corresponding system;
each block chain corresponds to a principal of an industrial demand contract, and a node corresponding to each block chain records a principal information table;
each time a blockchain is newly built in the blockchain system of the principal, the terminal newly builds a node corresponding to the newly built blockchain in a node cloud, the node takes a social credit code of the principal corresponding to the newly built blockchain as an identification, a principal information table is newly built in the node, principal information corresponding to the newly built blockchain is added in the principal information table recorded in the newly built principal information table and the principal information tables recorded in the nodes corresponding to other blockchains in the principal blockchain system, and the principal information comprises: name, business scope, social credit code;
any block included in any blockchain corresponds to an industrial demand contract;
any block records the demand keywords and execution information of the corresponding industrial demand contract.
Optionally, the step S102 specifically includes:
the demand keywords include: demand content, acceptance criteria, contract terms, contract amounts.
Optionally, the step S103 specifically includes:
for any of the parties,
s103-1, the terminal determines the type of the industrial demand contract according to the demand content;
s103-2, the terminal selects a preset number of blockchains in the principal blockchain system;
s103-3, the terminal determines the type coefficient of each selected blockchain;
s103-4, the terminal determines the median of the type coefficients of the selected block chains as the type coefficient of the industrial demand contract;
s103-5, the terminal determines that the verification number=the upper integer of the product of the total number of blockchains in the blockchain system and the type coefficient;
s103-6, the terminal selects nodes in the node cloud according to the verification quantity;
s103-7, the terminal controls the selected node to determine the social credit code corresponding to any party information according to the recorded party information table, and determines whether the demand content of the industrial demand contract is matched with the operation range corresponding to any party information;
s103-8, if the social credit codes determined by all the selected nodes are the same, and all the selected nodes determine that the demand content of the industrial demand contract is matched with the operation range corresponding to the information of any party, the terminal determines the blockchain corresponding to the node with the social credit code determined by all the nodes as the identifier as the blockchain corresponding to any party.
Optionally, after S103-7, the method further includes:
s103-9, if all the selected nodes determine that the social credit codes are the same, but at least one selected node determines that the required content of the industrial requirement contract is not matched with the operation range corresponding to the information of any party, the terminal establishes a blockchain corresponding to any party in the blockchain system of the party, establishes a node corresponding to the newly established blockchain in the node cloud, determines the identification of the node as the social credit code determined by all the nodes, and determines the blockchain as the blockchain corresponding to any party.
Optionally, after S103-7, the method further includes:
s103-10, if the social credit codes determined by all the selected nodes are not the same, the terminal establishes a blockchain corresponding to any one of the parties in the blockchain system of the party, establishes a node corresponding to the newly established blockchain in the node cloud, determines the identification of the node as the social credit code determined according to the business license of any one of the parties, and determines the blockchain as the blockchain corresponding to any one of the parties.
Optionally, the type of the industrial demand contract is a trade contract, or a power supply, water, gas, heat contract, or a gift contract, or a borrowing contract, or a lease contract, or a financing lease contract, or a solicitation contract, or a construction engineering contract, or a transportation contract, or a technical contract, or a custody contract, or a storage contract, or a consignment contract, or a line contract, or an intervening contract, or other contract.
Optionally, the step S103-3 specifically includes:
for any selected blockchain, its type coefficient = [ (current time-last time of modification of the blockchain)/(current time-last time of modification of all blockchains of the principal blockchain system) ], [ number of blocks in the blockchain of any selected corresponding to the type of industrial demand contract/total number of blocks in the blockchain of any selected ].
Optionally, the step S104 specifically includes:
s104-1, the terminal distributes a unique identifier for the industrial demand contract;
s104-2, the terminal forms a block identifier with the unique identifier of the industrial demand contract and the social credit codes of the parties according to a preset rule;
s104-3, the terminal determines the corresponding nodes of the block chains corresponding to the persons;
and S104-4, the terminal sends control information to the corresponding nodes of the blockchains corresponding to the individuals, wherein the control information comprises the block identifiers, the industrial demand contracts and the demand keywords obtained in the S104-2, so that the corresponding nodes of the blockchains corresponding to the individuals control the blockchains corresponding to the individuals to newly establish a block corresponding to the industrial demand contracts at the tail of the chain, the newly established block takes the block identifiers obtained in the S104-2 as unique identifiers, and the corresponding industrial demand contracts and the demand keywords are recorded in the newly established block.
Optionally, the step S105 specifically includes:
and in the process that the industrial demand contract is executed, the terminal determines the social credit code of each party as a uniquely identified node whenever acquiring the execution information of the industrial demand contract, and sends the execution information to the corresponding node so that the corresponding node controls the corresponding blockchain to record the execution information in the block comprising the social credit code.
(III) beneficial effects
The beneficial effects of the invention are as follows: according to the scheme, parties and demand keywords of each party are signed according to industrial demand contracts; and establishing blocks corresponding to the industrial demand contracts in block chains corresponding to the parties, and recording the execution information of the industrial demand contracts in the established blocks, so that the non-falsification of the industrial demand contracts during execution is ensured through the block chains.
Drawings
FIG. 1 is a flow chart of a method for executing industrial demand contracts based on blockchain according to an embodiment of the present application.
Detailed Description
The invention will be better explained by the following detailed description of the embodiments with reference to the drawings.
With the complexity of industrial systems, the connection between industrial systems is more compact, and the industrial demand chain is complex. A system failure may result in paralysis of one or more other systems associated therewith, resulting in significant losses.
Accordingly, the present invention provides a blockchain-based industrial demand contract execution method, which can ensure that execution information of an industrial demand contract of an industrial system is not tamperable.
The method provided by the invention is realized through the terminal, the terminal is connected with a node cloud through a wire or a wireless, and meanwhile, the terminal is connected with a block chain system of a principal in a wire or a wireless way.
The node cloud corresponds to a principal blockchain system in which blockchains corresponding to the parties are located. Specifically, the principal blockchain system comprises a plurality of blockchains, the nodes in the node cloud are in one-to-one correspondence with the blockchains in the principal blockchain system, and each node in the node cloud controls the blockchains in the corresponding principal blockchain system. The number of the blockchains included in the principal blockchain system is the same as the number of the nodes in the node clouds, the nodes in each node cloud uniquely correspond to one blockchain in each principal blockchain system, and the nodes in each node cloud control the corresponding blockchain to perform new block creation, information recording and other processing.
Each blockchain corresponds to a principal of an industrial demand contract, and a node corresponding to each blockchain records a principal information table.
Each time a blockchain is newly built in a blockchain system of a principal, a terminal newly builds a node corresponding to the newly built blockchain in a node cloud, the node uses a social credit code of the principal corresponding to the newly built blockchain as an identification, a principal information table is newly built in the node, principal information corresponding to the newly built blockchain is added in the principal information table and principal information tables recorded in the principal information tables corresponding to other blockchains in the principal blockchain system, and the principal information comprises: name, business scope, social credit code.
Any block included in any blockchain corresponds to an industry demand contract.
Any block records the demand keywords and execution information of the corresponding industrial demand contract.
As shown in fig. 1, the implementation flow of the industrial demand contract execution method based on the blockchain according to the embodiment is as follows:
s101, the terminal acquires an industrial demand contract.
An industrial demand contract is a contract that is signed by a principal.
S102, the terminal acquires the parties signing the industrial demand contract and the demand keywords.
Wherein, the demand keywords include: demand content, acceptance criteria, contract terms, contract amounts.
In addition, the number of the parties is determined according to the contract signing party, if the two parties sign a contract, the number of the parties is 2, and the two parties signed the industrial demand and the demand keywords are obtained in S102. If the number of the three parties is 3, the three parties and the requirement keywords of the signing of the industrial requirement are obtained in S102.
S103, the terminal determines the blockchain corresponding to each party.
Based on the description of the blockchains, each principal corresponds to one blockchain, and the blockchain corresponding to each principal is obtained in S103.
For any of the parties, the step of determining its corresponding blockchain is as follows:
s103-1, the terminal determines the type of the industrial demand contract according to the demand content.
Specifically, the type of industrial demand contract is a trade contract, or a supply, water, gas, heat contract, or a gift contract, or a borrowing contract, or a lease contract, or a financing lease contract, or a contractual agreement, or a construction engineering contract, or a transportation contract, or a technical contract, or a custody contract, or a storage contract, or a consignment contract, or a discipline contract, or an intervening contract, or other contract.
S103-2, the terminal selects a preset number of blockchains in the principal blockchain system.
The preset number is determined according to an empirical value, for example, the preset number is 2, and the method for determining the preset number is not limited in this embodiment.
In addition, the preset number may also be determined by: 1) Calculating a quotient of the contract amount of the industrial demand contract and the contract period of the industrial demand contract, 2) determining a highest digit value of the quotient as a preset number.
S103-3, the terminal determines the type coefficient of each blockchain selected in S103-2.
For any selected blockchain, its type coefficient = [ (current time-last time of modification of any blockchain)/(current time-last time of modification in all blockchains of the principal blockchain system) ] [ number of blocks in any selected blockchain corresponding to type of industry demand contract/total number of blocks in any selected blockchain ].
The type coefficient may more accurately describe the matching degree of the blockchain to the corresponding principal with the principal corresponding to the industrial demand contract obtained in S101. The type coefficient of each blockchain in this step is related to the last modification time of the blockchain and the number of blocks included corresponding to the type of industrial demand contract. The more recent the last modification time and the current time, the more active the blockchain, the more blocks corresponding to the type of industrial demand contract are included, and the more similar the principal corresponding to the blockchain is to the principal corresponding to the industrial demand contract obtained in S101.
S103-4, the terminal determines the median of the type coefficients of the selected block chains as the type coefficient of the industrial demand contract.
The calculation process of the median is as follows: the type coefficients of each blockchain selected in S103-2 are arranged in order of magnitude. If the number of type coefficients of each blockchain selected in S103-2 is an odd number, then the middle type coefficient is the median of the type coefficients of each blockchain selected in S103-2; if the number of type coefficients of each blockchain selected in S103-2 is even, the arithmetic average of those 2 type coefficients in the middle is the median of the type coefficients of each blockchain selected in S103-2.
S103-5, the terminal determines the verification number = upper integer of the product of the total number of blockchains in the blockchain system and the type coefficient.
In this step, the total number of the blockchain in the blockchain system is calculated, the result of the total number of the blockchain in the blockchain system is rounded up, and the result after the rounding up is the verification number.
S103-6, the terminal selects nodes in the node cloud according to the verification quantity.
In this step, if the number of verifications is greater than or equal to the total number of nodes in the node cloud, all the nodes in the node cloud are selected. If the verification number is less than the total number of nodes in the node cloud, randomly selecting the nodes in the verification number node cloud.
The selected node is used for performing identity verification on the parties corresponding to the industrial demand contract acquired in S101.
S103-7, the terminal controls the selected node to determine the social credit code corresponding to any party information according to the recorded party information table, and determines whether the demand content of the industrial demand contract is matched with the operation range corresponding to any party information.
Because the principal information table recorded by each node records the information of all the principal in the blockchain system, in this step, the social credit codes of the principal of each party corresponding to the industrial demand contract obtained in S101 are determined based on the principal information table recorded by each node selected in S103-6, and at the same time, it is determined whether the demand content of the industrial demand contract matches with the operating range corresponding to any principal information.
S103-8, if the social credit codes determined by all the selected nodes are the same, and the selected nodes determine that the demand content of the industrial demand contract is matched with the operation range corresponding to any party information, the terminal determines the blockchain corresponding to the node identified by the social credit code determined by all the nodes as the blockchain corresponding to any party.
For any of the parties corresponding to the industrial demand contract obtained in S101, for example, the social credit codes determined by all the nodes selected in S103-6 are the same as each other, it is indicated that the identity of party a is not problematic. All nodes selected in S103-6 determine that the demand content of the industrial demand contract matches the corresponding business scope of the information of principal a, which indicates that the business scope of principal a can meet the demand of the industrial demand contract. At this time, it is explained that the identity verification of the principal a is successful and the contract requirement can be completed, and then the blockchain corresponding to the node identified by the social credit code determined by all the nodes is determined as the blockchain corresponding to the principal a.
S103-9, if the social credit codes determined by all the selected nodes are the same, but at least one selected node determines that the demand content of the industrial demand contract is not matched with the operation range corresponding to any party information, the terminal establishes a blockchain corresponding to any party in a party blockchain system, establishes a node corresponding to the newly established blockchain in a node cloud, determines the identification of the node as the social credit code determined by all the nodes, and determines the blockchain as the blockchain corresponding to any party.
For any of the parties corresponding to the industrial demand contract obtained in S101, for example, the social credit codes determined by all the nodes selected in S103-6 are the same as each other, it is indicated that the identity of party B is not problematic. At least one node selected in S103-6 determines that the demand content of the industrial demand contract does not match the corresponding business scope of any of the principal' S information, and then it is questionable whether the business scope of principal B can satisfy the demand of the industrial demand contract. At this time, it is described that principal B is successful in authentication but is able to complete the contract requirement, and if there is a question, principal B is regarded as a new principal, a blockchain corresponding to principal B is newly built in the principal blockchain system, a node corresponding to the newly built blockchain is newly built in the node cloud, the identity of the node is determined as a social credit code determined by all the nodes, and the blockchain is determined as a blockchain corresponding to principal B.
S103-10, if the social credit codes determined by all the selected nodes are not all the same, the terminal establishes a blockchain corresponding to any one of the parties in the blockchain system of the party, establishes a node corresponding to the newly established blockchain in the node cloud, determines the identification of the node as the social credit code determined according to the business license of any one of the parties, and determines the blockchain as the blockchain corresponding to any one of the parties.
For any of the parties corresponding to the industrial demand contract obtained in S101, for example, party C, the social credit codes determined by all the nodes selected in S103-6 are not identical, which indicates that there is a problem with the identity of party C. At this time, if the information of the principal C needs to be re-recorded, a blockchain corresponding to the principal C is newly built in the principal blockchain system, a node corresponding to the newly built blockchain is newly built in the node cloud, the identity of the node is determined as a social credit code determined according to the business license of the principal C, and the blockchain is determined as a blockchain corresponding to the principal C.
S104, the terminal controls the node corresponding to the block chain, and a block corresponding to the industrial demand contract is built in the block chain according to the demand keyword.
The process of building blocks is as follows:
s104-1, the terminal assigns a unique identifier to the industrial demand contract.
S104-2, the terminal forms the block identification with the unique identification of the industrial demand contract and the social credit codes of the parties according to the preset rule.
And S104-3, the terminal determines the corresponding node of the block chain corresponding to each party.
And S104-4, the terminal sends control information to the corresponding nodes of the block chains corresponding to the individuals, wherein the control information comprises the block identifiers, the industrial demand contracts and the demand keywords obtained in the step S104-2, so that the corresponding nodes of the block chains corresponding to the individuals control the corresponding block chains to newly establish a block corresponding to the industrial demand contracts at the tail of the chain, the newly established block takes the block identifiers obtained in the step S104-2 as unique identifiers, and the corresponding industrial demand contracts and the demand keywords are recorded in the newly established block.
After the block is established, the requirement keywords of the corresponding industrial requirement contract are recorded in the block.
S105, the terminal controls the node corresponding to the block chain and records the execution information in the block in the process that the industrial demand contract is executed.
In the process that the industrial demand contract is executed, the terminal determines that the social credit code of each party is a node with a unique identifier every time the terminal acquires the execution information of the industrial demand contract, and sends the execution information to the corresponding node so that the corresponding node controls the corresponding blockchain to record the execution information in the block comprising the social credit code.
In the principal blockchain system provided in this embodiment, each blockchain corresponds to a principal of an industrial demand contract, each block in the blockchain corresponds to an industrial demand contract signed by the principal to which the blockchain corresponds, and each execution information of the contract is recorded in the block. Because of the non-tamperable nature of the blockchain, neither the contract information recorded in the blockchain nor the contract execution information is tamperable.
The beneficial effects are that: according to the scheme, parties and demand keywords of each party are signed according to industrial demand contracts; and establishing blocks corresponding to the industrial demand contracts in block chains corresponding to the parties, and recording the execution information of the industrial demand contracts in the established blocks, so that the non-falsification of the industrial demand contracts during execution is ensured through the block chains.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Finally, it should be noted that: the embodiments described above are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced with equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (7)

1. A method of executing a blockchain-based industrial demand contract, the method being executed at a terminal, the method comprising:
s101, the terminal acquires an industrial demand contract;
s102, the terminal acquires parties signing the industrial demand contract and demand keywords;
s103, the terminal determines block chains corresponding to all parties;
s104, the terminal controls the node corresponding to the block chain, and a block corresponding to the industrial demand contract is built in the block chain according to the demand keyword;
s105, the terminal controls the node corresponding to the block chain in the process that the industrial demand contract is executed, and the execution information is recorded in the block;
the terminal is connected with the node cloud in a wired or wireless mode; the terminal is connected with the block chain system of the principal in a wired or wireless way;
the node cloud corresponds to a principal blockchain system in which the blockchain corresponding to each principal is located;
the system comprises a plurality of blockchains, wherein nodes in the node cloud are in one-to-one correspondence with the blockchains in the system, and each node in the node cloud controls the blockchains in the corresponding system;
each block chain corresponds to a principal of an industrial demand contract, and a node corresponding to each block chain records a principal information table;
each time a blockchain is newly built in the blockchain system of the principal, the terminal newly builds a node corresponding to the newly built blockchain in a node cloud, the node takes a social credit code of the principal corresponding to the newly built blockchain as an identification, a principal information table is newly built in the node, principal information corresponding to the newly built blockchain is added in the principal information table recorded in the newly built principal information table and the principal information tables recorded in the nodes corresponding to other blockchains in the principal blockchain system, and the principal information comprises: name, business scope, social credit code;
any block included in any blockchain corresponds to an industrial demand contract;
any block records the demand keywords and execution information of the corresponding industrial demand contract;
the step S102 specifically includes:
the demand keywords include: demand content, acceptance criteria, contract terms, contract amounts;
the step S103 specifically includes:
for any of the parties,
s103-1, the terminal determines the type of the industrial demand contract according to the demand content;
s103-2, the terminal selects a preset number of blockchains in the principal blockchain system;
s103-3, the terminal determines the type coefficient of each selected blockchain;
s103-4, the terminal determines the median of the type coefficients of the selected block chains as the type coefficient of the industrial demand contract;
s103-5, the terminal determines that the verification number=the upper integer of the product of the total number of blockchains in the blockchain system and the type coefficient;
s103-6, the terminal selects nodes in the node cloud according to the verification quantity;
s103-7, the terminal controls the selected node to determine the social credit code corresponding to any party information according to the recorded party information table, and determines whether the demand content of the industrial demand contract is matched with the operation range corresponding to any party information;
s103-8, if the social credit codes determined by all the selected nodes are the same, and all the selected nodes determine that the demand content of the industrial demand contract is matched with the operation range corresponding to the information of any party, the terminal determines the blockchain corresponding to the node with the social credit code determined by all the nodes as the identifier as the blockchain corresponding to any party.
2. The method according to claim 1, further comprising, after S103-7:
s103-9, if all the selected nodes determine that the social credit codes are the same, but at least one selected node determines that the required content of the industrial requirement contract is not matched with the operation range corresponding to the information of any party, the terminal establishes a blockchain corresponding to any party in the blockchain system of the party, establishes a node corresponding to the newly established blockchain in the node cloud, determines the identification of the node as the social credit code determined by all the nodes, and determines the blockchain as the blockchain corresponding to any party.
3. The method according to claim 1 or 2, further comprising, after S103-7:
s103-10, if the social credit codes determined by all the selected nodes are not the same, the terminal establishes a blockchain corresponding to any one of the parties in the blockchain system of the party, establishes a node corresponding to the newly established blockchain in the node cloud, determines the identification of the node as the social credit code determined according to the business license of any one of the parties, and determines the blockchain as the blockchain corresponding to any one of the parties.
4. The method of claim 3, wherein the type of industrial demand contract is a buy-sell contract, or a supply, water, gas, thermal contract, or a gift contract, or a borrow contract, or a lease contract, or a financing lease contract, or a contractual, or a construction engineering contract, or a transport contract, or a technical contract, or a custody contract, or a warehouse contract, or a consignment contract, or a line contract, or an intervening contract, or other contract.
5. A method according to claim 3, wherein S103-3 comprises:
for any selected blockchain, its type coefficient = [ (current time-last time of modification of the blockchain)/(current time-last time of modification of all blockchains of the principal blockchain system) ], [ number of blocks in the blockchain of any selected corresponding to the type of industrial demand contract/total number of blocks in the blockchain of any selected ].
6. The method according to claim 1, wherein S104 specifically comprises:
s104-1, the terminal distributes a unique identifier for the industrial demand contract;
s104-2, the terminal forms a block identifier with the unique identifier of the industrial demand contract and the social credit codes of the parties according to a preset rule;
s104-3, the terminal determines the corresponding nodes of the block chains corresponding to the persons;
and S104-4, the terminal sends control information to the corresponding nodes of the blockchains corresponding to the individuals, wherein the control information comprises the block identifiers, the industrial demand contracts and the demand keywords obtained in the S104-2, so that the corresponding nodes of the blockchains corresponding to the individuals control the blockchains corresponding to the individuals to newly establish a block corresponding to the industrial demand contracts at the tail of the chain, the newly established block takes the block identifiers obtained in the S104-2 as unique identifiers, and the corresponding industrial demand contracts and the demand keywords are recorded in the newly established block.
7. The method according to claim 6, wherein S105 specifically comprises:
and in the process that the industrial demand contract is executed, the terminal determines the social credit code of each party as a uniquely identified node whenever acquiring the execution information of the industrial demand contract, and sends the execution information to the corresponding node so that the corresponding node controls the corresponding blockchain to record the execution information in the block comprising the social credit code.
CN202010114062.0A 2020-02-24 2020-02-24 Industrial demand contract execution method based on block chain Active CN111338849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010114062.0A CN111338849B (en) 2020-02-24 2020-02-24 Industrial demand contract execution method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010114062.0A CN111338849B (en) 2020-02-24 2020-02-24 Industrial demand contract execution method based on block chain

Publications (2)

Publication Number Publication Date
CN111338849A CN111338849A (en) 2020-06-26
CN111338849B true CN111338849B (en) 2023-07-07

Family

ID=71181762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010114062.0A Active CN111338849B (en) 2020-02-24 2020-02-24 Industrial demand contract execution method based on block chain

Country Status (1)

Country Link
CN (1) CN111338849B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492983A (en) * 2018-09-26 2019-03-19 深圳壹账通智能科技有限公司 E-seal based on block chain intelligence contract signs method and apparatus
CN110400144A (en) * 2019-08-05 2019-11-01 国网电子商务有限公司 A kind of electricity transaction method and device based on block chain
US20190386834A1 (en) * 2017-03-03 2019-12-19 Nec Corporation Blockchain management apparatus, blockchain management method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190386834A1 (en) * 2017-03-03 2019-12-19 Nec Corporation Blockchain management apparatus, blockchain management method, and program
CN109492983A (en) * 2018-09-26 2019-03-19 深圳壹账通智能科技有限公司 E-seal based on block chain intelligence contract signs method and apparatus
CN110400144A (en) * 2019-08-05 2019-11-01 国网电子商务有限公司 A kind of electricity transaction method and device based on block chain

Also Published As

Publication number Publication date
CN111338849A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN109274717B (en) Block chain based shared storage method, device, medium and electronic equipment
CN110825349A (en) Random number generation method, block chain node, system and medium
CN110474986A (en) A kind of common recognition method, apparatus and system based on block catenary system
Dao et al. Optimisation of partner selection and collaborative transportation scheduling in Virtual Enterprises using GA
CN105630590B (en) A kind of business information processing method and processing device
CN111475854A (en) Collaborative computing method and system for protecting data privacy of two parties
CN112035879B (en) Information processing method and system for improving confidentiality of automatic logistics of cell
CN110910143A (en) Identity identification generation method, device, related node and medium
CN111898750A (en) Neural network model compression method and device based on evolutionary algorithm
Azar et al. On capital investment
Jeong et al. Scheduling operations of a rail crane and container deliveries between rail and port terminals
CN113807705A (en) Digital twin operation driven power distribution network planning method and device and terminal
CN111338849B (en) Industrial demand contract execution method based on block chain
Keshavarz et al. Efficient upper and lower bounding methods for flowshop sequence-dependent group scheduling problems
CN107305570A (en) A kind of data retrieval method and system
KR20210106013A (en) Preventing transmission of incorrect copies of data records to distributed ledger systems
CN113743863A (en) Vehicle and goods matching method based on intelligent contract
CN107784418B (en) List data distribution method and device
CN113297310A (en) Method for selecting block chain fragmentation verifier in Internet of things
CN112561460B (en) Information processing method, system, equipment and computer storage medium
CN112737777B (en) Threshold signature and signature verification method, device, equipment and medium based on secret key
CN115576837A (en) Batch number making method and device, computer equipment and storage medium
CN111309801A (en) Method and device for fragmenting alliance chain
CN116975366A (en) Data alignment method, device, electronic equipment and readable storage medium
CN111292055A (en) Online civil mediation method and device

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