A multi-satellite dynamic clustering method

Through the multi-satellite dynamic clustering method, timers and message interactions are used to dynamically form and maintain satellite clusters, which solves the problem of autonomous management and control of constellations in low-orbit constellations, achieves effective management and resource allocation in dynamically changing environments, and improves efficiency Efficiency of computing tasks and microservices deployment.

CN116192239BActive Publication Date: 2024-10-29THE 54TH RESEARCH INSTITUTE OF CHINA ELECTRONICS TECHNOLOGY GROUP CORPORATION

Patent Information

Application Number
CN202310203208.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2024-10-29
Estimated Expiration
2043-03-06

AI Technical Summary

Technical Problem

In low-orbit constellations, it is difficult to achieve autonomous management and control of the constellation with existing technology, especially when the topology changes dynamically and satellites are added or destroyed, satellite clusters are dynamically formed and appropriate cluster heads are selected for management and control.

Method used

The multi-satellite dynamic clustering method is adopted to dynamically form and maintain satellite clusters through timers and message interactions (such as HeadRequest, CInvite, ACK-H, CMaintain, etc.), and select cluster heads for resource allocation and task scheduling. The cluster head periodically maintains the cluster member list, and the cluster head and members are redistributed during cluster reorganization.

Benefits of technology

It realizes the autonomous and dynamic formation of satellite clusters in low-orbit constellations, adapts to topology changes and satellite damage, supports autonomous management and control of constellations, improves the efficiency of computing task allocation and microservice deployment, and reduces communication delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116192239B_ABST
    Figure CN116192239B_ABST
Patent Text Reader

Abstract

This patent proposes a multi-satellite dynamic clustering method, which can dynamically form multiple satellite clusters within the constellation and determine the cluster head within each cluster. The cluster head satellite will then manage and control the satellites within the cluster. Each satellite has three states: cluster head, member, and pending. The "cluster head" state means that a satellite has become the cluster head of a cluster; the "member" state means that a satellite has become a member of a cluster (not a cluster head); the "pending" state means that a satellite has not yet determined the cluster to which it belongs, and is also the state when the satellite's dynamic clustering program is started. The three states can be transferred to each other. Each satellite determines its own state through the interaction of multiple types of messages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of satellite networks, and in particular to a multi-satellite dynamic clustering method. Background Art

[0002] In the edge computing system of low-orbit constellation, each satellite has certain computing and storage resources, and the satellites can be connected through microwave or laser links, so there is the possibility of multiple satellites collaboratively providing computing services. However, in the process of collaborative service provision, it involves resource allocation, task scheduling, task migration and other strategies of multiple satellites, and a set of management and control methods are needed to effectively manage and control each satellite.

[0003] The simplest management and control method is for a ground-based centralized controller to control each satellite, but this method has the following problems: 1) The communication delay between the ground-based centralized controller and some satellites is large, especially when the geographical distance between the ground controller and the satellite's sub-satellite point is large; 2) It cannot meet the autonomous operation requirements of the constellation in military application scenarios.

[0004] Therefore, this method intends to achieve autonomous management and control of constellations. There are three typical ideas for autonomous management and control of constellations:

[0005] 1) Centralized: a satellite is pre-determined as the master satellite of the entire constellation. This satellite makes management and control decisions and controls the execution of other satellites;

[0006] 2) Distributed: Each satellite makes management and control decisions autonomously;

[0007] 3) Clustering: The entire constellation is divided into multiple clusters (clusters), each with multiple satellites, and the cluster head (master node) in the cluster manages and controls the satellites in the cluster; when inter-cluster collaboration is required, the cluster heads negotiate with each other.

[0008] The disadvantages of the first approach (centralized) are that the communication delay between the main satellite of the constellation and some satellites is too large; there is a single point of failure, which does not meet the anti-destruction requirements of military applications; and as the number of satellites in the constellation increases, the management and control pressure of the main satellite is too great.

[0009] The disadvantage of the second approach (distributed) is that the decisions made by different satellites may be contradictory. For example, satellite A and satellite B may simultaneously assign a task to satellite C, causing satellite C to be overloaded.

[0010] The main goal of the dynamic clustering method is to dynamically form satellite clusters in the low-orbit constellation and select cluster heads, which will perform management and control behaviors such as task scheduling and resource allocation within the cluster, thereby supporting multi-satellite collaborative services within the cluster. Typical application scenarios include the following:

[0011] 1) Task allocation in distributed computing: For larger computing tasks (such as object recognition in images), the computing tasks can be first divided into subtasks (by step segmentation or data segmentation), and then the cluster head can allocate different subtasks to multiple satellites according to the resource occupancy of each satellite in the cluster, thereby accelerating the execution speed of the computing tasks;

[0012] 2) Deployment decision for microservice instances: Consider deploying microservice software on satellites. When the resources of a single satellite are insufficient to support the deployment of all microservice instances at the same time, the microservice instances should be deployed on multiple satellites. At this time, the cluster head satellite can make a decision to deploy a specific microservice instance on a specific satellite based on the resource conditions of each satellite in the cluster.

[0013] 3) Communication management between microservices: Since the calls between microservice instances need to solve the communication problems in the distributed environment (such as microservice instance crash or overload), the cluster head satellite can dynamically control the routing between microservice instances according to the call performance between microservice instances and the current status of the instances. Summary of the invention

[0014] The technical problem to be solved by the present invention is how to realize the autonomous formation of satellite clusters between satellites and the selection of appropriate cluster heads in a low-orbit constellation whose topology changes dynamically and where satellites may be damaged or new satellites may be added, thereby supporting subsequent cluster heads to manage the nodes in the cluster.

