A Monte Carlo-based multi-dimensional reliability evaluation method and system for the Internet of Things
Through Monte Carlo simulation to evaluate the coverage and connectivity functions of the Internet of Things wireless sensor network, combined with energy consumption, it solves the problems of high complexity of reliability evaluation and simple models in the existing technology, and achieves accurate and efficient evaluation of the reliability of the Internet of Things. Evaluate.
Patent Information
- Application Number
- CN202410761551.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Existing reliability assessment methods for IoT wireless sensor networks are highly complex and difficult to apply to large-scale networks, and the coverage and connectivity models are simple and do not fully consider other factors that affect reliability, resulting in inaccurate reliability assessments.
A multi-dimensional evaluation method based on Monte Carlo simulation is used to evaluate the coverage and connectivity functions of the network by simulating four component fault states and working/sleep duty cycles of sensor nodes, and calculate the reliability of the network based on energy consumption.
It achieves a comprehensive, accurate and efficient assessment of the reliability of the Internet of Things, reduces computational complexity, is suitable for large-scale networks, and avoids deployment costs and failure risks caused by underestimating or overestimating reliability.
Smart Images

Figure CN118338334B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a Monte Carlo-based multi-dimensional reliability evaluation method and system for the Internet of Things. Background Art
[0002] Wireless Sensor Networks (WSNs) are widely used in key technology fields such as environmental monitoring, disaster warning, health care, national defense and military, surveillance systems and target tracking due to their advantages such as distribution, self-organization, dynamic topology, rapid deployment and low cost. It is considered to be one of the enabling technologies for realizing the Internet of Things (IoT) and plays a key role in detecting events and measuring physical or environmental phenomena of interest.
[0003] Network reliability is one of the core indicators for measuring the performance of the Internet of Things. Many important Internet of Things applications are mission-critical and have strict requirements for network reliability. It reflects the ability of the system to complete the specified task within the scheduled time under the specified conditions. Once the network fails and fails to detect the occurrence of events or phenomena in the target region of interest (RoI), it will have a serious impact. Therefore, reliability issues must be addressed during the design and deployment of the network.
[0004] Usually, a typical WSN is usually composed of a large number of cheap sensor nodes, which can achieve sensing coverage of target points or target areas through random or deterministic deployment. At the same time, the sensor nodes can transmit the sensed data to the aggregation node through single hop or multi-hop to complete monitoring tasks. Therefore, the reliability of a network can be evaluated mainly by judging whether it meets the coverage and connectivity functions. Most of the existing reliability evaluation methods are precise reliability evaluation methods, which have been proven to be NP-hard problems. With the increase of network scale, it is difficult to complete the evaluation and calculation of reliability in a short time. Moreover, most of the current work uses relatively simple coverage and connectivity models, without fully considering other factors affecting reliability, which may cause overestimation or underestimation of reliability and is not suitable for practical applications. Therefore, it is planned to target monitoring scenarios in key IoT applications, based on the Monte Carlo state simulation method, comprehensively consider energy consumption, coverage and connectivity functions, and realize accurate and efficient multi-dimensional evaluation of IoT reliability. Summary of the invention
[0005] In view of the technical problems existing in the prior art, the present invention provides a multi-dimensional reliability evaluation method and system for the Internet of Things based on Monte Carlo simulation, which are used to solve the defects of the prior art, such as relatively simple coverage and connectivity models, incomplete consideration of factors affecting reliability, high complexity of reliability evaluation algorithms and difficulty in applying to large-scale networks, so as to achieve comprehensive, accurate and efficient evaluation of the reliability of the Internet of Things.
[0006] According to a first aspect of the present invention, the present invention provides a multi-dimensional reliability evaluation method for the Internet of Things based on Monte Carlo simulation, comprising the following steps:
[0007] Step S1: input network deployment, initialize network node energy and node component failure probability, and establish a network model according to the IoT target point coverage scenario;
[0008] Step S2: simulating the node status in the network according to the node status probability distribution, and evaluating the network coverage function according to the trusted information coverage model to determine whether the network coverage function is satisfied;
[0009] Step S3, evaluating the network connectivity function based on the attenuated connectivity model of the signal to interference noise ratio to determine whether the network connectivity function is met;
[0010] Step S4: If the above conditions are met, it means that the current network state is available, the network node energy is updated, and it is determined whether the Monte Carlo state simulation is completed, and finally the network reliability is calculated.
[0011] Based on the above technical solution, the present invention can also make the following improvements.
[0012] Optionally, establishing a network model according to the IoT target point coverage scenario includes:
[0013] 1.1. Input the specific network deployment, determine the geographical location of the target area of interest, sensor nodes, aggregation nodes and target points, and determine the sensing radius, communication radius and initial energy of the sensor nodes; wherein the sensor nodes include a sensing unit, a communication unit, a processing unit and a battery unit;
[0014] 1.2. Determine the failure probability of the sensor node and calculate the state distribution probability based on the failure probability of the node components;
[0015] 1.3. The wireless sensor network composed of sensor nodes is modeled as an undirected graph based on the state distribution probability.
[0016] Optionally, simulating the node states in the network according to the node state probability distribution includes:
[0017] 2.1. Let all possible states in the network be represented by the set Indicates that the current state of the network is represented by the set Indicates that initialization and is an empty set, and then traverses each sensor node;
[0018] 2.2. According to the node status distribution probability, enumerate the status of the current node , the enumerated state Add to collection Among them, Including four states: ACTIVE, RELAY, SLEEP, and FAIL;
[0019] 2.3. Determine the current state of the network , and Add to collection middle.
[0020] Optionally, the state of the current node is enumerated according to the node state distribution probability. , the enumerated state Add to collection Included:
[0021] 2.2.1. Generate a random value from a uniform distribution , the range is ;
[0022] 2.2.2. Based on the randomly generated test value, the current node status Compare and directly sample to get the status of sensor nodes;
[0023] 2.2.3. Determine sensor nodes Current status .
[0024] Optionally, the state of the current node By comparison, direct sampling is performed to obtain the status of the sensor node, including:
[0025] Condition 1: If , then the sensor node In ACTIVE state;
[0026] Condition 2: If , then the sensor node In RELAY state;
[0027] Condition 3: If , then the sensor node In FAIL state;
[0028] Condition 4: If , then the sensor node In SLEEP state.
[0029] Optionally, the determining whether the coverage function of the network is satisfied includes:
[0030] 4.1. Variable Range The target area of interest is divided into multiple small squares as the side length, each small square is a reconstruction area, and the center of the square is the reconstruction point;
[0031] 4.2. Extract all reconstruction points in the reconstruction area and add them to the reconstruction point set to obtain the set of all reconstruction points ;
[0032] 4.3. Traversing the reconstruction point set , conduct credible information coverage assessment;
[0033] 4.4. After completing the traversal and evaluation calculation of all reconstruction points, the coverage matrix of all sensor nodes involved in covering the target point is obtained;
[0034] 4.5. According to the coverage matrix, if all target points are covered by credible information, the state is considered If the network under the condition satisfies the coverage function, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation.
[0035] Optionally, the determining whether a connectivity function of the network is satisfied includes:
[0036] 5.1. According to the coverage matrix, find and extract the set of sensor nodes that participate in covering the target point ;
[0037] 5.2. Calculate the Euclidean distance between the sensor nodes , and get the distance matrix ;
[0038] 5.3. Calculate the signal-to-interference-to-noise ratio between two communicating nodes ;
[0039] 5.4. Mapping SINR values to In the interval, the connectivity coefficient value between two communication nodes is obtained, and the connectivity coefficient matrix is formed ;
[0040] 5.5. Create a and Test matrices of equal size , whose elements are random test thresholds composition;
[0041] 5.6. Yes and Each corresponding element of is traversed and compared. If the connectivity coefficient between the two nodes is greater than the test threshold , that is Less than , and the node If the node is in ACTIVE or RELAY state and its remaining energy can support sending and receiving data, then the node is considered With Node Is connected, the two nodes can successfully communicate and assign values Otherwise, the communication is considered to have failed and the value is assigned ;
[0042] 5.7. After completing the traversal of the matrix elements, the resulting matrix That is the adjacency matrix of the network;
[0043] 5.8. Based on the adjacency matrix , calculate the shortest path between all nodes, and thus determine the set of all sensor nodes involved in covering the target point With the sink node connectivity between
[0044] 5.9. According to the operation results, if these nodes can be connected to the sink node, the state is considered The network under this condition satisfies the connectivity function, and the status If the network configuration is reliable, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation.
[0045] Optionally, updating the network node energy includes:
[0046] After determining whether the network configuration in the current state meets the coverage and connectivity functions, the remaining energy of each node is updated to simulate the energy consumed by nodes in the real network for perception and communication, and a round of Monte Carlo state simulation is ended.
[0047] Optionally, the determining whether the Monte Carlo state simulation is finished includes:
[0048] If the simulation round has not ended, return to step S2 to perform the next round of state simulation; otherwise, the simulation ends and proceeds to the next step.
[0049] According to a second aspect of the present invention, there is provided a multi-dimensional reliability evaluation system for the Internet of Things based on Monte Carlo simulation, comprising:
[0050] The network model building module is used to input the network deployment, initialize the network node energy and node component failure probability, and build the network model according to the IoT target point coverage scenario;
[0051] A network coverage function judgment module is used to simulate the node status in the network according to the node status probability distribution, and to evaluate the network coverage function according to the trusted information coverage model to determine whether the network coverage function is satisfied;
[0052] A network connectivity function judgment module is used to evaluate the network connectivity function based on the attenuation connectivity model of the signal-to-interference-noise ratio to determine whether the network connectivity function is met;
[0053] The network reliability calculation module, if the above conditions are met, indicates that the current network state is available, updates the network node energy, determines whether the Monte Carlo state simulation is completed, and finally calculates the network reliability.
[0054] Technical effects and advantages of the present invention:
[0055] The present invention provides a multi-dimensional evaluation method and system for the reliability of the Internet of Things based on Monte Carlo simulation. The Monte Carlo simulation method is used to simulate the four working states of sensor nodes due to four component failures and working / sleeping duty cycles, restore the energy consumption and state changes of the wireless sensor network during operation, and evaluate and calculate the full coverage reliability TFCR of key target points. It is used to solve the defects of the existing technology that the coverage and connectivity models are relatively simple, the factors affecting reliability are not fully considered, the reliability evaluation algorithm is highly complex, and it is difficult to apply to large-scale networks, so as to achieve a comprehensive, accurate and efficient evaluation of the reliability of the Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 A schematic diagram of a process flow of a multi-dimensional reliability evaluation method for the Internet of Things provided by an embodiment of the present invention;
[0057] Figure 2 A schematic diagram of a network model in an IoT target point coverage scenario provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.
[0059] Existing methods for evaluating and calculating the reliability of the Internet of Things can be divided into two categories. One is the calculation method based on precise reliability, including combined methods such as binary decision diagrams, fault spanning trees, and state enumeration.
[0060] Deif et al. modeled sensor nodes as three-mode systems, defined reliability as the probability that the network operates normally within the mission time, and enumerated all available states through combinatorial mathematics and search algorithms to calculate the exact reliability of the network. Chakraborty et al. studied the reliability of WSNs with multi-state nodes and proposed an improved disjoint product sum method to evaluate the reliability of WSNs using the enumerated shortest minimum paths. These methods usually require first calculating all minimal cuts or minimal paths (minimal cuts (MCs), minimal paths (MPs)), and then calculating the reliability by using the inclusion-exclusion method or the sum of disjoint products (sum-of-disjoint method or inclusion-exclusion method). However, they have been proven to be NP-Hard problems and are difficult to apply to the reliability evaluation of large-scale networks.
[0061] The other type is a calculation method based on approximate reliability, such as finding as few minimum cuts or minimum paths as possible, or finding a boundary close to the exact value of reliability to indirectly calculate reliability. Yeh et al. believe that for high-reliability networks, calculating approximate reliability is more practical than exact reliability. They proposed a lower bound of the exact value of reliability of an algorithm based on binary addition trees (BAT) to calculate the approximate reliability of binary state networks. Xiao et al. use third-order tensors to uniformly represent and model node states, node combinations, and coverage patterns, and use a more accurate trusted information coverage model to replace the traditional binary disk coverage model. They also propose a grid clustering connectivity algorithm to reduce the computational complexity of evaluating large-scale network connectivity.
[0062] At the same time, there is also a mainstream approximate reliability calculation method, which is the simulation method, such as the Markov model-based method and the Monte Carlo simulation method. Xiang et al. believe that the condition for the normal operation of WSN is that the number of sensor nodes interconnected and connected to the receiving node is not less than the minimum number required, and proposed generalized terminal trust and average generalized terminal trust, and gave the corresponding calculation method using algebraic graph theory and Monte Carlo simulation. Chakraborty et al. conducted in-depth research on reliability evaluation. They considered the working sleep duty cycle and energy consumption of sensor nodes, and used the Monte Carlo simulation method with the Markov state transition equation to simulate the possible working state of the node during the entire network operation, so as to evaluate the approximate reliability of the network. The reliability in this article is defined as the probability that the network meets the coverage rate and remains connected within the mission time.
[0063] In summary, using the Monte Carlo simulation method to calculate approximate reliability is considered to be the mainstream reliability assessment method at present. For the calculation of coverage reliability, most algorithms use relatively simple and ideal coverage models such as the disk model for evaluation, which is inaccurate for the evaluation of the overall reliability of the network and does not conform to practical applications. For the calculation of connectivity reliability, many algorithms only consider the possible node failures of wireless sensor nodes, and do not consider the possible interference and noise problems of wireless links during actual communication. At the same time, some algorithms do not consider the limited energy of wireless sensor nodes and the non-rechargeable batteries. They only model the nodes as simple working and fault states, and do not consider the problem that nodes have a working sleep duty cycle to save energy consumption in actual applications.
[0064] It is understandable that, based on the defects in the background technology, the embodiment of the present invention proposes a Monte Carlo-based multi-dimensional reliability evaluation method for the Internet of Things, which is used to evaluate and calculate the reliability of a specific network deployment. Figure 1 As shown, the method comprises the following steps:
[0065] Step S1, input network deployment, initialize network node energy and node component failure probability, and establish a network model according to the IoT target point coverage scenario;
[0066] The establishment of the network model specifically includes:
[0067] 1.1) Enter the specific network deployment and determine the target area of interest , sensor nodes , aggregation node and target point The geographical location of the sensor node; in determining the sensing radius of the sensor node , communication radius and initial energy ;
[0068] 1.2) Model the sensor nodes as multi-state multi-component systems;
[0069] 1.3) Model the wireless sensor network composed of sensor nodes as an undirected graph ,in, It is the communication link formed between sensor nodes.
[0070] Figure 2 The wireless sensor network model established in this embodiment is shown in the figure. The sensor nodes in the network may be in four states due to their component failures and working / sleeping duty cycles. The activated nodes can be used for coverage, and the covered area is shown in the light pink shadow in the figure; the activated nodes and relay nodes can be used for communication, and the communication links formed are shown in the dark gray lines in the figure, while the dormant nodes and faulty nodes cannot participate in coverage and communication.
[0071] The sensor node includes four components: a sensing unit, a communication unit, a processing unit, and a battery unit. The sensor node is modeled as a multi-state multi-component system including:
[0072] 1.2.1) Determine the failure probabilities of the four components of the sensor node, which are and ;
[0073] 1.2.2) Sensor nodes follow a random work / sleep duty cycle During operation, a node may be in four states: ACTIVE, RELAY, SLEEP, and FAIL. The distribution probability of the above states is calculated according to the following formula based on the failure probability of the node components. , , , express;
[0074] (1)
[0075] (2)
[0076] (3)
[0077] (4)
[0078] Step S2, simulating the node status in the network according to the node status probability distribution, and evaluating the network coverage function according to the trusted information coverage model to determine whether the network coverage function is satisfied;
[0079] In this embodiment, simulating the node status in the network according to the node status probability distribution includes the following steps:
[0080] 2.1) Let all possible states in the network be represented by the set Indicates that the current state of the network is represented by the set Indicates that initialization and is an empty set, and then traverses each sensor node;
[0081] 2.2) According to the node status distribution probability, enumerate the status of the current node ;in There are only four states: ACTIVE, RELAY, SLEEP, and FAIL, and the enumerated states Add to collection middle;
[0082] (2.3) Determine the current state of the network , and Add to collection middle;
[0083] Specifically, in step 2.2), the state of the current node is enumerated according to the node state distribution probability. Specifically include:
[0084] 2.2.1) Generate a random value from a uniform distribution , the range is ;
[0085] 2.2.2) Based on this randomly generated test value, compare it with the following conditions and directly sample the state of the sensor node;
[0086] Condition 1: , if the generated test value belongs to this category, then the sensor node In ACTIVE state.
[0087] Condition 2: , if the generated test value belongs to this category, then the sensor node In RELAY state.
[0088] Condition 3: , the generated test value belongs to this category, then the sensor node In FAIL state.
[0089] Condition 4: , if the generated test value belongs to this category, then the sensor node In SLEEP state.
[0090] 2.2.3) Determine sensor nodes Current status .
[0091] In the above technical solution, the reliability of full coverage of key target points is defined as the probability that the wireless sensor network can successfully monitor all target points and transmit the monitoring data to the aggregation node. When evaluating the network coverage function based on the trusted information coverage model, it needs to meet the energy conditions, coverage conditions and connectivity conditions to ensure that the network function of WSN is met; among them,
[0092] Condition 1: Energy condition: The remaining energy of the sensor node The minimum energy required for the corresponding node state to continue working in the next cycle should be supported; for example, a node in the RELAY state must meet .
[0093] The energy consumption of sensor nodes varies according to their working state, mainly due to the sensing ,send and receive data The energy consumption of nodes in each state is shown in the following formula. In particular, a node in the SLEEP state is a node in a dormant state. After the dormant state ends, it will resume normal operation. We stipulate that its energy consumption is a proportional coefficient multiplied by the energy consumption of the ACTIVE node or the RELAY node, depending on which state it is converted from; and a node in the FAIL state has permanently lost the ability to work normally and cannot sense and transmit data, so it does not generate energy consumption.
[0094] (5)
[0095] (6)
[0096] (7)
[0097] (8)
[0098] Condition 2: Coverage condition: The overall network coverage should meet the coverage requirements of specific applications , and the network should be able to cover all key target points with fully reliable information.
[0099] In the trusted information coverage model, a spatial point where an environmental variable needs to be estimated is called a reconstruction point. The area within the correlation range (CR) of the reconstruction point is called the reconstruction area. Only the environmental variable values measured by the sensors in the reconstruction area have spatial correlation with the reconstruction point. By using the original Kriging interpolation technology as the reconstruction function, the sensor nodes in the reconstruction area are used to The measured value , we can get the estimated value of the reconstruction area , the linear estimator used in the original Kriging interpolation is as follows:
[0100] (9)
[0101] in is the interpolation weight in the original Kriging interpolation. According to the unbiased property of the original Kriging interpolation, the sum of its weights is 1.
[0102] use represents the true measurement value of the reconstruction point at time t, Indicates its estimated value. For different application scenarios, the requirements for reconstruction quality are also different. For a specific application, a reconstruction quality requirement threshold can generally be set. , and the time-averaged root mean square error (RMSE) To measure and evaluate the reconstruction quality and reconstruction accuracy within the reconstruction area.
[0103] (10)
[0104] At the same time, by minimizing the Kriging variables, a set of optimal interpolation weights can be obtained:
[0105] (11)
[0106] in Is a node and nodes The spatial correlation between Is a node and reconstruction points The spatial correlation between them can be calculated based on the variogram. Different variograms are suitable for different spatial geographical environments. Usually, Gaussian variogram can be used to represent the spatial correlation characteristics, and it can be calculated based on this. :
[0107] (12)
[0108] in for and The Euclidean distance between Indicates variable range, constant Called a nugget, It is called the sill. , it is called the standard Gaussian model.
[0109] According to the selected variogram and the optimal interpolation weights, the RMSE can be expressed as
[0110] (13)
[0111] According to the credible information coverage model, when this estimation error Less than the required threshold , then the reconstruction point is considered The reconstruction area is covered by credible information.
[0112] Therefore, judging whether the coverage function of the network is satisfied specifically includes:
[0113] 4.1) Variable Range The target area of interest is divided into multiple small squares as the side length, each small square is a reconstruction area, and the center of the square is the reconstruction point;
[0114] 4.2) Extract all reconstruction points in the reconstruction area and add them to the reconstruction point set to obtain the set of all reconstruction points ;
[0115] 4.3) Traverse the reconstruction point set , conduct credible information coverage assessment;
[0116] 4.4) After completing the traversal and evaluation calculation of all reconstruction points, the coverage matrix of all sensor nodes involved in covering the target point is obtained, which is used to indicate the first Is the target point The trusted information coverage of sensor nodes;
[0117] 4.5) According to the coverage matrix, if all target points are covered by credible information, the state is considered If the network under the condition satisfies the coverage function, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation.
[0118] In step 4.3), the traversal reconstruction point set , the trusted information coverage assessment specifically includes:
[0119] 4.3.1) Extract the sensor nodes and target points in the reconstruction area of each reconstruction point and store them in the corresponding set and ;
[0120] 4.3.2) Determine the target point set Is it an empty set? If it is an empty set, skip the coverage function evaluation. Otherwise, filter the nodes in the current reconstruction area whose sensor node status is ACTIVE and whose current energy can support sensing and sending and receiving data, and store them in the node set. ;
[0121] 4.3.3) Based on the node set Calculate the time root mean square error RMSE used to determine the coverage of credible information. If the RMSE is less than the required threshold set according to the specific application, , then according to the credible information coverage model, it is considered that the current reconstruction area is covered by credible information, and all target points in the reconstruction area are covered by credible information.
[0122] Step S3, evaluating the network connectivity function based on the attenuated connectivity model of the signal to interference noise ratio to determine whether the network connectivity function is satisfied;
[0123] In the above steps, the following conditions must also be met: Condition 3: Connectivity condition: The network should be able to transmit the data sensed by the sensor node to the sink node through a single hop or multiple hops.
[0124] Considering the randomness of wireless communication, when the terminal node of the communication link and When both are in ACTIVE or RELAY state and they have enough energy for data transmission, the test threshold is used Representation Node The minimum acceptable signal to noise ratio value required for successful reception and decoding is calculated, and the connectivity coefficient value between the two communication nodes, that is, the normalized signal to noise ratio value, is calculated. If the connectivity coefficient value between the two nodes is greater than the test threshold, it is considered that a communication link can be established.
[0125] In this embodiment, determining whether the connectivity function of the network is satisfied specifically includes:
[0126] 5.1) According to the coverage matrix, find and extract the set of sensor nodes that participate in covering the target point ;
[0127] 5.2) Calculate the Euclidean distance between these sensor nodes (including the sink node) , as shown in the following formula, and obtain a size of The distance matrix ,in Represents the set of all sensor nodes involved in covering the target point , and add the number of nodes of the sink node;
[0128] (14)
[0129] in, and They represent the horizontal and vertical coordinates of the sensor nodes respectively;
[0130] 5.3) Use the following formula to calculate the signal-to-interference-to-noise ratio between two communication nodes: :
[0131] (15)
[0132] in, To simplify the calculation of signal-to-interference-noise ratio, the wireless signal transmission power of the sensor node is The ambient noise power level is set to a constant 1, and the sensor node set Set to the sensor node The predetermined communication radius The set of sensor nodes with communication capabilities, that is, the set of nodes in ACTIVE or RELAY state;
[0133] 5.4) Logarithm normalization is performed according to the following formula to map the signal-to-noise ratio value to The connectivity coefficient between the two communication nodes is obtained on the interval, which is the normalized signal-to-interference-noise ratio value, and forms a The connectivity coefficient matrix :
[0134] (16)
[0135] 5.5) Considering the randomness of wireless communication, the generated The random test threshold is used to replace the critical signal-to-interference-noise ratio value Specifically, a Test matrices of equal size , whose elements are random test thresholds composition;
[0136] 5.6) Yes and Each corresponding element of is traversed and compared. If the connectivity coefficient between the two nodes is greater than the test threshold , that is Less than , and the node If the node is in ACTIVE or RELAY state and its remaining energy can support sending and receiving data, then the node is considered With Node Is connected, the two nodes can successfully communicate and assign values Otherwise, the communication is considered to have failed and the value is assigned ;
[0137] 5.7) After completing the traversal of the matrix elements, the resulting matrix That is the adjacency matrix of the network;
[0138] 5.8) According to the adjacency matrix , use the Floyd-Warshall algorithm to calculate the shortest path between all nodes, so as to determine the set of all sensor nodes involved in covering the target point With the sink node connectivity between
[0139] 5.9) According to the running results, if all these nodes can be connected to the sink node, the state is considered The network under this condition satisfies the connectivity function, and the status If the network configuration is reliable, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation.
[0140] Step S4: If the above conditions are met, it means that the current network state is available, the network node energy is updated, and it is determined whether the Monte Carlo state simulation is completed, and finally the network reliability is calculated.
[0141] In the above technical solution, after determining whether the network configuration in the current state meets the coverage function and the connectivity function, the remaining energy of each node is updated to simulate the energy consumed by the node for perception and communication in the real network, and a round of Monte Carlo state simulation is ended;
[0142] (17)
[0143] in represents the remaining energy, Indicates the current energy, represents the energy consumed by perception, and Indicates the energy consumed in sending and receiving data;
[0144] The determining whether the Monte Carlo state simulation is finished includes:
[0145] If the simulation round has not ended, return to step S2 to perform the next round of state simulation; otherwise, the simulation ends and proceeds to the next step.
[0146] Finally, the calculation of network reliability includes: after all Monte Carlo state simulations are completed, the target point full coverage reliability can be calculated as the probability that the wireless sensor network can successfully monitor all target points and transmit the monitoring data to the sink node. The specific reliability calculation formula can be derived as: the number of available network configurations divided by the number of all network configurations simulated above, as shown in the following formula;
[0147] (18)
[0148] In summary, the multi-dimensional evaluation method for IoT reliability based on Monte Carlo described in the embodiment of the present invention has the following technical effects:
[0149] (1) This method considers four component failures of sensor nodes in wireless sensor networks, introduces a working / sleeping duty cycle mechanism that is more in line with the energy saving used in real network applications, and truly restores the four working state changes of network nodes;
[0150] (2) This method uses a more accurate and realistic model to characterize the node coverage and node connectivity in the real network, accurately evaluating the reliability of the Internet of Things from multiple dimensions, avoiding the excessively high network deployment costs caused by underestimating reliability, and also avoiding the network failures that may be caused by overestimating reliability;
[0151] (3) This method uses an approximate reliability calculation method based on Monte Carlo state simulation to efficiently calculate the reliability of the Internet of Things, avoiding the NP-hard problem in the precise reliability calculation method, greatly reducing the computational complexity, and can be applied to large-scale network scenarios.
[0152] According to a second aspect of the present invention, there is also provided a multi-dimensional reliability evaluation system for the Internet of Things based on Monte Carlo simulation, comprising:
[0153] The network model building module is used to input the network deployment, initialize the network node energy and node component failure probability, and build the network model according to the IoT target point coverage scenario;
[0154] A network coverage function judgment module is used to simulate the node status in the network according to the node status probability distribution, and to evaluate the network coverage function according to the trusted information coverage model to determine whether the network coverage function is satisfied;
[0155] A network connectivity function judgment module is used to evaluate the network connectivity function based on the attenuation connectivity model of the signal-to-interference-noise ratio to determine whether the network connectivity function is met;
[0156] The network reliability calculation module, if the above conditions are met, indicates that the current network state is available, updates the network node energy, determines whether the Monte Carlo state simulation is completed, and finally calculates the network reliability.
[0157] It can be understood that the multidimensional reliability evaluation system of the Internet of Things based on Monte Carlo simulation provided by the present invention corresponds to the multidimensional reliability evaluation method of the Internet of Things based on Monte Carlo simulation provided by the aforementioned embodiments. The relevant technical features of the multidimensional reliability evaluation system of the Internet of Things based on Monte Carlo simulation can refer to the relevant technical features of the multidimensional reliability evaluation method of the Internet of Things based on Monte Carlo simulation, which will not be repeated here.
[0158] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A Monte Carlo-based multidimensional reliability evaluation method for the Internet of Things, characterized in that: The following steps are involved: Step S1: input network deployment, initialize network node energy and node component failure probability, and establish a network model according to the IoT target point coverage scenario; Step S2: simulating the node status in the network according to the node status probability distribution, and evaluating the network coverage function according to the trusted information coverage model to determine whether the network coverage function is satisfied; the determination of whether the network coverage function is satisfied includes: 4.
1. Variable Range The target area of interest is divided into multiple small squares as the side length, each small square is a reconstruction area, and the center of the square is the reconstruction point; 4.
2. Extract all reconstruction points in the reconstruction area and add them to the reconstruction point set to obtain the set of all reconstruction points ; 4.
3. Traversing the reconstruction point set , conduct credible information coverage assessment; including: 4.3.1) Extract the sensor nodes and target points in the reconstruction area of each reconstruction point and store them in the corresponding set and ; 4.3.2) Determine the target point set Is it an empty set? If it is an empty set, skip the coverage function evaluation. Otherwise, filter the nodes in the current reconstruction area whose sensor node status is ACTIVE and whose current energy can support sensing and sending and receiving data, and store them in the node set. ; 4.3.3) Based on the node set Calculate the time root mean square error RMSE used to determine the coverage of credible information. If the RMSE is less than the required threshold set according to the specific application, , then according to the credible information coverage model, it is considered that the current reconstruction area is covered by credible information, and all target points in the reconstruction area are covered by credible information; 4.
4. After completing the traversal and evaluation calculation of all reconstruction points, the coverage matrix of all sensor nodes involved in covering the target point is obtained, which is used to indicate the first Is the target point The trusted information coverage of sensor nodes; 4.
5. According to the obtained coverage matrix, if all target points are covered by credible information, the state is considered If the network under the condition meets the coverage function, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation; Step S3: evaluating the network connectivity function based on the attenuated connectivity model of the signal to interference noise ratio to determine whether the network connectivity function is satisfied; the determining whether the network connectivity function is satisfied includes: 5.
1. According to the coverage matrix, find and extract the set of sensor nodes that participate in covering the target point ; 5.
2. Calculate the Euclidean distance between the sensor nodes , and get the distance matrix ; 5.
3. Calculate the signal-to-interference-to-noise ratio between two communicating nodes ; 5.
4. Mapping SINR values to In the interval, the connectivity coefficient value between two communication nodes is obtained, and the connectivity coefficient matrix is formed ; 5.
5. Create a and Test matrices of equal size , whose elements are random test thresholds composition; 5.
6. Yes and Each corresponding element of is traversed and compared. If the connectivity coefficient between the two nodes is greater than the test threshold ,Right now Less than , and the node If the node is in ACTIVE or RELAY state and its remaining energy can support sending and receiving data, then the node is considered With Node are connected, the two nodes can successfully communicate, assign Otherwise, the communication is considered to have failed and the value is assigned ; 5.
7. After completing the traversal of the matrix elements, the resulting matrix That is the adjacency matrix of the network; 5.
8. Based on the adjacency matrix , calculate the shortest path between all nodes, and thus determine the set of all sensor nodes involved in covering the target point With the sink node connectivity between 5.
9. According to the operation results, if all the above nodes can be connected to the sink node, the state is considered The network under this condition satisfies the connectivity function, and the status If the network configuration is reliable, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation; Step S4: If both the network coverage function and the network connectivity function are satisfied, it means that the current network state is available, the network node energy is updated, and it is determined whether the Monte Carlo state simulation is completed, and finally the network reliability is calculated.
2. According to claim 1, a Monte Carlo-based multi-dimensional reliability evaluation method for the Internet of Things is characterized by: The establishment of a network model according to the IoT target point coverage scenario includes: 1.
1. Input the specific network deployment, determine the geographical location of the target area of interest, sensor nodes, aggregation nodes and target points, and then determine the sensing radius, communication radius and initial energy of the sensor nodes; wherein the sensor nodes include a sensing unit, a communication unit, a processing unit and a battery unit; 1.
2. Determine the failure probability of the sensor node and calculate the state distribution probability based on the failure probability of the node components; 1.
3. The wireless sensor network composed of sensor nodes is modeled as an undirected graph based on the state distribution probability.
3. The method for multidimensional reliability evaluation of the Internet of Things based on Monte Carlo according to claim 1 is characterized in that: Simulating the node status in the network according to the node status probability distribution includes: 2.
1. Let all possible states in the network be represented by the set Indicates that the current state of the network is represented by the set Indicates that initialization and is an empty set, traverse each sensor node; 2.
2. According to the node status distribution probability, enumerate the status of the current node , the enumerated state Add to collection Among them, Including four states: ACTIVE, RELAY, SLEEP, and FAIL; 2.
3. Determine the current state of the network , and Add to collection middle.
4. The method for multidimensional reliability evaluation of the Internet of Things based on Monte Carlo according to claim 3 is characterized in that: According to the node state distribution probability, the state of the current node is enumerated , the enumerated state Add to collection Included: 2.2.
1. Generate a random value from a uniform distribution , the range is ; 2.2.
2. Based on the randomly generated test value, the current node status Compare and directly sample to get the status of sensor nodes; 2.2.
3. Determine sensor nodes Current status .
5. According to claim 4, a Monte Carlo-based multi-dimensional reliability evaluation method for the Internet of Things is characterized in that: The current node status By comparison, direct sampling is performed to obtain the status of the sensor node, including: Condition 1: If , then the sensor node In ACTIVE state; Condition 2: If , then the sensor node In RELAY state; Condition 3: If , then the sensor node In FAIL state; Condition 4: If , then the sensor node In the SLEEP state; , , , They respectively represent the distribution probabilities of a node being in ACTIVE, RELAY, SLEEP, and FAIL during operation.
6. The method for multi-dimensional reliability evaluation of the Internet of Things based on Monte Carlo according to claim 1 is characterized in that: The updating of network node energy comprises: After determining whether the network configuration in the current state meets the coverage and connectivity functions, the remaining energy of each node is updated to simulate the energy consumed by nodes in the real network for perception and communication, and a round of Monte Carlo state simulation is ended.
7. The method for multi-dimensional reliability evaluation of the Internet of Things based on Monte Carlo according to claim 1 is characterized in that: The determining whether the Monte Carlo state simulation is finished includes: If the simulation round has not ended, return to step S2 to perform the next round of state simulation; otherwise, the simulation ends and proceed to the next step.
8. A Monte Carlo-based multi-dimensional reliability evaluation system for the Internet of Things, characterized in that: include: The network model building module is used to input network deployment, initialize network node energy and node component failure probability, and build a network model according to the IoT target point coverage scenario; The network coverage function judgment module is used to simulate the node status in the network according to the node status probability distribution, and evaluate the network coverage function according to the trusted information coverage model to judge whether the network coverage function is satisfied; the judgment of whether the network coverage function is satisfied includes: 4.
1. Variable Range The target area of interest is divided into multiple small squares as the side length, each small square is a reconstruction area, and the center of the square is the reconstruction point; 4.
2. Extract all reconstruction points in the reconstruction area and add them to the reconstruction point set to obtain the set of all reconstruction points ; 4.
3. Traversing the reconstruction point set , conduct credible information coverage assessment; including: 4.3.1) Extract the sensor nodes and target points in the reconstruction area of each reconstruction point and store them in the corresponding set and ; 4.3.2) Determine the target point set Is it an empty set? If it is an empty set, skip the coverage function evaluation. Otherwise, filter the nodes in the current reconstruction area whose sensor node status is ACTIVE and whose current energy can support sensing and sending and receiving data, and store them in the node set. ; 4.3.3) Based on the node set Calculate the time root mean square error RMSE used to determine the coverage of credible information. If the RMSE is less than the required threshold set according to the specific application, , then according to the credible information coverage model, it is considered that the current reconstruction area is covered by credible information, and all target points in the reconstruction area are covered by credible information; 4.
4. After completing the traversal and evaluation calculation of all reconstruction points, the coverage matrix of all sensor nodes involved in covering the target point is obtained, which is used to indicate the first Is the target point The trusted information coverage of sensor nodes; 4.
5. According to the obtained coverage matrix, if all target points are covered by credible information, the state is considered If the network under the condition meets the coverage function, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation; A network connectivity function judgment module is used to evaluate the network connectivity function based on the attenuation connectivity model of the signal-to-interference-noise ratio to determine whether the network connectivity function is met; The determining whether the connectivity function of the network is satisfied includes: 5.
1. According to the coverage matrix, find and extract the set of sensor nodes that participate in covering the target point ; 5.
2. Calculate the Euclidean distance between the sensor nodes , and get the distance matrix ; 5.
3. Calculate the signal-to-interference-to-noise ratio between two communicating nodes ; 5.
4. Mapping SINR values to In the interval, the connectivity coefficient value between two communication nodes is obtained, and the connectivity coefficient matrix is formed ; 5.
5. Create a and Test matrices of equal size , whose elements are random test thresholds composition; 5.
6. Yes and Each corresponding element of is traversed and compared. If the connectivity coefficient between the two nodes is greater than the test threshold ,Right now Less than , and the node If the node is in ACTIVE or RELAY state and its remaining energy can support sending and receiving data, then the node is considered With Node are connected, the two nodes can successfully communicate, assign Otherwise, the communication is considered to have failed and the value is assigned ; 5.
7. After completing the traversal of the matrix elements, the resulting matrix That is the adjacency matrix of the network; 5.
8. Based on the adjacency matrix , calculate the shortest path between all nodes, and thus determine the set of all sensor nodes involved in covering the target point With the sink node connectivity between 5.
9. According to the operation results, if all the above nodes can be connected to the sink node, the state is considered The network under this condition satisfies the connectivity function, and the status If the network configuration is reliable, proceed to the next step; otherwise, return to step S2 and perform the next round of state simulation; The network reliability calculation module, if the network coverage function and the network connectivity function are both met, it means that the current network state is available, updates the network node energy, and determines whether the Monte Carlo state simulation is completed, and finally calculates the network reliability.
