Propagation tracing method and device based on high-order Markov

By constructing a high-order network and propagation model, calculating the likelihood estimation function value of the propagation path, and determining the network propagation source node, the problem of failing to effectively utilize the high-order Markov properties in the existing technology is solved, and the traceability of network propagation sources is improved. Accuracy.

CN118214671BActive Publication Date: 2024-10-01NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies fail to effectively consider high-order Markov properties in network propagation traceability, resulting in the propagation path dependency effect being underutilized and affecting the accuracy of traceability.

Method used

By obtaining network propagation data of multiple propagation paths, a high-order network based on high-order Markov is constructed, sensor nodes are set up, and the likelihood estimation function values ​​of all nodes are calculated based on the arrival time of the propagation model from any node to the sensor node. The node with the largest likelihood estimation function value is determined to be the source node.

Benefits of technology

It improves the accuracy of network propagation traceability, reflects the high-order Markov nature of propagation, avoids information ignored in the first-order Markov process, and enhances the consideration of path dependence effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118214671B_ABST
    Figure CN118214671B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a propagation tracing method and device based on high-order Markov, the method comprising: obtaining network propagation data including multiple propagation paths, and constructing a high-order network based on high-order Markov propagation according to the network propagation data; constructing a propagation model of the high-order network; setting multiple sensor nodes in the high-order network, and obtaining the probability estimation function value of all nodes in the network being source nodes according to the arrival time of propagation from any node in the high-order network to each sensor node based on the propagation model of the high-order network; determining the node with the largest probability estimation function value as the source node of network propagation. In the above manner, the embodiment of the present invention can reflect the high-order Markov property of propagation in the network structure, and can improve the accuracy of network propagation tracing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of network technology, and in particular to a propagation tracing method and device based on high-order Markov. Background Art

[0002] The widespread use of the Internet and social media has brought us great convenience, but it has also exposed us to a large amount of false information and malicious attacks. Accurately locating the source of harmful transmission is crucial to blocking the transmission from the root. How to find the source of rumor spreading on the Internet? How to find the culprit of Internet virus transmission on the Internet? These questions can be summarized as the node tracing problem. For harmful transmission, we can accurately locate the transmission source and formulate effective strategies to control it in time to prevent the further expansion of transmission and loss. Many scholars have conducted in-depth research on the node tracing problem. For example, it is proposed to use rumor centrality to locate the transmission source on the tree network. Later, some scholars improved the method so that it can be applied to general graphs and local rumor centrality, enriching the use scenarios of the algorithm. In view of the limitations of information acquisition, it is unrealistic to obtain the state changes of all network nodes. In this context, node tracing problems based on snapshots and sensor observations have been proposed one after another. For example, the node with the largest Jordan centrality of the transmission graph is the source node to be located. Based on the time and direction information sent back by the sensor, a maximum likelihood estimation (MLE) method for locating the source node is proposed. Some scholars have also explored the node traceability problem from the perspective of network topology such as time series networks and multi-layer networks.

[0003] The propagation process on which the existing methods are based implies the first-order Markov assumption, that is, when selecting the node for the next propagation, only the current node is considered, and the nodes passed in the previous steps are not considered. However, the actual propagation path on the network does not conform to the first-order Markov assumption. For example, in the travel path, passengers starting from city A will return to city A with a greater probability after going to city B; in the process of information dissemination, it is more inclined to spread within the community rather than across communities; in the paper citation network, there are also cases where citations flow back to the original journal. These phenomena all prove that when conducting complex network dynamics analysis, it is not enough to start from the current node alone, but also necessary to take into account the information of the previous node, which reflects the high-order Markov property of network propagation.

[0004] Node tracing is the inverse problem of network communication. Accurate modeling of the network communication process helps to better locate the source of communication. Scholars have gradually discovered that modeling the network communication process as a first-order Markov process ignores a lot of information. The existing path dependency effect does not take the path dependency effect into account in the network topology, and there are deficiencies in node tracing. The topological structure often has a significant impact on the accuracy of tracing. Summary of the invention

[0005] In view of the above problems, an embodiment of the present invention provides a propagation tracing method and device based on a high-order Markovian source, which overcomes the above problems or at least partially solves the above problems.

[0006] According to one aspect of an embodiment of the present invention, a propagation tracing method based on high-order Markov is provided, the method comprising: acquiring network propagation data including multiple propagation paths, and constructing a high-order network based on high-order Markov propagation according to the network propagation data; constructing a propagation model of the high-order network; setting multiple sensor nodes in the high-order network, and obtaining a possibility estimation function value of all nodes in the network being source nodes according to the arrival time of propagation from any node in the high-order network to each sensor node based on the propagation model of the high-order network; and determining the node with the largest possibility estimation function value as the source node of the network propagation.

[0007] Optionally, constructing a high-order network based on high-order Markov propagation according to the network propagation data includes: extracting frequent rules of each propagation path according to the network propagation data, the frequent rules including the order rules of each propagation path involved in the network propagation data and the corresponding number of occurrences; reconstructing the high-order network based on high-order Markov propagation according to the extracted frequent rules.

