Blockchain abnormal transaction behavior identification method and device based on pattern matching

Identifying abnormal transaction behavior in the blockchain through pattern matching technology solves the problems of high complexity and inflexibility in existing methods, achieves efficient and automated abnormal transaction identification, and reduces labor costs and computational complexity.

CN118378204BActive Publication Date: 2024-10-01ZHONGKE LIANAN (BEIJING) TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202410837443.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

Existing blockchain abnormal transaction behavior identification methods rely on artificial intelligence models, resulting in high computing power and data source requirements, complex calculations and inflexibility, and manual identification consumes a lot of manpower and time.

Method used

Using a method based on pattern matching, by using nodes in the blockchain transaction network as vertices, setting edges according to transaction relationships, and setting categories according to node role types, the pattern graph is used to match the data graph and extract matching subgraphs. To identify abnormal trading behavior.

Benefits of technology

It improves the identification efficiency and automation of abnormal transaction behavior in the blockchain, reduces the computational complexity and labor costs, and enhances the flexibility, accuracy and reliability of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378204B_ABST
    Figure CN118378204B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for identifying abnormal transaction behavior of blockchain based on pattern matching, which relates to the field of data processing technology. The method includes: constructing a data graph of a target blockchain transaction network; performing pattern matching on the data graph based on a pattern graph for abnormal transaction behavior of the target blockchain, wherein the pattern graph contains multiple target vertices that display the category to which it belongs, at least one target edge connecting different target vertices, and reachability constraints for the target edge; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network. The present application can effectively improve the efficiency of identifying abnormal transaction behavior of blockchain, improve the degree of automation and intelligence of the process of identifying abnormal transaction behavior of blockchain, effectively reduce the labor cost and computational complexity of identification, and effectively improve the flexibility, accuracy and reliability of identifying abnormal transaction behavior of blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for identifying abnormal transaction behavior in blockchain based on pattern matching. Background Art

[0002] Blockchain transaction behavior refers to financial transactions or carbon emission index transactions between different nodes (i.e., blockchain addresses) in the blockchain. The blockchain transaction network refers to the network graph structure formed by a certain transaction sequence between different nodes in the blockchain. Different transaction behaviors will form different graph structures, so identifying these graph structures can help analyze the possible transaction behaviors behind them, and then realize the identification of abnormal blockchain transaction behaviors.

[0003] However, existing methods for identifying abnormal blockchain transaction behaviors usually use artificial intelligence models for automatic identification, but this method requires a lot of computing power and data sources to train the model, the process is relatively complicated, and when the behavior pattern of abnormal transactions changes, the model needs to be re-iterated. If manual identification is used to identify abnormal blockchain transaction behaviors in order to reduce computational complexity and flexibility, it will consume a lot of manpower and time costs.

[0004] Therefore, there is an urgent need to design a method for identifying abnormal blockchain transaction behaviors that can improve the accuracy, flexibility and efficiency of identifying abnormal blockchain transaction behaviors without using artificial intelligence models. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a method and device for identifying abnormal blockchain transaction behavior based on pattern matching to eliminate or improve one or more defects existing in the prior art.

[0006] One aspect of the present application provides a method for identifying abnormal transaction behavior in blockchain based on pattern matching, comprising:

[0007] Each node in the target blockchain transaction network is taken as a vertex, and edges between different nodes are set according to the transaction association relationship between different nodes, and categories corresponding to each of the vertices are set according to the role type to which each node belongs, so as to obtain a data graph consisting of vertices of each category and at least one edge;

[0008] The data graph is pattern matched based on a pattern graph for abnormal transaction behavior of the target blockchain, wherein the pattern graph includes multiple target vertices that display the category to which they belong, at least one target edge connecting different target vertices, and reachability constraints for the target edges; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network.

[0009] In some embodiments of the present application, pattern matching the data graph based on the pattern graph of abnormal transaction behavior of the target blockchain includes:

[0010] According to the category to which each of the target vertices in the pattern graph belongs, searching in the data graph for vertices of the same category as that to which each of the target vertices belongs, and adding the vertices of the same category as that to which each of the target vertices belongs to the likelihood sets corresponding to each of the target vertices;

[0011] If the likelihood sets corresponding to the target vertices are not empty sets, then according to the reachability constraints for the target edges in the pattern graph, reachability matching is performed on the vertices in the likelihood sets corresponding to the target vertices.

[0012] In some embodiments of the present application, performing reachability matching on vertices in the likelihood set corresponding to each of the target vertices according to the reachability constraint condition for the target edge in the pattern graph includes:

[0013] Selecting different target vertices in the pattern graph in turn as current starting vertices respectively, and executing a preset reachability matching step for each starting vertex respectively, so as to update the likelihood sets corresponding to each of the target vertices and a preset determination queue; wherein the determination queue is used to store the target vertices corresponding to the other likelihood sets except the reduced likelihood set of the current vertex;

[0014] Execute the preset iterative matching steps for the current judgment queue until it is determined that the judgment queue is empty, and then judge whether the likelihood sets corresponding to each of the current target vertices are not empty sets. If so, based on the likelihood sets corresponding to each of the current target vertices, search for a subgraph matching the pattern graph in the data graph.

[0015] In some embodiments of the present application, the iterative matching step includes:

[0016] Determine whether the determination queue is empty;

[0017] If not, different target vertices are selected in the current determination queue in turn as the current starting vertices, and the preset reachability matching steps are performed for each starting vertex to update the likelihood sets corresponding to each target vertex and the preset determination queue again.

[0018] In some embodiments of the present application, the reachability matching step includes:

[0019] Determine whether each of the vertices in the likelihood set corresponding to the current starting vertex satisfies the reachability constraint condition of the target edge associated with the starting vertex;