[0015] The technical solution adopted by the present invention is:

[0016] A multi-satellite dynamic clustering method includes the following processes:

[0017] The processing process of the cluster establishment phase is:

[0018] (1) Satellite S tries to become the cluster head PotentialHead Start a timer T setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites;

[0019] (2) Satellite S receives the HeadRequest message rec There are several ways to deal with it:

[0020] If the satellite S rec In the cluster head state, and satellite S rec The number of cluster members in the cluster does not reach the upper limit N max , then send a HeadRequest message to the satellite S PotentialHeadReply to CInvite message to invite satellite S PotentialHead Join satellite S as a cluster member rec The cluster where it is located and discards the HeadRequest message;

[0021] If the satellite S rec The satellite in member state and sending HeadRequest message is not satellite S rec The cluster head satellite of the cluster, then satellite S rec Decrease the TTL in the HeadRequest message by 1. If the TTL is greater than 0, forward the HeadRequest message to all intersatellite link interfaces except the interface that receives the HeadRequest message. If the TTL is equal to 0, discard the HeadRequest message.

[0022] If the satellite S rec The satellite that is in member state and sends HeadRequest message is satellite S rec The cluster head satellite of the cluster where it is located discards the HeadRequest message;

[0023] If the satellite S rec If it is in the pending state, it replies an ACK-H message to the satellite that sent the HeadRequest message and enters the member state. Then it reduces the TTL in the HeadRequest message by 1. If the TTL is greater than 0 at this time, it forwards the HeadRequest message to all other intersatellite link interfaces except the interface that receives the HeadRequest message. If the TTL is equal to 0, it discards the HeadRequest message.

[0024] (3) Satellite S PotentialHead When sending the HeadRequest message, a timer T is started. waitmem , and there are several processing methods according to whether the timer has timed out and the situation of receiving messages:

[0025] If the satellite S PotentialHead In pending state, and T waitmem If the timeout has not expired, the satellite enters the member state upon receiving the CInvite message and replies with an Accept message to the satellite that sent the CInvite message; or the satellite S PotentialHead In pending state, after receiving other satellite S other When a HeadRequest message is sent, it enters the member state and sends a message to the satellite S other Reply ACK-H message;

[0026] If the satellite S PotentialHead In pending state, and T waitmemIf it does not time out, it enters the cluster head state when receiving the ACK-H message, and adds the identifier of the satellite that sent the ACK-H message to its own cluster member list ClusterMember;

[0027] If the satellite S PotentialHead In the cluster head state, and T waitmem After receiving the ACK-H message, if the number of current cluster member lists has not reached N max , then add the identifier of the satellite that sent the ACK-H message to its own cluster member list ClusterMember;

[0028] If the satellite S PotentialHead T waitmem If no CInvite message, ACK-H message or HeadRequest message is received before the timeout, the timer T is started. setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites;

[0029] The processing process of the cluster operation stage is:

[0030] (1) Satellite S in cluster head state Head Periodically send a CMaintain message to each cluster member and start the timer T when sending the CMaintain message. WaitACK-CMaintain , if T WaitACK-CMaintain A member satellite S was not received before the timeout mem ACK-CMaintain message, the satellite S mem The mark is removed from the cluster member list ClusterMember;

[0031] (2) Each satellite S in member state mem After receiving the cluster head satellite S Head After sending the CMaintain message, it sends the message to the cluster head satellite S Head Reply ACK-CMaintain message and start a timer T maintain-plus ;

[0032] The processing process of the cluster reorganization phase is as follows:

[0033] (1) When the cluster head satellite S Head When it finds that it can no longer assume the cluster head task or there is only the cluster head satellite itself in the cluster, it performs the following actions in sequence:

[0034] a) If there are still members in the cluster, satellite S Head Send a CTerminate message to all cluster members;

[0035] b) Satellite S Head Enter the "pending" state and start the timer T setup-plus , T setup-plus Satellite S after timeout Head Send HeadRequest messages to all neighboring satellites.

[0036] (2) If the cluster member satellite S mem Receive CTerminate message or T maintain-plus If the CMaintain message is not received before the timer times out, the satellite S mem Enter the pending state and start the timer T setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites.

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

[0038] The present invention can adapt to the realities of dynamic changes in low-orbit constellation network topology, new satellites, satellite damage, etc., and satellites can autonomously and dynamically form satellite clusters, thereby supporting autonomous management and control of the constellation based on clustering. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the clustering effect of the present invention.

[0040] Figure 2 It is a brief schematic diagram of the three states of cluster head, member and pending and the transition conditions between the states of the present invention.

[0041] Figure 3 It is a schematic diagram of the satellite interaction HeadRequest and ACK-H messages.

[0042] Figure 4 This is a schematic diagram of the interaction of HeadRequest messages, CInvite messages and Accept messages between satellites.

[0043] Figure 5 It is a schematic diagram of the CMaintain message and ACK-CMaintain message exchanged between satellites.

[0044] Figure 6 This is a diagram of the fields of the HeadRequest message.

[0045] Figure 7 This is a diagram of the fields of the CInvite message.

[0046] Figure 8 This is a diagram showing the fields of an ACK-H message.

[0047] Fig. 9This is a diagram of the fields of the Accept message.

[0048] Fig.10 This is a diagram of the fields of the CMaintain message.

[0049] Fig.11 This is a diagram of the fields of the ACK-CMaintain message.

