CN111178892B - Block chain-based data flow processing method and device and block chain system - Google Patents
Block chain-based data flow processing method and device and block chain system Download PDFInfo
- Publication number
- CN111178892B CN111178892B CN201911415921.3A CN201911415921A CN111178892B CN 111178892 B CN111178892 B CN 111178892B CN 201911415921 A CN201911415921 A CN 201911415921A CN 111178892 B CN111178892 B CN 111178892B
- Authority
- CN
- China
- Prior art keywords
- order
- information
- circulation
- data
- target
- 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
Links
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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- 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
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides a data flow processing method and device based on a block chain and a block chain system, wherein the method comprises the following steps: acquiring a purchase request; the purchase request is used for representing the requirement of the buyer node for purchasing the target data; determining order information of a target order according to the purchase request; the target order is configured with N sub-orders, and each sub-order is used for representing the circulation of at least one group of data content in the target data between a buyer node and a seller node; wherein N is an integer greater than or equal to 2; and deploying the intelligent contract corresponding to the target order in the block chain by using the evidence so that the block chain can execute circulation of all the sub orders according to the intelligent contract. The invention does not need to deploy an intelligent contract for each circulation between the buyer and the seller, can reduce the evidence consumed by deploying the intelligent contract, and effectively reduces the overhead cost.
Description
Technical Field
The present invention relates to the field of data flow, and in particular, to a data flow processing method and apparatus based on a block chain, and a block chain system.
Background
In a blockchain-based data flow, different nodes may deliver fees and data based on an intelligent contract, respectively, and if the data flow is regarded as an implementation of a transaction between a buyer and a seller on a blockchain, the different nodes may correspond to the buyer and the seller in the transaction. However, the data that the buyer needs to buy may be provided by one seller or may be provided by a plurality of sellers.
In the related art, if data to be purchased is provided by a plurality of vendors, respectively: for a transfer event between a buyer and each seller, an intelligent contract is required to be deployed, and the deployment of the intelligent contract requires the expenditure of a certificate (token), and further, for a data requirement of the buyer, a plurality of intelligent contracts are required to be correspondingly deployed, so that the expenditure of the certificate is large, and the expenditure is large.
Disclosure of Invention
The invention provides a data flow processing method and device based on a block chain and a block chain system, and aims to solve the problems of more certificates and higher cost which are required to be consumed.
According to a first aspect of the present invention, a method for processing a data flow based on a block chain is provided, and is applied to any one of nodes in the block chain, and the method is characterized by comprising:
acquiring a purchase request; the purchase request is used for representing the requirement of the buyer node for purchasing the target data;
determining order information of a target order according to the purchase request; the target order is configured with N sub-orders in a related manner, and each sub-order is used for representing a circulation event between a buyer node and a seller node related to at least one group of data contents in the target data; wherein N is an integer greater than or equal to 2;
deploying the intelligent contract corresponding to the target order in the block chain by using the expense permit so that the block chain can execute the circulation event of all the sub orders according to the intelligent contract; the method comprises the steps that order information of a target order is recorded in a deployed intelligent contract, wherein the order information comprises circulation state information of each sub-order; the circulation state information is used for representing the execution progress of the corresponding circulation event; the circulation state information in the intelligent contract can be updated according to the actual execution progress of each circulation event.
Optionally, the flow state information includes at least one of:
the order has established the state of the intelligent contract to be deployed;
a status to be paid;
a state of completion of the circulation event;
state of timeout of flow event.
Optionally, the order information further includes at least one of the following:
seller information used for representing seller nodes in each circulation event;
the data metadata are used for representing the data content required to be delivered by the seller node in each circulation event;
the sub-order amount information is used for representing the amount of money required to be paid by each circulation event;
the buyer information is used for representing the buyer node of the target order;
target data information for characterizing the target data.
Optionally, determining order information of the target order according to the purchase request includes:
and determining the seller information and the data element information according to the target data represented by the purchase request and the corresponding relation between different data contents and different nodes.
Optionally, determining order information of the target order according to the purchase request includes:
and determining the sub-order amount information according to the price of each data content which is determined in advance.
Optionally, the deployed intelligent contract defines a circulation logic for each circulation event, and the circulation logic for each circulation event is the same.
According to a second aspect of the present invention, there is provided a data flow processing apparatus based on a block chain, applied to any one node in the block chain, including:
the request acquisition module is used for acquiring a purchase request; the purchase request is used for representing the requirement of the buyer node for purchasing the target data;
the order determining module is used for determining order information of the target order according to the purchase request; the target order is configured with N sub-orders in a related manner, and each sub-order is used for representing a circulation event between a buyer node and a seller node related to at least one group of data content in the target data; wherein N is an integer greater than or equal to 2;
the contract deployment module is used for consuming a general certificate to deploy the intelligent contract corresponding to the target order in the block chain, so that the block chain can execute the circulation event of all the sub orders according to the intelligent contract; the method comprises the steps that order information of a target order is recorded in a deployed intelligent contract, wherein the order information comprises circulation state information of each sub-order; the circulation state information is used for representing the execution progress of the corresponding circulation event; the circulation state information in the intelligent contract can be updated according to the actual execution progress of each circulation event.
According to a third aspect of the invention, there is provided an electronic device comprising a memory and a processor,
the memory is used for storing codes;
the processor is configured to execute the code in the memory to implement the method of the first aspect and its alternatives.
According to a fourth aspect of the present invention, there is provided a storage medium having stored thereon a program which, when executed by a processor, carries out the method of the first aspect and alternatives thereof.
According to a fifth aspect of the present invention there is provided a blockchain system comprising a plurality of nodes, any one of which is a fourth aspect and alternatives thereof relating to an electronic device.
According to the data circulation processing method and device based on the block chain and the block chain system, all the sub orders of a buyer and a plurality of sellers can be integrated in a target order, and then an intelligent contract is deployed only based on the target order and can supervise the execution of all circulation events in the target order on the execution block chain.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a first block chain structure according to an embodiment of the present invention;
FIG. 2 is a block chain structure diagram of an embodiment of the present invention;
fig. 3 is a schematic flowchart of a data stream processing method based on a block chain according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating step S12 according to an embodiment of the present invention;
FIG. 5 is a block chain-based data flow processing apparatus according to an embodiment of the present invention;
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical means of the present invention will be described in detail with reference to specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
FIG. 1 is a first block chain structure according to an embodiment of the present invention; FIG. 2 is a block chain structure diagram of the second embodiment of the present invention; fig. 3 is a flowchart illustrating a data flow processing method based on a block chain according to an embodiment of the present invention.
The method according to this embodiment is implemented based on the blockchain, and further, it can be applied to any node of the blockchain.
Taking fig. 1 as an example, the blockchain may have a plurality of nodes 100, each of which may be an electronic device, and specifically, may be an electronic device with certain data processing capability and data storage capability. It may be a terminal, for example: the mobile phone, the computer, the tablet computer, and the like can also be a server, and meanwhile, a single node can be a single terminal or a server, or a combination of multiple terminals, a combination of multiple servers, or a combination of a terminal and a server.
Further, the nodes 100 in the blockchain may be used to implement distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like.
The method according to the present embodiment may be applied to any one of the nodes 100 shown in fig. 1.
In addition, taking fig. 2 as an example, some of the nodes 201 may be separate nodes without being connected to or communicating with other devices, some of the nodes 202 may be connected to or networked with other devices, and further, the nodes 202 may be centralized platforms capable of communicating with other devices 203 or the nodes 201; in other examples, node 202 may also be a device that connects to other centralized platforms.
The method according to this embodiment may be applied to any one of the nodes 202 and 201 shown in fig. 2.
Referring to fig. 3, the method for processing a data flow based on a block chain, applied to any one of nodes in the block chain, includes:
s11: acquiring a purchase request;
s12: determining order information of a target order according to the purchase request;
s13: and deploying the intelligent contracts corresponding to the target orders in the block chain by using the expense permit so that the block chain can execute circulation events of all the sub orders according to the intelligent contracts.
The purchase request in step S11 may be understood as a request for characterizing the buyer node to purchase the target data. In one example, the purchase request may be generated and obtained by a node implementing the method, that is: the node implementing the method is a buyer node, and in another example, the purchase request may be generated by other nodes and then sent to the node implementing the method to be acquired by the node; in another example, the purchase request may also be generated by a device outside the blockchain, and sent to the node implementing the method to be acquired.
Taking fig. 2 as an example, in the implementation process, if the method is applied to the node 202, the node 202 may receive a purchase request from another device 203, may directly generate the purchase request at the node 202 to obtain the purchase request, and may also receive the purchase request from another node 201 in the blockchain.
In addition, this embodiment does not exclude an implementation in which the node implementing the method is a seller node or a buyer node.
In the purchase request, target data information for characterizing the target data and buyer information for characterizing the buyer node may be carried. Further, the target data information and the customer information can be directly used when the order information is specified.
In step S12, N sub-orders are configured in association with the target order, where each sub-order is used to represent a flow event between a buyer node and a seller node related to at least one group of data content in the target data; wherein N may be an integer greater than or equal to 2.
Furthermore, all the sub-orders of one buyer and a plurality of sellers can be integrated into one target order, and then, only an intelligent contract needs to be deployed based on the target order, and the intelligent contract can supervise the execution of all the circulation events in the target order on the execution block chain.
The intelligent contract can be understood as being used for supervising and ensuring that the logic defined in the intelligent contract can be accurately implemented, and meanwhile, the intelligent contract can be deployed in a block chain. Therefore, the deployed intelligent contract may define the circulation logic of each circulation event, and since the present embodiment is applied to data circulation, the circulation logic of each circulation event mainly relates to delivery of data and payment of fees, for example: if the seller node delivers the data, payment of the contracted fee may be triggered, and/or: and triggering the seller node to deliver the data if the delivery of the appointed fee is completed. Furthermore, because the logic in the data flow events is uniform, the flow logic of each flow event can be the same in the specific implementation process.
In other examples, the above target order may also be associated with only one sub-order, that is: n may also be 1, and at this time, an intelligent contract associated with only one sub-order may be deployed, so that the block chain can execute the circulation of the sub-order according to the intelligent contract.
In addition, the circulation logic only defines a cause and effect on the logic, and if circulation needs to be realized, the specific contents of circulation need to be combined, so the intelligent contracts of the deployed persons also record the order information of the target orders.
The order information therein may be understood as any information associated with the target order and its sub-orders. The order information of the target order can be recorded in the intelligent contract deployed in the step S13, so that the execution of the intelligent contract can ensure that the circulation event represented by the order can be smoothly executed.
In one embodiment, the order information may include circulation status information of each sub-order; the circulation state information can be understood as representing the execution progress of the corresponding circulation event; in a specific implementation process, the circulation state information may include at least one of the following:
the order has established the state of the intelligent contract to be deployed;
a status to be paid;
a status of the data to be delivered;
a state of completion of the circulation event;
the state of event timeout is transferred.
As can be seen, before the intelligent contracts are deployed to the blockchain, the circulation state information in the intelligent contracts may be: the order already creates a state of the intelligent contract to be deployed, and after the intelligent contract is deployed to the blockchain, if the buyer needs to pay the fee is defined in the circulation logic of the intelligent contract, the order is as follows: the circulation state information in the intelligent contract may be: in the state to be paid, whether the buyer node completes the payment of the total amount cost corresponding to the target order or not can be monitored, and whether the buyer node completes the payment of the amount cost corresponding to the sub-order or not can be monitored in other examples; if the seller delivery data is defined in the circulation logic of the intelligent contract, then: the circulation state information in the intelligent contract may be: a status of the data to be delivered; if the required payment is completed and/or the delivery of the data is completed, the circulation status information in the intelligent contract may be: a state of completion of the circulation event; if the payment and delivery are not completed in the preset time, the circulation state information in the intelligent contract may be: the state of event timeout is transferred.
In one embodiment, the circulation state information in the intelligent contract can be updated according to the actual execution progress of each circulation event. The general evidence for information updating needs to be consumed, however, the general evidence for information updating needs to be consumed by the intelligent contract is far less than the general evidence for information updating needs to be consumed by deploying the intelligent contract, and the general evidence for information updating needs to be specifically understood as follows: the pass-certificate consumed by updating the circulation state information of all circulation events and the pass-certificate consumed by deploying one intelligent contract are always smaller than the pass-certificates consumed by respectively deploying the intelligent contracts for all circulation events.
Therefore, although the information updating also consumes the evidence, under the condition that only one intelligent contract is deployed, the evidence consumed in the whole circulation process can be effectively reduced, and the lower overhead cost is ensured.
For example: creating an intelligent contract, even if creating an empty intelligent contract which does not contain any logic, 100 general proofs may be spent, but updating the created intelligent contract may only cost 5 general proofs, and further, taking 5 orders as an example, if 5 intelligent contracts are deployed, at least 500 is spent even if no updating is done; if only 1 intelligent contract is created, 120 passes are spent on creation (120 passes are used instead of 100 passes because the 1 intelligent contract contains information of 5 sub-orders and needs more expenses), and then 5 passes are spent on each update, and the whole circulation event may be within 150.
The pass to which step S13 and the above description refer may be understood as Token, which may also be characterized as signaling, pass through, etc., which may be applied to rights, encryption, and circulation in the blockchain.
In one embodiment, the order information further includes at least one of:
seller information used for representing seller nodes in each circulation event; which may be at least one of a name of the seller, a unit/person identification, and other information that may be used to describe the seller, for example;
the data metadata are used for representing the data content required to be delivered by the seller node in each circulation event; the information may be any information describing the data content, for example, information describing the function of the data content, such as lane data, video data, and the like, or information describing the source of the data content, such as data from a certain company, data from a certain region, and the like; but also, for example, information describing the generation time of the data content, and at least one of any of the above listed may be used as the data meta information;
the sub-order amount information is used for representing the amount of money required to be paid by each circulation event; it may be a pre-calibrated amount, for example, pre-calibrated prices of data contents, and recorded by a list, or may be an amount specified by a seller or buyer;
the buyer information is used for representing the buyer node of the target order; which may be, for example, at least one of a buyer's name, entity/personal identification, and other information that may be used to describe the buyer;
target data information for characterizing the target data.
Fig. 4 is a flowchart illustrating step S12 according to an embodiment of the present invention.
Referring to fig. 4, in order to facilitate determination of the above information, step S12 may include, for example:
s121: and determining the seller information and the data element information according to the target data represented by the purchase request and the corresponding relation between different data contents and different nodes.
The corresponding relationship between different data contents and different nodes may be pre-recorded in the blockchain or the node implementing the method, and further, after the purchase request is obtained, the seller node from which the corresponding data content is purchased may be known. In the specific implementation process, the corresponding relations between different data contents and different nodes can be pre-recorded in a list manner.
Step S12 may also include, for example:
s122: and determining the sub-order amount information according to the price of each data content which is determined in advance.
The price may be pre-recorded in the blockchain or a node implementing the method, for example, the price of the data content of each seller may be pre-calibrated, and the price may be a calibrated total price, which is determined as order amount information; the order amount information may be a unit price, and further, the order amount information may be determined based on the unit price and the data amount of the data content.
In another embodiment, the bidding price may be specified by the buyer in the purchase request, and is predetermined, that is: the purchase request may include the above priced related information. In another embodiment, the bidding price may be predetermined after querying the corresponding seller node.
The buyer information and the target data information may be information directly described in the purchase request. And can be directly recorded when determining order information.
The steps S121 and S122 may be alternatively or both implemented.
In summary, in the data flow processing method and apparatus based on the blockchain and the blockchain system provided in this embodiment, all sub-orders of a buyer and a plurality of sellers can be integrated into one target order, and then, only an intelligent contract needs to be deployed based on the target order, and the intelligent contract can supervise execution of all flow events in the target order in the execution blockchain.
Fig. 5 is a schematic diagram of program modules of a data stream processing apparatus based on a block chain according to an embodiment of the present invention.
Referring to fig. 5, the apparatus 300 for processing data flow based on block chain includes:
a request acquiring module 301, configured to acquire a purchase request; the purchase request is used for representing the requirement of the buyer node for purchasing the target data;
an order determining module 302, configured to determine order information of the target order according to the purchase request; the target order is configured with N sub-orders in a related manner, and each sub-order is used for representing a circulation event between a buyer node and a seller node related to at least one group of data content in the target data; wherein N is an integer greater than or equal to 2;
and the contract deploying module 303 is configured to consume a pass-through to deploy the intelligent contract corresponding to the target order in the blockchain, so that the blockchain can execute a circulation event of all the sub orders according to the intelligent contract.
The deployed intelligent contract records order information of the target order, wherein the order information comprises circulation state information of each sub-order; the circulation state information is used for representing the execution progress of the corresponding circulation event; the circulation state information in the intelligent contract can be updated according to the actual execution progress of each circulation event.
Optionally, the flow state information includes at least one of the following:
the order has established the state of the intelligent contract to be deployed;
a status to be paid;
a state of completion of the circulation event;
the state of event timeout is transferred.
Optionally, the order information further includes at least one of the following:
seller information used for representing seller nodes in each circulation event;
the data metadata are used for representing the data content required to be delivered by the seller node in each circulation event;
the sub-order amount information is used for representing the amount of money required to be paid for each circulation event;
the buyer information is used for representing the buyer node of the target order;
target data information for characterizing the target data.
Optionally, the order determining module 302 is specifically configured to:
and determining the seller information and the data element information according to the target data represented by the purchase request and the corresponding relation between different data contents and different nodes.
Optionally, the order determining module 302 is specifically configured to:
and determining the sub-order amount information according to the price of each data content which is determined in advance.
Optionally, the deployed intelligent contract defines a circulation logic for each circulation event, and the circulation logic for each circulation event is the same.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Referring to fig. 6, an electronic device 40 is provided, which includes:
a processor 41; and the number of the first and second groups,
a memory 42 for storing executable instructions of the processor;
wherein the processor 31 is configured to perform the above-mentioned method via execution of the executable instructions.
The processor 41 is capable of communicating with the memory 42 via the bus 43.
The present embodiment also provides a blockchain system, which includes a plurality of nodes, wherein any one of the nodes is the electronic device mentioned above.
The present embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-mentioned method.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A data flow processing method based on a block chain is applied to any one node in the block chain, and is characterized by comprising the following steps:
acquiring a purchase request; the purchase request is used for representing the requirement of the buyer node for purchasing the target data;
according to the purchase request, determining order information of a target order; the target order is configured with N sub-orders in a related manner, and each sub-order is used for representing a circulation event between a buyer node and a seller node related to at least one group of data content in the target data; wherein N is an integer greater than or equal to 2;
deploying an intelligent contract corresponding to the target order in the block chain by using a general certificate so that the block chain can execute circulation events of all sub orders according to the intelligent contract; the method comprises the steps that order information of a target order is recorded in a deployed intelligent contract, wherein the order information comprises circulation state information of each sub-order; the circulation state information is used for representing the execution progress of the corresponding circulation event; the circulation state information in the intelligent contract can be updated according to the actual execution progress of each circulation event.
2. The method of claim 1, wherein the streaming state information comprises at least one of:
the order has established the state of the intelligent contract to be deployed;
a status to be paid;
a state of completion of the circulation event;
the state of event timeout is transferred.
3. The method of claim 1, wherein the order information further comprises at least one of:
seller information used for representing seller nodes in each circulation event;
the data metadata are used for representing the data content required to be delivered by the seller node in each circulation event;
the sub-order amount information is used for representing the amount of money required to be paid for each circulation event;
the buyer information is used for representing the buyer node of the target order;
target data information for characterizing the target data.
4. The method of claim 3, wherein determining order information for the target order based on the purchase request comprises:
and determining the seller information and the data element information according to the target data represented by the purchase request and the corresponding relation between different data contents and different nodes.
5. The method of claim 3, wherein determining order information for a target order based on the purchase request comprises:
and determining the sub-order amount information according to the price of each data content which is determined in advance.
6. The method of any of claims 1 to 5, wherein the flow logic for each flowed event is defined in the deployed intelligent contract, and wherein the flow logic for each flowed event is the same.
7. A data flow processing device based on a block chain is applied to any one node in the block chain, and is characterized by comprising:
the request acquisition module is used for acquiring a purchase request; the purchase request is used for representing the requirement of a buyer node for purchasing the target data;
the order determining module is used for determining order information of the target order according to the purchase request; the target order is configured with N sub-orders in a related manner, and each sub-order is used for representing a circulation event between a buyer node and a seller node related to at least one group of data content in the target data; wherein N is an integer greater than or equal to 2;
the contract deployment module is used for consuming a general certificate to deploy the intelligent contract corresponding to the target order in the block chain so that the block chain can execute the circulation event of all the sub orders according to the intelligent contract; the method comprises the steps that order information of a target order is recorded in a deployed intelligent contract, wherein the order information comprises circulation state information of each sub-order; the circulation state information is used for representing the execution progress of the corresponding circulation event; the circulation state information in the intelligent contract can be updated according to the actual execution progress of each circulation event.
8. An electronic device comprising a memory and a processor;
the memory is used for storing codes;
the processor configured to execute code in the memory to implement the method of any one of claims 1 to 7.
9. A storage medium having a program stored thereon, the program being characterized in that it implements the method of any one of claims 1 to 6 when executed by a processor.
10. A blockchain system comprising a plurality of nodes, wherein any one of the nodes is the electronic device of claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911415921.3A CN111178892B (en) | 2019-12-31 | 2019-12-31 | Block chain-based data flow processing method and device and block chain system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911415921.3A CN111178892B (en) | 2019-12-31 | 2019-12-31 | Block chain-based data flow processing method and device and block chain system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111178892A CN111178892A (en) | 2020-05-19 |
CN111178892B true CN111178892B (en) | 2023-04-18 |
Family
ID=70655980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911415921.3A Active CN111178892B (en) | 2019-12-31 | 2019-12-31 | Block chain-based data flow processing method and device and block chain system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111178892B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112967041A (en) * | 2021-02-26 | 2021-06-15 | 成都质数斯达克科技有限公司 | Asset exchange method, electronic device and readable storage medium |
CN114663080A (en) * | 2022-04-08 | 2022-06-24 | 北京京东乾石科技有限公司 | Data processing method, device, equipment and medium based on block chain system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108109017A (en) * | 2018-01-11 | 2018-06-01 | 杭州秘猿科技有限公司 | Commodity trading system based on block chain intelligence contract |
CN109087165A (en) * | 2018-07-19 | 2018-12-25 | 广州广大通电子科技有限公司 | A kind of evaluation method of user's prestige based on block chain intelligence contract |
CN109377219A (en) * | 2018-10-15 | 2019-02-22 | 深圳市必住科技有限公司 | Transaction of servitude method, system, server and storage medium based on block chain |
CN109544160A (en) * | 2018-11-20 | 2019-03-29 | 杭州呯嘭智能技术有限公司 | A kind of transaction authenticity verification methods and system based on block chain and intelligent contract |
CN109685674A (en) * | 2018-12-21 | 2019-04-26 | 众安信息技术服务有限公司 | Order based on block chain leads to cardization, compensation, the method, apparatus of inquiry and storage medium |
CN110097463A (en) * | 2019-03-28 | 2019-08-06 | 众安信息技术服务有限公司 | Credit Assets based on block chain support the method for commerce and transaction system of logical card |
CN110223142A (en) * | 2019-05-25 | 2019-09-10 | 上海源庐加佳信息科技有限公司 | A kind of supply chain implementation method based on block chain technology |
CN110275925A (en) * | 2019-05-31 | 2019-09-24 | 阿里巴巴集团控股有限公司 | Virtual resource allocation method and apparatus based on block chain |
CN110580618A (en) * | 2018-06-11 | 2019-12-17 | 触信(厦门)智能科技有限公司 | Commodity transaction method and system for block chain intelligent contracts |
-
2019
- 2019-12-31 CN CN201911415921.3A patent/CN111178892B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108109017A (en) * | 2018-01-11 | 2018-06-01 | 杭州秘猿科技有限公司 | Commodity trading system based on block chain intelligence contract |
CN110580618A (en) * | 2018-06-11 | 2019-12-17 | 触信(厦门)智能科技有限公司 | Commodity transaction method and system for block chain intelligent contracts |
CN109087165A (en) * | 2018-07-19 | 2018-12-25 | 广州广大通电子科技有限公司 | A kind of evaluation method of user's prestige based on block chain intelligence contract |
CN109377219A (en) * | 2018-10-15 | 2019-02-22 | 深圳市必住科技有限公司 | Transaction of servitude method, system, server and storage medium based on block chain |
CN109544160A (en) * | 2018-11-20 | 2019-03-29 | 杭州呯嘭智能技术有限公司 | A kind of transaction authenticity verification methods and system based on block chain and intelligent contract |
CN109685674A (en) * | 2018-12-21 | 2019-04-26 | 众安信息技术服务有限公司 | Order based on block chain leads to cardization, compensation, the method, apparatus of inquiry and storage medium |
CN110097463A (en) * | 2019-03-28 | 2019-08-06 | 众安信息技术服务有限公司 | Credit Assets based on block chain support the method for commerce and transaction system of logical card |
CN110223142A (en) * | 2019-05-25 | 2019-09-10 | 上海源庐加佳信息科技有限公司 | A kind of supply chain implementation method based on block chain technology |
CN110275925A (en) * | 2019-05-31 | 2019-09-24 | 阿里巴巴集团控股有限公司 | Virtual resource allocation method and apparatus based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN111178892A (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110599182B (en) | Resource management method and device | |
US20130117159A1 (en) | Transaction platform data processing method and system | |
US20200286132A1 (en) | Second-hand vehicle transaction method and server | |
WO2019213779A1 (en) | Blockchain data exchange network and methods and systems for submitting data to and transacting data on such a network | |
US20100306124A1 (en) | System for determining high quality musical recordings | |
CN111563823B (en) | Network work copyright transaction processing method, device and system based on blockchain | |
US20050080638A1 (en) | Product marketing system and method | |
US20070233604A1 (en) | Software distribution | |
CN111178892B (en) | Block chain-based data flow processing method and device and block chain system | |
US20050043963A1 (en) | Product recycle fee payment method and system | |
KR102334336B1 (en) | Online shared sales platform and methods of operation thereof | |
WO2019083933A1 (en) | Transactions for transferring goods employing lockers | |
KR102136976B1 (en) | Service method for tokenization mobile gift card and service provider thereof | |
US20230410104A1 (en) | Digital asset transaction platform and system | |
CN109886676A (en) | Method of payment, calculating equipment, storage medium for block chain network | |
Le et al. | Implementation of a blockchain-based event reselling system | |
CA3166041A1 (en) | Systems and methods for blockchain network congestion-adaptive digital asset event handling | |
CN108876339B (en) | E-pet transaction method and device based on certificate | |
JP2003288534A (en) | Contents charging method, and system and processor for contents charging using the contents charging method | |
CN108564354A (en) | settlement method, service platform and server | |
JP2023137790A (en) | Photographic image registration system | |
CN115510049A (en) | Method, device, equipment and storage medium for inputting standard data of medicine | |
CN115809440A (en) | Method and device for managing copyrighted works based on block chain | |
CN116228381A (en) | Money issuing method, money issuing device, computer equipment and readable storage medium | |
CN114723429A (en) | Block chain based non-homogenous instrument trading systems, methods, media and devices |
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 |