[0020] If yes, retaining each of the vertices in the likelihood set corresponding to the starting vertex;

[0021] If there is a vertex in the likelihood set corresponding to the starting vertex that does not satisfy the reachability constraint condition of the target edge associated with the starting vertex, then delete the vertex in the likelihood set corresponding to the starting vertex;

[0022] The target vertices corresponding to the likelihood sets other than the likelihood set with reduced internal vertices are added to a preset determination queue.

[0023] In some embodiments of the present application, the reachability constraint condition includes: a hop count constraint condition;

[0024] The hop count constraint condition includes: the hop count between the target nodes on both sides of the target edge, and the hop count is a positive integer equal to or greater than 0.

[0025] In some embodiments of the present application, the reachability constraint condition includes: a weight;

[0026] Correspondingly, the pattern graph also includes weights corresponding to each of the target edges; and the data graph also includes weights corresponding to each of the edges.

[0027] In some embodiments of the present application, the target blockchain abnormal transaction behavior includes: abnormal transaction behavior of the first blockchain;

[0028] Correspondingly, the categories to which the target nodes in the pattern diagram of abnormal transaction behavior of the first blockchain belong include: wallet address, recharge address, collection address, precipitation address and withdrawal address;

[0029] The pattern diagram for abnormal transaction behavior of the first blockchain includes: a first target vertex of the wallet address, a second target vertex of the recharge address, a third target vertex of the collection address, a fourth target vertex of the extraction address, and a fifth target vertex of the wallet address, which are sequentially connected via target edges, and the third target vertex is also connected to a sixth target vertex of the deposit address;

[0030] The hop counts between the first target vertex and the second target vertex, between the second target vertex and the third target vertex, between the third target vertex and the fourth target vertex, and between the fourth target vertex and the fifth target vertex are all 1, and the hop count between the third target vertex and the sixth target vertex is 1.

[0031] In some embodiments of the present application, the target blockchain abnormal transaction behavior includes: a second blockchain abnormal transaction behavior;

[0032] Correspondingly, the categories to which the target nodes in the pattern diagram of abnormal transaction behavior of the second blockchain belong include: wallet addresses and abnormal transaction addresses;

[0033] The pattern diagram for abnormal transaction behavior of the second blockchain includes: a seventh target vertex of the wallet address, an eighth target vertex of the abnormal transaction, and a ninth target vertex of the wallet address, which are sequentially connected via target edges, and the eighth target vertex is also provided with a target edge pointing to itself;

[0034] The number of hops between the seventh target vertex and the eighth target vertex, and between the eighth target vertex and the ninth target vertex are both 0 or 1;

[0035] The number of hops between the eighth target vertex and itself is a positive integer equal to or greater than 0.

[0036] Another aspect of the present application provides a blockchain abnormal transaction behavior identification device based on pattern matching, comprising:

[0037] A data graph construction module, used to take each node in the target blockchain transaction network as a vertex, set edges between different nodes according to the transaction association relationship between different nodes, and set the category corresponding to each of the vertices according to the role type to which each node belongs, so as to obtain a data graph consisting of vertices of each category and at least one edge;

[0038] A pattern matching module is used to perform pattern matching on the data graph based on a pattern graph for abnormal transaction behavior of a target blockchain, wherein the pattern graph includes a plurality of target vertices showing the category to which they belong, at least one target edge connecting different target vertices, and reachability constraints for the target edges; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network.

[0039] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for identifying abnormal blockchain transaction behavior based on pattern matching when executing the computer program.

[0040] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for identifying abnormal blockchain transaction behavior based on pattern matching.

[0041] The fifth aspect of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for identifying abnormal blockchain transaction behavior based on pattern matching.

[0042] The method for identifying abnormal transaction behavior of blockchain based on pattern matching provided by the present application takes each node in the target blockchain transaction network as a vertex, sets edges between different nodes according to the transaction association relationship between different nodes, and sets the categories corresponding to each of the vertices according to the role type to which each node belongs, so as to obtain a data graph composed of vertices of each category and at least one edge; performs pattern matching on the data graph based on a pattern graph for abnormal transaction behavior of the target blockchain, wherein the pattern graph contains multiple target vertices showing the category to which it belongs, at least one target edge connecting different target vertices, and reachability constraints for the target edges; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as the abnormal transaction behavior identification result data of the target blockchain transaction network, which can effectively improve the efficiency of abnormal transaction behavior identification of blockchain, improve the degree of automation and intelligence of the abnormal transaction behavior identification process of blockchain, effectively reduce the labor cost and computational complexity of identification, and effectively improve the flexibility, accuracy and reliability of abnormal transaction behavior identification of blockchain.

[0043] Additional advantages, purposes, and features of the present application will be partially described in the following description, and will become partially apparent to those skilled in the art after studying the following, or may be learned from the practice of the present application. The purposes and other advantages of the present application can be achieved and obtained by the structures specifically pointed out in the specification and the drawings.

[0044] Those skilled in the art will understand that the purposes and advantages that can be achieved by the present application are not limited to the above specific description, and the above and other purposes that can be achieved by the present application will be more clearly understood based on the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings described herein are used to provide a further understanding of the present application, constitute a part of the present application, and do not constitute a limitation of the present application. The components in the drawings are not drawn to scale, but are only for the purpose of illustrating the principles of the present application. In order to facilitate the illustration and description of some parts of the present application, the corresponding parts in the drawings may be enlarged, that is, they may become larger relative to other components in the exemplary device actually manufactured according to the present application. In the drawings:

[0046] Figure 1 This is a schematic diagram of the fund management model corresponding to company C1.

[0047] Figure 2 This is a schematic diagram of the fund management model corresponding to company C2.