[0050] Fig.12 This is a diagram of the fields of the CTerminate message. DETAILED DESCRIPTION

[0051] The present invention will be further described below in conjunction with the accompanying drawings.

[0052] Each satellite has three states: cluster head, member and pending. The "cluster head" state means that a satellite has become the cluster head of a cluster; the "member" state means that a satellite has become a member of a cluster (not a cluster head); the "pending" state means that a satellite has not yet determined the cluster to which it belongs, and is also the state when the satellite's dynamic clustering program is started. The three states can be transferred to each other. Each satellite determines its own state through the interaction of multiple types of messages. The three states and the brief transfer conditions between the states are as follows Figure 2 As shown, the specific process is as follows.

[0053] 1. The processing process of the cluster establishment phase is:

[0054] During the cluster establishment phase, multiple satellites dynamically form a satellite cluster through a series of message interactions and become cluster heads (cluster master nodes) or cluster members.

[0055] (1) Satellite S tries to become the cluster head PotentialHead Start a timer T setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites;

[0056] (2) Satellite S receives the HeadRequest message rec There are several ways to deal with it:

[0057] If the satellite S rec In the cluster head state, and satellite S rec The number of cluster members in the cluster does not reach the upper limit N max , then send a HeadRequest message to the satellite S PotentialHead Reply to CInvite message to invite satellite S PotentialHead Join satellite S as a cluster member rec The cluster where it is located and discards the HeadRequest message;

[0058] If the satellite S rec The satellite in member state and sending HeadRequest message is not satellite S rec The cluster head satellite of the cluster, then satellite S rec Decrease the TTL in the HeadRequest message by 1. If the TTL is greater than 0, forward the HeadRequest message to all intersatellite link interfaces except the interface that receives the HeadRequest message. If the TTL is equal to 0, discard the HeadRequest message.

[0059] If the satellite S rec The satellite that is in member state and sends HeadRequest message is satellite S rec The cluster head satellite of the cluster where it is located discards the HeadRequest message;

[0060] If the satellite S rec If it is in the pending state, it replies an ACK-H message to the satellite that sent the HeadRequest message and enters the member state. Then it reduces the TTL in the HeadRequest message by 1. If the TTL is greater than 0 at this time, it forwards the HeadRequest message to all other intersatellite link interfaces except the interface that receives the HeadRequest message. If the TTL is equal to 0, it discards the HeadRequest message.

[0061] Figure 3 The figure shows an example of exchanging HeadRequest and ACK-H messages between satellites. Satellite 203 attempts to become a cluster head satellite and sends a HeadRequest message. Satellite 303 receives the HeadRequest message and replies with an ACK-H message to satellite 203, joining the cluster with satellite 203 as the cluster head.

[0062] (3) Satellite S PotentialHead When sending the HeadRequest message, a timer T is started. waitmem , and there are several processing methods according to whether the timer has timed out and the situation of receiving messages:

[0063] Join an existing cluster: If satellite S PotentialHead In pending state, and T waitmem If the timeout has not expired, the satellite enters the member state upon receiving the CInvite message and replies with an Accept message to the satellite that sent the CInvite message; or the satellite S PotentialHead In pending state, after receiving other satellite S other When a HeadRequest message is sent, it enters the member state and sends a message to the satellite S otherReply ACK-H message;

[0064] Become a cluster head satellite: If satellite S PotentialHead In pending state, and T waitmem If it does not time out, it enters the cluster head state when receiving the ACK-H message, and adds the identifier of the satellite that sent the ACK-H message to its own cluster member list ClusterMember;

[0065] Add a new cluster member: If satellite S PotentialHead In the cluster head state, and T waitmem After receiving the ACK-H message, if the number of current cluster member lists has not reached N max , then add the identifier of the satellite that sends the ACK-H message to its own cluster member list ClusterMember;

[0066] Retry to become cluster head: If satellite S PotentialHead T waitmem If no CInvite message, ACK-H message or HeadRequest message is received before the timeout, the timer T is started. setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites;

[0067] Figure 4 The figure shows an example of the interaction of HeadRequest messages, CInvite messages and Accept messages between satellites. Satellite 202 attempts to become a cluster head satellite and sends a HeadRequest message. After receiving the HeadRequest message sent by satellite 202, satellite 204, as the cluster head, replies with a CInvite message to satellite 202, inviting satellite 202 to join its cluster. Then satellite 202 replies with an Accept message to satellite 204, joining the cluster with satellite 204 as the cluster head.

[0068] 2. The processing process of the cluster operation stage is:

[0069] During the cluster operation phase, the cluster head and cluster members interact through a series of messages to maintain their status.

[0070] (1) Satellite S in cluster head state Head Periodically send a CMaintain message to each cluster member and start the timer T when sending the CMaintain message. WaitACK-CMaintain , if T WaitACK-CMaintain A member satellite S was not received before the timeout mem ACK-CMaintain message, the satellite S memThe mark is removed from the cluster member list ClusterMember;

[0071] (2) Each satellite S in member state mem After receiving the cluster head satellite S Head After sending the CMaintain message, it sends the message to the cluster head satellite S Head Reply ACK-CMaintain message and start a timer T maintain-plus ;

[0072] Figure 5 The figure shows an example of the CMaintain message and ACK-CMaintain message exchanged between satellites. Satellite 202, as the cluster head satellite, sends a CMaintain message to satellite 302 (member satellite) to maintain its own cluster member list. Satellite 302 replies to satellite 202 with an ACK-CMaintain message.

