CN107358440B - Method and system for customized tracking of digital currency - Google Patents

Method and system for customized tracking of digital currency Download PDF

Info

Publication number
CN107358440B
CN107358440B CN201710492718.0A CN201710492718A CN107358440B CN 107358440 B CN107358440 B CN 107358440B CN 201710492718 A CN201710492718 A CN 201710492718A CN 107358440 B CN107358440 B CN 107358440B
Authority
CN
China
Prior art keywords
currency
tracking
contract
owner
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710492718.0A
Other languages
Chinese (zh)
Other versions
CN107358440A (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 CN201710492718.0A priority Critical patent/CN107358440B/en
Publication of CN107358440A publication Critical patent/CN107358440A/en
Application granted granted Critical
Publication of CN107358440B publication Critical patent/CN107358440B/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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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

Landscapes

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

Abstract

The invention provides a method and a system for customizing and tracking digital currency, which can solve the problem that a capital payer tracks the flow direction of the capital layer by layer across main bodies, support the customizing and tracking of the flow direction of the currency and track the flow direction of the capital in an initiator management range, thereby protecting the privacy of users. The method comprises the following steps: receiving a tracking request of a source currency owner; setting tracking to the going coin generated in the transaction process according to the tracking request, and storing the going coin; and returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner under the condition of receiving the inquiry request of the source currency owner.

Description

Method and system for customized tracking of digital currency
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for customizing and tracking digital currency.
Background
Digital currency is an alternative currency in the form of electronic currency. At present, digital currency is generally considered to be central bank issued or central bank authorized issued legal currency in the form of an encrypted digital string representing a specific amount, including the amount of digital currency, an issuer identification, and an owner identification. In the course of currency circulation, payers often have special requirements for the use and direction of funds. Often, after the fund reaches the user, the fund application may be out of the original control range of the fund provider, and how to track the fund flow direction becomes the focus of the fund provider's attention.
In the prior art, the flow of funds is usually tracked by connecting a commercial bank and obtaining a payment transfer record to inquire the use and flow of funds. Because each commercial bank can only record one payment in the inter-bank payment process, the existing fund flow monitoring is realized by summarizing the payment records scattered in different commercial banks to analyze and deduce the link of the fund flow.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
1. in the prior art, a large number of commercial banks need to be connected in a fund flow tracking mode so as to avoid the condition that a fund collection path exceeds the range of a connected bank and cannot be tracked;
2. all the related commercial banks need to activate the account supervision function, so that the difficulty of system construction implementation and business operation is high, the complexity is high, the number of related parties is large, and the coordination is difficult. It is difficult to put into practical use in reality and is not suitable for a special currency form such as digital currency.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a system for customized tracking of digital currency, which can solve the problem that a fund payer tracks the fund flow direction layer by layer across subjects, and support customized tracking of the currency flow direction, and perform the fund flow direction tracking within the initiator management range, thereby protecting the privacy of users.
To achieve the above object, according to an aspect of an embodiment of the present invention, a method for customized tracking of digital currency is provided.
The method for customizing and tracking the digital currency comprises the following steps: receiving a tracking request of a source currency owner; setting tracking to the going coin generated in the transaction process according to the tracking request, and storing the going coin; and returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner under the condition of receiving the inquiry request of the source currency owner.
Optionally, setting a trace into a going coin generated in a transaction process according to the trace request comprises: executing a programmable script for customized tracking to add a signature representative of source currency owner information to the going currency; alternatively, an intelligent contract for tracking is associated with the going coin.
Optionally, the tracking chain comprises one or more of the following information: transaction time, transaction amount, source currency owner information, destination currency owner information.
Optionally, the query request of the source currency owner is an encrypted query request by using a private key of the source currency owner; before returning a chain of traces to the source currency owner reflecting the progress of subsequent transactions of the source currency, the method further comprises: and verifying the identity of the source currency owner according to the public key of the source currency owner.
To achieve the above objects, according to another aspect of the embodiments of the present invention, there is provided a system for customized tracking of digital currency.
The system for customizing and tracking the digital currency comprises the following components: the receiving module is used for receiving a tracking request of a source currency owner; the setting module is used for setting tracking to the going coin generated in the transaction process according to the tracking request and storing the going coin; and the tracking module is used for returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner under the condition of receiving the inquiry request of the source currency owner.
Optionally, the setting module is further configured to: executing a programmable script for customized tracking to add a signature representative of source currency owner information to the going currency; alternatively, an intelligent contract for tracking is associated with the going coin.
Optionally, the tracking chain comprises one or more of the following information: transaction time, transaction amount, source currency owner information, destination currency owner information.
Optionally, the query request of the source currency owner is an encrypted query request by using a private key of the source currency owner; the system also comprises an identity verification module which is used for verifying the identity of the source currency owner according to the public key of the source currency owner before returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer-readable storage medium.
The computer-readable storage medium of the embodiment of the invention stores computer instructions, which can be executed by a computer or a computer system, so that the computer or the computer system can execute the digital currency customized tracking method of the embodiment of the invention.
One embodiment of the above invention has the following advantages or benefits: because the technical means of opening the tracking function of the digital currency is adopted, the technical problem that the capital payer spans the main body and needs to butt joint each commercial bank layer by layer to track the capital flow direction in the prior art is solved, and the technical effect of realizing convenient and quick tracking without butt joint of a plurality of commercial bank main bodies is achieved; the customized tracking of the digital currency can be realized by setting the tracking in the digital currency by using a programmable script in an encryption string for executing the digital currency and/or by associating an intelligent contract; by supporting the tracking of the owner of the digital currency in the management range of the initiator, and in the case of no need of tracking, the owner does not send a tracking request to the digital currency system any more, so that the tracking authorization can be customized according to the tracking requirement, and the privacy of the user can be protected timely; specific information required to be contained in the tracking chain is preset according to the tracking requirement, so that customized tracking of transaction information can be realized according to the tracking requirement; the inquiry request of the flow direction of the digital currency is encrypted and tracked by using a private key of a digital currency owner, so that the identity verification of a digital currency tracking chain inquiry party can be conveniently realized through an asymmetric encryption technology; by interacting with an external verification system, the use condition of the digital currency can be verified according to a pre-specified verification rule.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the 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 expressions of digital currency in an embodiment in accordance with the invention;
FIG. 2 is a schematic diagram of attributes of digital currency in an embodiment in accordance with the invention;
FIGS. 3a-3b are schematic diagrams of asymmetric encryption techniques used in a method for customized tracking of digital currency according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a transaction process for digital currency in an embodiment of the invention;
FIG. 5 is a schematic diagram of the main flow of a method of digital currency customized tracking according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a deployment process of a smart contract associated with digital currency in an embodiment of the invention;
FIG. 7 is a flow chart illustrating an embodiment of a method for customized tracking of digital currency to implement customized tracking of digital currency according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of the main modules of a system for customized tracking of digital currency, according to an 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 as merely exemplary. 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.
Fig. 1 is a schematic diagram of an expression of digital money according to an embodiment of the present invention.
As shown in fig. 1:
1. the entire string of digital currency is encrypted, i.e., the digital currency appears as a string of encrypted words. Different authorities can decrypt the corresponding content only within the scope of the authority. No authority can view the digital currency attributes.
2. The attribute of the digital currency is recorded in sub-fields. The fields themselves are scalable and each field is of variable length. The fields may be extended as needed.
3. The digital currency encryption string has uniqueness.
4. No part of the digital currency encryption string has regularity.
Fig. 2 is a schematic diagram of attributes of digital currency in an embodiment in accordance with the invention.
As shown in fig. 2:
1. the attributes of digital currency include, first, the most basic amount, the issuer identification and the owner identification.
2. Digital currency contains a unique number.
3. The digital currency owner identification may be associated with the real name of the real user. The specific association establishes a correspondence of owner identification to real user by the digital currency system. In the encryption string of digital currency, the owner identification is anonymous, and the background of the digital currency system can realize real name.
4. Digital currency attributes include currency management attributes, which are a type of field used to support the currency authorities' management of currency issuance currency.
5. The digital currency security attribute is a group of fields related to digital currency security encryption, and can realize the purposes of digital currency non-counterfeiting, non-tampering, non-repudiation, privacy protection, transaction security protection and the like.
6. The digital currency application attribute is a group of fields of the digital currency which meet the requirements of application scenes and value-added services, and can realize functions of controlling fund flow, executing intelligent contracts and the like.
7. Digital currency is a string of encrypted words that identify its owner and amount, representing the currency the owner owns. In a digital money transfer transaction process, the transfer is reflected in the transfer of the owner. After each transaction, the digital currency before the transaction occurred is invalidated, and new digital currency is generated.
8. The old currency before transaction is called the source currency, and the new currency after transaction is called the destination currency. The entire transaction process forms a chain of digital money transfers, thereby enabling digital money traceability. The digital currency background can convert the owner identification into a real user, thereby realizing the anonymous foreground and real-name tracking of the background.
The related technologies related in the embodiments of the present invention include: asymmetric encryption and hashing algorithms.
The hash algorithm, also called one-way hash function, is a function that changes an input character string of any length into an output character string of a fixed length, and it is written as M, the one-way hash function is H (), and the hash value is H, then H ═ H (M). The length of the output string h is typically much shorter than the length of the input number string M.
A secure one-way hash function should satisfy at least the following requirements:
1. the input length is arbitrary;
2. the length of the output is fixed;
3. h is easily calculated given M;
4. given h, calculating M from h (M) ═ h is difficult, i.e., inversion is not feasible;
5. given M, it is computationally infeasible to find another message M 'and satisfy H (M) ═ H (M');
6. given H (), it is computationally infeasible to find two different M1 and M2 such that H (ml) ═ H (M2).
Currently, commonly used hash functions are SHA256, MD5, and the like.
Since the new idea of the public key cryptography proposed by Diffie and Hellman in 'new direction of cryptography' in 1976, an emerging discipline, public key cryptography, has emerged in cryptography. The encryption key and the decryption key in the public key cryptosystem are a set of relative keys. Each group of key pairs comprises two keys which correspond to each other, wherein one key is a public encryption key (called a public key for short); the other is a decryption key (called "private key" for short) that must be kept secret, and it is difficult to derive the private key from the public key. Because the encryption and decryption keys are different, it is also called an asymmetric secret system. The public key cryptosystem has two types of levels, one is an encryption model, and the other is an authentication model. As shown in fig. 3a, 3b, fig. 3a shows an encryption model and fig. 3b shows an authentication model.
Another important application of asymmetric cryptographic techniques is authentication. When a encrypts a message with its own private key and sends it to B, B can be sure that the message came from a if it can decrypt the message ciphertext with a public key of a, since only a has the private key to encrypt the message, which is commonly referred to as a digital signature.
As previously mentioned, digital currency is in the form of a string of encrypted characters. The digital currency expression is essentially the encryption processing of the main attributes and the ownership of the currency, and can be used for realizing one-time pad during specific transaction, which is the basis for the safe operation of a digital currency system.
In the digital currency circulation process, the conversion of the digital currency encryption string corresponds to digital currency transactions. The detail information of each digital currency conversion is saved by recording the digital currency transaction, including the string information of all source currencies and the string information of all destination currencies.
The technical scheme of the digital currency customized tracking of the embodiment of the invention mainly aims to realize tracking of the digital currency transaction process. Tracking of digital currency is the process of building a chain of transactions for successive records of transactions, with the transactions being related to strings of related digital currency. Because the digital currency string can be associated to the real user through the user identification, the anonymous tracking of the background is realized. While the foreground is anonymous.
Legal digital currency is embodied as encrypted strings, which can reflect ownership. The process of transferring legal digital currency is thus embodied as a transformation of a string of digital currency encryption words. In the embodiment of the invention, the digital currency transaction and the digital currency transfer have the same meaning and are essentially the transformation of the digital currency encryption string.
The user can confirm the right only by the digital currency encryption string, and the past payment and receipt transaction does not need to be summarized.
In the embodiment of the invention, the currency issuing authority can be used as the only authority of the legal digital currency and manages the circulation process of the legal digital currency, thereby meeting the currency circulation requirement under the actual condition; the circulation process of the digital currency is traceable in real name at the background, which is beneficial to meeting the supervision requirements of currency authorities, fighting against illegal criminal activities and protecting the rights and interests of users; the circulation mechanism of digital currency is based on a central bank-commercial bank binary system and accepts an issuing and returning mechanism, and the whole circulation is based on a bank and a digital wallet. Compared with the prior virtual currency, the transaction address is taken as the payer or payee of the virtual currency in circulation, and the method has a better safety mechanism and a perfect application management system.
Fig. 4 is a schematic diagram of a transaction process of digital money in an embodiment of the present invention. As shown in fig. 4, the digital money can be transferred in several modes: direct transfer, merged transfer, split transfer.
Direct transfer: the process of user A transferring the digital currency string 1 to user B. The source currency digital currency string 1, after the transfer has occurred, generates a new digital currency string 2, the owner of which identifies the corresponding user B. The amount of money in the digital money string 1 is the same as that in the digital money string 2.
Merging and transferring: the process by which user B transfers two strings of digital currency together to user C. There are two source coins: the digital currency string 2 and the digital currency string 3 generate a new digital currency string 4 after the transfer occurs. The amount of the digital currency string 4 is equal to the sum of the amounts of the two source currencies, and the owner ID of the digital currency string 4 corresponds to the user C.
Splitting and transferring: the user C transfers the amount of the part of the digital currency string 4 to the user D. The source currency is a digital currency string 4, and after the transfer has occurred, a new digital currency string 5 is generated, the owner of which identifies the corresponding user D, and the amount of which is the payment amount. At the same time, a new string of digital currency 6 is created, the owner identification of which corresponds to user C, the amount of which is the balance after payment.
FIG. 5 is a schematic diagram of the main flow of a method of digital currency customized tracking according to an embodiment of the invention.
As shown in fig. 5, the method for customized tracking of digital currency of the embodiment of the present invention mainly includes the following processes:
step S501: a tracking request is received from a currency owner.
Step S502: and setting tracking to the going coin generated in the transaction process according to the tracking request, and storing the going coin. In the embodiment of the invention, in the digital currency transaction process, the transaction of the digital currency is carried out through a digital currency system. The source currency owner in embodiments of the present invention may include the original initiator and subsequent participants of the transaction in the transaction chain. Accordingly, the tracking request of the source currency owner may include an open tracking request and an authorized tracking request.
Opening, authorizing and closing are business logics. The method can be realized on a digital currency string and also can be realized through an intelligent contract. The intelligent contract is required to be deployed on a digital currency system for implementation through the intelligent contract. In the embodiment of the invention, the tracking can be set in the destination currency newly generated in the transaction process by any one of the following modes: associating into the destination currency a smart contract for tracking; alternatively, a programmable script for customized tracking is executed to add a signature representative of the source coin owner information to the going coin.
In the embodiment of the present invention, the intelligent contract used in the setting tracking may be a business rule originally specified by the user (the user may be one or more parties involved in the transaction, or other subjects related to the transaction) at the business layer, and the rule may be derived from the business agreement of the user, or the rule content may be directly established by the user.
Fig. 6 is a schematic diagram of a deployment process of a smart contract associated with digital currency in an embodiment of the present invention. As shown in fig. 6, a user-defined contract is provided to a contract-definition service with a digital signature of the party concerned. The role of the facilitator is to make intelligent contracts executable by the digital currency system according to the contracts of the users at the business layer, which may involve certain intelligent contract development work (e.g. the intelligent contract in the embodiment of the present invention is a contract for tracking digital currency), and test and verification of simulation operation, etc.
Typically, the executable intelligent contract date is provided with a digital signature of the contract customization facilitator and submitted to the contract verification facilitator. It is the responsibility of the facilitator to verify that the contract content is at risk, including errors, potential attacks, security breaches, etc., from the executable intelligent contracts. The contract verification facilitator may provide verification, auditing, testing, etc. of the code, which the user may participate in, and ultimately validate the intelligent contract.
The verified intelligent contract is added with a signature of a contract verification service provider, and can be deployed in a digital currency system for execution.
In the foregoing process of setting tracking, the specific process of associating the intelligent contract for tracking to the going coin may be as follows: the digital currency (i.e., the destination currency) is associated by rules defined by the smart contract. The intelligent contract can ensure that the related attribute of the digital currency meets a certain rule, and the digital currency system associates the encrypted string of the digital currency according to the attribute specified by the intelligent contract.
In an embodiment of the present invention, the specific logic for implementing the customized tracking function for digital currency by executing the programmable script for customized tracking to add a signature representing the owner information of the source currency to the going currency is as follows:
starting tracking, namely setting a tracking script in a digital currency string by an original initiator of a transaction, and setting a tracking identifier in the script;
authorization tracking means adding signature authorization identification to tracking script after the subsequent participant of the transaction receives the programmable script. All levels of main bodies for authorization tracking can realize tracking authorization according to the mode;
and closing the tracking, namely, after the follow-up party of the transaction receives the digital currency string, adding no signature authorization identifier in the tracking script in the payment process. The tracking of the revocation of the digital money is terminated.
Specifically, the original transaction initiator initiates a transaction request to the digital currency system and initiates a request for initiating a trace (for example, the digital currency system is requested to execute a programmable script added to a digital currency string), and in the process of generating the destination currency according to the transaction request, the digital currency system correspondingly initiates the trace request and executes the programmable script, so that a signature representing the identity of the original transaction initiator is added to the destination currency. The subsequent participant, as the owner of the digital currency, continuously requests, during the course of payment, the addition of a signature to the newly generated going currency (which still retains the signature added in the previous transaction) in accordance with the above-described manner in order to complete the authorization tracking of the digital currency. These digital currencies, with signatures representing identity information of the transaction parties at each level, are registered and held in a registration center within the digital currency system.
After the tracking of the digital currency setting in the transaction process is completed in step S502, the transaction process is followed afterwards through step S503.
Step S503: and returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner under the condition of receiving the inquiry request of the source currency owner. In the embodiment of the present invention, the query request of the source currency owner includes the source currency information, and further, the query request of the source currency owner may be encrypted by using the private key of the source currency owner.
The digital currency system decrypts the query request based on the query request of the source currency owner (including the original initiator and subsequent participants of the transaction in the transaction chain) by the public key of the source currency owner to verify the identity of the querying subject, and returns to the tracking chain if the identity is legitimate, e.g., if the querying subject is confirmed to be the owner of the digital currency used to initiate the query.
In the embodiment of the present invention, the tracking chain may include one or more of the following information: transaction time, transaction amount, source currency owner information, destination currency owner information.
In addition, the method for customized tracking of digital currency in the embodiment of the invention further comprises the following steps: and verifying the tracking chain by interacting with an external verification system so as to further judge whether the use condition of the source currency is consistent with the use condition applied in advance.
FIG. 7 is a flowchart of an embodiment of a method for customized tracking of digital currency according to the invention.
As shown in fig. 7, in the embodiment of the present invention, an accurate poverty alleviation scene is taken as an example to implement a customized tracking function of digital currency. Of course, the technical solution of customized tracking of digital currency according to the embodiment of the present invention is not limited to the precise poverty relief scenario, and is suitable for various applications requiring query and tracking of the flow direction of funds. Such as banks tracking the direction of loan delivery, investors tracking investment funds and direction, superior authorities pursuing the use of subordinate units for fund withdrawal, etc.
Taking the precise poverty relief field as an example, in a medical rescue scene, when a rescue object meeting the conditions is treated by a one-stop instant settlement fixed-point medical and health service institution, the self-cost part of the rescue object is supplemented with poverty relief according to a proportion. The local civil administration department applies for medical assistance funds regularly, and signs an agreement with the local medical institution, the medical institution pays the medical assistance funds at first, and the generated funds are checked by the civil administration department and then settled by the civil administration department and the medical institution.
The local civil administration department applies for the fund transfer of poverty-stricken funds from the upper civil administration department regularly and stores the fund transfer in a commercial bank. Medical institutions regularly send medical aid pad money details to local civil administration departments to apply for settlement, and the local civil administration departments submit the medical aid pad money details to commercial banks to settle accounts with poverty-relief funds after being checked.
In the prior art, tracking of the fund flow mainly relies on aggregating payment records scattered in different commercial banks to analyze the link for deducing the fund flow. In the embodiment of the invention, the circulation information of the digital currency can open the poverty-alleviation fund flow direction tracking function to poverty-alleviation governing departments in an authorization mode of a currency issuing organization, so that the poverty-alleviation fund can be accurately tracked. In the embodiment of the present invention, the principle of setting tracking in digital currency is specifically described by taking the implementation of the customized tracking function of digital currency by executing the programmable script of the digital currency string as an example, and the method mainly includes three basic operations:
1. and turning on tracking. The owner of the digital currency who needs to enable tracking, such as the upper civil administration department in the embodiment of the present invention, activates the digital currency tracking function at the time of payment, and the digital currency system marks the digital currency as traceable.
2. And (6) authorization tracking. The owner who subsequently receives the digital currency, such as the subsequent civil administration departments at all levels, can perform tracking authorization on the digital currency with the tracking mark. In the continuous payment process of the digital currency, the owner continuously authorizes the digital currency to form a traceable digital currency payment chain. The owner of the digital currency on the chain can track the flow of the digital currency down.
3. The trace is turned off. When the owner of the digital currency turns off the tracking flag at the time of payment, the tracking chain breaks, ensuring privacy of subsequent transactions.
As shown in fig. 7, in a medical aid scene of precise poverty relief, the higher-level civil administration uses digital money to fund a fund specific to medical aid, and activates a digital money tracking function. And the subsequent step-by-step civil administration carries out tracking authorization when using the digital currency according to the requirement of the upper level. When the higher-level civil administration needs to inquire the fund use condition, the digital currency (which is invalid currently) used by the previous fund transfer and the private key certificate representing the higher-level civil administration are submitted. And after receiving the request, the digital currency system verifies the relationship between the upper civil administration department and the digital currency by using the public key of the upper civil administration department, and if the relationship is verified, the digital currency system judges that the upper civil administration department is the owner of the digital currency submitted to query, the digital currency system queries the digital currency generated by the subsequent transfer of the digital currency step by step and returns to the tracking chain. In the embodiment of the present invention, the tracking chain may include information of digital currency, which is followed by continuously carrying tracking marks, including transaction amount, transaction time, information of owner of digital currency, etc. Through the tracking chain, the upper civil administration department can track the capital flow direction layer by layer across the main body and know the capital use condition in real time.
In addition, by matching with an external verification system, such as the poverty alleviation management system in the poverty alleviation management process in the embodiment of the invention, whether the use of the digital currency conforms to the budget and the application can be verified, so that the fund monitoring is more accurate and efficient. The tracking flag may be turned off after the digital currency is received by the healthcare institution so that subsequent use of funds is not tracked by the upper-level civil department. Wherein the rules for interacting with the external verification system for verification may be implemented in an intelligent contract. The verification rules are realized through intelligent contracts and set by upper civil administration departments when the digital currency is paid.
According to the technical scheme of the embodiment of the invention, because the technical means of opening the tracking function of the digital currency is adopted, the technical problem that the capital payer spans the main body and needs to butt joint each commercial bank layer by layer to track the capital flow direction in the prior art is solved, and the technical effect of realizing convenient and rapid tracking without butt joint of a plurality of commercial bank main bodies is achieved; the customized tracking of the digital currency can be realized by setting the tracking in the digital currency by using a programmable script in an encryption string for executing the digital currency and/or by associating an intelligent contract; by supporting the tracking of the owner of the digital currency in the management range of the initiator, and in the case of no need of tracking, the owner does not send a tracking request to the digital currency system any more, so that the tracking authorization can be customized according to the tracking requirement, and the privacy of the user can be protected timely; specific information required to be contained in the tracking chain is preset according to the tracking requirement, so that customized tracking of transaction information can be realized according to the tracking requirement; the inquiry request of the flow direction of the digital currency is encrypted and tracked by using a private key of a digital currency owner, so that the identity verification of a digital currency tracking chain inquiry party can be conveniently realized through an asymmetric encryption technology; by interacting with an external verification system, the use condition of the digital currency can be verified according to a pre-specified verification rule.
FIG. 8 is a schematic diagram of the main modules of a system for customized tracking of digital currency, according to an embodiment of the present invention.
As shown in fig. 8, the system 800 for customized tracking of digital currency according to an embodiment of the present invention mainly comprises: a receiving module 801, a setting module 802, and a tracking module 803.
The receiving module 801 is configured to receive a tracking request of a source coin owner; the setting module 802 is configured to set a trace to a going coin generated in a transaction process according to the trace request, and store the going coin; the tracking module 803 is used for returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner when receiving the inquiry request of the source currency owner.
Wherein the setup module 802 is further operable to: executing a programmable script for customized tracking to add a signature representative of source currency owner information to the going currency; alternatively, an intelligent contract for tracking is associated with the going coin.
The tracking chain in the embodiment of the present invention may include one or more of the following information: transaction time, transaction amount, source currency owner information, destination currency owner information.
In addition, the query request of the source currency owner is an encrypted query request by using a private key of the source currency owner; the system 800 also includes an authentication module (not shown) that is operable to authenticate the source currency owner based on the source currency owner's public key before returning a tracking chain to the source currency owner that reflects the source currency's subsequent transaction processes.
Further, the system 800 may further include: and the transaction verification module (not shown) is used for verifying the tracking chain through interaction with an external verification system so as to judge whether the use condition of the source currency is consistent with the use condition applied in advance.
From the above description, it can be seen that the technical means of opening the tracking function of the digital currency is adopted, so that the technical problem that the capital payer spans the main body and needs to butt joint each commercial bank layer by layer to track the capital flow direction in the prior art is solved, and the technical effect of realizing convenient and rapid tracking without butt joint of a plurality of commercial bank main bodies is achieved; by utilizing programmable scripts in an encryption string of the digital currency and/or by means of an intelligent contract, adding a signature representing digital currency owner information to the digital currency, thereby realizing customized tracking of the digital currency; by supporting the tracking of the owner of the digital currency in the management range of the initiator, and in the case of no need of tracking, the owner does not send a tracking instruction to the digital currency system any more, so that the tracking authorization can be customized according to the tracking requirement, and the privacy of the user can be protected timely; specific information required to be contained in the tracking chain is preset according to the tracking requirement, so that customized tracking of transaction information can be realized according to the tracking requirement; the inquiry request of the flow direction of the digital currency is encrypted and tracked by using a private key of a digital currency owner, so that the identity verification of a digital currency tracking chain inquiry party can be conveniently realized through an asymmetric encryption technology; by interacting with an external verification system, the use condition of the digital currency can be verified according to a pre-specified verification rule.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can 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 (7)

