CN111798315A - Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium - Google Patents
Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium Download PDFInfo
- Publication number
- CN111798315A CN111798315A CN202010629897.XA CN202010629897A CN111798315A CN 111798315 A CN111798315 A CN 111798315A CN 202010629897 A CN202010629897 A CN 202010629897A CN 111798315 A CN111798315 A CN 111798315A
- Authority
- CN
- China
- Prior art keywords
- intelligent contract
- transaction
- chain
- information
- contract
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 42
- 238000005065 mining Methods 0.000 claims abstract description 26
- 238000012790 confirmation Methods 0.000 claims description 30
- 238000012546 transfer Methods 0.000 claims description 19
- 238000004891 communication Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 32
- 230000008569 process Effects 0.000 description 22
- 238000011161 development Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000009412 basement excavation Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004936 stimulating effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses an intelligent contract system, an intelligent contract management method, equipment and a readable storage medium, wherein the method comprises the steps of obtaining the contribution degree of an application node connected with the intelligent contract system; calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts; sending the calculated equity result to a public chain connected with the intelligent contract system through a cross-chain protocol, so that the public chain generates the equity; when a transaction request for the equity is received, a transaction operation is completed according to the transaction contract. Various rights and interests including WID generation and transaction in a public chain are managed through a mining contract and a transaction contract in an intelligent contract, and the intelligent contract and the transaction contract are put into the same contract system, so that the whole ecological chain forms a closed loop capable of falling to the ground, and the intelligent contract and the method can be really implemented. Meanwhile, corresponding rights and interests are distributed to the application nodes according to the contribution degree, so that the application nodes can be really cooperated with one another to be in the same ecological system.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to an intelligent contract system, an intelligent contract management method, intelligent contract management equipment and a readable storage medium.
Background
Smart contracts were first introduced by nike sambo in 1995, which in summary refers to a commitment agreement defined and automatically executed by a computer program. But it was not realized due to the technical limitation of that time.
Modern intelligent contracts are firstly realized on ETH, and the operation of contracts is jointly ensured by an ETH public link and an EVM. There are also some initial references of intelligent contracts on some public chains (ETH, EOS), and these contracts are all run in the public chain, and the public chain is used as a carrier, such as comparing the primary game class and exchange class. However, due to the limitations of the devices, there is a great gap from the applications in real life, and the devices are difficult to use in real life. In addition, most of the tradable intelligent contracts are limited by the speed of the public link platform, and the speed is not high. The centralized transaction is fast, but has the problems of no supervision and low safety.
Disclosure of Invention
The application mainly aims to provide an intelligent contract system, an intelligent contract management method, equipment and a readable storage medium, and aims to solve the problem that the existing intelligent contract cannot be actually used.
To achieve the above object, the present application provides an intelligent contract system, which includes:
the mining contract is used for distributing corresponding rights and interests according to the contribution degree of each application node connected with the intelligent contract system;
the trade contract is used for serving the trade connected with the intelligent contract system so as to carry out trade and arbitration service.
Optionally, the mining contract allocates corresponding rights and interests according to the contribution degree of each application node and performs cross-link communication with the public link to enable the public link to generate corresponding rights and interests.
Optionally, the transaction contract runs on a side chain of the public chain, and the transaction contract employs a BFT-based WBFT consensus protocol.
Optionally, the public chain has WIDs as a general interest.
The application also comprises an intelligent contract management method, which is applied to an intelligent contract system, wherein the intelligent contract system comprises mining contracts and trading contracts, and the intelligent contract management method comprises the following steps:
acquiring the contribution degree of an application node connected with the intelligent contract system;
calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts;
sending the calculated equity result to a public chain connected with the intelligent contract system through a cross-chain protocol, so that the public chain generates the equity;
when a transaction request for the equity is received, a transaction operation is completed according to the transaction contract.
Optionally, the step of obtaining the contribution degree of the application node connected to the intelligent contract system includes:
acquiring the node type of an application node;
and determining a contribution degree generation rule of the application node according to the node type.
Optionally, the step of completing a transaction operation according to the transaction contract when a transaction request for the right is received comprises:
when a transaction request for the rights and interests is received, acquiring the locking information in the transaction request;
sending chain-crossing and bin-locking information to a public chain according to the bin-locking information, so that the public chain is subjected to chain-crossing and bin-locking;
judging whether transaction objection information is received or not;
and when transaction objection information is not received and transaction confirmation information is received, sending cross-chain transfer information to a public chain according to the transaction confirmation information, so that the public chain transfers the rights and interests of the locked warehouse.
Optionally, the step of determining whether the transaction objection information is received comprises:
when transaction objection information and arbitration confirmation information are received, acquiring multiple signature information in the arbitration confirmation information;
verifying the multiple signature information;
and if the verification is passed, sending cross-chain transfer information to the public chain according to the arbitration confirmation information.
The present application further provides an intelligent contract management apparatus, including: the intelligent contract management program comprises a memory, a processor and an intelligent contract management program which is stored on the memory and can run on the processor, wherein the intelligent contract management program realizes the steps of the intelligent contract management method when being executed by the processor.
The present application also provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the intelligent contract management method as described above.
The contribution degree of an application node connected with the intelligent contract system is obtained; calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts; sending the calculated equity result to a public chain connected with the intelligent contract system through a cross-chain protocol, so that the public chain generates the equity; when a transaction request for the equity is received, a transaction operation is completed according to the transaction contract. Various rights and interests including WID generation and transaction in a public chain are managed through a mining contract and a transaction contract in an intelligent contract, and the intelligent contract and the transaction contract are put into the same contract system, so that the whole ecological chain forms a closed loop capable of falling to the ground, and the intelligent contract and the method can be really implemented. Meanwhile, corresponding rights and interests are distributed to the application nodes according to the contribution degree, so that the application nodes can be really cooperated with one another to be in the same ecological system.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application;
fig. 2 is a schematic diagram of a connection relationship between an intelligent contract system and other things according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating a first embodiment of an intelligent contract management method according to the present application;
FIG. 4 is a flowchart illustrating a detailed process of step S40 in FIG. 3 according to a third embodiment of the intelligent contract management method of the present application;
fig. 5 is a schematic flowchart of a step subsequent to step S43 in fig. 4 in the fourth embodiment of the intelligent contract management method of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
The terminal is intelligent contract management equipment.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that turns off the display screen and/or the backlight when the terminal device is moved to the ear. Of course, the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an intelligent contract management program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the intelligent contract management program stored in the memory 1005 and perform the following operations:
acquiring the contribution degree of an application node connected with the intelligent contract system;
calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts;
sending the calculated equity result to a public chain connected with the intelligent system through a cross-chain protocol, so that the public chain generates the equity;
when a transaction request for the equity is received, a transaction operation is completed according to the transaction contract.
Based on the above terminal hardware structure, various embodiments of the present application are provided.
In one embodiment of the present application, the present application provides an intelligent contract architecture comprising:
mine mining contracts and trading contracts.
The mining contract is used for distributing corresponding rights and interests according to the contribution degree of each application node connected with the intelligent contract system;
the trade contract is used for serving the trade connected with the intelligent contract system so as to carry out trade and arbitration service.
An intelligent contract, in general, refers to a commitment agreement defined and automatically executed by a computer program. The mining contract in the application is different from the current mining mechanism (only by power consumption and power sharing), and mining is performed according to the contribution degree of alliances, communities, funds, ecological malls, industrial services and the like, so that corresponding rights and interests are obtained. The contribution degree of each application node to the whole ecology can be reflected more directly and effectively through the contribution degree, the contribution degree is not judged simply according to power loss, meanwhile, different application nodes such as alliances, development communities, popularization communities, e-commerce services and industry platforms which are possibly included in the application are different in division of work in the whole ecology, so that power consumption is not required to compare with the calculation power, the corresponding contribution degree is obtained for different application nodes according to beneficial work of the different application nodes to a public link platform actually, then the rights and interests are obtained through the corresponding contribution degree, and the rights and interests in different scenes can be converted into corresponding WIDs in the public link uniformly. The trade contract can also be called trade management contract, the main function of the contract is to carry out trade, management, inquiry, arbitration and other operations for off-site trade in the decentralized exchange, when the trade operation is needed for rights and interests including WID, the trade process is managed according to the trade contract so as to complete the trade, management, inquiry and arbitration process of the trade. The exchange can be a W-CBEx exchange or other exchanges meeting contract requirements. Referring to fig. 2, the intelligent contract system includes mining contracts and trading contracts, while the intelligent contract system is connected with exchanges, application nodes, and public chains.
In another embodiment, the mining contract allocates corresponding rights according to the contribution degree of each application node and performs cross-link communication with the public link to enable the public link to generate corresponding rights. The method comprises the steps of determining corresponding contribution degree generation rules through the types of application nodes, distributing corresponding rights and interests in different scenes, sending generated rights and interests related information to a public link through cross-link communication, and enabling the public link to generate corresponding rights and interests.
In yet another embodiment of the intelligent contract system, the transaction contract may run on a contract chain that is the side chain of the public chain and employ a WBFT consensus protocol based on BFT, i.e., the transaction contract is neither located on the public chain nor at the exchange, is not overwritten by a third party, is more secure, and is faster because of BFT-based.
Wherein, WID is used as the universal right in the public chain. In different application scenes, different application nodes can generate different rights and interests, meanwhile, the WID is used as a universal right and interest in a public chain, and the rights and interests in the different application scenes can use the WID as a standard in a transaction process to complete a corresponding transaction process.
The application also provides an intelligent contract management method.
Referring to fig. 3, in a first embodiment of the intelligent contract management method, the intelligent contract management method is based on the intelligent contract system, and the method includes:
step S10, acquiring the contribution degree of the application node connected with the intelligent contract system;
the application node comprises: the contribution degree is obtained according to the work which is generated by different application nodes and is beneficial to the whole platform, and the standards for obtaining the contribution degree are different for different application nodes. For each node in the industrial chain platform, the corresponding contribution degree can be obtained by finishing the beneficial work corresponding to the platform. And simultaneously acquiring the contribution degree of each application node by the mining contract, and determining corresponding rights and interests distribution according to the contribution degree.
Step S20, calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts;
the interest of each application node is calculated according to the contribution degree of each application node by the mining contract, and different from the traditional power consumption ratio calculation power, when the corresponding interest is obtained according to the contribution degree, the contribution degree of each application node is firstly obtained by the mining contract, and then the corresponding interest is calculated according to the contribution degree of each application node and distributed to each application node.
Step S30, the calculated right and interest result is sent to the public chain connected with the intelligent contract system through a cross-chain protocol, so that the public chain generates the right and interest;
and after each application node acquires corresponding rights and interests according to the contribution degree requirement, sending the rights and interests result obtained by calculation to the public link according to the cross-link protocol, and distributing corresponding rights and interests to the corresponding application nodes by the public link according to the rights and interests result information obtained by calculation and storing the rights and interests into the accounts of the corresponding application nodes. The universal right in the public chain is WID, namely the right in different application scenes can be converted into WID according to a certain conversion relation, and the conversion ratio for converting between different rights and WID is determined through a trading exchange and a trading contract in the trading process, namely the conversion ratio can be dynamically adjusted in different trades. Mining property rights are mined according to the contribution degree, rights and interests are generated and are linked with industrial application, and data information circulation between industrial chain platforms can be carried by the WID. The intrinsic value of the corresponding WID is also higher, so that the application nodes are stimulated to increase contribution degrees to mine excavation, a good positive feedback is formed, and all the application nodes in the platform can actively participate in the construction of the platform.
Step S40, when receiving the trade request for the right, completing the trade operation according to the trade contract;
after the application node obtains the corresponding rights and interests, the transaction can be carried out according to the rights and interests in the account, and the main function of the transaction contract is to provide operations of transaction, management, inquiry, arbitration and the like for off-site transactions in the exchange. Meanwhile, the trading contract runs on the contract chain of the side chain of the public chain, is independent of the public chain, cannot be easily rewritten by others, and is safer. The transaction management contract can receive a locking request from the exchange, and correspondingly locks the rights and interests of corresponding application nodes in the public chain, if the exchange and the buyer and the seller do not disagree with the transaction, the exchange sends transaction confirmation information to the transaction contract, when the transaction confirmation information is received, cross-chain transfer operation is completed according to the previous locking information, if the disagreement exists, the exchange arbitrates the transaction, meanwhile, the exchange sends the transaction arbitration confirmation information and the multiple signatures to the transaction contract, and then the transaction contract can perform cross-chain transfer according to the arbitration confirmation information and the multiple signatures, namely, the rights and interests of the locking are transferred to the seller or transferred back to the buyer again.
In this embodiment, the contribution degree of the application node connected to the intelligent contract system is obtained; calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts; sending the calculated equity result to a public chain connected with the intelligent contract system through a cross-chain protocol, so that the public chain generates the equity; when a transaction request for the equity is received, a transaction operation is completed according to the transaction contract. Various rights and interests including WID generation and transaction in a main chain are managed through a mine digging contract and a transaction contract in an intelligent contract and are put into the same contract system, and the whole ecological chain forms a closed loop capable of falling to the ground, so that the full-automatic intelligent contract can be really realized by falling to the ground. Meanwhile, corresponding rights and interests are distributed to the application nodes according to the contribution degree, so that the application nodes can be really cooperated with one another to be in the same ecological system.
Further, on the basis of the above-described embodiments of the intelligent contract management method of the present application, there is provided a second embodiment of the intelligent contract management method in which, in the second embodiment,
step S10 is preceded by:
step A1, acquiring the node type of the application node;
common application node types include: alliances, development communities, industrial nodes, and the like. The alliance generally comprises financial institutions, the development community comprises members for developing functions of the application platform, and the industrial nodes can comprise various nodes for utilizing the application platform to carry out practical application, such as e-commerce enterprise nodes, data nodes, resource nodes, information nodes and the like.
Step A2, determining the contribution degree generation rule of the application node according to the node type;
for different application nodes, because the roles of the application nodes in the industrial chain platform are different and the tasks are different, the generation rules for acquiring the contribution degrees are also not completely the same. Without limiting the conventional power consumption based power consumption to obtain corresponding benefits. For example, for an application node of a federation type, the federation node includes a bank, a fund and the like, and can provide services such as payment service, supervision and authentication and the like, as long as the payment service or supervision and authentication service work beneficial to federation is generated, the contribution degree can be obtained, and corresponding rights and interests can be obtained according to the contribution degree. For the community-type application nodes, community members can make their own contribution for the whole platform, for example, development and maintenance are performed on a public link platform, good construction suggestions are provided, and the contribution degree can be obtained and corresponding rights and interests can be obtained according to the contribution degree. For application nodes with industrial types, such as e-commerce enterprise nodes, data nodes, resource nodes, information nodes and the like, various work contribution behaviors in the nodes, such as e-commerce profit sharing output, data uploading, value analysis, information confirmation and the like, can obtain corresponding contribution degrees to obtain corresponding rights and interests. The corresponding rights and interests are obtained through the contribution degree, the WID in the public chain is included, the WID is hooked with the industrial application of each application node, and data information circulation between industrial chain platforms can be carried by the WID. The intrinsic value of the corresponding WID will also be higher, stimulating the application node to increase the contribution to mine, creating a benign positive feedback.
And acquiring a work result of the application node connected with the intelligent contract system, namely a corresponding work completion condition. And judging effective work matched with the application type in the work result of each application node through the previous contribution degree generation rule, namely work beneficial to an industrial chain, such as corresponding payment or supervision work in the application nodes of the alliance type, and development work for industrial application for the application nodes of the development type. And after the effective work of each application node is counted, distributing the contribution degree of each node according to the effective work.
Wherein, WID is used as the universal right in the public chain. The more users use the WID, the more diligent corresponding developers and builders can develop some communities and applications using the WID, and similarly, other application nodes can be prompted to use the WID more frequently, so that the WID value is increased again, and then the development and use of corresponding WID applications and communities are promoted again, and a corresponding forward loop is formed.
In this embodiment, different rights including WID generation are performed for different application nodes according to the contribution degree, and meanwhile, for different types of application nodes, not only is the corresponding digital currency acquired by calculation power relying on power loss, but also the application of intelligent contracts in an industrial chain can be realized.
Further, referring to fig. 3 and 4, on the basis of the above-described embodiments of the intelligent contract management method of the present application, there is provided a third embodiment of the intelligent contract management method, in which,
step S40 includes:
step S41, when a transaction request for the rights and interests is received, acquiring the locking information in the transaction request;
the exchange generates corresponding transaction information according to the transaction of the buyer and the seller, and simultaneously sends a transaction request to the transaction contract according to the transaction information, wherein the transaction request comprises the corresponding rights and interests of the seller to lock the warehouse, so that the part of rights and interests can not be traded any more temporarily.
Step S42, according to the lock bin information, cross-chain lock bin information is sent to a public chain, and the public chain is enabled to carry out cross-chain lock bin;
meanwhile, the transaction contract runs on a contract chain of a side chain of the public chain, and accounts corresponding to each application node are stored on the public chain, so after the lock bin information in the transaction request is received, the transaction contract sends cross-chain lock bin information to the public chain, including cross-chain lock bin for which account and for how many rights and interests in the account. And after the public link receives the related cross-chain lockbin information, locking the lockbin according to the related content in the cross-chain lockbin information.
Step S43, judging whether transaction objection information is received;
if the buyer and the seller disagree in the transaction process or send information of the disagreement to the exchange, the buyer and the seller judge that the disagreement exists in the transaction process at the moment and need the exchange to carry out arbitration, and the exchange sends information of the disagreement to tell the transaction contract that the disagreement exists in the transaction.
Step S44, when transaction disagreement information is not received and transaction confirmation information is received, cross-chain transfer information is sent to a public chain according to the transaction confirmation information, and the public chain transfers the rights and interests of the locked warehouse;
the exchange confirms the seller when the buyer transfers the money, simultaneously inquires whether the buyer and the seller disagree with the transaction process, if the disagree does not exist, the exchange sends transaction confirmation information to the transaction contract to tell the transaction contract that the buyer and the seller reach the agreement, the transaction can be normally carried out, and the money can be transferred. And after receiving the transaction confirmation information, the transaction contract sends cross-chain transfer information to the public chain according to the transaction confirmation information so that the public chain finishes transfer, thereby finishing the whole transaction process and finishing the corresponding transaction of the buyer and the seller.
In this embodiment, the transaction contract in the intelligent contract supervises the transaction process of the buyer and the seller, and can receive the information sent by the transaction and want to transmit the information, thereby ensuring the security in the transaction process.
Further, referring to fig. 4 and 5, on the basis of the above-mentioned embodiments of the intelligent contract management method of the present application, there is provided a fourth embodiment of the intelligent contract management method, in which,
step S43 is followed by:
step S45, when transaction objection information and arbitration confirmation information are received, multiple signature information in the arbitration confirmation information is obtained;
in the transaction process of the buyer and the seller, if the buyer and the seller disagree with the transaction process, such as the amount of the transaction, the transaction mode or other agreed information in the transaction process, the exchange can arbitrate the corresponding transaction, namely, judge what the actual transaction information should be in the transaction process, because the information in the block chain has traceability, the exchange can judge what the real transaction information is by inquiring the information which is recorded in the whole block chain and is related to the transaction and make an arbitration result, and after the exchange makes arbitration, the exchange can send arbitration confirmation information and multiple signatures to the transaction contract. The multiple signatures include the platform signature and the signature of the winning party in the arbitration result.
Step S46, verifying the multiple signature information;
after receiving the arbitration confirmation information and the multiple signatures, the transaction contract verifies the received multiple signatures to judge the authenticity of the arbitration confirmation information and simultaneously acquire the winning party in arbitration, thereby ensuring the authenticity of related information.
Step S47, if the verification is passed, cross-chain transfer information is sent to the public chain according to the arbitration confirmation information;
and after the information is verified, sending transfer information to the public chain according to the arbitration confirmation information so that the public chain finishes the transfer operation. And if the arbitration result is that the buyer wins, the arbitration confirmation information comprises the winning information of the buyer, the multiple signatures comprise a platform signature and a signature of the buyer, the public chain transfers the money according to the cross-chain transfer information, if the seller wins, the arbitration confirmation information comprises the winning information of the seller, and the multiple signatures comprise the platform signature and the signature of the seller.
Wherein the transaction request and the arbitration confirmation message are generated by a decentralized transaction. Generally, the decentralized exchange can be a special W-CBEx exchange or other decentralized exchanges meeting contract requirements.
In this embodiment, when there is disagreement between the buyer and the seller during the transaction process, the exchange arbitrates the transaction process, and the transaction appointment date determines a final cross-chain transfer result according to the arbitration result, and ensures fairness during the transaction process through an arbitration mechanism.
The specific implementation of the device and the readable storage medium (i.e., the computer-readable storage medium) of the present application has substantially the same extension as that of each embodiment of the intelligent contract management method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. An intelligent contract system, comprising:
the mining contract is used for distributing corresponding rights and interests according to the contribution degree of each application node connected with the intelligent contract system;
the trade contract is used for serving the trade connected with the intelligent contract system so as to carry out trade and arbitration service.
2. The intelligent contract architecture of claim 1,
and the mining contract calculates corresponding rights and interests according to the contribution degree of each application node and performs cross-link communication with the public link to enable the public link to generate corresponding rights and interests.
3. The intelligent contract architecture of claim 1,
the transaction contract runs on the side chain of the public chain, and the transaction contract employs a BFT-based WBFT consensus protocol.
4. The intelligent contract architecture of claim 1,
the public chain takes WID as the general interest.
5. An intelligent contract management method, wherein the intelligent contract management method is applied to an intelligent contract system, the intelligent contract system comprises mining contracts and trading contracts, and the intelligent contract management method comprises the following steps:
acquiring the contribution degree of an application node connected with the intelligent contract system;
calculating the rights and interests of the application nodes according to the contribution degrees and the mining contracts;
sending the calculated equity result to a public chain connected with the intelligent contract system through a cross-chain protocol, so that the public chain generates the equity;
when a transaction request for the equity is received, a transaction operation is completed according to the transaction contract.
6. The intelligent contract management method according to claim 5, wherein the step of obtaining the contribution degree of the application node connected to the intelligent contract architecture is preceded by:
acquiring the node type of an application node;
and determining a contribution degree generation rule of the application node according to the node type.
7. The intelligent contract management method of claim 5, wherein said step of completing a trading operation in accordance with the trading contract when a trading request for the right is received comprises:
when a transaction request for the rights and interests is received, acquiring the locking information in the transaction request;
sending chain-crossing and bin-locking information to a public chain according to the bin-locking information, so that the public chain is subjected to chain-crossing and bin-locking;
judging whether transaction objection information is received or not;
and when transaction objection information is not received and transaction confirmation information is received, sending cross-chain transfer information to a public chain according to the transaction confirmation information, so that the public chain transfers the rights and interests of the locked warehouse.
8. The intelligent contract management method of claim 7 wherein said step of determining whether transaction objection information is received is followed by the steps of:
when transaction objection information and arbitration confirmation information are received, acquiring multiple signature information in the arbitration confirmation information;
verifying the multiple signature information;
and if the verification is passed, sending cross-chain transfer information to the public chain according to the arbitration confirmation information.
9. An intelligent contract management apparatus, characterized in that the intelligent contract management apparatus comprises: a memory, a processor, and an intelligent contract management program stored on the memory and executable on the processor, the intelligent contract management program when executed by the processor implementing the steps of the intelligent contract management method according to any one of claims 5-8.
10. A readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the intelligent contract management method according to any one of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010629897.XA CN111798315A (en) | 2020-07-01 | 2020-07-01 | Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010629897.XA CN111798315A (en) | 2020-07-01 | 2020-07-01 | Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111798315A true CN111798315A (en) | 2020-10-20 |
Family
ID=72810040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010629897.XA Pending CN111798315A (en) | 2020-07-01 | 2020-07-01 | Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111798315A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112801785A (en) * | 2021-01-13 | 2021-05-14 | 中央财经大学 | Fair data transaction method and device based on block chain intelligent contract |
CN115914244A (en) * | 2022-09-23 | 2023-04-04 | 四川启睿克科技有限公司 | Method for optimizing distributed account book interoperability |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020860A (en) * | 2019-04-09 | 2019-07-16 | 湖南天河国云科技有限公司 | Across the chain assets transfer method of one kind, system and computer readable storage medium |
CN110458540A (en) * | 2019-07-25 | 2019-11-15 | 南京邮电大学 | It is a kind of based on contribution degree with claim tag know together mechanism algorithm |
CN110751476A (en) * | 2019-12-11 | 2020-02-04 | 广东中科智能区块链技术有限公司 | Method and system for managing side chain application by using block chain intelligent contract |
US20200193428A1 (en) * | 2019-04-29 | 2020-06-18 | Alibaba Group Holding Limited | Blockchain-based payment withholding and agreement signing method, apparatus, and electronic device |
-
2020
- 2020-07-01 CN CN202010629897.XA patent/CN111798315A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020860A (en) * | 2019-04-09 | 2019-07-16 | 湖南天河国云科技有限公司 | Across the chain assets transfer method of one kind, system and computer readable storage medium |
US20200193428A1 (en) * | 2019-04-29 | 2020-06-18 | Alibaba Group Holding Limited | Blockchain-based payment withholding and agreement signing method, apparatus, and electronic device |
CN110458540A (en) * | 2019-07-25 | 2019-11-15 | 南京邮电大学 | It is a kind of based on contribution degree with claim tag know together mechanism algorithm |
CN110751476A (en) * | 2019-12-11 | 2020-02-04 | 广东中科智能区块链技术有限公司 | Method and system for managing side chain application by using block chain intelligent contract |
Non-Patent Citations (1)
Title |
---|
云闯: "基于侧链技术的区块链可扩展性研究", 中国优秀硕士学位论文全文数据库, pages 19 - 29 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112801785A (en) * | 2021-01-13 | 2021-05-14 | 中央财经大学 | Fair data transaction method and device based on block chain intelligent contract |
CN112801785B (en) * | 2021-01-13 | 2023-10-20 | 中央财经大学 | Fair data transaction method and device based on blockchain intelligent contract |
CN115914244A (en) * | 2022-09-23 | 2023-04-04 | 四川启睿克科技有限公司 | Method for optimizing distributed account book interoperability |
CN115914244B (en) * | 2022-09-23 | 2024-05-17 | 四川启睿克科技有限公司 | Method for optimizing interoperability of distributed account book |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12026703B2 (en) | Blockchain-implemented method and system for access control on remote internet-enabled resources | |
CN109214818B (en) | Cross-chain transaction method and device | |
CN112967160B (en) | Block chain-based service processing system and method | |
CN108959621B (en) | Method, device, equipment and storage medium for realizing block chain network | |
EP4350600A2 (en) | Digital asset exchange | |
CN109155731B (en) | Management of cryptographic transactions | |
Xiong et al. | A notary group-based cross-chain mechanism | |
CN113222752A (en) | Data processing system, method, computing device and storage medium based on block chain | |
KR20210128452A (en) | Computer-implemented systems and methods for implementing transfers via blockchain networks. | |
CN112650764A (en) | Cross-chain data processing method, device, equipment and storage medium | |
CN110533419B (en) | Block chain-based sharing method, device and server of wind control model | |
CN111292174A (en) | Tax payment information processing method and device and computer readable storage medium | |
CN111985007A (en) | Contract signing and executing method and device based on block chain | |
CN112907244B (en) | Block chain-based data processing method, device, equipment and readable storage medium | |
CN113726890B (en) | Federal prediction method and system for block chain data service | |
CN108022090A (en) | Virtual account management method, equipment, system and readable storage medium storing program for executing | |
CN111798315A (en) | Intelligent contract system, intelligent contract management method, intelligent contract management device and readable storage medium | |
Shi et al. | MPCSToken: Smart contract enabled fault-tolerant incentivisation for mobile P2P crowd services | |
CN112613877A (en) | Intelligent contract triggering method and device applied to block chain network and related equipment | |
CN104008477A (en) | Mobile terminal on-site online payment method, apparatus and system | |
JP7340050B2 (en) | Method and apparatus for coordinating user interaction in environmental technology projects | |
Su et al. | Cross-chain exchange by transaction dependence with conditional transaction method | |
CN112101919A (en) | Data processing method and device, electronic equipment and storage medium | |
CN110852649A (en) | Resource management method, terminal, device and readable storage medium | |
US20130191265A1 (en) | Cloud-based system for performing online trading |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20211118 Address after: 239 Jingshi Road, Huaiyin District, Jinan City, Shandong Province Applicant after: Li Tao Address before: 518000 room 705, building 2, Beijing Aerospace Building, Gaoxin South ninth Road, Yuehai street, Nanshan District, Shenzhen, Guangdong Province Applicant before: Shenzhen Weilian Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right |