CN111768198A - Digital currency transaction method, device and wallet integral system - Google Patents

Digital currency transaction method, device and wallet integral system Download PDF

Info

Publication number
CN111768198A
CN111768198A CN202010623782.XA CN202010623782A CN111768198A CN 111768198 A CN111768198 A CN 111768198A CN 202010623782 A CN202010623782 A CN 202010623782A CN 111768198 A CN111768198 A CN 111768198A
Authority
CN
China
Prior art keywords
digital currency
block chain
information
blockchain
transaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010623782.XA
Other languages
Chinese (zh)
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.)
Shuzi Qianbao Beijing Technology Co ltd
Original Assignee
Shuzi Qianbao Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shuzi Qianbao Beijing Technology Co ltd filed Critical Shuzi Qianbao Beijing Technology Co ltd
Priority to CN202010623782.XA priority Critical patent/CN111768198A/en
Publication of CN111768198A publication Critical patent/CN111768198A/en
Pending legal-status Critical Current

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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a digital currency transaction method, a device and a wallet integral system, wherein the method is applied to a mobile terminal, the mobile terminal is respectively in communication connection with a cloud platform and a block chain system, and the method comprises the following steps: sending a service application to the cloud platform; receiving block chain data returned by the cloud platform; according to the corresponding relation between the preset block chain data and the service private key, signing the block chain data by using the service private key corresponding to the block chain data to obtain transaction signature information; sending the transaction signature information and the digital currency account information applied in advance to a blockchain system; receiving a digital currency transaction notification corresponding to the digital currency account information, wherein the digital currency transaction notification is generated according to the problem of single transaction, so that the technical signature information of the block chain-based digital wallet with diversified functions is generated, and the functional effect of the block chain-based digital wallet in the prior art is relieved.

Description

