β-QoM target fence coverage construction method for wireless video sensor networks

By constructing a β-QoM target fence in a wireless video sensor network, the problem of intrusion detection failure caused by insufficient captured image width is solved, achieving efficient intrusion monitoring effects, and improving node utilization and success rates.

CN117998287BActive Publication Date: 2024-09-03XIANYANG NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310608353.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-27
Publication Date
2024-09-03
Estimated Expiration
2043-05-27

AI Technical Summary

Technical Problem

In wireless video sensor networks, existing target fence construction methods cannot effectively solve the problem of intrusion detection failure caused by the small width of the captured image.

Method used

Using the wireless video sensor network β-QoM target fence coverage construction method, module one clears the counterclockwise neighbor set of the sensor node, module two establishes a network matrix of counterclockwise β neighbor relationships, and module three uses the Dijkstra algorithm to obtain the path and distance array. Module 4 searches for β-QoM target barriers in WVSN, and the pseudo code implements the construction of β-QoM target barriers.

Benefits of technology

The intrusion detection effect of WVSN target fence is significantly improved. The node utilization rate is higher than that of existing algorithms SPOC, SPIC and TBC. The smaller the β value, the higher the success rate and the fewer nodes it consists of, without affecting the quality of intrusion detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117998287B
    Figure CN117998287B
Patent Text Reader

Abstract

The present invention discloses a method for constructing a β-QoM target fence coverage of a wireless video sensor network, and relates to the field of wireless video sensor network coverage technology; the present invention includes module one, module two, module three and module four, and its pseudo code is as follows: Pseudo code: WβTBC Input: S (video sensor set in WVSN) Output: BS (β-QoM target fence set of WVSN); in view of the problem of intrusion detection failure caused by insufficient captured image width of the target fence in WVSN, the β-QoM target fence coverage of WVSN is constructed by the heuristic algorithm WβTBC to improve the intrusion detection performance. Simulation experiments show that the algorithm can construct an appropriate β-QoM target fence in WVSN, and the node utilization rate is higher than that of algorithms SPOC, SPIC and TBC. Under the premise of meeting the requirements of the intrusion image capture width, the smaller the β value, the higher the success rate of WβTBC in constructing the β-QoM target fence, and the fewer nodes that constitute the fence. Therefore, without affecting the quality of intrusion detection, the β value should be as small as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of wireless video sensor network coverage, in particular to a method for constructing β-QoM target fence coverage of a wireless video sensor network. Background Art

[0002] Coverage technology is a key technology to ensure the accuracy and integrity of information collection in wireless sensor networks (WSNs), and is also one of the important indicators of WSN service quality. Fence coverage is one of the important coverage technologies for WSNs, mainly used to detect illegal intrusions across the WSN coverage area. Target fence coverage mainly studies the construction of closed fences in the annular area around large monitoring objects, and is a new field of WSN fence coverage research.

[0003] Regarding the problem of closed fence coverage in annular areas, there are public literatures that propose to assume that there must be legal breakpoints in the annular area, and then convert the closed fence into a fence construction problem in a non-closed area for solution. In order to determine the legitimacy of intrusion in a ring WSN, another literature proposed that intrusions that are monitored k times from the outside to the inside by the WSN are defined as illegal intrusions, and on this basis, a strong k fence construction algorithm was proposed, which effectively filtered out illegal intrusions in the ring monitoring area; in order to solve the fence coverage problem of mountain wireless sensor networks in three-dimensional space, another literature proposed a ring fence construction algorithm based on equipotential areas, which effectively improved the quality of mobile target monitoring and trajectory tracking in complex terrain environments; in order to solve the multi-target fence coverage problem in the monitoring area, another literature proposed a distributed heuristic target fence construction algorithm TBC, which can merge multiple target fences to form a closed fence surrounding multiple targets, thus achieving good results in reducing the number of fence members and the amount of message exchange; there are also literatures that point out that the multi-target fence coverage problem in the WSN monitoring area is abstracted as the problem of solving the convex hull of a point set in a plane, and at the same time, an optimal merging algorithm for multi-target fences is proposed, which can achieve fence coverage of multiple targets in WSN at a very low cost, but these methods are not suitable for directional sensor networks.