[0008] Optionally, the extracting of frequent rules of each propagation path based on the network propagation data includes: counting the number of nodes in each propagation path in the network propagation data to determine the order rule of the propagation path, and counting the number of times the order rule occurs; for any of the order rules, counting the transfer probability distribution of the second to last node in the order rule; comparing the difference in probability distribution before and after the order rule increases, if the difference is greater than a dynamic threshold, increasing the order of the order rule, otherwise maintaining the original order rule.

[0009] Optionally, reconstructing a high-order network based on high-order Markov propagation according to the extracted frequent rules includes: converting all first-order frequent rules into network edges; converting high-order frequent rules into network edges and creating high-order nodes; connecting edges to the newly created high-order nodes; and redirecting edges to nodes of the highest order.

[0010] Optionally, the high-order nodes in the high-order network are split into multiple high-order memory nodes, and the construction of the propagation model of the high-order network includes: for any high-order node in the high-order network, any high-order memory node in the high-order node is infected; according to the connection strength between the high-order memory nodes, the infected high-order memory node is synchronized to other high-order memory nodes of the high-order node; and the propagation continues from the infected high-order node along the path included in the high-order network.

[0011] Optionally, the propagation model based on the high-order network obtains the possibility estimation function value of all nodes in the network being source nodes according to the time information from any node in the high-order network to each sensor node, including: taking any node as the source node, and recording the arrival time propagated from the source node to each sensor node based on the propagation model of the high-order network; taking the sensor node with the earliest arrival time as the benchmark, calculating the delay time of each of the other sensor nodes to obtain a delay vector; obtaining a standardized delay covariance matrix, in which any element value in the standardized delay covariance matrix is ​​the size of the intersection of the shortest paths of the sensor node corresponding to the row number and the sensor node corresponding to the column number with the benchmark sensor node respectively; calculating the expectation of the difference in the shortest path length from the network node to the non-benchmark sensor node and the benchmark sensor node to obtain the expected vector; and calculating the possibility estimation function value of all nodes in the network according to the delay vector, the standardized delay covariance matrix and the expected vector.

[0012] Optionally, the calculating the possibility estimation function value of the source node according to the delay vector, the standardized delay covariance matrix, and the expected vector includes: calculating the possibility estimation function value F(s) of the source node according to the delay vector, the standardized delay covariance matrix, and the expected vector by applying the following relationship:

[0013]

[0014] Where Λ is the normalized delay covariance matrix, d is the delay vector, μ s is the expected vector corresponding to the source node s.

[0015] Based on the same inventive concept, a propagation tracing device based on high-order Markov is provided, including: a high-order network construction unit, used to obtain network propagation data including multiple propagation paths, and construct a high-order network based on high-order Markov propagation according to the network propagation data; a propagation model construction unit, used to construct a propagation model of the high-order network; a possibility estimation unit, used to set multiple sensor nodes in the high-order network, and based on the propagation model of the high-order network, obtain the possibility estimation function value of all nodes in the network being source nodes according to the arrival time of propagation from any node in the high-order network to each of the sensor nodes; a source node determination unit, used to determine the node with the largest possibility estimation function value as the source node of network propagation.

[0016] Based on the same inventive concept, an embodiment of the present invention further proposes 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 aforementioned method when executing the program.

[0017] Based on the same inventive concept, an embodiment of the present invention further proposes a computer storage medium, in which at least one executable instruction is stored, and the executable instruction enables a processor to execute the aforementioned method.

[0018] The embodiment of the present invention obtains network propagation data including multiple propagation paths, and constructs a high-order network based on high-order Markov propagation according to the network propagation data; constructs a propagation model of the high-order network; sets multiple sensor nodes in the high-order network, and obtains the possibility estimation function value of all nodes in the network being source nodes based on the arrival time of propagation from any node in the high-order network to each sensor node based on the propagation model of the high-order network; determines the node with the largest possibility estimation function value as the source node of network propagation, which can reflect the high-order Markov property of propagation in the network structure and improve the accuracy of network propagation tracing.

[0019] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0021] Figure 1 A schematic diagram of a process flow of a high-order Markov-based propagation tracing method provided by an embodiment of the present invention is shown;

[0022] Figure 2 A schematic diagram of high-order Markov characteristics in propagation in an embodiment of the present invention is shown;

[0023] Figure 3 A schematic diagram of constructing a high-order network in an embodiment of the present invention is shown;

[0024] Figure 4 A schematic diagram of the propagation process in the HON according to an embodiment of the present invention is shown;

[0025] Figure 5 A schematic diagram showing a comparison of nodes on FON and HON in an embodiment of the present invention is shown;

[0026] Figure 6 A schematic diagram showing comparison of node tracing results of FON and HON in an embodiment of the present invention is shown;

[0027] Figure 7 A schematic diagram showing the sensitivity experiment results of the indicator parameters in the embodiment of the present invention is shown;

[0028] Figure 8 A schematic diagram showing the gap analysis between FON and HON in a sensitivity experiment in an embodiment of the present invention is shown;

[0029] Fig. 9 The number of untraceable nodes and the parameters p and σ in the embodiment of the present invention are shown. 2 、M 2 Schematic diagram of the correlation between them;

[0030] Fig.10 A schematic diagram showing a comparison of sensor node activation time under different network construction modes in an embodiment of the present invention is shown;

