Transaction address mapping method and device, electronic equipment and readable medium
Through the calculation of the support and confidence of transaction data, the transaction address mapping relationship in the blockchain and off-chain payment system is generated, which solves the problem of difficult identification of anonymous addresses, realizes user identity identification and risk identification, and reduces the risk of information leakage .
Patent Information
- Application Number
- CN202411046677.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-07-31
AI Technical Summary
In blockchain systems and off-chain payment systems, anonymous and discrete blockchain addresses are difficult to locate real transaction participants, and user privacy protection needs make it difficult to obtain real user information, so mapping relationships between transaction addresses are needed to Identify risky users and transactions.
By obtaining transaction data, initializing the support range and confidence threshold, sorting and grouping the transaction time, calculating the support and confidence of each transaction address, generating a mapping relationship between transaction addresses, and using time windows and association rule algorithms to establish association relation.
Effectively utilize the active time of the transaction address, generate mapping relationships between transaction addresses based on support and confidence, realize user identity identification and risk identification in blockchain and off-chain payment systems, and reduce the risk of information leakage.
Smart Images

Figure CN119027235A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a transaction address mapping method, device, electronic device and readable medium. Background Art
[0002] In the blockchain system, blockchain addresses are often anonymous and discrete. A complete blockchain transaction link may span multiple blockchain transaction systems and / or off-chain payment systems. A transaction may also be broken up into multiple transactions to achieve transaction anonymity. It is difficult to locate the real transaction participants through the transaction link. In the off-chain payment system, for the sake of privacy protection or desensitization between systems, there are also cases where user identification is used instead of real user information. Therefore, it is necessary to establish a mapping relationship between different transaction addresses of the same user in one or more transaction systems in order to identify risky users and risky transactions. Summary of the invention
[0003] The embodiments of the present disclosure provide a transaction address mapping method, device, electronic device and readable medium, which can utilize the active time of transactions and obtain the mapping relationship between transaction addresses based on the transaction map of the transaction system.
[0004] To achieve the above technical objectives, the embodiments of the present disclosure adopt the following technical solutions:
[0005] In a first aspect, an embodiment of the present disclosure provides a transaction address mapping method, the method comprising:
[0006] Obtain transaction data of one or more transaction systems, and initialize the support range and confidence threshold, wherein the transaction data includes transaction time and transaction address;
[0007] Sort the transaction data by transaction time and divide it into multiple transaction groups according to the transaction time;
[0008] Calculate the support of each transaction address and select the target transaction address whose support meets the support range, where the support is used to indicate the frequency of the transaction address appearing in each transaction combination;
[0009] The confidences of the target transaction address and other transaction addresses are calculated respectively, and the target transaction address and other transaction addresses whose confidences are greater than the confidence threshold are screened in pairs to generate a mapping relationship, wherein the confidence is used to indicate the probability that the other transaction addresses and the target transaction address are in the same transaction combination.
[0010] In some possible implementations, before sorting the transaction data by transaction time, the method further includes:
[0011] Process the transaction data and extract the transaction time and address.
[0012] In some possible implementations, the transaction is divided into multiple transaction combinations according to the transaction time, including:
[0013] Set the time window, trading start time and trading end time;
[0014] Filter transaction data based on transaction start time and transaction end time;
[0015] The filtered transaction data is time sliced according to the time window and divided into multiple transaction combinations.
[0016] In some possible implementations, the support range is limited by the maximum support and / or the minimum support.
[0017] In some possible implementations, calculating the support of each transaction address includes:
[0018] All transaction addresses in each transaction combination are extracted to form a correspondence between the transaction combination and the transaction address, and the support degree of each transaction address is calculated based on the correspondence.
[0019] In a second aspect, an embodiment of the present disclosure provides a transaction address mapping device, the device comprising:
[0020] An initialization module, used to obtain transaction data of one or more transaction systems, and initialize the support range and confidence threshold, wherein the transaction data includes transaction time and transaction address;
[0021] The transaction processing module is used to sort the transaction data by transaction time and divide it into multiple transaction combinations according to the transaction time;
[0022] A support calculation module is used to calculate the support of each transaction address and select target transaction addresses whose support meets the support range, wherein the support is used to indicate the frequency of occurrence of the transaction address in each transaction combination;
[0023] The mapping generation module is used to calculate the confidence of the target transaction address and other transaction addresses respectively, screen the target transaction address and other transaction addresses whose confidence is greater than the confidence threshold in pairs, and generate a mapping relationship, wherein the confidence is used to indicate the probability that the other transaction address and the target transaction address are in the same transaction combination.
[0024] In some possible implementations, the transaction processing module is further configured to:
[0025] Process the transaction data and extract the transaction time and address.
[0026] In some possible implementations, the transaction processing module is further configured to:
[0027] Set the time window, trading start time and trading end time;
[0028] Filter transaction data based on transaction start time and transaction end time;
[0029] The filtered transaction data is time sliced according to the time window and divided into multiple transaction combinations.
[0030] In some possible implementations, the support range is limited by the maximum support and / or the minimum support.
[0031] In some possible implementations, the support calculation module is further used to:
[0032] All transaction addresses in each transaction combination are extracted to form a correspondence between the transaction combination and the transaction address, and the support degree of each transaction address is calculated based on the correspondence.
[0033] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the transaction address mapping method as in the first aspect.
[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the transaction address mapping method of the first aspect.
[0035] The technical solution of the first aspect provided by the embodiment of the present disclosure brings at least the following beneficial effects: obtaining transaction data of one or more transaction systems, initializing the support range and confidence threshold; sorting the transaction data by transaction time, and dividing it into multiple transaction combinations according to the transaction time; calculating the support of each transaction address, screening the target transaction address whose support meets the support range; calculating the confidence of the target transaction address and other transaction addresses respectively, screening the target transaction address and other transaction addresses whose confidence is greater than the confidence threshold in pairs, and generating a mapping relationship. The embodiment of the present disclosure obtains the mapping relationship between transaction addresses based on an association rule algorithm including support and confidence by slicing the transaction data according to the transaction time and dividing it into multiple transaction combinations, and using the active time of the transaction address in one or more transaction systems.
[0036] It should be noted that the technical effects brought about by any implementation method in the second to fourth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0037] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments of the present disclosure are briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, and are not intended to limit the present disclosure.
[0039] Figure 1 A schematic diagram showing the main steps of a transaction address mapping method according to at least one embodiment of the present disclosure is shown;
[0040] Figure 2 A schematic diagram showing main modules of a transaction address mapping device according to at least one embodiment of the present disclosure is shown;
[0041] Figure 3 A schematic diagram of an electronic device according to at least one embodiment of the present disclosure is shown;
[0042] Figure 4 A schematic diagram of a readable storage medium according to at least one embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0044] Note that the examples to be introduced below are only specific examples, and are not intended to limit the embodiments of the present disclosure to the specific shapes, hardware, connection relationships, operations, values, conditions, data, sequences, etc. shown and described. Those skilled in the art can apply the concepts of the present disclosure to construct more embodiments not mentioned in the present description by reading the present description.
[0045] The terms used in the present disclosure are those common terms currently widely used in the art in consideration of the functions of the present disclosure, but these terms may vary according to the intention of a person of ordinary skill in the art, precedents, or new technologies in the art. In addition, specific terms may be selected by the applicant, and in this case, their detailed meanings will be described in the detailed description of the present disclosure. Therefore, the terms used in the specification should not be understood as simple names, but rather as an overall description based on the meaning of the terms and the present disclosure.
[0046] In order to better understand the embodiments of the present disclosure, relevant terms involved in the present disclosure are first defined and explained.
[0047] Blockchain: refers to a chain data structure that combines data blocks in a sequential manner in chronological order, and a distributed ledger that is cryptographically guaranteed to be tamper-proof and unforgeable. Its essence is a decentralized database. The blockchain referred to in the embodiments of the present disclosure includes public chains, consortium chains, private chains, permission chains, etc.
[0048] Association rules: A method used to discover meaningful relationships between data items. The goal is to find frequently occurring patterns, associations, or relationships between different items to provide decision support.
[0049] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of the disclosed embodiment are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0050] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0051] Figure 1 The main steps of a transaction address mapping method 100 according to at least one embodiment of the present disclosure are shown in the figure. The method 100 includes the following steps:
[0052] Step S101, acquiring transaction data of one or more transaction systems, and initializing a support range and a confidence threshold, wherein the transaction data includes a transaction time and a transaction address.
[0053] The transaction address mapping method 100 disclosed in the present invention is applied to one or more transaction systems. When the transaction system includes a blockchain system, it is difficult to obtain real user information due to the anonymity of blockchain transactions; and when the transaction system includes an off-chain payment system, since multiple payment systems may be involved, for user privacy considerations, or security or desensitization factors between systems, there are also situations where user identification is used instead of real user information. Therefore, one or more transaction systems may include a blockchain system and / or an off-chain transaction system, which is not limited here. When the transaction system is a blockchain system, the transaction address is the blockchain address on the blockchain during the blockchain transaction process. When the transaction system is an off-chain transaction system, the transaction address can be a real user payment account number or user identification, etc. It can be understood that the transaction address includes the addresses of the parties involved in the transaction, for example, in a transfer transaction, it can include the recipient and payee parties.
[0054] In addition to the transaction address, the transaction data may include a lot of information such as transaction time, transaction amount, transaction currency, transaction type (such as purchase, sale, refund, etc.). In order to implement the transaction address mapping method disclosed in the present invention, the transaction data disclosed in the present invention at least includes the transaction time and transaction address. When the acquired transaction data field includes other transaction data besides the transaction time and transaction address, preferably, the transaction data can be processed to extract the transaction time and transaction address. The data processing process helps to eliminate sensitive information and reduce the risk of unnecessary information leakage, and because there are fewer transaction data fields, it helps to improve the efficiency of subsequent data processing. The method of extracting the transaction time and transaction address can be to filter and obtain the transaction time and transaction address, or to delete other transaction data besides the transaction time and transaction address, or other methods that can be implemented in the field, which are not limited by the present disclosure.
[0055] Figure 2 A schematic diagram of the main modules of a transaction address mapping device 200 according to at least one embodiment of the present disclosure is shown. The transaction address mapping device 200 can be used to execute the transaction address mapping method 100 of the embodiment of the present disclosure. When one or more transaction systems need to generate a mapping relationship for the transaction address, they can be connected to the transaction address mapping device 200 and implemented through the transaction address mapping device 200. It can be understood that one or more transaction systems can process the transaction data before providing the transaction data to the transaction address mapping device 200, such as deleting the information in the transaction data except the transaction time and transaction address, and for example, processing the transaction address to hide the real user information and replace it with a user identification or user code. If the transaction system does not delete other transaction information in the transaction data, the transaction processing module 220 of the transaction address mapping device 200 can also process the transaction data, such as deleting unnecessary transaction data.
[0056] Step S102, sorting the transaction data by transaction time, and dividing it into multiple transaction combinations according to the transaction time. The embodiment of the present disclosure generates a mapping relationship based on the active time of each transaction address in different transaction combinations. Therefore, it is necessary to sort the transaction data by transaction time and divide different transaction combinations according to the transaction time.
[0057] For example, a time window, a transaction start time, and a transaction end time are set. First, the transaction data can be filtered according to the transaction start time and transaction end time, that is, the transaction analysis time period formed based on the transaction start time and transaction end time is analyzed; then the filtered transaction data is time sliced according to the time window and divided into multiple transaction combinations. The time window is, for example, a time rolling window. Specifically, the transaction start time is set to 8 am, the transaction end time is set to 8 pm, and the time rolling window is 1 hour. Then, it can be divided into 12 different transaction combinations according to the transaction time, specifically including: the transaction data with a transaction time of 8 am to 9 am is the first transaction combination, the transaction data with a transaction time of 9 am to 10 am is the second transaction combination, ..., until the transaction data with a transaction time of 7 pm to 8 pm is the twelfth transaction combination. It can be understood that the transaction time of the last transaction combination may not be less than one time window. The size of the time window is determined based on the system parameters of each transaction link, transaction security or transaction requirements and other characteristics.
[0058] The time window can also be a time sliding window, which can include a time interval and a sliding step. For example, if the transaction start time is set to 8 a.m. and the transaction end time is set to 9 a.m., the time interval is 20 minutes and the sliding step is 5 minutes, then it can be divided into 9 different transaction combinations according to the transaction time, specifically including: the transaction data between 8:00-8:20 is the first transaction combination, the transaction data between 8:05-8:25 is the second transaction combination, and so on, until the transaction data between 8:40-9:00 is the ninth transaction combination.
[0059] Step S103, calculate the support of each transaction address, and select the target transaction address whose support meets the support range, wherein the support is used to indicate the frequency of the transaction address appearing in each transaction combination. Specifically, each transaction address involved in the transaction data can be traversed, and the support is calculated for each transaction address. The meaning of the support S(X1) is the percentage of the number of address X1 included in all transaction combinations, that is, the frequency of occurrence of address X1.
[0060] The calculation formula for address X1 support is:
[0061] S(X1) = the number of transaction combinations containing address X1 / the number of all transaction combinations %
[0062] For example, for address X1, it has transaction data in 6 of the above 12 transaction combinations (address X1 can be the payee or the payer, which is not limited here), then the support degree of address X1 is 50%.
[0063] Traverse the n addresses involved in 12 transaction combinations, X1, X2, ... X n Calculate the support respectively, the calculation formula is:
[0064] S(X n ) = The transaction combination contains address X n Number of transactions / number of all transaction combinations%
[0065] For the calculated S(X n ), screen them, and extract m target transaction addresses whose support meets the support range, X1, X2, ... X m .
[0066] It is understandable that the support range can be limited by the maximum support and / or the minimum support. Among them, if the support is lower than the minimum support, it means that the address is not active and is not a focus address; if the support is higher than the maximum support, it means that the address may be a cross-chain relay address or a public account set up by the payment system, etc., and may not be a focus address.
[0067] When calculating the support, two different methods can be adopted. Taking address X1 as an example, each transaction in each transaction combination can be directly traversed to determine which transaction data of address X1 exists in each transaction combination; or all transaction addresses in each transaction combination can be first extracted to form a corresponding relationship between the transaction combination and the transaction address, and the support of each transaction address is calculated based on the corresponding relationship. Specifically, the corresponding relationship between the transaction combination and the transaction address is first formed as follows:
[0068] Transaction combination 1: transaction address X1, X2, X6, X8, X 12
[0069] Transaction combination 2: Transaction addresses X1, X4, X5, X7
[0070] Transaction combination 3: transaction addresses X2, X3, X9, X 10 , X 12
[0071] Transaction combination 4: transaction addresses X3, X5, X6, X8, X9, X 12
[0072] Transaction combination 5: transaction address X1, X5, X7, X 11 , X 12
[0073] Transaction combination 6: transaction address X1, X8, X9, X 10
[0074] Transaction combination 7: Transaction address X4, X5, X6, X8, X 12
[0075] Transaction combination 8: Transaction address X5, X7, X8, X9, X 10 , X 12
[0076] Transaction combination 9: transaction address X1, X2, X5, X9, X 10
[0077] Transaction combination 10: Transaction addresses X1, X3, X7, X8
[0078] Transaction combination 11: Transaction address X6, X7, X8, X9, X 12
[0079] Transaction combination 12: Transaction address X2, X4, X6, X9, X 12
[0080] Based on the above correspondence, the transaction address X1-X can be calculated 12 The support of is [50%, 33%, 25%, 25%, 50%, 42%, 42%, 58%, 58%, 33%, 8%, 67%]. This method does not need to repeatedly traverse each transaction in each transaction combination for each transaction address, and the calculation of support is more efficient. If the minimum support is set to 40% and the maximum support is set to 55%, the transaction addresses X1, X5, X6, and X7 are the target transaction addresses.
[0081] Step S104, respectively calculating the confidence of the target transaction address and other transaction addresses, screening the target transaction address and other transaction addresses whose confidence is greater than the confidence threshold in pairs, and generating a mapping relationship, wherein the confidence is used to indicate the probability that the other transaction addresses and the target transaction address are in the same transaction combination.
[0082] Optionally, other transaction addresses may be transaction addresses of other transaction systems, which are used to establish a mapping between the transaction system where the target transaction address is located and the addresses of other transaction systems. Other transaction addresses may also be transaction addresses of the same transaction system. For example, when a transaction is split into multiple transactions, the same user may correspond to multiple transaction addresses in one transaction system. Therefore, it is also necessary to establish a mapping relationship for risk identification.
[0083] Taking transaction address X1 as an example, the confidence level of X1 and other transaction addresses is calculated as follows:
[0084] Address X1 and address X n The support between is:
[0085] S(X1→X n )=The transaction combination contains addresses X1 and X n Number of transactions / number of all transaction combinations%
[0086] In the above example, address X1 and other addresses X2-X 12 The supports between them are: [17%, 8%, 8%, 25%, 8%, 25%, 25%, 17%, 17%, 8%, 17%] respectively.
[0087] Further, the confidence is calculated based on the support calculated above. The confidence between address X1 and address X n The confidence level between is:
[0088] C(X1→X n )=(S(X1→X n )) / (S(X1)), indicating address X n The possible probability of synchronization occurring when address X1 appears.
[0089] In the above example, address X1 and other addresses X2-X 12 The confidence levels are: [33%, 17%, 17%, 50%, 17%, 50%, 50%, 33%, 33%, 17%, 33%] respectively.
[0090] The target transaction address and other transaction addresses are screened in pairs according to the set confidence threshold to obtain the final associated combination. It can be understood that if the confidence threshold is greater than this, it indicates that the pair of addresses has a certain transaction synchronization in multiple time windows, that is, there is a high possibility of an associated relationship, for example, the pair of addresses are accounts of the same user in the blockchain or off-chain payment system, or accounts of the same user on different blockchains, etc.
[0091] In the above example, if the confidence threshold is set to 40%, addresses X5, X7, and X8 may have an associated mapping relationship with address X1.
[0092] It should be noted that if the confidence from address X to address Y may be different from the confidence from address Y to address X, for example: address Y is an on-chain address of a currency trader, and X is one of the off-chain receiving accounts. Then the confidence C(X→Y) may be very high, and the confidence C(Y→X) may be very low (because currency traders may use a large number of different receiving accounts to avoid risks). Therefore, as long as any confidence between two addresses is higher than the confidence threshold, it can be determined that the two addresses are highly correlated.
[0093] The transaction address mapping method based on time series and association relationship proposed in the present disclosure effectively utilizes the active time of blockchain and off-chain payment transactions, finds the mapping relationship between blockchain addresses, or between blockchain addresses and off-chain payment accounts, or between off-chain payment accounts based on the association rule algorithm, and finally locates the unidentified blockchain transaction address based on the identified blockchain address or payment account.
[0094] The disclosed embodiments have the following advantages: slicing blockchain transaction time series data through time windows to transform it into a frequent item mining problem, and using association rule algorithms to associate and map frequently active blockchain addresses and payment accounts; relying on fewer data dimensions, only requiring transaction time and labeled account or address information, and no risk of information leakage.
[0095] Figure 2 The main modules of the transaction address mapping device 200 according to at least one embodiment of the present disclosure are shown. The device 200 includes an initialization module 210, a transaction processing module 220, a support calculation module 230 and a mapping generation module 240, wherein:
[0096] Initialization module 210, used to obtain transaction data of one or more transaction systems, and initialize support range and confidence threshold, wherein the transaction data includes transaction time and transaction address;
[0097] The transaction processing module 220 is used to sort the transaction data by transaction time and divide it into multiple transaction combinations according to the transaction time;
[0098] The support calculation module 230 is used to calculate the support of each transaction address and select the target transaction address whose support meets the support range, wherein the support is used to indicate the frequency of the transaction address appearing in each transaction combination;
[0099] The mapping generation module 240 is used to respectively calculate the confidence of the target transaction address and other transaction addresses, screen the target transaction address and other transaction addresses whose confidence is greater than the confidence threshold in pairs, and generate a mapping relationship, wherein the confidence is used to indicate the probability that the other transaction addresses and the target transaction address are in the same transaction combination.
[0100] Optionally, the transaction processing module 220 is further used to: perform data processing on the transaction data, and extract the transaction time and transaction address.
[0101] Optionally, the transaction processing module 220 is further used to: set a time window, a transaction start time, and a transaction end time;
[0102] Filter transaction data based on transaction start time and transaction end time;
[0103] The filtered transaction data is time sliced according to the time window and divided into multiple transaction combinations.
[0104] Optionally, the support range is limited by a maximum support and / or a minimum support.
[0105] Optionally, the support calculation module 230 is further used to: extract all transaction addresses in each transaction combination, form a corresponding relationship between the transaction combination and the transaction address, and calculate the support of each transaction address based on the corresponding relationship.
[0106] It should be noted that the above application scenarios are only exemplary, so as to facilitate the description of one or more aspects of the present disclosure in a specific scenario, but these aspects are not necessary, and various modifications can be made to the application scenarios. It is easy to understand that the specific application scenarios of the present disclosure are not limited.
[0107] At least some embodiments of the present disclosure also provide an electronic device. Figure 3 A schematic diagram of an electronic device 300 according to at least one embodiment of the present disclosure is shown.
[0108] like Figure 3 As shown, the electronic device 300 includes one or more processors 310 and a memory 320. The memory 320 includes one or more computer program modules 321. One or more computer program modules 321 are stored in the memory 320 and are used to be executed by the processor 310. The one or more computer program modules 321 include instructions for executing the transaction address mapping method 100 and its additional aspects according to at least one embodiment of the present disclosure. When it is executed by the processor 310, one or more steps of the transaction address mapping method 100 and its additional aspects according to at least one embodiment of the present disclosure can be executed. The memory 320 and the processor 310 can be interconnected through a bus system and / or other forms of connection mechanisms (not shown). For example, the bus can be a peripheral component interconnect standard (PCI) bus or an extended industrial standard architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0109] Exemplarily, the processor 310 may be a central processing unit (CPU), a digital signal processor (DSP), or other forms of processing units having data processing capabilities and / or program execution capabilities, such as a field programmable gate array (FPGA), etc. The processor 310 may be a general-purpose processor or a dedicated processor, and may control other components in the electronic device 300 to perform desired functions.
[0110] Exemplarily, the memory 320 may include any combination of one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disk read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules 321 may be stored on the computer-readable storage medium, and the processor 310 may run one or more computer program modules 321 to implement various functions of the electronic device 300. The computer program module includes a plurality of computer-executable instructions. Various applications and various data, as well as various data used and / or generated by the application, etc. may also be stored in the computer-readable storage medium.
[0111] For example, the electronic device 300 may also include input devices such as a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices such as a liquid crystal display, a speaker, a vibrator, etc.; storage devices such as a magnetic tape, a hard disk (HDD or SDD), etc.; and communication devices such as a network interface card such as a LAN card, a modem, etc. may also be included. The communication device may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data, and perform communication processing via a network such as the Internet. The drive is connected to the I / O interface as needed. Removable storage media, such as a disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage device as needed.
[0112] For example, the electronic device 300 may further include a peripheral interface (not shown in the figure), etc. The peripheral interface may be various types of interfaces, such as a USB interface, a lightning interface, etc. The communication device may communicate with a network and other devices through wireless communication, such as the Internet, an intranet and / or a wireless network such as a cellular phone network, a wireless local area network (LAN), and / or a metropolitan area network (MAN). Wireless communication may use any of a variety of communication standards, protocols, and technologies, including but not limited to a global system for mobile communications (GSM), an enhanced data GSM environment (EDGE), a wideband code division multiple access (W-CDMA), a code division multiple access (CDMA), a time division multiple access (TDMA), Bluetooth, Wi-Fi (e.g., based on IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, and / or IEEE 802.11n standards), a voice transmission over Internet protocol (VoIP), Wi-MAX, protocols for email, instant messaging, and / or short message service (SMS), or any other suitable communication protocol.
[0113] The electronic device 300 may be, for example, a system on a chip (SOC) or a device including the SOC, for example, a mobile phone, a tablet computer, a laptop computer, an e-book, a game console, a television, a digital photo frame, a navigator, a home appliance, a communication base station, an industrial controller, a server, or any other device, or a combination of any data processing device and hardware, which is not limited by the embodiments of the present disclosure. The specific functions and technical effects of the electronic device 300 may refer to the description of the transaction address mapping method 100 and its additional aspects according to at least one embodiment of the present disclosure, and will not be repeated here.
[0114] Figure 4 A schematic diagram of a readable storage medium 400 according to at least one embodiment of the present disclosure is shown.
[0115] like Figure 4 As shown, a computer program 410 is stored on the readable storage medium 400, that is, a computer-readable storage medium. When the computer program 410 is executed by a processor, one or more steps of the transaction address mapping method 100 and its additional aspects as described above are performed.
[0116] Exemplarily, when the program code is read by a computer, the computer may execute the program code stored in the computer storage medium to implement, for example, one or more steps of the transaction address mapping method 100 and its additional aspects according to at least one embodiment of the present disclosure.
[0117] Exemplarily, the readable storage medium may include a memory card of a smart phone, a storage component of a tablet computer, a hard disk of a personal computer, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a flash memory, and other readable storage media or any combination thereof. The readable storage medium 400 may be a non-transitory readable storage medium.
[0118] At least some of the embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referenced to each other.
[0119] It should be noted that, in the present disclosure, relational terms such as first, second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises", or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements includes not only those elements, but also further includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. In the absence of further restrictions, the elements defined by the statement "includes..." do not exclude the presence of other identical elements in the process, method, article, or device including the elements.
[0120] The flowchart and block diagram in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved; that is, the previous or following operations are not necessarily executed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or a certain step or several steps can be removed from these processes.
[0121] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0122] There are a few points to note about this disclosure:
[0123] (1) The drawings of the embodiments of the present disclosure only relate to the structures related to the embodiments of the present disclosure, and other structures may refer to the general design.
[0124] (2) In the absence of conflict, the embodiments of the present disclosure and the features therein may be combined with each other to obtain new embodiments.
[0125] The above description is merely an exemplary embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure. The protection scope of the present disclosure is determined by the appended claims.
Claims
1. A transaction address mapping method, characterized in that: The method comprises: Acquire transaction data of one or more transaction systems, and initialize a support range and a confidence threshold, wherein the transaction data includes a transaction time and a transaction address; Sorting the transaction data according to transaction time, and dividing the transaction data into multiple transaction combinations according to the transaction time; Calculate the support of each transaction address, and select the target transaction address whose support meets the support range, wherein the support is used to indicate the frequency of occurrence of the transaction address in each transaction combination; The confidences of the target transaction address and other transaction addresses are calculated respectively, and the target transaction address and other transaction addresses whose confidences are greater than the confidence threshold are screened in pairs to generate a mapping relationship, wherein the confidence is used to indicate the probability that the other transaction addresses are in the same transaction combination as the target transaction address.
2. The method according to claim 1, characterized in that Before sorting the transaction data according to transaction time, the method further includes: The transaction data is processed to extract the transaction time and transaction address.
3. The method according to claim 1, characterized in that The multiple transaction combinations according to the transaction time include: Set the time window, trading start time and trading end time; Filtering the transaction data according to the transaction start time and the transaction end time; The filtered transaction data is time sliced according to the time window and divided into multiple transaction combinations.
4. The method according to claim 1, characterized in that The support range is limited by the maximum support and / or the minimum support.
5. The method according to claim 1, characterized in that The calculation of the support degree of each transaction address includes: All transaction addresses in each transaction combination are extracted to form a correspondence between the transaction combination and the transaction address, and the support degree of each transaction address is calculated based on the correspondence.
6. A transaction address mapping device, characterized in that: The device comprises: An initialization module, used to obtain transaction data of one or more transaction systems, and initialize a support range and a confidence threshold, wherein the transaction data includes a transaction time and a transaction address; A transaction processing module, used to sort the transaction data according to transaction time, and divide the transaction data into multiple transaction combinations according to the transaction time; A support calculation module, used to calculate the support of each transaction address, and screen the target transaction address whose support meets the support range, wherein the support is used to indicate the frequency of occurrence of the transaction address in each transaction combination; A mapping generation module is used to respectively calculate the confidence of the target transaction address and other transaction addresses, screen the target transaction address and other transaction addresses whose confidence is greater than the confidence threshold in pairs, and generate a mapping relationship, wherein the confidence is used to indicate the probability that the other transaction addresses are in the same transaction combination as the target transaction address.
7. The device according to claim 6, characterized in that The transaction processing module is further used for: The transaction data is processed to extract the transaction time and transaction address.
8. The device according to claim 6, characterized in that The transaction processing module is further used for: Set the time window, trading start time and trading end time; Filtering the transaction data according to the transaction start time and the transaction end time; The filtered transaction data is time sliced according to the time window and divided into multiple transaction combinations.
9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data processing method and device, equipment and medium
CN117114839A
System and Method for Blockchain Automatic Tracing of Money Flow Using Artificial Intelligence
US20220067738A1
High-quality mode mining method and device, and data processing device
WO2018077205A1
System and method for transaction account based micro-payments
WO2020028197A1