1. A method for customized tracking of digital currency, comprising:
the digital currency system receives a tracking request of a source currency owner;
the digital currency system sets a trace in the going currency generated in the transaction process according to the trace request and stores the going currency;
the digital currency system returns a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner under the condition of receiving the inquiry request of the source currency owner;
wherein setting a trace into a going coin generated during a transaction according to the trace request comprises: executing a programmable script for customized tracking to add a signature representative of source currency owner information to the going currency; or associating an intelligent contract for tracking into the going currency; the smart contract is deployed in the digital currency system;
the logic to execute a programmable script for customized tracking to add a signature representative of the source currency owner information to the going currency is as follows: starting tracking, namely setting a tracking script in a digital currency string by an original initiator of a transaction, and setting a tracking identifier in the script; authorization tracking, namely adding a signature authorization identifier in a tracking script after a subsequent participant of the transaction receives the programmable script; closing the tracking, namely, after a subsequent party of the transaction receives the digital currency string, adding no signature authorization identifier in the tracking script in the payment process;
the intelligent contract is manufactured according to the following steps: the contract with the digital signature made by the user in the service layer is provided for a contract making service provider, and the contract making service provider makes an executable contract with the digital signature of the contract making service provider, which can be executed by a digital currency system, according to the contract of the user in the service layer and submits the executable contract to a contract verification service provider; the contract verification service provider verifies the contract content of the executable intelligent contract, and adds the signature of the contract verification service provider after verification to obtain the intelligent contract;
the old currency before transaction is called source currency, and the new currency after transaction is called destination currency.
2. The method of claim 1, wherein the tracking chain comprises one or more of the following: transaction time, transaction amount, source currency owner information, destination currency owner information.
3. The method of claim 1,
the query request of the source currency owner is encrypted by using a private key of the source currency owner;
before returning a chain of traces to the source currency owner reflecting the progress of subsequent transactions of the source currency, the method further comprises: and verifying the identity of the source currency owner according to the public key of the source currency owner.
4. A digital currency system, comprising:
the receiving module is used for receiving a tracking request of a source currency owner;
the setting module is used for setting tracking to the going coin generated in the transaction process according to the tracking request and storing the going coin;
the tracking module is used for returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner under the condition of receiving the inquiry request of the source currency owner;
wherein the setting module is further configured to: executing a programmable script for customized tracking to add a signature representative of source currency owner information to the going currency; or associating an intelligent contract for tracking into the going currency; the smart contract is deployed in the digital currency system;
the logic to execute a programmable script for customized tracking to add a signature representative of the source currency owner information to the going currency is as follows: starting tracking, namely setting a tracking script in a digital currency string by an original initiator of a transaction, and setting a tracking identifier in the script; authorization tracking, namely adding a signature authorization identifier in a tracking script after a subsequent participant of the transaction receives the programmable script; closing the tracking, namely, after a subsequent party of the transaction receives the digital currency string, adding no signature authorization identifier in the tracking script in the payment process;
the intelligent contract is manufactured according to the following steps: the contract with the digital signature made by the user in the service layer is provided for a contract making service provider, and the contract making service provider makes an executable contract with the digital signature of the contract making service provider, which can be executed by a digital currency system, according to the contract of the user in the service layer and submits the executable contract to a contract verification service provider; the contract verification service provider verifies the contract content of the executable intelligent contract, and adds the signature of the contract verification service provider after verification to obtain the intelligent contract;
the old currency before transaction is called source currency, and the new currency after transaction is called destination currency.
5. The system of claim 4, wherein the tracking chain comprises one or more of the following information: transaction time, transaction amount, source currency owner information, destination currency owner information.
6. The system of claim 4,
the query request of the source currency owner is encrypted by using a private key of the source currency owner;
the system also comprises an identity verification module which is used for verifying the identity of the source currency owner according to the public key of the source currency owner before returning a tracking chain reflecting the subsequent transaction process of the source currency to the source currency owner.
7. A computer-readable storage medium having computer instructions stored thereon, the computer instructions being executable by a computer or a computer system to cause the computer or computer system to perform the method of any one of claims 1 to 3.
CN201710492718.0A 2017-06-26 2017-06-26 Method and system for customized tracking of digital currency Active CN107358440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710492718.0A CN107358440B (en) 2017-06-26 2017-06-26 Method and system for customized tracking of digital currency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710492718.0A CN107358440B (en) 2017-06-26 2017-06-26 Method and system for customized tracking of digital currency