[0048] Figure 3 A schematic diagram for identifying a subgraph in a data graph that matches the fund management model corresponding to company C2.

[0049] Figure 4 This is a schematic diagram of the first flow chart of a method for identifying abnormal transaction behavior in blockchain based on pattern matching in one embodiment of the present application.

[0050] Figure 5 This is a second flow chart of a method for identifying abnormal blockchain transaction behavior based on pattern matching in one embodiment of the present application.

[0051] Figure 6 This is a third flow chart of a method for identifying abnormal blockchain transaction behavior based on pattern matching in one embodiment of the present application.

[0052] Figure 7 Schematic diagram of the comparison between the pattern graph in an example of the present application and the successfully matched data graph and the matched and identified data graph.

[0053] Figure 8 This is a schematic diagram of an example of this application Schematic diagram of .

[0054] Fig. 9 This is a data diagram in an example of this application Schematic diagram of .

[0055] Fig.10 This is a schematic diagram of a pattern diagram of abnormal transaction behavior of the first blockchain in one embodiment of the present application.

[0056] Fig.11 This is a schematic diagram of a pattern diagram for abnormal transaction behavior of the second blockchain in one embodiment of the present application.

[0057] Fig.12 This is a schematic diagram of the structure of a device for identifying abnormal transaction behavior in blockchain based on pattern matching in one embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the implementation modes and the accompanying drawings. Here, the illustrative implementation modes and descriptions of the present application are used to explain the present application, but are not intended to limit the present application.

[0059] It should also be noted here that in order to avoid obscuring the present application due to unnecessary details, only the structures and / or processing steps closely related to the scheme according to the present application are shown in the accompanying drawings, while other details that are not very relevant to the present application are omitted.

[0060] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.

[0061] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0062] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0063] In order to solve the problems existing in the existing methods of changing the eye features of characters in videos, such as being unable to simultaneously reduce the computational complexity and ensure the accuracy, flexibility and efficiency of identifying abnormal transaction behaviors in blockchains, the embodiments of the present application respectively provide a method for identifying abnormal transaction behaviors in blockchains based on pattern matching, a device for identifying abnormal transaction behaviors in blockchains based on pattern matching, a physical device and a computer-readable storage medium for executing the method for identifying abnormal transaction behaviors in blockchains based on pattern matching, which can improve the accuracy, flexibility and efficiency of identifying abnormal transaction behaviors in blockchains without adopting an artificial intelligence model.

[0064] The details are described in detail through the following examples.

[0065] First, let's take a look at some examples:

[0066] Hypothetical Company Running a business, company They are both operating a certain business, and they all use blockchain as a tool for fund management. Since their fund management methods are different, the graph structure may be very different. Figure 1 The model shown represents the company Corresponding fund management methods, such as Figure 2 The model shown represents the company Corresponding fund management methods. For companies , its fund management model is as follows:

[0067] 1) After receiving the funds through the fund receiving address, the funds are traded to different addresses of the Finance Department for statistics.

[0068] 2) After the financial staff has completed the statistics, they will collect the funds to a single address in the Finance Department.

[0069] 3) The Finance Department will submit the collected funds to the Legal Department for review.

[0070] 4) The funds will be handed over to the Finance Department after review by the Legal Department.

[0071] For Companies , its fund management model is as follows:

[0072] 1) After receiving the funds through the fund receiving address, the funds will be traded to the Legal Department for review.

[0073] 2) The funds will be handed over to the Finance Department after review by the Legal Department.

[0074] Assuming the company is known and Company management mode, then given any data graph formed by transactions, such as Figure 3 As shown, a blockchain abnormal transaction behavior recognition method based on pattern matching can be designed to identify whether there is a pattern matching pattern in the data graph that matches the company's and Company A subgraph of one of the two money management modes.

[0075] In this application, the method of describing a certain type of graph structure is called a pattern, and the process of finding a pattern in a given graph is called pattern matching.

[0076] Based on this, the embodiment of the present application provides a method for identifying abnormal blockchain transaction behavior based on pattern matching, which can be implemented by a device for identifying abnormal blockchain transaction behavior based on pattern matching. Figure 4 The method for identifying abnormal transaction behavior in blockchain based on pattern matching specifically includes the following contents:

[0077] Step 100: Take each node in the target blockchain transaction network as a vertex, set the edges between different nodes according to the transaction association relationship between different nodes, and set the category corresponding to each of the vertices according to the role type to which each node belongs, so as to obtain a data graph consisting of vertices of each category and at least one edge.

[0078] In one or more embodiments of the present application, the data graph is used as a topological structure graph, in which the vertices can be represented by graphics such as circles, and the role type described by the vertex can be marked on the vertex. The role type refers to the role of the node corresponding to the vertex in the blockchain transaction. Each node can be divided into roles according to the type of blockchain transaction, such as: transaction aggregation node, transaction initiation node, and transaction acceptance node, etc. In the process of setting the categories corresponding to each of the vertices according to the role type of each node, the category and the role type are completely corresponding and are uniquely identified by the node address. For example, if the role type of a node is a collection node, when the collection node is used as a vertex, its category is the address of the node as a collection node, that is, the collection address.

[0079] The edges (which can be represented by arrows) in the data graph are used to connect different nodes or the same node, that is, an arrow pointing from a node can point to the node again.

[0080] Step 200: Pattern matching is performed on the data graph based on a pattern graph for abnormal transaction behavior of the target blockchain, wherein the pattern graph includes multiple target vertices that display the category to which they belong, at least one target edge connecting different target vertices, and reachability constraints for the target edges; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network.

[0081] In one or more embodiments of the present application, the type of pattern diagram may include a plurality of pattern diagrams for different types of abnormal blockchain transaction behaviors, and these pattern diagrams may be manually set in advance and may be modified, deleted or added at any time. The target blockchain abnormal transaction behavior in step 200 refers to the type of abnormal blockchain transaction behavior to be identified currently specified by the user.

