CN110751467A - Digital currency generation method and system - Google Patents

Digital currency generation method and system Download PDF

Info

Publication number
CN110751467A
CN110751467A CN201910808039.9A CN201910808039A CN110751467A CN 110751467 A CN110751467 A CN 110751467A CN 201910808039 A CN201910808039 A CN 201910808039A CN 110751467 A CN110751467 A CN 110751467A
Authority
CN
China
Prior art keywords
currency
credit control
digital
money
digital currency
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.)
Granted
Application number
CN201910808039.9A
Other languages
Chinese (zh)
Other versions
CN110751467B (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.)
Digital Currency Institute of the Peoples Bank of China
Original Assignee
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 Digital Currency Institute of the Peoples Bank of China filed Critical Digital Currency Institute of the Peoples Bank of China
Priority to CN201910808039.9A priority Critical patent/CN110751467B/en
Publication of CN110751467A publication Critical patent/CN110751467A/en
Application granted granted Critical
Publication of CN110751467B publication Critical patent/CN110751467B/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
    • 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/3823Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
    • 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/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

Abstract

The invention discloses a method and a system for generating digital currency, and relates to the technical field of computers. One embodiment of the method comprises: a digital currency delivery system, comprising: the credit control position generation request module and the currency generation module; the system comprises a credit control position generation request module, a credit control position generation request module and a credit control position generation module, wherein the credit control position generation request module is used for sending a credit control position generation request to a credit control system, and the credit control position generation request indicates currency transaction information, one or more currency generation amounts and identification information of a digital currency putting system; the currency generation module is used for receiving one or more first credit control bits returned by the credit control system according to the credit control bit generation request, and generating digital currency according to the first credit control bits, the identification information of a digital currency owner and the signature information of a digital currency putting mechanism. The embodiment ensures the legality and security of the generated digital currency by verifying the currency generation amount and the like.

Description