Digital currency transaction method, device and wallet integral system
Technical Field
The invention relates to the technical field of communication, in particular to a digital currency transaction method, a digital currency transaction device and a wallet integral system.
Background
Mobile payment based on mobile terminals is continuously increasing in temperature worldwide, and the applications thereof are highly valued by mobile operators and service providers. The mobile terminal wallet is based on the smart card technology, and the smart card and the mobile terminal are combined together, so that the mobile terminal wallet payment technology is the development direction at present. The mobile terminal wallet has huge potential user groups, the portability of the mobile terminal provides a basis for developing various mobile terminal wallet payment services, and meanwhile, the mobile terminal wallet can pay at any time and any place by virtue of a mobile communication network, so that the time and region limitation is overcome.
The digital wallet based on the blockchain provides a new way of clearing and settling accounts, but the existing digital wallet based on the blockchain can only process a single service and cannot meet various service requirements, thereby causing the problem of single function of the digital wallet based on the blockchain.
Disclosure of Invention
In view of the above, the present invention provides a digital currency transaction method, device and wallet whole system to alleviate the problem of single function of a digital wallet based on a blockchain in the prior art.
In a first aspect, an embodiment of the present invention provides a digital currency transaction method, where the method is applied to a mobile terminal, and the mobile terminal is in communication connection with a cloud platform and a blockchain system, respectively, and the method includes:
sending a service application to the cloud platform;
receiving block chain data returned by the cloud platform;
according to a preset corresponding relation between the block chain data and a service private key, signing the block chain data by using the service private key corresponding to the block chain data to obtain transaction signature information;
sending the transaction signature information and the pre-applied digital currency account information to the blockchain system;
receiving a digital currency transaction notification corresponding to the digital currency account information, the digital currency transaction notification generated according to the transaction signature information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where if the blockchain data includes: the method for signing the block chain data by using the service private key corresponding to the block chain data according to the preset corresponding relation between the block chain data and the service private key to obtain transaction signature information comprises the following steps:
determining the block chain information corresponding to the block chain service as related block chain information in the block chain information;
determining the service private key corresponding to the blockchain service as the target service private key by using the corresponding relation between the blockchain service and the service private key;
and signing the block chain service and the related block chain information by using the target service private key to obtain the transaction signature information.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the blockchain system includes a central digital currency system node;
the sending the transaction signature information and the pre-applied digital currency account information to the blockchain system includes: sending the digital currency account information and the transaction signature information to a position in the blockchain system corresponding to the relevant blockchain information;
the receiving a digital currency transaction notification corresponding to the digital currency account information includes: receiving the digital currency transaction notification corresponding to the digital currency account information sent by the central digital currency system node.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where if the blockchain data only includes a blockchain service, the signing is performed on the blockchain data by using the service private key corresponding to the blockchain data according to a preset corresponding relationship between the blockchain data and a service private key, so as to obtain transaction signature information, where the signing includes:
determining the service private key corresponding to the blockchain service as the target service private key by using the corresponding relation between the blockchain service and the service private key;
and signing the block chain service by using the target service private key to obtain the transaction signature information.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the cloud platform is communicatively connected to the central digital currency system;
the sending the transaction signature information and the pre-applied digital currency account information to the blockchain system includes: sending the digital currency account information and the transaction signature information to the cloud platform, so that the cloud platform sends the digital currency account information and the transaction signature information to the blockchain system according to blockchain information;
the receiving a digital currency transaction notification corresponding to the digital currency account information includes: receiving the digital currency transaction notification corresponding to the digital currency account information sent by the cloud platform, wherein the digital currency transaction notification is sent to the cloud platform by the central digital currency system.
In a second aspect, an embodiment of the present invention further provides a digital currency transaction method, where the method is applied to a cloud platform, the cloud platform is respectively in communication connection with a mobile terminal and a blockchain system, the blockchain system includes a plurality of blockchains, and each blockchain corresponds to a blockchain service, and the method includes:
receiving a service application sent by the mobile terminal;
and returning the block chain data to the mobile terminal, wherein the block chain data comprises the block chain service.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the cloud platform includes a plurality of blockchain information, and if the blockchain data includes only the blockchain service, the cloud platform is communicatively connected to the central digital currency system, and the method further includes:
receiving digital currency account information and transaction signature information sent by the mobile terminal;
verifying the transaction signature information by using user key algorithm information and a public key in the user information which are sent by the mobile terminal in advance;
if the verification is not passed, sending verification failure information to the mobile terminal;
if the verification is passed, determining the block chain information corresponding to the block chain service as related block chain information in the block chain information;
sending the transaction signature information to a position in the blockchain system corresponding to the related blockchain information;
sending digital currency transaction information generated according to the blockchain information to the central digital currency system;
receiving a digital currency transaction notification corresponding to the digital currency account information sent by the central digital currency system;
and sending the digital currency transaction notification corresponding to the digital currency account information to the mobile terminal.
In a third aspect, an embodiment of the present invention further provides an entire wallet system, including: a blockchain system, a mobile terminal applying the method according to any one of the first aspect and a cloud platform applying the method according to any one of the second aspect.
In a fourth aspect, an embodiment of the present invention further provides a digital money transaction apparatus, including: the system comprises a first sending module, a first receiving module, a signature module, a second sending module and a second receiving module;
the first sending module is used for sending a service application to the cloud platform;
the first receiving module is used for receiving the block chain data returned by the cloud platform;
the signature module is used for signing the block chain data by using the service private key corresponding to the block chain data according to the preset corresponding relation between the block chain data and the service private key to obtain transaction signature information;
the second sending module is used for sending the transaction signature information and the digital currency account information applied in advance to the block chain system;
the second receiving module is configured to receive a digital currency transaction notification corresponding to the digital currency account information, where the digital currency transaction notification is generated according to the transaction signature information.
In a fifth aspect, the present invention also provides a computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to execute the method according to any one of the first and second aspects.
The embodiment of the invention has the following beneficial effects: the digital currency transaction method provided by the embodiment of the invention is applied to a mobile terminal, wherein the mobile terminal is respectively in communication connection with a cloud platform and a block chain system, and the method comprises the following steps: sending a service application to the cloud platform; receiving block chain data returned by the cloud platform; according to a preset corresponding relation between the block chain data and a service private key, signing the block chain data by using the service private key corresponding to the block chain data to obtain transaction signature information; sending the transaction signature information and the pre-applied digital currency account information to the blockchain system; receiving a digital currency transaction notification corresponding to the digital currency account information, the digital currency transaction notification generated according to the transaction signature information.
Therefore, when a user needs to perform a service a through a mobile terminal, the mobile terminal sends a service application a to the cloud platform, receives block chain data a returned by the cloud platform, and signs the block chain data a by using the service private key a corresponding to the block chain data a according to a preset corresponding relationship between the block chain data a and a service private key to obtain transaction signature information a; sending the transaction signature information A and the digital currency account information applied in advance to the blockchain system; receiving a digital currency transaction notification A corresponding to the digital currency account information, so that a service A is completed, when a user needs to perform a service B through a mobile terminal, the mobile terminal sends a service application B to the cloud platform, receives block chain data B returned by the cloud platform, and signs the block chain data B by using the service private key B corresponding to the block chain data B according to a preset corresponding relation between the block chain data B and a service private key to obtain transaction signature information B; sending the transaction signature information B and the digital currency account information applied in advance to the blockchain system; receiving a digital currency transaction notification B corresponding to the digital currency account information, and thus completing the service B, so that the digital wallet based on the blockchain can process multiple services, and meet various service requirements, and the problem of single function caused by the fact that the digital wallet based on the blockchain can only process single service and cannot meet various service requirements is solved, therefore, the problem of single function of the digital wallet based on the blockchain in the prior art is solved, and the technical effect of diversifying the functions of the digital wallet based on the blockchain is achieved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a first flowchart of a digital money transaction method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a digital currency transaction method according to an embodiment of the present invention;
FIG. 3 is a third flowchart of a digital currency transaction method according to an embodiment of the invention;
fig. 4 is a fourth flowchart of a digital currency transaction method according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. 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.
At present, mobile payment based on mobile terminals is continuously increasing in temperature worldwide, and the application of the mobile payment is highly valued by mobile operators and service providers. The mobile terminal wallet is based on the smart card technology, and the smart card and the mobile terminal are combined together, so that the mobile terminal wallet payment technology is the development direction at present. The mobile terminal wallet has huge potential user groups, the portability of the mobile terminal provides a basis for developing various mobile terminal wallet payment services, and meanwhile, the mobile terminal wallet can pay at any time and any place by virtue of a mobile communication network, so that the time and region limitation is overcome.
The digital wallet based on the blockchain provides a novel clearing settlement mode, but the existing digital wallet based on the blockchain can only process a single service and cannot meet various service requirements, so that the problem of single function of the digital wallet based on the blockchain is caused.
In order to facilitate understanding of the embodiment, a detailed description is first given of a digital currency transaction method disclosed in the embodiment of the present invention, where the method is applied to a mobile terminal, and the mobile terminal is respectively in communication connection with a cloud platform and a blockchain system, as shown in fig. 1, the digital currency transaction method may include the following steps.
And S101, sending a service application to the cloud platform.
Step S102, block chain data returned by the cloud platform are received.
Illustratively, the blockchain data includes blockchain services, and the blockchain services correspond to the service applications.
Step S103, according to the preset corresponding relation between the block chain data and a service private key, signing the block chain data by using the service private key corresponding to the block chain data to obtain transaction signature information.
Illustratively, a plurality of service private keys may be stored in the mobile terminal, and each service private key may correspond to at least one of the blockchain data.
For example, the transaction signature information may include: a transaction type, a payee digital currency account, and an amount of digital currency to be paid.
And step S104, sending the transaction signature information and the digital currency account information applied in advance to the blockchain system.
For example, the mobile terminal may send user key algorithm information and user information to the cloud platform to apply for the digital currency account information.
Illustratively, the user key algorithm information may include: encryption algorithm, key distribution algorithm, certificate signed by root key, certificate signed by transaction key. The user information may include: the mobile terminal comprises a bank card number, a mobile terminal identification ID, an identity card number, a public key, a chip identification ID and a short message verification code.
Illustratively, the transaction signature information may be generated by a security module within the mobile terminal.
Step S105, receiving a digital money transaction notification corresponding to the digital money account information, the digital money transaction notification being generated according to the transaction signature information.
In the embodiment of the present invention, the digital currency transaction method provided in the embodiment of the present invention is applied to a mobile terminal, and the mobile terminal is in communication connection with a cloud platform and a blockchain system, respectively, and the method includes: sending a service application to the cloud platform; receiving block chain data returned by the cloud platform; according to a preset corresponding relation between the block chain data and a service private key, signing the block chain data by using the service private key corresponding to the block chain data to obtain transaction signature information; sending the transaction signature information and the pre-applied digital currency account information to the blockchain system; receiving a digital currency transaction notification corresponding to the digital currency account information, the digital currency transaction notification generated according to the transaction signature information.
Therefore, when a user needs to perform a service a through a mobile terminal, the mobile terminal sends a service application a to the cloud platform, receives block chain data a returned by the cloud platform, and signs the block chain data a by using the service private key a corresponding to the block chain data a according to a preset corresponding relationship between the block chain data a and a service private key to obtain transaction signature information a; sending the transaction signature information A and the digital currency account information applied in advance to the blockchain system; receiving a digital currency transaction notification A corresponding to the digital currency account information, so that a service A is completed, when a user needs to perform a service B through a mobile terminal, the mobile terminal sends a service application B to the cloud platform, receives block chain data B returned by the cloud platform, and signs the block chain data B by using the service private key B corresponding to the block chain data B according to a preset corresponding relation between the block chain data B and a service private key to obtain transaction signature information B; sending the transaction signature information B and the digital currency account information applied in advance to the blockchain system; receiving a digital currency transaction notification B corresponding to the digital currency account information, and thus completing the service B, so that the digital wallet based on the blockchain can process multiple services, and meet various service requirements, and the problem of single function caused by the fact that the digital wallet based on the blockchain can only process single service and cannot meet various service requirements is solved, therefore, the problem of single function of the digital wallet based on the blockchain in the prior art is solved, and the technical effect of diversifying the functions of the digital wallet based on the blockchain is achieved.
In another embodiment of the present invention, if the blockchain data includes: as shown in fig. 2, signing the blockchain data by using the service private key corresponding to the blockchain data according to a preset correspondence between the blockchain data and the service private key to obtain transaction signature information may include the following steps.
Step S201, in the block chain information, determining that the block chain information corresponding to the block chain service is related block chain information.
Illustratively, the taxi taking overall service includes: a first taxi hiring service, a second taxi hiring service and a third taxi hiring service. The block chain service may be a first taxi taking service, the block chain information may correspond to the taxi taking overall service, and the related block chain information may correspond to the first taxi taking service.
For example, the related blockchain information may include: the number of the intelligent contract corresponding to the first driving service and the name of the block chain where the intelligent contract is located.
Step S202, determining the service private key corresponding to the blockchain service as a target service private key by using the corresponding relation between the blockchain service and the service private key.
Step S203, the block chain service and the related block chain information are signed by the target service private key to obtain the transaction signature information.
In yet another embodiment of the present invention, when the blockchain system includes a central digital currency system node;
the sending the transaction signature information and the pre-applied digital currency account information to the blockchain system includes: and sending the digital currency account information and the transaction signature information to a position corresponding to the related blockchain information in the blockchain system.
The receiving a digital currency transaction notification corresponding to the digital currency account information includes: receiving the digital currency transaction notification corresponding to the digital currency account information sent by the central digital currency system node.
For example, when the blockchain system includes a central digital currency system node, after the mobile terminal receives blockchain service and blockchain information returned by the cloud platform, the mobile terminal may directly perform information interaction with the blockchain system without passing through the cloud platform.
In another embodiment of the present invention, if the blockchain data only includes a blockchain service, as shown in fig. 3, the signing the blockchain data by using the service private key corresponding to the blockchain data according to a preset corresponding relationship between the blockchain data and the service private key to obtain transaction signature information may include the following steps.
Step S301, determining the service private key corresponding to the blockchain service as the target service private key by using the corresponding relationship between the blockchain service and the service private key.
Step S302, the block chain service is signed by the target service private key to obtain the transaction signature information.
In yet another embodiment of the present invention, the cloud platform is communicatively coupled to a central digital currency system;
the sending the transaction signature information and the pre-applied digital currency account information to the blockchain system includes: sending the digital currency account information and the transaction signature information to the cloud platform, so that the cloud platform sends the digital currency account information and the transaction signature information to the blockchain system according to blockchain information;
the receiving a digital currency transaction notification corresponding to the digital currency account information includes: receiving the digital currency transaction notification corresponding to the digital currency account information sent by the cloud platform, wherein the digital currency transaction notification is sent to the cloud platform by the central digital currency system.
For example, the cloud platform is in communication connection with a central digital currency system, the mobile terminal is to send the digital currency account information and the transaction signature information to the cloud platform, and then the cloud platform sends the digital currency account information and the transaction signature information to the blockchain system according to blockchain information.
In another embodiment of the present invention, a detailed description is given of a digital currency transaction method disclosed in the embodiment of the present invention, where the method is applied to a cloud platform, the cloud platform is respectively in communication connection with a mobile terminal and a blockchain system, the blockchain system includes a plurality of blockchains, each blockchain corresponds to a blockchain service, and the method includes:
and receiving the service application sent by the mobile terminal.
And returning the block chain data to the mobile terminal, wherein the block chain data comprises the block chain service.
In another embodiment of the present invention, the cloud platform includes a plurality of blockchain information, and if the blockchain data includes only the blockchain service, the cloud platform is communicatively connected to the central digital currency system, as shown in fig. 4, the digital currency transaction method may further include the following steps.
Step S401, receiving the digital currency account information and the transaction signature information sent by the mobile terminal.
For example, the transaction signature information may include: a transaction type, a payee digital currency account, and an amount of digital currency to be paid.
Step S402, the user key algorithm information and the public key in the user information sent by the mobile terminal in advance are used for verifying the transaction signature information.
Illustratively, the user key algorithm information may include: encryption algorithm, key distribution algorithm, certificate signed by root key, certificate signed by transaction key. The user information may include: the mobile terminal comprises a bank card number, a mobile terminal identification ID, an identity card number, a public key, a chip identification ID and a short message verification code.
For example, the cloud platform may verify whether the digital currency account information is registered for a transaction, and may also verify the payment capability of the digital currency account information.
And step S403, if the verification is not passed, sending verification failure information to the mobile terminal.
Step S404, if the verification is passed, determining, in the block chain information, that the block chain information corresponding to the block chain service is related block chain information.
Step S405, sending the transaction signature information to a position in the blockchain system corresponding to the relevant blockchain information.
Step S406, sending the digital currency transaction information generated according to the block chain information to the central digital currency system.
Illustratively, the central digital money system deducts digital money of the amount of digital money to be paid from a digital money account corresponding to the digital money account information, and transfers the deducted digital money to the recipient digital money account.
Step S407, receiving a digital money transaction notification corresponding to the digital money account information sent by the central digital money system.
Step S408, sending the digital money transaction notification corresponding to the digital money account information to the mobile terminal.
Illustratively, the user may view his own digital currency transaction notification through the mobile terminal.
In another embodiment of the present invention, a wallet overall system disclosed in the embodiment of the present invention is described in detail, including: the block chain system, the mobile terminal applying the method of any one of the above embodiments and the cloud platform applying the method of any one of the above embodiments.
For example, the cloud platform may be in communication connection with a plurality of mobile terminals respectively.
In another embodiment of the present invention, a digital money transaction apparatus according to the embodiment of the present invention is described in detail, including: the system comprises a first sending module, a first receiving module, a signature module, a second sending module and a second receiving module;
the first sending module is used for sending a service application to the cloud platform;
the first receiving module is used for receiving the block chain data returned by the cloud platform;
the signature module is used for signing the block chain data by using the service private key corresponding to the block chain data according to the preset corresponding relation between the block chain data and the service private key to obtain transaction signature information;
the second sending module is used for sending the transaction signature information and the digital currency account information applied in advance to the block chain system;
the second receiving module is configured to receive a digital currency transaction notification corresponding to the digital currency account information, where the digital currency transaction notification is generated according to the transaction signature information.
In a further embodiment of the present invention, a computer-readable medium having non-volatile program code executable by a processor and causing the processor to perform the method of any one of the above embodiments is disclosed.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In all examples shown and described herein, any particular value should be construed as merely exemplary, and not as a limitation, and thus other examples of example embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
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 invention. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The computer program product for performing the digital currency transaction method provided by the embodiment of the present invention includes a computer readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The digital currency transaction method is applied to a mobile terminal, wherein the mobile terminal is respectively in communication connection with a cloud platform and a blockchain system, and the method comprises the following steps:
sending a service application to the cloud platform;
receiving block chain data returned by the cloud platform;
according to a preset corresponding relation between the block chain data and a service private key, signing the block chain data by using the service private key corresponding to the block chain data to obtain transaction signature information;
sending the transaction signature information and the pre-applied digital currency account information to the blockchain system;
receiving a digital currency transaction notification corresponding to the digital currency account information, the digital currency transaction notification generated according to the transaction signature information.
2. The digital currency transaction method of claim 1, wherein if the blockchain data comprises: the method for signing the block chain data by using the service private key corresponding to the block chain data according to the preset corresponding relation between the block chain data and the service private key to obtain transaction signature information comprises the following steps:
determining the block chain information corresponding to the block chain service as related block chain information in the block chain information;
determining the service private key corresponding to the blockchain service as a target service private key by using the corresponding relation between the blockchain service and the service private key;
and signing the block chain service and the related block chain information by using the target service private key to obtain the transaction signature information.
3. The digital currency transaction method according to claim 2, wherein the blockchain system comprises a central digital currency system node;
the sending the transaction signature information and the pre-applied digital currency account information to the blockchain system includes: sending the digital currency account information and the transaction signature information to a position in the blockchain system corresponding to the relevant blockchain information;
the receiving a digital currency transaction notification corresponding to the digital currency account information includes: receiving the digital currency transaction notification corresponding to the digital currency account information sent by the central digital currency system node.
4. The digital currency transaction method according to claim 2, wherein if the blockchain data only includes blockchain services, the signing the blockchain data with the service private key corresponding to the blockchain data according to a preset correspondence between the blockchain data and the service private key to obtain transaction signature information comprises:
determining the service private key corresponding to the blockchain service as the target service private key by using the corresponding relation between the blockchain service and the service private key;
and signing the block chain service by using the target service private key to obtain the transaction signature information.
5. The digital currency transaction method according to claim 4, wherein the cloud platform is communicatively connected to a central digital currency system;
the sending the transaction signature information and the pre-applied digital currency account information to the blockchain system includes: sending the digital currency account information and the transaction signature information to the cloud platform, so that the cloud platform sends the digital currency account information and the transaction signature information to the blockchain system according to blockchain information;
the receiving a digital currency transaction notification corresponding to the digital currency account information includes: receiving the digital currency transaction notification corresponding to the digital currency account information sent by the cloud platform, wherein the digital currency transaction notification is sent to the cloud platform by the central digital currency system.
6. The digital currency transaction method is applied to a cloud platform, the cloud platform is respectively in communication connection with a mobile terminal and a block chain system, the block chain system comprises a plurality of block chains, each block chain corresponds to a block chain service, and the method comprises the following steps:
receiving a service application sent by the mobile terminal;
and returning the block chain data to the mobile terminal, wherein the block chain data comprises the block chain service.
7. The digital currency transaction method according to claim 6, wherein the cloud platform comprises a plurality of blockchain information, and if the blockchain data only comprises the blockchain service, the cloud platform is communicatively connected to the central digital currency system, the method further comprising:
receiving digital currency account information and transaction signature information sent by the mobile terminal;
verifying the transaction signature information by using user key algorithm information and a public key in the user information which are sent by the mobile terminal in advance;
if the verification is not passed, sending verification failure information to the mobile terminal;
if the verification is passed, determining the block chain information corresponding to the block chain service as related block chain information in the block chain information;
sending the transaction signature information to a position in the blockchain system corresponding to the related blockchain information;
sending digital currency transaction information generated according to the blockchain information to the central digital currency system;
receiving a digital currency transaction notification corresponding to the digital currency account information sent by the central digital currency system;
and sending the digital currency transaction notification corresponding to the digital currency account information to the mobile terminal.
8. A wallet integrated system, comprising: a blockchain system, a mobile terminal applying the method according to any one of claims 1 to 5 and a cloud platform applying the method according to any one of claims 6 to 7.
9. A digital money transaction apparatus, comprising: the system comprises a first sending module, a first receiving module, a signature module, a second sending module and a second receiving module;
the first sending module is used for sending a service application to the cloud platform;
the first receiving module is used for receiving the block chain data returned by the cloud platform;
the signature module is used for signing the block chain data by using the service private key corresponding to the block chain data according to the preset corresponding relation between the block chain data and the service private key to obtain transaction signature information;
the second sending module is used for sending the transaction signature information and the digital currency account information applied in advance to the block chain system;
the second receiving module is configured to receive a digital currency transaction notification corresponding to the digital currency account information, where the digital currency transaction notification is generated according to the transaction signature information.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the digital money transaction method of any one of claims 1-7.
CN202010623782.XA 2020-06-30 2020-06-30 Digital currency transaction method, device and wallet integral system Pending CN111768198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010623782.XA CN111768198A (en) 2020-06-30 2020-06-30 Digital currency transaction method, device and wallet integral system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010623782.XA CN111768198A (en) 2020-06-30 2020-06-30 Digital currency transaction method, device and wallet integral system

