Internet of Things node scheduling method, system and device based on dynamic point weighted graph
Optimizing IoT node scheduling through dynamic point weighted graph technology solves the problems of high energy consumption and low fault tolerance in node scheduling in the existing technology, achieves more efficient network coverage and fault repair, and extends the life of the IoT network.
Patent Information
- Application Number
- CN202410961814.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Existing IoT node scheduling technology has limitations in static scheduling strategies, high energy consumption, and low fault tolerance, and cannot effectively cope with node failures and environmental correlations in dynamic environments, resulting in reduced network coverage performance and monitoring accuracy.
Adopting a node scheduling method based on dynamic point weighted graph, by constructing network model, energy model and node status model, a dynamic point weight graph is generated, the connections and weights between nodes are dynamically updated, a node repair mechanism is established, and node scheduling and path construction are optimized. Improve network fault tolerance and energy efficiency.
It improves the energy efficiency, coverage performance, fault tolerance and survival time of the network, extends the life of the IoT network, and enables more efficient node scheduling and fault repair.
Smart Images

Figure CN118509489B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things node scheduling, and in particular to an Internet of Things node scheduling method, system and device based on a dynamic point weighted graph. Background Art
[0002] With the rapid development and widespread application of the Internet of Things (IoT), more and more devices and sensors are connected to the Internet, realizing intelligent and automated data interaction and decision-making. A large number of terminal devices are added to the perception layer of the IoT, which provides basic infrastructure and underlying communication platform. Due to the challenging terrain of deployed nodes, limited locations and the existence of mobile devices, it is difficult to monitor them all the time in all environments. Therefore, extending the life cycle of the IoT perception layer is an important requirement for IoT applications. In practical applications, fence coverage for border security monitoring applications has been a hot topic and difficulty in recent years. Many research projects and plans are being launched to develop solutions to extend the life cycle of IoT networks.
[0003] Fence coverage aims to establish efficient and reliable paths for nodes, enabling them to effectively monitor and control specific areas of interest, prevent intrusions, and uniformly detect any unauthorized intrusions across the boundaries of the area. Due to the compact size of sensor nodes, they inherently have limited battery capacity. In addition, the challenges posed by harsh deployment environments make it impractical to replace failed nodes. These issues make it difficult to ensure effective network fence coverage, ultimately leading to rapid deterioration of network functionality.
[0004] Node scheduling can effectively improve the energy utilization of nodes and optimize network energy consumption. Node scheduling is often used in random deployments. Because the total number of nodes is much larger than the number of nodes required to cover the perception task, the redundant nodes are set to sleep or other states, so that each node is in a suitable state, which can extend the network's survival time while meeting the network service quality. In order to avoid the waste of resources and energy caused by large-scale IoT nodes being active for a long time, the perception nodes are generally set to a certain working time according to work requirements. At the same time, the nodes also support some area wake-up functions and node timing functions, which provides conditions for node scheduling and improves the robustness of the network. However, the existing technical solutions still have the following problems:
[0005] 1) Limitations of static scheduling strategies: Existing node scheduling strategies usually determine the static order of node scheduling at the beginning of network operation, which cannot adapt to frequent node failures in dynamic environments. This results in the network being unable to respond in time when facing node failures, affecting the network's fault tolerance and robustness.
[0006] 2) High energy consumption and low fault tolerance: Existing methods based on dynamic scheduling rely on global node communication, which results in repeated transmission of duplicate information and high communication overhead. In addition, existing methods lack an efficient response mechanism when facing node failures, resulting in high network energy consumption and low fault tolerance. When a node fails, existing methods are often unable to quickly detect and repair the faulty node, thus affecting the stability and reliability of the network.
[0007] 3) Ignoring environmental relevance and collaborative perception between nodes: The current mainstream technologies are based on the disk model for coverage and node scheduling, without fully considering the collaborative perception between nodes and the spatial relevance between the nodes and the environment, and ignoring the spatial information factor. Such a scheduling strategy may lead to inaccurate construction of the fence path, thereby reducing the coverage performance and monitoring accuracy of the network. Summary of the invention
[0008] In view of the technical problems existing in the prior art, the present invention provides an Internet of Things node scheduling method, system and electronic device based on a dynamic point weighted graph, so as to solve the defects of high energy consumption and low fault tolerance in node scheduling in the prior art, and to improve the network energy efficiency, coverage performance, fault tolerance and survival time.
[0009] According to a first aspect of the present invention, the present invention provides an Internet of Things node scheduling method based on a dynamic point weighted graph, comprising the following steps:
[0010] Construct network model, energy model and node status model, perform node clustering, and generate dynamic point weight graph based on the above models and clustering results;
[0011] Node scheduling is performed based on a dynamic point-weight graph; this includes dynamically updating the connections and weights between nodes, and establishing a node repair mechanism for unexpected situations to cope with possible failures or communication interruptions that may occur during node scheduling.
[0012] Based on the above technical solution, the present invention can also make the following improvements.
[0013] Optionally, the building of the network model includes:
[0014] Each reconstruction area is defined as a new cluster. Each cluster is a network of the same size. In each reconstruction area, the node closest to the reconstruction center is selected as the cluster head node, and other IoT nodes are invited to join the cluster. When the current cluster head node fails, the node with the most energy in the current cluster is selected as the next cluster head.
[0015] Optionally, the building of the node state model includes:
[0016] The IoT nodes are divided into: activation state, relay state, sleep state and failure state; the nodes are converted between the above states in clusters, and the non-cluster head nodes receive the instructions of the cluster head nodes to convert the node states.
[0017] Optionally, during the conversion process, once the node fails, it cannot enter the other three states.
[0018] Optionally, the node clustering includes:
[0019] The cluster head nodes collect information from all nodes in their respective clusters and upload the information to the sink node.
[0020] Optionally, constructing a point weight calculation function according to the point weight graph includes:
[0021] For each reconstruction area within the sensing area, determine which nodes can cover the area individually, and the nodes that meet the coverage threshold are marked as "sensing backup"; after screening all nodes, evaluate whether the unmarked nodes in the area can provide information collaboration and whether they can meet the coverage requirements of the reconstruction area;
[0022] If satisfied, try to group the nodes and determine the maximum covering group that can be provided;
[0023] If not satisfied, the function ends and returns the point weight of the area.
[0024] Optionally, the node scheduling strategy includes:
[0025] Select a suitable fence path according to the path construction node, add the fence path to the path list, and record the reliability of the path; repeat the above process until no new path from the virtual source node to the virtual terminal node can be found.
[0026] Optionally, the establishing of a node repair mechanism for unexpected situations includes:
[0027] In the weight calculation stage, each group of nodes that meets the coverage threshold in the same reconstruction area is marked as a node redundant set; each time interval T is divided into m time slots. In each time slot, the availability of the current node set is first determined. If any node in the cluster fails, the cluster head node checks the list of node redundant sets and selects an activated redundant node to replace the failed node in a short time. If all node sets are unavailable, the reconstruction area is unavailable.
[0028] According to a second aspect of the present invention, there is provided an Internet of Things node scheduling system based on a dynamic point weighted graph, comprising:
[0029] The model building module is used to build a network model, an energy model and a node state model, perform node clustering, and generate a dynamic point weight graph based on the above models and clustering results;
[0030] The node scheduling module is used to schedule nodes based on a dynamic point weight graph, including constructing a point weight calculation function according to the point weight graph, calculating the weights between nodes based on the constructed point weight calculation function, clustering the nodes to form a path, and formulating a node scheduling strategy;
[0031] The node repair module is used to establish a node repair mechanism for unexpected situations to deal with failures or communication interruptions that may occur during the node scheduling process.
[0032] The present invention also provides 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 for scheduling Internet of Things nodes based on a dynamic point weighted graph as described above is implemented.
[0033] Technical effects and advantages of the present invention:
[0034] The Internet of Things node scheduling method, system and electronic device based on dynamic point weighted graph provided by the present invention are used to solve the defects of high energy consumption and low fault tolerance of node scheduling in the prior art by improving energy efficiency, enhancing network fault tolerance, improving network coverage performance and extending network life, and realize the improvement of network energy efficiency, coverage performance, fault tolerance and survival time. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flowchart of the steps of the Internet of Things node scheduling method based on the dynamic point weighted graph provided by an embodiment of the present invention;
[0036] Figure 2 is a schematic diagram of a network model provided by an embodiment of the present invention;
[0037] Figure 3 It is a schematic diagram of the overall operation of the network provided by an embodiment of the present invention;
[0038] Figure 4 It is a schematic diagram of a dynamic point weight graph provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] 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.
[0040] It should be noted that node scheduling, as a guarantee for the efficient operation of the perception layer of the Internet of Things, is of great significance for saving network energy, ensuring network service quality and extending network operation time. At this stage, some scholars have achieved some research results.
[0041] For example, Tian proposed a node scheduling scheme without sacrificing the original performance of the system. By identifying redundant nodes in terms of sensor coverage, the nodes are assigned an offline operation mode with lower energy consumption than normal duty, thereby reducing the overall energy consumption of the system and extending the system life. Zhang proposed an energy-saving and efficient non-uniform clustering node scheduling algorithm to address the uneven energy consumption and energy waste of nodes in wireless sensor networks. By constructing clusters of different sizes to balance the communication energy consumption within and between clusters, the number of working nodes is reduced and the network energy utilization rate is improved. Cheng found that there is redundancy in perception data and proposed to use the Markov random field model to model the spatial correlation between perception data. The data correction problem was defined to maximize the data coverage of a given node, thereby improving the network survival time.
[0042] Fence scheduling is a node scheduling scheme proposed by Chen et al. Fence scheduling is a popular intrusion monitoring method and means, which is often used in environmental monitoring and military surveillance. Mini et al. constructed a virtual fence of sensor nodes to foresee intruders in advance and prevent possible intrusions. The intruders may be soldiers from enemy camps, enemy trucks or even missiles. Fence scheduling is divided into 1-fence scheduling and k-fence scheduling. In 1-fence scheduling, it is guaranteed that at least one sensing node can detect the intruder, while in k-fence scheduling, at least k sensing nodes can detect the intruder.
[0043] In order to better provide node scheduling, many works have introduced mobile nodes. Kim's work introduced the concept of mobility, based on the flow graph model, moved the mobile sensor node to the location of the fault, replaced the faulty node, and then used the maximum flow Edmond Karp algorithm to construct a k-fence. Dash, in response to sensor node failure, modeled the problem of restoring the fence using redundant mobile sensor nodes as a minimum cost bipartite graph matching problem, proposed a centralized distributed fence repair method, and used the Hungarian algorithm to solve it. Since the addition of mobile nodes will increase network costs, and mobile nodes are not suitable for complex terrain and harsh environments, some scholars have conducted research on static scheduling problems. Han considered the problem of multi-directional intrusion by intruders, proved that solving the maximum number of fences is NP-hard, and described the problem as an integer linear programming, and proposed a multi-round shortest path algorithm to solve the problem. Kim models the network as an edge-weighted graph, where the edge weight represents the minimum number of mobile sensor nodes required to form a fence between any two static sensor nodes. By introducing a new vertex, splitting each edge, and assigning the weight of each edge to the corresponding newly added vertex, the edge-weighted graph is converted into a vertex-weighted graph with an edge weight of 1. A binary search method is then used on the transformed graph to construct a fence and recover the network from sensor node failures. Compared with other methods, this scheme performs graph transformation and adds additional vertices to the transformed graph, but has higher complexity.
[0044] In recent years, due to the characteristics of reinforcement learning algorithms such as no prior knowledge and model independence, they have been applied by many scholars to the scheduling problem of IoT nodes to improve scheduling performance. The application of reinforcement learning technology can dynamically and quickly obtain the minimum number of sensing nodes covering the target area, and adjust the scheduling strategy and scheme in real time according to the learned knowledge, so that the network runs in an optimal state throughout its life cycle. Chen proposed a two-stage node sleep scheduling method for regional coverage based on reinforcement learning. This method enables IoT sensing nodes to sparsely cover the monitoring area with fewer nodes without knowing their own position coordinates. The Q learning algorithm is expanded to a multi-node collaborative Q learning group for sleep scheduling, which effectively balances node energy consumption and prolongs network survival time. Ancillotti proposed a new reinforcement learning-based strategy RL-Probe for RPL link quality monitoring, which can accurately measure link quality with minimal overhead and energy waste. In order to obtain the latest information about link quality, RL-Probe combines synchronous and asynchronous monitoring mechanisms to cope with sudden topological changes in network operation. Xu.Y combined the differential optimization algorithm and proposed a node scheduling coverage control algorithm for wireless sensor networks based on a hybrid multi-objective evolutionary algorithm, which reduced network energy consumption, improved network coverage, and achieved energy consumption balance.
[0045] It is understandable that, in view of the defects and improvement requirements of the above-mentioned prior art, the embodiment of the present invention proposes an Internet of Things node scheduling method based on a dynamic point weighted graph, specifically as follows: Figure 1 As shown, the scheduling method includes the following steps:
[0046] Step S1. Construct a network model, an energy model and a node state model, perform node clustering, and generate a dynamic point weight graph based on the above models and clustering results;
[0047] In this embodiment, the present invention proposes a cluster-based network model. Figure 2 As shown, the constructed network model includes: based on the coverage requirements of the trusted information coverage, the cluster-based network defines each reconstruction area as a new cluster, and each cluster is a network of the same size. In each reconstruction area, the node closest to the reconstruction center is first selected as the cluster head node, which is responsible for the information collection of all nodes in the cluster and the communication function between clusters, and uses a message-based handshake scheme to invite other Internet of Things nodes (cluster members) to join the cluster. When the current cluster head node fails, the node with the most energy in the current cluster will be selected as the next cluster head according to the energy-saving scheme. In this embodiment, the message-based handshake scheme can refer to the literature Cerf V, Kahn R. A protocol for packet network intercommunication [J]. IEEE Transactions on communications, 1974, 22 (5): 637-648.
[0048] like Figure 3 The figure shows the overall operation schematic diagram of the network model provided by the embodiment of the present invention. In the figure, the cluster head node performs the overall construction of the node fence path in the T period, and the nodes in the cluster perform the status check and path repair of the nodes in the cluster in the t period. The time is divided into time intervals T, and there is a time slot t in each time interval T. At the beginning of each time interval T, the convergence node constructs the overall fence path of the network according to the overall information of the network; in the time slot t, in order to save energy consumption, only the communication propagation within the cluster is carried out. At this time, the convergence node delegates the decision-making power to the cluster head node in the cluster, and the cluster head node makes the decision on node scheduling. In the T period, the cluster head node performs the overall construction of the node fence path, and in the t period, the nodes in the cluster perform the status check and path repair of the nodes in the cluster. When the node is damaged and the state changes and the current period is in the time slot, the cluster head node restores the fence path according to the scheduling and repair method within the cluster to ensure the normal operation of the network.
[0049] Building an energy model includes: determining energy consumption indicators, such as energy consumption rate and remaining energy, based on the energy consumption characteristics of IoT nodes. Building an energy consumption model based on the analyzed energy consumption pattern, using mathematical formulas, statistical models or machine learning algorithms to describe the energy consumption of nodes. The constructed energy model is expressed as follows:
[0050] (1)
[0051] (2)
[0052] (3)
[0053] (4)
[0054] Among them, E a is the energy consumed, E Tx is the transmitted energy, E Rx is the received energy, E Sx is the sensing energy; T' represents the time slot; k is the amount of data transmitted or received, in bits; d is the Euclidean distance between nodes; d0 is the Euclidean distance threshold; E elec is the energy consumption per data bit of the transmitter circuit; n v is the number of IoT node perceptions per unit time; ε fs and ε mp are the energy consumed by the power amplifier per data bit in the free space and multipath fading channel models, respectively.
[0055] The construction of the node state model includes: according to the different modules activated by the node and the different energy consumption, the IoT nodes are divided into four basic states: activation state, relay state, sleep state, and failure state. Among them, activation state: the node starts the functions of sensing data, sending data and receiving data. Relay state: the node turns off the data sensing module and only acts as a relay node to send and receive data. Sleep state: the node runs at the lowest power and wakes up regularly, during which the data sensing, sending and receiving functions are turned off. Failure state: if the node fails itself or is damaged by external factors, resulting in the node being unable to be used normally, the node is marked as a failure state. The node can switch between the above states, but once the node fails, it cannot enter the other three states. The state transition between nodes is performed in clusters, and the non-cluster head node receives the instructions of the cluster head node to perform the node state transition.
[0056] Node clustering includes: cluster head nodes collect information from all nodes in their respective clusters and upload this information to the sink node. The sink node sets a time interval T. Within each T, the base station delegates the decision-making power to the cluster head node to quickly respond to environmental changes and save energy. Within the time interval, each node in the cluster follows the instructions of its cluster head node. The cluster head node has autonomous decision-making power.
[0057] The construction of a dynamic point weight graph includes: the sink node uses the information uploaded by the cluster head node to model the network into a dynamic point weight graph G(V, E, α, t), such as Figure 4 As shown in the figure, the graph consists of a non-empty set V and edges E between nodes. The numbers next to the nodes in the figure represent the calculated value α of the point weight function corresponding to the node. Each vertex has its own point weight function α, and its weight changes over time. At the same time, the vertices and edges of the graph will also change dynamically over time. The dynamic point weight graph includes (n+2) nodes, where n is the number of reconstructed areas in the perception area, including the virtual source node S and the virtual tail node T. The reliability value Rp of any path in the dynamic point weight graph is the weight of the vertex with the smallest redundancy in the path.
[0058] Step S2. Perform node scheduling based on a dynamic point weight graph; including constructing a point weight calculation function according to the point weight graph, calculating the weights between nodes based on the constructed point weight calculation function, clustering the nodes to form a path, and formulating a node scheduling strategy;
[0059] Among them, constructing a point weight calculation function according to the point weight graph includes:
[0060] For each reconstructed area within the sensing region, the point weight calculation function first determines which nodes can cover the area individually. If they meet the coverage threshold ε, the nodes are marked as "sensing backup". After screening all nodes, the point weight function evaluates whether the unmarked nodes in the area can provide information collaboration and whether they can meet the coverage requirements of the reconstructed area. If satisfied, try to group the nodes and determine the maximum coverage group that can be provided. If not satisfied, the function ends and returns the point weight of the area.
[0061] The calculation of the weights between nodes based on the constructed point weight calculation function includes:
[0062] First, the path list and path count are initialized to be empty and zero. Then, a dynamic point weighted graph G is constructed based on the information about the nodes in the cluster uploaded by the cluster head node, and the point weights are calculated using the point weight calculation function. The problem of building a fence path is transformed into finding a suitable path from the virtual source node S to the virtual terminal node T in the graph. The current shortest path is searched iteratively, and the reliability of the fence path is calculated based on the point weights. Using the path reliability R p, update the point weight of each vertex on the path. If the updated point weight becomes zero, it means that the corresponding reconstructed area no longer has enough energy for data monitoring. At the same time, the vertices corresponding to the reconstructed area and the corresponding connected edges should be removed from G.
[0063] The node scheduling strategy includes: first, selecting a suitable barrier path according to the path construction node, adding the barrier path to the path list, and recording the path reliability R p Then, this process is repeated until no new path can be found from the virtual source node to the virtual terminal node. In order to evaluate the status of the currently activated path to determine whether it can meet the quality of service requirements of the network, the sink node sends the potential fence path schedule to all cluster head nodes, which then further distribute it to other nodes in the cluster. This mechanism ensures the effective establishment and maintenance of the fence path to adapt to the dynamic changes of the network.
[0064] In each time interval T, the cluster head node uploads the information in the cluster to the sink node. The sink node will make a unified decision on the received information. At the same time, the cluster head node will review and update the information of all nodes in the cluster. If the cluster head node does not receive a message from the node within a certain period of time, it will determine that the node is faulty. Then, the cluster head node of the faulty node will update the overall information of the reconstruction area to evaluate whether it can meet the coverage requirements without changing the node status. If the coverage requirements are no longer met, the fence repair mechanism will be used to repair the path.
[0065] Step S3: Establish a node repair mechanism for unexpected situations to deal with possible failures or communication interruptions that may occur during the node scheduling process.
[0066] In the above technical solution, the node repair includes: in the weight calculation stage, each group of nodes that meets the coverage threshold ε is marked as a node redundancy set in the same reconstruction area. Each time interval T is divided into m time slots. At the beginning of each time interval, the cluster head node reports the information of the nodes in the cluster to the aggregation node, including the remaining energy and node status of the nodes. In each time slot t, the availability of the current node set is first determined. If any node in the cluster fails, the cluster head node checks the list of node redundancy sets and selects an activated redundant node to replace the failed node in a short time. If all node sets are unavailable, the reconstruction area is unavailable.
[0067] In summary, the embodiment of the present invention provides an Internet of Things node scheduling method based on a dynamic point weighted graph, which has the following beneficial technical effects:
[0068] 1) Improve energy efficiency: By adopting a dynamic weighted graph and node scheduling scheme, this scheme can optimize the scheduling order of nodes and reduce unnecessary energy consumption. Compared with other algorithms, this scheme can enable nodes to collect and transmit data more efficiently, thereby improving energy efficiency.
[0069] 2) Enhanced network fault tolerance: This scheme introduces a novel repair mechanism that can quickly respond to node failures. By partially delegating node scheduling decisions to cluster head nodes, efficient node scheduling and repair are achieved, thereby improving the fault tolerance and stability of the network.
[0070] 3) Improve network coverage performance: This solution uses a reliable information coverage model and a dynamic weighted graph to achieve adaptive fence path construction. By reducing the number of sensing nodes and building more fence paths, the network coverage performance can be improved to ensure effective monitoring and control of specific areas.
[0071] 4) Extending network life: By reducing energy consumption and optimizing the scheduling order of nodes, this scheme can extend the life of the IoT network. Experiments have shown that compared with other algorithms, the network life of this scheme is increased by 1.55 times, providing a longer time window for the stable operation of IoT applications.
[0072] According to a second aspect of the present invention, there is provided an Internet of Things node scheduling system based on a dynamic point weighted graph, comprising:
[0073] The model building module is used to build a network model, an energy model and a node state model, perform node clustering, and generate a dynamic point weight graph based on the above models and clustering results;
[0074] The node scheduling module is used to schedule nodes based on a dynamic point weight graph, including constructing a point weight calculation function according to the point weight graph, calculating the weights between nodes based on the constructed point weight calculation function, clustering the nodes to form a path, and formulating a node scheduling strategy;
[0075] The node repair module is used to establish a node repair mechanism for unexpected situations to deal with failures or communication interruptions that may occur during the node scheduling process.
[0076] It can be understood that the Internet of Things node scheduling system based on dynamic point weighted graph provided by the present invention corresponds to the Internet of Things node scheduling method based on dynamic point weighted graph provided in the aforementioned embodiments. The relevant technical features of the Internet of Things node scheduling system based on dynamic point weighted graph can refer to the relevant technical features of the Internet of Things node scheduling method based on dynamic point weighted graph, which will not be repeated here.
[0077] In addition, the present invention also provides an electronic device, which includes: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The processor can call the logic instructions in the memory to execute the steps of the above-mentioned method for scheduling Internet of Things nodes based on the dynamic point weighted graph.
[0078] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0079] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0080] 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.
[0081] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0082] 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. The IoT node scheduling method based on dynamic point weighted graph is characterized by: The following steps are involved: Construct network model, energy model and node status model, perform node clustering, and generate dynamic point weight graph based on the above models and clustering results; Generating a dynamic point weight graph includes: aggregating nodes, using the information uploaded by the cluster head node to model the network into a dynamic point weight graph G(V, E, α, t), wherein the dynamic point weight graph is composed of a non-empty set V and edges E between nodes, α represents the calculated value of the point weight function corresponding to the node, each node has its own point weight function α, and its weight changes with time t, and the vertices and edges of the dynamic point weight graph change dynamically with the change of time t; Node scheduling based on a dynamic point weight graph, including constructing a point weight calculation function based on the point weight graph, calculating the weights between nodes based on the constructed point weight calculation function, clustering nodes to form paths, and formulating a node scheduling strategy; A node repair mechanism for unexpected situations is established, including: in the weight calculation stage, each group of nodes that meets the coverage threshold in the same reconstruction area is marked as a node redundant set; each time interval T is divided into m time slots, and in each time slot, the availability of the current node set is determined. If any node in the cluster fails, the cluster head node checks the list of node redundant sets and selects an activated redundant node to replace the failed node in a short time. If all node sets are unavailable, the reconstruction area is unavailable; this is to cope with possible failures or communication interruptions during node scheduling.
2. The method for scheduling Internet of Things nodes based on a dynamic point weighted graph according to claim 1, characterized in that: The constructing of the network model comprises: Each reconstruction area is defined as a new cluster, and each cluster is a network of the same size. In each reconstruction area, the node closest to the reconstruction center is first selected as the cluster head node, and other IoT nodes are invited to join the cluster. When the current cluster head node fails, the node with the most energy in the current cluster is selected as the next cluster head.
3. The method for scheduling Internet of Things nodes based on a dynamic point weighted graph according to claim 1, characterized in that: The constructing of the node state model comprises: The IoT nodes are divided into: activation state, relay state, sleep state and failure state; the nodes are converted between the above states in clusters, and the non-cluster head nodes receive the instructions of the cluster head nodes to convert the node states.
4. The method for scheduling Internet of Things nodes based on a dynamic point weighted graph according to claim 3, characterized in that: During the conversion process, once the node fails, it cannot enter the other three states.
5. The method for scheduling Internet of Things nodes based on a dynamic point weighted graph according to claim 1, characterized in that: The node cluster comprises: The cluster head nodes collect information from all nodes in their respective clusters and upload the information to the sink node.
6. The method for scheduling Internet of Things nodes based on a dynamic point weighted graph according to claim 1, characterized in that: The constructing of a point weight calculation function according to the point weight graph comprises: For each reconstruction area within the sensing area, determine the nodes that cover the area individually, and mark the nodes that meet the coverage threshold as "sensing backup"; after screening all nodes, evaluate whether the unmarked nodes in the area can provide information collaboration and whether they can meet the coverage requirements of the reconstruction area; If satisfied, try to group the nodes and determine the maximum covering group provided; If not satisfied, the function ends and returns the point weight of the area.
7. The method for scheduling Internet of Things nodes based on a dynamic point weighted graph according to claim 1, characterized in that: The formulation of the node scheduling strategy includes: Select a suitable fence path according to the path construction node, add the fence path to the path list, and record the reliability of the path; repeat the above process until no new path from the virtual source node to the virtual terminal node can be found.
8. The IoT node scheduling system based on dynamic point weighted graph is characterized by: include: The model building module is used to build a network model, an energy model and a node state model, perform node clustering, and generate a dynamic point weight graph based on the above models and clustering results; Generating a dynamic point weight graph includes: aggregating nodes, using the information uploaded by the cluster head node to model the network into a dynamic point weight graph G(V, E, α, t), wherein the dynamic point weight graph is composed of a non-empty set V and edges E between nodes, α represents the calculated value of the point weight function corresponding to the node, each node has its own point weight function α, and its weight changes with time t, and the vertices and edges of the dynamic point weight graph change dynamically with the change of time t; The node scheduling module is used to schedule nodes based on a dynamic point weight graph, including constructing a point weight calculation function according to the point weight graph, calculating the weights between nodes based on the constructed point weight calculation function, clustering the nodes to form a path, and formulating a node scheduling strategy; The node repair module is used to establish a node repair mechanism for unexpected situations, including: in the weight calculation stage, each group of nodes that meets the coverage threshold in the same reconstruction area is marked as a node redundancy set; each time interval T is divided into m time slots, and in each time slot, the availability of the current node set is determined. If any node in the cluster fails, the cluster head node checks the list of node redundancy sets and selects an activated redundant node to replace the failed node in a short time. If all node sets are unavailable, the reconstruction area is unavailable; this is to cope with possible failures or communication interruptions during node scheduling.
9. 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 Internet of Things node scheduling method based on the dynamic point weighted graph as described in any one of claims 1 to 7 is implemented.