Digital currency generation method and system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for generating digital currency.
Background
With the development of the digital economy age, digital money is expected to become a main commodity and an important financial infrastructure of the digital economy age, and thus, it receives increasingly wide attention.
At present, because a digital currency scheme issued by a private person has the characteristics of anonymity, low cost, cross-regional, decentralization, high diffusion, high fluctuation and the like, and the digital currency scheme is very easy to cause impact and influence on a payment system, economic operation, financial stability and the like, a safer, more efficient, more flexible and more practical digital currency issuing and circulating mechanism needs to be established, and the legality and the safety of the digital currency are ensured while the digital payment is convenient.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for generating digital currency, which can generate digital currency, control the amount of the generated digital currency, and ensure the validity and security of the generated digital currency.
To achieve the above object, according to a first aspect of the present invention, there is provided a digital money dispensing system including: the credit control position generation request module and the currency generation module; wherein the content of the first and second substances,
the credit control position generation request module is used for sending a credit control position generation request to the credit control system, and the credit control position generation request indicates the currency transaction information, one or more currency generation amounts and the identification information of the digital currency putting system;
the currency generation module is used for receiving one or more first credit control bits returned by the credit control system according to the credit control bit generation request, and generating digital currency according to the first credit control bits, the identification information of a digital currency owner and the signature information of a digital currency putting mechanism.
Optionally, in a case where the money transaction requester is the digital money issuing system, the money transaction information indicates signature information of a central management system, the signature information of the central management system being obtained from the money generation amount and the identification information of the digital money system using a first private key of the central management system;
in the case that the money transaction requester is one or more user terminals, the money transaction information indicates one or more second credit control bits corresponding to the digital money owned by the one or more user terminals in the digital money delivery system.
Optionally, the money generating module is further configured to encrypt the first credit control bit and the identification information of the digital money owner by using a second private key of the digital money delivery system, and generate signature information of the digital money delivery mechanism.
To achieve the above object, according to a second aspect of the present invention, there is provided an credit control system including: the control module and the limit control position generating module; wherein the content of the first and second substances,
the control module is used for receiving a credit control bit generation request sent by the digital currency putting system, wherein the credit control bit generation request indicates currency transaction information, one or more currency generation amounts and identification information of the digital currency putting system;
and the credit control position generation module is used for generating one or more first credit control positions according to the currency transaction information, the one or more currency generation amounts, the identification information of the digital currency putting system and the signature information of the credit control system and sending the one or more first credit control positions to the digital currency putting system.
Optionally, the control module is further configured to,
in the case that the money transaction information indicates signature information of a central management system, verifying the money generation amount and identification information of the digital money putting system by using the signature information of the central management system, and when the verification is passed, sending the one or more money generation amounts and the identification information of the digital money putting system to the amount control position generation module;
and if the currency transaction information indicates one or more second credit control positions corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, judging whether the total amount corresponding to the one or more second credit control positions is equal to the total amount corresponding to the one or more currency generation amounts, and if so, sending the one or more second credit control positions, the one or more currency generation amounts and the identification information of the digital currency putting system to the credit control position generation module.
Optionally, the verifying module, which verifies the generated amount of money and the identification information of the digital money delivery system by using the signature information of the central management system, includes:
calculating the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate summary information;
decrypting the signature information of the central management system by using a first public key of the central management system by using an SM2 algorithm to obtain a summary plaintext;
and judging whether the abstract information is consistent with the abstract plaintext, and if so, passing the verification.
Optionally, the credit control bit generation module is further configured to,
generating a transaction identifier from the one or more currency generation amounts and the identification information of the digital currency putting system in case the currency transaction information indicates signature information of a central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, generating a transaction identifier according to the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system.
Optionally, the credit control bit generation module is further configured to,
calculating the one or more money generation amounts and the identification information of the digital money dispensing system using an SM3 algorithm to generate a transaction identification when the money transaction information indicates signature information of a central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, calculating the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate a transaction identification.
Optionally, the credit control bit generation module is further configured to,
generating a summary of the currency generation amount, the identification information of the digital currency delivery system, the transaction identification using the SM3 algorithm;
and encrypting the generated digest by using a third private key of the credit control system by using an SM2 algorithm to generate signature information of the credit control system.
Optionally, the credit control bit generation module is further configured to,
encrypting the transaction identification, the one or more currency generating amounts, the identification information of the digital currency delivery system, and the timestamp, the random number, using the SM3 algorithm to generate an encrypted unique number;
generating signature information of the credit control system according to the transaction identification, the encrypted unique number, the one or more currency generation amounts, the identification information of the digital currency putting system, the timestamp and the random number;
and generating the one or more quota control bits according to the one or more currency generation amounts, the identification information of the digital currency putting system, the transaction identification and the signature information of the quota control system.
To achieve the above object, according to a third aspect of the present invention, there is provided a digital money generating method applied to a digital money delivery system, including:
sending a credit control bit generation request to a credit control system, the credit control bit generation request indicating currency transaction information, one or more currency generation amounts, and identification information of a digital currency delivery system;
and receiving one or more first credit control positions returned by the credit control system according to the credit control position generation request, and generating the digital currency according to the first credit control positions, the identification information of the owner of the digital currency and the signature information of the digital currency putting mechanism.
Optionally, in a case where the money transaction requester is the digital money issuing system, the money transaction information indicates signature information of a central management system, the signature information of the central management system being obtained from the money generation amount and the identification information of the digital money system using a first private key of the central management system;
in the case that the money transaction requester is one or more user terminals, the money transaction information indicates one or more second credit control bits corresponding to the digital money owned by the one or more user terminals in the digital money delivery system.
Optionally, the first credit control bit and the identification information of the digital currency owner are encrypted by using a second private key of the digital currency putting system, so as to generate signature information of the digital currency putting mechanism.
In order to achieve the above object, according to a fourth aspect of the present invention, there is provided a method for generating digital money, applied to a credit control system, including:
receiving a credit control position generation request sent by a digital currency putting system, wherein the credit control position generation request indicates currency transaction information, one or more currency generation amounts and identification information of the digital currency putting system;
and generating one or more first credit control bits according to the currency transaction information, the one or more currency generation amounts, the identification information of the digital currency putting system and the signature information of the credit control system, and sending the one or more first credit control bits to the digital currency putting system.
Optionally, the method further comprises: verifying the money generation amount and the identification information of the digital money deposit system using the signature information of the central management system in a case where the money transaction information indicates the signature information of the central management system;
and if the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by one or more user terminals in the digital currency delivery system, judging whether the total amount corresponding to the one or more second credit control bits is equal to the total amount corresponding to the one or more currency generation amounts.
Optionally, the verifying the money generation amount and the identification information of the digital money delivery system using the signature information of the central management system includes:
calculating the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate summary information;
decrypting the signature information of the central management system by using a first public key of the central management system by using an SM2 algorithm to obtain a summary plaintext;
and judging whether the abstract information is consistent with the abstract plaintext, and if so, passing the verification.
Optionally, the method further comprises: generating a transaction identifier from the one or more currency generation amounts and the identification information of the digital currency putting system in case the currency transaction information indicates the signature information of the central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, generating a transaction identifier according to the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system.
Optionally, using the SM3 algorithm, in case the money transaction information indicates signature information of a central management system, calculating the one or more money generation amounts and identification information of the digital money delivery system to generate a transaction identification;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, calculating the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate a transaction identification.
Optionally, using the SM3 algorithm to generate a summary of the currency generation amount, the identification information of the digital currency delivery system, the transaction identification;
and encrypting the generated digest by using a third private key of the credit control system by using an SM2 algorithm to generate signature information of the credit control system.
Optionally, encrypting the transaction identification, the one or more currency generating amounts, the identification information of the digital currency delivery system, and the timestamp, the random number using the SM3 algorithm to generate an encrypted unique number;
generating signature information of the credit control system according to the transaction identification, the encrypted unique number, the one or more currency generation amounts, the identification information of the digital currency putting system, the timestamp and the random number;
and generating the one or more quota control bits according to the one or more currency generation amounts, the identification information of the digital currency putting system, the transaction identification and the signature information of the quota control system.
To achieve the above object, according to a fifth aspect of the present invention, there is provided a digital money generating system including: the digital money delivery system according to any one of the first aspect and the credit control system according to any one of the second aspect.
Optionally, further comprising: a currency terminal; wherein the content of the first and second substances,
the currency putting system is used for putting the generated digital currency into the currency terminal;
the currency terminal is used for managing the digital currency.
To achieve the above object, according to a sixth aspect of the present invention, there is provided a server for generating digital money, comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out any of the methods of generating digital currency described above.
To achieve the above object, according to a seventh aspect of the present invention, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods of generating digital money as described above.
Due to the adoption of the technical scheme, the invention has the following advantages or beneficial effects: before the digital currency putting system needs to put digital currency, the credit control system needs to send a credit control bit generation request, and when information such as currency generation amount indicated by the credit control bit generation request passes verification, the credit control system sends a credit control bit corresponding to the currency generation request to the digital currency putting system, so that the digital currency putting system can generate digital currency with the same amount as the currency generation amount according to the credit control bit. Therefore, the risk that the digital currency is excessively put in the currency putting system is avoided, a safe and convenient application environment is further provided for the digital currency, and the putting safety of the digital currency is improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with specific embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a digital currency delivery system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of generating signature information of a central management system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a credit control system according to an embodiment of the invention;
FIG. 4a is a schematic flow chart of generating credit control bits according to an embodiment of the present invention;
FIG. 4b is a schematic diagram of another exemplary process for generating credit control bits according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a method for generating digital currency according to one embodiment of the present invention;
FIG. 6 is a schematic diagram of the structure of a digital currency generating system provided by an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 8 is a schematic structural diagram of a computer system of a terminal device or a server suitable for implementing the embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, an embodiment of the present invention provides a digital money delivery system 100, including: a credit control bit generation request module 101 and a currency generation module 102; wherein the content of the first and second substances,
the credit control bit generation request module 101 is configured to send a credit control bit generation request to a credit control system, where the credit control bit generation request indicates a money transaction information, one or more money generation amounts, and an identification information of a digital money delivery system;
the money generation module 102 is configured to receive one or more first credit control bits returned by the credit control system according to the credit control bit generation request, and generate digital money according to the first credit control bits, identification information of a digital money owner, and signature information of a digital money delivery mechanism.
Optionally, after the digital money delivery system 100 receives one or more first credit control bits, the money generation module 102 is further configured to verify the signature information of the credit control system indicated by the first credit control bit, and generate the digital money according to the first credit control bit, the identification information of the owner of the digital money, the signature information of the digital money delivery mechanism, and the like, if and only if the signature information of the credit control system passes the verification, that is, after it is ensured that the source of the first credit control bit is legal.
Optionally, in a case where the money transaction requester is the digital money deposit system, the money transaction information indicates signature information of a central management system, the signature information of the central management system being obtained from the money generation amount and the identification information of the digital money system using a first private key of the central management system.
In this case, when the digital money dispensing system needs to generate new digital money in each case, it is necessary to actively transmit a money generation request to the center management system, the money generation request indicating a money generation amount, identification information of the digital money dispensing system, and the like, and the center management system may verify the money generation amount based on the available amount previously set for the digital money dispensing system, that is, determine whether the money generation amount is smaller than the available amount, and if so, verify the money generation amount and generate signature information of the center management system based on the money generation amount and the identification information of the digital money dispensing system.
Optionally, referring to fig. 2, the signature information of the central management system may be generated by the central management system using an SM2 algorithm and an SM3 algorithm, which specifically includes the following steps:
in step S201, the SM3 algorithm is used to calculate the money generation amount and the identification information of the digital money deposit system, and generate a first digest.
Step S202, using SM2 algorithm to encrypt the first digest with the first private key of the central psychological system, and generating signature information of the central management system.
That is, the signature information of the central management system is signature information of a combination of the generated money amount and the identification information of the digital money dispensing system.
Optionally, in a case that the money transaction requester is one or more user terminals, the money transaction information indicates one or more second credit control bits corresponding to digital money owned by the one or more user terminals in the digital money delivery system. At this time, the digital money delivery system needs to generate new digital money by using the digital money owned by the user terminal according to the requirement of the user terminal initiating the money transaction request, thereby realizing the circulation of the digital money between different user terminals, such as transfer, remittance, payment, and the like.
Optionally, the money generating module 102 is further configured to encrypt the first credit control bit and the identification information of the digital money owner by using a second private key of the digital money releasing system, so as to generate signature information of the digital money releasing organization.
The signature information of the digital currency putting mechanism is signature information of a combination of the first credit control bit, the identification information of the owner of the digital currency and the extension information. The generated digital currency includes one or more of the following: the credit control position, the identification information of the digital currency owner, the signature information of the digital currency putting mechanism and the extension information. Wherein, the extended information refers to any information which is reserved and can be added in the digital currency according to actual needs.
When the digital currency putting system prepares digital currency in advance according to a currency transaction request initiated by a user terminal or according to a currency putting plan thereof, namely the digital currency putting system needs to generate the digital currency under various conditions, the credit control system is required to send a credit control position generation request, and when a first credit control position returned by the credit control system is received, the digital currency with corresponding amount can be generated according to the first credit control position, so that the control of the amount of the digital currency put and generated by the digital currency putting system is realized through the credit control system, and the putting safety of the digital currency is improved.
As shown in FIG. 3, an embodiment of the invention provides a credit control system 200, where the credit control system 200 includes: a control module 201 and a limit control position generating module 202; the control module 201 is configured to receive a credit control bit generation request sent by a digital currency delivery system, where the credit control bit generation request indicates currency transaction information, one or more generated currencies and identification information of the digital currency delivery system;
the credit control bit generation module 202 is configured to generate one or more first credit control bits according to the money transaction information, the one or more money generation amounts, the identification information of the digital money delivery system, and the signature information of the credit control system, and send the one or more first credit control bits to the digital money delivery system.
Optionally, after the credit control system 200 receives the credit control bit generation request sent by the digital money delivery system, the control module 201 is further configured to verify signature information of the digital money delivery system indicated by the credit control bit generation request, where the signature information of the digital money delivery system is obtained by encrypting the money transaction information, one or more money generation amounts, and the identification information of the digital money delivery system by using the second private key of the digital money delivery system; and if and only if the signature information of the digital currency putting system passes the verification, namely under the condition that the credit control position generation request really comes from the corresponding digital currency putting system, generating one or more first credit control positions according to the currency transaction information and the credit control position signature information indicated by the credit control position generation request.
More specifically, the control module 201 generates a summary of the money transaction information, the one or more money generation amounts, the identification information of the digital money delivery system indicated by the credit control bit generation request using the SM3 algorithm; and decrypting the signature information of the digital currency putting system by using a second public key corresponding to a second private key of the digital currency putting system by using an SM2 algorithm to generate a corresponding summary plaintext, comparing whether the generated summary is consistent with the decrypted summary plaintext, if so, verifying that the signature information of the digital currency putting system passes, namely, indicating that the credit control bit generation request source is legal and credible, and continuing to perform subsequent operations.
Optionally, the control module 201 is further configured to, in a case that the money transaction information indicates signature information of a central management system, verify the money generation amount and identification information of the digital money putting system using the signature information of the central management system, and send the one or more money generation amounts and the identification information of the digital money putting system to the credit control position generation module when the verification is passed; and if the currency transaction information indicates one or more second credit control positions corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, judging whether the total amount corresponding to the one or more second credit control positions is equal to the total amount corresponding to the one or more currency generation amounts, and if so, sending the one or more second credit control positions, the one or more currency generation amounts and the identification information of the digital currency putting system to a credit control position generation module.
Optionally, the verifying module 201, which verifies the generated money amount and the identification information of the digital money delivery system by using the signature information of the central management system, includes: calculating the one or more currency generation amounts and the identification information of the digital currency delivery system by using an SM3 algorithm to generate summary information; decrypting the signature information of the central management system by using a first public key of the central management system by using an SM2 algorithm to obtain a summary plaintext; and judging whether the abstract information is consistent with the abstract plaintext, and if so, passing the verification.
In addition, the control module 201 may also verify the credit control bit generation request according to a preset verification rule, such as a format of the credit control bit generation request, a size of the credit control bit generation request, whether a currency generation amount indicated by the credit control bit generation request is smaller than a currently available credit of the credit control system, and the like. When the request for generating the amount control position passes the verification, the corresponding amount control position can be generated according to the request for generating the amount control position, and then the amount control position is sent to the digital currency generating system, so that the digital currency generating system generates the digital currency with the corresponding amount according to the amount control position. Therefore, the credit control bit generation request is prevented from being maliciously tampered in the transmission process, and the putting safety of the digital currency is further improved.
Optionally, the credit control bit generation module 202 is further configured to, in a case that the money transaction information indicates signature information of a central management system, generate a transaction identifier according to the one or more money generation amounts and identification information of the digital money delivery system; and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, generating a transaction identifier according to the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system.
The transaction identification indicates the source and the destination of the digital currency, and the legality of the currency transaction request can be verified according to the transaction identification, so that the requirement of a newly generated digital currency on a central management system is further ensured, and the legality of the amount of the newly generated digital currency according to the original digital currency in the circulation process of the digital currency is ensured.
Optionally, the credit control bit generation module 202 is further configured to, in a case that the money transaction information indicates signature information of a central management system, use an SM3 algorithm to calculate the one or more money generation amounts and the identification information of the digital money delivery system to generate a transaction identification; and if the currency transaction information indicates one or more second quota control bits corresponding to the digital currency owned by the digital currency putting system by one or more user terminals, calculating the one or more second quota control bits, the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate a transaction identification.
It is understood that, in the case that the money transaction information indicates one or more second credit control bits corresponding to the digital money owned by the digital money input system of the user terminal, i.e. the circulation of the digital money between different user terminals is realized, such as transfer, remittance, etc., to ensure the validity of the money transaction, the SM3 algorithm may be used to calculate any money transaction related information (such as the transaction user, the transaction time, the transaction amount, the transaction location, etc.) such as the amount corresponding to the digital money indicated by the second credit control bits, the digital money owner information, the identification information of the digital money input system, the money generation amount, the owner information of the digital money to be generated, and the identification information of the digital money input system corresponding to the digital money to be generated, so as to generate the transaction identification.
Optionally, the credit control bit generation module 202 is further configured to generate a summary of the money generation amount, the identification information of the digital money delivery system, and the transaction identification using an SM3 algorithm; and encrypting the generated digest by using a third private key of the credit control system by using an SM2 algorithm to generate signature information of the credit control system. That is, the signature information of the credit control system is the signature information of the combination of the generated amount of money, the identification information of the digital money delivery system, and the transaction identification. It is understood that the signature information of the credit control system may be signature information of any combination of the generated amount of money, the identification information of the digital money delivery system, the signature information of the central management system, the transaction identification, the encrypted unique number, the time stamp, the random number and the extension information.
Optionally, the credit control bit generation module 202 is further configured to encrypt the transaction identifier, the one or more currency generation amounts, the identification information of the digital currency delivery system, and the timestamp and the random number by using an SM3 algorithm to generate an encrypted unique number; generating signature information of the credit control system according to the transaction identification, the encrypted unique number, the one or more currency generation amounts, the identification information of the digital currency putting system, the timestamp and the random number; and generating the one or more credit control bits according to the one or more money generating amounts, the identification information of the digital money putting system, the transaction identification and the signature information of the credit control system.
The generated credit control bits include one or more of the following: a currency generation amount, identification information of the digital currency delivery system, signature information of a central management system, a transaction identification, an encrypted unique number, a timestamp, a random number, and extension information. The encrypted unique number is obtained by calculating a transaction identifier, a currency generation amount, identification information of a digital currency putting system, a timestamp, a random number and the like by using an SM3 algorithm; the time stamp may be: time corresponding to the request of generating the digital currency, time corresponding to the generation of the quota control bit, time corresponding to the generation of the request of receiving the quota control bit and the like; extended information refers to any information that is reserved that may be added to the credit control bits for actual needs.
Alternatively, referring to fig. 4a, when the money transaction information indicates the signature information of the central management system after the received request for generating the credit control station is generated by the credit control system 200, that is, when the digital money delivery system needs to apply for generating digital money from the central management system according to the digital money delivery plan, etc., the specific steps of generating the credit control station using the SM2 algorithm and the SM3 algorithm are as follows:
step S401a, receiving a credit control bit generation request indicating that the money is transaction information indicating signature information of the central management system, identification information of the digital money delivery system, one or more money generation amounts.
The central management system verifies one or more currency generation amounts, and if the total amount of the one or more currency generation amounts is judged to be not more than the available amount of the digital currency putting system, the verification is passed, signature information required by corresponding central management is generated and sent to the digital currency putting system, so that the digital currency putting system can send the signature information of the central management system in the currency transaction information when sending an amount control position generation request to the amount control system.
In step S402a, the SM3 algorithm is used to calculate the money generation amount and the identification information of the digital money deposit system, thereby generating summary information.
Step S403a, using SM2 algorithm to decrypt the signature information of the central management system with the first public key of the central management system, and obtain the digest plaintext.
Step S404a, based on the above steps, determines whether the digest information matches the digest plaintext: if the signature information is consistent with the signature information, the signature information passes verification, and the subsequent steps are continuously executed; if not, the signature information is not verified, and the generation of the limit control bit is stopped.
In step S405a, the SM3 algorithm is used to calculate the identification information of the digital money deposit system and the generated amount of money, thereby generating a transaction identification.
It will be appreciated that in the process of generating the transaction identity, the SM3 algorithm may be used to operate on any money transaction related information (such as transaction user, transaction time, transaction amount, transaction location, etc.) including the amount of money generated, the identity of the digital money delivery system to which the digital money is to be generated, and owner information of the digital money to be generated.
In step S406a, the SM3 algorithm is used to calculate the identification information of the digital money dispensing system, the generated amount of money, and the transaction identification, thereby generating a second digest.
Step S407a, using SM2 algorithm, the second digest is encrypted by the third private key of the credit control system, and signature information of the credit control system is generated.
The signature information of the credit control system is the signature information of the combination of the identification information of the digital currency putting system, the generated money amount and the transaction identification.
Step S408a, generating a first credit control bit according to the money generation amount, the identification information of the digital money putting system, the transaction identification and the signature information of the credit control system.
Optionally, referring to fig. 4b, after the credit control system 200 receives the request for generating credit control bits, if the money transaction information indicates that one or more user terminals are at one or more second credit control bits corresponding to the digital money owned by the digital money delivery system, that is, if the digital money delivery system needs to generate digital money according to the money transaction request initiated by the user terminal, the specific steps of generating credit control bits using the SM2 algorithm and the SM3 algorithm are as follows:
step S401b, receiving a credit control bit generation request indicating that the money is transaction information, identification information of the digital money delivery system, one or more money generation amounts, the money transaction information indicating one or more second credit control bits.
Under the condition that the digital currency putting system needs to generate digital currency according to a currency transaction request initiated by a user terminal, in order to ensure the conservation of the total amount of currency in the process of circulating among different user terminals, the digital currency owned by the user terminal in the digital currency putting system needs to be converted into new digital currency owned by the user terminal after transaction. Therefore, the digital currency putting system firstly obtains one or more second limit control positions corresponding to the digital currency owned by the user terminal, the second limit control positions indicate the amount of the corresponding digital currency, and the second limit control positions are sent to the limit control system, so that the limit control system can verify whether the total amount of the second limit control positions is equal to the total amount of the generated digital currency, further the conservation of the total amount in the currency circulation process is ensured, and the possibility of the circulation of the digital currency instead of paper money is realized.
Step S402b, determining whether the total amount of the one or more second credit control bits is equal to the total amount of the one or more currency generation amounts; if yes, the subsequent steps are continued, if not, the limit control bit is not generated. Therefore, the digital currency circulation process is ensured, and the balance between the newly generated digital currency and the old digital currency is kept.
In step S403b, the SM3 algorithm is used to calculate one or more second credit control bits, identification information of the digital currency delivery system, and the currency generation amount to generate a transaction identification.
It is understood that the SM3 algorithm may be used to calculate any money transaction related information (such as transaction user, transaction time, transaction amount, transaction location, etc.) such as the amount corresponding to the digital money indicated by the second credit control bit, digital money owner information, digital money dispensing system identification information, and money generation amount, digital money to be generated owner information, digital money to be generated digital money dispensing system identification information, etc. to generate the transaction identification.
In step S404b, the SM3 algorithm is used to calculate the identification information of the digital money dispensing system, the generated amount of money, and the transaction identification, thereby generating a second digest.
Step S405b, the SM2 algorithm is used to encrypt the second summary with the third private key of the credit control system, and signature information of the credit control system is generated.
The signature information of the credit control bit is signature information including a combination of identification information of the digital money deposit system, money generation amount, transaction identification, and the like.
Step S406b, generating a first credit control bit according to the generated money amount, the identification information of the digital money putting system, the transaction identification and the signature information of the credit control system.
As shown in fig. 5, an embodiment of the present invention further provides a method for generating digital currency, which is applicable to a digital currency delivery system, and includes the following steps:
step S501, sending a credit control bit generation request to the credit control system, wherein the credit control bit generation request indicates the currency transaction information, one or more currency generation amounts and the identification information of the digital currency delivery system.
Step S506, receiving one or more first credit control bits returned by the credit control system according to the credit control bit generation request.
And step S507, generating the digital currency according to the first quota control position, the identification information of the digital currency owner and the signature information of the digital currency putting mechanism.
Optionally, a specific implementation manner of step S501 may include: in the case where the money transaction requester is the digital money dispensing system, the money transaction information indicates signature information of a central management system, the signature information of the central management system being obtained from the money generation amount and the identification information of the digital money system using a first private key of the central management system; in the case that the money transaction requester is one or more user terminals, the money transaction information indicates one or more second credit control bits corresponding to digital money owned by the one or more user terminals in the digital money delivery system.
Optionally, a specific implementation manner of step S507 may include: and encrypting the first limit control position and the identification information of the digital currency owner by using a second private key of the digital currency putting system to generate signature information of the digital currency putting mechanism.
With continued reference to fig. 5, an embodiment of the present invention further provides a method for generating digital currency, which is applied to a credit control system, and the method may include the following steps:
step S502, receiving a credit control bit generation request sent by the digital currency putting system, wherein the credit control bit generation request indicates currency transaction information, one or more currency generation amounts and identification information of the digital currency putting system.
Step S504, one or more first credit control bits are generated according to the currency transaction information, the one or more currency generating amounts, the identification information of the digital currency putting system and the signature information of the credit control system.
Step S505, the one or more first limit control bits are sent to the digital currency putting system.
Optionally, step 503 may be further included, verifying according to the currency transaction information: verifying the money generation amount and the identification information of the digital money deposit system using the signature information of the central management system in a case where the money transaction information indicates the signature information of the central management system; and if the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by one or more user terminals in the digital currency delivery system, judging whether the total amount corresponding to the one or more second credit control bits is equal to the total amount corresponding to the one or more currency generation amounts.
Optionally, the specific implementation manner of step S503 may include: calculating the one or more currency generation amounts and the identification information of the digital currency delivery system by using an SM3 algorithm to generate summary information; decrypting the signature information of the central management system by using an SM2 algorithm and a first public key of the central management system to obtain a summary plaintext; and judging whether the abstract information is consistent with the abstract plaintext, and if so, passing the verification.
Optionally, in an embodiment of step S504, in case the money transaction information indicates signature information of the central management system, generating a transaction identifier according to the one or more money generation amounts and identification information of the digital money delivery system; and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, generating a transaction identifier according to the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system.
Optionally, the specific implementation manner of step S504 may include: calculating the one or more money generation amounts and the identification information of the digital money dispensing system using an SM3 algorithm to generate a transaction identification when the money transaction information indicates signature information of a central management system; and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system by one or more user terminals, calculating the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate a transaction identification.
Optionally, the specific implementation manner of step S504 may include: generating a summary of the currency generation amount, the identification information of the digital currency delivery system, the transaction identification using the SM3 algorithm; and encrypting the generated digest by using a third private key of the credit control system by using an SM2 algorithm to generate signature information of the credit control system.
Optionally, the specific implementation manner of step S504 may include: encrypting the transaction identification, the one or more currency generation amounts, the identification information of the digital currency delivery system, and the timestamp, the random number, using an SM3 algorithm to generate an encrypted unique number; generating signature information of the credit control system according to the transaction identification, the encrypted unique number, the one or more currency generation amounts, the identification information of the digital currency putting system, the timestamp and the random number; and generating the one or more credit control bits according to the one or more money generating amounts, the identification information of the digital money putting system, the transaction identification and the signature information of the credit control system.
Referring to fig. 6, an embodiment of the present invention further provides a digital currency generating system 600, including: the digital currency delivery system 100 according to any of the above embodiments of the present invention and the credit line control system 200 according to any of the above embodiments of the present invention.
Optionally, the digital money generation system 600 further comprises: the money terminal 300; wherein the digital currency delivery system 100 is configured to deliver the generated digital currency to the currency terminal; the money terminal 300 is configured to manage the digital money.
It is understood that after the digital money is generated, the digital money dispensing system 100 may selectively dispense the digital money to the money terminal 300 according to actual needs, that is, the money terminal 300 manages only the digital money dispensed from the digital money dispensing system 100 to the money terminal 300.
Specifically, when the money transaction information indicates signature information of the center management system, that is, when the digital money deposit system 100 needs to actively apply for the generation of digital money to the center management system according to a digital money deposit plan or the like, the digital money deposit system 100 may retain the generated digital money and not transmit the digital money to the money terminal 300 for management; when the currency transaction information indicates that one or more user terminals need to generate digital currency according to a currency transaction request initiated by the user terminal, the digital currency delivery system 100 delivers the generated digital currency to the currency terminal 300 for management, in other words, when the currency transaction information indicates that one or more user terminals need to generate digital currency according to one or more second credit control bits corresponding to the digital currency owned by the digital currency delivery system 100.
An embodiment of the present invention further provides a server, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method as in any one of the above-described methods of generating digital money.
An embodiment of the present invention also provides a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing the method as set forth in any one of the above-described methods of generating digital money.
Fig. 7 illustrates an exemplary system architecture 700 of a digital currency generation method or central management system or currency delivery system to which embodiments of the present invention may be applied.
As shown in fig. 8, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. Network 704 is used to provide a medium for communication links between terminal devices 701, 702, 703 and server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 701, 702, and 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 705 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 701, 702, and 703. The background management server can analyze and process the received data such as the product information inquiry request and feed back the processing result to the terminal equipment.
It should be noted that the method for generating digital money provided by the embodiment of the present invention is generally executed by the server 705, and accordingly, the money delivery system is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as an internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a control module and a credit control bit generation module. The names of these modules do not in some cases form a limitation on the module itself, and for example, a control module may also be described as a "module that receives a credit control bit generation request".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: sending a credit control bit generation request to a credit control system, the credit control bit generation request indicating currency transaction information, one or more currency generation amounts, and identification information of a digital currency delivery system; and receiving one or more first credit control positions returned by the credit control system according to the credit control position generation request, and generating the digital currency according to the first credit control positions, the identification information of the digital currency owner and the signature information of the digital currency putting mechanism.
According to the technical scheme of the embodiment of the invention, before the digital currency putting system needs to put digital currency, the credit control system needs to send a credit control position generation request, and when information such as currency generation amount indicated by the credit control position generation request passes verification, the credit control system sends a credit control position corresponding to the currency generation request to the digital currency putting system, so that the digital currency putting system can generate digital currency with the amount equal to the currency generation amount according to the credit control position. Therefore, the risk that the digital currency is excessively put in the currency putting system is avoided, a safe and convenient application environment is further provided for the digital currency, and the putting safety of the digital currency is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (24)