[0031] Fig.11 A schematic diagram of the structure of a propagation tracing device based on high-order Markov provided in an embodiment of the present invention is shown;

[0032] Fig.12 A schematic diagram of an electronic device in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0033] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0034] Figure 1 FIG. 2 shows a flow chart of a high-order Markov-based propagation tracing method provided by an embodiment of the present invention. Figure 1 As shown, the propagation tracing method based on high-order Markov is applied to the server, and the propagation tracing method based on high-order Markov includes:

[0035] Step S11: Acquire network propagation data including multiple propagation paths, and construct a high-order network based on high-order Markov propagation according to the network propagation data.

[0036] The high-order Markov effect (or memory effect) in network communication. Figure 2 As shown in a, the original data contains two propagation paths, one starting from node A and the other starting from node B. Both propagation paths need to pass through node E. The path starting from node A will eventually reach node C, and the path starting from node B will eventually reach node D. Figure 2 In b, the path data is split into 4 segments of first-order edges and then reorganized into a first-order network (FON), and the second-order path information is lost. In the reconstructed first-order network, whether starting from node A or node B, after passing through node E, the probability of propagating to nodes C and D is 50%, thus generating propagation paths "A→E→D" and "B→E→C" that do not exist in the original path data. This subgraph shows that FON does not contain high-order path information. And in Figure 2 In c, consider the nodes before point E, split node E into two memory nodes, E|A and E|B, to distinguish between the two situations of starting from node A to reach node E and starting from node B to reach node E. At this time, the network is divided into two unconnected parts, the upper and lower parts, to achieve accurate restoration of the original propagation path. If the hub node E is split into multiple memory nodes, can the memory nodes maintain connection to achieve state synchronization? Previous scholars usually assumed that the memory nodes of the same node always maintain state synchronization when studying disease transmission, such as Figure 2 However, once the memory nodes E|A and E|B are synchronized, node A can infect node D through the path "A→E|A→E|B→D" (where the edge "E|A→E|B" is not a strict propagation relationship, but a state synchronization), which is consistent with Figure 2The "false" paths "A→E→D" that appear in a are the same, and are inconsistent with the original propagation path. Therefore, the embodiment of the present invention assumes that the memory nodes E|A and E|B are not connected, so that the propagation path starting from point A or point B will be consistent with the original path data. Considering the high-order Markov properties of the propagation path during network reconstruction can avoid the emergence of "false" paths that do not exist in the original path and more fully express the path information contained in the original data. In an embodiment of the present invention, by focusing on the situation where the memory nodes are not connected (e=0), it is assumed that for a node with multiple memory nodes, when one of the memory nodes is activated by propagation, the remaining memory nodes will not be activated at the same time.

[0037] In an embodiment of the present invention, the BuildHON+ algorithm is used to construct a high-order network. The input of the algorithm is the original path data, which is mainly divided into two steps: rule extraction and network reconstruction. The former step mainly completes the transformation of the initial sequence data into frequent rules, and the latter step mainly completes the transformation of frequent rules into high-order networks. Optionally, firstly, the frequent rules of each propagation path are extracted according to the network propagation data, and the frequent rules include the order rules of each propagation path involved in the network propagation data and the corresponding number of occurrences; then, the high-order network based on high-order Markov propagation is reconstructed according to the extracted frequent rules.