[0073] 3. The processing process of the cluster reorganization stage is:

[0074] The following situations require cluster reorganization:

[0075] 1) The cluster head satellite cannot continue to undertake the cluster head task: for example, insufficient available computing resources, excessive power consumption, failure, etc.

[0076] 2) There is only the cluster head satellite itself in the cluster.

[0077] The satellite behavior during the cluster reorganization phase is as follows:

[0078] (1) When the cluster head satellite S Head When it finds that it can no longer assume the cluster head task or there is only the cluster head satellite itself in the cluster, it performs the following actions in sequence:

[0079] a) If there are still members in the cluster, satellite S Head Send a CTerminate message to all cluster members;

[0080] b) Satellite S Head Enter the "pending" state and start the timer T setup-plus , T setup-plus Satellite S after timeout Head Send HeadRequest messages to all neighboring satellites.

[0081] (2) If the cluster member satellite S mem Receive CTerminate message or T maintain-plus No CMaintain message is received before the timer times out (indicating that the cluster head satellite S Head Failure or cluster member satellite S mem With S HeadThe communication delay between satellites increases, etc. mem Enter the pending state and start the timer T setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites.

[0082] The clustering effect is Figure 1 As shown in the figure, after a certain clustering process, three satellite clusters are formed, satellite 103 is the cluster head of satellite cluster 1, satellite 402 is the cluster head of satellite cluster 2, and satellite 305 is the cluster head of satellite cluster 3. Subsequently, satellites 103, 402, and 305 will be responsible for the management and control tasks of each satellite in satellite clusters 1, 2, and 3, respectively.

[0083] The message types and fields in this embodiment have the following meanings:

[0084] like Figure 6 As shown, HeadRequest is a message sent by a satellite in the "pending" state, used to establish a satellite cluster, and its fields include:

[0085] a) type: message type;

[0086] b)NodeID: The satellite ID that sends the HeadRequest message, which is unique within the constellation;

[0087] c) ClusterID: The cluster ID proposed by the satellite that sends the HeadRequest message, which is the ClusterSeq currently maintained by the satellite. The ClusterID of the HeadRequest message sent by the same satellite at different cluster establishment stages is different.

[0088] d) TTL: Time-To-Live, i.e., survival time, is used to avoid broadcast storms caused by HeadRequest messages, and also to avoid excessive hops between the cluster head satellite and members within the cluster (which may be formed);

[0089] e) Seq: used to distinguish different HeadRequest messages sent by the same satellite.

[0090] f)timestamp: the time when the message is sent.

[0091] like Figure 7 As shown, the CInvite message is a negative response to the HeadRequest, and is used to invite the satellite (which sends the HeadRequest message) to join the existing cluster. Its fields include:

[0092] a) type: message type;

[0093] b)NodeID: The satellite ID that sends the CInvite message, which is unique within the constellation;

[0094] c) ClusterID: The cluster ID of the satellite that sends the CInvite message as the "cluster head", whose value is the localClusterID currently maintained by the satellite;

[0095] d) Seq: obtained from the Seq field of the received HeadRequest message;

[0096] f)timestamp: the time when the message is sent.

[0097] like Figure 8 As shown, the ACK-H message is a confirmation reply to the HeadRequest message, and its fields include:

[0098] a) type: message type;

[0099] b)NodeID: The satellite ID that sends the ACK-H message, which is unique within the constellation;

[0100] c) ClusterID: copied from the ClusterID field of the HeadRequest message;

[0101] d) HeadID: copied from the NodeID field of the HeadRequest message;

[0102] e)timestamp: the time when the message is sent.

[0103] like Fig. 9 As shown in the figure, the Accept message is a confirmation reply to the CInvite message, and its fields include:

[0104] a) type: message type;

[0105] b)NodeID: The satellite ID that sends the Accept message, which is unique within the constellation;

[0106] c) HeadID: copied from the NodeID field of the CInvite message, representing the cluster head satellite identifier;

[0107] d) ClusterID: copied from the ClusterID field in the CInvite message, representing the cluster ID;

[0108] e)timestamp: the time when the message is sent.

[0109] like Fig.10As shown, the CMaintain message is used to maintain the relationship between the cluster head and members. Its fields include:

[0110] a) type: message type;

[0111] b) NodeID: the ID of the satellite (cluster head satellite) that sends the CMaintain message, unique within the constellation;

[0112] c) ClusterID: localClusterID value maintained by the satellite that sends the CMaintain message (i.e., the cluster identifier of the satellite that sends the CMaintain message as the cluster head);

[0113] d)timestamp: the time when the message was sent.

[0114] like Fig.11 As shown, the ACK-CMaintain message is a confirmation reply to the CMaintain message, and its fields include:

[0115] a) type: message type;

[0116] b)NodeID: The satellite (member satellite) that sends the ACK-CMaintain message, unique within the constellation;

[0117] c) ClusterID: copied from the ClusterID field in the CMaintain message, representing the cluster ID;

[0118] d)timestamp: the time when the message was sent.

[0119] like Fig.12 As shown, the CTerminate message is used to disband the cluster, and its fields include:

[0120] a) type: message type;

[0121] b) NodeID: The satellite ID (cluster head satellite) that sends the CTerminate message, which is unique within the constellation;

[0122] c) ClusterID: the localClusterID value maintained by the satellite that sends the CTerminate message (i.e., the cluster identifier of the satellite that sends the CTerminate message as the cluster head);

[0123] d)timestamp: the time when the message was sent.

[0124] The various timer operation methods of this embodiment are as follows:

[0125] For the timer Tsetup :The satellite starts the timer T in the following situations setup :

[0126] (A) When the satellite's dynamic clustering procedure is activated;

[0127] (B) When the satellite enters the "pending" state from the "member" state;

[0128] (C) The satellite is in the "pending" state and T waitmem time out.

[0129] In T setup If the satellite is in the "pending" state before the timeout, and receives a HeadRequest message from another satellite, the satellite cancels the timer T setup .

[0130] In T setup After the timeout, a HeadRequest message is sent to all adjacent satellites.

[0131] T setup The value of should have a certain degree of randomness, and if the satellite has more computing resources and more power, the setup The smaller the value, the more likely it is to be used. The following is an available T setup Value method:

[0132] Assume that the CPU main frequency of a satellite is F sat GHz, memory is M sat GB, current power is E sat kW·h, then T setup The value is obtained as follows:

[0133] T setup =(W F ×F sat +W M ×M sat +W E ×E sat )grand(0,1)

[0134] Among them, W F is the weight corresponding to the CPU main frequency, W M is the weight corresponding to the memory, W E is the weight corresponding to the power, and rand(0,1) is a random number in the range of (0,1).

[0135] For the timer T waitmem :T waitmem is a satellite in the "pending" state (denoted as S PotentialHead ) A timer that is started when a HeadRequest message is sent to avoid waiting too long for a response.

[0136] T waitmem Before timeout:

[0137] (A) If satellite S PotentialHead In the "pending" state, and a CInvite message is received, and the Seq field in the CInvite message matches the satellite S PotentialHead The maintained ReqSeq is consistent (indicating that the CInvite message is consistent with the satellite S PotentialHead The latest HeadRequest message corresponds to the satellite S PotentialHead Cancel T waitmem Timer;

[0138] (B) If satellite S PotentialHead In the "pending" state, and receives a HeadRequest message from another satellite, then the satellite S PotentialHead Cancel T waitmem Timer.

[0139] If the satellite S PotentialHead In the "pending" state, in T waitmem After the timeout, satellite S PotentialHead Turn on T setup Timer.

[0140] T waitmem The value of should be slightly larger than twice the control delay between the cluster head and cluster members that the edge computing system can accept, so as to ensure that after the cluster is formed, the delay of the cluster head in controlling the cluster members is low.

[0141] For the timer T WaitFirstMaintain :T WaitFirstMaintain is a satellite (denoted by S mem ) A timer that is started when an ACK-H or Accept message is sent.

[0142] In T WaitFirstMaintain Before the timeout, if the following conditions are met

[0143] (A) Satellite S mem In "Member" status,

[0144] (B) Satellite S mem Received CMaintain message,

[0145] (C) ClusterID and satellite S in CMaintain message mem The maintained localClusterID is the same.

[0146] (D) NodeID in CMaintain message and satellite S memThe maintained HeadID is the same.

[0147] Then cancel T WaitFirstMaintain Timer.

[0148] If T WaitFirstMaintain Timeout, then satellite S mem Enters the "pending" state.

[0149] T WaitFirstMaintain The value of should be slightly larger than twice the control delay between the cluster head and cluster members that is acceptable to the edge computing system.

[0150] For the timer T Maintain :T Maintain The cluster head satellite periodically sends CMaintain messages to its member satellites. A cluster head satellite may have multiple T Maintain Timers, these T Maintain There is a one-to-one correspondence between timers and cluster members.

[0151] Each time the cluster head satellite (denoted as S Head ) When a new member satellite ID is added to the cluster member list ClusterMember, the member satellite (denoted as S mem ) sends a CMaintain message and starts a communication with satellite S mem The corresponding T Maintain Timer.

[0152] Satellite S Head When entering the "pending" state from the "cluster head" state, all T Maintain Timer.

[0153] If the satellite S Head A timer T WaitACK-CMaintain Timeout (recorded with the T WaitACK-CMaintain The satellite corresponding to the timer is S timeout ), satellite S Head It will also cancel the connection with satellite S timeout The corresponding T Maintain Timer.

[0154] Once the satellite S Head A timer T Maintain Timeout, Satellite S Head A CMaintain message is sent to the satellite corresponding to the timer and the timer is started at the same time.

[0155] T Maintain The value of should be balanced between message overhead and the timeliness requirements of cluster maintenance.

[0156] For the timer T WaitACK-CMaintain :TWaitACK-CMaintain is the cluster head satellite (denoted as S Head ) A timer that is started when a CMaintain message is sent to avoid waiting too long for cluster members to reply and confirm. A cluster head satellite may have multiple T WaitACK-CMaintain The timer corresponds one-to-one with its member satellites.

[0157] In T WaitACK-CMaintain Before the timeout, if the satellite S Head Received with the T WaitACK-CMaintain The corresponding member satellite (denoted as S mem ) replies with an ACK-CMaintain message, and the ClusterID field in the ACK-CMaintain message matches the ClusterID field in the satellite S Head If the maintained localClusterID is the same, cancel the timer.

[0158] In T WaitACK-CMaintain After the timeout, satellite S Head Delete the member satellite identifier corresponding to the timer from the cluster member list ClusterMember maintained by itself.

[0159] T WaitACK-CMaintain The value of should be slightly larger than twice the control delay between the cluster head and members that is acceptable to the edge computing system.

[0160] For the timer T maintain-plus :T maintain-plus is a satellite in the "member" state (denoted by S mem ) A timer that is started when an ACK-CMaintain message is sent to avoid waiting too long for the next CMaintain message from the cluster head.

[0161] In T maintain-plus Before the timeout, if the satellite S mem A CMaintain message is received, and the ClusterID field of the CMaintain message matches the satellite S mem The maintained loclClusterID is the same as the NodeID field of the CMaintain message and the satellite S mem If the maintained HeadID is the same, cancel T maintain-plus Timer;

[0162] In T maintain-plus After the timeout, satellite S mem Enter the "pending" state and set the satellite S mem The maintained HeadID and localClusterID are cleared, and the timer T is started setup .

[0163] T maintain-plus The value should be slightly larger than T Maintain .

[0164] For the timer T setup-plus :T setup-plus is the satellite in the “cluster head” state (denoted as S Head ) is started when entering the "pending" state, and is used for the subsequent cluster establishment phase.

[0165] In T setup-plus If the satellite is in the "pending" state before the timeout, and receives a HeadRequest message from another satellite, the satellite cancels the timer T setup-plus .

[0166] In T setup-plus After the timeout, satellite S Head Send a HeadRequest message to all neighboring satellites.

[0167] T setup-plus The value should be greater than T setup , thus avoiding the satellite S Head Become the cluster leader again in a short period of time.

[0168] For the timer T WaitNewMem :T WaitNewMem is the satellite in the “cluster head” state (denoted as S Head ) A timer that is started when a CInvite message is sent to avoid waiting too long for a new member to respond. Head It is possible to send CInvite messages to multiple satellites separately. WaitNewMem There is a one-to-one correspondence with the target satellite of the CInvite message.

[0169] If the satellite S Head When the state of "cluster head" enters the state of "pending", the timer T is canceled. WaitNewMem .

[0170] T WaitNewMem Before the timeout, if the satellite S Head Receive an Accept message from the satellite corresponding to the timer, and the ClusterID field of the Accept message matches the ClusterID field of the satellite S Head The maintained localClusterID value is the same, and the number of member satellites is less than N max , then satellite S Head Add the identifier of the satellite that sends the Accept message to its own cluster member list ClusterMember.

[0171] T WaitNewMemBefore the timeout, if the following conditions are met at the same time:

[0172] (A) Satellite S Head In the "cluster head" state,

[0173] (B) Received and T WaitNewMem The Accept message sent by the corresponding satellite;

[0174] (C) ClusterID in the Accept message and satellite S Head The maintained localClusterID is consistent with the

[0175] (D) HeadID in the Accept message and satellite S Head The identification matches,

[0176] (E) Satellite S Head The number of entries in the maintained cluster member list ClusterMember is less than N max (That is, the number of current cluster members is less than N max ),

[0177] Then satellite S Head Add the NodeID in Accept to the cluster member list ClusterMember (that is, the satellite represented by NodeID becomes a member of the cluster), send a CMaintain message to the satellite represented by NodeID, start the TMaintain timer and T WaitACK-CMaintain Timer.

[0178] T WaitNewMem The value of should be slightly larger than twice the control delay between the cluster head and cluster members that the edge computing system can accept, so as to ensure that after the cluster is formed, the delay of the cluster head in controlling the cluster members is low.

[0179] The process of processing various messages in this embodiment is as follows:

[0180] For HeadRequest message: HeadRequest is the satellite in the "pending" state (denoted as S PotentialHead ) in T setup or T setup-plus Message sent after timeout. Satellite S PotentialHead It attempts to establish a cluster and become the cluster head by sending HeadRequest messages to all neighboring satellites.

[0181] The satellite (denoted as S) that receives the HeadRequest message rec ) There are several ways to deal with it:

[0182] a) If the satellite S recAlready in the "cluster head" state, and the number of its cluster members has not reached the upper limit N max , then to the satellite S PotentialHead Reply to CInvite message, and satellite S rec Start timer T WaitNewMem , and discard the HeadRequest message;

[0183] b) If the satellite S rec In the "member" state, and satellite S rec The maintained HeadID (i.e., the cluster head satellite identifier of the cluster to which it belongs) is different from the NodeID field in the received HeadRequest message (indicating that the satellite that sent the HeadRequest message is not satellite S rec The cluster head satellite of the cluster where it is located), then satellite S rec The TTL in the HeadRequest message is reduced by 1. If the TTL is greater than 0 at this time, the satellite S rec forwarding the message to all intersatellite link interfaces (except the interface receiving the message);

[0184] c) If the satellite S rec In the "member" state, and satellite S rec The maintained HeadID (i.e., the cluster head satellite identifier of the cluster to which it belongs) is the same as the NodeID field in the received HeadRequest message (indicating that the satellite that sent the HeadRequest message is satellite S rec If the cluster head satellite of the cluster where the HeadRequest message is located is not received, the HeadRequest message is discarded;

[0185] d) If satellite S rec In the "pending" state, PotentialHead Reply ACK-H message, enter "member" state, cancel timer T waitmem (if the timer is enabled) or T setup (if the timer is enabled) or T setup-plus (If the timer is enabled), assign localClusterID to the value of the clusterID field in the HeadRequest message, assign HeadID to the value of the NodeID field in the HeadRequest message, and start a timer T WaitFirstMaintain Then the TTL in the HeadRequest message is reduced by 1. If the TTL is greater than 0 at this time, the satellite S rec The message is forwarded to all intersatellite link interfaces (except the interface that received the message).

[0186] Regarding the CInvite message: The CInvite message is a negative reply to the HeadRequest message. The satellite in the "cluster head" state uses the CInvite message to invite potential cluster head satellites (in the "pending" state) to join the existing cluster.