1. A digital currency delivery system, comprising: the credit control position generation request module and the currency generation module; wherein the content of the first and second substances,
the credit control position generation request module is used for sending a credit control position generation request to the credit control system, and the credit control position generation request indicates the currency transaction information, one or more currency generation amounts and the identification information of the digital currency putting system;
the currency generation module is used for receiving one or more first credit control bits returned by the credit control system according to the credit control bit generation request, and generating digital currency according to the first credit control bits, the identification information of a digital currency owner and the signature information of a digital currency putting mechanism.
2. The digital money delivery system according to claim 1,
in the case where the money transaction requester is the digital money dispensing system, the money transaction information indicates signature information of a central management system, the signature information of the central management system being obtained from the money generation amount and the identification information of the digital money system using a first private key of the central management system;
in the case that the money transaction requester is one or more user terminals, the money transaction information indicates one or more second credit control bits corresponding to digital money owned by the one or more user terminals in the digital money delivery system.
3. The digital money delivery system according to claim 1,
the currency generation module is further configured to encrypt the first quota control bit and the identification information of the digital currency owner by using a second private key of the digital currency delivery system, and generate signature information of the digital currency delivery mechanism.
4. An credit control system, comprising: a control module and a limit control position generating module; wherein the content of the first and second substances,
the control module is used for receiving a credit control bit generation request sent by the digital currency putting system, wherein the credit control bit generation request indicates currency transaction information, one or more currency generation amounts and identification information of the digital currency putting system;
and the credit control position generation module is used for generating one or more first credit control positions according to the currency transaction information, the one or more currency generation amounts, the identification information of the digital currency putting system and the signature information of the credit control system and sending the one or more first credit control positions to the digital currency putting system.
5. The credit control system of claim 4, wherein the control module is further configured to,
under the condition that the currency transaction information indicates signature information of a central management system, verifying the currency generation amount and the identification information of the digital currency putting system by using the signature information of the central management system, and sending the one or more currency generation amounts and the identification information of the digital currency putting system to the amount control position generation module when the verification is passed;
and if the currency transaction information indicates one or more second credit control positions corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, judging whether the total amount corresponding to the one or more second credit control positions is equal to the total amount corresponding to the one or more currency generation amounts, and if so, sending the one or more second credit control positions, the one or more currency generation amounts and the identification information of the digital currency putting system to the credit control position generation module.
6. The credit control system of claim 5, wherein the control module verifies the money generation amount and the identification information of the digital money dispensing system using the signature information of the central management system, and comprises:
calculating the one or more currency generation amounts and the identification information of the digital currency delivery system by using an SM3 algorithm to generate summary information;
decrypting the signature information of the central management system by using a first public key of the central management system by using an SM2 algorithm to obtain a summary plaintext;
and judging whether the abstract information is consistent with the abstract plaintext, and if so, passing the verification.
7. The credit control system of claim 5, wherein the credit control bit generation module is further configured to,
generating a transaction identifier from the one or more currency generation amounts and the identification information of the digital currency putting system in case the currency transaction information indicates signature information of a central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, generating a transaction identifier according to the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system.
8. The credit control system of claim 7, wherein the credit control bit generation module is further configured to,
calculating the one or more money generation amounts and the identification information of the digital money dispensing system using an SM3 algorithm to generate a transaction identification when the money transaction information indicates signature information of a central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, calculating the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate a transaction identification.
9. The credit control system of claim 7, wherein the credit control bit generation module is further configured to,
generating a summary of the currency generation amount, the identification information of the digital currency delivery system, the transaction identification using the SM3 algorithm;
and encrypting the generated digest by using a third private key of the credit control system by using an SM2 algorithm to generate signature information of the credit control system.
10. The credit control system of claim 7, wherein the credit control bit generation module is further configured to,
encrypting the transaction identification, the one or more currency generation amounts, the identification information of the digital currency delivery system, and the timestamp, the random number, using an SM3 algorithm to generate an encrypted unique number;
generating signature information of the credit control system according to the transaction identification, the encrypted unique number, the one or more currency generation amounts, the identification information of the digital currency putting system, the timestamp and the random number;
and generating the one or more credit control bits according to the one or more money generation amounts, the identification information of the digital money putting system, the transaction identification and the signature information of the credit control system.
11. A method for generating digital currency, which is applied to a digital currency delivery system, comprises the following steps:
sending a credit control bit generation request to a credit control system, the credit control bit generation request indicating currency transaction information, one or more currency generation amounts, and identification information of a digital currency delivery system;
and receiving one or more first credit control positions returned by the credit control system according to the credit control position generation request, and generating the digital currency according to the first credit control positions, the identification information of the digital currency owner and the signature information of the digital currency putting mechanism.
12. The digital money generating method according to claim 11,
in the case where the money transaction requester is the digital money dispensing system, the money transaction information indicates signature information of a central management system, the signature information of the central management system being obtained from the money generation amount and the identification information of the digital money system using a first private key of the central management system;
in the case that the money transaction requester is one or more user terminals, the money transaction information indicates one or more second credit control bits corresponding to digital money owned by the one or more user terminals in the digital money delivery system.
13. The digital money generating method according to claim 11,
and encrypting the first quota control bit and the identification information of the digital currency owner by using a second private key of the digital currency putting system to generate signature information of the digital currency putting mechanism.
14. A method for generating digital currency is applied to a credit control system and comprises the following steps:
receiving a credit control bit generation request sent by a digital currency putting system, wherein the credit control bit generation request indicates currency transaction information, one or more currency generation amounts and identification information of the digital currency putting system;
and generating one or more first credit control positions according to the currency transaction information, the one or more currency generation amounts, the identification information of the digital currency putting system and the signature information of the credit control system, and sending the one or more first credit control positions to the digital currency putting system.
15. The method of generating digital currency according to claim 14, further comprising:
verifying the money generation amount and the identification information of the digital money deposit system using the signature information of the central management system in a case where the money transaction information indicates the signature information of the central management system;
and if the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by one or more user terminals in the digital currency delivery system, judging whether the total amount corresponding to the one or more second credit control bits is equal to the total amount corresponding to the one or more currency generation amounts.
16. The method of generating digital money according to claim 15, wherein the verifying the money generation amount and the identification information of the digital money delivery system using the signature information of the central management system includes:
calculating the one or more currency generation amounts and the identification information of the digital currency delivery system by using an SM3 algorithm to generate summary information;
decrypting the signature information of the central management system by using a first public key of the central management system by using an SM2 algorithm to obtain a summary plaintext;
and judging whether the abstract information is consistent with the abstract plaintext, and if so, passing the verification.
17. The method of generating digital currency according to claim 15, further comprising:
generating a transaction identifier from the one or more currency generation amounts and the identification information of the digital currency putting system in case the currency transaction information indicates signature information of a central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, generating a transaction identifier according to the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system.
18. The method of generating digital money according to claim 17, wherein,
calculating the one or more money generation amounts and the identification information of the digital money dispensing system using an SM3 algorithm to generate a transaction identification when the money transaction information indicates signature information of a central management system;
and under the condition that the currency transaction information indicates one or more second credit control bits corresponding to the digital currency owned by the digital currency putting system of one or more user terminals, calculating the one or more second credit control bits, the one or more currency generation amounts and the identification information of the digital currency putting system by using an SM3 algorithm to generate a transaction identification.
19. The method of generating digital money according to claim 17, wherein,
generating a second summary of the currency generation amount, the identification information of the digital currency delivery system, the transaction target using the SM3 algorithm;
and encrypting the generated digest by using a third private key of the credit control system by using an SM2 algorithm to generate signature information of the credit control system.
20. The method of generating digital money according to claim 17, wherein,
encrypting the transaction identification, the one or more currency generation amounts, the identification information of the digital currency delivery system, and the timestamp, the random number, using an SM3 algorithm to generate an encrypted unique number;
generating signature information of the credit control system according to the transaction identification, the encrypted unique number, the one or more currency generation amounts, the identification information of the digital currency putting system, the timestamp and the random number;
and generating the one or more credit control bits according to the one or more money generation amounts, the identification information of the digital money putting system, the transaction identification and the signature information of the credit control system.
21. A digital currency generating system, comprising: the digital money delivery system according to claims 1 to 3, and the credit control system according to claims 4 to 10.
22. The digital currency generating system according to claim 21,
further comprising: a currency terminal; wherein the content of the first and second substances,
the digital currency putting system is used for putting the generated digital currency into the currency terminal;
the currency terminal is used for managing the digital currency.
23. A server for generating digital currency, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 14-20.
24. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 14-20.
CN201910808039.9A 2019-08-29 2019-08-29 Digital currency generation method and system Active CN110751467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910808039.9A CN110751467B (en) 2019-08-29 2019-08-29 Digital currency generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910808039.9A CN110751467B (en) 2019-08-29 2019-08-29 Digital currency generation method and system