[0038] In the embodiment of the present invention, Figure 3 As shown, in the rule extraction stage, the original network propagation data is used to generate frequent rules. In the original propagation path, the meaning of each element is the individual infected during the propagation, which continues to propagate the information while receiving it. Optionally, the number of nodes in each propagation path in the network propagation data is first counted to determine the order rule of the propagation path, and the number of occurrences of the order rule is counted at the same time. The order rule is also called a pattern, and the first-order pattern, the second-order pattern and their number of occurrences are counted until the highest order MaxOrder. For a pattern with a unique transfer direction (such as Figure 3 In the example above, if the value is “25417→96954”, there is no need to further count its high-order patterns. This step corresponds to the UpdateCounter() function in the following Algorithm 1.

[0039] Then, for any of the order rules, the transition probability distribution of the second-to-last node in the order rule is counted. The calculation is based on the number of occurrences counted previously. This corresponds to the BuildDistribution() function in Algorithm 1. Then compare the difference in probability distribution before and after the order rule is increased. If the difference is greater than the dynamic threshold, the order of the order rule is increased, otherwise the original order rule is maintained. This corresponds to the GenerateRules() function in Algorithm 1. The difference in probability distribution is measured by the KL divergence, and the KL divergence D KL As shown below:

[0040]

[0041] Among them, D 1 represents the probability distribution of the current order rule, D 2 Represents the probability distribution of higher-order rules. The dynamic threshold δ is:

[0042]

[0043] Among them, Order ext Indicates the order of the rule after growth, support ext Indicates the number of occurrences of the rule after growth.

[0044] After obtaining the frequent rules, the network is reconstructed, mainly to complete the conversion of frequent rules to high-order networks. Among these frequent rules, there are first-order rules and high-order rules, which correspond to the RewireHON() function in Algorithm 1. Optionally, all first-order frequent rules are converted into network edges; high-order frequent rules are converted into network edges, and high-order nodes are created; edges are connected to the newly created high-order nodes, and the high-order nodes are split into multiple high-order memory nodes; the edges are redirected to the nodes with the highest order. Since the target nodes of the frequent rules are all first-order nodes, if there is a high-order node corresponding to the first-order node, the edges are redirected to the nodes with the highest order.

[0045] In an embodiment of the present invention, in the process of connecting the incoming edge to the newly created high-order node and redirecting the connecting edge to the node with the highest order, the high-order node in the high-order network is split into multiple high-order memory nodes, and the connection strength e between the multiple high-order memory nodes from which the high-order node is split is determined.

[0046] After the high-order network HON is constructed, the embodiment of the present invention further generates a corresponding first-order network FON based on the obtained high-order network HON, as shown in the HON2FON(HON) function in Algorithm 1.

[0047] Algorithm 1. High-order network HON construction and FON generation algorithm

[0048] Input: propagation path set, S; minimum sequence length, MinLen; maximum order of rules, MaxOrder; minimum

[0049] Occurrence frequency,MinSupport.

[0050] Output: The rule set extracted from the original data, R; The high-order network constructed according to the rule set, HON;

[0051] First-order network generated by HON,FON.

[0052]

[0053]

[0054] The above algorithm 1 only shows in detail the unique features of this paper that are different from the BuildHON algorithm, that is, the process of generating FON based on HON. The UpdateCounter(), BuildDistribution(), GenerateRules(), and RewireHON() functions are consistent with the BuildHON+ algorithm.

[0055] Step S12: constructing a propagation model of the high-order network.

[0056] In an embodiment of the present invention, optionally, for any high-order node in the high-order network, any high-order memory node in the high-order node is infected; the infected high-order memory node is synchronized to other high-order memory nodes of the high-order node according to the connection strength between the high-order memory nodes; and the virus continues to spread from the infected high-order node along the path included in the high-order network.

[0057] For a connected first-order network G = (V, E), V = {v 1 ,v 2 ,...,v M} is a point set containing M nodes. Correspondingly, the high-order network can be expressed as G H =(V H ,E H ), a high-order node set in is the node v in the first-order network G i The M formed after splitting i A collection of high-order memory nodes, namely:

[0058]

[0059] The reaction-synchronization-diffusion model is used to describe the propagation model in high-order networks. Figure 4 The propagation process in HON is shown, which is divided into e=0( Figure 4 a) and e=1( Figure 4 b) Two cases, where the propagation process on HON (e=1) is equivalent to the propagation process on FON. The propagation can be divided into three stages: reaction, synchronization, and diffusion. The following is a detailed description:

[0060] Reaction phase: Node E|A is infected (assuming infection probability p=1.0).

[0061] Synchronization phase: Figure 4 a and Figure 4 bThere is a significant difference in Figure 4 In a, the connection between memory node E|A and memory node E|B is weak (e=0), and information synchronization cannot be achieved. Figure 4 In b, the memory nodes E|A and E|B are strongly connected (e=1). E|B is synchronized with E|A through the instantaneous edge "E|A→E|B" and has the ability to infect other nodes, which can be described as:

[0062] for The states before the synchronization phase are S m ,S n , the states after the synchronization phase are S′ m ,S′ n When the connection strength between two points is mn = 0, the states of the two points remain unchanged, that is, S′ m =S m ,S′ n =S n When the connection strength between two points is mn =1, the state change satisfies:

[0063]

[0064] Among them, when the state variable takes a value of 0, it indicates a susceptible state, and when it takes a value of 1, it indicates an infected state.

[0065] Diffusion stage: Figure 4 In a, node E|A continues to propagate forward along the path "A→E|A→C". Figure 4 In b, in addition to spreading to node C through the propagation path "A→E|A→C", E|B now also has the ability to infect other nodes and can continue to spread to the downstream node D along the path "B→E|B→D".

[0066] Step S13: multiple sensor nodes are set in the high-order network, and based on the propagation model of the high-order network, the probability estimation function value of all nodes in the network being source nodes is obtained according to the arrival time propagated from any node in the high-order network to each sensor node.

[0067] When tracing the source of transmission on the high-order network HON, randomly select the source node of the transmission On the high-order network, it corresponds to a high-order memory node set On the first-order network FON corresponding to the high-order network, N sensor nodes are selected according to the principle of Betweenness Centrality:

[0068]

[0069] Thus, on the high-order network,

[0070]

[0071] Afterwards, the high-order network HON is composed of source nodes s 0 and When the sensor node receives the information, the sensor O i Corresponding to a high-order memory node set The time when different memory nodes receive information may vary. In this case, the information reception time displayed by the sensor node is the time when the information first arrives, that is, the time recorded by the memory node that first receives the information. That is, for the high-order network HON, the collected information is

[0072]

[0073] Thus, the estimated propagation source node on the high-order network HON is

[0074]

[0075] It is worth noting that the source node located in the high-order network HON is a high-order memory node, and finally its corresponding high-order node It is the real source node.

[0076] In the embodiment of the present invention, N sensor nodes are deployed in the high-order network to collect the arrival time of the propagation, and the sensor node that receives the information the earliest is selected as the benchmark. On this basis, other sensor nodes calculate the actual delay of the propagation arrival time to obtain the actual delay vector d, which has a length of N-1. For each source node s in the high-order network, the estimated delay [μ s ] i The calculation of is the expectation of the difference in the shortest path length from the source node s to the two sensors. For the normalized delay covariance matrix Λ s , the matrix elements are the size of the intersection of the shortest paths of the sensor nodes corresponding to the row numbers and the sensor nodes corresponding to the column numbers with the reference sensor nodes, respectively, which measures the degree of overlap of the shortest paths of the two sensor nodes with the reference sensor nodes. Assume that the propagation time delay variable along a single network edge conforms to the distribution θ~N(1,0.5 2 ), in order to ensure the non-negativity of the time delay variable, the delay of a single network edge is set to θ∈(0,2).

[0077] In step S13, optionally, any node is used as the source node, and the arrival time propagated from the source node to each of the sensor nodes is recorded based on the propagation model of the high-order network; the delay time of each of the other sensor nodes is calculated based on the sensor node with the earliest arrival time to obtain a delay vector; a standardized delay covariance matrix is ​​obtained, and any element value in the standardized delay covariance matrix is ​​the size of the intersection of the shortest paths of the sensor node corresponding to the row number and the sensor node corresponding to the column number with the reference sensor node; the expectation of the difference in the shortest path length from the network node to the non-reference sensor node and the reference sensor node is calculated to obtain an expected vector; the probability estimation function value of all nodes in the network is calculated based on the delay vector, the standardized delay covariance matrix and the expected vector. Specifically, the probability estimation function value F(s) of the node is calculated based on the delay vector, the standardized delay covariance matrix and the expected vector using the following relationship:

[0078]

[0079] Where Λ is the normalized delay covariance matrix, d is the delay vector, μ s is the expected vector corresponding to the source node s.

[0080] In the embodiment of the present invention, Figure 5 As shown, originally in FON( Figure 5 a) in the form of source nodes and sensor deployment nodes in HON ( Figure 5 b) will exist in the form of a memory node set. Table 1 shows the comparison of the propagation traceability of the high-order network HON and the first-order network FON. In FON, a sensor is deployed on a node, while in HON this node can be divided into multiple memory nodes. At this time, the sensor node records the earliest activation time of these memory nodes. For example, Figure 5 b. Sensor node O 2 The observation activation time will be and Therefore, in order to determine which memory node is activated, the direction of propagation arrival also needs to be collected.

[0081] Table 1 Propagation traceability of high-order network HON and first-order network FON

[0082]

[0083] Step S14: Determine the node with the largest value of the likelihood estimation function as the source node of network propagation.

[0084] In an embodiment of the present invention, in step S13, the corresponding possibility estimation function value obtained when each high-order memory node in the high-order network is used as the source node is calculated, and in step S14, the node with the largest possibility estimation function value is determined as the source node of network propagation.

[0085] The following is a performance evaluation of the propagation tracing method based on high-order Markov in the embodiment of the present invention. In order to explore the impact of the high-order Markov property of propagation on node tracing, two groups of experiments, FON and HON, were designed. Among them, HON is constructed by the BuildHON+ algorithm, and FON is generated by HON. As for the parameter settings of the BuildHON+ algorithm, the shortest sequence length MinLen=2, the maximum order of high-order rules MaxOrder=5, and the minimum number of occurrences MinSupport=100.

[0086] The generated HON contains 673 nodes (605 first-order nodes, 66 second-order nodes, and 2 third-order nodes), and the generated FON contains 605 nodes. The main network indicators of the generated HON and FON are shown in Table 2. The advantages of HON in network nodes and diameter reflect the growth of network scale, while FON has a shorter average path length, as well as higher global efficiency, local efficiency, and clustering coefficient, which all indicate that FON has higher connectivity performance.

[0087] Table 2 Descriptive statistics of HON and FON

[0088] HON FON Number of network nodes 673 605 Average shortest path length 7.7819 7.3258 Network diameter 20 17 Global network efficiency 0.1577 0.1667 Network local efficiency 0.0501 0.0609 Network clustering coefficient 0.0467 0.0555

[0089] Based on FON and HON, node tracing experiments are carried out respectively. First, the propagation source node s is randomly selected on the first-order network FON. 0 , which corresponds to the set of high-order memory nodes on the high-order network HON According to the principle of Betweenness Centrality, N sensors O = {O 1 ,O 2 ,...,O N}, select the same position on HON to place the sensor The first-order network FON and the higher-order network HON start from the source node s 0 and When a node is activated by the propagation, it will propagate the information to all adjacent nodes at the next moment. The sensor node collects information inf and inf during the propagation process. H , locate the source node by maximum likelihood estimator and When the sensor receives information, a sensor O on the FON i Corresponds to only one node It is only necessary to record the time when the node receives the information. That is, for FON, the collected information is

[0090] inf={O i =t i},i=1,2,...,N.

[0091] We use two indicators to evaluate the node tracing results. The first is the average precision, which measures the degree of consistency between the estimated source node and the actual source node, and can quantify the effect of node tracing.

[0092]

[0093] Among them, TP i When the estimated source node matches the actual source node (for FON, For HON, ) is equal to 1, FP i When the estimated source node does not match the actual source node, it is equal to 1, and n = |V| is the number of experiments, that is, the average is taken after traversing each node in the network.

[0094] Another metric is the Credible Set Size (CSS). α , which means that when the confidence level is α, in order to include the actual source nodes, how many nodes need to be determined as estimated source nodes in descending order of likelihood.

[0095] In the basic experiment, the infection probability p and the variance σ of the edge time delay distribution are set to p = 0.5 and σ 2 = 0.25, all high-order nodes are retained (M 2 =100%). The sensor density varies in the range of 5% to 25%. Figure 6 As shown in the figure, the horizontal axis is the sensor density and the vertical axis is the average accuracy. Whether it is FON or HON, as the sensor density increases, the average accuracy gradually increases, and CSS α The overall trend is downward because more sensors often mean more propagation information can be obtained.

[0096] The results on HON show a higher average precision ( Figure 6 a) and lower CSS α ( Figure 6b) When 5% of the nodes are selected to place sensors, the positioning accuracy based on HON reaches 20%, while the positioning accuracy based on FON is about 15%, with a difference of 5%. As the sensor density increases, the gap between FON and HON becomes larger and larger. Finally, when the sensor density increases to 25%, the gap is about 10%. For CSS α , lower index values ​​mean better performance. CSS on HON α The value has always remained below 100 and is significantly lower than that on FON. Therefore, it can be preliminarily concluded that by revealing the high-order Markov property of the propagation path and reconstructing the propagation path as HON instead of FON, the propagation source can be located more accurately.

[0097] In the embodiment of the present invention, the infection probability p and the delay distribution variance σ are further calculated. 2 and the proportion of high-order nodes M 2 The sensitivity experiment design and results are shown in Figure 7 a- Figure 7 f, the gap analysis between FON and HON in the sensitivity experiment is shown in Figure 8 As shown. Figure 8 a, 8c and 8e show the infection probability p, the delay distribution variance σ, respectively. 2 and the proportion of high-order nodes M 2 When changing, the difference between the average accuracy on HON and the average accuracy on FON is subtracted. Figure 8 b, 8d and 8f show the CSS on FON respectively. α Minus the CSS on HON α The infection probability p significantly affects the performance of sensor activation and source localization. In the basic experiment, the infection probability p is 0.5, that is, the susceptible node near the infected node has a 50% probability of being infected at the next moment. Afterwards, the cases of low infection probability (p = 0.2) and high infection probability (p = 0.8) are considered. Figure 8 As shown in a, with the increase of the probability of infection, the advantage of HON over FON in average accuracy further expands. α In general, the increase in infection probability p does not necessarily lead to a further expansion of the advantage. The gap when p = 0.5 is even greater than the gap when p = 0.8. This is because whether it is HON or FON, when the infection probability p is large, CSS α The values ​​of FON are small (FON is less than 100, HON is less than 50).

[0098] The change of delay distribution has little effect on the performance of sensor activation and source localization. Figure 7As shown in Figure 2, with the increase of sensor density, the average accuracy increases from 20% to about 35% on HON and from 15% to about 25% on FON. α , HON maintains a persistent advantage over FON at every sensor density level. Figure 8 c and Figure 8 In d, there are only slight differences among the three curves.

[0099] The proportion of high-order nodes has an impact on the gap between FON and HON. Figure 8 e and Figure 8 As shown in Fig. 5, the three curves in the figure represent different proportions of high-order nodes in the retained network, which are 20%, 50% and 100% respectively. Obviously, a higher proportion brings better performance, and the gap further widens with the increase of sensor density.

[0100] It should be noted that in Figure 8 In b, when the sensor density is not less than 10%, the difference between FON and HON at p = 0.2 is negative, which means that the CSS on HON at this time α The value is even larger than FON. In fact, for some nodes in the network, when these nodes are selected as propagation sources, the propagation range is extremely limited, resulting in insufficient number of activated sensors. Insufficient activated sensors will further cause a large number of suspected sources or tracing failures, so these nodes are named non-traceable nodes. Fig. 9 As shown in Figure 2, the number of untraceable nodes increases as the infection probability p decreases, but is similar to the parameter σ. 2 and M 2 There is no linear relationship. When there are too many untraceable nodes in a network, the node tracing algorithm will be as inefficient as random guessing, and HON will lose its advantage over FON. At the same time, HON has more nodes than FON, which eventually leads to its CSS α Larger.

[0101] In order to further explain the above results, an example is constructed. This example contains three paths, defined as the original path set P raw ={A→E→C,B→E→D,A→B}, assuming that the time delay of each step of propagation is one second. Figure 2 The path “A→B” is to ensure that the entire graph will not be split into two disconnected parts after considering high-order Markov propagation (which will bring some inconvenience to the node tracing task).

[0102] The propagation paths and expected activation times are different under FON and HON. Fig.10 In the FON structure shown in a, the shortest paths from source node A to nodes B, C, and D are "A→B", "A→E→C", and "A→E→D", respectively, and the expected activation times of the three sensor nodes are [1, 2, 2]. Fig.10 In c, the HON structure with strong connection of memory nodes (e=1) is shown. In this case, node E is split into two memory nodes, E|A and E|B. The edge between the two is instantaneous, that is, the two memory nodes can achieve state synchronization without time delay. The activation time of the sensor is consistent with FON, which is also [1,2,2]. That is, HON and FON are equivalent in the case of strong connection. Fig.10 b shows the HON structure of weakly connected memory nodes (e=0), and it can be found that the activation time of sensor nodes B and C has not changed. However, for sensor node D, due to the disconnection between memory nodes E|A and E|B, the original propagation path of "A→E|A→E|B→D" is blocked, and the propagation path is changed to "A→B→E|B→D". The extension of the propagation path delays the expected activation time of sensor node D by one second, and the final expected activation time of the three sensor nodes is [1,2,3].

[0103] It can be seen that the real activation time of the sensor node can be calculated through the original path data. Node B is activated in the first second through "A→B", node C is activated in the second second through "A→E→C", and node D is activated in the third second through "A→B" and "B→E→D", that is, the real activation time is [1,2,3]. The activation time under the FON and HON (e=1) structures is deviated, while the HON (e=0) structure can accurately predict the activation time.

[0104] In FON, the propagation path set between the propagation source A and each sensor is

[0105]

[0106] in And cannot be raw The multiple paths in are concatenated to obtain the path is a "false path" that does not exist in the original path dataset. After FON is equivalent to HON (e = 1), the path "A → E → D" passes through the delay-free edge "E|A → E|B" between the memory nodes, and shortens the distance between the source node A and the sensor node D through this delay-free edge. However, in HON (e = 0), the propagation path from the source node A to the sensor node D is "A → B → E | B → D", which is determined by P rawThe paths "A→B" and "B→E→D" in the figure are connected without any error. and path These two paths exist in the original path dataset, so there is no activation time error.

[0107] In FON, information propagates along the shortest path, thus ignoring the high-frequency paths reflected in the original path dataset, which are not necessarily the shortest paths. HON directly models these high-frequency paths in the network topology, so that the shortest path in HON itself contains high-frequency path information. Therefore, HON has an advantage over FON in restoring the propagation path in the original path dataset. This is also the fundamental reason why HON performs better than FON in the node tracing task.

[0108] The embodiment of the present invention introduces the high-order Markov property of the propagation path into the node traceability, establishes a node traceability framework on the high-order network, can reflect the high-order Markov property of propagation in the network structure, helps to more accurately estimate the activation time of the sensor and the propagation source node, and can better perform the node traceability task compared with the first-order network FON.

[0109] In summary, the propagation tracing method based on high-order Markov in the embodiment of the present invention obtains network propagation data including multiple propagation paths, and constructs a high-order network based on high-order Markov propagation according to the network propagation data; constructs a propagation model of the high-order network; sets multiple sensor nodes in the high-order network, and obtains the possibility estimation function value of all nodes in the network being source nodes based on the arrival time of propagation from any node in the high-order network to each sensor node based on the propagation model of the high-order network; determines the node with the largest possibility estimation function value as the source node of network propagation, which can reflect the high-order Markov property of propagation in the network structure and improve the accuracy of network propagation tracing.

[0110] The above specific embodiments of the present invention are described. In some cases, the actions or steps recorded in the embodiments of the present invention can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0111] Based on the same concept, the embodiment of the present invention also provides a propagation tracing device based on high-order Markov. Applied to the server. Fig.11 As shown, the propagation tracing based on high-order Markov includes: a high-order network construction unit, a propagation model construction unit, a possibility estimation unit and a source node determination unit.