[0187] If the satellite (denoted as S PotentialHead ) is in the "pending" state, and the satellite S PotentialHead T waitmem The timeout has not occurred and the Seq field of the CInvite message matches the value of the satellite S PotentialHead If the maintained ReqSeq is consistent, then the satellite S PotentialHead Enter the "member" state and cancel T waitmem Timer, assign localClusterID to the value of the ClusterID field in the CInvite message, assign HeadID to the value of the NodeID field in the CInvite message, reply with an Accept message to the satellite represented by the NodeID field in the CInvite message, and start timer T WaitFirstMaintain .

[0188] Otherwise, the message is discarded directly.

[0189] For ACK-H message: ACK-H message is used to join a cluster as a member. For the satellite (denoted as S PotentialHead ), divided into three cases:

[0190] 1) If the following conditions are met:

[0191] a) Satellite S PotentialHead In the "pending" state,

[0192] b)T waitmem Not timed out,

[0193] c) The ClusterID field in the ACK-H message and the satellite S PotentialHead The maintained localClusterID is consistent with the

[0194] d) The HeadID field in the ACK-H message and the satellite S PotentialHead The identification matches,

[0195] Then satellite S PotentialHead Enter the "cluster head" state, add the NodeID field value of the ACK-H message to the cluster member list ClusterMember, and start the T corresponding to the satellite represented by the NodeID Maintain Timer and T WaitACK-CMaintainTimer, and send a Maintain message to the satellite represented by NodeID;

[0196] 2) If the following conditions are met

[0197] a)S PotentialHead In the "cluster head" state,

[0198] b)T waitmem Not timed out,

[0199] c) The ClusterID field in the ACK-H message and the satellite S PotentialHead The maintained localClusterID is consistent with the

[0200] d) The HeadID field in the ACK-H message and the satellite S PotentialHead The identification matches,

[0201] e) Satellite S PotentialHead The cluster member list of satellite S PotentialHead The number of entries is less than N max ,

[0202] Then satellite S PotentialHead Add the NodeID field value of the ACK-H message to the cluster member list ClusterMember, and enable the T corresponding to the satellite represented by the NodeID. Maintain Timer and T WaitACK-CMaintain The timer is set and a Maintain message is sent to the satellite represented by the NodeID.

[0203] 3) Otherwise, discard the message directly.

[0204] For the Accept message: the satellite that receives the Accept message (denoted as S Head ), if the following conditions are met at the same time:

[0205] 1) Satellite S Head In the "cluster head" state,

[0206] 2) T corresponding to the satellite that sent the Accept message WaitNewMem Not timed out,

[0207] 3) ClusterID and satellite S in the Accept message Head The maintained localClusterID is consistent with the

[0208] 4) HeadID and satellite S in the Accept message Head The identification matches,

[0209] 5) Satellite S HeadThe number of entries in the maintained cluster member list ClusterMember is less than N max (That is, the number of current cluster members is less than N max ),

[0210] Then satellite S Head Add the NodeID field value in Accept to the cluster member list ClusterMember (that is, the satellite represented by NodeID becomes a member of the cluster), send a CMaitain message to the satellite represented by NodeID, start the TMaintain timer and TTimer corresponding to the satellite represented by NodeID WaitACK-CMaintain Timer.

[0211] Otherwise, the message is discarded directly.

[0212] For CMaintain message: If the satellite that receives the CMaintain message is in the "member" state, it replies with an ACK-CMaintain message to the satellite that sent the CMaintain message and sets the timer T maintain-plus Otherwise, the message is discarded directly.

[0213] For ACK-CMaintain message: The satellite that receives the ACK-CMaintain message, if it is in the "cluster head" state and the T corresponding to the satellite represented by the NodeID field in the ACK-CMaintain message WaitACK-CMaintain If there is no timeout, cancel T WaitACK-CMaintain timer; otherwise, the message is discarded directly.

[0214] For the CTerminate message: the satellite (denoted as S mem ), if the following conditions are met:

[0215] 1) Satellite S mem In "Member" status,

[0216] 2) The ClusterID field in CTerminate and the satellite S mem The maintained localClusterID is consistent with the

[0217] 3) The NodeID field in CTerminate and the satellite S mem The maintained cluster head identification HeadID is consistent,

[0218] Then satellite S mem Enter the "pending" state and start the timer T setup .

[0219] Otherwise, the message is discarded directly.

[0220] The meanings of the parameters in this embodiment are as follows:

[0221] N max It is the upper limit of the number of members in each cluster, which is used to avoid too many members in the cluster, which would put too much pressure on the management and control of the cluster head satellite.

[0222] TTL max It is the value of the TTL field when the satellite sends a HeadRequest message. It is used to avoid broadcast storms caused by the propagation of HeadRequest messages in the network, and to avoid excessive hops between the cluster head satellite and members in the cluster (which may be formed).

[0223] The data maintained by each satellite in this embodiment are as follows:

[0224] localClusterID is a value maintained by the satellite.

[0225] 1) When in the "pending" state, the satellite copies the ClusterID field in the latest HeadRequest message to localClusterID. That is, each time the satellite sends a HeadRequest message, the localClusterID will be updated;

[0226] 2) When in the "cluster head" state, localClusterID represents the identifier of the cluster in which it is located;

[0227] 3) When in the "member" state, localClusterID is copied from the ClusterID field in the received HeadRequest message or CInvite message, representing the identifier of the cluster to which it belongs.