[0004] Wireless visual sensor networks (WVSN) are a typical directional sensor network. There are relatively few studies on building target fences in WVSN. Based on the idea of ​​spiral scanning, some literature designs the spiral outer coverage (SPOC) and spiral inner coverage (SPIC) algorithms for constructing closed video fences, and constructs a closed video fence for monitoring illegal intrusion behaviors in the WVSN around the monitored object; for the construction problem of the rotatable WVSN target fence, some literature uses the virtual target fence construction method (VTBC) to achieve the target fence coverage of WVSN, and then proposes a distributed particle swarm optimization algorithm (D-PSO) to further optimize the coverage performance of the video fence; for the closed fence coverage problem in an environment with visual impairment, some literature proposes a method of moving some nodes in the WVSN to construct a closed fence with obstacle avoidance function around the monitored target. Other literature studies the target fence construction problem of WVSN, but does not put forward requirements for the quality of the image captured by the video sensor. Therefore, low-quality captured images will lead to failure of intrusion detection. In view of the above reasons, the inventor proposes a β-QoM target fence coverage construction method for wireless video sensor networks to solve the problem of failure of intrusion detection due to the small width of the captured image of the WVSN target fence. Summary of the invention

[0005] In order to build a WVSN that can monitor the target β -QoM target fence for intrusion detection, the object of the present invention is to provide a method for constructing β-QoM target fence coverage in a wireless video sensor network.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions: a method for constructing β-QoM target fence coverage in a wireless video sensor network, including module one, module two, module three and module four, wherein module one is used to clear the counterclockwise neighbor set of all sensor nodes, module two searches for the counterclockwise β neighbors for each node, and establishes the adjacency matrix of the network according to the counterclockwise β neighbor relationship of the node, module three uses the Dijkstra algorithm to obtain the path array and distance array of the network, and module four searches for the β-QoM target fence in the WVSN according to the path array and the distance array, and its pseudo code is as follows:

[0007] Pseudo code: WβTBC

[0008] Input: S (the video sensor set in WVSN)

[0009] Output: BS (β-QoM target fence set of WVSN)

[0010] 1) Initialization: BS=, matrix[][], path[][], dis[][],f=false

[0011] 2) while true do

[0012] 3) for i=1 to |S| do

[0013] 4) S i .cb = Ø; (S i .cb means S i The counterclockwise β neighbor set of

[0014] 5) end for

[0015] 6) for i=1 to |S| do

[0016] 7) for j=1 to |S| do

[0017] 8) if(i!=j) then

[0018] 9) if(S j YesS i The counterclockwise β neighbor of

[0019] 10) S i .cb= S i .cb∪{S j}

[0020] 11) matrix[i][j]=1

[0021] 12) else

[0022] 13) matrix[i][j]=∞

[0023] 14) endif

[0024] 15) else

[0025] 16) matrix[i][j]=0

[0026] 17) endif

[0027] 18) endfor

[0028] 19) endfor

[0029] 20) f=false

[0030] 21) Dijkstra(matrix, path, dis)

[0031] 22) for i=1 to |S| do

[0032] 23) for each V∈S i .cb do

[0033] 24) shortestpath=searchpath(V, S i , path, dis)

[0034] 25) if(shortestpath!= Ø) then

[0035] 26) f=true

[0036] 27) BS = BS ∪ {shortestpath}

[0037] 28) S=S-{shortestpath}

[0038] 29) break

[0039] 30) endif

[0040] 31) endfor

[0041] 32) if f is true then break endif

[0042] 33) endfor

[0043] 34) if f is false then

[0044] 35) break

[0045] 36) endif

[0046] 37) endwhile

[0047] 38) return BS;

[0048] Among them, matrix is ​​the adjacency matrix, path is the path array, dis is the distance array, f is used to mark whether the β-QoM target fence is found, and Ø represents the empty set;

