Clustering networking communication method and system, medium and electronic equipment
By using fixed nodes to select cluster heads and allocate control channel resources in clustered network communications, the problem of network instability caused by the movement of cluster heads is solved, and the stability and networking speed of the communication system are improved.
Patent Information
- Application Number
- CN202410223279.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-08-23
AI Technical Summary
In existing clustered network communications, the selection and movement of cluster head nodes is complex, resulting in network instability, slow route recovery, and loss of business data.
In the clustering network communication, the fixed node selects the cluster head node and sends control information through the target cluster head node. The fixed and mobile nodes apply for network access and allocate control channel resources to ensure smooth node ownership and communication.
It avoids cluster separation and fusion caused by the movement of cluster heads, improves network stability and communication success rate, clarifies the responsibilities of nodes in the network access process, and improves the speed of networking.
Smart Images

Figure CN118540760A
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of communication technology, and in particular, relates to a clustering networking communication method, a clustering networking communication system, a computer-readable storage medium, and an electronic device. Background Art
[0002] Clustering is a basic method to achieve network topology control in mobile ad-hoc networks (MANETs). It mainly divides multiple nodes in the network into different clusters. Usually, each cluster selects one node as the cluster head and the other nodes as cluster members. Node communication between different clusters generally needs to be forwarded by their respective cluster head nodes.
[0003] In the related art, the technical solutions for selecting cluster heads include cluster head selection algorithms based on classes, cluster head selection algorithms based on residual energy, and cluster head selection algorithms that take multiple factors into consideration. However, these cluster head selection algorithms are relatively complex when selecting cluster heads. Moreover, the movement of nodes in the system will lead to cluster head reselection, and the movement of cluster heads will lead to the separation and fusion of clusters, which will lead to network instability, slow routing recovery, and service data loss. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a clustering network communication method, a clustering network communication system, a computer-readable storage medium and an electronic device.
[0005] According to a first aspect of an embodiment of the present disclosure, a cluster networking communication method is provided, wherein a cluster includes a fixed node, a mobile node and a cluster head node, wherein the cluster head node is selected from the fixed nodes, and each cluster has one cluster head node, wherein the wireless resources include control channel resources, and the method includes:
[0006] The target cluster head node sends control information, wherein the control information includes time information and status information;
[0007] The fixed node in the cluster where the target cluster head node is located obtains the control information, and sends a first network access application to the target cluster head node according to the control information, and the target cluster head node allocates the control channel resource to the fixed node according to the first network access application, so that the fixed node uses the control channel resource to send the control information for communication;
[0008] The mobile node in the cluster where the target cluster head node is located obtains the control information, and sends a second network access application to the target cluster head node according to the control information. The target cluster head node allocates the control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send the control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
[0009] Optionally, the fixed node in the cluster where the target cluster head node is located obtains the control information, and sends a first network access application to the target cluster head node according to the control information, including:
[0010] The fixed node in the cluster where the target cluster head node is located obtains the first cluster head information in the state information, and obtains the preset second cluster head information;
[0011] The fixed node compares the first cluster head information with the second cluster head information to obtain a first comparison result, and sends a first network access application to the target cluster head node according to the first comparison result.
[0012] Optionally, the mobile node in the cluster where the target cluster head node is located obtains the control information, and sends a second network access application to the target cluster head node according to the control information, including:
[0013] When the mobile node in the cluster where the target cluster head node is located receives the first cluster head information in the state information, the mobile node sends a second network access application to the target cluster head node according to the control information;
[0014] Or, when the mobile node in the cluster where the target cluster head node is located receives the first cluster head information in at least two of the state information, the mobile node obtains at least two first signal-to-noise ratios corresponding to the first cluster head information; the mobile node compares the at least two first signal-to-noise ratios to obtain a second comparison result, and determines a target signal-to-noise ratio from the at least two first signal-to-noise ratios according to the second comparison result; the mobile node obtains a first network access threshold corresponding to the at least two first signal-to-noise ratios, and sends a second network access application to the target cluster head node according to the target signal-to-noise ratio and the first network access threshold.
[0015] Optionally, after the mobile node belongs to the cluster where the target cluster head node is located, the method further includes:
[0016] When the mobile node is covered by the cluster where the adjacent cluster head node corresponding to the target cluster head node is located, the mobile node obtains the second signal-to-noise ratio of the cluster where the adjacent cluster head node is located and the switching threshold corresponding to the adjacent cluster head node;
[0017] When the target signal-to-noise ratio is less than the switching threshold and the second signal-to-noise ratio is greater than or equal to a second network access threshold, the mobile node belongs to the cluster where the adjacent cluster head node is located, wherein the switching threshold is less than the second network access threshold, and the second network access threshold is greater than the first network access threshold.
[0018] Optionally, the wireless resources include service channel resources, and the method further includes:
[0019] When the mobile node is in the overlapping area, the mobile node sends a service resource application to the target cluster head node and the adjacent cluster head node;
[0020] The target cluster head node and the adjacent cluster head node respectively allocate the service channel resources to the mobile node, and respectively generate resource scheduling information and send it to the mobile node;
[0021] The mobile node obtains the service channel resources according to the resource scheduling information, and uses the service channel resources to send and receive services in the clusters where the target cluster head node and the adjacent cluster head node are located.
[0022] Optionally, the control information includes first topology information, and the first topology information includes topology information of the target cluster head node, the fixed node, and the mobile node in the cluster where the target cluster head node is located.
[0023] The method further comprises:
[0024] The target cluster head node, the fixed node and the mobile node forward the first topology information within the cluster where the target cluster head node is located;
[0025] The target cluster head node, the fixed node and the mobile node forward second topology information of the cluster where the adjacent cluster head node corresponding to the target cluster head node is located within the cluster where the target cluster head node is located;
[0026] The fixed node, the mobile node and the target cluster head node calculate routing information according to the first topology information and the second topology information, and send and receive services according to the routing information.
[0027] Optionally, the wireless resources include service channel resources, and the method further includes:
[0028] The fixed node sends a service resource request to the target cluster head node;
[0029] The target cluster head node allocates the service channel resource to the fixed node according to the service resource application, and generates resource scheduling information and sends it to the fixed node;
[0030] The fixed node obtains the service channel resources according to the resource scheduling information, and uses the service channel resources to perform service transmission and reception in the cluster where the target cluster head node is located.
[0031] According to a second aspect of an embodiment of the present disclosure, a cluster networking communication system is provided, wherein a cluster includes a fixed node, a mobile node and a cluster head node, wherein the cluster head node is selected from the fixed nodes, and each cluster has one cluster head node, wherein the wireless resources include control channel resources, including:
[0032] The target cluster head node is used to send control information, and the control information includes time information and status information;
[0033] The fixed node in the cluster where the target cluster head node is located is used to obtain the control information, and send a first network access application to the target cluster head node according to the control information, and the target cluster head node allocates the control channel resource to the fixed node according to the first network access application, so that the fixed node uses the control channel resource to send the control information for communication;
[0034] The mobile node in the cluster where the target cluster head node is located is used to obtain the control information, and sends a second network access application to the target cluster head node according to the control information. The target cluster head node allocates the control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send the control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
[0035] According to a third aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of any one of the methods provided in the first aspect of the present disclosure are implemented.
[0036] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0037] processor;
[0038] a memory for storing processor-executable instructions;
[0039] The processor is configured to: execute the executable instructions to implement the steps of any one of the methods provided in the first aspect of the present disclosure.
[0040] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0041] In the method and system provided by the exemplary embodiment of the present disclosure, a cluster head node is selected from fixed nodes, which avoids the separation and fusion of clusters caused by the movement of cluster heads in related technologies, and also solves security issues such as network instability and business data loss. Furthermore, a communication method in a cluster networking scenario is provided, which clarifies the responsibilities of the cluster head node, the fixed nodes in the cluster where the cluster head node is located, and the mobile nodes in the network access process, etc., ensures the smooth progress of all nodes in the network access process and communication process, and improves the success rate, stability and networking speed of the communication system.
[0042] Other features and advantages of the present disclosure will be described in detail in the following detailed description.
[0043] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0045] Figure 1 A schematic diagram of a process flow of a cluster networking communication method in an exemplary embodiment of the present disclosure is schematically shown;
[0046] Figure 2 The structure diagram of the cluster communication system in the exemplary embodiment of the present disclosure is schematically shown;
[0047] Figure 3 A schematic diagram of a process of a method for a fixed node to send a first network access application in an exemplary embodiment of the present disclosure is schematically shown;
[0048] Figure 4 A schematic diagram of a process of a method for a mobile node to send a second network access application in an exemplary embodiment of the present disclosure is schematically shown;
[0049] Figure 5 A schematic diagram of a flow chart of a method for a mobile node to switch its cluster in an exemplary embodiment of the present disclosure is schematically shown;
[0050] Figure 6 A schematic diagram of a flow chart of a method for scheduling service channel resources by a fixed node in an exemplary embodiment of the present disclosure is shown;
[0051] Figure 7 The flowchart of the method for scheduling traffic channel resources by a mobile node in an exemplary embodiment of the present disclosure is schematically shown;
[0052] Figure 8A schematic diagram of a process of a method for sending and receiving services according to routing information in an exemplary embodiment of the present disclosure is schematically shown;
[0053] Fig. 9 A schematic diagram of the structure of a cluster networking communication system in an exemplary embodiment of the present disclosure is shown;
[0054] Fig.10 Schematically illustrating an electronic device for implementing a clustered networking communication method in an exemplary embodiment of the present disclosure;
[0055] Fig.11 Another electronic device for implementing a clustered networking communication method in an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of systems and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0057] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where they are located and with the authorization given by the corresponding system owner.
[0058] The present invention provides a cluster networking communication method. Figure 1 FIG. 1 is a flow chart of a cluster networking communication method according to an exemplary embodiment. Figure 1 As shown, the cluster includes fixed nodes, mobile nodes and cluster head nodes, the cluster head nodes are selected from the fixed nodes, each cluster has one cluster head node, the wireless resources include control channel resources, and the method may at least include the following steps:
[0059] Step S110: The target cluster head node sends control information, which includes time information and status information.
[0060] Step S120. The fixed node in the cluster where the target cluster head node is located obtains control information and sends a first network access application to the target cluster head node according to the control information. The target cluster head node allocates control channel resources to the fixed node according to the first network access application, so that the fixed node uses the control channel resources to send control information for communication.
[0061] Step S130. The mobile node in the cluster where the target cluster head node is located obtains control information, and sends a second network access application to the target cluster head node according to the control information. The target cluster head node allocates control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
[0062] In the exemplary embodiment of the present disclosure, a cluster head node is selected from fixed nodes, which avoids the separation and fusion of clusters caused by cluster head movement in related technologies, and also solves security issues such as network instability and business data loss. Furthermore, a communication method in a cluster networking scenario is provided, which clarifies the responsibilities of the cluster head node, the fixed nodes in the cluster where the cluster head node is located, and the mobile nodes in the network access process, etc., ensures the smooth progress of all nodes in the network access process and communication process, and improves the success rate, stability and networking speed of the communication system.
[0063] The following describes in detail each step of the cluster networking communication method.
[0064] In step S110, the target cluster head node sends control information, which includes time information and status information.
[0065] In an exemplary embodiment of the present disclosure, when the nodes in a communication system are distributed on a relatively long channel, such as communication systems such as subways, mines, and power trunk lines, most of the nodes are fixed and a small number are mobile, and topology changes are mainly caused by mobile nodes when they move.
[0066] Among them, fixed nodes are fixed nodes, and movable nodes are mobile nodes.
[0067] Figure 2 The schematic diagram of the structure of the cluster communication system is shown in FIG. Figure 2 As shown in the figure, the communication system can be divided into different clusters according to factors such as node distribution density, transmission distance and hop limit. There are overlapping areas between adjacent clusters, and the wireless resources of adjacent clusters are not conflicting, that is, the wireless resources between adjacent clusters do not interfere with each other. Therefore, in the overlapping area of the clusters, nodes belonging to different clusters can communicate with each other. At the same time, due to the simple topology, it can basically be guaranteed that only two adjacent clusters overlap.
[0068] Each cluster has only one cluster head, and the nodes selected as cluster heads are fixed nodes. When the cluster area is divided, the node at the center of the cluster is generally selected as the cluster head, and other nodes in the cluster belong to the cluster after successfully joining the network.
[0069] In this communication system, wireless resources can be divided into the following channel categories:
[0070] 1. Access channel, used for network access application of new nodes.
[0071] 2. Control channel: used for nodes to send control information, including cluster time information, status information, topology information, etc. At the same time, service resource applications can be initiated to the cluster head on the control channel.
[0072] 3. Scheduling channel, used to send scheduling information, including node access confirmation information and information on allocation of control channel resources and service channel resources for nodes within the cluster.
[0073] 4. Service channel: used for sending and receiving data services between nodes in the cluster.
[0074] The wireless resources of each cluster do not conflict with the wireless resources of adjacent clusters and can be isolated in the time domain or frequency domain. For example, adjacent clusters use different time slots for wireless transmission and reception, or adjacent clusters use non-interfering frequencies for wireless service transmission and reception.
[0075] The entire communication system is synchronized through external synchronization, which only requires configuring an external synchronization source in the cluster head node, such as GPS (Global Positioning System) synchronization signal, etc. The nodes in the cluster only need to synchronize with the cluster head to achieve full network synchronization.
[0076] In this communication system, nodes in a cluster can only communicate with nodes in the cluster and adjacent clusters. In addition to the cluster head node, there are two types of nodes: mobile nodes and fixed nodes.
[0077] The target cluster head node is the core node for wireless access control and resource scheduling and allocation within the cluster. A cluster without a cluster head node cannot be networked.
[0078] When the target cluster head node is started, it periodically sends control information to let other nodes in the cluster discover itself. The control message can include time information and status information, where the time information can be the synchronization time of the entire network, and the status information can include cluster information (cluster head node ID (Identity) and the number of nodes in the cluster, etc.). After the fixed node and the mobile node are started, they are in the receiving state, waiting to receive the control information of the target cluster head node or the node that has joined the network in the cluster, and decide whether to apply for joining the network according to the configuration.
[0079] In step S120, the fixed node in the cluster where the target cluster head node is located obtains control information and sends a first network access application to the target cluster head node according to the control information. The target cluster head node allocates control channel resources to the fixed node according to the first network access application, so that the fixed node uses the control channel resources to send control information for communication.
[0080] In an exemplary embodiment of the present disclosure, a fixed node is a node that does not move and belongs to only one cluster, and therefore cluster head information must be configured.
[0081] In an alternative embodiment, Figure 3 A flow chart of a method for a fixed node to send a first network access application is shown. Figure 3 As shown, in step S310, the fixed node in the cluster where the target cluster head node is located obtains the first cluster head information in the state information, and obtains the preset second cluster head information.
[0082] When the fixed node is started, it monitors the wireless signal to obtain the control information, and decides whether to join the network according to the first cluster head information contained in the control information.
[0083] The cluster head information pre-configured for the fixed node is used as the second cluster head information.
[0084] In step S320, the fixed node compares the first cluster head information with the second cluster head information to obtain a first comparison result, and sends a first network access application to the target cluster head node according to the first comparison result.
[0085] After acquiring the first cluster head information and the second cluster head information, the fixed node may obtain a first comparison result between the first cluster head information and the second cluster head information.
[0086] When the first comparison result indicates that the first cluster head information is consistent with the configured second cluster head information, for example, when the ID of the first cluster head is consistent with the ID of the second cluster head, a first network access application is sent to the target cluster head node to apply for access.
[0087] After the fixed node synchronizes with the cluster time according to the synchronization information of the target cluster head node, it applies for network access on the corresponding access channel, and the neighboring nodes in the cluster forward the application to the target cluster head node through multi-hop mode.
[0088] After receiving the network access application and confirming that it can access the network, the target cluster head node sends the network access confirmation information containing the node on the scheduling channel and allocates control channel resources to the fixed node for sending control information.
[0089] After receiving the network access confirmation information, the fixed node successfully accesses the network and can use the allocated control channel time slot to send control information. It is worth noting that the fixed node can only access the cluster where the pre-configured target cluster head node is located.
[0090] All fixed nodes that have joined the network will send control information on the control channel that contains the entire network time information and cluster information, which is used for other nodes that have not joined the network to discover the cluster.
[0091] In step S130, the mobile node in the cluster where the target cluster head node is located obtains control information, and sends a second network access application to the target cluster head node according to the control information. The target cluster head node allocates control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
[0092] In an exemplary embodiment of the present disclosure, a mobile node is a node that can move between different clusters, and therefore does not need to be configured with a cluster head node to which it belongs.
[0093] In an alternative embodiment, Figure 4 A flow chart showing a method for a mobile node to send a second network access application is shown. Figure 4 As shown, the method may at least include the following steps: In step S410, when a mobile node in the cluster where the target cluster head node is located receives first cluster head information in a state information, the mobile node sends a second network access application to the target cluster head node according to the control information.
[0094] When the mobile node is powered on, it will monitor the control information of the cluster where the target cluster head node is located for a period of time.
[0095] If the mobile node only receives the first cluster head information of the cluster where the target cluster head node is located, it will initiate a second network access application on the access channel after time synchronization with the cluster.
[0096] In step S420, when the mobile node in the cluster where the target cluster head node is located receives the first cluster head information in the at least two state information, the mobile node obtains at least two first signal-to-noise ratios corresponding to the first cluster head information; the mobile node compares the at least two first signal-to-noise ratios to obtain a second comparison result, and determines a target signal-to-noise ratio from the at least two first signal-to-noise ratios according to the second comparison result; the mobile node obtains a first network access threshold corresponding to the at least two first signal-to-noise ratios, and sends a second network access application to the target cluster head node according to the target signal-to-noise ratio and the first network access threshold.
[0097] If the mobile node simultaneously receives the first cluster head information of the clusters where multiple target cluster head nodes are located, that is, when the mobile node is in the overlapping coverage area of multiple clusters, the judgment is made according to the SNR (Signal-to-Noise Ratio) values of the wireless signals received from different clusters, that is, the first SNR.
[0098] Specifically, at least two first signal-to-noise ratios are compared to obtain a second comparison result, and the largest first signal-to-noise ratio among the at least two first signal-to-noise ratios is determined as the target signal-to-noise ratio according to the second comparison result.
[0099] Further, according to the cluster corresponding to the received target signal-to-noise ratio, when the SNR exceeds the set first network access threshold, a second network access application is sent to the target cluster head node to access the corresponding cluster.
[0100] It is worth noting that, in order to facilitate the mobile node to quickly join a cluster, the first network access threshold may not be set according to actual conditions to lower the threshold for the mobile node to join the cluster, and this exemplary embodiment does not make any special limitation to this.
[0101] After the mobile node is synchronized with the cluster time according to the synchronization information of the target cluster head node, it applies for network access on the corresponding access channel, and the neighboring nodes in the cluster forward the application to the target cluster head node through multi-hop mode.
[0102] After receiving the network access application and confirming that the target cluster head node can access the network, it sends the network access confirmation information containing the node on the scheduling channel and allocates control channel resources to the mobile node for sending control information.
[0103] After receiving the network access confirmation information, the mobile node successfully accesses the network and can use the allocated control channel time slot to send control signals. In addition, the mobile node accesses the cluster selected when accessing the network. If the access is successful, it marks itself as belonging to the cluster.
[0104] All mobile nodes that have joined the network will send control information on the control channel that contains the entire network time information and cluster information, which is used for other nodes that have not joined the network to discover the cluster.
[0105] In an alternative embodiment, Figure 5 A schematic diagram showing a flow chart of a method for a mobile node to switch its cluster is shown in FIG. Figure 5 As shown, the method may at least include the following steps: in step S510, when the mobile node is covered by the cluster where the adjacent cluster head node corresponding to the target cluster head node is located, the mobile node obtains the second signal-to-noise ratio of the cluster where the adjacent cluster head node is located and the switching threshold corresponding to the adjacent cluster head node.
[0106] When the mobile node moves away from the home cluster and enters the range of the neighboring cluster, it can decide whether to switch the home cluster by comparing the received signal SNR of the home cluster and the SNR of the neighboring cluster.
[0107] In step S520, when the target signal-to-noise ratio is less than the switching threshold and the second signal-to-noise ratio is greater than or equal to the second network access threshold, the mobile node belongs to the cluster where the adjacent cluster head node is located, wherein the switching threshold is less than the second network access threshold, and the second network access threshold is greater than the first network access threshold.
[0108] When the maximum signal SNR received by the cluster to which the mobile node belongs, that is, the target signal-to-noise ratio is lower than the switching threshold (switching warning threshold), and the maximum SNR received from the neighboring cluster, that is, the second signal-to-noise ratio reaches the second network access threshold (network access threshold), the cluster to which the mobile node belongs is changed to the corresponding neighboring cluster, that is, the cluster where the adjacent cluster head node is located.
[0109] In an optional embodiment, the wireless resources include service channel resources. Figure 6 A flow chart of a method for scheduling service channel resources at a fixed node is shown. Figure 6 As shown, the method may at least include the following steps: In step S610, the fixed node sends a service resource application to the target cluster head node.
[0110] Fixed nodes apply for service channel resources from the target cluster head node through the control channel according to service needs. Fixed nodes can only apply for service resources from the target cluster head node of their own cluster.
[0111] In step S620, the target cluster head node allocates service channel resources to the fixed node according to the service resource application, and generates resource scheduling information and sends it to the fixed node.
[0112] After receiving the service resource application request from the fixed node of the cluster, the target cluster head node allocates service resources to the applying fixed node according to the resource situation of the cluster, generates resource scheduling information, and then broadcasts the resource scheduling information to the entire cluster through the scheduling channel.
[0113] After receiving the resource scheduling information, other nodes in the cluster also need to assist in broadcasting on the subsequent scheduling channel, so that all nodes in the entire cluster can receive the resource scheduling information through multi-hop relay.
[0114] In step S630, the fixed node obtains the service channel resources according to the resource scheduling information, and uses the service channel resources to send and receive services in the cluster where the target cluster head node is located.
[0115] After receiving the resource scheduling information, the fixed node uses the service channel resources allocated to it in the resource scheduling information.
[0116] Since the service channel resources between adjacent clusters do not conflict, the nodes on the cluster boundary will not interfere with each other when using the allocated service channel resources to send and receive services.
[0117] It is worth noting that when the mobile node is not in the overlapping area, the service can also be sent and received in this manner.
[0118] In an optional embodiment, the wireless resources include service channel resources. Figure 7A flow chart showing a method for scheduling traffic channel resources by a mobile node is shown. Figure 7 As shown, the method may at least include the following steps: In step S710, when the mobile node is in the overlapping area, the mobile node sends a service resource application to the target cluster head node and the adjacent cluster head node.
[0119] In addition to applying for service channel resources from the home cluster, the mobile node can also apply for service channel resources from the neighboring cluster when the mobile node is at the boundary of the cluster and can receive the signal from the neighboring cluster.
[0120] In step S720, the target cluster head node and the neighboring cluster head node respectively allocate service channel resources to the mobile node, and respectively generate resource scheduling information and send it to the mobile node.
[0121] After the target cluster head node receives the service resource application request from the mobile nodes of its own cluster and the mobile nodes of the neighboring clusters, it allocates service channel resources to the applying mobile nodes according to the resource situation of its own cluster, generates resource scheduling information, and then broadcasts the resource scheduling information to the entire cluster through the scheduling channel.
[0122] After receiving the resource scheduling information, other nodes in the cluster also need to assist in broadcasting on the subsequent scheduling channel, so that all nodes in the entire cluster can receive the resource scheduling information through a multi-hop approach.
[0123] In step S730, the mobile node obtains service channel resources according to the resource scheduling information, and uses the service channel resources to send and receive services in the clusters where the target cluster head node and the adjacent cluster head node are located.
[0124] After receiving the resource scheduling information, the mobile node uses the service channel resources allocated to it in the resource scheduling information.
[0125] Since the service channel resources between adjacent clusters do not conflict, the nodes on the cluster boundary will not interfere with each other when using the allocated service channel resources to send and receive services. For mobile nodes, when they have both the wireless service resources of their own cluster and the wireless service resources of the neighboring cluster, they can send and receive services in both clusters at the same time, playing the role of transferring the services of adjacent clusters.
[0126] In an optional embodiment, the control information includes first topology information, and the first topology information includes topology information of the target cluster head node, the fixed nodes, and the mobile nodes in the cluster where the target cluster head node is located. Figure 8 A flow chart of a method for sending and receiving services according to routing information is shown, such as Figure 8 As shown, the method may at least include the following steps: In step S810, the target cluster head node, the fixed nodes and the mobile nodes forward the first topology information within the cluster where the target cluster head node is located.
[0127] The nodes in the cluster of the target cluster head node periodically send the first topology information of the cluster on the control channel.
[0128] In step S820, the target cluster head node, the fixed nodes and the mobile nodes forward the second topology information of the cluster where the adjacent cluster head node corresponding to the target cluster head node is located within the cluster where the target cluster head node is located.
[0129] When a node at the cluster boundary receives topology information from an adjacent cluster, if the cluster marked by the topology information is the target adjacent cluster, it receives and processes the topology information of the adjacent cluster and forwards the topology information within the cluster; if the marked cluster is not an adjacent cluster, it does not process the topology message. In other words, the node only processes the topology information of the cluster and the adjacent cluster.
[0130] In step S830, the fixed node, the mobile node and the target cluster head node calculate routing information according to the first topology information and the second topology information, and perform service transmission and reception according to the routing information.
[0131] With the multi-hop relay forwarding of fixed nodes, mobile nodes, target cluster head nodes and adjacent cluster head nodes in the cluster and adjacent clusters, each node in the cluster can obtain the topological information of all nodes in the cluster and adjacent clusters. Based on the topological map obtained by each node based on the topological information, various routing algorithms can be used to calculate the routing information to any node.
[0132] When there is a business to be sent, after finding the route to the destination according to the routing table generated by the routing information, the business can be sent from the source end to the destination end through a multi-hop method.
[0133] The routing algorithm may be a DFS (Deep First Search) algorithm or other algorithms, which is not particularly limited in this exemplary embodiment.
[0134] In the exemplary embodiment of the present disclosure, the cluster head node is selected from the fixed nodes, which avoids the separation and fusion of clusters caused by the movement of the cluster head in the related technology, and instead turns the disadvantage of the movement of the mobile node into an advantage. This advantage is used to realize the role of transferring the services of adjacent clusters and forwarding topological information to connect the routing process, and also solves the security problems such as network instability and business data loss. Furthermore, a communication method in a cluster networking scenario is provided, which clarifies the responsibilities of the cluster head node, the fixed nodes in the cluster where the cluster head node is located, and the mobile nodes in the network access process, scheduling process, routing process, etc., ensures the smooth progress of all nodes in the network access process, scheduling process, routing process and other processes, and improves the success rate, stability and networking speed of the communication system.
[0135] In addition, in an exemplary embodiment of the present disclosure, a cluster networking communication system is also provided. Fig. 9 The structure diagram of the cluster networking communication system is shown in FIG. Fig. 9 As shown, the cluster includes fixed nodes, mobile nodes and cluster head nodes. The cluster head nodes are selected from the fixed nodes. There is one cluster head node in each cluster. The wireless resources include control channel resources. The cluster networking communication system 900 may include: a target cluster head node 910, a fixed node 920 and a mobile node 930.
[0136] in:
[0137] The target cluster head node 910 is used to send control information, where the control information includes time information and status information;
[0138] The fixed node 920 in the cluster where the target cluster head node is located is used to obtain the control information, and send a first network access application to the target cluster head node according to the control information, and the target cluster head node allocates the control channel resource to the fixed node according to the first network access application, so that the fixed node uses the control channel resource to send the control information for communication;
[0139] The mobile node 930 in the cluster where the target cluster head node is located is used to obtain the control information, and send a second network access application to the target cluster head node according to the control information. The target cluster head node allocates the control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send the control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
[0140] In an exemplary embodiment of the present invention, the fixed node 920 in the cluster where the target cluster head node is located obtains the control information, and sends a first network access application to the target cluster head node according to the control information, including:
[0141] The fixed node 920 in the cluster where the target cluster head node is located obtains the first cluster head information in the state information, and obtains the preset second cluster head information;
[0142] The fixed node 920 compares the first cluster head information with the second cluster head information to obtain a first comparison result, and sends a first network access application to the target cluster head node according to the first comparison result.
[0143] In an exemplary embodiment of the present invention, the mobile node 930 in the cluster where the target cluster head node is located obtains the control information, and sends a second network access application to the target cluster head node according to the control information, including:
[0144] When the mobile node 930 in the cluster where the target cluster head node is located receives the first cluster head information in the state information, the mobile node sends a second network access application to the target cluster head node according to the control information;
[0145] Or, when the mobile node 930 in the cluster where the target cluster head node is located receives the first cluster head information in at least two of the status information, the mobile node obtains at least two first signal-to-noise ratios corresponding to the first cluster head information; the mobile node compares the at least two first signal-to-noise ratios to obtain a second comparison result, and determines a target signal-to-noise ratio from the at least two first signal-to-noise ratios according to the second comparison result; the mobile node obtains a first network access threshold corresponding to the at least two first signal-to-noise ratios, and sends a second network access application to the target cluster head node according to the target signal-to-noise ratio and the first network access threshold.
[0146] In an exemplary embodiment of the present invention, after the mobile node belongs to the cluster where the target cluster head node is located, the cluster networking communication system further includes:
[0147] When the mobile node is covered by the cluster where the adjacent cluster head node corresponding to the target cluster head node is located, the mobile node 930 acquires a second signal-to-noise ratio corresponding to the adjacent cluster head node and a switching threshold corresponding to the adjacent cluster head node;
[0148] When the target signal-to-noise ratio is less than the switching threshold and the second signal-to-noise ratio is greater than or equal to the second network access threshold, the mobile node 930 belongs to the cluster where the adjacent cluster head node is located, wherein the switching threshold is less than the second network access threshold, and the second network access threshold is greater than the first network access threshold.
[0149] In an exemplary embodiment of the present invention, the wireless resources include service channel resources, and the cluster networking communication system further includes:
[0150] When the mobile node is in the overlapping area, the mobile node 930 sends a service resource application to the target cluster head node and the adjacent cluster head node;
[0151] The target cluster head node 910 and the adjacent cluster head node respectively allocate the service channel resources to the mobile node 930, and respectively generate resource scheduling information and send it to the mobile node;
[0152] The mobile node 930 acquires the service channel resources according to the resource scheduling information, and uses the service channel resources to perform service transmission and reception in the clusters where the target cluster head node and the adjacent cluster head node are located.
[0153] In an exemplary embodiment of the present invention, the control information includes first topology information, the first topology information includes topology information of the target cluster head node, the fixed node and the mobile node in the cluster where the target cluster head node is located, and the cluster networking communication system further includes:
[0154] The target cluster head node 910, the fixed node 920 and the mobile node 930 forward the first topology information within the cluster where the target cluster head node is located;
[0155] The target cluster head node 910, the fixed node 920 and the mobile node 930 forward the second topology information of the cluster where the adjacent cluster head node corresponding to the target cluster head node is located within the cluster where the target cluster head node is located;
[0156] The fixed node 920, the mobile node 930 and the target cluster head node 910 calculate routing information according to the first topology information and the second topology information, and send and receive services according to the routing information.
[0157] In an exemplary embodiment of the present invention, the wireless resources include service channel resources, and the cluster networking communication system further includes:
[0158] The fixed node 920 sends a service resource request to the target cluster head node;
[0159] The target cluster head node 910 allocates the service channel resource to the fixed node according to the service resource application, and generates resource scheduling information and sends it to the fixed node;
[0160] The fixed node 920 obtains the service channel resources according to the resource scheduling information, and uses the service channel resources to perform service transmission and reception in the cluster where the target cluster head node is located.
[0161] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0162] Fig.10 FIG. 1 is a block diagram of an electronic device 1000 according to an exemplary embodiment. Fig.10 As shown, the electronic device 1000 may include: a processor 1001 and a memory 1002. The electronic device 1000 may also include one or more of a multimedia component 1003, an input / output (I / O) interface 1004, and a communication component 1005.
[0163] The processor 1001 is used to control the overall operation of the electronic device 1000 to complete all or part of the steps in the above-mentioned cluster networking communication method. The memory 1002 is used to store various types of data to support the operation of the electronic device 1000, and these data may include, for example, instructions for any application or method used to operate on the electronic device 1000, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 1002 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 1003 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 1002 or sent through the communication component 1005. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 1004 provides an interface between the processor 1001 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 1005 is used for wired or wireless communication between the electronic device 1000 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 1005 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0164] In an exemplary embodiment, the electronic device 1000 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), digital signal processing devices (Digital Signal Processing Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable Gate Array, FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned cluster networking communication method.
[0165] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned cluster networking communication method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 1002 including program instructions, and the above-mentioned program instructions can be executed by the processor 1001 of the electronic device 1000 to complete the above-mentioned cluster networking communication method.
[0166] Fig.11 1 is a block diagram of an electronic device 1100 according to an exemplary embodiment. For example, the electronic device 1100 may be provided as a server. Fig.11 The electronic device 1100 includes a processor 1122, which may be one or more, and a memory 1132 for storing a computer program executable by the processor 1122. The computer program stored in the memory 1132 may include one or more modules each corresponding to a set of instructions. In addition, the processor 1122 may be configured to execute the computer program to perform the above-mentioned cluster networking communication method.
[0167] In addition, the electronic device 1100 may further include a power supply component 1126 and a communication component 1150, wherein the power supply component 1126 may be configured to perform power management of the electronic device 1100, and the communication component 1150 may be configured to implement communication of the electronic device 1100, for example, wired or wireless communication. In addition, the electronic device 1100 may further include an input / output (I / O) interface 1158. The electronic device 1100 may operate based on an operating system stored in the memory 1132.
[0168] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by the processor, the steps of the above-mentioned cluster networking communication method are implemented. For example, the non-transitory computer-readable storage medium can be the above-mentioned memory 1132 including program instructions, and the above-mentioned program instructions can be executed by the processor 1122 of the electronic device 1100 to complete the above-mentioned cluster networking communication method.
[0169] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above cluster networking communication method when executed by the programmable device.
[0170] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0171] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0172] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A cluster networking communication method, It is characterized in that The cluster includes a fixed node, a mobile node and a cluster head node, the cluster head node is selected from the fixed nodes, each cluster has one cluster head node, the wireless resources include control channel resources, and the method includes: The target cluster head node sends control information, wherein the control information includes time information and status information; The fixed node in the cluster where the target cluster head node is located obtains the control information, and sends a first network access application to the target cluster head node according to the control information, and the target cluster head node allocates the control channel resource to the fixed node according to the first network access application, so that the fixed node uses the control channel resource to send the control information for communication; The mobile node in the cluster where the target cluster head node is located obtains the control information, and sends a second network access application to the target cluster head node according to the control information. The target cluster head node allocates the control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send the control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
2. The cluster networking communication method according to claim 1, It is characterized in that The fixed node in the cluster where the target cluster head node is located obtains the control information, and sends a first network access application to the target cluster head node according to the control information, including: The fixed node in the cluster where the target cluster head node is located obtains the first cluster head information in the state information, and obtains the preset second cluster head information; The fixed node compares the first cluster head information with the second cluster head information to obtain a first comparison result, and sends a first network access application to the target cluster head node according to the first comparison result.
3. The cluster networking communication method according to claim 1, It is characterized in that The mobile node in the cluster where the target cluster head node is located obtains the control information, and sends a second network access application to the target cluster head node according to the control information, including: When the mobile node in the cluster where the target cluster head node is located receives the first cluster head information in the state information, the mobile node sends a second network access application to the target cluster head node according to the control information; Or, when the mobile node in the cluster where the target cluster head node is located receives the first cluster head information in at least two of the state information, the mobile node obtains at least two first signal-to-noise ratios corresponding to the first cluster head information; the mobile node compares the at least two first signal-to-noise ratios to obtain a second comparison result, and determines a target signal-to-noise ratio from the at least two first signal-to-noise ratios according to the second comparison result; the mobile node obtains a first network access threshold corresponding to the at least two first signal-to-noise ratios, and sends a second network access application to the target cluster head node according to the target signal-to-noise ratio and the first network access threshold.
4. The cluster networking communication method according to claim 3, It is characterized in that After the mobile node belongs to the cluster where the target cluster head node is located, the method further includes: When the mobile node is covered by the cluster where the adjacent cluster head node corresponding to the target cluster head node is located, the mobile node obtains the second signal-to-noise ratio of the cluster where the adjacent cluster head node is located and the switching threshold corresponding to the adjacent cluster head node; When the target signal-to-noise ratio is less than the switching threshold and the second signal-to-noise ratio is greater than or equal to a second network access threshold, the mobile node belongs to the cluster where the adjacent cluster head node is located, wherein the switching threshold is less than the second network access threshold, and the second network access threshold is greater than the first network access threshold.
5. The cluster networking communication method according to claim 4, It is characterized in that The wireless resources include service channel resources, and the method further includes: When the mobile node is in the overlapping area, the mobile node sends a service resource application to the target cluster head node and the adjacent cluster head node; The target cluster head node and the adjacent cluster head node respectively allocate the service channel resources to the mobile node, and respectively generate resource scheduling information and send it to the mobile node; The mobile node obtains the service channel resources according to the resource scheduling information, and uses the service channel resources to perform service transmission and reception in the clusters where the target cluster head node and the adjacent cluster head node are located.
6. The cluster networking communication method according to claim 4, It is characterized in that The control information includes first topology information, wherein the first topology information includes topology information of the target cluster head node, the fixed nodes, and the mobile nodes in the cluster where the target cluster head node is located. The method further comprises: The target cluster head node, the fixed node and the mobile node forward the first topology information within the cluster where the target cluster head node is located; The target cluster head node, the fixed node and the mobile node forward second topology information of the cluster where the adjacent cluster head node corresponding to the target cluster head node is located within the cluster where the target cluster head node is located; The fixed node, the mobile node and the target cluster head node calculate routing information according to the first topology information and the second topology information, and send and receive services according to the routing information.
7. The cluster networking communication method according to claim 1, It is characterized in that The wireless resources include service channel resources, and the method further includes: The fixed node sends a service resource request to the target cluster head node; The target cluster head node allocates the service channel resource to the fixed node according to the service resource application, and generates resource scheduling information and sends it to the fixed node; The fixed node obtains the service channel resources according to the resource scheduling information, and uses the service channel resources to perform service transmission and reception in the cluster where the target cluster head node is located.
8. A cluster networking communication system, It is characterized in that The cluster includes a fixed node, a mobile node and a cluster head node, the cluster head node is selected from the fixed nodes, each cluster has one cluster head node, and the wireless resources include control channel resources, including: The target cluster head node is used to send control information, and the control information includes time information and status information; The fixed node in the cluster where the target cluster head node is located is used to obtain the control information, and send a first network access application to the target cluster head node according to the control information, and the target cluster head node allocates the control channel resource to the fixed node according to the first network access application, so that the fixed node uses the control channel resource to send the control information for communication; The mobile node in the cluster where the target cluster head node is located is used to obtain the control information, and send a second network access application to the target cluster head node according to the control information. The target cluster head node allocates the control channel resources to the mobile node according to the second network access application, so that the mobile node uses the control channel resources to send the control information for communication, and the mobile node belongs to the cluster where the target cluster head node is located.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, It is characterized in that When the program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
10. An electronic device, It is characterized in that include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.
