CN113269649B - Digital currency tracking system and method - Google Patents

Digital currency tracking system and method Download PDF

Info

Publication number
CN113269649B
CN113269649B CN202110665802.4A CN202110665802A CN113269649B CN 113269649 B CN113269649 B CN 113269649B CN 202110665802 A CN202110665802 A CN 202110665802A CN 113269649 B CN113269649 B CN 113269649B
Authority
CN
China
Prior art keywords
transaction
currency
tracking
record
transaction record
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
CN202110665802.4A
Other languages
Chinese (zh)
Other versions
CN113269649A (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.)
Shanghai Shiyan Information Technology Co ltd
Original Assignee
Shanghai Shiyan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shiyan Information Technology Co ltd filed Critical Shanghai Shiyan Information Technology Co ltd
Priority to CN202110665802.4A priority Critical patent/CN113269649B/en
Publication of CN113269649A publication Critical patent/CN113269649A/en
Application granted granted Critical
Publication of CN113269649B publication Critical patent/CN113269649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a system and method for digital currency tracking, the system comprising: the currency transaction module is used for generating a shared private key through a shared secret key algorithm, decrypting and verifying a transaction request sent by a currency payer based on the shared private key, and the transaction node completes currency transaction in a blockchain mode; the transaction storage module is used for storing transaction information locally or at the cloud; the transaction record module is used for compressing the transaction record through dynamic Huffman coding, adding the transaction record into the source currency and adding the tracking identifier issued by the currency issuing mechanism; and the currency tracking module is used for verifying the tracking request initiated by the tracker according to the tracking identifier in the digital currency, and after the tracking request passes the verification, the associated transaction record is exported to generate a currency transaction chain. Through the scheme, the digital currency source tracking can be realized, the supervision of future currency is facilitated, meanwhile, the communication safety in currency transaction and currency tracking is ensured, and the currency safety is improved.

Description

Digital currency tracking system and method
Technical Field
The invention relates to the field of blockchain, in particular to a system and a method for tracking digital currency.
Background
With the maturation of technologies such as mobile internet, blockchain and cloud computing, electronic payment is gradually affecting people's life style. As the digital currency is used as a virtual currency, the digital currency can realize electronic form transfer payment and has the characteristics of decentralization, incapability of forging and the like, so that the traditional manufacturing and transportation cost can be reduced, the daily production activities of people are facilitated, and the national departments are facilitated to participate in supervision.
At present, the digital currency node transaction information can be forged and hidden, and the currency transaction condition is difficult to track, so that the digital currency cannot be effectively monitored.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a digital currency tracking system and method, so as to solve the problem that the existing digital currency transaction situation is difficult to track.
In a first aspect of an embodiment of the present invention, there is provided a digital currency tracking system comprising:
The currency transaction module is used for generating a shared private key by a currency receiver according to an initial public key of the currency payer and an initial private key of the currency receiver after a transaction request sent by the currency payer, decrypting and verifying the transaction request sent by the currency payer based on the shared private key, and finishing the currency transaction by a transaction node in a blockchain mode;
And the transaction storage module is used for storing the transaction record of the transaction node to the local or synchronizing the transaction record of the transaction node to the cloud database after network connection is detected, wherein the transaction record at least comprises the owner, the amount and the number of the source coin.
The transaction record module is used for compressing the transaction record through dynamic Huffman coding based on the transaction information of the transaction node, adding the compressed transaction record into the source currency of the currency receiver, and adding the tracking identifier issued by the currency issuing mechanism;
And the currency tracking module is used for verifying the tracking request initiated by the tracker according to the tracking identifier in the digital currency, and if the tracking authority passes the verification, the associated transaction record in the currency is exported to generate a currency transaction chain.
In a second aspect of the embodiment of the present invention, there is provided a digital currency tracking method including:
after a transaction request sent by a currency payment party, generating a shared private key by a currency receiving party according to an initial public key of the currency payment party and an initial private key of the currency receiving party through a shared key algorithm, decrypting and verifying the transaction request sent by the currency payment party based on the shared private key, and completing the currency transaction by a transaction node in a blockchain mode;
Storing the transaction record of the transaction node to the local or synchronizing the transaction record of the transaction node to a cloud database after network connection is detected, wherein the transaction record at least comprises an owner, an amount and a number of a source coin;
based on the transaction information of the transaction node, compressing the transaction record through dynamic Huffman coding, adding the compressed transaction record into the source currency of the currency receiver, and adding the tracking identifier issued by the currency issuing mechanism;
And verifying the tracking request initiated by the tracker according to the tracking identification in the digital currency, and if the tracking authority passes the tracking authority verification, deriving the associated transaction record in the currency to generate a currency transaction chain.
In a third aspect of the embodiments of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the second aspect of the embodiments of the present invention when the computer program is executed.
In a fourth aspect of the embodiments of the present invention, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method provided by the second aspect of the embodiments of the present invention.
In the embodiment of the invention, the tracking identifier is added into the transaction source currency, so that a tracker can conveniently verify the tracking authority according to the tracking identifier and acquire the currency transaction, thereby realizing effective tracking of node currency transaction information, ensuring reliable supervision of currency circulation and protecting user privacy from leakage. Meanwhile, based on verification of transaction requests of the transaction nodes, security of money transaction of the nodes is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a digital currency tracking system according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of another digital currency tracking system according to one embodiment of the present invention;
FIG. 3 is a flow chart of a digital currency tracking method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The term "comprising" in the description of the invention or in the claims and in the above-mentioned figures and other similar meaning expressions is meant to cover a non-exclusive inclusion, such as a process, method or system, apparatus comprising a series of steps or elements, without limitation to the steps or elements listed. Furthermore, "first" and "second" are used to distinguish between different objects and are not used to describe a particular order.
In the digital currency tracking process, the related departments can trace the fund flow of the digital currency transaction, and similar to the tracing route, the tracing algorithm is used for acquiring the fund flow tracing route, and the obtained result is visually displayed, so that a part of tracing route map output for specific transaction is obtained. When the money suspicious transaction fund flow is found, a suspicious transaction fund flow model is provided for the transaction behavior of the account address, and the entity account address is subjected to targeted merging, so that the function of clearly integrating the fund lumen is achieved, and the entity identity for controlling the account address and other suspected case-related account addresses are determined from the merging result.
Based on tracking digital currency, the relevant departments can also view digital currency wallets and address views. The digital or total transaction relationship is analytically marked, for example, according to the existing transaction wallet address, the mine wallet address and the digital currency transaction address of the disclosed website, according to the address transaction characteristics, the total number of spending (count_out), the total amount of spending (total_out), the total number of incomings (count_in), the total amount of incomings (total_in), the first spending time (out_first_time), the last spending time (out_last_time), the first incomings (in_first_time), the last incomings (in_last_time) and the like. The current industry is also lacking a viable technical solution for implementing digital currency tracking.
It should be further noted that, the digital currency in the embodiment of the present invention may be legal currency such as digital rmb issued by a financial institution, or may be virtual currency issued by a network service provider, such as game currency.
Referring to fig. 1, fig. 1 is a schematic flow chart of a digital currency tracking system according to an embodiment of the present invention, including:
The money transaction module 110 is configured to generate a shared private key by the money receiver according to the initial public key of the money payer and the initial private key of the money receiver after the transaction request sent by the money payer, decrypt and verify the transaction request sent by the money payer based on the shared private key, and complete the money transaction in a blockchain manner by the transaction node;
For two nodes in the blockchain that conduct monetary transactions, namely a payor and a recipient (or payee), the payor may initiate a payment request to the recipient within the limits of his possession. In order to ensure transaction safety, the initiated transaction request needs to be encrypted, and the currency receiver decrypts the encrypted request through a shared private key to obtain transaction plaintext information.
The shared key algorithm calculates a common key of both parties to carry out encryption communication based on a public key disclosed by both parties of the transaction and a private key of the shared key algorithm. Preferably, the shared key algorithm is an ECDH key agreement algorithm.
The ECDH algorithm can establish secure connection in an unsafe channel, and the principle is that two transaction parties respectively generate random numbers, exchange after generating public keys based on the same method, and negotiate symmetric keys according to the public keys of the two transaction parties and private keys of the two transaction parties. In the blockchain, when a plurality of participants share the same link, each participant in the alliance chain wants to realize the isolation of the continuity on the same link, and the ECDH algorithm can not only realize the multiplexing of TCP links, avoid frequently establishing a large number of links, but also ensure the communication isolation between the same links.
Because the receiver needs to confirm and verify the transaction request after the payer initiates the transaction request, the request is fed back to the initiator after success or failure, and the transaction efficiency can be improved based on the shared key determined by key negotiation. Meanwhile, for different transaction parties, the shared secret keys which are determined through negotiation are different, so that the transaction safety can be ensured.
Illustratively, the transaction request includes at least a transaction amount, an owner, a currency number, and a confirmation code, and may further include a currency attribute, a transaction record, a tracking identifier, and the like. After the receiver confirms that the transaction information is legal, the receiver can feed back the transaction result to the sender based on the confirmation code and prompt the success of the transaction of the receiver.
The transaction storage module 120 is configured to store a transaction record of the transaction node locally, or synchronize the transaction record of the transaction node to a cloud database after detecting the network connection, where the transaction record includes at least an owner of the source coin, an amount of money, and a number.
For the transaction information of the node, in order to avoid excessive tracking information (mainly historical transaction records) of price adjustment in the source coin, each transaction information can be stored locally in an encrypted manner, the system can acquire the transaction information according to the authority of the transaction information, and the transaction information can be synchronously stored to a cloud server when network connection exists. Based on the local storage, the system can also acquire the transaction condition according to the authority when the two transaction sides conduct offline transaction.
The transaction record module 130 is configured to compress the transaction record through dynamic huffman coding based on transaction information of the transaction node, add the compressed transaction record to a source coin of a money receiver, and add a tracking identifier issued by a money issuing mechanism;
It should be noted that, in digital currency of a transaction, an amount, an owner, an attribute, a currency number, a transaction record, and a tracking identifier are generally included. The tracking identifier is used for tracking the currency source and also can be used for verifying the transaction legitimacy of the currency; the transaction record is used to represent the currency history transaction information, and can be represented by a string after being encrypted and compressed. And the data can be synchronously stored in a local or cloud end.
If the monetary transaction records are all stored synchronously, only transaction information of the last transaction node (payer) may be added to each transaction record.
The dynamic Huffman coding is to construct a Huffman tree from bottom to top according to the pre-stored character occurrence frequency in the transaction record information and the size of the fixed storage space, and then compress the data. The decompression process is based on the same Huffman tree to obtain corresponding transaction record information.
Specifically, the issuer performs hash calculation on the pre-added tracking identifier to obtain a corresponding hash value, encrypts the hash value through a private key of the issuer, and sends the encrypted message to a currency receiver as a digital signature; the currency receiving party analyzes the encrypted message based on the corresponding hash function and the public key of the issuing mechanism to obtain a corresponding tracking identifier, the tracking identifier is added to the source currency, and the tracking identifier comprises a section of random character string and a tracking check code.
And the currency tracking module 140 is used for verifying the tracking request initiated by the tracker according to the tracking identifier in the digital currency, and if the tracking authority passes the verification, deriving the associated transaction record in the currency to generate a currency transaction chain.
The tracker is typically a currency issuing authority authentication or authorization authority, such as a commercial bank, a regulatory agency, a public security authority, etc., the authorization authority may be temporary authorization or permanent authorization, and the tracker may also be a temporary authentication or authorization individual, without limitation.
The tracker initiates a tracking request to a system or a currency receiver based on an authorization identification or a tracking verification code provided by a currency issuing mechanism, corresponding transaction record information can be derived after the tracking authority passes verification, the transaction record is resolved, a trackable transaction chain is determined, and the generated currency transaction chain is displayed in the form of a chart and the like. The communication data between the tracker and the system or currency receiver can be requested to be fed back through a symmetrical encryption method or an asymmetrical encryption method.
Preferably, the identity of the tracker is verified based on the public key of the tracker, the tracking request of the tracker is verified based on the private key of the tracker, and if the predetermined character in the tracking request is the same as the tracking verification code in the tracking identifier, the tracking authority is judged to pass the verification. Based on encryption of different contents by the tracker public key and the tracker private key, the data communication safety can be further ensured.
In one embodiment of the present invention, after obtaining the transaction record based on the currency tracking module 140, the method further includes distributed parsing of the transaction data, specifically:
1) And carrying out distributed analysis on the transaction data in a sub-process to obtain the transaction data maintaining the input-output reference relationship, and constructing a transaction data warehouse as a data support for follow-up tracing analysis of the fund flow.
2) Parsing transaction output
The original transaction hash value and the output index value are directly recorded, the prior transaction data analysis is improved, the method that the reference relation is established by carrying out ID assignment on transaction output and input and reusing the ID value in the prior relational analysis is abandoned, and the analysis flow is simplified.
3) Transaction input mapping
And calculating and establishing mapping between all transaction inputs and references thereof through the basic data table file obtained in the first step, and endowing the transaction inputs with the digital currency quantity output by the transaction and the account address information to which the transaction inputs belong, thereby obtaining a transaction input table.
4) Transfer relationship generation
And extracting account address information of the transaction remitter and the payee and the amount of money according to the data table files of the two steps, thereby obtaining transfer information.
In one embodiment, as shown in fig. 2, the digital currency tracking system further comprises:
The transaction verification module 210 is configured to, when the currency receiving side initiates a new currency transaction, suspend the transaction initiated by the currency receiving side and perform an exception alert to the cloud supervision center if a tracking identifier error is detected in the source currency used for the transaction;
Or if the trace identification error is detected in the source coin used for the transaction, marking the transaction record as abnormal after the transaction is completed, and carrying out special marking on the corresponding source coin.
Since the digital currency is transacted, the corresponding tracking identification exists. When the currency is not provided with the tracking mark, the currency counterfeiting can be identified, so that the currency transaction is stopped to prevent the counterfeit currency from flowing into the market, or the currency is marked abnormally, and the later investigation is facilitated.
The method provided by the embodiment not only can realize the tracking of digital currency, but also can ensure the transaction safety of the nodes, ensure the privacy of users, and simultaneously ensure the data communication safety of each node.
In one embodiment of the present invention, as shown in fig. 3, there is further provided a digital currency tracking method, the method including:
S301, after a transaction request sent by a currency payment party, generating a shared private key by a currency receiving party through a shared key algorithm according to an initial public key of the currency payment party and an initial private key of the currency receiving party, decrypting and verifying the transaction request sent by the currency payment party based on the shared private key, and completing the currency transaction by a transaction node in a blockchain mode;
wherein the shared key algorithm is an ECDH key negotiation algorithm.
S302, storing the transaction record of the transaction node to the local or synchronizing the transaction record of the transaction node to a cloud database after network connection is detected, wherein the transaction record at least comprises an owner, an amount and a number of a source coin.
S303, compressing the transaction record through dynamic Huffman coding based on the transaction information of the transaction node, adding the compressed transaction record into the source currency of the currency receiver, and adding the tracking identifier issued by the currency issuing mechanism;
Preferably, the issuer performs hash calculation on the pre-added tracking identifier to obtain a corresponding hash value, encrypts the hash value through a private key of the issuer, and sends the encrypted message as a digital signature to a currency receiver;
The currency receiving party analyzes the encrypted message based on the corresponding hash function and the public key of the issuing mechanism to obtain a corresponding tracking identifier, the tracking identifier is added to the source currency, and the tracking identifier comprises a section of random character string and a tracking check code.
Preferably, in one embodiment, when a currency receiving party initiates a new currency transaction, if a tracking identification error is detected in a source currency for the transaction, the transaction initiated by the currency receiving party is aborted and an exception prompt is carried out to a cloud supervision center;
Or if the trace identification error is detected in the source coin used for the transaction, marking the transaction record as abnormal after the transaction is completed, and carrying out special marking on the corresponding source coin.
S304, verifying the tracking request initiated by the tracker according to the tracking identification in the digital currency, and if the tracking authority passes the verification, deriving the associated transaction record in the currency to generate a currency transaction chain.
Optionally, the identity of the tracker is verified based on the public key of the tracker, the tracking request of the tracker is verified based on the private key of the tracker, and if the predetermined character in the tracking request is the same as the tracking verification code in the tracking identifier, the tracking authority is judged to pass the verification.
Further, applying S304 to the money transaction for tracking money specifically includes:
And obtaining a transaction hash value and an output index value of the specific transaction output according to the information of the target account address, the amount, the transaction time and the like, or directly taking the known transaction hash value and the output index value as the input of an algorithm, and judging whether the transaction output belonging to the target account address is spent by inquiring whether the specific transaction output is referenced in the subsequent transaction as the UTXO. If the result is "yes", inquiring the transaction output as the transaction spent as the new transaction input through the transaction input-output mapping relation, and the transaction output as the output corresponding to the transaction input. Recording the conversion relation in the funds flow tracking route, and continuing to carry out the tracking inquiry on the next output until the transaction output is not spent.
It should be understood that the sequence number of each step in the above embodiment does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device is used for performing electronic money transaction, usually an intelligent terminal, such as a mobile phone, and the electronic device can communicate with other electronic devices and system servers, and realize functions of money transaction, money tracking and the like, and the communication mode is usually wireless communication, such as WIFI, 4G, bluetooth and the like. As shown in fig. 4, the electronic apparatus 4 of this embodiment includes: memory 410, processor 420, communication module 430, and system bus 440, where memory 410 includes an executable program 4101 stored thereon, those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of electronic devices and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the respective constituent elements of the electronic device in detail with reference to fig. 4:
The memory 410 may be used to store software programs and modules, and the processor 420 may execute various functional applications and data processing of the electronic device by executing the software programs and modules stored in the memory 410. The memory 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device (such as cache data), and the like. In addition, memory 410 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
An executable program 4101 containing a network request method on the memory 410, the executable program
4101 May be partitioned into one or more modules/units that are stored in the memory 410 and executed by the processor 420 to effect money transactions, provide transaction records, etc., and may be a series of computer program instruction segments capable of accomplishing specific functions for describing the execution of the computer program 4101 in the electronic device 4. For example, the computer program 4101 may be divided into a detection module, a marking module, and a distribution module.
The processor 420 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 410, and invoking data stored in the memory 410, thereby performing overall state monitoring of the electronic device. Optionally, the processor 420 may include one or more processing units; preferably, the processor 420 may integrate an application processor that primarily handles operating systems, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 420.
The communication module 430 is used for communicating with a system server and other electronic devices, performing data encryption transmission, and realizing data interaction of money transaction and authority verification, and may be a wireless radio frequency circuit or the like.
The system bus 440 is used to connect various functional components inside the computer and can transfer data information, address information, control information, and the like, and can be, for example, a PCI bus, an ISA bus, a VESA bus, and the like. Instructions from the processor 420 are transferred to the memory 410 via the bus, the memory 410 feeds back data to the processor 420, and the system bus 440 is responsible for data and instruction interaction between the processor 420 and the memory 410. Of course, the system bus 440 may also access other devices, such as a network interface, a display device, etc.
In an embodiment of the present invention, the executable program executed by the processor 420 included in the electronic device includes:
after a transaction request sent by a currency payment party, generating a shared private key by a currency receiving party according to an initial public key of the currency payment party and an initial private key of the currency receiving party through a shared key algorithm, decrypting and verifying the transaction request sent by the currency payment party based on the shared private key, and completing the currency transaction by a transaction node in a blockchain mode;
based on the transaction information of the transaction node, adding a transaction record into the source currency of the currency receiver, and adding a tracking identifier issued by the currency issuing mechanism;
And verifying the tracking request initiated by the tracker according to the tracking identification in the digital currency, and if the tracking authority passes the tracking authority verification, deriving the associated transaction record in the currency to generate a currency transaction chain.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (4)