[0112] A high-order network construction unit, used to obtain network propagation data including multiple propagation paths, and construct a high-order network based on high-order Markov propagation according to the network propagation data;

[0113] A propagation model building unit, used to build a propagation model of the high-order network;

[0114] A possibility estimation unit, configured to set a plurality of sensor nodes in the high-order network, and obtain a possibility estimation function value of all nodes in the network being source nodes according to the arrival time propagated from any node in the high-order network to each of the sensor nodes based on the propagation model of the high-order network;

[0115] The source node determination unit is used to determine the node with the largest value of the possibility estimation function as the source node of the network propagation.

[0116] For the convenience of description, the above device is described as various modules according to their functions. Of course, when implementing the embodiment of the present invention, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0117] The device of the above embodiment is applied to the corresponding method in the above embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0118] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any one of the above embodiments is implemented.

[0119] An embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method described in any of the above embodiments.

[0120] Fig.12 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1201, a memory 1202, an input / output interface 1203, a communication interface 1204, and a bus 1205. The processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204 are connected to each other through the bus 1205 in the device.

[0121] The processor 1201 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided by the method embodiment of the present invention.

[0122] The memory 1202 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1202 may store an operating system and other application programs. When the technical solution provided by the method embodiment of the present invention is implemented by software or firmware, the relevant program code is stored in the memory 1202 and is called and executed by the processor 1201.