Publications (2)

Publication Number Publication Date
CN110751467A true CN110751467A (en) 2020-02-04
CN110751467B CN110751467B (en) 2023-03-21

Family

ID=69275936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910808039.9A Active CN110751467B (en) 2019-08-29 2019-08-29 Digital currency generation method and system

Country Status (1)

Country Link
CN (1) CN110751467B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191123A (en) * 2018-08-10 2019-01-11 中国工商银行股份有限公司 A kind of digital cash is issued as agent amount control system and method
CN112036847A (en) * 2020-08-05 2020-12-04 杭州云象网络技术有限公司 Anti-counterfeiting verification method and system for offline payment of digital currency

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301119A (en) * 2014-11-05 2015-01-21 中国建设银行股份有限公司 Data signature method, signature verification method, data signature equipment and verification server
CN107230068A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 Use the method and system of viewable numbers currency chip card payout figure currency
US20180158036A1 (en) * 2002-10-01 2018-06-07 Andrew H. B. Zhou Digital currency (virtual payment cards) issued by central bank for mobile and wearable devices
CN109191123A (en) * 2018-08-10 2019-01-11 中国工商银行股份有限公司 A kind of digital cash is issued as agent amount control system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180158036A1 (en) * 2002-10-01 2018-06-07 Andrew H. B. Zhou Digital currency (virtual payment cards) issued by central bank for mobile and wearable devices
CN104301119A (en) * 2014-11-05 2015-01-21 中国建设银行股份有限公司 Data signature method, signature verification method, data signature equipment and verification server
CN107230068A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 Use the method and system of viewable numbers currency chip card payout figure currency
CN109191123A (en) * 2018-08-10 2019-01-11 中国工商银行股份有限公司 A kind of digital cash is issued as agent amount control system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋浩然: "我国数字货币发行机制思考", 《黑龙江金融》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191123A (en) * 2018-08-10 2019-01-11 中国工商银行股份有限公司 A kind of digital cash is issued as agent amount control system and method
CN112036847A (en) * 2020-08-05 2020-12-04 杭州云象网络技术有限公司 Anti-counterfeiting verification method and system for offline payment of digital currency