[0082] In an embodiment of the present application, the target blockchain abnormal transaction behavior may include: abnormal transaction behavior of the first blockchain and abnormal transaction behavior of the second blockchain. In other words, the method for identifying abnormal blockchain transaction behavior based on pattern matching involved in the present application is mainly used to combat abnormal transaction behavior of the first blockchain and abnormal transaction behavior of the second blockchain.

[0083] Among them, the abnormal transaction behavior of the first blockchain includes: identification of abnormal financial transactions or fund aggregation behaviors with illegal tendencies.

[0084] The second blockchain abnormal transaction behavior includes: transaction identification of drugs that may be abused (illegal use), etc.

[0085] In one or more embodiments of the present application, the target vertex in the pattern graph refers to the vertex in the pattern graph, which is only used to distinguish the vertices in the data graph; the target edge in the pattern graph refers to the edge in the pattern graph, which is only used to distinguish the edges in the data graph. That is, the target edge and the edge can be expressed in the same form, and the target vertex and the vertex can also be expressed in the same form.

[0086] It should also be noted that the subgraph refers to a part of the data graph, which at least needs to include the target vertex and target edge specified by the pattern graph and satisfy the reachability constraints for the target edge in the pattern graph. In certain specific scenarios, the subgraph can also be the entire data graph, depending on the actual situation of the pattern graph and the data graph.

[0087] In order to further improve the efficiency and intuitiveness of the blockchain abnormal transaction behavior identification process based on pattern matching, in one embodiment of the present application, different categories can be represented by different filling colors. For example, a vertex filled with green can represent a vertex whose category is a fund receiving address; a vertex filled with blue can represent a vertex whose category is a finance department address; a vertex filled with purple can represent a vertex whose category is a legal department address.

[0088] Specifically, the pattern matching process in the pattern matching-based blockchain abnormal transaction behavior identification method provided in the embodiment of the present application is implemented based on the reachability principle. In graph theory, reachability refers to the existence of a reachable link between two vertices. In this application, it is also defined as a graph, formally expressed as ,in is the vertex set containing each target vertex, is the edge set containing each target edge, is a vertex set type map containing the categories to which each of the target vertices belongs, is an edge set constraint mapping containing reachability constraints for each target edge. , which defines the pattern The categories of each vertex in , these categories have the same effect as filling the vertices mentioned above. , which defines the pattern The reachability constraints for each target edge in .

[0089] From the above description, it can be seen that the blockchain abnormal transaction behavior identification method based on pattern matching provided in the embodiment of the present application can effectively improve the efficiency of blockchain abnormal transaction behavior identification, can improve the degree of automation and intelligence of the blockchain abnormal transaction behavior identification process, can effectively reduce the labor cost and computational complexity of identification, and can effectively improve the flexibility, accuracy and reliability of blockchain abnormal transaction behavior identification.

[0090] In order to further improve the accuracy and reliability of pattern matching in the process of identifying abnormal transaction behaviors of blockchain based on pattern matching, in a method for identifying abnormal transaction behaviors of blockchain based on pattern matching provided in an embodiment of the present application, see Figure 5 , step 200 in the method for identifying abnormal blockchain transaction behavior based on pattern matching specifically includes the following contents:

[0091] Step 210: According to the category to which each of the target vertices in the pattern graph belongs, search for vertices of the same category as that to which each of the target vertices belongs in the data graph, and add the vertices of the same category as that to which each of the target vertices belongs to the likelihood sets corresponding to each of the target vertices, respectively.

[0092] Step 220: If the likelihood sets corresponding to the target vertices are not empty sets, then according to the reachability constraints for the target edges in the pattern graph, reachability matching is performed on the vertices in the likelihood sets corresponding to the target vertices.

[0093] Step 230: If a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network.

[0094] In order to further improve the accuracy and reliability of pattern matching in the process of identifying abnormal transaction behaviors of blockchain based on pattern matching, in a method for identifying abnormal transaction behaviors of blockchain based on pattern matching provided in an embodiment of the present application, see Figure 6 , step 220 in the method for identifying abnormal blockchain transaction behavior based on pattern matching specifically includes the following contents:

[0095] Step 221: If the likelihood sets corresponding to the target vertices are not empty sets, different target vertices are selected in turn in the pattern graph as the current starting vertices, and the preset reachability matching steps are performed for each starting vertex to update the likelihood sets corresponding to the target vertices and the preset decision queue; wherein the decision queue is used to store the target vertices corresponding to the other likelihood sets except the reduced likelihood set of the current vertex.

[0096] Step 222: Execute the preset iterative matching step for the current judgment queue until it is determined that the judgment queue is empty, and then determine whether the likelihood sets corresponding to each of the current target vertices are not empty sets. If so, execute step 223; if not, it means that the data graph does not contain a subgraph that satisfies the pattern graph, and execute step 300.

[0097] Step 223: Based on the likelihood sets corresponding to the current target vertices, search the data graph for a subgraph that matches the pattern graph.

[0098] Step 300: Output a notification message indicating that there is currently no abnormal transaction behavior in the target blockchain transaction network.

[0099] In order to further improve the accuracy and reliability of pattern matching in the process of identifying abnormal transaction behaviors of blockchain based on pattern matching, in a method for identifying abnormal transaction behaviors of blockchain based on pattern matching provided in an embodiment of the present application, the iterative matching step in step 222 of the method for identifying abnormal transaction behaviors of blockchain based on pattern matching specifically includes the following contents:

[0100] Step 01: Determine whether the determination queue is empty; if not, execute step 02; if so, exit the iterative matching step.