[0123] The input / output interface 1203 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0124] The communication interface 1204 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0125] The bus 1205 includes a path that transmits information between the various components of the device (eg, the processor 1201 , the memory 1202 , the input / output interface 1203 , and the communication interface 1204 ).

[0126] It should be noted that, although the above device only shows the processor 1201, the memory 1202, the input / output interface 1203, the communication interface 1204 and the bus 1205, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present invention, and does not necessarily include all the components shown in the figure.

[0127] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0128] This application is intended to cover all such substitutions, modifications and variations that fall within the broad scope of all embodiments. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the scope of protection of this disclosure.

Claims

1. A propagation tracing method based on high-order Markov, characterized in that: The method comprises: Acquire network propagation data including a plurality of propagation paths, and construct a high-order network based on high-order Markov propagation according to the network propagation data; constructing a propagation model of the high-order network; A plurality of sensor nodes are arranged in the high-order network, and based on the propagation model of the high-order network, a probability estimation function value of all nodes in the network being source nodes is obtained according to the arrival time propagated from any node in the high-order network to each of the sensor nodes; Determine the node with the largest value of the likelihood estimation function as the source node of network propagation; The step of constructing a high-order network based on high-order Markov propagation according to the network propagation data comprises: Extracting frequent rules of each propagation path according to the network propagation data, wherein the frequent rules include order rules of each propagation path involved in the network propagation data and corresponding occurrence times; Reconstructing a high-order network based on high-order Markov propagation according to the extracted frequent rules; The extracting of frequent rules of each propagation path according to the network propagation data includes: Counting the number of nodes in each propagation path in the network propagation data to determine the order rule of the propagation path, and counting the number of times the order rule occurs; For any of the order rules, counting the transition probability distribution of the penultimate node in the order rule; Compare the difference in probability distribution before and after the order rule is increased, if the difference is greater than the dynamic threshold, increase the order of the order rule, otherwise keep the original order rule; The step of reconstructing a high-order network based on high-order Markov propagation according to the extracted frequent rules comprises: Convert all first-order frequent rules into network edges; Convert high-order frequent rules into network edges and create high-order nodes; Connecting an incoming edge to the newly created high-order node; Redirect edges to the highest-degree node.