Publications (1)

Publication Number Publication Date
CN111768198A true CN111768198A (en) 2020-10-13

Family

ID=72723255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010623782.XA Pending CN111768198A (en) 2020-06-30 2020-06-30 Digital currency transaction method, device and wallet integral system

Country Status (1)

Country Link
CN (1) CN111768198A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231767A (en) * 2020-10-16 2021-01-15 海尔优家智能科技(北京)有限公司 Request information processing method and device, storage medium and electronic device
WO2023072115A1 (en) * 2021-10-27 2023-05-04 中国人民银行数字货币研究所 Digital currency transaction method and system, and related transaction terminals
WO2023156669A1 (en) * 2022-02-21 2023-08-24 Nchain Licensing Ag Computer implemented method and system for the provision of access to a plurality of functions and applications associated with a blockchain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231767A (en) * 2020-10-16 2021-01-15 海尔优家智能科技(北京)有限公司 Request information processing method and device, storage medium and electronic device
WO2023072115A1 (en) * 2021-10-27 2023-05-04 中国人民银行数字货币研究所 Digital currency transaction method and system, and related transaction terminals
WO2023156669A1 (en) * 2022-02-21 2023-08-24 Nchain Licensing Ag Computer implemented method and system for the provision of access to a plurality of functions and applications associated with a blockchain
WO2023156667A1 (en) * 2022-02-21 2023-08-24 Nchain Licensing Ag Computer implemented method and system for the provision of access to a plurality of functions and applications associated with a blockchain

