CN109726201B - Chip research and development transaction data storage method and system based on intelligent contract - Google Patents

Chip research and development transaction data storage method and system based on intelligent contract Download PDF

Info

Publication number
CN109726201B
CN109726201B CN201811520132.1A CN201811520132A CN109726201B CN 109726201 B CN109726201 B CN 109726201B CN 201811520132 A CN201811520132 A CN 201811520132A CN 109726201 B CN109726201 B CN 109726201B
Authority
CN
China
Prior art keywords
node
transaction
chip
nodes
consensus
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
CN201811520132.1A
Other languages
Chinese (zh)
Other versions
CN109726201A (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.)
Hangzhou Kiel Technology Co.,Ltd.
Original Assignee
Hangzhou Kilby Blockchain Technology 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 Hangzhou Kilby Blockchain Technology Ltd filed Critical Hangzhou Kilby Blockchain Technology Ltd
Priority to CN201811520132.1A priority Critical patent/CN109726201B/en
Priority to PCT/CN2019/072287 priority patent/WO2020118857A1/en
Publication of CN109726201A publication Critical patent/CN109726201A/en
Application granted granted Critical
Publication of CN109726201B publication Critical patent/CN109726201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Human Resources & Organizations (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of data storage, and provides a chip research and development transaction data storage method and a chip research and development transaction data storage system based on an intelligent contract, wherein the method comprises the following steps: storing an intelligent contract aiming at a chip development transaction target on a blockchain; acquiring transaction data and intelligent contract message data generated by at least two transaction nodes in a preset time period in the process of developing a transaction target according to an intelligent contract participation chip; determining at least two consensus nodes for a preset time period; utilizing at least two common nodes to sequentially and circularly carry out at least one hash operation on the corresponding block head; determining the target consensus node as an accounting node, wherein the target consensus node preferentially calculates a hash value smaller than the target value of autonomous mining; and storing the transaction data and the intelligent contract message data in the generated new block through the accounting node, and linking the new block to the block chain. The scheme can improve the safety of chip research and development and chip transaction.

Description

Chip research and development transaction data storage method and system based on intelligent contract
Technical Field
The invention relates to the technical field of data storage, in particular to a chip research and development transaction data storage method and system based on an intelligent contract.
Background
A chip is also called a microcircuit (microcircuit), a microchip (microchip), and an Integrated Circuit (IC), and particularly, a silicon chip containing an IC has a small volume and is usually an important component of a computer or other electronic devices. Chip research and development is a complex process, and generally a plurality of links such as chip functions, formation of a comprehensive netlist, circuit diagram design, performance simulation verification, layout wiring, layout-to-circuit diagram verification, process design rule verification, physical verification of a layout, tape-out verification and the like need to be realized through software, so that research and development of one chip generally need to be matched with each other by a plurality of manufacturers.
At present, in the chip research and development and chip transaction processes, transaction behaviors exist among matched manufacturers, rules for transaction of both transaction parties are restricted through an offline contract, the right is difficult to maintain when the default behaviors occur, and transaction data generated in the transaction process cannot be safely stored for use as evidence, so that the security of chip research and development transactions is low.
Therefore, in view of the above disadvantages, it is desirable to provide a data storage method capable of improving the security of chip development transactions.
Disclosure of Invention
The technical problems to be solved by the invention are that it is difficult to trace after a default occurs in the chip research and development and chip transaction processes, and it is difficult to obtain transaction data in the chip research and development or chip transaction processes, which causes the chip research and development and chip transaction security to be lower, and aiming at the defects in the prior art, a technical scheme is provided for preventing the default of a transaction party and facilitating the acquisition of transaction data as evidence.
In order to solve the technical problem, the invention provides a chip research and development transaction data storage method based on an intelligent contract, which comprises the following steps:
storing an intelligent contract aiming at a chip development transaction target on a blockchain;
acquiring transaction data and intelligent contract message data generated by at least two transaction nodes in a preset time period according to the process that the intelligent contract participates in the chip development transaction target;
determining at least two consensus nodes for the preset time period;
utilizing the at least two consensus nodes to sequentially and circularly carry out at least one hash operation on the block header obtained according to the transaction data and the intelligent contract message data, wherein each hash operation obtains one hash value;
determining a target consensus node as an accounting node, wherein the target consensus node preferentially calculates a hash value smaller than a preset autonomous mining target value;
storing, by the accounting node, the transaction data and the smart contract message data in the generated new block and linking the new block to a block chain.
Optionally, when the chip development transaction target is a chip physical transaction service, the intelligent contract includes:
a1: indicating order information input by the buyer transaction node;
a2: judging whether the buyer transaction node pays the fee corresponding to the order information, if so, executing A3, otherwise, executing A1;
a3: judging whether the seller transaction node confirms the collection of the money, if so, executing A4, otherwise, executing A2;
a4: instructing a seller transaction node to carry out chip physical delivery;
a5: it is determined whether the buyer transaction node confirms receipt, if so, the transaction is concluded, otherwise a4 is executed.
Optionally, when the chip development transaction target is a chip intellectual property trading service, the intelligent contract includes:
b1: instructing the buyer transaction node to preview the content of the chip intellectual property sold by the seller;
b2: judging whether the buyer transaction node pays the fee corresponding to the intellectual property right of the chip, if so, executing B3, otherwise, executing B1;
b3: judging whether the seller transaction node confirms the collection of the money, if so, executing B4, otherwise, executing B2;
b4: and instructing the seller transaction node to download the contents of the chip knowledge product and determining that the transaction is finished.
Optionally, when the chip development transaction target is a chip intellectual property authorization use service, the intelligent contract includes:
c1: instructing the buyer transaction node to preview the content of the chip intellectual property right authorized to be used by the seller;
c2: judging whether the buyer transaction node signs a secret agreement, if so, executing C3, otherwise, executing C1;
c3: instructing a buyer transaction node to try out the intellectual property of the chip;
c4: instructing the buyer transaction node to sign an authorization contract;
c5: judging whether a buyer transaction node pays for obtaining the fee for using the intellectual property of the chip, if so, executing C6, otherwise, executing C4;
c6: judging whether the seller transaction node confirms the collection of the money, if so, executing C7, otherwise, executing C5;
c7: instructing a buyer transaction node to obtain a use authorization for using the chip intellectual property;
c8: and judging whether the authorization of the seller transaction node for the intellectual property right of the chip is expired, if so, determining that the transaction is ended, otherwise, executing C7.
Optionally, when the chip development transaction target is a chip development business, the intelligent contract comprises, for each employer transaction node and each employee transaction node:
d1: instructing an employer trading node to propose a chip development task;
d2: instructing the employee transaction node to set a development node and development cost for one development module in the chip development task;
d3: determining whether an employer trading node accepts the development node and the development cost, if so, performing D4, otherwise performing D2;
d4: instructing an employee trading node to develop the development module;
d5: determining whether the employer trading node confirms that the development process conforms to the development node, if so, executing D6, otherwise executing D4;
d6: determining whether the employer transaction node pays for development, if so, executing D7, otherwise executing D5;
d7: and D6 is executed if the employee transaction node confirms collection, if yes, the research and development of the research and development module is finished, otherwise, the operation is executed.
Optionally, the determining at least two consensus nodes for the preset time period comprises:
selecting at least two consensus nodes from at least two system nodes, wherein the system nodes are always on-line and stably operated nodes;
alternatively, the first and second electrodes may be,
screening at least one target authorization node from at least one authorization node, and determining the at least one target authorization node and at least two system nodes as the consensus node, wherein the system nodes are always online and stably operated nodes, the authorization nodes are professional user nodes with consensus authority, the probability that the authorization node is selected as the target authorization node is in direct proportion to the participation degree corresponding to the authorization node, and the participation degree is determined by part or all of the online time and the evaluation score of the authorization node.
Optionally, the sequentially and cyclically performing at least one hash operation on the block header obtained according to the transaction data and the smart contract message data by using the at least two consensus nodes includes:
respectively generating point reward transaction information corresponding to each consensus node, wherein for each consensus node, if the consensus node is the system node, the point reward transaction information corresponding to the consensus node comprises a reward point value and a reward node identifier, the reward node identifier is used for identifying one target authorization node, and if the consensus node is the authorization node, the point reward transaction information corresponding to the consensus node comprises the reward point value;
for each common identification node, packaging the point reward transaction information, the transaction data and the intelligent contract message data corresponding to the common identification node to obtain a corresponding block main body, and performing hash operation on the block main body to obtain a first Merkle tree root hash value corresponding to the common identification node;
according to a predetermined node sorting result, each common identification node sequentially carries out at least one hash operation on a corresponding block head to obtain at least one hash value, wherein for each common identification node, the block head corresponding to the common identification node comprises the first Merkle root hash value corresponding to the common identification node, the second Merkle root hash value of the last block on the block chain and an autonomous mining random number, and the autonomous mining random number is changed according to a preset rule, so that the block head comprises different autonomous mining random numbers when the common identification node carries out the hash operation on the block head each time.
Optionally, after the determining the target consensus node as the accounting node, the method further includes:
if the accounting node is the system node, issuing points corresponding to the reward point value to the target authorization node identified by the reward node identification according to the reward point value and the reward node identification included in the point reward transaction information corresponding to the accounting node;
and if the accounting node is an authorized node, issuing points corresponding to the reward point value to the accounting node according to the reward point value included in the point reward transaction information corresponding to the accounting node.
The invention also provides a chip research and development transaction data storage system based on the intelligent contract, which comprises: at least two system nodes and at least two transaction nodes, wherein,
the system nodes are always on-line stably operated nodes;
the at least two system nodes are used for storing an intelligent contract aiming at a chip development transaction target on a block chain, acquiring transaction data and intelligent contract message data generated by the at least two transaction nodes according to the intelligent contract in the process of participating in the chip development transaction target in a preset time period, and determining at least two consensus nodes aiming at the preset time period;
the at least two consensus nodes are used for sequentially and circularly performing at least one hash operation on block headers obtained according to the transaction data and the intelligent contract message data and determining target consensus nodes as accounting nodes, wherein each hash operation of each consensus node obtains one hash value, and the target consensus nodes preferentially calculate the hash values smaller than a preset autonomous mining target value;
and the accounting node is used for storing the transaction data and the intelligent contract message data in the generated new block and linking the new block to a block chain.
Optionally, the smart contract-based chip development transaction data storage system further comprises: at least one authorized node, at least one ordinary node and at least one guest node;
the authorization node is an office user node with consensus authority;
the common node is an operating user node with a block reading authority in the alliance;
the guest node is a user node outside the alliance and reading the transaction data and the intelligent contract message data related to the guest node from a block chain;
the common node is used for submitting an application becoming an authorized node and becoming the authorized node after the application is approved;
the visitor node is used for submitting an application becoming a common node and becoming the common node after the application is approved.
The chip research and development transaction data storage method and system based on the intelligent contract have the following beneficial effects:
1. the intelligent contract aiming at a chip development transaction target is stored on the block chain, so that the transaction node participates in the chip development transaction target according to the intelligent contract stored on the block chain, thereby constraining both transaction parties to perform transaction according to the intelligent contract, and otherwise, directly giving punishment according to the intelligent contract. In addition, the accounting node is elected by the rapid consensus method, and the accounting node stores the transaction data and the intelligent contract message data generated in the transaction process into the block chain, so that traceability and tamper resistance of the transaction data and the intelligent contract message data are ensured, the transaction data and the intelligent contract message data are conveniently used as evidences, and the safety of chip development and chip transaction processes can be improved.
2. The code and the state of the intelligent contract are on the blockchain, so that all people can see the intelligent contract, the intelligent contract does not depend on a specific hardware device, and the code of the intelligent contract can be executed by all the consensus nodes. The intelligent contract as a chain code has the advantages of high efficiency, real-time update, accurate execution, no human intervention, distributed supervision and arbitration, lower running cost and the like. The two parties of the transaction are directly connected together based on the intelligent contract without the existence of an intermediary, thereby avoiding the existence of high intermediary cost. Based on the intelligent contract and the block chain, due verification of all transactions and messages can be ensured, the diversity, the intelligence, the safety and the expansibility of the transactions are ensured, and meanwhile, the reliability, the manageability and the stability of a research and development transaction platform are enhanced.
3. By storing different types of intelligent contracts on the block chain, the chip physical transaction, the chip intellectual property authorization use transaction and the chip research and development transaction can be realized, and the participators in the chip research and development and chip transaction processes can be ensured to fulfill respective obligations and obey agreed rules, so that the chip research and development and the chip transaction safety can be improved.
4. The method for selecting the consensus node can be flexibly determined according to requirements in the actual service implementation process, so that the consensus flexibility can be improved.
5. And each consensus node sequentially and circularly carries out Hash operation on the corresponding block head, and the consensus node which preferentially calculates the Hash value smaller than the autonomous mining target value is determined as an accounting node, so that the time required by electing the accounting node can be shortened, namely, the rapid consensus is realized, and the consensus efficiency is improved. In addition, the probability that the hash value smaller than the autonomous mining target value is calculated by each consensus node is the same, so that the fairness among the consensus nodes in the consensus process is ensured, and the reliability of the consensus process can be ensured.
6. Since the system node has high credibility and participates in consensus in the generation process of each block, the system node is arranged in front of each target authorized node. The participation degree of the target authorization nodes can represent the credibility of the target authorization nodes, and the higher the participation degree is, the higher the credibility of the corresponding target authorization nodes is, so that the target authorization nodes with higher corresponding participation degrees are arranged behind the system nodes according to the sequence of the corresponding participation degrees from large to small, the target authorization nodes with higher corresponding participation degrees can preferentially perform hash operation on the target authorization nodes with lower corresponding participation degrees, on one hand, the fairness of the consensus process is ensured, and on the other hand, the safety of the consensus result is ensured.
7. By generating point reward transaction information and after determining the accounting node, points are issued to an authorization node participating in the consensus process according to the point reward transaction information, the points can improve the participation degree of the nodes, and can be used as virtual currency for currency payment in chip research and development and chip transaction processes, so that the authorization node can be stimulated, the authorization node is ensured to actively participate in the consensus process, and the consensus process can be ensured to be normally carried out.
8. The block main body comprises the point reward transaction information corresponding to the accounting node, so the point reward transaction information is also stored in the block chain, and the point reward transaction information can be read from the block chain subsequently to trace the point issuing process, so that the fairness of the point issuing process is ensured.
Drawings
FIG. 1 is a flow chart of a method for developing transaction data storage based on a chip of an intelligent contract according to an embodiment of the present invention;
FIG. 2 is a flowchart of an intelligent contract for selling and purchasing physical chips according to a second embodiment of the present invention;
FIG. 3 is a flow chart of an intelligent contract for intellectual property trading on a chip according to a third embodiment of the present invention;
fig. 4 is a flowchart of a chip intellectual property authorization using an intelligent contract according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of developing an intelligent contract on a chip according to a fifth embodiment of the present invention;
fig. 6 is a flowchart of a method for determining a billing node according to a seventh embodiment of the present invention;
fig. 7 is a schematic diagram of a chip development transaction data storage system based on smart contracts according to a tenth embodiment of the present invention;
fig. 8 is a schematic diagram of a chip development transaction data storage system based on smart contracts according to an eleventh embodiment of the present invention.
In the figure: 701: a system node; 702: a transaction node; 801: a core layer; 802: an authorization layer; 803: a common layer; 804: a visitor layer; 805: a system node; 806: an authorization node; 807: a common node; 808: a guest node; 809: an authorization node; 810: an authorization node; 811: a common node; 812: and a guest node.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Example one
As shown in fig. 1, the method for developing and storing transaction data based on a chip of an intelligent contract according to an embodiment of the present invention may include the following steps:
step 101: storing an intelligent contract aiming at a chip development transaction target on a blockchain;
step 102: acquiring transaction data and intelligent contract message data generated by at least two transaction nodes in a preset time period in the process of developing a transaction target according to an intelligent contract participation chip;
step 103: determining at least two consensus nodes for a preset time period;
step 104: utilizing at least two consensus nodes to sequentially and circularly carry out at least one hash operation on a block header obtained according to transaction data and intelligent contract message data, wherein each hash operation obtains one hash value;
step 105: determining a consensus node which is preferentially calculated to be a hash value smaller than a preset autonomous mining target value as an accounting node;
step 106: and storing the transaction data and the intelligent contract message data in the generated new block through the accounting node, and linking the new block to the block chain.
According to the chip development transaction data storage method based on the intelligent contract, the intelligent contract aiming at a chip development transaction target is stored on the block chain, so that the transaction node participates in the chip development transaction target according to the intelligent contract stored on the block chain, transaction of two transaction parties according to the intelligent contract can be restrained, and otherwise, punishment is directly given according to the intelligent contract. In addition, the accounting node is elected by the rapid consensus method, and the accounting node stores the transaction data and the intelligent contract message data generated in the transaction process into the block chain, so that traceability and tamper resistance of the transaction data and the intelligent contract message data are ensured, the transaction data and the intelligent contract message data are conveniently used as evidences, and the safety of chip development and chip transaction processes can be improved.
In the embodiment of the invention, the code and the state of the intelligent contract are on the blockchain, so that all people can see the intelligent contract, the intelligent contract does not depend on a specific hardware device, and the code of the intelligent contract can be executed by all the consensus nodes. The intelligent contract as a chain code has the advantages of high efficiency, real-time update, accurate execution, no human intervention, distributed supervision and arbitration, lower running cost and the like. The two parties of the transaction are directly connected together based on the intelligent contract without the existence of an intermediary, thereby avoiding the existence of high intermediary cost. Based on the intelligent contract and the block chain, due verification of all transactions and messages can be ensured, the diversity, the intelligence, the safety and the expansibility of the transactions are ensured, and meanwhile, the reliability, the manageability and the stability of a research and development transaction platform are enhanced.
It should be noted that the transaction data generated during the transaction process of the two transaction parties according to the intelligent contract is used for recording the processes of development result delivery, payment and the like, and the intelligent contract message data refers to the staged data generated during the execution process of the intelligent contract.
The chip research and development transaction target can be a chip trading transaction service or a chip research and development service, wherein the chip trading transaction comprises a chip real object trading service, a chip intellectual property right trading service and a chip intellectual property right authorization service. The contents included in the intelligent contract when the chip development transaction targets are the chip real object trading service, the chip intellectual property authorization service and the chip development service are described in the following embodiments two to five, respectively.
Example two
On the basis of the chip development transaction data storage method based on the intelligent contract provided in the first embodiment, when the chip development transaction target is a chip physical transaction service, the intelligent contract definition transaction partner performs chip physical transaction according to the flow method shown in fig. 2, which specifically includes the following steps:
step 201: indicating order information input by the buyer transaction node;
step 202: judging whether the buyer transaction node pays the cost corresponding to the order information, if so, executing step 203, otherwise, executing step 201;
step 203: judging whether the seller transaction node confirms the collection, if so, executing step 204, otherwise, executing step 202;
step 204: instructing a seller transaction node to carry out chip physical delivery;
step 205: and judging whether the buyer transaction node confirms the goods receiving, if so, determining that the transaction is ended, otherwise, executing the step 204.
When two transaction parties carry out chip physical buying and selling, a buyer transaction node corresponds to a buyer in chip physical transaction, a seller transaction node corresponds to a seller in chip physical transaction, according to a chip physical transaction rule defined by an intelligent contract, the seller fills an order (including quantity, address, user information and the like) firstly, then payment is carried out by using third party payment, the seller carries out chip physical delivery after payment acceptance is confirmed, and the transaction is finished after the buyer confirms the acceptance.
EXAMPLE III
On the basis of the chip development transaction data storage method based on the intelligent contract provided in the first embodiment, when the chip development transaction target is a chip intellectual property right buying and selling service, the intelligent contract definition transaction parties carry out chip intellectual property right buying and selling according to the flow method shown in fig. 3, which specifically includes the following steps:
step 301: instructing the buyer transaction node to preview the content of the chip intellectual property sold by the seller;
step 302: judging whether the buyer transaction node pays the fee corresponding to the intellectual property right of the chip, if so, executing step 303, otherwise, executing step 301;
step 303: determining whether the seller transaction node confirms the collection, if yes, executing step 304, otherwise executing step 302;
step 304: and instructing the seller transaction node to download the contents of the chip knowledge product and determining that the transaction is finished.
When two transaction parties buy and sell the chip intellectual property, the buyer transaction node corresponds to the buyer in the buying and selling of the chip intellectual property, the seller transaction node corresponds to the seller in the buying and selling of the chip intellectual property, according to the chip intellectual property transaction rule defined by the intelligent contract, the buyer feels satisfied after content preview and pays fee payment, after the seller confirms collection, the seller provides a download address and a secret key to the buyer, the buyer downloads the content, and the transaction is finished after successful downloading.
It should be noted that, in the third embodiment and the fourth embodiment described below, the intellectual property of the chip refers to virtual intellectual property required in the chip development process, such as a circuit diagram designed for the chip, a performance simulation verification result, layout and wiring, and the like.
Example four
On the basis of the chip development transaction data storage method based on the intelligent contract provided in the first embodiment, when the chip development transaction target is a chip intellectual property authorization service, the intelligent contract definition transaction parties perform chip intellectual property authorization according to the flow method shown in fig. 4, and the method specifically includes the following steps:
step 401: instructing the buyer transaction node to preview the content of the chip intellectual property right authorized to be used by the seller;
step 402: judging whether the buyer transaction node signs a security agreement, if so, executing step 403, otherwise, executing step 401;
step 403: instructing the buyer transaction node to try out the intellectual property of the chip;
step 404: instructing the buyer transaction node to sign an authorization contract;
step 405: judging whether the buyer transaction node pays for using the intellectual property right of the chip, if so, executing step 406, otherwise, executing step 404;
step 406: judging whether the seller transaction node confirms the collection, if so, executing step 407, otherwise, executing step 405;
step 407: instructing the buyer transaction node to obtain a use authorization for using the intellectual property of the chip;
step 408: and judging whether the authorization of the seller transaction node for the intellectual property rights of the chip is due, if so, determining that the transaction is ended, otherwise, executing a step 407.
When two transaction parties carry out the transaction of authorized use of the chip intellectual property, a buyer transaction node corresponds to a buyer needing to use the chip intellectual property, a seller transaction node corresponds to a seller having the chip intellectual property, according to the chip intellectual property authorization use rule defined by an intelligent contract, the buyer firstly previews the chip intellectual property, signs a confidentiality Agreement (NDA) if the buyer is interested, then the buyer tries the chip intellectual property, signs an authorization contract if the buyer tries the chip intellectual property satisfactorily, carries out fee payment, and authorizes the seller to use after the seller confirms to collect money. In addition, the authorization transaction ends after the seller's authorized use expires.
EXAMPLE five
On the basis of the method for storing chip development transaction data based on an intelligent contract provided in the first embodiment, when a chip development transaction target is a chip development business, an employer may split a chip development task into a plurality of development modules, and a plurality of employees respectively develop and develop the development modules, where the intelligent contract defines that the employer and each employee perform chip development according to the flow method shown in fig. 5, and specifically includes the following steps:
step 501: instructing an employer trading node to propose a chip development task;
step 502: instructing the employee transaction node to set a research and development node and research and development costs for one of the research and development modules in the chip research and development task;
step 503: determining whether the employer trading node accepts the development node and the development cost, if so, performing step 504, otherwise, performing step 502;
step 504: instructing the employee trading node to develop the development module;
step 505: determining whether the employer trading node confirms that the development process conforms to the development node, if so, performing step 506, otherwise, performing step 504;
step 506: determining whether the employer transaction node pays for research and development, if yes, executing step 507, otherwise executing step 505;
step 507: a determination is made as to whether the employee transaction node has confirmed the collection, and if so, the development of the development module is determined to be complete, otherwise step 506 is performed.
When two trading parties carry out chip development trading, an employer trading node corresponds to an employer who puts forward chip development requirements, an employee trading node corresponds to an employee who carries out chip development according to the development requirements, and the intelligent contract comprises one employer and at least one employee, because the development of one chip can require cooperation of multiple technical forces. According to the chip development transaction rules defined by the smart contract, the employer presents a development task, which is assumed to contain two modules. Employee 1 sets the development node and development budget for module 1 based on the requirements of module 1, and employee 2 sets the development node and development budget for module 2 based on the requirements of module 2. If the employer accepts the employee's module development program, employee 1 and employee 2 develop module 1 and module 2, respectively. Once the research and development node is reached, the employer determines whether the employee meets the research and development node requirements, and if so, enters the next research and development stage. If all the development nodes of the employee meet the development requirements, the employer pays the development cost. After the employee confirms collection, the module development task ends.
By integrating the second to fifth embodiments, by storing different types of intelligent contracts on the block chain, the chip physical transaction, the chip intellectual property authorization use transaction and the chip research and development transaction can be realized, and the participation parties in the chip research and development and chip transaction processes can be ensured to fulfill respective obligations and comply with agreed rules, so that the chip research and development and the chip transaction safety can be improved.
EXAMPLE six
On the basis of the chip development and transaction data storage method based on the intelligent contract provided in the first embodiment, when the consensus node corresponding to the preset time period is determined in step 103, the consensus node may be determined in the following two ways:
the first method is as follows: and selecting the node from the system nodes as a consensus node only, namely not including an authorized node in the consensus node.
Specifically, all system nodes may be selected as the consensus node, or some system nodes may be selected as the consensus node from all system nodes. Because the system nodes are nodes which can always run stably on line, the number, the running stability and the safety of the system nodes are reliably ensured, the nodes are selected from the system nodes to be used as consensus nodes, all the consensus nodes are ensured to belong to the system nodes, and the stability of the consensus process of the consensus nodes can be ensured.
The second method comprises the following steps: and selecting one or more target authorization nodes from the authorization nodes, and further taking the selected target authorization nodes and all system nodes as consensus nodes. Specifically, when a target authorization node is selected from the authorization nodes, the target authorization node may be selected according to the participation degree corresponding to each authorization node, where the probability that the authorization node with a higher participation degree is selected as the target authorization node is higher, and the participation degree corresponding to the authorization node is determined by part or all of the online time and the evaluation score of the authorization node.
It should be noted that all target authorized nodes selected from the authorized nodes are in an online state, and the authorized nodes in a non-online state are not selected as the target authorized nodes, so that the subsequent fast consensus process can be performed normally.
For each authorization node, the longer the online time of the authorization node is, the longer the accumulated time for the authorization node to participate in consensus or perform chip development transaction is, the higher the credibility of the authorization node is. In addition, after the authorization node participates in chip development or chip transaction each time, the authorization node is scored according to the actual completion condition of the chip development or chip transaction, and the higher the accumulated evaluation score of the authorization node is, the better the credit of the authorization node is. Therefore, the corresponding participation degree can be determined according to the online time length and the evaluation score of the authorization node, and the higher the online time length and the higher the evaluation score are, the higher the participation degree of the authorization node is, the higher the credibility of the authorization node with the higher corresponding participation degree is.
When the consensus node is selected from the authorization nodes, the probability that the authorization node with higher corresponding participation degree is selected as the consensus node is higher, but the authorization node with higher corresponding participation degree is not directly selected as the consensus node according to the sequence of the corresponding participation degrees from high to low, so that the fairness of selecting the consensus node from the authorization nodes can be ensured.
And selecting a target authorization node from the authorization nodes, determining the target authorization node and all system nodes as consensus nodes, and selecting part of authorization nodes as the consensus nodes to participate in the consensus process so as to improve the cognitive process and the cognitive result.
In summary, only the node from the system node may be selected as the consensus node, or the system node and the target authorized node selected from the authorized nodes may be used as the consensus node, and the method for selecting the consensus node may be flexibly determined according to the requirement in the actual service implementation process, so that the flexibility of consensus may be improved.
EXAMPLE seven
On the basis of the chip development transaction data storage method based on the intelligent contract provided in any one of the first to sixth embodiments, step 104 uses each consensus node to sequentially and cyclically perform at least one hash operation on the block header obtained according to the transaction data and the intelligent contract message data to obtain at least one corresponding hash value, and step 105 determines an accounting node from the consensus nodes according to the hash values calculated by the consensus nodes. As shown in fig. 6, the process of specifically determining the accounting node may be implemented by the following steps:
step 601: and respectively generating point reward transaction information corresponding to each consensus node.
For each determined consensus node, the credit reward transaction information generated corresponding to the consensus node is different according to the source of the consensus node, specifically:
for any consensus node which is a system node, the credit reward transaction information generated for the consensus node comprises a reward point value and a reward node identification. The reward node identification is used for identifying a target authorization node, and the reward point value defines the amount of points to be rewarded. In addition, the target authorization node identified by the reward node identification is selected from various target authorization points, and the probability that the target authorization node with higher participation degree is selected is higher.
For any consensus node which is an authorized node, the credit reward transaction information generated for the consensus node only comprises the reward point value.
Step 602: and each consensus node packs the corresponding point reward transaction information, the transaction data and the intelligent contract message data to obtain a corresponding block main body, and performs hash operation on the obtained block main body to obtain a corresponding first Merkle tree root hash value.
For each consensus node, the consensus node packages the point reward transaction information corresponding to the consensus node, the acquired transaction data and the intelligent contract message data to obtain a block main body corresponding to the consensus node, and then performs hash operation on the block main body obtained by packaging through a preset hash algorithm to obtain a first Merkle tree root hash value corresponding to the consensus node.
Step 603: and according to a predetermined node sorting result, each consensus node sequentially carries out at least one hash operation on the corresponding block head to obtain at least one hash value until the consensus node calculates the hash value smaller than the autonomous mining target value.
And each consensus node is sequenced in advance to obtain a corresponding node sequencing result, and then is sequentially and circularly subjected to Hash operation on the corresponding block head according to the node sequencing result, wherein each consensus node is subjected to at least one Hash operation on the corresponding block head each time, and each Hash operation obtains one Hash value. For any common identification node, the block head corresponding to the common identification node comprises a first Merkle tree root hash value corresponding to the common identification node, a second Merkle tree root hash value of the last block on the block chain and an autonomous ore-digging random number, and the autonomous ore-digging random number can be changed according to a preset rule, so that the autonomous ore-digging random numbers contained in the block head are different when the common identification node performs hash operation on the corresponding block head each time.
For example, a second Merkle root hash value is obtained by hashing the last bit block on the blockchain. And sequentially carrying out 10 times of Hash operations on the block heads corresponding to the 100 common identification nodes according to the determined node sorting result, and carrying out the Hash operation on the block heads each time to obtain a corresponding Hash value until the common identification nodes calculate the Hash value smaller than the target value of the autonomous mining. Aiming at any one common recognition node X, when the common recognition node X is subjected to Hash operation according to the node sorting result, the common recognition node X performs Hash operation for 10 times on a corresponding block head X, wherein the block head X comprises information such as a first Merkle tree root Hash value X, a second Merkle tree root Hash value, an autonomous mining random number, a version number, a timestamp and an autonomous mining target value which are calculated by the common recognition node X. The consensus node X performs a hash operation on each pair of the block heads X, and the autonomous mining random number in the block head X is added by 1, for example, when the consensus node X performs the hash operation on the block head X for the first time, the autonomous mining random number included in the block head X is 0, when the consensus node X performs the hash operation on the block head X for the second time, the autonomous mining random number included in the block head X is 1, and when the consensus node X performs the hash operation on the block head X for the third time, the autonomous mining random number included in the block head X is 2. For another example, no hash value smaller than the autonomous mining target value is calculated in the hash operation performed by each of the common identification nodes before, and when the common identification node X performs the fifth hash operation on the block head X, the calculated hash value is smaller than the autonomous mining target value, and all the common identification nodes stop performing the hash operation on the block head.
Step 604: and determining the consensus node which preferentially calculates the hash value smaller than the autonomous mining target value as an accounting node.
And after the common recognition nodes which calculate the hash value smaller than the target value of the autonomous mining are appeared, all the common recognition nodes stop performing the hash operation on the block heads, and the common recognition nodes which calculate the hash value smaller than the target value of the autonomous mining preferentially are determined as the accounting nodes.
It should be noted that, when the consensus node performs the hash operation on the block header, a POW (proof of Work) algorithm may be specifically used to perform the hash operation on the block header.
Aiming at any one consensus node, the block head corresponding to the consensus node comprises a first Merkle tree root hash value, a second Merkle tree root hash value and an autonomous mining random number corresponding to the consensus node. Because the point reward transaction information generated by different consensus nodes is different, the hash values of the first Merkle tree roots corresponding to different consensus nodes are different, so that the hash values obtained by performing hash operation on the corresponding block heads by different consensus nodes for the first time are different. In addition, for the same block head, since the autonomous ore excavation random number in the block head changes after the corresponding consensus node performs the hash operation on the block head every time, the autonomous ore excavation random numbers included in the block head in any two times of hash operations are different, and thus different hash values can be obtained by the same consensus node in different times of hash operations.
And each consensus node sequentially and circularly carries out Hash operation on the corresponding block head, and the consensus node which preferentially calculates the Hash value smaller than the autonomous mining target value is determined as an accounting node, so that the time required by electing the accounting node can be shortened, namely, the rapid consensus is realized, and the consensus efficiency is improved. In addition, the probability that the hash value smaller than the autonomous mining target value is calculated by each consensus node is the same, so that the fairness among the consensus nodes in the consensus process is ensured, and the reliability of the consensus process can be ensured.
It should be noted that, before the hash operation is performed on the block header by each common node in step 603, a node sorting result for each common node needs to be determined, so that each common node can perform the hash operation in sequence according to the node sorting result. Specifically, after the target authorization nodes are selected from the authorization nodes, the target authorization nodes are arranged behind the system nodes according to the sequence from the largest corresponding participation degree to the smallest corresponding participation degree, and then the node ordering results corresponding to the common identification nodes are obtained according to the ordered common identification nodes.
Since the system node has high credibility and participates in consensus in the generation process of each block, the system node is arranged in front of each target authorized node. The participation degree of the target authorization nodes can represent the credibility of the target authorization nodes, and the higher the participation degree is, the higher the credibility of the corresponding target authorization nodes is, so that the target authorization nodes with higher corresponding participation degrees are arranged behind the system nodes according to the sequence of the corresponding participation degrees from large to small, the target authorization nodes with higher corresponding participation degrees can preferentially perform hash operation on the target authorization nodes with lower corresponding participation degrees, on one hand, the fairness of the consensus process is ensured, and on the other hand, the safety of the consensus result is ensured.
Example eight
On the basis of the method for determining the accounting node provided in the seventh embodiment, after the accounting node is determined in step 604, point issuance may be performed according to point reward transaction information corresponding to the accounting node, where point issuance is different according to a difference that the accounting node is a system node or an authorization node, and specifically as follows:
if the accounting node is a system node, issuing points corresponding to the reward point value to a target authorization node of the reward node identification according to the reward point value and the reward node identification included in the point reward transaction information corresponding to the accounting node;
and if the accounting node is the authorized node, issuing points corresponding to the reward point value to the accounting node according to the reward point value included in the point reward transaction information corresponding to the accounting node.
The system node has no corresponding professional unit or professional person, so that the point issuing to the system node is meaningless, when the system node is determined as the accounting node, the point is issued to a target authorization node randomly determined before the accounting node according to the point reward transaction information generated by the previous accounting node, and when the target authorization node is determined as the accounting node, the point is issued to the accounting node according to the point reward transaction information generated by the previous accounting node and serves as reward for new block generation and uplink processing.
By generating point reward transaction information and after determining the accounting node, points are issued to an authorization node participating in the consensus process according to the point reward transaction information, the points can improve the participation degree of the nodes, and can be used as virtual currency for currency payment in chip research and development and chip transaction processes, so that the authorization node can be stimulated, the authorization node is ensured to actively participate in the consensus process, and the consensus process can be ensured to be normally carried out.
Example nine
On the basis of the chip development transaction data storage method based on the intelligent contract provided in the seventh embodiment and the eighth embodiment, step 106 is implemented by the accounting node storing the transaction data and the intelligent contract message data in a new block, specifically by:
acquiring a block header corresponding to a hash value smaller than the autonomous mining target value by performing hash operation on the accounting node;
and combining the acquired block header with the block main body corresponding to the accounting node to acquire a new block.
Since the random number of autonomous excavation in the block head is different when the same consensus node performs hash operation on the block head each time, the block head corresponding to the accounting node which calculates the hash value smaller than the target value of autonomous excavation needs to be obtained. In addition, the block main body corresponding to the accounting node comprises corresponding point reward transaction information, transaction data and intelligent contract message data, so that a new block generated by combining the block head corresponding to the accounting node and the block main body comprises the transaction data and the intelligent contract message data, and the transaction data and the intelligent contract message data are stored in the block chain after the new block is linked to the block chain.
In addition, the block body comprises point reward transaction information corresponding to the accounting node, so that the point reward transaction information is also stored in the block chain, and the point reward transaction information can be read from the block chain subsequently to trace the point issuing process, so that the fairness of the point issuing process is ensured.
It should be noted that, after the accounting node links the new block to the block chain, the new block becomes the last block on the block chain, and the second Merkle tree root hash value obtained by performing the hash operation on the whole new block is stored in the new block generated next time.
Example ten
One embodiment of the present invention provides a chip development transaction data storage system based on an intelligent contract, as shown in fig. 7, the system may include: at least two system nodes 701 and at least two transaction nodes 702, wherein,
the system nodes 701 are nodes which always run online stably, the transaction nodes 702 are nodes which participate in the chip development transaction target, and point-to-point communication is performed among the system nodes 701, among the transaction nodes 702 and between the system nodes 701 and the transaction nodes 702;
the system comprises at least two system nodes 701, a block chain and a block chain, wherein the at least two system nodes 701 are used for storing an intelligent contract aiming at a chip development transaction target, acquiring transaction data and intelligent contract message data which are generated by the at least two transaction nodes in a preset time period according to the process that the intelligent contract participates in the chip development transaction target, and determining at least two consensus nodes aiming at the preset time period;
the system comprises at least two consensus nodes, a target consensus node and a plurality of self-contained contract nodes, wherein the two consensus nodes are used for sequentially and circularly performing at least one hash operation on block headers obtained according to transaction data and intelligent contract message data and determining the target consensus node as an accounting node, each hash operation of each consensus node obtains one hash value, and the target consensus node preferentially calculates the hash value smaller than a preset self-contained ore digging target value;
and the accounting node is used for storing the transaction data and the intelligent contract message data in the generated new block and linking the new block to the block chain.
It should be noted that the chip development transaction data storage system based on the intelligent contract provided in the tenth embodiment is based on the same concept as the chip development transaction data storage method based on the intelligent contract provided in the first to ninth embodiments, and specific contents may refer to descriptions in the first to ninth embodiments and are not described again.
EXAMPLE eleven
On the basis of the chip development transaction data storage system based on the intelligent contract provided by the embodiment ten, the system may further include: at least one authorized node, at least one ordinary node and at least one guest node;
the authorization node is an operating user node with a consensus authority, the common node is an operating user node with a block reading authority in the alliance, the visitor node is a user node which is arranged outside the alliance and reads transaction data and intelligent contract message data related to the visitor node from a block chain, and any two nodes of the system node, the authorization node, the common node and the visitor node are in point-to-point communication;
the common node is used for submitting an application becoming an authorized node and becoming the authorized node after the application is approved;
and the visitor node is used for submitting an application becoming a common node and becoming the common node after the application is approved.
It should be noted that the transaction node participating in the chip development transaction target may be an authorized node, a normal node, or a guest node.
In the embodiment of the present invention, as shown in fig. 8, the chip development transaction data storage system may include four layers, namely, a core layer 801, an authorization layer 802, a normal layer 803 and a guest layer 804, and the nodes included in the system are divided into four types, namely, a system node 805, an authorization node 806, a normal node 807 and a guest node 808. System node 805 is a platform-recognized always-on, stably operating node; the authorized nodes 806 are the slave unit nodes or the slave individual nodes with common identification authority, and the block chains are synchronized among the authorized nodes 806; the common node 807 is a common working unit node or a common working individual node in the federation, and does not need to inquire about a billing process (i.e., a block construction process) or synchronize a block chain but has a block read right; the guest node 808 is a node outside the federation that has no billing rights and no tile read rights, but has transaction rights and can read transaction data associated with itself.
The function of the core layer 801 is to accomplish a blockchain consensus. This layer may consist of only system nodes 805 or may consist of all system nodes 805 and partially selected authorization nodes 809, which may improve the flexibility of consensus. The system node 805 may only perform consensus to ensure stability, or the partially authorized nodes 809 may participate in the consensus to improve the confidence level. Here the selected authorization nodes 809 are all authorization nodes 810 that are online when the current tiles are co-located. Since the grant node 809 selected at each time in the core layer 801 may be different during the process of identifying each block, the core layer 801 and the grant layer 802 are dynamically changed.
The authorization layer 802 is composed of all authorization nodes 806 that do not participate in consensus currently, and functions of the authorization nodes are equivalent to maintaining the authorization nodes, accepting an application from the ordinary nodes 811 as the authorization nodes 806, and selecting the authorization nodes 810 to enter the core layer 801 to participate in consensus. Core layer 801 and grant layer 802 are dynamically changed because each selected grant node 810 in grant layer 802 may be different during each block consensus.
The generic layer 803 includes all generic office unit nodes and office individual nodes in the federation, has the right to read block data, and functions as a maintenance generic node, an application for accepting the guest node 812 to become the generic node 807, and an application for submitting the generic node 811 to enter the authorization layer 802. The generic layer is relatively stable but may vary because the generic node 811 of the generic layer may apply for the authorized node 806, while the guest node 812 may also apply for the generic node 807 after having the ability or qualification to work.
The guest layer 804 includes all guest nodes outside the federation, having transaction rights, having no block read rights but having rights to read transaction data related to the guest node 808 itself. Its function is to maintain the guest node, submit the application of the guest node 812 to the common layer 802. The guest layer 804 is dynamically changing and any computer with internet capability can become a guest node 808.
In summary, the method and the system for storing chip development transaction data based on an intelligent contract provided by the embodiment of the present invention store an intelligent contract aiming at a chip development transaction target on a block chain, so that a transaction node participates in the chip development transaction target according to the intelligent contract stored on the block chain, thereby constraining both transaction parties to trade according to the intelligent contract, and otherwise, directly giving punishment according to the intelligent contract. In addition, the accounting node is elected by the rapid consensus method, and the accounting node stores the transaction data and the intelligent contract message data generated in the transaction process into the block chain, so that traceability and tamper resistance of the transaction data and the intelligent contract message data are ensured, the transaction data and the intelligent contract message data are conveniently used as evidences, and the safety of chip development and chip transaction processes can be improved.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A chip research and development transaction data storage method based on intelligent contracts is characterized by comprising the following steps:
storing an intelligent contract aiming at a chip development transaction target on a blockchain; the chip research and development transaction targets are a chip real object trading service, a chip intellectual property right authorized use service and a chip research and development service;
acquiring transaction data and intelligent contract message data generated by at least two transaction nodes in a preset time period according to the process that the intelligent contract participates in the chip development transaction target;
determining at least two consensus nodes for the preset time period;
utilizing the at least two consensus nodes to sequentially and circularly carry out at least one hash operation on the block header obtained according to the transaction data and the intelligent contract message data, wherein each hash operation obtains one hash value;
determining a target consensus node as an accounting node, wherein the target consensus node preferentially calculates a hash value smaller than a preset autonomous mining target value;
storing, by the accounting node, the transaction data and the smart contract message data in a generated new block and linking the new block to a block chain;
the performing at least one hash operation on the block header obtained according to the transaction data and the intelligent contract message data by sequentially and circularly utilizing the at least two consensus nodes comprises:
respectively generating point reward transaction information corresponding to each consensus node, wherein for each consensus node, if the consensus node is a system node, the point reward transaction information corresponding to the consensus node comprises a reward point value and a reward node identifier, the reward node identifier is used for identifying one target authorization node, and if the consensus node is the authorization node, the point reward transaction information corresponding to the consensus node comprises the reward point value; the target authorization node identified by the reward node identification is selected from all target authorization nodes, and the probability that the target authorization node with higher corresponding participation degree is selected is higher;
for each common identification node, packaging the point reward transaction information, the transaction data and the intelligent contract message data corresponding to the common identification node to obtain a corresponding block main body, and performing hash operation on the block main body to obtain a first Merkle tree root hash value corresponding to the common identification node;
according to a predetermined node sorting result, each common identification node sequentially carries out at least one hash operation on a corresponding block head to obtain at least one hash value, wherein for each common identification node, the block head corresponding to the common identification node comprises the first Merkle root hash value corresponding to the common identification node, the second Merkle root hash value of the last block on the block chain and an autonomous mining random number, and the autonomous mining random number is changed according to a preset rule, so that the block head comprises different autonomous mining random numbers when the common identification node carries out the hash operation on the block head each time;
the determining at least two consensus nodes for the preset time period comprises: screening at least one target authorization node from at least one authorization node, and determining the at least one target authorization node and at least two system nodes as the consensus node, wherein the system nodes are always online and stably operated nodes, the authorization nodes are professional user nodes with consensus authority, the probability that the authorization node is selected as the target authorization node is in direct proportion to the participation degree corresponding to the authorization node, and the participation degree is determined by part or all of the online time and the evaluation score of the authorization node;
further comprising:
arranging the at least one target authorization node behind the at least two system nodes in the order of the corresponding participation degrees from big to small;
obtaining the node sequencing result according to the arrangement sequence of the consensus nodes;
if the accounting node is the system node, issuing points corresponding to the reward point value to the target authorization node identified by the reward node identification according to the reward point value and the reward node identification included in the point reward transaction information corresponding to the accounting node;
if the accounting node is an authorized node, issuing points corresponding to the reward point value to the accounting node according to the reward point value included in the point reward transaction information corresponding to the accounting node;
the points are used for improving the participation of the nodes.
2. The method of claim 1, wherein when the chip development transaction targets a chip physical transaction, the smart contract comprises:
a1: instructing the buyer transaction node to enter order information;
a2: judging whether the buyer transaction node pays the fee corresponding to the order information, if so, executing A3, otherwise, executing A1;
a3: judging whether the seller transaction node confirms the collection of the money, if so, executing A4, otherwise, executing A2;
a4: instructing a seller transaction node to carry out chip physical delivery;
a5: it is determined whether the buyer transaction node confirms receipt, if so, the transaction is concluded, otherwise a4 is executed.
3. The method of claim 1, wherein when the chip development transaction target is a chip intellectual property trading service, the smart contract comprises:
b1: instructing the buyer transaction node to preview the content of the chip intellectual property sold by the seller;
b2: judging whether the buyer transaction node pays the fee corresponding to the intellectual property right of the chip, if so, executing B3, otherwise, executing B1;
b3: judging whether the seller transaction node confirms the collection of the money, if so, executing B4, otherwise, executing B2;
b4: and instructing the seller transaction node to download the contents of the chip knowledge product and determining that the transaction is finished.
4. The method of claim 1, wherein when the chip development transaction targets a chip intellectual property authorization service, the smart contract comprises:
c1: instructing the buyer transaction node to preview the content of the chip intellectual property right authorized to be used by the seller;
c2: judging whether the buyer transaction node signs a secret agreement, if so, executing C3, otherwise, executing C1;
c3: instructing a buyer transaction node to try out the intellectual property of the chip;
c4: instructing the buyer transaction node to sign an authorization contract;
c5: judging whether a buyer transaction node pays for obtaining the fee for using the intellectual property of the chip, if so, executing C6, otherwise, executing C4;
c6: judging whether the seller transaction node confirms the collection of the money, if so, executing C7, otherwise, executing C5;
c7: instructing a buyer transaction node to obtain a use authorization for using the chip intellectual property;
c8: and judging whether the authorization of the seller transaction node for the intellectual property right of the chip is expired, if so, determining that the transaction is ended, otherwise, executing C7.
5. The method of claim 1, wherein when the chip development transaction goal is a chip development business, the intelligent contract comprises, for each employer transaction node and each employee transaction node:
d1: instructing an employer trading node to propose a chip development task;
d2: instructing the employee transaction node to set a development node and development cost for one development module in the chip development task;
d3: determining whether an employer trading node accepts the development node and the development cost, if so, performing D4, otherwise performing D2;
d4: instructing an employee trading node to develop the development module;
d5: determining whether the employer trading node confirms that the development process conforms to the development node, if so, executing D6, otherwise executing D4;
d6: determining whether the employer transaction node pays for development, if so, executing D7, otherwise executing D5;
d7: and D6 is executed if the employee transaction node confirms collection, if yes, the research and development of the research and development module is finished, otherwise, the operation is executed.
6. A chip development transaction data storage system based on smart contracts, comprising: at least two system nodes and at least two transaction nodes, wherein,
the system nodes are always on-line stably operated nodes;
the at least two system nodes are used for storing an intelligent contract aiming at a chip development transaction target on a block chain, acquiring transaction data and intelligent contract message data generated by the at least two transaction nodes according to the intelligent contract in the process of participating in the chip development transaction target in a preset time period, and determining at least two consensus nodes aiming at the preset time period; the chip research and development transaction targets are a chip real object trading service, a chip intellectual property right authorized use service and a chip research and development service;
the at least two consensus nodes are used for sequentially and circularly performing at least one hash operation on block headers obtained according to the transaction data and the intelligent contract message data and determining target consensus nodes as accounting nodes, wherein each hash operation of each consensus node obtains one hash value, and the target consensus nodes preferentially calculate the hash values smaller than a preset autonomous mining target value;
the accounting node is used for storing the transaction data and the intelligent contract message data in the generated new block and linking the new block to a block chain;
the at least two consensus nodes are used for respectively generating point reward transaction information corresponding to each consensus node, packaging the point reward transaction information, the transaction data and the intelligent contract message data corresponding to each consensus node to obtain a corresponding block main body aiming at each consensus node, performing hash operation on the block main body to obtain a first Merkle tree root hash value corresponding to the consensus node, and performing at least one hash operation on a corresponding block head in sequence according to a predetermined node sorting result to obtain at least one hash value, wherein aiming at each consensus node, if the consensus node is the system node, the point reward transaction information corresponding to the consensus node comprises a reward point reward integral value and a reward node identification, the reward node identification is used for identifying one target authorization node, if the consensus node is the authorization node, the point reward transaction information corresponding to the consensus node comprises the reward integral value, and for each consensus node, the block head corresponding to the consensus node comprises the first Merkle root hash value corresponding to the consensus node, the second Merkle root hash value of the last block on the block chain and an autonomous mining random number, and the autonomous mining random number changes according to a preset rule, so that the block head comprises different autonomous mining random numbers when the consensus node performs hash operation on the block head each time; the target authorization nodes identified by the reward node identification are selected from all target authorization nodes, and the probability that the target authorization nodes with higher corresponding participation degree are selected is higher;
the at least two common recognition nodes comprise at least one target authorization node and at least two system nodes, wherein the at least one target authorization node is obtained by screening from at least one authorization node, the authorization node is a professional user node with common recognition authority, the probability that the authorization node is selected as the target authorization node is proportional to the participation degree corresponding to the authorization node, the participation degree is determined by part or all of the online time and the evaluation score of the authorization node, and the at least one target authorization node is arranged behind the at least two system nodes according to the sequence of the participation degree from large to small;
the system further comprises: at least one authorized node, at least one ordinary node and at least one guest node;
the authorization node is an office user node with consensus authority;
the common node is an operating user node with a block reading authority in the alliance;
the guest node is a user node outside the alliance and reading the transaction data and the intelligent contract message data related to the guest node from a block chain;
the common node is used for submitting an application becoming an authorized node and becoming the authorized node after the application is approved;
the visitor node is used for submitting an application of becoming a common node and becoming the common node after the application is approved;
if the accounting node is the system node, issuing points corresponding to the reward point value to the target authorization node identified by the reward node identification according to the reward point value and the reward node identification included in the point reward transaction information corresponding to the accounting node;
if the accounting node is an authorized node, issuing points corresponding to the reward point value to the accounting node according to the reward point value included in the point reward transaction information corresponding to the accounting node;
the points are used for improving the participation of the nodes.
CN201811520132.1A 2018-12-12 2018-12-12 Chip research and development transaction data storage method and system based on intelligent contract Active CN109726201B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811520132.1A CN109726201B (en) 2018-12-12 2018-12-12 Chip research and development transaction data storage method and system based on intelligent contract
PCT/CN2019/072287 WO2020118857A1 (en) 2018-12-12 2019-01-18 Smart contract-based chip research and development transaction data storage method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811520132.1A CN109726201B (en) 2018-12-12 2018-12-12 Chip research and development transaction data storage method and system based on intelligent contract

Publications (2)

Publication Number Publication Date
CN109726201A CN109726201A (en) 2019-05-07
CN109726201B true CN109726201B (en) 2020-05-05

Family

ID=66294933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811520132.1A Active CN109726201B (en) 2018-12-12 2018-12-12 Chip research and development transaction data storage method and system based on intelligent contract

Country Status (2)

Country Link
CN (1) CN109726201B (en)
WO (1) WO2020118857A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125245A (en) * 2019-11-21 2020-05-08 深圳壹账通智能科技有限公司 Data processing method and device based on block chain and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157142A (en) * 2016-06-30 2016-11-23 惠众商务顾问(北京)有限公司 A kind of block chain common recognition and synchronous method, system and device
CN107464118A (en) * 2017-08-16 2017-12-12 济南浪潮高新科技投资发展有限公司 A kind of data trade method based on block chain intelligence contract
CN108632293A (en) * 2018-05-16 2018-10-09 山东建筑大学 Architectural Equipment Internet of things system based on block chain technology and method
CN108681898A (en) * 2018-05-15 2018-10-19 广东工业大学 A kind of data trade method and system based on block chain
CN108805714A (en) * 2018-06-07 2018-11-13 广东工业大学 A kind of chip transaction record method and relevant apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881165B (en) * 2017-05-16 2021-03-26 江峰 Multi-center authentication system with block issuing mechanism
CN108717659A (en) * 2018-04-03 2018-10-30 中电科大数据研究院有限公司 A kind of measures of tax collection and framework based on block chain
CN108711052B (en) * 2018-05-18 2021-04-30 电子科技大学 Information verification system based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157142A (en) * 2016-06-30 2016-11-23 惠众商务顾问(北京)有限公司 A kind of block chain common recognition and synchronous method, system and device
CN107464118A (en) * 2017-08-16 2017-12-12 济南浪潮高新科技投资发展有限公司 A kind of data trade method based on block chain intelligence contract
CN108681898A (en) * 2018-05-15 2018-10-19 广东工业大学 A kind of data trade method and system based on block chain
CN108632293A (en) * 2018-05-16 2018-10-09 山东建筑大学 Architectural Equipment Internet of things system based on block chain technology and method
CN108805714A (en) * 2018-06-07 2018-11-13 广东工业大学 A kind of chip transaction record method and relevant apparatus

Also Published As

Publication number Publication date
WO2020118857A1 (en) 2020-06-18
CN109726201A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN109657501B (en) Traceable anti-tampering chip research and development transaction data storage method and system
CN109690539A (en) Self-cleaning token pool
CN110192216B (en) Computer-implemented method and system
CN107742352A (en) Decentralization lot/queuing strategy and system based on block chain and intelligent contract
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN108256954A (en) A kind of choosing method and its terminal of Presents Giving scheme
CN109711869B (en) Chip research and development transaction data storage method and system
KR20200062640A (en) Method for managing artwork transaction inforamtion based on blockchain and node apparatus of blockchain
Laurence Introduction to blockchain technology
CN109684519B (en) Decentralized chip research and development transaction data storage method and system based on block chain
CN112632186A (en) Block chain consensus method, computer equipment and block chain system
CN107798592A (en) Calculate the method and apparatus of commission
CN110326017A (en) The system and method for reversed sealed bid auction
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
WO2019200279A1 (en) Utilizing digital data assets in a blockchain platform using a transactional proof of work
CN109726201B (en) Chip research and development transaction data storage method and system based on intelligent contract
KR102479166B1 (en) open market system of ship supplies for chinese-speaking country
KR102274935B1 (en) open market system for ship supplies providing a transaction recommendation function through web log analysis
CN114723534A (en) E-commerce transaction rationality judgment method based on block chain and related equipment
KR102149999B1 (en) System Providing Mergers and Acquisitions Service based on Block Chain using heterogeneous virtual currency and Method for operating the same
KR102149998B1 (en) System Providing Mergers and Acquisitions Service based on Block Chain using multi-chain layer and Method for operating the same
KR102169311B1 (en) Subscription method using smart contract based block chain
TWM587787U (en) Blockchain-based electronic ticketing random-selection selling system
CN110910104A (en) Block chain virtual currency taking Internet of things equipment data items as mining method
WO2020185188A1 (en) Online real estate market platform, based on blockchain technology

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
CP03 Change of name, title or address

Address after: Room 808, Building 8, Yunchuang Gagu R&D Center, No. 428 Zhiqiang Road, Xihu District, Hangzhou City, Zhejiang Province, 310000

Patentee after: Hangzhou Kiel Technology Co.,Ltd.

Address before: 310030 room 609, building 5, No. 3, Xiyuan Third Road, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: HANGZHOU KILBY BLOCKCHAIN TECHNOLOGY Ltd.

CP03 Change of name, title or address