[0049] In pseudo code 23), V is used to traverse the variables of the sensors in Si.cb;

[0050] Pseudocode 24), searchpath(V, Si , path, dis) function is used to search from V to S i The shortest path and store it in shortestpath.

[0051] Preferably, the module 1 is lines 3)-5), which clears the counterclockwise neighbor sets of all sensor nodes, and the time complexity of this part is O(n).

[0052] Preferably, the module 2 is 6)-19) lines, and the adjacency matrix of the network is established according to the counterclockwise β neighbor relationship of the nodes. The time complexity of this part is O(n 2 ).

[0053] Preferably, the module three is 21) lines, and the time complexity of running the Dijkstra algorithm is O(n 2 ).

[0054] Preferably, the module four is lines 22)-33), searching for the β-QoM target fence in WVSN, and the time complexity of this part of the code is O(n).

[0055] Compared with the prior art, the present invention has the following beneficial effects:

[0056] In the present invention, a wireless video sensor network is used to solve the problem of intrusion detection failure caused by insufficient captured image width of the target fence in WVSN. β -QoM target barrier coverage heuristic algorithm W β TBC has been realized β The construction of the β-QoM target fence significantly improves the intrusion monitoring effect of the WVSN target fence. Simulation experiments show that the node utilization rate of the algorithm in constructing the β-QoM target fence in WVSN is higher than that of the algorithms SPOC, SPIC and TBC. On the premise that the width of the captured intruder image meets the requirements, the smaller the β value, the higher the success rate of WβTBC in constructing the β-QoM target fence, and the fewer nodes that constitute the fence. Therefore, without affecting the quality of intrusion detection, the β value should be as small as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0058] Figure 1 Schematic diagram of simulation results of the WβTBC algorithm of the present invention when the WVSN scale is 500.

[0059] Figure 2 Schematic diagram of the β-QoM region of the video sensor of the present invention.

[0060] Figure 3 Schematic diagram of the pseudo β-QoM target fence of the present invention.

[0061] Figure 4 Schematic diagram of the maximum angle and minimum angle of the counterclockwise β neighbors of the present invention.

[0062] Figure 5 This is a schematic diagram of the invention in which the sensor coverage area of ​​the counterclockwise β neighbors does not cross the X-axis.

[0063] Figure 6 It is a schematic diagram of the sensor coverage area of ​​the counterclockwise β neighbors across the X-axis of the present invention.

[0064] Figure 7 This is a comparison chart of the average number of nodes of the fence of the present invention.

[0065] Figure 8 This is a comparison chart of the success rate of fence construction according to the present invention.

[0066] Fig. 9 This is a comparison chart of the average number of fences constructed in the present invention.

[0067] Fig.10 A comparison chart of network scales at different stages of fence construction for the present invention.

[0068] Fig.11 This is a comparison chart of the success rate of β-QoM target fence construction for different β of the present invention.

[0069] Fig.12 This is a comparison chart of the average number of nodes of the β-QoM target fence for different β values ​​of the present invention. DETAILED DESCRIPTION

[0070] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0071] Example: Figure 1-12As shown, the present invention provides a method for constructing β-QoM target fence coverage in a wireless video sensor network, including module one, module two, module three and module four. Module one is used to clear the counterclockwise neighbor set of all sensor nodes. Module two searches for counterclockwise β neighbors for each node and establishes an adjacency matrix of the network according to the counterclockwise β neighbor relationship of the node. Module three uses the Dijkstra algorithm to obtain the path array and distance array of the network. Module four searches for the β-QoM target fence in the WVSN according to the path array and the distance array. The pseudo code is as follows:

[0072] Pseudo code: WβTBC

[0073] Input: S (the video sensor set in WVSN)

[0074] Output: BS (β-QoM target fence set of WVSN)

[0075] 1) Initialization: BS=, matrix[][], path[][], dis[][],f=false

[0076] 2) while true do

[0077] 3) for i=1 to |S| do

[0078] 4) S i .cb=Ø; (S i .cb means S i The counterclockwise β neighbor set of

[0079] 5) end for