[0101] Step 02: Select different target vertices in the current determination queue in turn as the current starting vertices, and execute the preset reachability matching step for each starting vertex to update the likelihood set corresponding to each target vertex and the preset determination queue again.

[0102] In order to further improve the accuracy and reliability of pattern matching in the process of identifying abnormal transaction behaviors of blockchain based on pattern matching, in a method for identifying abnormal transaction behaviors of blockchain based on pattern matching provided in an embodiment of the present application, step 221 in the method for identifying abnormal transaction behaviors of blockchain based on pattern matching and the iterative matching step in step 02 specifically include the following contents:

[0103] Step 001: Determine whether each of the vertices in the likelihood set corresponding to the current starting vertex satisfies the reachability constraint condition of the target edge associated with the starting vertex;

[0104] If yes, retaining each of the vertices in the likelihood set corresponding to the starting vertex;

[0105] If there is a vertex in the likelihood set corresponding to the starting vertex that does not satisfy the reachability constraint condition of the target edge associated with the starting vertex, then delete the vertex in the likelihood set corresponding to the starting vertex;

[0106] Step 002: adding the target vertices corresponding to the likelihood sets other than the likelihood set with reduced internal vertices to a preset determination queue.

[0107] In order to further improve the accuracy and reliability of pattern matching in the process of identifying abnormal transaction behaviors of blockchain based on pattern matching, in a method for identifying abnormal transaction behaviors of blockchain based on pattern matching provided in an embodiment of the present application, the reachability constraint condition may include: a hop count constraint condition;

[0108] The hop count constraint condition includes: the hop count between the target nodes on both sides of the target edge, and the hop count is a positive integer equal to or greater than 0.

[0109] In order to further improve the accuracy and reliability of pattern matching in the process of identifying abnormal transaction behaviors of blockchain based on pattern matching, in a method for identifying abnormal transaction behaviors of blockchain based on pattern matching provided in an embodiment of the present application, the reachability constraint condition may include: weight;

[0110] Correspondingly, the pattern graph also includes weights corresponding to each of the target edges; and the data graph also includes weights corresponding to each of the edges.

[0111] It can be understood that, based on the above embodiments, in a method for identifying abnormal blockchain transaction behavior based on pattern matching provided in an embodiment of the present application, the reachability constraint condition may include a hop count constraint condition and a weight.

[0112] In a specific example, see Figure 7 In this pattern graph, there are three categories of target vertices, expressed as the first category (which can be filled with red), the second category (which can be filled with green), and the third category (which can be filled with blue). In this pattern graph, there are three target edges, and the reachability constraints of each target edge are given by For example, the reachability constraint corresponding to the target edge between the first category target vertex and the second category target vertex is the hop count constraint, which is specifically expressed as , which means that the number of hops from the second category target vertex to the first category target vertex must be 1. Similarly, This means that the number of hops from the first category target vertex to the third category target vertex can be 0 hops or 1 hop. 0 hops means that the target vertices on both sides of the target edge are allowed to be unreachable.

[0113] in, Only type mapping is done on vertices, so its structure is very simple and can be formally expressed as:

[0114] ;

[0115] is an object that maps keys to values. It refers to the unique identifier of the target vertex, which can be referred to as vertex id; It refers to the unique identifier of the category, which can be referred to as the category id; that is, the above formula maps the vertex id and the category id.

[0116] The role of is to impose reachability constraints on the target edge, which can be structurally expressed as:

[0117] ;

[0118] It refers to the unique identifier of the target edge, which can be referred to as edge id; Maps edge ids and constraints. It is a constraint expression of type string, which describes how the target edge is constrained and has a specific syntax, which can be called constraint syntax.

[0119] The following is the constraint syntax:

[0120] 1) Data types: integer, floating-point, Boolean, and the corresponding constant types (integer constant, floating-point constant, Boolean constant).

[0121] 2) is a constraint constant pronoun, representing the number of hops in the current path; Represents the weight of the current path. is an integer type, Any of the above data types.

[0122] 3) Fully adopt the logical operators and precedence order in C language.

[0123] 4) The preference for strongly typed syntax means that implicit conversion between different types is usually not provided. However, there are exceptions. When dealing with integers and floating-point types, integers are always implicitly converted to floating-point types.

[0124] 5) Constraint expression, whose return value must be Boolean.

[0125] The following example explains in detail the constraint expression formed according to the constraint grammar.

[0126]

[0127] In the first expression In the representation, the target vertices on both sides of a target edge in the pattern graph correspond to the vertices in the data graph. And weight The pattern will be considered matched successfully only when "&&" is a symbol used in programming, indicating logical (conditional) and.

[0128]

[0129] In the second expression In the example, it indicates that the target vertices on both sides of a target edge in the pattern graph correspond to the vertices in the data graph. Only when the number of hops is 1 or 2 and the weight is 7 will be considered a successful pattern match.

[0130] In a specific example, the data graph Is a graph to be matched, defined as The definition data graph With pattern diagram The definition of is similar, it is worth noting that the data graph In , is a mapping from edge to weight, that is, the mapping determines the weight of each edge, where Represents the weight of the edge.

[0131] In order to further illustrate the above solution, the present embodiment also provides a specific application example of the pattern matching algorithm in the method for identifying abnormal transaction behavior of blockchain based on pattern matching. In this application example, the core method of the matching algorithm is the process of creating contradictions, resolving contradictions, and finally eliminating contradictions. Given a pattern diagram , a data graph , the algorithm can find the data graph The matching pattern diagram The largest subgraph of .

[0132] by Figure 8 and Fig. 9Taking the example, the operation process of the pattern matching algorithm in the blockchain abnormal transaction behavior identification method based on pattern matching provided in the embodiment of the present application is explained.

