CN112132559B - Digital money transaction method, device, electronic equipment and readable storage medium - Google Patents

Digital money transaction method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112132559B
CN112132559B CN202010822148.9A CN202010822148A CN112132559B CN 112132559 B CN112132559 B CN 112132559B CN 202010822148 A CN202010822148 A CN 202010822148A CN 112132559 B CN112132559 B CN 112132559B
Authority
CN
China
Prior art keywords
contract
target
digital currency
intelligent contract
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010822148.9A
Other languages
Chinese (zh)
Other versions
CN112132559A (en
Inventor
徐晓剑
孙炎森
刘伟韡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Citic Bank Corp Ltd
Digital Currency Institute of the Peoples Bank of China
Original Assignee
China Citic Bank Corp Ltd
Digital Currency Institute of the Peoples Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Citic Bank Corp Ltd, Digital Currency Institute of the Peoples Bank of China filed Critical China Citic Bank Corp Ltd
Priority to CN202010822148.9A priority Critical patent/CN112132559B/en
Publication of CN112132559A publication Critical patent/CN112132559A/en
Application granted granted Critical
Publication of CN112132559B publication Critical patent/CN112132559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a digital currency transaction method, a digital currency transaction device, electronic equipment and a readable storage medium, which are applied to the technical field of intelligent contracts, wherein the method comprises the following steps: when the central intelligent contract receives the transmitted digital currency transaction request, the digital currency transaction request is transmitted to the blockchain intelligent contract, the blockchain intelligent contract is used for automatically inquiring contract conditions of the target contract, and the target intelligent contract is executed when the contract conditions are met, so that automatic execution of the digital currency transaction is realized. In addition, contract condition information specified by a target intelligent contract is actively inquired through the intelligent contract, then the execution of the target intelligent contract is carried out based on the contract condition information of the target intelligent contract obtained by inquiry, and the digital currency is delivered, so that the digital currency delivery efficiency is improved.

Description

Digital money transaction method, device, electronic equipment and readable storage medium
Technical Field
The present application relates to the technical field of intelligent contracts, and in particular, to a digital currency transaction method, a digital currency transaction device, an electronic device, and a readable storage medium.
Background
The digital money is a legal money issued by a central bank or issued by a central bank authorized to express an encrypted digital string representing a specific amount, including an amount of the digital money, an issuer identification, and an owner identification, and the digital money is stored in a central-row digital wallet. How to implement automated transactions of digital money becomes a problem.
Disclosure of Invention
The application provides a digital currency transaction method, a device, electronic equipment and a readable storage medium, which are used for realizing the automatic processing of digital currency transaction, and the technical scheme adopted by the application is as follows:
in a first aspect, a digital money transaction method is provided for use with a blockchain smart contract, the method comprising,
receiving a digital currency transaction request sent by a central intelligent contract, wherein the digital currency transaction request comprises ID information of a target intelligent contract;
inquiring contract condition information of a target intelligent contract;
determining whether the contract condition of the target smart contract is fulfilled based on the contract condition information of the target smart contract obtained by the query, and determining whether to execute the target smart contract based on the result information of whether the contract condition is fulfilled.
Optionally, the target smart contract includes a digital currency delivery amount, a digital currency payoff party, a digital currency recipient, and executing the target smart contract includes:
when the contract condition of the target smart contract is satisfied, the owner of the digital money of the corresponding delivery amount of the digital money paying party is modified to the digital money receiving party.
Optionally, querying the contract condition information of the target smart contract includes:
and inquiring contract condition information of the target intelligent contract through a remote calling module of the blockchain intelligent contract.
In a second aspect, a digital money transaction method is provided, applied to a central row smart contract, comprising:
receiving a digital money transaction request, the digital money transaction request including ID information of a target smart contract;
forwarding the digital money transaction request to a blockchain smart contract for querying contract condition information of the target smart contract, determining whether the contract condition of the target smart contract is fulfilled based on the queried contract condition information of the target smart contract, and determining whether to execute the target smart contract based on the contract condition achievement result information.
In a third aspect, there is provided a digital money transaction device, the device comprising,
a first receiving module, configured to receive a digital money transaction request sent by a central intelligent contract, where the digital money transaction request includes ID information of a target intelligent contract;
the query module is used for querying contract condition information of the target intelligent contract;
and the execution module is used for determining whether the contract conditions of the target intelligent contract are met or not based on the contract condition information of the target intelligent contract obtained by inquiry, and determining whether to execute the target intelligent contract or not based on the result information of whether the contract conditions are met or not.
Optionally, the target smart contract includes a digital currency delivery amount, a digital currency payoff party, and a digital currency recipient; and the execution module is specifically used for modifying the owners of the digital currency corresponding to the delivery quantity of the digital currency payoff party into the digital currency receiving party when the contract conditions of the target intelligent contract are met.
Optionally, the query module is specifically configured to query contract condition information of the target intelligent contract through a remote call module of the blockchain intelligent contract.
In a fourth aspect, there is provided a digital money transaction device for use in a central row smart contract, comprising:
a second receiving module for receiving a digital money transaction request including ID information of the target smart contract;
and the forwarding module is used for forwarding the digital currency transaction request to the blockchain intelligent contract, wherein the blockchain intelligent contract is used for inquiring contract condition information of the target intelligent contract, determining whether the contract condition of the target intelligent contract is met or not based on the contract condition information of the target intelligent contract obtained through inquiry, and determining whether to execute the target intelligent contract or not based on whether the contract condition is met or not.
In a fifth aspect, there is provided an electronic device comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: the digital money transaction method of the first and/or second aspect is performed.
In a sixth aspect, there is provided a computer readable storage medium storing computer instructions that, when run on a computer, cause the computer to perform the digital money transaction method of the first and/or second aspects.
The application provides a digital currency transaction method, a digital currency transaction device, an electronic device and a readable storage medium, wherein the digital currency transaction request is sent by a receiving center intelligent contract, and the digital currency transaction request comprises ID information of a target intelligent contract; inquiring contract condition information of a target intelligent contract; determining whether the contract condition of the target smart contract is fulfilled based on the contract condition information of the target smart contract obtained by the query, and determining whether to execute the target smart contract based on the result information of whether the contract condition is fulfilled. When receiving the digital currency transaction request sent by the intelligent contract, automatically inquiring the contract condition of the target contract, and executing the target intelligent contract when the contract condition is satisfied, thereby realizing the automatic execution of the digital currency transaction. In addition, the related contract condition data is not required to be uploaded to the blockchain node by all parties or a third party of the contract passively, the contract condition information specified by the target intelligent contract is actively inquired through the intelligent contract, then the execution of the target intelligent contract is carried out based on the contract condition information of the target intelligent contract obtained by inquiry, and the digital currency is delivered, so that the digital currency delivery efficiency is improved.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a digital money transaction method according to an embodiment of the present application;
FIG. 2 is a flow chart of another digital money transaction method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a digital money transaction device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another digital money transaction device according to an embodiment of the present application;
FIG. 6 is an exemplary diagram of a digital money transaction flow according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of illustrating the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example 1
An embodiment of the present application provides a digital currency transaction method applied to a blockchain smart contract, as shown in fig. 1, the method may include the following steps:
step S101, a digital currency transaction request sent by a central intelligent contract is received, wherein the digital currency transaction request comprises ID information of a target intelligent contract;
step S102, inquiring contract condition information of a target intelligent contract;
step S103, determining whether the contract condition of the target intelligent contract is met based on the contract condition information of the target intelligent contract obtained by the query, and determining whether to execute the target intelligent contract based on the result information of whether the contract condition is met.
Illustratively, the central row digital currency smart contract system initiates a digital currency transaction request, wherein the digital currency transaction request includes ID information of the target smart contract; when the blockchain intelligent contract at the bank side receives the digital currency request, determining contract execution conditions of the target intelligent contract based on ID information of the target intelligent contract, and then inquiring execution information of the contract conditions to contract parties by a callback function module of the target intelligent contract, wherein the contract condition information can be changed correspondingly according to different specific application scenarios, such as whether a seller sends goods, whether a buyer receives the goods, whether an insurance is purchased from an insurance institution or not, and the like; according to contract condition information obtained by inquiry, if the seller has shipped, the seller has purchased the corresponding insurance, the payment condition of the buyer is judged to be met, the seller meets the condition of paying insurance fee of an insurance agency, then a target intelligent contract is executed, the buyer pays the corresponding amount of digital currency to the seller, and the seller pays the corresponding amount of digital currency to an insurance company.
The embodiment of the application provides a digital currency transaction method, which is characterized in that a digital currency transaction request sent by a receiving center intelligent contract comprises ID information of a target intelligent contract; inquiring contract condition information of a target intelligent contract; determining whether the contract condition of the target smart contract is fulfilled based on the contract condition information of the target smart contract obtained by the query, and determining whether to execute the target smart contract based on the result information of whether the contract condition is fulfilled. When receiving the digital currency transaction request sent by the intelligent contract, automatically inquiring the contract condition of the target contract, and executing the target intelligent contract when the contract condition is satisfied, thereby realizing the automatic execution of the digital currency transaction. In addition, the related contract condition data is not required to be uploaded to the blockchain node by all parties or a third party of the contract passively, the contract condition information specified by the target intelligent contract is actively inquired through the intelligent contract, then the execution of the target intelligent contract is carried out based on the contract condition information of the target intelligent contract obtained by inquiry, and the digital currency is delivered, so that the digital currency delivery efficiency is improved.
Embodiments of the present application provide a possible implementation manner, specifically, the target smart contract includes a digital currency delivery amount, a digital currency expenditure party, and a digital currency receiving party, and executing the target smart contract includes:
when the contract condition of the target smart contract is satisfied, the owner of the digital money of the corresponding delivery amount of the digital money paying party is modified to the digital money receiving party.
Specifically, when the contract conditions are met, the blockchain smart contract automatically modifies the owners of the digital money of the corresponding delivery amounts of the digital money payouts to the digital money acceptors.
Illustratively, in a goods buying and selling intelligent contract, if the contract execution condition is that the seller has shipped, the buyer pays a certain amount of digital money for the second party, and if the seller purchases insurance, the seller pays a certain amount of digital money for the insurance agency. If the blockchain intelligent contract inquires that the contract condition is met, automatically executing the target intelligent contract, changing the owner of a certain amount of digital currency of the buyer into the seller, and changing the owner of a certain amount of digital currency of the seller into an insurance agency.
The embodiment of the application provides a possible implementation manner, and specifically, the query of the contract condition information of the target intelligent contract comprises the following steps:
and inquiring contract condition information of the target intelligent contract through a remote calling module of the blockchain intelligent contract.
Specifically, a remote call module can be deployed in the intelligent contract to realize the inquiry of contract condition information. In particular, the remote invocation module may be implemented based on an RPC communication mechanism. RPC refers to remote procedure call, that is, two servers a, B, an application is deployed on server a, and is intended to call functions/methods provided by the application on server B, and because the remote procedure call cannot be directly invoked without being in a memory space, the semantics of the call need to be expressed and the data of the call need to be conveyed through a network.
Example two
An embodiment of the present application provides a digital currency transaction method applied to a central intelligent contract, as shown in fig. 2, the method may include the following steps:
receiving a digital money transaction request, the digital money transaction request including ID information of a target smart contract;
forwarding the digital money transaction request to a blockchain smart contract for querying contract condition information of the target smart contract, determining whether the contract condition of the target smart contract is fulfilled based on the queried contract condition information of the target smart contract, and determining whether to execute the target smart contract based on the contract condition achievement result information.
Illustratively, as shown in fig. 6 for the digital money transaction flow,
step S21, the central intelligent contract receives the digital currency transaction request of the wallet, and applies for executing the transaction intelligent contract to the transaction intelligent contract system according to the target intelligent contract ID in the digital currency transaction request of the wallet. The transaction intelligent contract system can also belong to a central intelligent contract or can be two independent contracts.
Step S22, the transaction intelligent contract system calls a callback function code executing module, and the incoming intelligent contract ID starts a remote procedure calling module.
In step S23, the remote procedure call module is configured to connect the target smart contract ID to the banking gateway in a remote call manner.
Step S24, the bank gateway calls a bank blockchain contract module according to the target intelligent contract ID.
In step S25, the bank blockchain contract module performs contract execution query and evidence status query (i.e. query of contract condition information) according to the target intelligent contract ID.
If the contract is completed, executing step S26;
if the contract execution is not completed, or there is an abnormality, step S27 is performed; .
And step S26, returning the successful contract execution result by the bank blockchain contract module, and sequentially returning to the bank gateway module, the remote procedure call module and the callback function code execution module, wherein the digital currency intelligent contract system is successful in execution, and the central digital currency system pays according to the contract.
And step S27, returning the contract execution failure result back to the bank gateway module, the remote procedure call module and the callback function code execution module by the bank blockchain contract module, and sequentially returning the contract execution failure result back to the digital currency intelligent contract system.
The embodiment of the application provides a digital currency transaction method, when a central intelligent contract receives a transmitted digital currency transaction request, the digital currency transaction request is transmitted to a blockchain intelligent contract, the blockchain intelligent contract is used for automatically inquiring contract conditions of a target contract, and when the contract conditions are met, the target intelligent contract is executed, so that automatic execution of digital currency transaction is realized. In addition, the related contract condition data is not required to be uploaded to the blockchain node by all parties or a third party of the contract passively, the contract condition information specified by the target intelligent contract is actively inquired through the intelligent contract, then the execution of the target intelligent contract is carried out based on the contract condition information of the target intelligent contract obtained by inquiry, and the digital currency is delivered, so that the digital currency delivery efficiency is improved.
Example III
FIG. 3 is a block chain smart contract device 30 for a digital money transaction apparatus according to one embodiment of the present application, comprising: a receiving module 301, a querying module 302, an executing module 303, wherein,
a receiving module 301, configured to receive a digital money transaction request sent by a central intelligent contract, where the digital money transaction request includes ID information of a target intelligent contract;
a query module 302, configured to query contract condition information of a target smart contract;
an execution module 303, configured to determine whether the contract condition of the target smart contract is met based on the contract condition information of the target smart contract obtained by the query, and determine whether to execute the target smart contract based on the result information of whether the contract condition is met.
The embodiment of the application provides a digital currency transaction device, which is used for receiving a digital currency transaction request sent by a central intelligent contract, wherein the digital currency transaction request comprises ID information of a target intelligent contract; inquiring contract condition information of a target intelligent contract; determining whether the contract condition of the target smart contract is fulfilled based on the contract condition information of the target smart contract obtained by the query, and determining whether to execute the target smart contract based on the result information of whether the contract condition is fulfilled. When receiving the digital currency transaction request sent by the intelligent contract, automatically inquiring the contract condition of the target contract, and executing the target intelligent contract when the contract condition is satisfied, thereby realizing the automatic execution of the digital currency transaction. In addition, the related contract condition data is not required to be uploaded to the blockchain node by all parties or a third party of the contract passively, the contract condition information specified by the target intelligent contract is actively inquired through the intelligent contract, then the execution of the target intelligent contract is carried out based on the contract condition information of the target intelligent contract obtained by inquiry, and the digital currency is delivered, so that the digital currency delivery efficiency is improved.
The embodiment of the application provides a possible implementation manner, and specifically, the target intelligent contract comprises a digital currency delivery quantity, a digital currency expenditure party and a digital currency receiving party; and the execution module is specifically used for modifying the owners of the digital currency corresponding to the delivery quantity of the digital currency payoff party into the digital currency receiving party when the contract conditions of the target intelligent contract are met.
The embodiment of the application provides a possible implementation mode, namely a query module which is particularly used for querying contract condition information of a target intelligent contract through a remote call module of a blockchain intelligent contract.
The apparatus of the embodiment of the present application may perform the method shown in the first embodiment of the present application, and the effect achieved by the method is similar, and will not be described herein.
Example IV
FIG. 5 is a block diagram of a digital money transaction device for a central intelligent contract, the device 50 comprising: a second receiving module 501, a forwarding module 502, wherein,
a second receiving module 501 for receiving a digital money transaction request, the digital money transaction request including ID information of a target smart contract;
a forwarding module 502, configured to forward the digital money transaction request to a blockchain smart contract, where the blockchain smart contract is configured to query contract condition information of a target smart contract, determine whether the contract condition of the target smart contract is met based on the queried contract condition information of the target smart contract, and determine whether to execute the target smart contract based on whether the contract condition is met.
The embodiment of the application provides a digital currency transaction device, when a central intelligent contract receives a sent digital currency transaction request, the digital currency transaction request is sent to a blockchain intelligent contract, the blockchain intelligent contract is used for automatically inquiring contract conditions of a target contract, and when the contract conditions are met, the target intelligent contract is executed, so that automatic execution of digital currency transaction is realized. In addition, the related contract condition data is not required to be uploaded to the blockchain node by all parties or a third party of the contract passively, the contract condition information specified by the target intelligent contract is actively inquired through the intelligent contract, then the execution of the target intelligent contract is carried out based on the contract condition information of the target intelligent contract obtained by inquiry, and the digital currency is delivered, so that the digital currency delivery efficiency is improved.
Example five
The embodiment of the application provides an electronic device, as shown in fig. 4, an electronic device 40 shown in fig. 4 includes: a processor 401 and a memory 403. Processor 401 is connected to memory 403, such as via bus 402. Further, the electronic device 40 may also include a transceiver 404. It should be noted that, in practical applications, the transceiver 404 is not limited to one, and the structure of the electronic device 40 is not limited to the embodiment of the present application. The processor 401 is applied in the embodiment of the present application to implement the functions of the modules shown in fig. 3 or fig. 5. Transceiver 404 includes a receiver and a transmitter.
The processor 401 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. Processor 401 may also be a combination that implements computing functionality, such as a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Bus 402 may include a path to transfer information between the components. Bus 402 may be a PCI bus, an EISA bus, or the like. Bus 402 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
The memory 403 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disks, laser disks, optical disks, digital versatile disks, blu-ray disks, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 403 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 401. The processor 401 is arranged to execute application code stored in the memory 403 to implement the functions of the apparatus provided by the embodiments shown in fig. 3 or fig. 5.
The embodiment of the application provides an electronic device suitable for the embodiment of the method, and specific implementation manner and technical effects are not described herein.
Example six
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the digital money transaction method shown in the above embodiment.
The embodiment of the present application provides a computer readable storage medium suitable for the above method embodiment, and specific implementation manner and technical effects are not described herein.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (6)

1. A digital money transaction method, applied to blockchain intelligence contracts and to a central row intelligence contract, comprising:
receiving a digital money transaction request, the digital money transaction request including ID information of a target smart contract;
forwarding the digital money transaction request to the blockchain smart contract, wherein the blockchain smart contract is used for inquiring contract condition information of the target smart contract, determining whether the contract condition of the target smart contract is met or not based on the inquired contract condition information of the target smart contract, and determining whether to execute the target smart contract or not based on the result information of the contract condition achievement or not;
receiving a digital currency transaction request sent by a central intelligent contract, wherein the digital currency transaction request comprises ID information of a target intelligent contract;
inquiring contract condition information of the target intelligent contract; the searching the contract condition information of the target intelligent contract comprises the following steps: inquiring contract condition information of a target intelligent contract through a remote calling module of the blockchain intelligent contract;
determining whether the contract condition of the target intelligent contract is met based on the contract condition information of the target intelligent contract obtained by inquiry, and determining whether to execute the target intelligent contract based on the result information of whether the contract condition is met.
2. The method of claim 1, wherein the target smart contract comprises a digital currency delivery amount, a digital currency payoff party, a digital currency recipient, and wherein executing the target smart contract comprises:
and when the contract conditions of the target intelligent contract are met, modifying the owners of the digital currency corresponding to the delivery quantity of the digital currency paying party into a digital currency receiving party.
3. A digital money transaction device, for use in blockchain smartcontracts and in a central smartcontract, comprising:
the receiving module is used for receiving a digital currency transaction request sent by the intelligent contract of the central row, wherein the digital currency transaction request comprises ID information of the target intelligent contract;
a second receiving module for receiving a digital money transaction request, the digital money transaction request including ID information of a target smart contract;
a forwarding module, configured to forward the digital money transaction request to the blockchain smart contract, where the blockchain smart contract is configured to query contract condition information of the target smart contract, determine whether the contract condition of the target smart contract is met based on the queried contract condition information of the target smart contract, and determine whether to execute the target smart contract based on whether the contract condition is met;
the query module is used for querying contract condition information of the target intelligent contract, and is particularly used for querying the contract condition information of the target intelligent contract through the remote call module of the blockchain intelligent contract;
and the execution module is used for determining whether the contract conditions of the target intelligent contract are met or not based on the contract condition information of the target intelligent contract obtained by inquiry, and determining whether to execute the target intelligent contract or not based on the result information of whether the contract conditions are met or not.
4. The apparatus of claim 3, wherein the target smart contract comprises a digital currency delivery amount, a digital currency payoff party, a digital currency pick-up; the execution module is specifically configured to modify an owner of the digital currency corresponding to the delivery amount of the digital currency payoff party into a digital currency receiving party when the contract condition of the target intelligent contract is satisfied.
5. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: a digital money transaction method according to any one of claims 1 to 2.
6. A computer readable storage medium for storing computer instructions which, when run on a computer, cause the computer to perform the digital money transaction method of any one of claims 1 to 2.
CN202010822148.9A 2020-08-16 2020-08-16 Digital money transaction method, device, electronic equipment and readable storage medium Active CN112132559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010822148.9A CN112132559B (en) 2020-08-16 2020-08-16 Digital money transaction method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010822148.9A CN112132559B (en) 2020-08-16 2020-08-16 Digital money transaction method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112132559A CN112132559A (en) 2020-12-25
CN112132559B true CN112132559B (en) 2023-04-25

Family

ID=73851688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010822148.9A Active CN112132559B (en) 2020-08-16 2020-08-16 Digital money transaction method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112132559B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115456802B (en) * 2022-09-22 2024-01-26 中航信移动科技有限公司 Insurance event processing system based on digital currency
CN115239348B (en) * 2022-09-22 2022-12-09 中航信移动科技有限公司 Digital currency system for processing joint association request
CN115456227B (en) * 2022-09-22 2023-05-30 中航信移动科技有限公司 Digital currency system for civil aviation event
CN115239349B (en) * 2022-09-22 2022-12-09 中航信移动科技有限公司 Civil aviation event processing system based on digital currency
CN115249159B (en) * 2022-09-22 2022-12-13 中航信移动科技有限公司 Event processing system based on digital currency
CN115239318B (en) * 2022-09-22 2023-04-21 中航信移动科技有限公司 Event processing system for civil aviation insurance

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003179A (en) * 2018-07-11 2018-12-14 北京磁云唐泉金服科技有限公司 Inter-bank tune money based on digital cash synchronous settlement method, device and system
CN110659887A (en) * 2019-08-05 2020-01-07 孟江华 Automatic transaction processing system and method based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3776441B1 (en) * 2018-03-30 2023-11-22 Exposition Park Holdings Sezc Digital asset exchange

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003179A (en) * 2018-07-11 2018-12-14 北京磁云唐泉金服科技有限公司 Inter-bank tune money based on digital cash synchronous settlement method, device and system
CN110659887A (en) * 2019-08-05 2020-01-07 孟江华 Automatic transaction processing system and method based on block chain

Also Published As

Publication number Publication date
CN112132559A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112132559B (en) Digital money transaction method, device, electronic equipment and readable storage medium
CN112132558B (en) Digital currency transaction method and device based on intelligent contract and electronic equipment
KR102254500B1 (en) Systems and methods for improving the security of smart contracts on the blockchain
JP5596689B2 (en) Real-time payment settlement for logistics companies
CN111475521A (en) Cargo management method and device based on block chain and electronic equipment
CN109493064B (en) Bin order transaction coordination method and device based on block chain architecture
CN113222667B (en) Equity sharing processing method and device
CN112883109B (en) Block chain-based digital commodity transaction method and device
CN112766854B (en) Block chain-based digital commodity transaction method and device
CN111667270A (en) Region-based digital currency using method and device and electronic equipment
CN111047310A (en) Method and device for realizing distribution and transfer of digital assets and online financing
WO2016067223A1 (en) Securely and instantly converting digital wallet value to physical gold bullion
CN111680995B (en) Payment chain construction method and device, computer equipment and readable storage medium
CN111260362A (en) Information processing method and device of block chain network and storage medium
US20170006133A1 (en) Data processing method and system
US20140012723A1 (en) Method of and system for managing an asset
CN108876339B (en) E-pet transaction method and device based on certificate
KR20090036622A (en) System and method for processing goods secured loan
CN112633953B (en) Service processing method and system based on block chain
US20220300318A1 (en) Electronic system for authorization and use of cross-linked resource instruments
AU2019101593A4 (en) System and method for improving security of smart contract on blockchain
CN111967820A (en) Pallet management method and system based on block chain
KR20210056109A (en) Intermediating system for cargo transportation
KR102475662B1 (en) Method and system for managing point using blockchain based on distributed ledger
CN112801641B (en) Payment gateway purchase limiting control method and device, equipment and medium thereof

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
TA01 Transfer of patent application right

Effective date of registration: 20220624

Address after: Floor 20, block a, Jintang center, No. 18, Fengtai North Road, Fengtai District, Beijing 100071

Applicant after: THE PEOPLES BANK OF CHINA, DIGITAL CASH Research Institute

Applicant after: CHINA CITIC BANK Co.,Ltd.

Address before: 100020 20th floor, CITIC tower, building 1, 10 Guanghua Road, Chaoyang District, Beijing

Applicant before: CHINA CITIC BANK Co.,Ltd.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Xu Xiaojian

Inventor after: Sun Yansen

Inventor after: Liu Weiwei

Inventor before: Xu Xiaojian

Inventor before: Sun Huosen

Inventor before: Liu Weiwei

GR01 Patent grant
GR01 Patent grant