Similar Documents

Publication Publication Date Title
CN110612546B (en) Method and apparatus for digital asset account management
CN111768198A (en) Digital currency transaction method, device and wallet integral system
EP3200138A1 (en) Digital asset conversion
CN110874742B (en) Payment method and device based on block chain and intelligent contract
CN111222841B (en) Block chain-based data distribution method and equipment and storage medium thereof
CN103812835A (en) Public key algorithm based offline mode ID and transaction authentication method
KR102050276B1 (en) Method for payment based on blockchain and payment server using the same
CN102103778A (en) Mobile payment system, mobile terminal and method for realizing mobile payment service
CN104599123A (en) Management method for account information, account management server and a POS terminal and system
JP6667498B2 (en) Remote transaction system, method and POS terminal
CN111914230B (en) Identity verification method, system, terminal equipment and storage medium based on block chain
CN110659899B (en) Offline payment method, device and equipment
JP5905945B2 (en) Apparatus and method for detecting fraudulent transactions
CN108492071A (en) A kind of express delivery information processing method and device based on block chain
CN111062717A (en) Data transfer processing method and device and computer readable storage medium
KR102075956B1 (en) Method for paying based on blockchain and payment server using the same
CN111768199A (en) Digital currency transaction method and local wallet system
CN109741070A (en) A kind of account management method and device based on net card
KR20200016157A (en) System and method for processing card payment based on block-chain
CN110619566A (en) On-chain pledge asset return system and method through on-chain digital currency settlement
CN110852864B (en) Digital resource amount processing method, device and storage medium
CN113297594A (en) Cross-chain transaction method and device, electronic equipment and storage medium
CN112862466A (en) Resource transfer method, account settling terminal and server node
CN111415148A (en) Method and device for non-inductive payment, electronic equipment and storage medium
CN110942390A (en) Stable currency transaction method based on block chain and storage medium

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