Address tracing method, device and equipment
By disconnecting the transaction client from the onion routing and blockchain network and tracing the source based on plaintext IP address, the problem of identifying illegal transactions in anonymous network is solved, and the identity identification and network security of the transaction party are realized.
Patent Information
- Application Number
- CN202111266651.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-10-28
AI Technical Summary
How to effectively trace the real IP address in anonymous networks to identify and prevent illegal transactions, especially in onion routing and blockchain networks, given the difficulty in accurately identifying the identity of the transaction party.
By determining the onion routing node, the attack process is performed to disconnect the transaction client, and initiate transactions in the resource trading network or blockchain network based on the plain text IP address, and trace the originating client of the target transaction using a preset traceability method. The plain text IP address of the end is automatically executed in combination with smart contracts to ensure the accuracy and effectiveness of traceability.
It realizes plain-text IP traceability in anonymous network, identifies the identity of the transaction party, maintains the continuous and effective development of online transactions, and promotes economic and social stability.
Smart Images

Figure CN113888170B_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of data processing technology, and in particular to an address tracing method, device and equipment. Background Art
[0002] With the continuous development and popularization of Internet technology, online transactions are becoming more and more widely used in people's lives. As online transactions continue, the user's IP address is exposed to more and more transaction participants. In response to this situation, more and more users have begun to use anonymous networks such as The Onion Router (Tor) to conduct online transactions, thereby hiding the real IP address and achieving the purpose of hiding the identity. However, some lawless elements have conducted illegal transactions as a result, seriously disrupting the economic order and social stability. Therefore, how to effectively trace the real IP address and identify the identity of the transaction party is a technical problem that needs to be solved urgently. Summary of the invention
[0003] One or more embodiments of the present specification provide an address tracing method. The method includes determining an onion routing node connected to a resource trading network. Attack processing is performed on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the resource trading network based on the plaintext IP address of the transaction client. According to a preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced.
[0004] One or more embodiments of the present specification provide an address tracing method. The method includes determining an onion routing node connected to a blockchain network. Performing an attack on the onion routing node so that a blockchain client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client. Based on a first smart contract deployed in the blockchain network, tracing the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network.
[0005] One or more embodiments of the present specification provide an address tracing device. The device includes a determination module that determines an onion routing node connected to a resource trading network. The device also includes an attack module that performs an attack on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node and initiates a transaction in the resource trading network based on the plaintext IP address of the transaction client. The device also includes a tracing module that traces the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network according to a preset tracing method.
[0006] One or more embodiments of this specification provide an address tracing device. The device includes a determination module that determines an onion routing node connected to a blockchain network. The device also includes an attack module that performs an attack on the onion routing node so that a blockchain client connected to the onion routing node disconnects from the onion routing node and initiates a transaction in the blockchain network based on the plaintext IP address of the blockchain client. The device also includes a tracing module that traces the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network based on a first smart contract deployed in the blockchain network.
[0007] One or more embodiments of the present specification provide an address tracing device. The device includes a processor. The device also includes a memory arranged to store computer executable instructions. When the computer executable instructions are executed, the processor determines an onion routing node connected to a resource trading network. The onion routing node is attacked so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the resource trading network based on the plaintext IP address of the transaction client. According to a preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced.
[0008] One or more embodiments of the present specification provide an address tracing device. The device includes a processor. The device also includes a memory arranged to store computer executable instructions. When the computer executable instructions are executed, the processor determines an onion routing node connected to a blockchain network. The onion routing node is attacked so that a blockchain client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client. Based on a first smart contract deployed in the blockchain network, the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network is traced.
[0009] One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer executable instructions. When the computer executable instructions are executed by a processor, an onion routing node connected to a resource trading network is determined. The onion routing node is attacked so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the resource trading network based on the plaintext IP address of the transaction client. According to a preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced.
[0010] One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer executable instructions. When the computer executable instructions are executed by a processor, an onion routing node connected to a blockchain network is determined. The onion routing node is attacked so that a blockchain client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client. Based on a first smart contract deployed in the blockchain network, the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network is traced. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0012] Figure 1 A first flow chart of an address tracing method provided for one or more embodiments of this specification;
[0013] Figure 2 A second flow chart of an address tracing method provided for one or more embodiments of this specification;
[0014] Figure 3 A third flow chart of an address tracing method provided in one or more embodiments of this specification;
[0015] Figure 4 A fourth flow chart of an address tracing method provided in one or more embodiments of this specification;
[0016] Figure 5 A fifth flow chart of an address tracing method provided for one or more embodiments of this specification;
[0017] Figure 6 A sixth flow chart of an address tracing method provided for one or more embodiments of this specification;
[0018] Figure 7 A seventh flow chart of an address tracing method provided for one or more embodiments of this specification;
[0019] Figure 8 An eighth flow chart of an address tracing method provided for one or more embodiments of this specification;
[0020] Fig. 9 A schematic diagram of the first module composition of an address tracing device provided in one or more embodiments of this specification;
[0021] Fig.10 A schematic diagram of a second module composition of an address tracing device provided in one or more embodiments of this specification;
[0022] Fig.11 A schematic diagram of the structure of an address tracing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0024] Figure 1 A flowchart of an address tracing method provided in one or more embodiments of this specification, Figure 1 The method can be performed by an address tracing device, which can be set in a terminal device or a server. The terminal device can be a mobile phone, a tablet computer, a desktop computer, a portable notebook, etc. The server can be an independent server or a server cluster composed of multiple servers. Figure 1 As shown, the method may include the following steps:
[0025] Step S102, determining an onion routing node that accesses the resource trading network;
[0026] The resource trading network is a peer-to-peer, decentralized trading network. The resource trading network can be a trading network for any resource, such as virtual resources (e.g., electronic or digital resources that can be used for trading, such as points, etc.), physical resources (e.g., funds, etc.), physical resources (e.g., bandwidth, etc.), etc.
[0027] Tor is an implementation of the onion routing protocol. Users can communicate anonymously on the Internet through Tor. Specifically, when using Tor, users usually use three Tor relay nodes as communication agents to form a transmission chain; use public key encryption to negotiate session keys with the three relay nodes on the transmission chain in turn. During the communication process, the sender first encrypts the data in three layers and transmits it to the target end in turn through the three selected relay nodes. When the encrypted data reaches a relay node, the relay node performs a layer of decryption using the negotiated key, obtains the IP address of the next relay node, and continues to transmit. During the entire transmission process, each relay node can only obtain the IP address of the node adjacent to it, but cannot obtain the IP addresses of the sender and the target at the same time, thereby achieving anonymous data transmission. Among them, the last relay node in the transmission chain can also be called an exit node. For the target end, the data comes from this exit node. When the target end transmits data to the sender, for the sender, the data also comes from the exit node. For resource transactions based on onion routing, the user's transaction client (i.e., the sending end) broadcasts transaction data to the resource transaction network (i.e., the target end) through the exit node. The corresponding exit node of the transmission chain is the onion routing node that accesses the resource transaction network in step S102.
[0028] Step S104, attack processing is performed on the onion routing node to cause the transaction client connected to the onion routing node to disconnect from the onion routing node, and initiate a transaction in the resource transaction network based on the plaintext IP address of the transaction client;
[0029] When the transaction client disconnects from the onion routing node, in order to ensure the timely and effective transaction, the transaction client will initiate a transaction in the resource transaction network based on its own plaintext IP address. At this time, the plaintext IP address of the transaction client can be traced, so that the identity of the transaction client can be identified based on the IP address, and whether the corresponding transaction has specified risks can be detected, thereby avoiding illegal transactions.
[0030] Step S106, according to the preset tracing method, trace the plain text IP address corresponding to the originating transaction client of the target transaction in the resource trading network.
[0031] Among them, the target transaction is the first transaction initiated in the resource trading network based on a plaintext IP address.
[0032] In one or more embodiments of this specification, after determining the onion routing node connected to the resource trading network, the onion routing node is attacked so that the transaction client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the resource trading network based on the plaintext IP address of the transaction client; according to the preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced. Thus, by attacking the determined onion routing node so that the corresponding transaction client initiates a transaction in the digital trading network through its own plaintext IP address, the plaintext IP address corresponding to the originating transaction client of the target transaction can be traced. The plaintext IP tracing of the anonymous network is realized, and then the identity identification of the transaction parties is realized; it is not only conducive to maintaining the sustainable and effective development of online transactions, but also has a positive role in ensuring economic and social stability.
[0033] Considering that in the resource trading network, the access information of each access node is transparent. Based on this, in one or more embodiments of this specification, the onion routing node is determined based on the access information. Specifically, Figure 2 As shown, step S102 may include the following steps S102-2 to S102-6:
[0034] Step S102-2, obtaining access information of each access node currently accessing the resource trading network at a preset time interval;
[0035] Optionally, the address tracing device accesses the resource trading network, and obtains the access information of each access node currently accessing the resource trading network at a preset time interval. Alternatively, the address tracing device is not connected to the resource trading network, and sends a request for obtaining access information to a designated access node accessing the resource trading network at a preset time interval, and receives the access information sent by the designated access node. Among them, the preset time interval can be set as needed in actual applications, for example, 10 minutes. Since the resource trading network is a P2P (peer-to-peer) network, each access node currently accessing the resource trading network includes a transaction client and / or an onion routing node that initiates a transaction based on a plaintext IP address. The access information may include information such as the access address and the area where the access node is located.
[0036] Step S102-4, determining whether there is target access information that meets the preset rules in the access information;
[0037] Specifically, an access address is obtained from each access information, and it is determined whether the obtained access address meets the preset rules; if so, it is determined that there is target access information, and the access information where the access address that meets the preset rules is located is determined as the target access information. The preset rules may include meeting the preset format, containing preset characters, etc.
[0038] Step S102-6: If yes, the access node corresponding to the target access information is determined as an onion routing node.
[0039] Since the access information of each access node is transparent in the resource trading network, and the access information usually includes the access address, by obtaining the access information of each access node, the onion routing node can be accurately determined based on the access information.
[0040] Considering that in a resource trading network, when a trading client receives a message with an incorrect format, the node that sent the message with the incorrect format will be punished, and when the penalty score exceeds a preset score, the IP address of the sending node will be prohibited from connecting to the resource trading network within a preset period of time (e.g., 24 hours). Based on this, in one or more embodiments of this specification, an attack is performed on a certain onion routing node, so that the trading client connected to the onion routing node punishes the onion routing node until the connection with the onion routing node is disconnected. Specifically, Figure 3 As shown, step S104 may include the following steps S104-2 and S104-4:
[0041] Step S104-2, establishing a connection with the corresponding onion routing node according to the access address in the target access information;
[0042] Step S104-4, sending a preset attack message to the onion routing node through the established connection, so that the onion routing node sends the attack message to the corresponding transaction client, so that the transaction client punishes the onion routing based on the attack message, and disconnects from the onion routing node when it is determined that the preset disconnection condition is met.
[0043] Since in onion routing, the sender sends data to the target through the exit node, and the target also sends data to the sender through the exit node. The determined onion routing node is the exit node corresponding to the corresponding transaction client. Therefore, the address tracing device establishes a connection with the onion routing node and sends a preset attack message to the onion routing node through the established connection. When the onion routing node receives the attack message, it sends the attack message to the corresponding transaction client; when the transaction client receives the attack message sent by the onion routing node, it determines that it is an error message, then punishes the onion routing node, and disconnects the connection with the onion routing node when it determines that the preset disconnection condition is met (for example, the penalty score reaches the preset score, etc.). It should be pointed out that the address tracing device can send a preset byte amount of attack message to the determined onion routing node at one time, so that when the transaction client receives the preset byte amount of attack message, it will punish and determine that the preset disconnection condition is met, and disconnect the connection with the onion routing node. The address tracing device can also continuously send multiple attack messages to the onion routing node. Correspondingly, the client punishes the onion routing node when receiving each attack message, and disconnects from the onion routing node when it is determined that the preset disconnection condition is met. The specific method of sending the attack message can be set according to the actual application needs.
[0044] Therefore, by sending attack messages to the onion routing node, the corresponding transaction client can be disconnected from the onion routing node, and a transaction can be initiated in the resource trading network through the plaintext IP address of the transaction client; thus, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network can be traced to the greatest extent possible to the plaintext IP address of the transaction client that previously initiated the transaction based on onion routing. Specifically, Figure 4 As shown, step S106 may include the following steps S106-2 to S106-6:
[0045] Step S106-2, obtaining transaction data broadcasted by each access node of the access resource transaction network;
[0046] Step S106-4, if it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the acquired transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined;
[0047] Since transaction data may be forwarded multiple times in the resource transaction network, in order to determine the originating node of the transaction data, the transaction data obtained for the first time is cached, and each time the transaction data broadcasted to the resource transaction network is obtained, the obtained transaction data is matched with the cached transaction data. If the match fails, it is determined that the obtained transaction data is obtained for the first time, the broadcast node of the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is obtained from the obtained transaction data. If the match is successful, it is determined that the obtained transaction data is not obtained for the first time, that is, the transaction data is forwarded transaction data.
[0048] Further, in order to ensure the accuracy of the originating node, in one or more embodiments of the present specification, determining the access node broadcasting the transaction data as the originating node of the transaction data in step S106-4 may include:
[0049] According to a preset evaluation method, each access node of the access resource trading network is evaluated and processed to obtain a candidate node for originating transaction data; determine whether the candidate node is the same node as the access node that broadcasts the transaction data; if so, determine the node that broadcasts the transaction data as the originating node; if not, determine the candidate node as the originating node. In one embodiment, a maximum likelihood probability evaluation method can be used to evaluate each access node of the access resource trading network. It should be pointed out that the evaluation method is not specifically limited in this specification, and it can be set as needed in actual applications.
[0050] Step S106-6, if it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information library, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0051] Specifically, determine whether the target address complies with the preset rules. If not, determine whether the target address information is included in the designated information library. If the target address information is not included, determine the transaction corresponding to the transaction data as the target transaction, determine the corresponding originating node as the originating transaction client of the target transaction, and determine the target address information as the plaintext IP address of the originating transaction client. If the target address information is included, determine that the plaintext IP address of the transaction client corresponding to the transaction data has been traced. Among them, the designated information library may include the association relationship between the plaintext IP address information of multiple transaction clients and the account information.
[0052] Further, such as Figure 5 As shown, the method may further include the following steps S106-8 and S106-10:
[0053] Step S106-8, if it is determined that the target address information meets the preset rules, it is determined that the originating node is a new onion routing node newly connected to the resource trading network;
[0054] Since there is often a certain time difference between attack processing and obtaining transaction data, and a new onion routing node may be connected to the resource transaction network during this time difference, that is, when it is determined that the target address information meets the preset rules, it is determined that the corresponding originating node is a new onion routing node that has newly connected to the resource transaction network.
[0055] Step S106-10, attack the new onion routing node to disconnect the transaction client connected to the new onion routing node from the new onion routing node, and initiate a transaction in the resource transaction network based on the plaintext IP address of the transaction client, and return to step S106-2.
[0056] Optionally, after a new onion routing node is determined, the new onion routing node is attacked; or, when a preset time interval is reached, the new onion routing node and each determined onion routing node are attacked. The process of attacking a new onion routing node is the same as the aforementioned process of attacking an onion routing node, and the aforementioned related description can be referred to, and the repeated parts will not be repeated here.
[0057] Furthermore, in order to provide data basis for matching when tracing the source of the plain text IP address later. Figure 6 As shown, in one or more embodiments of this specification, after step S106, the following step S108 may also be included:
[0058] Step S108, determining the account information of the originating transaction client, associating the account information with the plain text IP address corresponding to the originating transaction client and saving them in a designated information database.
[0059] Specifically, the account information of the originating transaction client is obtained from the transaction data, and the account information is associated with the plaintext IP address corresponding to the originating transaction client and saved in the designated information library. Among them, the account information represents the identity of the transaction party corresponding to the transaction client. Therefore, after tracing the plaintext IP address, the plaintext IP address is associated with the account information and saved, which is equivalent to identifying the identity of the transaction party corresponding to the plaintext IP address.
[0060] Considering that the originating client corresponding to the transaction data may be the transaction client that previously initiated the transaction through the onion routing node, in order to avoid illegal transactions, such as Figure 7 As shown, in one or more embodiments of this specification, the following step S110 may be further included after step S106:
[0061] Step S110: Perform risk detection on the target transaction according to a preset risk detection method.
[0062] In one embodiment, the transaction data of the target transaction is input into a preset risk detection model, so as to perform risk detection processing on the target transaction through the risk detection model to obtain risk detection result information. It should be pointed out that the specific form of the risk detection method is not specifically limited in this specification and can be set according to needs in actual applications.
[0063] Furthermore, when the risk detection result information indicates that the target transaction has a specified risk, it may also include: performing risk warning processing to cause the relevant nodes to stop the transaction processing of the target transaction.
[0064] In one or more embodiments of this specification, after determining the onion routing node connected to the resource trading network, the onion routing node is attacked so that the transaction client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the resource trading network based on the plaintext IP address of the transaction client; according to the preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced. Thus, by attacking the determined onion routing node so that the corresponding transaction client initiates a transaction in the digital trading network through its own plaintext IP address, the plaintext IP address corresponding to the originating transaction client of the target transaction can be traced. The plaintext IP tracing of the anonymous network is realized, and then the identity identification of the transaction parties is realized; it is not only conducive to maintaining the sustainable and effective development of online transactions, but also has a positive role in ensuring economic and social stability.
[0065] Corresponding to the address tracing method described above, based on the same technical concept, one or more embodiments of this specification also provide another address tracing method. Figure 8 A flowchart of another address tracing method provided in one or more embodiments of this specification, Figure 8 The method in can be executed by the blockchain system; Figure 8 As shown, the method comprises the following steps:
[0066] Step S202, determining an onion routing node connected to the blockchain network;
[0067] Among them, the process of a blockchain client initiating a transaction in a blockchain network through an onion routing node is the same as the process of the aforementioned transaction client initiating a transaction in a resource trading network through an onion routing node. Please refer to the aforementioned relevant description, and the repetitions will not be repeated here.
[0068] Step S204, attacking the onion routing node so that the blockchain client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client;
[0069] The implementation process of this step is the same as the implementation process of the aforementioned step S104, and reference may be made to the aforementioned related descriptions, and the repeated parts will not be repeated here.
[0070] Step S206, based on the first smart contract deployed in the blockchain network, trace the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network.
[0071] Specifically, if the transaction data broadcasted by the access node connected to the blockchain network is obtained, the first smart contract deployed in the blockchain network is called. If it is determined based on the first smart contract and the cached historical transaction data that the acquired transaction data is acquired for the first time, the acquired transaction data is cached, and the access node that broadcasts the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; if it is determined that the target address information does not comply with the preset rules and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0072] Furthermore, in order to provide data basis for subsequent IP tracing, step S206 may further include:
[0073] The account information of the originating blockchain client is determined, and the determined account information is associated with the plaintext IP address corresponding to the originating blockchain client and saved in a designated storage location. The designated storage location may be in the blockchain or in a designated information library.
[0074] Considering that the originating blockchain client corresponding to the transaction data may be a blockchain client that previously initiated a transaction through an onion routing node, in order to avoid illegal transactions, step S206 may further include:
[0075] The second smart contract deployed in the blockchain network is called, and risk detection and processing is performed on the target transaction based on the second smart contract.
[0076] Furthermore, in order to facilitate the traceability of risk detection processing, the method may also include: generating risk detection record information based on the risk detection results obtained by the risk detection processing, and saving the risk detection record information in the blockchain.
[0077] In one or more embodiments of this specification, after determining the onion routing node connected to the blockchain network, the onion routing node is attacked so that the blockchain client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client; based on the first smart contract deployed in the blockchain network, the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network is traced. Thus, by attacking the determined onion routing node, the corresponding blockchain client initiates a transaction in the blockchain network through its own plaintext IP address, so that the plaintext IP address corresponding to the originating blockchain client of the target transaction can be traced. The plaintext IP traceability of the anonymous network is realized, and then the identity identification of the transaction party is realized; it is not only conducive to maintaining the sustainable and effective development of blockchain transactions, but also has a positive role in ensuring economic and social stability. In addition, the traceability of the IP address based on the smart contract can ensure the validity of the traced plaintext IP address based on the characteristics of automatic execution of the smart contract and the inability of human participation.
[0078] Corresponding to the above Figures 1 to 7 The address tracing method described is based on the same technical concept, and one or more embodiments of this specification also provide an address tracing device. Fig. 9 A schematic diagram of the module composition of an address tracing device provided in one or more embodiments of this specification, such as Fig. 9 As shown, the device comprises:
[0079] Determining module 301, determining an onion routing node connected to a resource trading network;
[0080] The attack module 302 performs an attack process on the onion routing node to cause a transaction client connected to the onion routing node to disconnect from the onion routing node, and initiates a transaction in the resource transaction network based on the plaintext IP address of the transaction client;
[0081] The tracing module 303 traces the plain text IP address corresponding to the originating transaction client of the target transaction in the resource transaction network according to a preset tracing method.
[0082] Optionally, the determining module 301 obtains access information of each access node currently accessing the resource trading network at a preset time interval; and
[0083] Determining whether there is target access information that meets a preset rule in the access information;
[0084] If so, the access node corresponding to the target access information is determined as an onion routing node.
[0085] Optionally, the attack module 302 establishes a connection with the corresponding onion routing node according to the access address in the target access information; and
[0086] A preset attack message is sent to the onion routing node through the established connection, so that the onion routing node sends the attack message to the corresponding transaction client, so that the transaction client punishes the onion routing based on the attack message, and disconnects from the onion routing node when it is determined that the preset disconnection condition is met.
[0087] Optionally, the tracing module 303 obtains transaction data broadcasted by each access node connected to the resource transaction network; and
[0088] If it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined;
[0089] If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0090] Optionally, the device further comprises: a storage module;
[0091] The storage module determines the account information of the originating transaction client; and
[0092] The account information is associated with the plain text IP address corresponding to the originating transaction client and saved in a designated information database.
[0093] Optionally, the device further comprises: a risk detection module;
[0094] The risk detection module performs risk detection processing on the target transaction according to a preset risk detection method.
[0095] The address tracing device provided in one or more embodiments of this specification determines the onion routing node connected to the resource trading network, and then attacks the onion routing node to cause the transaction client connected to the onion routing node to disconnect from the onion routing node, and initiates a transaction in the resource trading network based on the plaintext IP address of the transaction client; according to the preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced. Thus, by attacking the determined onion routing node, so that the corresponding transaction client initiates the transaction in the digital trading network through its own plaintext IP address, the plaintext IP address corresponding to the originating transaction client of the target transaction can be traced. The plaintext IP tracing of the anonymous network is realized, and then the identity identification of the transaction parties is realized; it is not only conducive to maintaining the continuous and effective development of online transactions, but also has a positive role in ensuring economic and social stability.
[0096] It should be noted that the embodiments of the address tracing device in this specification and the embodiments of the address tracing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding address tracing method mentioned above, and the repeated parts will not be repeated.
[0097] Furthermore, corresponding to the above Figure 8 The address tracing method described is based on the same technical concept, and one or more embodiments of this specification also provide another address tracing device. Fig.10 A schematic diagram of the module composition of another address tracing device provided in one or more embodiments of this specification, such as Fig.10 As shown, the device comprises:
[0098] Determining module 401, determining an onion routing node connected to the blockchain network;
[0099] An attack module 402 performs an attack process on the onion routing node to cause a blockchain client connected to the onion routing node to disconnect from the onion routing node, and initiate a transaction in the blockchain network based on the plaintext IP address of the blockchain client;
[0100] The tracing module 403 traces the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network based on the first smart contract deployed in the blockchain network.
[0101] Optionally, the tracing module 403, if the transaction data broadcasted by the access node accessing the blockchain network is obtained, calls the first smart contract deployed in the blockchain network, and if it is determined based on the first smart contract and the cached historical transaction data that the acquired transaction data is acquired for the first time, caches the transaction data, determines the access node broadcasting the transaction data as the originating node of the transaction data, and determines the target address information of the originating node; and,
[0102] If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0103] Optionally, the device further comprises: a risk detection module;
[0104] The risk detection module calls a second smart contract deployed in the blockchain network, and performs risk detection processing on the target transaction based on the second smart contract.
[0105] The address tracing device provided in one or more embodiments of this specification, after determining the onion routing node connected to the blockchain network, attacks the onion routing node so that the blockchain client connected to the onion routing node disconnects from the onion routing node, and initiates a transaction in the blockchain network based on the plaintext IP address of the blockchain client; based on the first smart contract deployed in the blockchain network, traces the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network. Thus, by attacking the determined onion routing node so that the corresponding blockchain client initiates a transaction in the blockchain network through its own plaintext IP address, the plaintext IP address corresponding to the originating blockchain client of the target transaction can be traced. The plaintext IP traceability of the anonymous network is realized, and then the identity identification of the transaction party is realized; it is not only conducive to maintaining the sustainable and effective development of blockchain transactions, but also has a positive role in ensuring economic and social stability. In addition, the traceability of the IP address based on the smart contract can ensure the validity of the traced plaintext IP address based on the characteristics of automatic execution of the smart contract and the inability of human participation.
[0106] It should be noted that the embodiments of the address tracing device in this specification and the embodiments of the address tracing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding address tracing method mentioned above, and the repeated parts will not be repeated.
[0107] Furthermore, corresponding to the address tracing method described above, based on the same technical concept, one or more embodiments of this specification further provide an address tracing device, which is used to execute the address tracing method described above. Fig.11 A schematic diagram of the structure of an address tracing device provided for one or more embodiments of this specification.
[0108] like Fig.11 As shown, the address tracing device may have relatively large differences due to different configurations or performances, and may include one or more processors 501 and memory 502, and the memory 502 may store one or more storage applications or data. Among them, the memory 502 can be short-term storage or persistent storage. The application stored in the memory 502 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the address tracing device. Furthermore, the processor 501 can be configured to communicate with the memory 502 and execute a series of computer executable instructions in the memory 502 on the address tracing device. The address tracing device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input and output interfaces 505, one or more keyboards 506, etc.
[0109] In a specific embodiment, the address tracing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the address tracing device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions:
[0110] Determine the onion routing nodes that access the resource trading network;
[0111] Performing attack processing on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and initiating a transaction in the resource transaction network based on the plaintext IP address of the transaction client;
[0112] According to a preset tracing method, the plain text IP address corresponding to the originating transaction client of the target transaction in the resource transaction network is traced.
[0113] Optionally, when the computer executable instructions are executed, determining an onion routing node accessing the resource trading network includes:
[0114] Obtain access information of each access node currently accessing the resource trading network at a preset time interval;
[0115] Determining whether there is target access information that meets a preset rule in the access information;
[0116] If so, the access node corresponding to the target access information is determined as an onion routing node.
[0117] Optionally, when the computer executable instructions are executed, the attack processing on the onion routing node includes:
[0118] Establishing a connection with the corresponding onion routing node according to the access address in the target access information;
[0119] A preset attack message is sent to the onion routing node through the established connection, so that the onion routing node sends the attack message to the corresponding transaction client, so that the transaction client punishes the onion routing based on the attack message, and disconnects from the onion routing node when it is determined that the preset disconnection condition is met.
[0120] Optionally, when the computer executable instruction is executed, tracing the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource transaction network according to a preset tracing method includes:
[0121] Acquire transaction data broadcasted by each access node accessing the resource transaction network;
[0122] If it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined;
[0123] If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0124] Optionally, when the computer executable instructions are executed, after tracing the plain text IP address corresponding to the originating transaction client of the target transaction in the resource transaction network, the instructions further include:
[0125] According to a preset risk detection method, risk detection processing is performed on the target transaction.
[0126] The address tracing device provided in one or more embodiments of this specification determines the onion routing node connected to the resource trading network, and then attacks the onion routing node to cause the transaction client connected to the onion routing node to disconnect from the onion routing node, and initiates a transaction in the resource trading network based on the plaintext IP address of the transaction client; according to the preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced. Thus, by attacking the determined onion routing node, so that the corresponding transaction client initiates the transaction in the digital trading network through its own plaintext IP address, the plaintext IP address corresponding to the originating transaction client of the target transaction can be traced. The plaintext IP tracing of the anonymous network is realized, and then the identity identification of the transaction parties is realized; it is not only conducive to maintaining the continuous and effective development of online transactions, but also has a positive role in ensuring economic and social stability.
[0127] In another specific embodiment, the address tracing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the address tracing device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions:
[0128] Determine the onion routing nodes connected to the blockchain network;
[0129] Attacking the onion routing node so that a blockchain client connected to the onion routing node is disconnected from the onion routing node and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client;
[0130] Based on the first smart contract deployed in the blockchain network, trace the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network.
[0131] Optionally, when the computer executable instructions are executed, if the transaction data broadcasted by the access node accessing the blockchain network is obtained, then the first smart contract deployed in the blockchain network is called, and if it is determined based on the first smart contract according to the cached historical transaction data that the acquired transaction data is acquired for the first time, then the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined;
[0132] If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0133] Optionally, when the computer executable instructions are executed, after associating and saving the determined account information of the originating blockchain client and the plaintext IP address corresponding to the originating blockchain client in the blockchain, the instructions further include:
[0134] A second smart contract deployed in the blockchain network is called, and risk detection processing is performed on the target transaction based on the second smart contract.
[0135] The address tracing device provided in one or more embodiments of this specification, after determining the onion routing node connected to the blockchain network, attacks the onion routing node so that the blockchain client connected to the onion routing node disconnects from the onion routing node, and initiates a transaction in the blockchain network based on the plaintext IP address of the blockchain client; based on the first smart contract deployed in the blockchain network, traces the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network. Thus, by attacking the determined onion routing node so that the corresponding blockchain client initiates a transaction in the blockchain network through its own plaintext IP address, the plaintext IP address corresponding to the originating blockchain client of the target transaction can be traced. The plaintext IP traceability of the anonymous network is realized, and then the identity identification of the transaction party is realized; it is not only conducive to maintaining the sustainable and effective development of blockchain transactions, but also has a positive role in ensuring economic and social stability. In addition, the traceability of the IP address based on the smart contract can ensure the validity of the traced plaintext IP address based on the characteristics of automatic execution of the smart contract and the inability of human participation.
[0136] It should be noted that the embodiments of the address tracing device in this specification and the embodiments of the address tracing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding address tracing method mentioned above, and the repeated parts will not be repeated.
[0137] Furthermore, corresponding to the address tracing method described above, based on the same technical concept, one or more embodiments of this specification further provide a storage medium for storing computer executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:
[0138] Determine the onion routing nodes that access the resource trading network;
[0139] Performing attack processing on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and initiating a transaction in the resource transaction network based on the plaintext IP address of the transaction client;
[0140] According to a preset tracing method, the plain text IP address corresponding to the originating transaction client of the target transaction in the resource transaction network is traced.
[0141] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, determining the onion routing node accessing the resource trading network includes:
[0142] Obtain access information of each access node currently accessing the resource trading network at a preset time interval;
[0143] Determining whether there is target access information that meets a preset rule in the access information;
[0144] If so, the access node corresponding to the target access information is determined as an onion routing node.
[0145] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the attack processing on the onion routing node includes:
[0146] Establishing a connection with the corresponding onion routing node according to the access address in the target access information;
[0147] A preset attack message is sent to the onion routing node through the established connection, so that the onion routing node sends the attack message to the corresponding transaction client, so that the transaction client punishes the onion routing based on the attack message, and disconnects from the onion routing node when it is determined that the preset disconnection condition is met.
[0148] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, tracing the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource transaction network according to a preset tracing method includes:
[0149] Acquire transaction data broadcasted by each access node accessing the resource transaction network;
[0150] If it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined;
[0151] If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0152] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, after tracing the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource transaction network, the instructions further include:
[0153] According to a preset risk detection method, risk detection processing is performed on the target transaction.
[0154] When the computer executable instructions stored in the storage medium provided in one or more embodiments of this specification are executed by the processor, after determining the onion routing node connected to the resource trading network, the onion routing node is attacked so that the transaction client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the resource trading network based on the plaintext IP address of the transaction client; according to the preset tracing method, the plaintext IP address corresponding to the originating transaction client of the target transaction in the resource trading network is traced. Thus, by attacking the determined onion routing node, the corresponding transaction client initiates the transaction in the digital trading network through its own plaintext IP address, so that the plaintext IP address corresponding to the originating transaction client of the target transaction can be traced. The plaintext IP tracing of the anonymous network is realized, and then the identity identification of the transaction party is realized; it is not only conducive to maintaining the continuous and effective development of online transactions, but also has a positive role in ensuring economic and social stability.
[0155] In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:
[0156] Determine the onion routing nodes connected to the blockchain network;
[0157] Attacking the onion routing node so that a blockchain client connected to the onion routing node is disconnected from the onion routing node and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client;
[0158] Based on the first smart contract deployed in the blockchain network, trace the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network.
[0159] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, if the transaction data broadcasted by the access node accessing the blockchain network is obtained, then the first smart contract deployed in the blockchain network is called, and if it is determined based on the first smart contract according to the cached historical transaction data that the acquired transaction data is acquired for the first time, then the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined;
[0160] If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
[0161] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, after associating the determined account information of the originating blockchain client and the plaintext IP address corresponding to the originating blockchain client and saving them in the blockchain, the instructions further include:
[0162] A second smart contract deployed in the blockchain network is called, and risk detection processing is performed on the target transaction based on the second smart contract.
[0163] When the computer executable instructions stored in the storage medium provided in one or more embodiments of this specification are executed by the processor, after determining the onion routing node connected to the blockchain network, the onion routing node is attacked, so that the blockchain client connected to the onion routing node is disconnected from the onion routing node, and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client; based on the first smart contract deployed in the blockchain network, the plaintext IP address corresponding to the originating blockchain client of the target transaction in the blockchain network is traced. Thus, by attacking the determined onion routing node, the corresponding blockchain client initiates a transaction in the blockchain network through its own plaintext IP address, so that the plaintext IP address corresponding to the originating blockchain client of the target transaction can be traced. The plaintext IP traceability of the anonymous network is realized, and then the identity identification of the transaction party is realized; it is not only conducive to maintaining the sustainable and effective development of blockchain transactions, but also has a positive role in ensuring economic and social stability. In addition, the traceability of the IP address based on the smart contract can ensure the validity of the traced plaintext IP address based on the characteristics of automatic execution of the smart contract and human inability to participate.
[0164] It should be noted that the embodiments of the storage medium in this specification and the embodiments of the address tracing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding address tracing method mentioned above, and the repeated parts will not be repeated.
[0165] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0166] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0167] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0168] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0169] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0170] It should be understood by those skilled in the art that one or more embodiments of this specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0171] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0172] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0173] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0174] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0175] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0176] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0177] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0178] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0179] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0180] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.
Claims
1. An address tracing method, comprising: Determine the onion routing nodes that access the resource trading network; Performing attack processing on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and initiating a transaction in the resource transaction network based on the plaintext IP address of the transaction client; Acquire transaction data broadcasted by each access node accessing the resource transaction network; If it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
2. According to the method of claim 1, the step of determining an onion routing node that accesses a resource trading network comprises: Obtain access information of each access node currently accessing the resource trading network at a preset time interval; Determining whether there is target access information that meets a preset rule in the access information; If so, the access node corresponding to the target access information is determined as an onion routing node.
3. The method according to claim 2, wherein determining whether there is target access information that meets a preset rule in the access information comprises: Acquire an access address from each access information, and determine whether each access address complies with a preset rule; If so, it is determined that the target access information exists, and the access information at the access address that meets the preset rule is determined as the target access information.
4. According to the method of claim 2, the attack processing on the onion routing node comprises: Establishing a connection with the corresponding onion routing node according to the access address in the target access information; A preset attack message is sent to the onion routing node through the established connection, so that the onion routing node sends the attack message to the corresponding transaction client, so that the transaction client punishes the onion routing based on the attack message, and disconnects from the onion routing node when it is determined that the preset disconnection condition is met.
5. The method according to claim 1, further comprising: If it is determined that the target address information meets the preset rule, it is determined that the originating node is a new onion routing node newly connected to the resource trading network; The new onion routing node is attacked so that a transaction client connected to the new onion routing node is disconnected from the new onion routing node, and a transaction is initiated in the resource transaction network based on the plaintext IP address of the transaction client.
6. The method according to claim 1, wherein determining the access node that broadcasts the transaction data as the originating node of the transaction data comprises: According to a preset evaluation method, each access node connected to the resource transaction network is evaluated and processed to obtain a candidate node for originating the transaction data; Determining whether the candidate node and the access node broadcasting the transaction data are the same node; If yes, determining the node broadcasting the transaction data as the originating node; If not, the candidate node is determined as the originating node.
7. The method according to claim 1, after tracing the plain text IP address corresponding to the originating transaction client of the target transaction in the resource transaction network, further comprises: Determining the account information of the originating transaction client; The account information is associated with the plain text IP address corresponding to the originating transaction client and saved in a designated information database.
8. The method according to claim 1, after tracing the plain text IP address corresponding to the originating transaction client of the target transaction in the resource transaction network, further comprises: According to a preset risk detection method, risk detection processing is performed on the target transaction.
9. An address tracing method, comprising: Determine the onion routing nodes connected to the blockchain network; Attacking the onion routing node so that a blockchain client connected to the onion routing node is disconnected from the onion routing node and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client; If the transaction data broadcasted by the access node accessing the blockchain network is obtained, the first smart contract deployed in the blockchain network is called, and if it is determined based on the first smart contract and the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating blockchain client of the target transaction, and the target address information is determined as the plaintext IP address of the originating blockchain client.
10. The method according to claim 9, after determining the target address information as the plaintext IP address of the originating blockchain client, further comprises: Determining the account information of the originating blockchain client; The account information is associated with the plaintext IP address corresponding to the originating blockchain client and saved in a designated storage location.
11. The method according to claim 10, after associating the account information with the plaintext IP address corresponding to the originating blockchain client and saving it to a designated storage location, further comprises: A second smart contract deployed in the blockchain network is called, and risk detection processing is performed on the target transaction based on the second smart contract.
12. An address tracing device, comprising: Determine the module to determine the onion routing node that accesses the resource trading network; An attack module performs attack processing on the onion routing node to cause a transaction client connected to the onion routing node to disconnect from the onion routing node, and initiates a transaction in the resource transaction network based on a plaintext IP address of the transaction client; A tracing module, which obtains the transaction data broadcasted by each access node connected to the resource transaction network; if it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
13. An address tracing device, comprising: Determine the module and determine the onion routing node connected to the blockchain network; An attack module performs an attack process on the onion routing node to cause a blockchain client connected to the onion routing node to disconnect from the onion routing node, and initiate a transaction in the blockchain network based on the plaintext IP address of the blockchain client; The traceability module, if the transaction data broadcasted by the access node accessing the blockchain network is obtained, calls the first smart contract deployed in the blockchain network, and if it is determined based on the first smart contract and the cached historical transaction data that the acquired transaction data is acquired for the first time, caches the transaction data, determines the access node broadcasting the transaction data as the originating node of the transaction data, and determines the target address information of the originating node; If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating blockchain client of the target transaction, and the target address information is determined as the plaintext IP address of the originating blockchain client.
14. An address tracing device, comprising: processor; as well as, a memory arranged to store computer executable instructions which, when executed, cause the processor to: Determine the onion routing nodes that access the resource trading network; Performing attack processing on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and initiating a transaction in the resource transaction network based on the plaintext IP address of the transaction client; Acquire transaction data broadcasted by each access node accessing the resource transaction network; If it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
15. An address tracing device, comprising: processor; as well as, a memory arranged to store computer executable instructions which, when executed, cause the processor to: Determine the onion routing nodes connected to the blockchain network; Attacking the onion routing node so that a blockchain client connected to the onion routing node is disconnected from the onion routing node and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client; If the transaction data broadcasted by the access node accessing the blockchain network is obtained, the first smart contract deployed in the blockchain network is called, and if it is determined based on the first smart contract and the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating blockchain client of the target transaction, and the target address information is determined as the plaintext IP address of the originating blockchain client.
16. A storage medium for storing computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the following process: Determine the onion routing nodes that access the resource trading network; Performing attack processing on the onion routing node so that a transaction client connected to the onion routing node is disconnected from the onion routing node, and initiating a transaction in the resource transaction network based on the plaintext IP address of the transaction client; Acquire transaction data broadcasted by each access node accessing the resource transaction network; If it is determined based on the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with the preset rules and the target address information is not included in the designated information database, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating transaction client of the target transaction, and the target address information is determined as the plaintext IP address of the originating transaction client.
17. A storage medium for storing computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the following process: Determine the onion routing nodes connected to the blockchain network; Attacking the onion routing node so that a blockchain client connected to the onion routing node is disconnected from the onion routing node and a transaction is initiated in the blockchain network based on the plaintext IP address of the blockchain client; If the transaction data broadcasted by the access node accessing the blockchain network is obtained, the first smart contract deployed in the blockchain network is called, and if it is determined based on the first smart contract and the cached historical transaction data that the acquired transaction data is acquired for the first time, the transaction data is cached, and the access node broadcasting the transaction data is determined as the originating node of the transaction data, and the target address information of the originating node is determined; If it is determined that the target address information does not comply with a preset rule and the target address information is not included in the blockchain, the transaction corresponding to the transaction data is determined as the target transaction, the originating node is determined as the originating blockchain client of the target transaction, and the target address information is determined as the plaintext IP address of the originating blockchain client.