Publications (2)

Publication Number Publication Date
CN107358440A CN107358440A (en) 2017-11-17
CN107358440B true CN107358440B (en) 2020-09-15

Family

ID=60273690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710492718.0A Active CN107358440B (en) 2017-06-26 2017-06-26 Method and system for customized tracking of digital currency

Country Status (1)

Country Link
CN (1) CN107358440B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537546A (en) * 2018-04-11 2018-09-14 北京奇虎科技有限公司 Node identities method for tracing, device and computing device based on number of addresses
CN110706098A (en) * 2018-07-09 2020-01-17 普天信息技术有限公司 Accurate poverty alleviation system and method based on block chain
CN108985741B (en) * 2018-07-19 2021-06-01 南京市公安局建邺分局 Automatic query tracking method for capital flow of police platform
CN109767323A (en) * 2018-12-28 2019-05-17 交通银行股份有限公司 Capital chain generation method and device based on transaction journal
CN110009318A (en) * 2019-03-22 2019-07-12 陕西师范大学 A kind of digital cash method for tracing based on door sieve coin
CN109829825A (en) * 2019-04-03 2019-05-31 浙江师范大学 The safe function design method and system of intelligent contract based on transaction source authenticator
CN110175916B (en) * 2019-04-26 2023-07-18 创新先进技术有限公司 Fund flow checking method and device
CN111198888B (en) * 2020-02-15 2023-11-03 苏州区盟链数字科技有限公司 Method and system for dynamically generating and supervising digital currency crown word number
CN111340469A (en) * 2020-03-10 2020-06-26 苏州区盟链数字科技有限公司 Digital currency wallet and digital currency double-off-line payment method
CN113362059A (en) * 2021-06-09 2021-09-07 北京极智数仓科技有限公司 Digital currency management and control method, system, storage medium and digital currency wallet terminal
CN113269649B (en) * 2021-06-16 2024-07-05 上海势炎信息科技有限公司 Digital currency tracking system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103140867A (en) * 2010-09-16 2013-06-05 德国捷德有限公司 Traceable marker of a security feature
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN106022792A (en) * 2016-05-11 2016-10-12 邓迪 Block-chain-based food security tracing method and system
CN106097073A (en) * 2016-06-20 2016-11-09 深圳市淘淘谷信息技术有限公司 A kind of block chain gives the method for the numeral exclusive ID of account trading process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160217436A1 (en) * 2015-01-25 2016-07-28 Dror Samuel Brama Method, System and Program Product for Tracking and Securing Transactions of Authenticated Items over Block Chain Systems.

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103140867A (en) * 2010-09-16 2013-06-05 德国捷德有限公司 Traceable marker of a security feature
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN106022792A (en) * 2016-05-11 2016-10-12 邓迪 Block-chain-based food security tracing method and system
CN106097073A (en) * 2016-06-20 2016-11-09 深圳市淘淘谷信息技术有限公司 A kind of block chain gives the method for the numeral exclusive ID of account trading process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
数字货币与银行账户;姚前;《清华管理评论》;20170426;第1-4页 *