2. The method according to claim 1, characterized in that The high-order nodes in the high-order network are split into a plurality of high-order memory nodes, and the propagation model of the high-order network is constructed, including: For any high-order node in the high-order network, any high-order memory node in the high-order node is infected; Synchronize the infected high-order memory node to other high-order memory nodes of the high-order node according to the connection strength between the high-order memory nodes; The infection continues to spread from the infected high-order node along the path included in the high-order network.

3. The method according to claim 1, characterized in that The propagation model based on the high-order network obtains the possibility estimation function value of all nodes in the network being source nodes according to the time information from any node in the high-order network to each sensor node, including: taking any node as the source node, The propagation model based on the high-order network records the arrival time from the source node to each of the sensor nodes; Taking the sensor node with the earliest arrival time as a reference, calculating the delay time of each of the other sensor nodes to obtain a delay vector; Obtaining a standardized delay covariance matrix, wherein any element value in the standardized delay covariance matrix is ​​the size of the intersection of the shortest paths of the sensor node corresponding to the row number and the sensor node corresponding to the column number with the reference sensor node; Calculate the expectation of the difference in the shortest path length from the network node to the non-reference sensor node and the reference sensor node to obtain the expectation vector; The likelihood estimation function values ​​of all nodes in the network are calculated according to the delay vector, the normalized delay covariance matrix and the expectation vector.