Also Published As

Publication number Publication date
CN110751467B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN111784887A (en) Authorization releasing method, device and system for user access
CN112116351A (en) Service processing method and device
CN110599140B (en) Digital currency verification method and system
CN108305071B (en) Method and device for inquiring digital currency detail information
CN110751467B (en) Digital currency generation method and system
CN112905990A (en) Access method, client, server and access system
US20200145200A1 (en) Attribute-based key management system
CN114186994A (en) Method, terminal and system for using digital currency wallet application
CN114584355A (en) Security authentication method, device and system for digital currency transaction
CN114037446A (en) Transaction method, transaction management method, device and system for digital currency
CN110634062B (en) Digital currency quota putting method and system
CN111127006A (en) Transaction processing method and system based on block chain
CN110166226B (en) Method and device for generating secret key
CN112465498A (en) Data processing method and device for application blockchain enterprise wallet
CN110602076B (en) Identity using method, device and system based on master identity multiple authentication
CN110611656B (en) Identity management method, device and system based on master identity multiple mapping
CN110619567B (en) Method and system for recovering limit of digital currency
CN115222400A (en) Payment method, device and system of digital currency
CN114785560B (en) Information processing method, device, equipment and medium
CN110602074B (en) Service identity using method, device and system based on master-slave association
CN115222528A (en) Method, terminal and system for splitting digital currency in transaction process
CN115222529A (en) Security chip, terminal, currency management device and application method thereof
CN115222402A (en) Payment method, device and system of digital currency
CN115222399A (en) Digital currency payment method, device and system
CN114219473A (en) Transaction method and device for digital currency

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant