Nothing Special   »   [go: up one dir, main page]

CN119273354A - Circulation management method, system and storage medium for digital currency transaction - Google Patents

Circulation management method, system and storage medium for digital currency transaction Download PDF

Info

Publication number
CN119273354A
CN119273354A CN202411796529.9A CN202411796529A CN119273354A CN 119273354 A CN119273354 A CN 119273354A CN 202411796529 A CN202411796529 A CN 202411796529A CN 119273354 A CN119273354 A CN 119273354A
Authority
CN
China
Prior art keywords
transaction
information
digital
digital currency
currency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411796529.9A
Other languages
Chinese (zh)
Other versions
CN119273354B (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.)
Guangzhou Helipay Payment Technology Co ltd
Original Assignee
Guangzhou Helipay Payment 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 Guangzhou Helipay Payment Technology Co ltd filed Critical Guangzhou Helipay Payment Technology Co ltd
Priority to CN202411796529.9A priority Critical patent/CN119273354B/en
Priority claimed from CN202411796529.9A external-priority patent/CN119273354B/en
Publication of CN119273354A publication Critical patent/CN119273354A/en
Application granted granted Critical
Publication of CN119273354B publication Critical patent/CN119273354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请提供了数字货币交易的流通管理方法、系统及存储介质,涉及货币流通管理技术领域,包括:遍历待交易数字货币进行交易识别,获得第一交易状态,进行安全加密;将待交易数字货币同步至区块链网络进行交易查询,获得历史货币交易记录数据;对交易加密信息进行交易验证,对第一交易状态进行更新,获得第二交易状态;对数字加密货币信息对进行交易监控,生成反馈数据;对第二交易状态进行响应,执行交易管理策略,对数字货币的交易进行智能流通管理。通过本申请可以解决现有技术中由于数字货币交易面临多种安全威胁,导致货币流通管理的安全性不足,通过将安全加密与区块链技术结合,提高了数字货币流通管理的安全性。

The present application provides a circulation management method, system and storage medium for digital currency transactions, which relates to the technical field of currency circulation management, including: traversing the digital currency to be traded for transaction identification, obtaining the first transaction status, and performing security encryption; synchronizing the digital currency to be traded to the blockchain network for transaction query, and obtaining historical currency transaction record data; performing transaction verification on the transaction encryption information, updating the first transaction status, and obtaining the second transaction status; conducting transaction monitoring on the digital cryptocurrency information pair, and generating feedback data; responding to the second transaction status, executing the transaction management strategy, and performing intelligent circulation management on the transaction of digital currency. This application can solve the problem of insufficient security of currency circulation management in the prior art due to the multiple security threats faced by digital currency transactions, and improve the security of digital currency circulation management by combining security encryption with blockchain technology.

Description

Circulation management method, system and storage medium for digital currency transaction
Technical Field
The present application relates to the technical field of currency circulation management, and in particular, to a circulation management method, system and storage medium for digital currency transaction.
Background
The circulation management of digital currency transaction refers to orderly management of links such as issuing, transaction, clearing and recycling of digital currency in a transaction network so as to ensure the security, circulation efficiency and system stability of the transaction. Many existing transaction records in digital currency are typically stored on public blockchains, and though the transaction itself is anonymous, through data analysis, the true identity of the user may still be tracked, posing a threat to user privacy, particularly in scenarios involving sensitive transactions. It is a technical challenge to protect user privacy while maintaining transaction transparency. Various security threats exist in the digital currency transaction process, such as transaction data tampering, double payment, private key disclosure, transaction fraud and the like, and particularly under the condition of lacking an effective encryption protection and verification mechanism, transaction information is easy to be tampered or attacked maliciously, so that user assets are lost or the transaction fails.
In summary, in the prior art, the digital currency transaction faces various security threats, and the encryption measures are insufficient, so that the currency circulation management security is poor.
Disclosure of Invention
The application aims to provide a circulation management method, a circulation management system and a storage medium for digital currency transaction, which are used for solving the technical problem of poor security of currency circulation management caused by insufficient encryption measures due to various security threats faced by digital currency transaction in the prior art.
In view of the above, the present application provides a method, system and storage medium for managing circulation of digital money transactions.
The application provides a circulation management method of digital currency transaction, which is realized through a circulation management system of the digital currency transaction, wherein the circulation management method of the digital currency transaction comprises the steps of traversing digital currency to be transacted for transaction identification, obtaining a first transaction state, conducting secure encryption on the digital currency to be transacted based on the first transaction state, generating a key pair, wherein the key pair comprises a digital encryption currency information pair and transaction encryption information, constructing a blockchain network, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry, obtaining historical currency transaction record data, broadcasting the transaction encryption information to the blockchain network for transaction verification according to the historical currency transaction record data, generating transaction confirmation information, updating the first transaction state based on the transaction confirmation information, obtaining a second transaction state, conducting transaction monitoring on the digital encryption currency information pair according to the second transaction state, generating transaction feedback data, responding to the second transaction state according to the transaction feedback data, generating a transaction response result, conducting intelligent transaction management policy based on the transaction response, and conducting circulation management on the transaction response.
The application also provides a circulation management system of the digital currency transaction, which is used for executing the circulation management method of the digital currency transaction according to the first aspect, wherein the circulation management system of the digital currency transaction comprises a transaction encryption module, a transaction monitoring module, a transaction verification module and a transaction response management module, wherein the transaction encryption module is used for traversing the transaction identification of the digital currency to be transacted according to the history transaction record data, obtaining a first transaction state, carrying out secure encryption on the digital currency to be transacted based on the first transaction state, generating a key pair, the key pair comprises a digital encryption currency information pair and transaction encryption information, the transaction inquiry module is used for constructing a blockchain network, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry, obtaining history currency transaction record data, the transaction verification module is used for carrying out transaction verification on the transaction encryption information broadcast to the blockchain network according to the history currency transaction record data, generating transaction confirmation information, updating the first transaction state based on the transaction confirmation information, obtaining a second transaction state, the transaction monitoring module is used for carrying out response to the transaction response management policy, and carrying out response transaction response to the transaction management policy, and carrying out response transaction management on the transaction response to the transaction response data.
In a third aspect, a computer readable storage medium having stored thereon a computer program which, when executed, implements the steps of the flow management method of digital money transactions of any of the first aspects above.
One or more technical schemes provided by the application have at least the following technical effects or advantages:
Traversing digital currency to be transacted for transaction identification to obtain a first transaction state, carrying out security encryption on the digital currency to be transacted based on the first transaction state to generate a key pair, wherein the key pair comprises a digital encryption currency information pair and transaction encryption information, constructing a blockchain network, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry to obtain historical currency transaction record data, broadcasting the transaction encryption information to the blockchain network for transaction verification according to the historical currency transaction record data to generate transaction confirmation information, updating the first transaction state based on the transaction confirmation information to obtain a second transaction state, carrying out transaction monitoring on the digital encryption currency information pair according to the second transaction state to generate transaction feedback data, responding to the second transaction state according to the transaction feedback data to generate a transaction response result, executing a transaction management strategy based on the transaction response result, and carrying out intelligent circulation management on the transaction of the digital currency. The method comprises the steps of determining the initial transaction state of the digital currency to be transacted by identifying the state of the digital currency to be transacted, conducting secure encryption on the digital currency, constructing a blockchain, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry, broadcasting encrypted transaction information to the blockchain network for verification, monitoring the state of the transaction in real time and generating feedback data, adjusting management strategies according to the real-time transaction conditions, reducing asset loss, realizing intelligent circulation management of the digital currency transaction, and improving the security of the digital currency circulation management.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent. It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following brief description will be given of the drawings used in the description of the embodiments or the prior art, it being obvious that the drawings in the description below are only exemplary and that other drawings can be obtained from the drawings provided without the inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a flow management method for digital money transactions according to the present application;
FIG. 2 is a schematic diagram of a flow management system for digital money transactions according to the present application.
Reference numerals illustrate a transaction encryption module 11, a transaction inquiry module 12, a transaction verification module 13, a transaction monitoring module 14, and a response management module 15.
Detailed Description
The application solves the technical problem of poor currency circulation management security caused by various security threats facing digital currency transaction and insufficient encryption measures in the prior art by providing the circulation management method, the system and the storage medium of the digital currency transaction. The method comprises the steps of determining the initial transaction state of digital currency to be transacted by identifying the state of the digital currency to be transacted, conducting secure encryption on the digital currency, constructing a blockchain, synchronizing the digital currency to be transacted to a blockchain network for transaction inquiry, broadcasting encrypted transaction information to the blockchain network for verification, monitoring the state of the transaction in real time and generating feedback data, adjusting management strategies according to the real-time transaction conditions, reducing asset loss, realizing intelligent circulation management of the digital currency transaction, and improving the security of the digital currency circulation management.
In the following, the technical solutions of the present application will be clearly and completely described with reference to the accompanying drawings, and it should be understood that the described embodiments are only some embodiments of the present application, but not all embodiments of the present application, and that the present application is not limited by the exemplary embodiments described herein. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. It should be further noted that, for convenience of description, only some, but not all of the drawings related to the present application are shown.
Referring to fig. 1, the present application provides a method for managing circulation of digital money transactions, wherein the method for managing circulation of digital money transactions is applied to a system for managing circulation of digital money transactions, and the method for managing circulation of digital money transactions specifically includes the following steps:
Traversing digital currency to be transacted for transaction identification to obtain a first transaction state, and carrying out security encryption on the digital currency to be transacted based on the first transaction state to generate a key pair, wherein the key pair comprises a digital encryption currency information pair and transaction encryption information.
Specifically, the pending digital currency transactions are traversed and the status of the digital currencies is identified. Each digital currency to be transacted has its specific transaction status including whether it is a legitimate transaction, whether it has been used, whether it meets current transaction conditions, etc. By traversing these digital currencies, the legitimacy of the digital currencies (e.g., whether there is a risk of double payment, whether the transaction conditions are met, etc.) is checked, and an initial transaction state, i.e., a first transaction state, is obtained. And carrying out secure encryption on the digital currency to be transacted according to the first transaction state, dynamically adjusting an encryption algorithm or a key generation mode, and encrypting the digital currency information by using symmetric encryption or asymmetric encryption to ensure the security of the transaction. Secure encryption is an encryption technique that encrypts transaction data based on the status of the transaction and related information. A key pair is generated during encryption, including a digital cryptocurrency information pair and transaction encryption information. The digital encryption currency information pair comprises encrypted digital currency amount, sender information and receiver information, and transaction encryption information, state information related to a transaction execution flow, transaction operation records and the like. The method comprises the steps of traversing the digital currency to be transacted, identifying the initial state (first transaction state) of the digital currency, then carrying out security encryption on legal transaction based on the state, generating a key pair for protecting transaction data, protecting core currency data in the transaction by the digital encryption currency information pair, protecting operation information in a transaction process by the transaction encryption information, and ensuring the validity of the transaction, the security of the data and the integrity of the process.
And secondly, constructing a blockchain network, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry, and obtaining historical currency transaction record data.
Specifically, a blockchain network capable of carrying digital currency transactions and synchronous queries is constructed through the steps of node deployment, consensus mechanism setting, network communication configuration and the like. The blockchain network comprises a digital currency transaction platform, and the transaction platform not only provides conventional transaction functions, but also directly participates in the synchronization and consensus process of the blockchain. The transaction platform may serve as a node to maintain a distributed ledger of the blockchain. The digital currency information to be transacted is synchronized into the blockchain network, including transaction party information, transaction amount, transaction time, unique identification of digital currency, and the like. After synchronizing to the blockchain network, the transaction inquiry typically involves checking the transaction history to obtain historical transaction record data for the currency. These historical transaction records will reveal all transaction traces of the digital currency to ensure its legitimacy. The historical currency transaction record data includes details of the digital currency in all transactions in the past, such as when, in which transactions the digital currency was used, whether it has been completed by the transaction, whether there are double payment issues, and the like. By querying the historical transaction record of the digital currency, it is determined whether the currency to be transacted has been used and whether there are any anomalies, such as double payment or incomplete transactions, and the legitimacy and transparency of each transaction is ensured by the traceability of the historical record.
And thirdly, broadcasting the transaction encryption information to the blockchain network for transaction verification according to the historical currency transaction record data, generating transaction confirmation information, and updating the first transaction state based on the transaction confirmation information to obtain a second transaction state.
Specifically, the transaction encryption information is broadcast to all nodes in the blockchain network through the P2P network, and each node performs verification according to the transaction history record of the node after receiving the transaction encryption information and adds the transaction encryption information to the memory pool to prepare for participating in the next round of block verification. In the broadcasting process, historical transaction record data is combined, so that the validity and traceability of transaction information are ensured, and the problems of double payment and the like are prevented. Each node can generate a hash value according to the requirement of the consensus mechanism, and the network can verify the nodes according to the hash values, so that the correctness of the node behaviors and the consistency of the network are ensured. And after the verification is passed, generating transaction confirmation information. The transaction confirmation information is a flag that the transaction is approved by the blockchain network, indicating that the transaction has been validated and can be recorded in the blockchain. And by generating transaction confirmation information, confirming that the transaction is verified by a plurality of nodes in the network, and preventing invalid transactions from illegally entering the blockchain.
And updating the first transaction state of the transaction, namely updating the initial state of the transaction at the beginning of the transaction according to the generated transaction confirmation information. Based on the verification results received from the respective nodes, it is determined whether the nodes have reached a predetermined transaction state, the nodes that have reached the desired transaction state are selected, and their associated transaction data are added to the valid transaction data set. And eliminating nodes which do not reach the expected transaction state, triggering a corresponding state change instruction, updating the transaction state, updating the first transaction state to the second transaction state, and ensuring that the transaction state reflects the latest progress and result of the transaction. The second transaction state indicates that the transaction has been formally confirmed by verification. By means of automatic updating of the states and synchronous and tight combination of the states of the blockchain network, all nodes are guaranteed to have consistent transaction states, and the latest states of transactions are reflected timely.
And fourthly, carrying out transaction monitoring on the digital encryption currency information pair according to the second transaction state to generate transaction feedback data.
Specifically, according to the transaction life cycle, the digital encryption currency information is tracked according to the second transaction state, real-time monitoring is carried out on the digital encryption currency information, and time sequence information of transactions is obtained, wherein the time sequence information comprises data of each transaction at each time point in the life cycle, such as transaction initiation time, confirmation time, propagation time and the like. Traversing the digital encryption currency information pair, performing risk monitoring based on the transaction time sequence information, determining a plurality of risk factors in the transaction, such as transaction delay, network problems, double payment risks and the like, and generating corresponding risk data. According to the risk data, analyzing the fluidity of the digital encryption currency information pair, evaluating the flowing efficiency of funds and the circulation condition of the funds in the network, tracking the flow direction of the digital currency, monitoring the path of the funds in the blockchain network, identifying the transferring process of the funds from one node to the other node, constructing a flowing network diagram, and displaying the connection condition of the circulation path of the funds in the network and the nodes. The generated flow network diagram and the transaction risk data are added into transaction feedback data to form a complete feedback system, so that more comprehensive transaction feedback is provided, and detailed information of the transaction such as transaction time, participation nodes, potential problems in the execution process and the like are contained. And continuously monitoring the digital encryption currency information pair in the second transaction state to ensure smooth execution of the transaction and generate detailed transaction feedback data. The feedback data not only provides a complete transparent record of the transaction, but can also help identify and resolve potential transaction problems.
And fifthly, responding to the second transaction state according to the transaction feedback data, generating a transaction response result, executing a transaction management strategy based on the transaction response result, and performing intelligent circulation management on the transaction of the digital currency.
The risk analysis is carried out on the second transaction state according to transaction risk data in the transaction feedback data, risks possibly existing in the transaction are found in advance, and measures are taken to reduce or avoid influences of the risks on the transaction. And activating a scheduling mechanism by combining flow analysis and risk analysis results, selecting an optimal scheduling path, and avoiding nodes with high congestion or risk, thereby improving the execution efficiency and the safety of transactions. After the scheduling path is determined, control checking is carried out on the transaction execution on the path, so that whether the correctness and the execution condition of the transaction path meet expectations or not is ensured. Based on the verification result, a final transaction response result is generated indicating whether the transaction was successful or whether further adjustment is required.
And executing corresponding transaction management strategies according to the generated transaction response result, including readjusting a transaction path, confirming transaction success or triggering a fault processing flow and the like. And dynamically adjusting the management strategy according to different transaction response results, and executing intelligent transaction optimization. For example, switching to a standby path when a network delay is encountered, suspending the transaction flow and rechecking when an abnormal transaction is detected. By executing the transaction management strategy, intelligent circulation management of digital currency transaction is realized, the problems in the transaction process are automatically identified, the transaction execution path is optimized, high-efficiency and safe circulation of digital currency in a blockchain network is ensured, the transaction efficiency is improved, the risk in the transaction process is reduced, and funds can be circulated in the network in the fastest and safest mode. By analyzing the transaction feedback data, a transaction response result is generated, a corresponding transaction management strategy is executed, intelligent circulation management of digital currency transaction is realized, the high efficiency and the safety of the transaction process are ensured, and measures can be quickly taken to correct and optimize when problems are encountered.
Further, the first step of the present application includes:
Extracting to-be-processed transaction data based on a digital currency transaction pool, scanning to determine the to-be-transacted digital currency, traversing the to-be-transacted digital currency to perform data integrity verification to obtain transaction key field information, performing double payment detection according to the transaction key field information, performing state identification according to a detection result to generate the first transaction state, traversing the to-be-transacted digital currency to perform dynamic encryption according to the first transaction state to obtain a digital encryption currency information pair, traversing the to-be-transacted digital currency to perform dynamic encryption according to the transaction key field information to obtain transaction encryption information, associating the digital encryption currency information pair with the transaction encryption information to generate a key pair.
Specifically, all transaction data to be processed are extracted from the digital currency transaction pool, and preliminary scanning is performed to identify which digital currencies are to be transacted. The digital money transaction pool is a data set storing all records of transactions to be performed, including buyer and seller information, transaction amount, transaction currency type, etc. Traversing each piece of digital currency to be transacted, verifying the integrity of transaction data, and extracting transaction key field information. The purpose of data integrity verification is to ensure that the data (e.g., transaction amount, sender, receiver, etc.) in each transaction is complete, not tampered with, and meets the standards of the transaction protocol. Data integrity verification typically includes checking whether fields of the transaction are complete, whether the digital signature is valid, whether the transaction amount is correct, whether the identity of both parties to the transaction is correct, and the like. The transaction key field information typically includes a transaction ID, sender address, recipient address, transaction amount, digital currency type, transaction timestamp, etc.
And (3) performing double payment detection according to the extracted transaction key field information, so as to ensure that no transaction attempts to perform multiple payments by using the same digital currency. Dual payment detection is to check if the same digital currency is used for two or more transactions, which is an important security issue in digital currency transactions. And according to the result of the dual payment detection, carrying out state identification on each transaction, and identifying the validity and the processing progress of each transaction, such as validity, invalidity and waiting to be confirmed, wherein the validity, the validity and the current processing progress of the transaction are reflected. Legal transactions are identified as valid, illegal or transactions attempting dual payments are identified as invalid. And identifying the state of the transaction according to the detection result, and generating a first transaction state.
And dynamically encrypting legal digital currency to be transacted according to the first transaction state to generate a digital encryption currency information pair. Dynamic encryption is an encryption technology, and different encryption algorithms or keys are applied according to the specific state or attribute of a transaction, so that higher-level security can be provided, and encryption of each transaction is unique and the security of other transactions is not affected even if the encryption algorithm is cracked. The digital encryption currency information pair refers to digital currency transaction data subjected to dynamic encryption processing, and includes data of digital currency itself, such as a sender, a receiver, an amount, a time stamp and the like. The content data of the transaction itself is protected, and the security and confidentiality of both transaction parties and the amount information are ensured.
And dynamically encrypting the digital currency to be transacted according to the information of the transaction key field, namely encrypting the key information in the transaction, so as to ensure the integrity of transaction data. In contrast to digital cryptocurrency information pairs, transaction encryption information focuses on metadata encryption related to the transaction operation and process itself, such as transaction status, operation records, signatures, and the like. The state and the process of the transaction operation are protected, and the legality and the operation integrity of the transaction process are ensured. The generated digital encryption currency information pair is correlated with transaction encryption information, and the generated digital encryption currency information pair and the transaction encryption information are correlated together through a hash or correlation algorithm to ensure that each transaction has a unique encryption key pair, and a key pair for encrypting and decrypting transaction data is generated. In cryptography, a key pair is composed of two related keys, including a public key and a private key, used to encrypt and decrypt transaction data, ensuring the security and uniqueness of each transaction. The key pair here contains a digital encryption currency information pair and transaction encryption information, and contains core information (such as sender, receiver, transaction amount, time stamp, etc.) related to the transaction, and status information, transaction operation record, etc. related to the transaction execution flow. The problem that the same piece of digital currency is reused is effectively prevented through the double payment detection mechanism, and the encryption processing of the transaction key fields and the digital currency information ensures the privacy security of both parties of the transaction.
Further, the second step of the present application includes:
Analyzing the transaction key field information based on an application scene, generating a demand analysis result, carrying out fault-tolerant evaluation according to the demand analysis result, generating a fault-tolerant coefficient, integrating according to the fault-tolerant coefficient and the application scene, determining a consensus mechanism, carrying out network initialization based on a network protocol, generating network communication parameters, constructing a network architecture according to the network communication parameters, obtaining a network node list, carrying out node synchronous communication based on the network node list, determining a node structure, carrying out data deployment on the network node list and the consensus mechanism according to the node structure, and constructing the blockchain network.
Specifically, according to the specific application scenario of the digital currency transaction (financial transaction, logistics management, inter-equipment transaction of the internet of things, etc.), key field information (such as transaction amount, timestamp, sender/receiver address, etc.) related to the transaction is analyzed, and a demand analysis result for the specific application scenario is generated. The requirement analysis result refers to deriving requirements that the blockchain network needs to meet, such as performance requirements, security requirements, privacy protection requirements, and the like, according to a specific application scenario. According to the demand analysis result, the fault tolerance capability of the evaluation system is required to be possessed so as to cope with the situations of node failure, data error or network instability and the like. Fault tolerance assessment is a process of assessing the stability and reliability of a system in the face of error or abnormal conditions, taking into account the ability of the system to continue to operate when a problem arises. And generating a fault tolerance coefficient according to the fault tolerance evaluation result. The fault tolerance coefficient refers to a fault tolerance range allowed by the blockchain network when faults or errors occur, and reflects stability and reliability of the blockchain network when the blockchain network faces the faults or abnormal conditions.
And integrating according to the fault tolerance coefficient and the application scene, and selecting a proper consensus mechanism according to different fault tolerance requirements and scene requirements, so that the selected consensus mechanism can be matched with the evaluated fault tolerance, the safety of the network is ensured, and the high efficiency is maintained. The consensus mechanism is a key concept in blockchain technology, ensuring that all nodes in the network agree on transaction histories, including proof of work (PoW), proof of equity (PoS), proof of delegate equity (DPoS), etc.
Network initialization is performed according to a network protocol, i.e., a set of rules, standards, or conventions used for data exchange in a computer network. The network environment, including communication rules, data formats, node connections, etc., is configured according to a particular network protocol (e.g., TCP/IP, HTTP, webSocket, etc.), ensuring that data is properly transmitted and received in the network. Network communication parameters including IP address, port, connection timeout, transport encryption standard, etc. are generated according to the network protocol and configuration. And constructing a network architecture by using the generated network communication parameters, including setting network equipment such as servers, routers, switches and the like, and configuring a network topology (such as mesh). And acquiring node lists of all the participating networks according to the built network architecture, wherein the node lists comprise node information of all the participating blockchain networks. Synchronous communication among nodes is carried out through a network node list, wherein the synchronous communication refers to information exchange among all nodes in a network so as to ensure that all nodes have the same data copy. According to network requirements, performance, contribution and the like of the nodes, the node structure is determined, wherein the node structure comprises roles of the nodes (such as miner nodes, verification nodes, storage nodes, full nodes and the like), connection modes of the nodes (such as direct connection or connection through intermediate nodes) and geographic distribution of the nodes.
According to the node structure, the nodes in the network node list are configured into the blockchain network, each node is assigned specific roles and responsibilities, and corresponding data storage and processing are performed according to the roles. According to the deployed consensus mechanism, each node is ensured to participate in the consensus process of the blockchain network, and the data is verified through the consensus. A blockchain network with consistency, safety and fault tolerance is formed by binding the node list with a consensus mechanism. The block chain network which has the safety, fault tolerance and adaptation to specific application scenes and can process market transaction is constructed through the steps of analyzing transaction key field information, generating fault tolerance assessment, integrating a consensus mechanism, initializing a network, synchronizing nodes and the like.
Further, the third step of the present application includes:
The method comprises the steps of carrying out full-node coverage traversal on transaction encryption information combined with historical currency transaction record data based on the node structure to generate a broadcasting path, broadcasting the transaction encryption information to the blockchain network according to the broadcasting path to generate broadcasting transaction data, extracting a plurality of node hash values by combining the broadcasting transaction data through the consensus mechanism, carrying out multidimensional verification on a plurality of nodes based on the plurality of node hash values to generate a plurality of node verification results, and carrying out node verification according to the plurality of node verification results to obtain the transaction verification information.
Specifically, all nodes are traversed according to the structure of the nodes (such as the connection relation among the nodes and the network topology), and all nodes in the blockchain network are traversed by combining transaction encryption information and historical currency transaction record data. By traversing the full nodes, a most efficient broadcast path is determined, ensuring that transaction encryption information can be received by the full nodes in the shortest time. Transaction encryption information is broadcast to all nodes in a blockchain network over a point-to-point (P2P) network according to a broadcast path. After receiving the transaction encryption information, the full node stores the transaction encryption information into a memory pool to be used as data for participating in the next round of block verification. Hash values of a plurality of nodes are extracted from broadcast transaction data using a consensus mechanism. The hash value is a fixed-length string that is calculated from the transaction data of the node to uniquely identify the data.
And according to the hash values of the plurality of nodes, performing multidimensional verification on the plurality of nodes in the network, wherein the multidimensional verification comprises verification on the validity of transaction data, whether the node states are consistent, whether the nodes normally operate, and the like, so that the validity and consistency of transaction encryption information and node operation are ensured. And generating a verification result of each node in the verification process, wherein the verification result indicates whether the node passes verification successfully or not. Multidimensional validation refers to validating nodes from different angles and dimensions to ensure that the behavior and state of the nodes conform to network rules. And confirming the nodes according to the verification results of the plurality of nodes, wherein the state and the behavior of the nodes accord with network rules and standards.
When most nodes agree and acknowledge a transaction, a final transaction acknowledge message is generated, indicating that the transaction was acknowledged by the blockchain network. The transaction validation information typically includes a transaction hash, validation time, a list of validation nodes, etc., that are used to prove that the transaction has been validated and accepted by multiple nodes in the network. Through full node traversal and data broadcasting of nodes in the blockchain network, transaction encryption information can be guaranteed to be rapidly transmitted and received by the full nodes, a consensus mechanism extracts node hash values and performs multidimensional verification, the nodes are confirmed, transaction confirmation information is finally generated, consistency, safety and legality of the transaction encryption information in the distributed network are guaranteed, and efficiency and reliability of the blockchain network are improved.
Further, the application also comprises the following steps:
Judging whether the nodes reach an expected transaction state based on the verification results of the nodes, extracting nodes reaching the expected transaction state, adding the nodes to an effective transaction data set, carrying out transaction confirmation through the effective transaction data set to generate a first queue to be confirmed, extracting nodes not reaching the expected transaction state, adding the nodes to an invalid transaction data set, removing the nodes corresponding to the invalid transaction data set from the first queue to be confirmed to generate a second queue to be confirmed, triggering a state change instruction according to the second queue to be confirmed, updating the first transaction state according to a transaction life cycle through the state change instruction, and determining the second transaction state.
Specifically, according to the verification results of the nodes, the transaction states of the nodes are evaluated, and whether the nodes reach the expected transaction states is judged. The expected transaction state generally refers to a state that meets the requirements of the consensus mechanism, where the transaction data is legal and consistent, i.e., where the transaction is accepted and confirmed by most nodes in the network. The specific definition of the desired transaction state may vary among different blockchain networks, but generally involves approval of the transaction by a proportion of nodes. The nodes that have reached the desired transaction state are extracted from all nodes and the transaction data of these nodes are classified as a valid transaction data set. The valid transaction data set contains all nodes that have been validated and are ready for transaction validation. And carrying out transaction confirmation by utilizing the data in the effective transaction data set to obtain a first queue to be confirmed, wherein the first queue to be confirmed comprises all transactions which have passed the preliminary confirmation but are not confirmed finally.
For those nodes that fail to reach the desired transaction state, the data of those nodes are classified as invalid transaction data sets, and the data of those nodes may fail to pass the consensus verification due to illegal transactions, verification failure, or network problems. The corresponding nodes in the invalid transaction data set are removed from the first to-be-acknowledged queue, ensuring that transactions of the nodes are no longer involved in the acknowledgement process. After the invalid nodes are removed, a second queue to be confirmed is generated, and only the valid nodes are contained, so that the rest of transactions can be confirmed smoothly. The second to-be-confirmed queue is formed by valid transactions remaining in the first to-be-confirmed queue after the invalid transactions are removed. And triggering corresponding state change instructions according to the transaction information in the second queue to be confirmed to update the state of the transaction, wherein the instructions are usually sent out according to the consensus result, so that the transaction state is ensured to be correctly updated in different life cycle stages. The first transaction state is updated by the state change instruction, and the state of the transaction is automatically updated, so that the transaction flow can be automatically and smoothly carried out, the second transaction state is determined, and the fact that the transaction state reflects the latest progress and result of the transaction is ensured. And analyzing verification results of the nodes, extracting the nodes reaching the expected transaction state, classifying valid and invalid transaction data, and updating the transaction state according to the state change instruction. The process ensures the validity and consistency of the transaction in the blockchain network, realizes the automatic update of the state through the management of the transaction life cycle, finally generates the second transaction state, effectively solves the screening of invalid transaction data, the efficient processing of transaction confirmation and the automation of the state update, and improves the safety and the efficiency of the blockchain transaction.
Further, the fourth step of the present application includes:
The method comprises the steps of carrying out state synchronization on a blockchain network based on the second transaction state to generate block synchronization parameters, tracking the digital encryption currency information pair according to the transaction life cycle to carry out real-time transaction analysis to obtain transaction time sequence information, traversing the digital encryption currency information pair based on the transaction time sequence information to carry out risk monitoring to determine a plurality of transaction risk data, carrying out transaction liquidity analysis on the digital encryption currency information pair according to the transaction risk data, carrying out flow tracking according to an analysis result to construct a flow network diagram, and adding the flow network diagram and the transaction risk data to the transaction feedback data.
Specifically, according to the second transaction state, the second transaction state is synchronized to all nodes of the blockchain network, so that all nodes are ensured to have consistent transaction data, and the current blockchain state is updated. The block synchronization parameter refers to data for synchronizing each node in the blockchain network, including latest block information, transaction status, transaction timestamp, transaction hash, and the like. The state changes of the digital cryptocurrency information pair are tracked according to the life cycle of the transaction from occurrence to completion, including the initiation, verification, validation and final recording of the transaction on the blockchain. In the tracking process, the state changes of the digital encryption currency information pair and the influence of the changes on the whole transaction flow are analyzed in real time, and the time sequence information of the transaction is acquired, wherein the time sequence information comprises data of each transaction at each time point in the life cycle, such as transaction initiation time, confirmation time, propagation time and the like.
The digital cryptocurrency information pair is traversed using the transaction timing information to identify potential transaction risk. Risk monitoring may include detecting abnormal transaction patterns, high volume transactions, high frequency transactions, etc., which may be evidence of improper transaction behavior, identifying transactions that do not conform to conventional transaction patterns. A plurality of transaction risk data is determined based on the analysis, including a plurality of risk factors in the transaction, such as transaction delays, network problems, double payment risk, and the like. And analyzing the fluidity of the digital encryption currency information pair according to the generated transaction risk data, and evaluating the flowing efficiency of funds and the circulation condition of the funds in the network. According to liquidity analysis, indexes such as transaction amount, transaction frequency, currency residence time and the like are calculated, the execution efficiency of transactions, the circulation speed of funds and interaction between nodes are analyzed, and liquidity of the funds in the blockchain network is estimated. The flow of digital currency is tracked using the timing information and transaction history data, paths of funds in the blockchain network are monitored, and transfer of funds from one node to another node is identified.
And constructing a flow network diagram according to the tracked flow information, and displaying the connection condition of a circulation path and nodes of funds in the network. The network map can intuitively demonstrate the complexity and dynamics of the funds flow, helping users and regulatory authorities to better understand market conditions. And adding the generated flow network diagram and a plurality of transaction risk data into transaction feedback data, wherein the transaction feedback data comprises time sequence information, risk data, flow network diagram and the like of the transaction, so as to form a complete feedback system. The state synchronization of the blockchain network is carried out based on the second transaction state, the transaction time sequence information is tracked in real time, the transaction liquidity and risk are monitored, a flow network diagram is finally constructed, the information is incorporated into transaction feedback data, the safety, the transparency and the traceability of the transaction are improved, and the flow of funds in the blockchain network is effectively monitored.
Further, the fifth step of the present application comprises:
the method comprises the steps of carrying out flow analysis on a second transaction state based on the flow network diagram to generate a first analysis result, carrying out risk analysis on the second transaction state based on the transaction risk data to generate a second analysis result, activating a scheduling mechanism to carry out transaction scheduling according to the first analysis result and the second analysis result to generate a scheduling path, carrying out transaction control checking based on the scheduling path, and responding according to the checking result to generate a transaction response result.
In particular, the flow network graph represents interactions between flow paths and nodes of funds or digital cryptocurrency in a blockchain network, and by analyzing the flow network graph, the flow of funds in the network is visualized and understood, identifying high-flow nodes of transactions, primary flow of funds, and possible congestion points. And carrying out flow analysis on the second transaction state, analyzing the flow condition of the digital currency in the blockchain network, and evaluating the flow efficiency and the flow path of the digital currency. According to flow analysis, a first analysis result is obtained, wherein the first analysis result comprises the speed of fund flow, delay between nodes, congestion condition of a flow path and the like, and a basis is provided for the next transaction optimization.
And carrying out deep analysis on the second transaction state through a plurality of transaction risk data obtained by carrying out risk monitoring on the digital encrypted currency information, analyzing distribution, trend, correlation and the like of the risk data, identifying potential transaction risk and unstable factors, and obtaining a second analysis result, wherein the second analysis result comprises specific risk points, risk types, risk degrees, countermeasures and the like. And activating a scheduling mechanism by combining flow analysis and risk analysis results, and determining the priority and execution sequence of the transaction according to the fund flow condition and the risk level. Selecting an optimal scheduling path, rearranging execution paths for transactions, ensuring efficient funds flow, and avoiding nodes or links that may be at risk.
After the scheduling path is determined, control checking is carried out on the transaction execution on the path, so that whether the correctness and the execution condition of the transaction path meet expectations or not is ensured. The checking content may include the execution sequence of the transaction, the state of the transaction, the behavior of the transaction participants, etc., and the checking result is obtained by verifying whether the node works as expected, whether the funds flow meets the requirements, etc., including whether the path is smooth, whether a new risk or abnormal situation occurs, etc. Based on the verification result, a final transaction response result is generated indicating whether the transaction was successful or whether further adjustment is required. The transaction response results are feedback to the ping results, which may be transaction confirmation, transaction rejection, or triggering additional security measures. For example, if everything is normal, the transaction is confirmed to be successful, and if a problem occurs, a corresponding correction or alarm mechanism is triggered. And comprehensively evaluating the second transaction state through flow analysis and risk analysis, and optimizing a transaction execution path by combining a scheduling mechanism to ensure the liquidity and the safety of the transaction.
In summary, the circulation management method for digital currency transaction provided by the application has the following technical effects:
Traversing digital currency to be transacted for transaction identification to obtain a first transaction state, carrying out security encryption on the digital currency to be transacted based on the first transaction state to generate a key pair, wherein the key pair comprises a digital encryption currency information pair and transaction encryption information, constructing a blockchain network, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry to obtain historical currency transaction record data, broadcasting the transaction encryption information to the blockchain network for transaction verification according to the historical currency transaction record data to generate transaction confirmation information, updating the first transaction state based on the transaction confirmation information to obtain a second transaction state, carrying out transaction monitoring on the digital encryption currency information pair according to the second transaction state to generate transaction feedback data, responding to the second transaction state according to the transaction feedback data to generate a transaction response result, executing a transaction management strategy based on the transaction response result, and carrying out intelligent circulation management on the transaction of the digital currency. The method comprises the steps of determining the initial transaction state of the digital currency to be transacted by identifying the state of the digital currency to be transacted, conducting secure encryption on the digital currency, constructing a blockchain, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry, broadcasting encrypted transaction information to the blockchain network for verification, monitoring the state of the transaction in real time and generating feedback data, adjusting management strategies according to the real-time transaction conditions, reducing asset loss, realizing intelligent circulation management of the digital currency transaction, and improving the security of the digital currency circulation management.
In a second embodiment, based on the same inventive concept as the method for managing the circulation of digital money transactions in the foregoing embodiment, the present application further provides a system for managing the circulation of digital money transactions, referring to fig. 2, the system for managing the circulation of digital money transactions includes:
The transaction encryption module 11 is configured to traverse the digital currency to be transacted to perform transaction identification, obtain a first transaction state, perform secure encryption on the digital currency to be transacted based on the first transaction state, and generate a key pair, where the key pair includes a digital encryption currency information pair and transaction encryption information.
The transaction inquiry module 12 is used for constructing a blockchain network, synchronizing the digital currency to be transacted to the blockchain network for transaction inquiry, and obtaining historical currency transaction record data.
And the transaction verification module 13 is used for broadcasting the transaction encryption information to the blockchain network for transaction verification according to the historical currency transaction record data, generating transaction confirmation information, and updating the first transaction state based on the transaction confirmation information to obtain a second transaction state.
The transaction monitoring module 14 is configured to monitor the transaction of the digital cryptocurrency information pair according to the second transaction state, and generate transaction feedback data.
And the response management module 15 is used for responding to the second transaction state according to the transaction feedback data, generating a transaction response result, executing a transaction management strategy based on the transaction response result, and performing intelligent circulation management on the transactions of the digital currency.
Further, the transaction encryption module 11 in the circulation management system of digital money transactions is further configured to:
Extracting to-be-processed transaction data based on a digital currency transaction pool, scanning to determine the to-be-transacted digital currency, traversing the to-be-transacted digital currency to perform data integrity verification to obtain transaction key field information, performing double payment detection according to the transaction key field information, performing state identification according to a detection result to generate the first transaction state, traversing the to-be-transacted digital currency to perform dynamic encryption according to the first transaction state to obtain a digital encryption currency information pair, traversing the to-be-transacted digital currency to perform dynamic encryption according to the transaction key field information to obtain transaction encryption information, associating the digital encryption currency information pair with the transaction encryption information to generate a key pair.
Further, the transaction inquiry module 12 in the currency management system for digital money transactions is further configured to:
Analyzing the transaction key field information based on an application scene, generating a demand analysis result, carrying out fault-tolerant evaluation according to the demand analysis result, generating a fault-tolerant coefficient, integrating according to the fault-tolerant coefficient and the application scene, determining a consensus mechanism, carrying out network initialization based on a network protocol, generating network communication parameters, constructing a network architecture according to the network communication parameters, obtaining a network node list, carrying out node synchronous communication based on the network node list, determining a node structure, carrying out data deployment on the network node list and the consensus mechanism according to the node structure, and constructing the blockchain network.
Further, the transaction verification module 13 in the circulation management system of the digital money transaction is further configured to:
The method comprises the steps of carrying out full-node coverage traversal on transaction encryption information combined with historical currency transaction record data based on the node structure to generate a broadcasting path, broadcasting the transaction encryption information to the blockchain network according to the broadcasting path to generate broadcasting transaction data, extracting a plurality of node hash values by combining the broadcasting transaction data through the consensus mechanism, carrying out multidimensional verification on a plurality of nodes based on the plurality of node hash values to generate a plurality of node verification results, and carrying out node verification according to the plurality of node verification results to obtain the transaction verification information.
Further, the transaction verification module 13 in the circulation management system of the digital money transaction is further configured to:
Judging whether the nodes reach an expected transaction state based on the verification results of the nodes, extracting nodes reaching the expected transaction state, adding the nodes to an effective transaction data set, carrying out transaction confirmation through the effective transaction data set to generate a first queue to be confirmed, extracting nodes not reaching the expected transaction state, adding the nodes to an invalid transaction data set, removing the nodes corresponding to the invalid transaction data set from the first queue to be confirmed to generate a second queue to be confirmed, triggering a state change instruction according to the second queue to be confirmed, updating the first transaction state according to a transaction life cycle through the state change instruction, and determining the second transaction state.
Further, the transaction monitoring module 14 in the currency management system for digital money transactions is also configured to:
The method comprises the steps of carrying out state synchronization on a blockchain network based on the second transaction state to generate block synchronization parameters, tracking the digital encryption currency information pair according to the transaction life cycle to carry out real-time transaction analysis to obtain transaction time sequence information, traversing the digital encryption currency information pair based on the transaction time sequence information to carry out risk monitoring to determine a plurality of transaction risk data, carrying out transaction liquidity analysis on the digital encryption currency information pair according to the transaction risk data, carrying out flow tracking according to an analysis result to construct a flow network diagram, and adding the flow network diagram and the transaction risk data to the transaction feedback data.
Further, the response management module 15 in the flow management system of the digital money transaction is further configured to:
the method comprises the steps of carrying out flow analysis on a second transaction state based on the flow network diagram to generate a first analysis result, carrying out risk analysis on the second transaction state based on the transaction risk data to generate a second analysis result, activating a scheduling mechanism to carry out transaction scheduling according to the first analysis result and the second analysis result to generate a scheduling path, carrying out transaction control checking based on the scheduling path, and responding according to the checking result to generate a transaction response result.
In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the foregoing method and specific example for managing the circulation of digital money transactions in the first embodiment of fig. 1 are equally applicable to the system for managing the circulation of digital money transactions in this embodiment, and by the foregoing detailed description of the method for managing the circulation of digital money transactions, those skilled in the art will be aware of the system for managing the circulation of digital money transactions in this embodiment, so that the description will not be repeated for brevity. For the system disclosed in the embodiment, since the system corresponds to the method disclosed in the embodiment, the description is simpler, and the relevant points refer to the description of the method section.
In a third embodiment, the present application provides a computer-readable storage medium having a computer program stored thereon, the computer program implementing the steps of the method for managing circulation of digital money transactions according to any one of the first embodiment when executed, based on the same inventive concept as the method for managing circulation of digital money transactions according to the first embodiment.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the present application and the equivalent techniques thereof, the present application is also intended to include such modifications and variations.

Claims (9)

1.数字货币交易的流通管理方法,其特征在于,包括:1. A circulation management method for digital currency transactions, characterized by comprising: 遍历待交易数字货币进行交易识别,获得第一交易状态,基于所述第一交易状态对所述待交易数字货币进行安全加密,生成密钥对,所述密钥对包含数字加密货币信息对、交易加密信息;Traversing the digital currency to be traded to perform transaction identification, obtaining a first transaction status, securely encrypting the digital currency to be traded based on the first transaction status, and generating a key pair, wherein the key pair includes a digital cryptocurrency information pair and transaction encryption information; 构建区块链网络,将所述待交易数字货币同步至所述区块链网络进行交易查询,获得历史货币交易记录数据;Constructing a blockchain network, synchronizing the digital currency to be traded to the blockchain network for transaction query, and obtaining historical currency transaction record data; 将所述交易加密信息按照所述历史货币交易记录数据广播至所述区块链网络进行交易验证,生成交易确认信息,基于所述交易确认信息对所述第一交易状态进行更新,获得第二交易状态;Broadcasting the encrypted transaction information to the blockchain network according to the historical currency transaction record data for transaction verification, generating transaction confirmation information, and updating the first transaction status based on the transaction confirmation information to obtain a second transaction status; 按照所述第二交易状态对所述数字加密货币信息对进行交易监控,生成交易反馈数据;Performing transaction monitoring on the digital cryptocurrency information pair according to the second transaction state to generate transaction feedback data; 根据所述交易反馈数据对所述第二交易状态进行响应,生成交易响应结果,基于所述交易响应结果执行交易管理策略,对数字货币的交易进行智能流通管理。Respond to the second transaction status according to the transaction feedback data, generate a transaction response result, execute a transaction management strategy based on the transaction response result, and perform intelligent circulation management on the transaction of digital currency. 2.如权利要求1所述的数字货币交易的流通管理方法,其特征在于,遍历待交易数字货币进行交易识别,获得第一交易状态,基于所述第一交易状态对所述待交易数字货币进行安全加密,生成密钥对,包括:2. The circulation management method for digital currency transactions according to claim 1, characterized in that traversing the digital currency to be traded to perform transaction identification, obtaining a first transaction status, securely encrypting the digital currency to be traded based on the first transaction status, and generating a key pair, comprises: 基于数字货币交易池提取待处理交易数据进行扫描,确定所述待交易数字货币;Extracting the transaction data to be processed based on the digital currency transaction pool and scanning it to determine the digital currency to be traded; 遍历所述待交易数字货币进行数据完整性验证,获得交易关键字段信息;Traversing the digital currency to be traded to perform data integrity verification and obtain transaction key field information; 根据所述交易关键字段信息进行双重支付检测,根据检测结果进行状态标识,生成所述第一交易状态;Perform double payment detection according to the transaction key field information, identify the status according to the detection result, and generate the first transaction status; 遍历所述待交易数字货币按照所述第一交易状态进行动态加密,获得数字加密货币信息对;Traversing the digital currency to be traded and dynamically encrypting it according to the first transaction state to obtain a digital cryptocurrency information pair; 遍历所述待交易数字货币按照所述交易关键字段信息进行动态加密,获得所述交易加密信息;Traversing the digital currency to be traded, dynamically encrypting it according to the key field information of the transaction, and obtaining the encrypted transaction information; 将所述数字加密货币信息对与所述交易加密信息进行关联,生成密钥对。The digital cryptocurrency information pair is associated with the transaction encryption information to generate a key pair. 3.如权利要求2所述的数字货币交易的流通管理方法,其特征在于,所述区块链网络,包括:3. The circulation management method for digital currency transactions according to claim 2, wherein the blockchain network comprises: 基于应用场景对所述交易关键字段信息进行分析,生成需求分析结果,根据所述需求分析结果进行容错评估,生成容错系数;Analyze the key field information of the transaction based on the application scenario to generate a demand analysis result, perform a fault tolerance evaluation based on the demand analysis result, and generate a fault tolerance coefficient; 按照所述容错系数结合所述应用场景进行集成,确定共识机制;Integrate the fault tolerance coefficient and the application scenario to determine the consensus mechanism; 基于网络协议进行网络初始化,生成网络通信参数,根据所述网络通信参数搭建网络架构,获得网络节点列表;Initialize the network based on the network protocol, generate network communication parameters, build a network architecture according to the network communication parameters, and obtain a list of network nodes; 基于所述网络节点列表进行节点同步通信,确定节点结构;Perform node synchronization communication based on the network node list to determine the node structure; 按照所述节点结构,将所述网络节点列表与所述共识机制进行数据部署,构建所述区块链网络。According to the node structure, the network node list and the consensus mechanism are deployed for data deployment to build the blockchain network. 4.如权利要求3所述的数字货币交易的流通管理方法,其特征在于,将所述交易加密信息按照所述历史货币交易记录数据广播至所述区块链网络进行交易验证,生成交易确认信息,包括:4. The circulation management method for digital currency transactions according to claim 3 is characterized in that the encrypted transaction information is broadcast to the blockchain network according to the historical currency transaction record data for transaction verification, and transaction confirmation information is generated, including: 基于所述节点结构对所述交易加密信息结合所述历史货币交易记录数据进行全节点覆盖遍历,生成广播路径;Based on the node structure, the encrypted transaction information is combined with the historical currency transaction record data to perform a full node coverage traversal to generate a broadcast path; 按照所述广播路径将所述交易加密信息广播至所述区块链网络,生成广播交易数据;Broadcasting the encrypted transaction information to the blockchain network according to the broadcast path to generate broadcast transaction data; 通过所述共识机制结合所述广播交易数据提取多个节点哈希值,基于所述多个节点哈希值对多个节点进行多维验证,生成多个节点验证结果;Extracting multiple node hash values by combining the consensus mechanism with the broadcast transaction data, performing multi-dimensional verification on multiple nodes based on the multiple node hash values, and generating multiple node verification results; 根据所述多个节点验证结果进行节点确认,获得所述交易确认信息。Node confirmation is performed according to the multiple node verification results to obtain the transaction confirmation information. 5.如权利要求4所述的数字货币交易的流通管理方法,其特征在于,基于所述交易确认信息对所述第一交易状态进行更新,获得第二交易状态,包括:5. The circulation management method for digital currency transactions according to claim 4, characterized in that the first transaction status is updated based on the transaction confirmation information to obtain the second transaction status, comprising: 基于所述多个节点验证结果判断所述多个节点是否达到期望交易状态;Determining whether the multiple nodes have reached the expected transaction state based on the multiple node verification results; 提取达到所述期望交易状态的节点,添加至有效交易数据组,通过所述有效交易数据组进行交易确认,生成第一待确认队列;Extracting nodes that have reached the expected transaction state, adding them to a valid transaction data group, performing transaction confirmation through the valid transaction data group, and generating a first queue to be confirmed; 提取未达到所述期望交易状态的节点,添加至无效交易数据组,将所述无效交易数据组对应的节点移出所述第一待确认队列,生成第二待确认队列;Extracting nodes that have not reached the expected transaction status, adding them to the invalid transaction data group, removing the nodes corresponding to the invalid transaction data group from the first queue to be confirmed, and generating a second queue to be confirmed; 按照所述第二待确认队列触发状态变更指令,通过所述状态变更指令对所述第一交易状态按照交易生命周期进行更新,确定所述第二交易状态。A state change instruction is triggered according to the second to-be-confirmed queue, and the first transaction state is updated according to the transaction life cycle through the state change instruction to determine the second transaction state. 6.如权利要求5所述的数字货币交易的流通管理方法,其特征在于,按照所述第二交易状态对所述数字加密货币信息对进行交易监控,生成交易反馈数据,包括:6. The circulation management method for digital currency transactions according to claim 5, characterized in that the digital cryptocurrency information pair is monitored for transactions according to the second transaction state to generate transaction feedback data, including: 基于所述第二交易状态对所述区块链网络进行状态同步,生成区块同步参数;Synchronize the state of the blockchain network based on the second transaction state and generate block synchronization parameters; 按照所述交易生命周期,跟踪所述数字加密货币信息对进行实时交易分析,获得交易时序信息;According to the transaction life cycle, the digital cryptocurrency information is tracked to perform real-time transaction analysis to obtain transaction timing information; 基于所述交易时序信息遍历所述数字加密货币信息对进行风险监控,确定多个交易风险数据;Based on the transaction timing information, the digital cryptocurrency information is traversed to perform risk monitoring to determine a plurality of transaction risk data; 根据所述多个交易风险数据进行所述数字加密货币信息对的交易流动性分析,根据分析结果进行流向追踪,构建流动网络图;Performing a transaction liquidity analysis of the digital cryptocurrency information pair according to the plurality of transaction risk data, tracking the flow direction according to the analysis results, and constructing a flow network diagram; 将所述流动网络图与所述多个交易风险数据添加至所述交易反馈数据。The flow network diagram and the plurality of transaction risk data are added to the transaction feedback data. 7.如权利要求6所述的数字货币交易的流通管理方法,其特征在于,根据所述交易反馈数据对所述第二交易状态进行响应,生成交易响应结果,包括:7. The circulation management method for digital currency transactions according to claim 6, characterized in that responding to the second transaction state according to the transaction feedback data to generate a transaction response result comprises: 基于所述流动网络图对所述第二交易状态进行流动解析,生成第一解析结果;Performing flow analysis on the second transaction state based on the flow network diagram to generate a first analysis result; 基于所述多个交易风险数据对所述第二交易状态进行风险解析,生成第二解析结果;Performing risk analysis on the second transaction status based on the plurality of transaction risk data to generate a second analysis result; 根据所述第一解析结果、所述第二解析结果激活调度机制进行交易调度,生成调度路径;activating a scheduling mechanism to perform transaction scheduling according to the first analysis result and the second analysis result, and generating a scheduling path; 基于所述调度路径进行交易控制查验,根据查验结果进行响应,生成所述交易响应结果。A transaction control check is performed based on the scheduling path, and a response is made according to the check result to generate the transaction response result. 8.数字货币交易的流通管理系统,其特征在于,用于实施权利要求1至7中任意一项所述数字货币交易的流通管理方法的步骤,所述数字货币交易的流通管理系统包括:8. A circulation management system for digital currency transactions, characterized in that the steps for implementing the circulation management method for digital currency transactions according to any one of claims 1 to 7, the circulation management system for digital currency transactions comprises: 交易加密模块,所述交易加密模块用于遍历待交易数字货币进行交易识别,获得第一交易状态,基于所述第一交易状态对所述待交易数字货币进行安全加密,生成密钥对,所述密钥对包含数字加密货币信息对、交易加密信息;A transaction encryption module, the transaction encryption module is used to traverse the digital currency to be traded to perform transaction identification, obtain a first transaction status, securely encrypt the digital currency to be traded based on the first transaction status, and generate a key pair, the key pair including a digital cryptocurrency information pair and transaction encryption information; 交易查询模块,所述交易查询模块用于构建区块链网络,将所述待交易数字货币同步至所述区块链网络进行交易查询,获得历史货币交易记录数据;A transaction query module, which is used to build a blockchain network, synchronize the digital currency to be traded to the blockchain network for transaction query, and obtain historical currency transaction record data; 交易验证模块,所述交易验证模块用于将所述交易加密信息按照所述历史货币交易记录数据广播至所述区块链网络进行交易验证,生成交易确认信息,基于所述交易确认信息对所述第一交易状态进行更新,获得第二交易状态;A transaction verification module, the transaction verification module is used to broadcast the encrypted transaction information to the blockchain network according to the historical currency transaction record data for transaction verification, generate transaction confirmation information, and update the first transaction state based on the transaction confirmation information to obtain a second transaction state; 交易监控模块,所述交易监控模块用于按照所述第二交易状态对所述数字加密货币信息对进行交易监控,生成交易反馈数据;A transaction monitoring module, the transaction monitoring module is used to monitor the transaction of the digital cryptocurrency information pair according to the second transaction state and generate transaction feedback data; 响应管理模块,所述响应管理模块用于根据所述交易反馈数据对所述第二交易状态进行响应,生成交易响应结果,基于所述交易响应结果执行交易管理策略,对数字货币的交易进行智能流通管理。A response management module, wherein the response management module is used to respond to the second transaction status according to the transaction feedback data, generate a transaction response result, execute a transaction management strategy based on the transaction response result, and perform intelligent circulation management on the transaction of digital currency. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在执行时实现权利要求1至7中任意一项所述数字货币交易的流通管理方法的步骤。9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed, the steps of the circulation management method for digital currency transactions described in any one of claims 1 to 7 are implemented.
CN202411796529.9A 2024-12-09 Digital currency transaction circulation management method, system and storage medium Active CN119273354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411796529.9A CN119273354B (en) 2024-12-09 Digital currency transaction circulation management method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411796529.9A CN119273354B (en) 2024-12-09 Digital currency transaction circulation management method, system and storage medium