4. The method according to claim 3, characterized in that: The calculating the possibility estimation function value of the source node according to the delay vector, the normalized delay covariance matrix and the expected vector comprises: The likelihood estimation function value of the source node is calculated by applying the following relation according to the delay vector, the normalized delay covariance matrix and the expected vector: : in, is the normalized delay covariance matrix, is the delay vector, For Node is the expected vector corresponding to the source node.

5. A propagation tracing device based on high-order Markov, characterized in that: The device comprises: A high-order network construction unit, used for acquiring network propagation data including a plurality of propagation paths, and constructing a high-order network based on high-order Markov propagation according to the network propagation data; A propagation model building unit, used to build a propagation model of the high-order network; A possibility estimation unit, configured to set a plurality of sensor nodes in the high-order network, and obtain a possibility estimation function value of all nodes in the network being source nodes according to the arrival time propagated from any node in the high-order network to each of the sensor nodes based on the propagation model of the high-order network; A source node determination unit, used to determine the node with the largest value of the likelihood estimation function as the source node of network propagation; The step of constructing a high-order network based on high-order Markov propagation according to the network propagation data comprises: Extracting frequent rules of each propagation path according to the network propagation data, wherein the frequent rules include order rules of each propagation path involved in the network propagation data and corresponding occurrence times; Reconstructing a high-order network based on high-order Markov propagation according to the extracted frequent rules; The extracting of frequent rules of each propagation path according to the network propagation data includes: Counting the number of nodes in each propagation path in the network propagation data to determine the order rule of the propagation path, and counting the number of times the order rule occurs; For any of the order rules, counting the transition probability distribution of the penultimate node in the order rule; Compare the difference in probability distribution before and after the order rule is increased, if the difference is greater than the dynamic threshold, increase the order of the order rule, otherwise keep the original order rule; The step of reconstructing a high-order network based on high-order Markov propagation according to the extracted frequent rules comprises: Convert all first-order frequent rules into network edges; Convert high-order frequent rules into network edges and create high-order nodes; Connecting an incoming edge to the newly created high-order node; Redirect edges to the highest-degree node.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.

7. A computer storage medium, characterized in that: The storage medium stores at least one executable instruction, and the executable instruction enables the processor to execute the method as described in any one of claims 1-4.