1. A digital currency tracking system, comprising:
The currency transaction module is used for generating a shared private key by a currency receiver according to an initial public key of the currency payer and an initial private key of the currency receiver after a transaction request sent by the currency payer, decrypting and verifying the transaction request sent by the currency payer based on the shared private key, and finishing the currency transaction by a transaction node in a blockchain mode;
the transaction storage module is used for storing the transaction record of the transaction node to the local or synchronizing the transaction record of the transaction node to the cloud database after network connection is detected, wherein the transaction record at least comprises an owner of a source coin, an amount and a number;
The transaction record module is used for compressing the transaction record through dynamic Huffman coding based on the transaction information of the transaction node, adding the compressed transaction record into the source currency of the currency receiver, and adding the tracking identifier issued by the currency issuing mechanism;
The currency tracking module is used for verifying a tracking request initiated by a tracker according to the tracking identification in the digital currency, and if the tracking authority passes the verification, the associated transaction record in the currency is exported to generate a currency transaction chain;
The tracking identifier issued by the added currency issuing authority comprises: the issuer performs hash calculation on the pre-added tracking identifier to obtain a corresponding hash value, encrypts the hash value through a private key of the issuer, and sends the encrypted message to a currency receiver as a digital signature; the currency receiving party analyzes the encrypted message based on a corresponding hash function and a public key of an issuing mechanism to obtain a corresponding tracking identifier, and the tracking identifier is added into the source currency, wherein the tracking identifier comprises a section of random character string and a tracking check code;
The currency tracking module further comprises a transaction verification module, a cloud supervision center and a cloud supervision center, wherein the transaction verification module is used for stopping the transaction initiated by the currency receiver and carrying out abnormal reminding to the cloud supervision center if tracking identification errors are detected in source currencies used for the transaction when the currency receiver initiates new currency transaction; or if the trace identification error is detected in the source coin used for the transaction, marking the transaction record as abnormal after the transaction is completed, and carrying out special marking on the corresponding source coin;
the method comprises the steps of verifying the identity of a tracker based on a public key of the tracker and verifying the tracking request of the tracker based on a private key of the tracker, and judging that the tracking authority passes verification if a predetermined character in the tracking request is identical to a tracking verification code in the tracking identifier.
2. The system of claim 1, wherein the shared key algorithm is an ECDH key agreement algorithm.
3. A digital currency tracking method, comprising:
after a transaction request sent by a currency payment party, generating a shared private key by a currency receiving party according to an initial public key of the currency payment party and an initial private key of the currency receiving party through a shared key algorithm, decrypting and verifying the transaction request sent by the currency payment party based on the shared private key, and completing the currency transaction by a transaction node in a blockchain mode;
Storing the transaction record of the transaction node to the local or synchronizing the transaction record of the transaction node to a cloud database after network connection is detected, wherein the transaction record at least comprises an owner, an amount and a number of a source coin;
based on the transaction information of the transaction node, compressing the transaction record through dynamic Huffman coding, adding the compressed transaction record into the source currency of the currency receiver, and adding the tracking identifier issued by the currency issuing mechanism;
Verifying a tracking request initiated by a tracker according to a tracking identifier in digital currency, and if the tracking authority passes the verification, deriving a transaction record associated with the currency to generate a currency transaction chain;
the tracking identifier issued by the added currency issuing authority comprises: the issuer adds the code to the pre-code;
The tracking identifier issued by the added currency issuing authority further comprises: when a currency receiver initiates a new currency transaction, if a tracking identification error is detected in a source currency for the transaction, the transaction initiated by the currency receiver is stopped, and an abnormal prompt is carried out to a cloud supervision center; or if the trace identification error is detected in the source coin used for the transaction, marking the transaction record as abnormal after the transaction is completed, and carrying out special marking on the corresponding source coin;
the method comprises the steps of verifying the identity of a tracker based on a public key of the tracker and verifying the tracking request of the tracker based on a private key of the tracker, and judging that the tracking authority passes verification if a predetermined character in the tracking request is identical to a tracking verification code in the tracking identifier.
4. A method according to claim 3, wherein the shared key algorithm is an ECDH key agreement algorithm.
CN202110665802.4A 2021-06-16 2021-06-16 Digital currency tracking system and method Active CN113269649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110665802.4A CN113269649B (en) 2021-06-16 2021-06-16 Digital currency tracking system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110665802.4A CN113269649B (en) 2021-06-16 2021-06-16 Digital currency tracking system and method