[0080] 6) for i=1 to |S| do

[0081] 7) for j=1 to |S| do

[0082] 8) if(i!=j) then

[0083] 9) if(S j YesS i The counterclockwise β neighbor of

[0084] 10) S i .cb= S i .cb∪{S j}

[0085] 11) matrix[i][j]=1

[0086] 12) else

[0087] 13) matrix[i][j]=∞

[0088] 14) endif

[0089] 15) else

[0090] 16) matrix[i][j]=0

[0091] 17) endif

[0092] 18) endfor

[0093] 19) endfor

[0094] 20) f=false

[0095] 21) Dijkstra(matrix, path, dis)

[0096] 22) for i=1 to |S| do

[0097] 23) for each V∈S i .cb do

[0098] 24) shortestpath=searchpath(V, S i , path, dis)

[0099] 25) if(shortestpath!= Ø) then

[0100] 26) f=true

[0101] 27) BS=BS∪{shortestpath}

[0102] 28) S=S-{shortestpath}

[0103] 29) break

[0104] 30) endif

[0105] 31) endfor

[0106] 32) if f is true then break endif

[0107] 33) endfor

[0108] 34) if f is false then

[0109] 35) break

[0110] 36) endif

[0111] 37) endwhile

[0112] 38) return BS;

[0113] Among them, matrix is ​​the adjacency matrix, path is the path array, dis is the distance array, f is used to mark whether the β-QoM target fence is found, and Ø represents the empty set;

[0114] In pseudo code 23), V is used to traverse the variables of the sensors in Si.cb;

[0115] Pseudocode 24), searchpath(V, S i , path, dis) function is used to search from V to S i The shortest path and store it in shortestpath.

[0116] Module 1 consists of lines 3)-5), which clear the counterclockwise neighbor sets of all sensor nodes. The time complexity of this part is O(n).

[0117] Module 2 consists of lines 6)-19), which builds the adjacency matrix of the network based on the counterclockwise β neighbor relationship of the nodes. The time complexity of this part is O(n 2 ).

[0118] Module three is 21) lines, and the time complexity of running Dijkstra's algorithm is O(n 2 ).

[0119] Module 4 is lines 22)-33), which searches for the β-QoM target fence in WVSN. The time complexity of this part of the code is O(n).

[0120] By adopting the above technical solution, since the four modules are logically parallel, the time complexity of the algorithm WβTBC is its maximum value O(n 2 ), Matlab2012a is used to build a simulation experimental platform for β-QoM target fence coverage. The WVSN deployed around the monitored object is randomly and uniformly deployed. The relevant parameter settings of the experimental platform are shown in the following table.

[0121] Parameter name / unit value L / m 900 W / m 150 r / m 100 γ / ° 60 β / m 10~30 Network deployment scale / unit 100~1000

[0122] In the simulation experiment, the number of video sensors deployed in WVSN starts from 100 nodes, with a step size of 20, and gradually increases to 1000 nodes. In order to enhance the credibility of the experimental data, the same deployment scale has 30 different node layout schemes. The fence is constructed according to the method that the nodes in the established target fence no longer participate in the subsequent target fence search. Figure 1 When the deployment scale is 500 and β=20m, the WβTBC algorithm finds three independent β-QoM target fences in WVSN. Among them, the length of fence 1 in (a) (the number of nodes constituting the fence) is the shortest, so fence 1 is the optimal β-QoM target fence found under this layout;

[0123] In order to successfully construct the β-QoM target fence, the definition of the β-QoM area of ​​the video sensor is first proposed. Within the fan-shaped sensing area of ​​the video sensor, the distance to the two edges is greater than or equal to β / 2, and the distance to the sensor is less than or equal to The area is called the β-QoM area of ​​the video sensor, such as Figure 2 As shown, the shaded area is the β-QoM area of ​​the video sensor. If the β-QoM areas of video sensors S1 and S2 intersect, then sensors S1 and S2 are β neighbors. If all adjacent video sensors in the target fence are β neighbors, then the target fence must be a β-QoM target fence;