[0133] S1. In the data graph In, according to , traverse the data graph All vertices in the category and pattern graph Vertices of the same category are included The likelihood set corresponding to each target vertex in is shown in Table 1.

[0134] Table 1

[0135]

[0136] Among them, A, B and C represent different types of target vertices, C1 and C2 represent two different vertices of the same category as the target vertex C; B1 represents the same category as the target vertex B; A1 and A2 represent two different vertices of the same category as the target vertex A.

[0137] S2. Discover contradictions and resolve them. The categories corresponding to all vertices of At Where the expression is inconsistent. For example, It expresses that the shortest distance from the target vertex C to the target vertex B must be 3. And in In the example, it is obvious that the shortest distance from A2 to B1 is 2, so A2 must be excluded from the likelihood set of the target vertex A. The deletion process is the process of resolving the contradiction. However, the reason why B1 is not excluded is that the matching combination of A1 and B1 can satisfy , but A2 cannot find any matching combination in the likelihood set of target vertex B, so A2 is deleted. The specific meaning and solution principle of the contradiction are given below. For a vertex , if there are n vertices point to , then n edges are formed and recorded as , n≥4. Then for each edge, each vertex in its corresponding likelihood set is Each vertex in the corresponding likelihood set is matched one by one to determine whether the constraint expression on each edge is satisfied. For vertices that are not matched successfully, the solution to the contradiction is to delete the unmatched vertices in the likelihood set.

[0138] For pointing Each table in may have The likelihood set of is deleted, and the process is performed on each edge in turn. Points to m vertices The same is true for the case of Direction, in this case, refers to the direction of Direction, generally choose to enter when running this algorithm direction.

[0139] S3. For each Run the above process for each vertex in . During each run, if the likelihood set of a vertex changes, all vertices pointed to by the vertex and all vertices pointing to the vertex are put into the decision queue.

[0140] S4. Run the above process for the vertices in the decision queue until the decision queue is empty. The likelihood set at this time is all the vertices in the matched maximum subgraph. The update process of the likelihood set is as follows:

[0141] Initially, the judgment queue = [], as shown in Table 2:

[0142] Table 2

[0143]

[0144] Traversal The likelihood set corresponding to the target vertex C (all meet), the judgment queue = [], as shown in Table 3:

[0145] Table 3

[0146]

[0147] Traversal The likelihood set corresponding to the target vertex B is determined by the queue = [B, C], as shown in Table 4:

[0148] Table 4

[0149]

[0150] Traversal The likelihood set corresponding to the target vertex A (all meet, A has no input), the judgment queue = [B, C], as shown in Table 5:

[0151] Table 5

[0152]

[0153] The traversal is completed. At this time, the judgment queue is not empty, and the judgment queue begins to be processed.

[0154] deal with The likelihood set corresponding to the target vertex B (all meet), the judgment queue = [C], as shown in Table 6:

[0155] Table 6

[0156]

[0157] deal with The likelihood set corresponding to the target vertex C is determined by the queue = [B, A], as shown in Table 7:

[0158] Table 7

[0159]

[0160] deal with The likelihood set corresponding to the target vertex B (all meet), the judgment queue = [A], as shown in Table 8:

[0161] Table 8

[0162]

[0163] deal with The likelihood set corresponding to the target vertex A (all meet), the judgment queue = [], as shown in Table 9:

[0164] Table 9

[0165]

[0166] At this point, the judgment queue is empty, and the likelihood set is the final matching result.

[0167] In order to further improve the recognition accuracy and efficiency of abnormal transaction behavior of the first blockchain, in the method for identifying abnormal transaction behavior of blockchain based on pattern matching provided in an embodiment of the present application, the abnormal transaction behavior of the target blockchain in the method for identifying abnormal transaction behavior of blockchain based on pattern matching includes: abnormal transaction behavior of the first blockchain;

[0168] Correspondingly, the categories to which the target nodes in the pattern diagram of abnormal transaction behavior of the first blockchain belong include: wallet address, recharge address, collection address, sedimentation address and withdrawal address.

[0169] The pattern diagram for abnormal transaction behavior of the first blockchain includes: a first target vertex of the wallet address, a second target vertex of the recharge address, a third target vertex of the collection address, a fourth target vertex of the extraction address, and a fifth target vertex of the wallet address, which are sequentially connected via target edges, and the third target vertex is also connected to a sixth target vertex of the deposit address;

[0170] The hop counts between the first target vertex and the second target vertex, between the second target vertex and the third target vertex, between the third target vertex and the fourth target vertex, and between the fourth target vertex and the fifth target vertex are all 1, and the hop count between the third target vertex and the sixth target vertex is 1.

[0171] like Fig.10 As shown, when there is a data graph, the pattern graph for abnormal transaction behavior of the first blockchain provided in the embodiment of the present application can be applied to perform model matching, so as to discover the addresses and roles used by each blockchain node with abnormal transaction behavior of the first blockchain contained in the data graph.

[0172] In order to further improve the recognition accuracy and efficiency of abnormal transaction behavior of the second blockchain, in the method for identifying abnormal transaction behavior of blockchain based on pattern matching provided in an embodiment of the present application, the abnormal transaction behavior of the target blockchain in the method for identifying abnormal transaction behavior of blockchain based on pattern matching includes: abnormal transaction behavior of the second blockchain;

[0173] Correspondingly, the categories to which the target nodes in the pattern diagram of abnormal transaction behavior of the second blockchain belong include: wallet addresses and abnormal transaction addresses;

[0174] The pattern diagram for abnormal transaction behavior of the second blockchain includes: a seventh target vertex of the wallet address, an eighth target vertex of the abnormal transaction, and a ninth target vertex of the wallet address, which are sequentially connected via target edges, and the eighth target vertex is also provided with a target edge pointing to itself;