Publications (2)

Publication Number Publication Date
CN113269649A CN113269649A (en) 2021-08-17
CN113269649B true CN113269649B (en) 2024-07-05

Family

ID=77235130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110665802.4A Active CN113269649B (en) 2021-06-16 2021-06-16 Digital currency tracking system and method

Country Status (1)

Country Link
CN (1) CN113269649B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113689219A (en) * 2021-08-25 2021-11-23 福建坛讯信息科技有限公司 Authenticity verification method and system for transaction node of digital currency network based on block chain
CN114119026B (en) * 2022-01-26 2022-04-01 成都无糖信息技术有限公司 Virtual currency transaction tracking and tracing method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779707A (en) * 2016-12-23 2017-05-31 中钞***产业发展有限公司北京智能卡技术研究院 Monitoring and managing method, the apparatus and system of the digital cash Transaction Information based on block chain
CN107358440A (en) * 2017-06-26 2017-11-17 中国人民银行数字货币研究所 The method and system of digital cash customization tracking

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016298089A1 (en) * 2015-07-27 2018-02-08 Mastercard International Incorporated Systems and methods for tracking data using user provided data tags
US20180232731A1 (en) * 2017-02-14 2018-08-16 Digital Treasury Corporation Supply chain recording method with traceable function by implementing blockchain technique
CN106910072A (en) * 2017-02-15 2017-06-30 捷德(中国)信息科技有限公司 Digital cash management method and system
US11816642B2 (en) * 2017-03-20 2023-11-14 Steven Victor Wasserman Blockchain digital currency: systems and methods for use in enterprise blockchain banking
CN107330692B (en) * 2017-06-26 2022-05-24 中国人民银行数字货币研究所 Digital currency circulation method and device
CN107369009B (en) * 2017-06-26 2021-02-12 中国人民银行数字货币研究所 Payment method and payment system of digital currency
CN107659411B (en) * 2017-10-11 2020-09-15 深圳大学 Method and system for tracking user signature by condition in encrypted currency
CN108197214B (en) * 2017-12-28 2020-12-29 中国人民银行数字货币研究所 Method and system for inquiring digital currency transaction information
CN109583893B (en) * 2018-11-21 2020-07-10 北京航空航天大学 Traceable block chain-based digital currency transaction system
CN109670801B (en) * 2018-12-10 2021-02-12 华中科技大学 Digital encryption money transfer method for block chain
KR102185191B1 (en) * 2019-01-22 2020-12-01 (주)에스투더블유랩 Method and system for analyzing transaction of cryptocurrency
CN110009318A (en) * 2019-03-22 2019-07-12 陕西师范大学 A kind of digital cash method for tracing based on door sieve coin
CN110599140B (en) * 2019-08-29 2022-05-24 中国人民银行数字货币研究所 Digital currency verification method and system
CN110569408B (en) * 2019-09-04 2022-03-11 广州大学 Digital currency tracing method and system
CN111177257A (en) * 2019-12-13 2020-05-19 东软集团股份有限公司 Data storage and access method, device and equipment of block chain
CN111198888B (en) * 2020-02-15 2023-11-03 苏州区盟链数字科技有限公司 Method and system for dynamically generating and supervising digital currency crown word number
CN111461709B (en) * 2020-03-03 2023-03-31 深圳市爱云信息科技有限公司 Intelligent financial cross-border payment digital currency solution method based on block chain BaaS platform
CN111612440B (en) * 2020-03-11 2024-03-12 上海十进制网络信息科技有限公司 Method and device for circulating digital currency, server and readable storage medium
CN111639923B (en) * 2020-05-07 2023-09-29 杭州云象网络技术有限公司 Digital currency transaction accounting method and system based on zero knowledge proof
CN111680194A (en) * 2020-06-11 2020-09-18 深圳前海微众银行股份有限公司 Encryption currency transaction tracking method, device, equipment and readable storage medium
CN111784314A (en) * 2020-06-24 2020-10-16 杭州云象网络技术有限公司 Block chain digital currency life cycle supervision method and system
CN112650890A (en) * 2020-12-28 2021-04-13 杭州趣链科技有限公司 Graph database-based encrypted currency flow direction tracking method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779707A (en) * 2016-12-23 2017-05-31 中钞***产业发展有限公司北京智能卡技术研究院 Monitoring and managing method, the apparatus and system of the digital cash Transaction Information based on block chain
CN107358440A (en) * 2017-06-26 2017-11-17 中国人民银行数字货币研究所 The method and system of digital cash customization tracking

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Graph Neural Network-Based Bitcoin Transaction Tracking Model;Li, Zhiyuan;IEEE ACCESS;20230709;第11卷;全文 *
暗网犯罪领域虚拟加密数字货币交易的侦查对策研究;薛亚龙;山东警察学院学报;20231120;第35卷(第06期);全文 *