Publications (2)

Publication Number Publication Date
CN119273354A true CN119273354A (en) 2025-01-07
CN119273354B CN119273354B (en) 2025-02-21

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106548330A (en) * 2016-10-27 2017-03-29 上海亿账通区块链科技有限公司 Transaction verification method and system based on block chain
CN109491968A (en) * 2018-11-13 2019-03-19 浙江鲸腾网络科技有限公司 A kind of document handling method, device, equipment and computer readable storage medium
CN109544160A (en) * 2018-11-20 2019-03-29 杭州呯嘭智能技术有限公司 A kind of transaction authenticity verification methods and system based on block chain and intelligent contract
CN110399424A (en) * 2018-04-23 2019-11-01 百度在线网络技术(北京)有限公司 Block generation method, device, block chain node and storage medium
CN115131018A (en) * 2022-04-28 2022-09-30 河北雄安火树科技有限公司 Block chain based private transaction method and related product
US20230298008A1 (en) * 2022-03-17 2023-09-21 Paypal, Inc. Omniverse platform for predictive digital asset identification and recommendation in different metaverses

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106548330A (en) * 2016-10-27 2017-03-29 上海亿账通区块链科技有限公司 Transaction verification method and system based on block chain
CN110399424A (en) * 2018-04-23 2019-11-01 百度在线网络技术(北京)有限公司 Block generation method, device, block chain node and storage medium
CN109491968A (en) * 2018-11-13 2019-03-19 浙江鲸腾网络科技有限公司 A kind of document handling method, device, equipment and computer readable storage medium
CN109544160A (en) * 2018-11-20 2019-03-29 杭州呯嘭智能技术有限公司 A kind of transaction authenticity verification methods and system based on block chain and intelligent contract
US20230298008A1 (en) * 2022-03-17 2023-09-21 Paypal, Inc. Omniverse platform for predictive digital asset identification and recommendation in different metaverses
CN115131018A (en) * 2022-04-28 2022-09-30 河北雄安火树科技有限公司 Block chain based private transaction method and related product