[0175] The number of hops between the seventh target vertex and the eighth target vertex, and between the eighth target vertex and the ninth target vertex are both 0 or 1;

[0176] The number of hops between the eighth target vertex and itself is a positive integer equal to or greater than 0.

[0177] like Fig.11 As shown, when there is a data graph, the pattern graph for abnormal transaction behavior of the second blockchain provided in the embodiment of the present application can be applied to perform model matching, so as to discover the addresses and roles used by each blockchain node with abnormal transaction behavior of the second blockchain contained in the data graph.

[0178] In summary, the method for identifying abnormal transaction behaviors in blockchain based on pattern matching provided in the embodiments of the present application applies constraint expressions in the matching expression to express the constraint conditions of the edges in the pattern graph, and provides the definition content of the constraint grammar and the pattern matching algorithm. The matching algorithm can identify the pattern graph from the data graph, which can reduce the labor cost of screening abnormal transaction behaviors and can partially replace manual analysis and judgment, thereby improving the efficiency of identifying abnormal transaction behaviors in blockchain based on pattern matching.

[0179] The present application also provides a pattern matching-based blockchain abnormal transaction behavior identification device for executing all or part of the pattern matching-based blockchain abnormal transaction behavior identification method, see Fig.12 The block chain abnormal transaction behavior identification device based on pattern matching specifically includes the following contents:

[0180] The data graph construction module 10 is used to take each node in the target blockchain transaction network as a vertex, set the edges between different nodes according to the transaction association relationship between different nodes, and set the category corresponding to each of the vertices according to the role type to which each node belongs, so as to obtain a data graph composed of vertices of each category and at least one edge.

[0181] The pattern matching module 20 is used to perform pattern matching on the data graph based on a pattern graph for abnormal transaction behavior of the target blockchain, wherein the pattern graph includes multiple target vertices that display the category to which they belong, at least one target edge connecting different target vertices, and reachability constraints for the target edges; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network.

[0182] The embodiment of the blockchain abnormal transaction behavior identification device based on pattern matching provided in the present application can be specifically used to execute the processing flow of the embodiment of the blockchain abnormal transaction behavior identification method based on pattern matching in the above-mentioned embodiment. Its functions will not be repeated here, and reference can be made to the detailed description of the above-mentioned blockchain abnormal transaction behavior identification method embodiment based on pattern matching.

[0183] The part of the abnormal transaction behavior identification of blockchain based on pattern matching by the abnormal transaction behavior identification device of blockchain based on pattern matching can be executed in the server or completed in the client device. It can be selected according to the processing capacity of the client device and the limitations of the user's usage scenario. This application is not limited to this. If all operations are completed in the client device, the client device may also include a processor for specific processing of abnormal transaction behavior identification of blockchain based on pattern matching.

[0184] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.

[0185] The server and the client device may communicate with each other using any suitable network protocol, including network protocols that have not yet been developed on the date of filing this application. The network protocols may include, for example, TCP / IP, UDP / IP, HTTP, HTTPS, etc. Of course, the network protocols may also include, for example, RPC (Remote Procedure Call Protocol) and REST (Representational State Transfer) protocols used on top of the above protocols.

[0186] From the above description, it can be seen that the pattern matching-based blockchain abnormal transaction behavior identification device provided in the embodiment of the present application can effectively improve the efficiency of blockchain abnormal transaction behavior identification, can improve the degree of automation and intelligence of the blockchain abnormal transaction behavior identification process, can effectively reduce the labor cost and computational complexity of identification, and can effectively improve the flexibility, accuracy and reliability of blockchain abnormal transaction behavior identification.

[0187] The embodiment of the present application also provides an electronic device, which may include a processor, a memory, a receiver and a transmitter, wherein the processor is used to execute the method for identifying abnormal blockchain transaction behavior based on pattern matching mentioned in the above embodiment, wherein the processor and the memory may be connected via a bus or other means, taking the bus connection as an example. The receiver may be connected to the processor and the memory via a wired or wireless manner.

[0188] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0189] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the blockchain abnormal transaction behavior identification method based on pattern matching in the embodiment of the present application. The processor executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory, that is, the blockchain abnormal transaction behavior identification method based on pattern matching in the above method embodiment is implemented.

[0190] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0191] The one or more modules are stored in the memory, and when executed by the processor, the method for identifying abnormal blockchain transaction behavior based on pattern matching in the embodiment is executed.

[0192] In some embodiments of the present application, the user equipment may include a processor, a memory, and a transceiver unit, which may include a receiver and a transmitter. The processor, memory, receiver, and transmitter may be connected through a bus system. The memory is used to store computer instructions, and the processor is used to execute the computer instructions stored in the memory to control the transceiver unit to send and receive signals.

[0193] As an implementation method, the functions of the receiver and the transmitter in the present application can be considered to be implemented through a transceiver circuit or a dedicated chip for transceiver, and the processor can be considered to be implemented through a dedicated processing chip, a processing circuit or a general chip.

[0194] As another implementation method, it is possible to use a general-purpose computer to implement the server provided in the embodiment of the present application, that is, to store the program code for implementing the functions of the processor, receiver, and transmitter in a memory, and the general-purpose processor implements the functions of the processor, receiver, and transmitter by executing the code in the memory.

[0195] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned method for identifying abnormal transaction behavior of blockchain based on pattern matching are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0196] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the method for identifying abnormal blockchain transaction behavior based on pattern matching.