Also Published As

Publication number Publication date
CN113269649A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
US11687924B2 (en) Cryptocurrency infrastructure system
US20230274240A1 (en) Transaction signing utilizing asymmetric cryptography
CN108389047B (en) Method for trading between parent chain and child chain in block chain and block chain network
CN111144862B (en) Method, device, equipment and storage medium for realizing digital currency double-off-line payment
CN108764874B (en) Anonymous transfer method, system and storage medium based on block chain
US11227275B2 (en) Person-to-person electronic payment processing
CN111034114B (en) Blockchain architecture with record security
CN107925572B (en) Secure binding of software applications to communication devices
CN108701296B (en) Method and system for offline blockchain swapping
US9978094B2 (en) Tokenization revocation list
CN106062799B (en) Method and system for secure authentication of a user and a mobile device without a secure element
CN106104605B (en) Method and system for generating advanced storage keys in a mobile device without a secure element
US20160224977A1 (en) Token check offline
EP3360306A1 (en) Method and system for validation of hashed data via acceptance frames
CN112037068A (en) Resource transfer method, system, device, computer equipment and storage medium
US20230103038A1 (en) Method for directly transferring electronic coin data sets between terminals, payment system, currency system and monitoring unit
CN113269649B (en) Digital currency tracking system and method
US20220067717A1 (en) Blockchain system that includes bank nodes each having separate ledgers for identity, digital currency and other functions, and operation method thereof
US11716200B2 (en) Techniques for performing secure operations
WO2022154789A1 (en) Token-based off-chain interaction authorization
US20210272106A1 (en) Universal Payment Messaging Using Public Blockchains and Identity Platform
KR102376783B1 (en) The blockchain-based transaction history confirmation system
US20240037556A1 (en) Method and system for payment processing using distributed digitized surrogates
US20240078522A1 (en) Interaction channel balancing
US20240086917A1 (en) Fraud mitigation using pre-authorization authentication and verification

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