Also Published As

Publication number Publication date
CN107358440A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN107358440B (en) Method and system for customized tracking of digital currency
JP6873270B2 (en) Handling of transaction activities based on smart contracts in the blockchain Caution Methods and devices for protecting data
JP7121810B2 (en) Systems, methods, devices and terminals for secure blockchain transactions and sub-networks
JP7351591B2 (en) Multi-authorization system that uses M out of N keys to restore customer wallets
US20220084013A1 (en) Identity management, smart contract generator, and blockchain mediating system, and related methods
JP6697008B2 (en) System and method for updating distributed ledger based on partial authorization of transaction
US20220309505A1 (en) Reissuing obligations to preserve privacy
CN111418184B (en) Credible insurance letter based on block chain
CN111373431B (en) Credible insurance letter based on block chain
Singh et al. Aid, charity and donation tracking system using blockchain
US20180349894A1 (en) System of hardware and software to prevent disclosure of personally identifiable information, preserve anonymity and perform settlement of transactions between parties using created and stored secure credentials
CN111357026B (en) Credible insurance letter based on block chain
EP3962135B1 (en) Information sharing methods, apparatuses, and devices
CN111417945B (en) Credible insurance letter based on block chain
CN111433799B (en) Credible insurance letter based on block chain
CN113826134B (en) Trusted guaranty function based on blockchain
CN111433798B (en) Credible insurance letter based on block chain
Christodorescu et al. Towards a two-tier hierarchical infrastructure: an offline payment system for central bank digital currencies
US20230360007A1 (en) System and method for secure and traceable fund transfer operation through a distributed ledger
US20220172198A1 (en) Real-time blockchain settlement network
CN114331437A (en) Block chain-based digital seal using method and device
US12069182B2 (en) Checkout with MAC
Kuebler Application of Blockchain for Authentication, Verification of Identity and Cloud Computing
WO2023144503A1 (en) Quantum-secure digital currency
CN117557360A (en) Digital creditor certificate generation method and device, computer equipment and storage medium

Legal Events

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