[0124] According to the β-neighbor relationship between nodes, the adjacency matrix of the network is established. Then, a pair of β-neighbor nodes (G, H) are randomly found in WVSN. The Dijkstra algorithm is used to find a shortest path starting from H and ending at G. The node sequence on the path is a β-QoM target fence. However, this method has loopholes, such as Figure 3 As shown in the figure, two closed fences are searched with S2 as the starting point and S1 as the end point. One of them surrounds the monitoring object, while the other closed fence composed of S2, S3, S4, S5, and S1 does not surround the monitoring object. This closed fence that does not surround the monitoring object is called a false β-QoM target fence.

[0125] The bidirectionality of the neighbor relationship between two sensor nodes with a β-neighbor relationship is the main reason for the generation of false β-QoM target fences. In order to ensure that the constructed β-QoM target fence can surround the monitored object, it is necessary to constrain the β-neighbor relationship between sensors to be unidirectional, so the concept of counterclockwise β-neighbors is proposed.

[0126] Taking the center of the monitored object as the origin, if sensors S1 and S2 are β-neighbors of each other and S1 appears in the counterclockwise direction of S2, then S1 is the counterclockwise β-neighbor of S2. Here, MaxA(S) and MinA(S) are used to represent the maximum angle and minimum angle of the coverage area of sensor S relative to the center of the monitored object respectively. To simplify the logic, the maximum angle of the sensor whose sensing area intersects with the positive X-axis should be greater than 360°, as Figure 4 shown;

[0127] Generally, if MaxA(S1)>MaxA(S2), then S1 is the counterclockwise β-neighbor of S2, as Figure 5 shown; but for the case where the coverage area of one sensor in the β-neighbors crosses the X-axis, if MinA(S1)≤MaxA(S2) Mod(360)<MaxA(S1), then S1 is the counterclockwise β-neighbor of S2, as Figure 6 shown; The adjacency matrix of WVSN established using the counterclockwise β-neighbors of video sensors destroys the generation conditions of the false β-QoM target fence, thus preventing the appearance of false β-QoM target fences;

[0128] It can be seen from the experimental data analysis that on the premise of successfully constructing a fence, the number of nodes required by the algorithm WβTBC is smaller, and it can save about 23.3%, 10.8% and 14.8% of the sensor nodes respectively compared with the algorithms SPOC, SPIC and TBC, as Figure 7 shown. This is mainly because the algorithm WβTBC uses the Dijkstra algorithm to search for the shortest β-QoM target fence in the network, while the spiral scanning strategies of the algorithms SPOC and SPIC mainly focus on the connectivity of the fence and do not consider the factor of the fence length; The fence constructed by the algorithm TBC is composed of four fence segments spliced together. Since no further optimization is done on the entire target fence, the length of the constructed target fence is relatively large. The node efficiency of the algorithm WβTBC improves the energy efficiency of the network and also extends the survival time of the network;

[0129] The fence construction success rate and the average number of constructed fences of the WβTBC algorithm are both lower than those of the algorithms SPOC and SPIC, but higher than those of the TBC algorithm, as Figure 8 and Fig. 9 shown. This is because the β-width constraint of the captured image results in a smaller selection range of video sensors for constructing the β-QoM target fence. Therefore, the success rate of fence construction and the average number of fences of WβTBC are lower than those of the algorithms SPOC and SPIC without image width requirements. For the TBC algorithm, since four initial nodes need to be found around the monitored target to construct the target fence, the search range of the target fence is limited, so the success rate of fence construction and the average number of fences are relatively low, Fig.10It shows that the network scales of the four algorithms that successfully build the fence for the first time are not much different, but the network scales of the first 100% successful fence construction are quite different. Under the constraint of β-QoM, the WβTBC algorithm is more efficient in building the target fence than the TBC algorithm.