[0228] ClusterMember is a list of cluster members maintained by the satellite in the "cluster head" state. Each entry in the list is the identifier of a member in the current cluster.

[0229] ClusterSeq is a value maintained by the satellite and takes the value 0 when the satellite's dynamic clustering program is started. PotentialHead ) sends a HeadRequest message to all neighboring satellites, satellite S PotentialHead The value of ClusterSeq is placed in the ClusterID field of the HeadRequest message, and then ClusterSeq is increased by 1.

[0230] When ClusterSeq reaches the maximum value that a data type can represent (such as 255), the satellite S PotentialHeadAfter sending the HeadRequest message, ClusterSeq is reassigned to 0.

[0231] HeadID is the cluster head identifier maintained by the satellite in the "member" state, which comes from the NodeID field of the HeadRequest message or the NodeID field of the CInvite message.

[0232] ReqSeq is a satellite (denoted as S PotentialHead ) maintains a value in the satellite S PotentialHead The value of is 0 when the dynamic clustering program is started. Satellite S PotentialHead Before each HeadRequest is sent, the value of ReqSeq is copied to the Seq field of the HeadRequest message, and then ReqSeq is increased by 1.

[0233] When ReqSeq reaches the maximum value that a data type can represent (such as 255), the satellite S PotentialHead After sending the HeadRequest message, ReqSeq is reset to 0.

Claims

1. A multi-satellite dynamic clustering method, It is characterized in that The process includes: The processing process of the cluster establishment phase is: (1) Satellite S tries to become the cluster head PotentialHead Start a timer T setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites; (2) Satellite S receives the HeadRequest message rec There are several ways to deal with it: If the satellite S rec In the cluster head state, and satellite S rec The number of cluster members in the cluster does not reach the upper limit N max , then send a HeadRequest message to the satellite S PotentialHead Reply to CInvite message to invite satellite S PotentialHead Join satellite S as a cluster member rec The cluster where it is located and discards the HeadRequest message; If the satellite S rec The satellite in member state and sending HeadRequest message is not satellite S rec The cluster head satellite of the cluster, then satellite S rec Decrease the TTL in the HeadRequest message by 1. If the TTL is greater than 0, forward the HeadRequest message to all intersatellite link interfaces except the interface that receives the HeadRequest message. If the TTL is equal to 0, discard the HeadRequest message. If the satellite S rec The satellite that is in member state and sends HeadRequest message is satellite S rec The cluster head satellite of the cluster where it is located discards the HeadRequest message; If the satellite S rec If it is in the pending state, it replies an ACK-H message to the satellite that sent the HeadRequest message and enters the member state. Then it reduces the TTL in the HeadRequest message by 1. If the TTL is greater than 0 at this time, it forwards the HeadRequest message to all other intersatellite link interfaces except the interface that receives the HeadRequest message. If the TTL is equal to 0, it discards the HeadRequest message. (3) Satellite S PotentialHead When sending the HeadRequest message, a timer T is started. waitmem , and there are several processing methods according to whether the timer has timed out and the situation of receiving messages: If the satellite S PotentialHead In pending state, and T waitmem If the timeout has not expired, the satellite enters the member state upon receiving the CInvite message and replies with an Accept message to the satellite that sent the CInvite message; or the satellite S PotentialHead In pending state, after receiving other satellite S other When a HeadRequest message is sent, it enters the member state and sends a message to the satellite S other Reply ACK-H message; If the satellite S PotentialHead In pending state, and T waitmem If it does not time out, it enters the cluster head state when receiving the ACK-H message, and adds the identifier of the satellite that sent the ACK-H message to its own cluster member list ClusterMember; If the satellite S PotentialHead In the cluster head state, and T waitmem After receiving the ACK-H message, if the number of current cluster member lists has not reached N max , then add the identifier of the satellite that sends the ACK-H message to its own cluster member list ClusterMember; If the satellite S PotentialHead T waitmem If no CInvite message, ACK-H message or HeadRequest message is received before the timeout, the timer T is started. setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites; The processing process of the cluster operation stage is: (1) Satellite S in cluster head state Head Periodically send a CMaintain message to each cluster member and start the timer T when sending the CMaintain message. WaitACK-CMaintain , if T WaitACK-CMaintain A member satellite S was not received before the timeout mem ACK-CMaintain message, the satellite S mem The mark is removed from the cluster member list ClusterMember; (2) Each satellite S in member state mem After receiving the cluster head satellite S Head After sending the CMaintain message, it sends the message to the cluster head satellite S Head Reply ACK-CMaintain message and start a timer T maintain-plus ; The processing process of the cluster reorganization phase is as follows: (1) When the cluster head satellite S Head When it finds that it can no longer assume the cluster head task or there is only the cluster head satellite itself in the cluster, it performs the following actions in sequence: a) If there are still members in the cluster, satellite S Head Send a CTerminate message to all cluster members; b) Satellite S Head Enter the "pending" state and start the timer T setup-plus , T setup-plus Satellite S after timeout Head Send HeadRequest messages to all adjacent satellites; (2) If the cluster member satellite S mem Receive CTerminate message or T maintain-plus If the CMaintain message is not received before the timer times out, the satellite S mem Enter the pending state and start the timer T setup , T setup After the timeout, a HeadRequest message is sent to all adjacent satellites.

Citation Information

Patent Citations

  • Satellite network fault diagnosis method based on clustering

    CN104506229A

  • Neighbor relation configuration method and device suitable for satellite network

    CN112584451A

Cited By

  • Design method of agile clustering routing protocol for large-scale satellite constellation

    CN122027537A