Similar Documents

Publication Publication Date Title
US11283634B2 (en) System and method for detecting replay attack
EP3545665B1 (en) System and method for detecting replay attack
JP7121047B2 (en) Secure off-chain blockchain transactions
US20200128043A1 (en) System and method for detecting replay attack
US10735464B2 (en) System and method for detecting replay attack
CN111444273B (en) Data authorization method and device based on block chain
KR102019211B1 (en) Method for generating block chain capable of overcoming byzantine fault
US11356258B2 (en) Methods and systems for distributed cryptographically secured data validation
US10951417B2 (en) Blockchain-based transaction verification
CN112801778B (en) Alliance type bad asset block chain system
CN113254526B (en) Block chain consensus method, device and system
CN111984725B (en) Verification of measurement data sets in a distributed database
EP3659060B1 (en) Consensus protocol for permissioned ledgers
WO2019170814A1 (en) Data transaction system and method
Kairaldeen et al. Data integrity time optimization of a blockchain IoT smart home network using different consensus and hash algorithms
CN113950679A (en) Validating a measurement dataset using speaker consensus
CN115668856A (en) Licensing events in a decentralized database
Wang et al. Detect triangle attack on blockchain by trace analysis
CN119273354B (en) Digital currency transaction circulation management method, system and storage medium
CN111159286B (en) Method and apparatus for generating multi-layer block chain structure
CN117560137A (en) A block chain service device, block chain service system and communication method
CN119273354A (en) Circulation management method, system and storage medium for digital currency transaction
US20230112296A1 (en) Universal payment channels
CN110852887A (en) Method and device for acquiring transaction processing state in decentralized application cluster
CN111598389A (en) A blockchain-based transaction system for preventing bill market risks

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