[0130] As for the algorithm WβTBC itself, the algorithm performance is different under different β values. As the β value decreases, the success rate of building the β-QoM target fence increases ( Fig.11 As shown in the figure, this is because the smaller the β value is, the more counterclockwise β neighbors the video sensor may have, so the probability of successfully building a β-QoM target fence is greater, and the success rate of fence construction will naturally increase. In addition, when the network coverage area remains unchanged, as the number of deployed nodes increases, the node density increases, resulting in an increase in the number of counterclockwise β neighbors of the node, which increases the probability of successfully building a fence and also weakens the influence of the β value on the successful construction of the β-QoM target fence. Therefore, as the network node density increases, the success rate of building a β-QoM target fence continues to increase, while the influence of the β value on the successful construction of the fence gradually weakens.

[0131] Depend on Fig.12 It can be seen that the smaller the β value is, the fewer the average number of nodes that constitute the β-QoM target fence is, because the smaller the β value is, the two nodes with a β neighbor relationship may have a larger distance. Since the node sequence with a larger Euclidean distance is more advantageous in the Dijkstra algorithm, the smaller the β value is, the fewer nodes may form the β-QoM target fence.

[0132] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for constructing β-QoM target fence coverage in a wireless video sensor network includes module one, module two, module three and module four. Module one is used to clear the counterclockwise neighbor set of all sensor nodes. Module two searches for the counterclockwise β neighbors of each node and establishes the adjacency matrix of the network according to the counterclockwise β neighbor relationship of the node. Module three uses the Dijkstra algorithm to obtain the path array and distance array of the network. Module four searches for the β-QoM target fence in the WVSN according to the path array and the distance array. The method is characterized in that: The pseudo code is as follows: Pseudo code: WβTBC Input: S (the video sensor set in WVSN) Output: BS (β-QoM target fence set of WVSN) 1) Initialization: BS=, matrix[][], path[][], dis[][],f=false 2) while true do 3) for i=1 to |S| do 4) S i .cb=Ø;(S i .cb means S i The counterclockwise β neighbor set of 5) end for 6) for i=1 to |S| do 7) for j=1 to |S| do 8) if(i!=j) then 9) if(S j YesS i The counterclockwise β neighbor of 10) S i .cb= S i .cb∪{S j } 11) matrix[i][j]=1 12) else 13) matrix[i][j]=∞ 14) endif 15) else 16) matrix[i][j]=0 17) endif 18) endfor 19) endfor 20) f=false 21) Dijkstra(matrix, path, dis) 22) for i=1 to |S| do 23) for each V∈S i .cb do 24) shortestpath=searchpath(V, S i , path, dis) 25) if(shortestpath!= Ø) then 26) f=true 27) BS = BS ∪ {shortestpath} 28) S=S-{shortestpath} 29) break 30) endif 31) endfor 32) if f is true then break endif 33) endfor 34) if f is false then 35) break 36) endif 37) endwhile 38) return BS; Among them, matrix is ​​the adjacency matrix, path is the path array, dis is the distance array, f is used to mark whether the β-QoM target fence is found, and Ø represents the empty set; In pseudo code 23), V is used to traverse the variables of the sensors in Si.cb; Pseudocode 24), searchpath(V, S i , path, dis) function is used to search from V to S i The shortest path and store it in shortestpath.

2. The method for constructing β-QoM target barrier coverage in a wireless video sensor network according to claim 1, characterized in that: The module 1 is lines 3)-5), which clears the counterclockwise neighbor sets of all sensor nodes. The time complexity of this part is O(n).

3. The method for constructing β-QoM target barrier coverage in a wireless video sensor network according to claim 1, characterized in that: The module 2 is 6)-19) lines, which builds the adjacency matrix of the network according to the counterclockwise β neighbor relationship of the nodes. The time complexity of this part is O(n 2 ).

4. The method for constructing β-QoM target barrier coverage in a wireless video sensor network according to claim 1, characterized in that: The module three is 21) lines, and the time complexity of running Dijkstra's algorithm is O(n 2 ).

5. The method for constructing β-QoM target barrier coverage in a wireless video sensor network according to claim 1, characterized in that: The module four is lines 22)-33), which searches for the β-QoM target fence in WVSN. The time complexity of this part of the code is O(n).