Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In engineering construction, the fund allocation and pay distribution of engineering construction are realized in a mode of applying layer by layer and allocating and paying step by step. The method has the advantages of more complicated approval process and longer circulation period; and the phenomena of non-smooth fund flow, non-timely payment and the like are easy to occur, so that the problems of slow turnover of fund flow of related enterprises, non-timely wage distribution of builders and the like are caused.
For example, the payment mode of the current government project is mainly progressive payment, the government pays funds to the general contracting agent, and then the general contracting agent pays funds to the subcontracting agent or the supplier, so that the phenomena of fund interception, payment delinquent and improper payment are easy to occur.
The embodiment of the disclosure provides a transaction method and device based on a block chain network. The block chain network comprises a supervision node and M consensus nodes; intelligent contracts for managing transaction sequences are deployed on the blockchain network. The method comprises the following steps: in response to target transaction information generated by the supervision node, determining N target consensus nodes in the plurality of consensus nodes, wherein the target transaction information comprises target project information, and M is more than or equal to N and more than or equal to 2; calling an incidence relation logic corresponding to the target project information in the intelligent contract, and determining the transaction sequence of each target consensus node; generating a target transaction event corresponding to the target transaction information according to the transaction sequence so that each target consensus node performs consensus processing on the target transaction event based on a preset consensus mechanism to generate a consensus result; and recording the target transaction event in the blockchain under the condition that the consensus result meets the consensus condition.
Fig. 1 schematically illustrates anexemplary system architecture 100 to which a blockchain network-based transaction method may be applied, according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, asystem architecture 100 according to this embodiment may includeclients 101, 102, 103, anetwork 104, and aconsensus node 105. Thenetwork 104 is used to provide a medium for communication links between theclients 101, 102, 103 and theconsensus node 105.Network 104 may include various connection types, such as wired and/or wireless communication links, and so forth.
A user may useclients 101, 102, 103 to interact with aconsensus node 105 over anetwork 104 to receive or send messages, etc. Theclients 101, 102, 103 may have various messaging client applications installed thereon, such as a banking application, a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, and/or social platform software, etc. (by way of example only).
Clients 101, 102, 103 may be a variety of electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablets, laptop portable computers, desktop computers, and the like.
It should be noted that the transaction method based on the blockchain network provided by the embodiment of the present disclosure may be generally performed by theconsensus node 105. Accordingly, the transaction apparatus based on the blockchain network provided by the embodiment of the present disclosure may be generally disposed in theconsensus node 105. The transaction method based on the blockchain network provided by the embodiment of the present disclosure may also be performed by a consensus node or a consensus node cluster different from theconsensus node 105 node and capable of communicating with theclients 101, 102, 103 and/or the supervisory node. Accordingly, the blockchain network-based transaction provided by the embodiment of the present disclosure may also be disposed in a consensus node or a cluster of consensus nodes different from theconsensus node 105 and capable of communicating with theclients 101, 102, 103 and/or the policing node.
It should be understood that the number of clients, networks, and consensus nodes in fig. 1 is merely illustrative. There may be any number of clients, networks, and consensus nodes, as desired for an implementation.
It should be noted that the transaction method, apparatus, computer system, computer readable storage medium and computer program product based on the blockchain network of the present disclosure may be used in the financial field and the blockchain technology field, and may also be used in any field except the blockchain technology field and the financial field.
The block chain network-based transaction method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a blockchain network based transaction method according to an embodiment of the present disclosure.
As shown in fig. 2, the blockchain network-based transaction method of the embodiment includes operations S201 to S204. The block chain network comprises a supervision node and M consensus nodes; intelligent contracts for managing transaction sequences are deployed on the blockchain network.
In operation S201, in response to target transaction information generated by a supervision node, N target consensus nodes are determined among a plurality of consensus nodes, wherein the target transaction information comprises target project information, and M ≧ N ≧ 2.
According to an embodiment of the present disclosure, the blockchain system may include, for example, a hyper-leader Fabric alliance chain system. The policing system may comprise, for example, a system installed on a client, which may be, for example, a node in the Fabric system, or may be an external device separate from the Fabric system. The targeted transaction information may include, for example, funding information. The target item information may include, for example, contract information, funds payer information, and funds recipient information.
According to an embodiment of the present disclosure, the target consensus node may include, for example, a node associated with contract information in the target project information described above.
For example, the project information of a certain project includes first contract information and second contract information, the first contract information being signed by a unit and B unit, and the second contract information being signed by B unit and C, D unit. The target consensus node may include nodes associated with a units, B units, C units, and D units.
In operation S202, the association logic corresponding to the target item information in the intelligent contract is invoked to determine the transaction sequence of each target consensus node.
According to an embodiment of the present disclosure, the association relation logic corresponding to the target project information may be determined, for example, according to contract information associated with the target project information.
For example, after a project is initiated by a project building entity, the project building entity enters into a first contract with a general contractor and then enters into a second contract with the general contractor and a supplier. The order of the trades for the project is to first execute the trades with the project building units and the general contractors and to execute the trades between the general contractors and subcontractors.
In operation S203, a target transaction event corresponding to the target transaction information is generated according to the transaction sequence, so that each target consensus node performs consensus processing on the target transaction event based on a preset consensus mechanism, and a consensus result is generated.
According to embodiments of the present disclosure, a targeted transaction event may include, for example, a plurality of transaction split events. The transaction split event may be determined by a transaction sequence, for example. For example, where a construction project includes two trading activities according to a trading order, the number of trade sub-events associated with the construction project may include two. Wherein, each transaction event corresponds to a transaction action.
In operation S204, in case that the consensus result satisfies the consensus condition, the target transaction event is recorded in the blockchain.
According to an embodiment of the present disclosure, after the consensus result satisfies the consensus condition, each consensus node may pack the target transaction event into a block and then connect the generated block with the end of the existing block chain.
According to the embodiment of the disclosure, the payment sequence of each target consensus node is determined through incidence relation logic according to target payment information generated by the supervision node, a corresponding target payment event is generated according to the payment sequence, and the target payment event is recorded in the block chain under the condition that the consensus result meets the consensus condition. The method and the device realize the penetrating type transfer function among the multi-level users based on the block chain network, can meet the requirement that the upstream group supervises and monitors the capital flow direction of the downstream group under the condition that the user group is complex, and can prevent the condition that the capital chain is broken.
According to the embodiment of the present disclosure, before executing the transaction method based on the blockchain network provided in the present embodiment, target item information such as contract information needs to be uploaded to the blockchain network.
According to an embodiment of the present disclosure, the transaction sequence includes a first transaction sequence and a second transaction sequence.
According to an embodiment of the present disclosure, the transaction priority of the first transaction order is higher than the second transaction order. When a target transaction event associated with the target item information is executed, a first transaction event associated with a first transaction sequence is executed first, and then a second transaction event associated with a second transaction sequence is executed.
It should be noted that the above embodiments are only exemplary embodiments, and the number of transaction sequences may include any number according to the specific implementation needs.
According to an embodiment of the present disclosure, generating a target transaction event corresponding to target transaction information according to a transaction order includes:
a first transaction event is generated based on the target item information and a target consensus node associated with the first transaction sequence. A second transaction event is generated based on the target item information and the target consensus node associated with the second transaction sequence. And generating a target transaction event according to the first transaction event and the second transaction event.
According to an embodiment of the present disclosure, the target item information may include, for example, contract information, money payer information, and money receiver information. The contract information may include, for example, fund trading value information. The funding party information may include, for example, account number information of a payment account of the payer, issuer information of the payment account, name information of the payer, and the like. The fund receiver information may include, for example, account information of a receiving account of the receiver, account opening information of the receiving account, name information of the receiver, and the like. It should be noted that the above embodiments are only exemplary embodiments, and the target item information may also include other information according to specific implementation needs.
According to embodiments of the present disclosure, the first transaction event may include, for example, a first transaction consensus node and a funding transaction value determination. The first transaction consensus node may comprise, for example, a node associated with the funds payer information and the funds recipient information.
For example, the node associated with the funds-payer information is a payment node associated with a first financial institution, the node associated with the funds-receiver information is a receiving node associated with a second financial institution, and the funds-transaction value is K. The first transaction event is the transfer of K funds in the funds payer information to the funds recipient information in the receiving node by the payment node.
According to an embodiment of the present disclosure, the second transaction event corresponds to the description of the first transaction event, and is not described herein again.
According to an embodiment of the present disclosure, after determining a plurality of first and second transaction events, a target transaction event is generated from the first and second transaction events.
According to an embodiment of the present disclosure, in case that the consensus result satisfies the consensus condition, recording the target transaction event in the blockchain comprises:
in the event that the consensus result corresponding to the first transaction event satisfies the consensus condition, recording the first transaction event in the blockchain. And recording the second transaction event in the block chain under the condition that the preset time threshold is reached and the consensus result corresponding to the second transaction event meets the consensus condition.
According to an embodiment of the present disclosure, the preset time threshold may include, for example, 1 hour, 12 hours, 24 hours, or the like. The preset time threshold can be any time threshold according to specific implementation needs.
According to an embodiment of the present disclosure, after recording the first transaction event in the blockchain, further comprising:
determining a state of a transaction resource associated with the first transaction event as a frozen state, wherein the frozen state is used to characterize the transaction resource as an unavailable state.
According to embodiments of the present disclosure, after recording the first transaction event in the blockchain, funds associated with the first transaction event are transferred from the payer account to the receiver account. In this case, in the case of the second transaction event, in order to be able to guarantee the supervision of the funds and in order to be able to finally reach the funds into the account of the recipient associated with the second transaction event, the funds may be blocked, for example, in the account of the recipient associated with the first transaction event. The situation that the fund is stolen in the target execution event, so that the fund chain is broken is prevented.
It should be noted that the above embodiments are only exemplary embodiments, and in the case that there are multiple transaction split events in the target transaction event, the funds of each of the other receivers may be frozen before the funds are transferred to the final receiver.
For example, if the target event includes an A event, a B event, and a C event in the order of the transaction. The funds with the recipient in the a and B events may be frozen. When the receiver in the event A or the event B needs to transfer the fund out, the fund is unfrozen.
Fig. 3 schematically shows a flow chart of a blockchain network based transaction method according to an embodiment of the present disclosure.
As shown in fig. 3, the blockchain network-based transaction method is performed by nodes associated withproject building entities 301,general contractors 302,labor subcontractors 303, andlabor workers 304.
Thelabor sub-package 303 initiates payment on the blockchain, and theproject construction organization 301 completes the audit through the step-by-step approval on the blockchain system. After the audit is completed, theproject construction unit 301 generates target transaction information on the supervisory node, and generates a target transaction event according to the target transaction information.
The targeted transaction event may include a first payment event, a second payment event, and a third payment event. The first payment event represents an event in which theproject building entity 301 pays funds to thegeneral contractor 302, the second payment event represents an event in which thegeneral contractor 302 pays funds to thelabor subcontractor 303, and the third payment event represents an event in which thelabor subcontractor 303 pays funds to thelabor worker 304.
The first payment event, the second payment event and the third payment event are sequentially executed according to the payment order. And recording the first payment event, the second payment event, and the third payment event in a blockchain.
It should be noted that after the first transaction event is performed, the funds are collected into thegeneral contractor 302 account, at which point the funds may be blocked from thegeneral contractor 302 account. The funds are thawed again when the second transaction event is executed. After the second transaction event is performed, the funds arrive in the labor sub-package 303 account, at which point the funds may be frozen in the labor sub-package 303 account. When the third transaction event is executed, the fund is unfrozen.
According to an embodiment of the present disclosure, generating a target transaction event corresponding to the target transaction information according to the transaction order further includes:
the master node and the slave nodes are determined at the plurality of target consensus nodes according to the first transaction sequence and the second transaction sequence. And generating a target transaction event according to the target item information, the master node and the slave node.
According to embodiments of the present disclosure, the master node may for example comprise a payment node associated with a payer of a first transaction order, and the slave node may for example comprise a receiving node associated with a receiver of a second transaction order. The target transaction event may consist of, for example, a value of a fund transaction, the payment node and the receiving node described above. That is, the funds in the payment account in the payment node are transferred directly to the collection account in the receiving node, while preventing the funds from passing through other intermediate nodes between the payment node and the receiving node.
According to the embodiment of the disclosure, the method can realize the cross-level payment of the payer and the receiver, reduce the fund transfer link, ensure accurate fund transfer, ensure the special fund transfer and timely transfer.
According to the embodiment of the disclosure, the through payment based on the blockchain system has the characteristics of incapability of tampering, traceability, sharability and the like of the blockchain uplink data, and the problems are solved. The method provides an innovative payment mode, enhances the information transparency and credit transfer in engineering construction, and performs penetrating full-life-cycle management on the engineering project by means of technical means such as contract chaining, process management chaining, fund payment chaining and the like, thereby realizing a transparent system for fund supervision.
Fig. 4 schematically shows a flow chart of another blockchain network-based transaction method according to an embodiment of the present disclosure.
As shown in fig. 4, the blockchain network-based trading method is performed by nodes associated withproject building units 401,general contractors 402, andsuppliers 403.
Thesupplier 403 initiates a request for payment in the blockchain, and theproject construction unit 401 completes the audit after the group of payment is completed by thegeneral contractor 402 and theproject construction unit 401 on the blockchain system. After the auditing is completed, theproject construction unit 401 generates target transaction information on the supervision node, and generates a target transaction event according to the target transaction information. The target transaction event characterizes the event of theproject building entity 401 paying funds to thesupplier 403.
When the target transaction event is executed, funds in theproject building entity 401 account are transferred directly to theprovider 403 account. The method realizes the penetrating transfer of the engineering fund, directly transfers the fund from theproject construction unit 401 to thesupplier 403, reduces the fund transfer link, ensures the fund transfer accuracy, ensures the special fund transfer and timely transfer.
According to an embodiment of the present disclosure, the transaction method based on the blockchain network further includes:
and responding to the fund transaction request, and uploading initial transaction information corresponding to the fund transaction request to the monitoring node. And verifying the initial transaction information through the supervision node, and outputting a verification result. And under the condition that the verification result represents that the verification of the initial transaction information is successful, generating target transaction information according to the initial transaction information through the supervision node.
According to embodiments of the present disclosure, the initial transaction information may include, for example, target item information and an initial funds transaction value. The method for the supervising node to verify the initial transaction information may include, for example, verifying the initial fund transaction value by the target fund transaction value in the target item information.
According to the embodiment of the disclosure, if the initial fund transaction value is consistent with the target fund transaction value in the target item information, the verification is passed. In the case that the initial fund transaction value is greater than or less than the target fund transaction value in the target item information, the verification fails.
Further, for example, a verification result of a verification failure may be output only in the case where the initial fund transaction value is greater than the target fund transaction value in the target item information. And under the condition that the initial fund transaction value is smaller than the target fund transaction value in the target item information, outputting a verification passing result. While the remaining non-transacted funds need to be paid again at any time thereafter.
Based on the transaction method based on the blockchain network, the disclosure also provides a transaction device based on the blockchain network. The apparatus will be described in detail below with reference to fig. 5.
Fig. 5 schematically shows a block diagram of a transaction apparatus based on a blockchain network according to an embodiment of the present disclosure.
As shown in fig. 5, the blockchain network-basedtransaction apparatus 500 of this embodiment includes afirst response module 501, acalling module 502, afirst generation module 503, and arecording module 504. The block chain network comprises a supervision node and M consensus nodes; intelligent contracts for managing transaction sequences are deployed on the blockchain network.
Thefirst response module 501 is configured to determine N target consensus nodes among the plurality of consensus nodes in response to target transaction information generated by the monitoring node, where the target transaction information includes target item information, and M ≧ N ≧ 2. Thefirst response module 501 may be configured to perform the operation S201 described above, and is not described herein again.
The invokingmodule 502 is configured to invoke an association relationship logic corresponding to the target item information in the intelligent contract, and determine a transaction sequence of each target consensus node. In an embodiment, the callingmodule 502 may be configured to perform the operation S202 described above, which is not described herein again.
Thefirst generating module 503 is configured to generate a target transaction event corresponding to the target transaction information according to the transaction sequence, so that each target consensus node performs consensus processing on the target transaction event based on a preset consensus mechanism to generate a consensus result. Thefirst generating module 503 may be configured to perform the operation S203 described above, and is not described herein again.
Arecording module 504, configured to record the target transaction event in the blockchain if the consensus result satisfies the consensus condition. Therecording module 504 may be configured to perform the operation S204 described above, which is not described herein again.
According to the embodiment of the disclosure, the payment sequence of each target consensus node is determined through incidence relation logic according to target payment information generated by the supervision node, a corresponding target payment event is generated according to the payment sequence, and the target payment event is recorded in the block chain under the condition that the consensus result meets the consensus condition. The method and the device realize the penetrating type transfer function among the multi-level users based on the block chain network, can meet the requirement that the upstream group supervises and monitors the capital flow direction of the downstream group under the condition that the user group is complex, and can prevent the condition that the capital chain is broken.
According to an embodiment of the present disclosure, the transaction sequence includes a first transaction sequence and a second transaction sequence.
According to an embodiment of the present disclosure, thefirst generating module 503 includes a first generating unit, a second generating unit, and a third generating unit.
And the first generating unit is used for generating a first transaction event according to the target item information and the target consensus node associated with the first transaction sequence.
And the second generating unit is used for generating a second transaction event according to the target item information and the target consensus node associated with the second transaction sequence.
And the third generating unit is used for generating a target transaction event according to the first transaction event and the second transaction event.
According to an embodiment of the present disclosure, therecording module 504 includes a first recording unit and a second recording unit.
And the first recording unit is used for recording the first transaction event in the blockchain under the condition that the consensus result corresponding to the first transaction event meets the consensus condition.
And the second recording unit is used for recording the second transaction event in the block chain under the condition that the preset time threshold is reached and the consensus result corresponding to the second transaction event meets the consensus condition.
According to an embodiment of the present disclosure, the blockchain network basedtransaction device 500 further includes a freezing module.
The freezing module is used for determining the state of the transaction resource associated with the first transaction event as a freezing state, wherein the freezing state is used for representing that the transaction resource is in an unavailable state.
According to an embodiment of the present disclosure, thefirst generating module 503 further includes a determining unit and a fourth generating unit.
And the determining unit is used for determining the master node and the slave nodes at the target consensus nodes according to the first transaction sequence and the second transaction sequence.
And the fourth generating unit is used for generating the target transaction event according to the target item information, the master node and the slave node.
According to an embodiment of the present disclosure, the blockchain network basedtransaction apparatus 500 further includes a second response module, a verification module, and a second generation module.
And the second response module is used for responding to the fund transaction request and uploading initial transaction information corresponding to the fund transaction request to the monitoring node.
The checking module is used for checking the initial transaction information through the supervision node and outputting a checking result;
and the second generation module is used for generating target transaction information according to the initial transaction information through the supervision node under the condition that the verification result represents that the verification of the initial transaction information is successful.
According to the embodiment of the present disclosure, any plurality of the first respondingmodule 501, the callingmodule 502, thefirst generating module 503, and therecording module 504 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first respondingmodule 501, the callingmodule 502, thefirst generating module 503 and therecording module 504 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or may be implemented by any one of three implementations of software, hardware and firmware, or any suitable combination of any of them. Alternatively, at least one of the first respondingmodule 501, the callingmodule 502, thefirst generating module 503 and therecording module 504 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
Fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a blockchain network-based transaction method according to an embodiment of the present disclosure.
As shown in fig. 6, anelectronic device 600 according to an embodiment of the present disclosure includes aprocessor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from astorage section 608 into a Random Access Memory (RAM) 603.Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. Theprocessor 601 may also include onboard memory for caching purposes.Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In theRAM 603, various programs and data necessary for the operation of theelectronic apparatus 600 are stored. Theprocessor 601, theROM 602, and theRAM 603 are connected to each other via abus 604. Theprocessor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in theROM 602 and/orRAM 603. It is to be noted that the programs may also be stored in one or more memories other than theROM 602 andRAM 603. Theprocessor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 600 may also include input/output (I/O)interface 605, input/output (I/O)interface 605 also connected tobus 604, according to an embodiment of the disclosure. Theelectronic device 600 may also include one or more of the following components connected to the I/O interface 605: aninput portion 606 including a keyboard, a mouse, and the like; anoutput portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; astorage section 608 including a hard disk and the like; and acommunication section 609 including a network interface card such as a LAN card, a modem, or the like. Thecommunication section 609 performs communication processing via a network such as the internet. Thedriver 610 is also connected to the I/O interface 605 as needed. Aremovable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on thedrive 610 as necessary, so that a computer program read out therefrom is mounted in thestorage section 608 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include theROM 602 and/orRAM 603 described above and/or one or more memories other than theROM 602 andRAM 603.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the transaction method based on the blockchain network provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by theprocessor 601. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, downloaded and installed through thecommunication section 609, and/or installed from theremovable medium 611. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through thecommunication section 609, and/or installed from theremovable medium 611. The computer program, when executed by theprocessor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.