[0197] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0198] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0199] In the present application, features described and / or illustrated for one embodiment may be used in the same manner or in a similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0200] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for identifying abnormal transaction behavior in blockchain based on pattern matching, characterized in that: include: Each node in the target blockchain transaction network is taken as a vertex, and edges between different nodes are set according to the transaction association relationship between different nodes, and categories corresponding to each of the vertices are set according to the role type to which each node belongs, so as to obtain a data graph consisting of vertices of each category and at least one edge; Pattern matching is performed on the data graph based on a pattern graph for abnormal transaction behavior of the target blockchain, wherein the pattern graph includes a plurality of target vertices showing the category to which the pattern graph belongs, at least one target edge connecting different target vertices, and reachability constraints for the target edges; if a subgraph matching the pattern graph is found in the data graph, the subgraph is extracted as abnormal transaction behavior identification result data of the target blockchain transaction network; The pattern matching of the data graph based on the pattern graph of abnormal transaction behavior of the target blockchain includes: According to the category to which each of the target vertices in the pattern graph belongs, searching in the data graph for vertices of the same category as that to which each of the target vertices belongs, and adding the vertices of the same category as that to which each of the target vertices belongs to the likelihood sets corresponding to each of the target vertices; If the likelihood sets corresponding to the target vertices are not empty sets, then according to the reachability constraint conditions for the target edge in the pattern graph, reachability matching is performed on the vertices in the likelihood sets corresponding to the target vertices; The performing reachability matching on vertices in the likelihood set corresponding to each of the target vertices according to the reachability constraint condition for the target edge in the pattern graph includes: Selecting different target vertices in the pattern graph in turn as current starting vertices respectively, and executing a preset reachability matching step for each starting vertex respectively, so as to update the likelihood sets corresponding to each of the target vertices and a preset determination queue; wherein the determination queue is used to store the target vertices corresponding to the other likelihood sets except the reduced likelihood set of the current vertex; Execute the preset iterative matching step for the current determination queue until it is determined that the determination queue is empty, and then judge whether the likelihood sets corresponding to the current target vertices are not empty sets. If so, search the data graph for a subgraph that matches the pattern graph based on the likelihood sets corresponding to the current target vertices. The iterative matching step comprises: Determine whether the determination queue is empty; If not, different target vertices are selected in turn from the current determination queue to serve as current starting vertices respectively, and a preset reachability matching step is performed for each starting vertex respectively, so as to update the likelihood sets corresponding to each target vertex and the preset determination queue again; The reachability matching step comprises: Determine whether each of the vertices in the likelihood set corresponding to the current starting vertex satisfies the reachability constraint condition of the target edge associated with the starting vertex; If yes, retaining each of the vertices in the likelihood set corresponding to the starting vertex; If there is a vertex in the likelihood set corresponding to the starting vertex that does not satisfy the reachability constraint condition of the target edge associated with the starting vertex, then delete the vertex in the likelihood set corresponding to the starting vertex; The target vertices corresponding to the likelihood sets other than the likelihood set with reduced internal vertices are added to a preset determination queue.

2. The method for identifying abnormal transaction behavior of blockchain based on pattern matching according to claim 1 is characterized in that: The reachability constraints include: hop count constraints; The hop count constraint condition includes: the hop count between the target nodes on both sides of the target edge, and the hop count is a positive integer equal to or greater than 0.

3. The method for identifying abnormal transaction behavior of blockchain based on pattern matching according to claim 1 or 2 is characterized in that: The reachability constraints include: weight; Correspondingly, the pattern graph also includes weights corresponding to each of the target edges; and the data graph also includes weights corresponding to each of the edges.

4. The method for identifying abnormal transaction behavior of blockchain based on pattern matching according to claim 2 is characterized in that: The target blockchain abnormal transaction behavior includes: abnormal transaction behavior of the first blockchain; Correspondingly, the categories to which the target nodes in the pattern diagram of abnormal transaction behavior of the first blockchain belong include: wallet address, recharge address, collection address, precipitation address and withdrawal address; The pattern diagram for abnormal transaction behavior of the first blockchain includes: a first target vertex of the wallet address, a second target vertex of the recharge address, a third target vertex of the collection address, a fourth target vertex of the extraction address, and a fifth target vertex of the wallet address, which are sequentially connected via target edges, and the third target vertex is also connected to a sixth target vertex of the deposit address; The hop counts between the first target vertex and the second target vertex, between the second target vertex and the third target vertex, between the third target vertex and the fourth target vertex, and between the fourth target vertex and the fifth target vertex are all 1, and the hop count between the third target vertex and the sixth target vertex is 1.

5. The method for identifying abnormal transaction behavior of blockchain based on pattern matching according to claim 2 is characterized in that: The abnormal transaction behavior of the target blockchain includes: abnormal transaction behavior of the second blockchain; Correspondingly, the categories to which the target nodes in the pattern diagram of abnormal transaction behavior of the second blockchain belong include: wallet addresses and abnormal transaction addresses; The pattern diagram for abnormal transaction behavior of the second blockchain includes: a seventh target vertex of the wallet address, an eighth target vertex of the abnormal transaction, and a ninth target vertex of the wallet address, which are sequentially connected via target edges, and the eighth target vertex is also provided with a target edge pointing to itself; The number of hops between the seventh target vertex and the eighth target vertex, and between the eighth target vertex and the ninth target vertex are both 0 or 1; The number of hops between the eighth target vertex and itself is a positive integer equal to or greater than 0.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for identifying abnormal blockchain transaction behavior based on pattern matching as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Abnormal account detection method and system based on frequent transaction mode

    CN110717828A

  • Block chain message transmission method and device, computer and readable storage medium

    CN111614761A

  • Block chain data tracking method and device and electronic equipment

    CN115049493A

  • Node number feature extraction method based on time sequence local bitcoin transaction graph

    CN115203503A

  • Block chain transaction originating node IP tracking method, risk monitoring method and device

    CN116389163A