Path determination method, electronic equipment and storage medium
By obtaining time constraints and network topology, and using CSPF algorithm and traffic engineering technology, it solves the path calculation problem caused by the high-speed movement of satellite nodes in the space-space-ground integrated network, achieves accurate calculation of time-related paths and meets user needs.
Patent Information
- Application Number
- CN202310261060.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing routing algorithms are difficult to adapt to frequent topology changes caused by high-speed moving satellite nodes, and cannot effectively calculate time-related communication paths in space-space-ground integrated networks.
Provides a path determination method that determines the target path between the first node and the second node by obtaining time constraints and the network topology of the communication network. The time constraints are used to constrain the effective time period of the target link that constitutes the target path. , using the constrained shortest path first algorithm (CSPF) and traffic engineering technology to cut links that do not meet the time constraints, obtain links that meet the time constraints, build the target network topology, and determine the shortest path.
It realizes path calculation that satisfies time attributes in an integrated air, space and ground network. It can provide various types of time constraints according to the user's business needs, accurately meet the user's business needs, and improve the network's time-related path calculation capabilities.
Smart Images

Figure CN118631718A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a path determination method, an electronic device, and a storage medium. Background Art
[0002] With the continuous development of information technology, the spatial scope of information services is constantly expanding, various space-based, air-based, sea-based, and ground-based network services are constantly emerging, and the demand for multi-dimensional comprehensive information resources is gradually increasing. The integrated air-space-ground network can provide seamless information services for land, sea, air, and space users, and meet the future network's needs for all-time, all-domain, and all-space communications and network interconnection. The integrated air-space-ground network can be formed by the interconnection of space-based information networks, ground Internet, and mobile communication networks. It has the characteristics of wide coverage, flexible deployment, and efficient broadcasting of broadband satellite communications. Among them, the space-based information network in the integrated air-space-ground network is composed of a series of high, medium, and low-orbit satellites, and uses inter-satellite data links between satellites to achieve inter-satellite communications.
[0003] However, since the high-speed movement of satellites will bring about frequent topology changes, the current routing algorithms based on ground networks are not suitable for communication networks including satellite nodes. Summary of the invention
[0004] The present application provides a path determination method, an electronic device and a storage medium, which are used to provide a path calculation method between two nodes in a communication network with time attributes to meet time-related path calculation requirements.
[0005] In order to achieve the above purpose, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a path determination method, the method comprising:
[0007] Acquire time constraints and a network topology of the communication network, where the network topology is used to indicate nodes and links in the communication network, and the links have valid time periods;
[0008] A target path between a first node and a second node is determined from a network topology according to a time constraint condition, wherein the time constraint condition is used to constrain a valid time period of a target link constituting the target path.
[0009] In a second aspect, the present application provides a path determination device, which includes an acquisition unit and a processing unit.
[0010] The acquisition unit is used to acquire the time constraint condition and the network topology of the communication network. The network topology is used to indicate the nodes and links in the communication network. The links have a valid time period.
[0011] The processing unit is used to determine a target path between a first node and a second node from a network topology according to a time constraint condition, wherein the time constraint condition is used to constrain a valid time period of a target link constituting the target path.
[0012] In a third aspect, an electronic device is provided, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the path determination method provided in the first aspect above.
[0013] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the path determination method provided in the first aspect.
[0014] In a fifth aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer executes the path determination method provided in the first aspect.
[0015] In the embodiment of the present application, time constraints can be configured in the routing algorithm to meet the path calculation between two nodes of the ground network or intersatellite network with time attributes. Furthermore, various types of time constraints can be provided based on the calculation requirements related to the time attributes in the inter-satellite business to accurately meet the business needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0017] Figure 1 A schematic diagram of an air-ground integrated network architecture provided for an embodiment of the present application;
[0018] Figure 2 A schematic diagram of a network topology provided in an embodiment of the present application;
[0019] Figure 3 A schematic diagram of a flow chart of a path determination method provided in an embodiment of the present application;
[0020] Figure 4 A schematic diagram of a topology snapshot provided in an embodiment of the present application;
[0021] Figure 5a A schematic diagram of another network topology provided in an embodiment of the present application;
[0022] Figure 5b A schematic diagram of another network topology provided in an embodiment of the present application;
[0023] Figure 5c A schematic diagram of another network topology provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of the composition of a path determination device provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of the structure of a path determination device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0028] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0029] To facilitate understanding, some basic concepts of terms or technologies involved in the embodiments of the present invention are first briefly introduced and explained.
[0030] Shortest path first (SPF): The SPF algorithm is used to calculate the shortest path from one node to other nodes. The algorithm uses each router as the root to calculate the distance to each destination router, and can expand outward layer by layer with the root as the center until it reaches the end point. In this way, each router will calculate the topological structure diagram of the routing domain based on a unified database. This structure diagram is similar to a tree. In the SPF algorithm, it is called the shortest path tree. The SPF algorithm is the basis of the open shortest path first (OSPF) routing protocol, sometimes also called the Dijkstra algorithm. In the OSPF routing protocol, the trunk length of the shortest path tree, that is, the distance from the OSPF router to each destination router, is called the OSPF cost.
[0031] Constraint-based shortest path first (CSPF): The CSPF algorithm is an extension of the SPF algorithm. Specifically, the CSPF algorithm needs to consider specific constraints when calculating the shortest path. For example, based on the availability of resources and whether the selected part violates the user policy constraints, the nodes and links that do not meet the conditions can be deleted from the current topology, and then the SPF algorithm is used to calculate a shortest path to the specified address that meets the constraints. Currently, the main constraints of CSPF are: metric type, number of hops, bandwidth, shared risk link group (SRLG), affinity, etc.
[0032] Traffic engineering (TE): Traffic engineering refers to the process of selecting transmission paths based on the characteristics of various data service flows, and is used to balance the load between different switches, routers, and links in the network. It can include a series of methods for optimizing network performance, that is, analyzing, predicting, and purposefully managing the behavior patterns of data flows in the network. In a complex network environment, traffic engineering controls different service flows to take different paths, and critical services to take reliable paths and ensure service quality. In addition, it dynamically adjusts routes when a certain section of the network is congested. Its ultimate goal is to optimize the usage load of network equipment and improve the overall performance of the network.
[0033] The above is an introduction to the technical terms involved in the embodiments of the present disclosure, which will not be repeated below.
[0034] The integrated space-air-ground network is based on the ground-based network, supplemented and extended by the space-based network and the air-based network, and provides ubiquitous, intelligent, collaborative, and efficient information security infrastructure for various network applications in a wide range of space. It can effectively and comprehensively utilize various resources through the deep integration of multi-dimensional networks, and perform intelligent network control and information processing to cope with network services with different requirements. Due to the high-speed mobility of satellites, the location coordinates, intersatellite links, and connection status of satellite nodes in the network will change over time, making the network topology complex and changeable.
[0035] In view of this, the present application provides a path determination method, which includes: first obtaining the network topology of the communication network, the network topology includes multiple nodes and multiple links for connecting the nodes, and the links have a valid time period; then based on the time constraint condition, determining the target path between the first node and the second node from the network topology, the time constraint condition is used to constrain the valid time period of the target link constituting the target path. In this way, the path calculation between two nodes of the ground network or intersatellite network with time attributes can be satisfied.
[0036] Figure 1 Figure 2 shows an integrated air-ground-space network architecture. Figure 1 As shown, the network architecture includes a space-based network, an air-based network and a ground-based network.
[0037] Among them, the space-based network is composed of a space-based backbone network and a space-based access network composed of various satellite systems, which can achieve global coverage, ubiquitous connection, broadband access and other functions. In the integrated network architecture of space, space and land, the space-based network (mainly various satellite networks) technology is at the core and is the key technology for building an integrated network of space, space and land. The space-based network can include a series of high-orbit satellites, medium-orbit (MEO) satellites and low-orbit (LEO) satellites, so that inter-satellite communication can be achieved by using the inter-satellite data links between satellites.
[0038] The ground-based network may include cellular wireless networks, for example, fourth generation (4G) communication systems such as long term evolution (LTE) systems, fifth generation (5G) communication systems such as new radio (NR) systems, and other future mobile communication systems, satellite ground stations and mobile satellite terminals, as well as ground data and processing centers, which may be responsible for network services in business-intensive areas.
[0039] Air-based networks can include high-altitude communication platforms, drone ad hoc networks, and various aircraft, and have the functions of enhancing coverage, enabling edge services, and flexible network reconstruction.
[0040] Figure 2 This is a schematic diagram of a network topology for this application. Figure 2 As shown, the network topology includes a first node 210 , a second node 220 , a third node 230 , a fourth node 240 and a fifth node 250 .
[0041] In some embodiments, the network topology may also include a network controller ( Figure 2 210, the second node 220, the third node 230, the fourth node 240 and the fifth node 250 are connected respectively, and can control the first node 210, the second node 220, the third node 230, the fourth node 240 and the fifth node 250 respectively.
[0042] Exemplarily, the network topology may include satellite nodes. Satellite nodes may also be referred to as satellites, communication satellites, etc. Satellite nodes may be geostationary earth orbit (GEO) satellites or non-geostationary earth orbit (NGEO). They may also be high-orbit satellites, medium-orbit satellites, or low-orbit satellites. There is a wireless link between a satellite node and another satellite node, and there is also a wireless link between a satellite node and a ground node.
[0043] The network topology may also include ground nodes. Ground nodes may refer to ground equipment set on the surface of the earth (including on ships or aircraft) for satellite communications, such as observation stations, gateway stations, ground stations, etc. It may be composed of a high-gain antenna system that can track artificial satellites, a microwave high-power transmission system, a low-noise receiving system, and a power supply system, etc., and is used to transmit signaling and service data between satellite nodes.
[0044] In addition, each node can flood the CSPF algorithm information carrying the constraint type information corresponding to the link bandwidth constraint condition in the network topology. The network controller or the starting node that needs to send a message can use the link information from other nodes in the network topology and combine it with the CSPF algorithm to calculate the optimal path from the starting node to the target node.
[0045] It can be understood by those skilled in the art that Figure 2The topological structure shown in the figure does not constitute a limitation on the embodiments of the present application, and it may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0046] The embodiment of the present application also provides a path determination device, which is the execution subject of the path determination method provided in the embodiment of the present application. The path determination device is a control device with data processing capabilities, which can be applied to the above-mentioned satellite node or ground node. For example, the path determination device can be any node in the above-mentioned topological network, or it can be a network controller, a satellite controller, etc. Alternatively, the path determination device is a functional module in the control device, or the path determination device can be any computing device connected to the control device, etc. The embodiment of the present application does not limit this.
[0047] The path determination method provided in the present application is described in detail below in conjunction with the accompanying drawings of the specification.
[0048] like Figure 3 As shown, an embodiment of the present application provides a path determination method, which includes the following steps:
[0049] S101. A path determination device obtains time constraints and a network topology of a communication network.
[0050] The network topology is used to indicate the nodes and links in the communication network.
[0051] In some embodiments, the nodes in the network topology include satellite nodes or ground nodes. Thus, the links in the network topology include links between satellite nodes, links between satellite nodes and ground nodes, or links between ground nodes and ground nodes.
[0052] It should be noted that due to the high-speed mobility of satellites, the position coordinates, inter-satellite links and connection status of satellite nodes in the network will change over time. That is, the links related to satellite nodes, including links between satellite nodes and links between satellite nodes and ground nodes, will change over time.
[0053] In some embodiments, the above network topology can be determined based on the ephemeris information of the satellite nodes in the communication network. In one implementation, the network topology can be determined using a satellite network static routing algorithm, such as a snapshot routing algorithm. Based on the snapshot routing algorithm and the ephemeris information of the satellite nodes, the dynamic topology of the communication network over a period of time can be divided into multiple topology snapshots, one topology snapshot corresponds to a portion of the time in this period, and the network topology in each topology snapshot can be regarded as fixed. In some embodiments, multiple topology snapshots over a period of time may include one or more snapshots that repeat in a certain pattern. For example, multiple topology snapshots over a period of time include snapshot a, snapshot b, snapshot c, snapshot d, snapshot e, and snapshot f. Among them, snapshot a is the same as snapshot d, snapshot b is the same as snapshot e, and snapshot c is the same as snapshot f. Thus, the dynamic topology of this period of time can be regarded as a cycle of snapshot a and snapshot b.
[0054] In one example, a highly dynamic network topology can be divided into multiple topology snapshots of the same duration. For example, a satellite motion cycle is divided into multiple time slots, and within a time slot, the network topology of the communication network remains unchanged. Among them, a time slot corresponds to a time interval, including the start and end times of the time interval, such as time slot [T0, T1], time slot [T1, T2], time slot [T2, T3], time slot [T3, T4] and other time slots. Therefore, based on each time slot, the dynamically changing network topology within a motion cycle can be mapped into multiple discrete-time network snapshots. Figure 4 As shown, for nodes S1-S5, the network topology corresponding to the time slot [T0, T1] is Figure 4 The network topology corresponding to snapshot 1 and time slot [T1, T2] in Figure 4 The network topology corresponding to snapshot 2 and time slot [T2, T3] in Figure 4 The network topology corresponding to snapshot 3 and time slot [T3, T4] in Figure 4 Snapshot 4 in.
[0055] In another example, the establishment and removal of satellite-to-ground and intersatellite links can be used as the basis for snapshot division, that is, the duration of multiple topology snapshots may be different. For example, based on the establishment and removal time of satellite-to-ground and intersatellite links, a satellite movement cycle is divided into multiple time intervals, and the durations corresponding to the multiple time intervals may be different. Within a time interval, the network topology of the communication network remains unchanged.
[0056] It should be understood that the above examples are only possible examples of topology snapshot division, and the topology snapshot may also be divided in other possible ways, which is not limited in this application.
[0057] Furthermore, the links in the above network topology have a valid time period. During the movement and change of each node in the communication network, the valid time period of a link may be the time period from the establishment to the removal of the link, or the valid time period may be the time period from the establishment to the removal of the link. Thus, during the valid time period of a link, the link maintains the current connection state unchanged.
[0058] In some embodiments, the effective time period of a link can be determined based on the time interval corresponding to the topology snapshot. Figure 4 The valid time period of the link S1-S5 in snapshot 3 may be [T2, T3].
[0059] In some embodiments, a link may have multiple valid time periods.
[0060] In some embodiments, the path determination device may acquire ephemeris information of the satellite node, and determine a valid time period of a link associated with the satellite node based on the ephemeris information of the satellite node.
[0061] The ephemeris information of the satellite node is also called two-line orbital element (TLE), including the satellite's beam parameters, physical resources, and scheduling information. In some embodiments, the ephemeris information of the satellite node may also include one or more of the satellite identification ID number, satellite operating status, and satellite orbital parameters.
[0062] The satellite beam parameters may include the number of beams, beam angle, beam inclination, beam ID, and tracking area list. The satellite physical resources may include working bandwidth, working frequency, and carrier spacing. The satellite scheduling information may include the current number of terminal accesses, time domain resources, frequency domain resources, code domain resources, and beam resource occupancy. The satellite working status includes activation status, idle status, etc. The satellite orbit parameters include orbit altitude, orbit inclination, etc.
[0063] Thus, the ephemeris information of the satellite node can be used to determine the running state of the satellite node, such as the running time, position or speed. Therefore, the path determination device can determine the running state of the satellite node in the communication network based on the ephemeris information of the satellite node, so as to determine the time period from establishment to removal of the link related to the satellite node as the effective time period of the link.
[0064] In addition, the above time constraint condition is used to constrain the effective time period of the links constituting the path to be determined.
[0065] In a possible implementation manner, the path determination device may receive the network topology and time constraint conditions sent by other nodes in the communication network.
[0066] In one example, the path determination device may obtain the network topology and time constraints from the ground node. The ground node may generate the network topology based on the information obtained in the communication network, for example, based on the above-mentioned snapshot routing algorithm. In addition, the time constraints may be determined by the ground node based on the service requirements of the communication network. The ground node may also send the time constraints to the path determination device. Thus, the ground node may send the determined network topology and time constraints to the path determination device.
[0067] In another example, the path determination device may obtain the network topology and time constraints from the satellite node. The satellite node may self-learn a routing algorithm, such as the snapshot routing algorithm, to autonomously generate a network topology based on the information obtained in the communication network. In addition, the satellite node may also receive the service requirements of the communication network from the ground node, and then generate a time constraint. Thus, the satellite node may send the determined network topology and time constraint to the path determination device.
[0068] S102: The path determining device determines a target path between a first node and a second node from a network topology according to a time constraint condition.
[0069] The first node and the second node may be any two nodes in the above communication network, and the above time constraint condition is used to constrain the effective time period of the target link constituting the target path between the first node and the second node.
[0070] In some embodiments, the time constraint condition includes at least one of the following: the effective time period of the link matches at least one first preset time period; the effective time period of the link does not match at least one second preset time period.
[0071] If the effective time period of a link is within a first preset time period, or the effective time period of the link completely overlaps with the first preset time period, it can be determined that the effective time period of the link matches the first preset time period. Conversely, if the effective time period of a link is not within a first preset time period and does not completely overlap with the first preset time period, it can be determined that the effective time period of the link does not match the first preset time period.
[0072] In some embodiments, the time constraint condition may have the following possible forms: Form 1: the effective time period of the link matches a first preset time period. Form 2: the effective time period of the link matches multiple first preset time periods. Form 3: the effective time period of the link does not match a second preset time period. Form 4: the effective time period of the link does not match multiple second preset time periods.
[0073] In some embodiments, the time constraint may be determined based on the user's business needs. For example, if the user's business needs are to establish an optimal satellite route exclusively for use in a fixed time period, the time constraint may be the above-mentioned form 1. Alternatively, if the user's business needs are to establish an optimal satellite route that excludes use in popular time periods, the time constraint may be the above-mentioned form 3 or form 4. Alternatively, if the user's business needs are to establish an optimal satellite route that can be used "anytime, anywhere", that is, satellite routes that need to consider multiple time periods, the time constraint may be the above-mentioned form 2.
[0074] In some embodiments, the path determination device may determine the shortest path between the first node and the second node from the network topology as the above-mentioned target path based on the CSPF algorithm according to the time constraint condition.
[0075] In a possible implementation, the path determination device may first obtain a first link in the network topology that satisfies the time constraint condition, and obtain a target network topology formed by the first link, and then determine the shortest path between the first node and the second node as the target path from the target network topology based on a constrained shortest path first (CSPF) algorithm.
[0076] First, the path determination device may first cut the links that do not meet the time constraint conditions in the network topology based on the time constraint conditions, obtain the first link that meets the time constraint conditions in the network topology, and obtain the target network topology composed of the first link.
[0077] In one example, based on the above form 1, the time constraint condition is that the effective time period of the link matches the preset time period [T0, T1].
[0078] For example, Figure 5a As shown, the acquired target network topology includes satellite node A, satellite node B, satellite node C and satellite node D, wherein the effective time period of link A->B between satellite node A and satellite node B is [T0, T1], and the effective time periods of link A->C, link B->D and link B->D are all [T0, T1]. It can be seen that link A->B, link A->C, link B->D and link B->D all match the preset time period [T0, T1]. Therefore, the path determination device retains all links in the network topology based on the time constraint condition.
[0079] Or, if Figure 5bAs shown, the acquired target network topology includes satellite node E, satellite node F, ground node G and ground node H, wherein the effective time periods of link E->F, link E->G and link G->H are all [T0, T1], and the effective time period of link F->H is [T1, T2]. It can be seen that link E->F, link E->G and link G->H match the preset time period [T0, T1]. Therefore, the path determination device retains link E->F, link E->G and link G->H based on the time constraint condition.
[0080] In another example, based on the above form 3, the time constraint condition is that the effective time period of the link does not match the preset time period [T0, T1].
[0081] like Figure 5b As shown, the acquired target network topology includes satellite node E, satellite node F, ground node G and ground node H. It can be seen that link E->F, link E->G and link G->H match the time period [T0, T1], and link F->H does not match the preset time period [T0, T1]. Therefore, the path determination device can cut off link F->H based on the time constraint condition.
[0082] In another example, based on the above form 2, the time constraint condition is that the effective time period of the link matches the preset time period [T0, T1] and the preset time period [T5, T6].
[0083] For example, Figure 5c As shown, the obtained target network topology includes satellite node I, satellite node J, satellite node K and satellite node L, wherein the effective time period of link I->J is [T1, T2] and [T5, T6], the effective time period of link I->K is [T0, T1], [T1, T2] and [T5, T6], the effective time period of link K->L is [T1, T2] and [T3, T4], and the effective time period of link J->L is [T1, T2], [T3, T4] and [T5, T6]. It can be seen that link K->L does not match the preset time period [T5, T6]. Therefore, the path determination device cuts off link K->L based on the time constraint condition.
[0084] Furthermore, the path determination device may determine the target path between the first node and the second node from the clipped target network topology based on the CSPF algorithm.
[0085] In some embodiments, based on the CSPF algorithm, the specific process of determining the target path between the first node and the second node in the target network topology can be implemented as the following steps S11-S16:
[0086] S11. All nodes in the network topology constitute a first node set, and a second node set and a candidate path set are set which are initially empty sets.
[0087] S12: Migrate the first node in the first node set to the second node set, and use the first node as the target node.
[0088] S13. Determine a second path between the third node and the first node based on the first path between the target node and the first node in the candidate path set, and a link between the third node directly connected to the target node and the target node; if the second path satisfies the path cost constraint, save the second path to the candidate path set.
[0089] In some embodiments, it may be detected whether the candidate path set includes a third path between the third node and the first node. If the candidate path set does not include the third path, the second path is saved to the candidate path set. Alternatively, if the candidate path set includes the third path, the path cost of the second path is compared with the path cost of the third path.
[0090] If the path cost of the second path is less than the path cost of the third path, the second path is saved in the candidate path set. Otherwise, if the path cost of the second path is greater than or equal to the path cost of the third path, the second path is not saved, and the third path in the candidate path set remains unchanged.
[0091] S14. Determine the path costs of the paths between each node in the first node set and the first node according to the candidate path set; select the fourth node with the smallest path cost from the first node set to migrate to the second node set, and use the fourth node with the smallest path cost as the new target node.
[0092] S15. Repeat the execution path steps S13-S14 until the first node set is an empty set.
[0093] S16: Determine a target path between the first node and the second node from a plurality of candidate paths in the candidate path set.
[0094] For example, Figure 5b Taking the network topology shown in FIG. 1 as an example, if the network topology after cutting includes link E->F, link E->G and link G->H, and the link cost of link E->F cost(E->F)=10, the link cost of link E->G cost(E->G)=12 and the link cost of link G->H cost(G->H)=20. Based on the CSPF algorithm, combined with the above steps S11-S16, the specific process of determining the target path between the first node E and the second node H from the network topology after cutting can be implemented as the following steps:
[0095] a1. All nodes E, F, G, H in the network topology constitute a first node set (E, F, G, H), and set a second node set and a candidate path set that are initially empty sets. At this time, both the second node set and the candidate path set are empty sets.
[0096] a2. Migrate the first node E in the first node set to the second node set, and use the first node E as the target node.
[0097] At this time, the second node set is (E), the first node set is (F, G, H), and the candidate path set is an empty set.
[0098] a3. Combined with step S13, the directly connected nodes of the target node E are nodes F and G, so the current second path includes paths E->F and E->G. In addition, since the candidate path set is an empty set at this time, paths E->F and E->G can be added to the candidate path set.
[0099] At this time, the second node set is (E), the first node set is (F, G, H), and the candidate path set is (path E->F, path E->G).
[0100] It should be noted that, if the candidate path set includes other possible paths between node F and the first node at this time, the path determination device can compare the path cost of the path and the path cost of path E-> F. If the path cost of path E-> F is smaller, the path between node F and the first node in the shortest node set is updated to path E-> F. Conversely, if the path cost of path E-> F is larger, the candidate path set is not updated.
[0101] a4. When the first node set is not an empty set, execute step S24.
[0102] At this time, the second node set is (E, F), the first node set is (G, H), and the candidate path set is (path E->F, path E->G).
[0103] In the candidate link set, the path costs from each node of the first node set to the first node E include: the path cost of path E->F is 10, the path cost of path E->G is 12, and the path between node H and node E is unknown, and the path cost is temporarily regarded as ∞. Therefore, it can be determined that the path with the smallest path cost is path E->F, and node F is used as the new target node.
[0104] a5. Take F as the new target node and execute step S13.
[0105] Since the link F->H has been cut off, the only directly connected node of node F is node E, and the path E->F has been calculated, so the latest path set is no longer updated.
[0106] At this time, the second node set is (E, F), the first node set is (G, H), and the candidate path set is (path E->F, path E->G). The first node set is not an empty set.
[0107] a6. When the first node set is not an empty set, execute step S14.
[0108] According to the candidate path set, the path costs from each node in the first node set to the first node E are determined to include: the path cost of path E->G is 12, the path between node H and node E is unknown, and the path cost is temporarily regarded as ∞. Therefore, it can be determined that the path with the smallest path cost is path E->G, and node G is used as the new target node.
[0109] a7. Take node G as the new target node and execute step S13.
[0110] The directly connected nodes of node G are node E and node H. Based on the current first path E->G and path G->H, it can be determined that the current second path includes: path E->G->H, and the path cost cost(E->G->H) = cost(E->G) + cost(G->H) = 32.
[0111] Since the path between node H and node E is not recorded in the current candidate path set, the path cost is temporarily regarded as ∞. Therefore, the path cost of the second path E->G->H is small, and the path E->G->H is updated to the candidate path set.
[0112] At this time, the second node set is (E, F, G), the first node set is (H), and the candidate path set is (path E->F, path E->G, path E->G->H). The first node set is not an empty set.
[0113] a8. Use node H in the first node set as the new target node.
[0114] a9. Take H as the new target node and execute step S13.
[0115] Since the link F->H has been cut off, the only directly connected node of node H is node G, and the link G->H has been calculated, so the latest path set is no longer updated.
[0116] At this time, the second node set is (E, F, G, H), the candidate path set is (path E->F, path E->G, path E->G->H), and the first node set is an empty set.
[0117] a10. Determine a target path between the first node E and the second node H from multiple candidate paths in the candidate path set.
[0118] It should be understood that the path determination device can find out that the target path between the first node E and the second node H is the path E->G->H. The path cost is cost(E->G->H)=cost(E->G)
[0119] +cost(G->H)=32.
[0120] In another possible implementation, the path determination device can traverse node by node in the network topology with the first node as the starting node, and obtain multiple candidate paths between the first node and other nodes in the network topology, where the candidate paths are composed of multiple candidate links that meet time constraints, and the candidate links are determined when the nodes corresponding to the candidate links are traversed; determine the target path between the first node and the second node from the multiple candidate paths.
[0121] In some embodiments, based on the CSPF algorithm, the specific process of determining the target path between the first node and the second node from the uncut network topology can be implemented as the following steps S21-S26:
[0122] S21. All nodes in the network topology constitute a first node set, and a second node set and a candidate path set are set which are initially empty sets.
[0123] S22: Migrate the first node in the first node set to the second node set, and use the first node as the target node.
[0124] S23, according to the first path between the target node and the first node in the candidate path set, and the link between the third node directly connected to the target node and the target node, determine the second path between the third node and the first node; if the second path satisfies the time constraint and the path cost constraint, save the second path to the candidate path set. Therefore, step S23 can also be called a path screening step.
[0125] In some embodiments, it may be first detected whether the second path satisfies the time constraint condition, and then detected whether the path cost constraint condition is satisfied.
[0126] Exemplarily, when the second path meets the time constraint, firstly check whether the candidate path set includes the third path between the third node and the first node. Then, when the candidate path set does not include the third path, save the second path to the candidate path set.
[0127] Alternatively, when the candidate path set includes the third path, the path cost of the second path is compared with the path cost of the third path. Further, when the path cost of the second path is less than the path cost of the third path, the second path is saved in the candidate path set. On the contrary, when the path cost of the second path is greater than or equal to the path cost of the third path, the second path is not saved, and the third path in the candidate path set remains unchanged.
[0128] In addition, when the second path does not meet the preset time condition, the first path is excluded.
[0129] S24, according to the candidate path set, determine the path cost of the path between each node in the first node set and the first node; select the fourth node with the smallest path cost from the first node set to migrate to the second node set, and use the fourth node with the smallest path cost as the new target node. Therefore, step S23 can also be called a target node reselection step.
[0130] S25. Repeat the execution path steps S23-S24 until the first node set is an empty set.
[0131] S26: Determine a target path between the first node and the second node from a plurality of candidate paths in the candidate path set.
[0132] For example, Figure 5b Taking the network topology shown as an example, the uncut network topology includes link E->F, link E->G, link F->H and link G->H, and the link cost of link E->F cost(E->F)=10, the link cost of link E->G cost(E->G)=12, the link cost of link F->H cost(F->H)=10, and the link cost of link F->H cost(F->H)=20. In addition, the effective time periods of link E->F, link E->G and link G->H are all [T0, T1], and the effective time period of link F->H is [T1, T2].
[0133] If the time constraint condition is that the effective time period of the link matches the time period [T0, T1], then the above steps S21-S26 are combined, and the specific process of the path determination device determining the target path between the first node E and the second node H based on the CSPF algorithm can be implemented as the following steps b1-b10:
[0134] b1. All nodes E, F, G, H in the network topology constitute a first node set (E, F, G, H), and set a second node set and a candidate path set that are initially empty sets. At this time, both the second node set and the candidate path set are empty sets.
[0135] b2. Migrate the first node E in the first node set to the second node set, and use the first node E as the target node.
[0136] At this time, the second node set is (E), the first node set is (F, G, H), and the candidate path set is an empty set.
[0137] b3. In combination with step S23, the directly connected nodes of the target node E are nodes F and G, and E is the first node, so the second path includes the paths E->F and E->G.
[0138] Since the effective time of path E->F is [T0, T1] and the effective time of path E->G is [T0, T1], both satisfy the time constraint condition: the effective time period of the link matches the time period [T0, T1]. At this time, it can be detected whether there is a third path between the third node and the first node in the candidate path set.
[0139] Since the candidate path set is an empty set, the path E->F and the path E->G can be added to the candidate path set.
[0140] It should be noted that, if the candidate path set includes other possible paths between node F and the first node at this time, the path determination device can compare the path cost of the path and the path cost of path E-> F. If the path cost of path E-> F is smaller, the path between node F and the first node in the shortest node set is updated to path E-> F. Conversely, if the path cost of path E-> F is larger, the candidate path set is not updated.
[0141] b4. When the first node set is not an empty set, execute step S24.
[0142] At this time, the second node set is (E), the first node set is (F, G, H), and the candidate path set is (path E->F, path E->G).
[0143] The path costs from each node in the first node set to the first node E include: the path cost of path E->F is 10, the path cost of path E->G is 12, and the path between node H and node E is unknown, and the path cost is temporarily regarded as ∞. Therefore, it can be determined that the path with the smallest path cost is path E->F, and node F is used as the new target node.
[0144] b5. Take F as the new target node and execute step S23.
[0145] Node F's directly connected nodes are node E and node H. The first path currently calculated includes path E->F, and the second path includes path E->F->G. Since the effective time of link F->G in path E->F->G is [T1, T2], the time constraint condition is not met, so path E->F->G can be excluded at this time, so there is no need to update the latest path set.
[0146] At this time, the second node set is (E, F), the first node set is (G, H), and the candidate path set is (path E->F, path E->G). It can be seen that the first node set is not an empty set.
[0147] b6. When the first node set is not an empty set, execute step S24.
[0148] According to the candidate path set, the path costs from each node in the first node set to the first node E are determined to include: the path cost of path E->G is 12, the path between node H and node E is unknown, and the path cost is temporarily regarded as ∞. Therefore, it can be determined that the path with the smallest path cost is path E->G, and node G is used as the new target node.
[0149] b7. Take node G as the new target node and execute step S23.
[0150] The directly connected nodes of node G are node E and node H. The first path is path E->G, and the second path includes path E->G->H. The path cost cost(E->G->H) = cost(E->G) + cost(G->H) = 32. In addition, the effective time periods of link E->G and link G->H in path E->G->H are both [T0, T1], which meets the time constraint condition.
[0151] Since the path between node H and node E is not recorded in the current candidate path set, the path cost is temporarily regarded as ∞. Therefore, the path cost of the first path E->G->H is small, and the path E->G->H is updated to the candidate path set.
[0152] At this time, the second node set is (E, F, G), the first node set is (H), and the candidate path set is (path E->F, path E->G, path E->G->H). The first node set is not an empty set.
[0153] b8. Take node H in the first node set as the new target node.
[0154] b9. Take H as the new target node and execute step S23.
[0155] The directly connected nodes of node H include node G and node F. Since the link G->H and the link F->H have been calculated, the latest path set is no longer updated.
[0156] At this time, the second node set is (E, F, G, H), the candidate path set is (path E->F, path E->G, path E->G->H), and the first node set is an empty set.
[0157] b10. Determine a target path between the first node E and the second node H from a plurality of candidate paths in the candidate path set.
[0158] It should be understood that the path determination device can find out that the target path between the first node E and the second node H is the path E->G->H. The path cost is cost(E->G->H)=cost(E->G)
[0159] +cost(G->H)=32.
[0160] Based on the above embodiments, time constraints can be configured in the routing algorithm to meet the path calculation between two nodes of the ground network or intersatellite network with time attributes. Furthermore, various types of time constraints can be provided based on the calculation requirements related to time attributes in the inter-satellite business to accurately meet the business needs of users.
[0161] The above mainly introduces the solution provided by the present application from the perspective of interaction between various nodes. It is understandable that each node, such as a device or equipment, includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0162] Figure 6 FIG. 1 is a schematic diagram showing the composition of a path determination device provided in an embodiment of the present application. Figure 6 As shown, the path determination device 60 includes an acquisition unit 601 and a processing unit 602 .
[0163] In some embodiments, the acquisition unit 601 is used to acquire the time constraint and the network topology of the communication network, the network topology is used to indicate the nodes and links in the communication network, and the links have valid time periods. The processing unit 602 is used to determine the target path between the first node and the second node from the network topology according to the time constraint, and the time constraint is used to constrain the valid time period of the target link constituting the target path.
[0164] In some embodiments, the time constraint condition includes at least one of the following: the effective time period of the target link matches at least one first preset time period; the effective time period of the target link does not match at least one second preset time period.
[0165] In some embodiments, the processing unit 602 is specifically used to: obtain a first link in the network topology that meets the time constraint condition, and obtain a target network topology composed of the first link; based on a constrained shortest path first (CSPF) algorithm, determine the shortest path between the first node and the second node from the target network topology as the target path.
[0166] In some embodiments, the processing unit 602 is further specifically used to: in the network topology, traverse outward from the first node to the node one by one, and obtain multiple candidate paths between the first node and other nodes in the network topology, where the candidate paths are composed of multiple candidate links that meet time constraints, and the candidate links are determined when traversing to the nodes corresponding to the candidate links.
[0167] In some embodiments, the processing unit 602 is further specifically used to: form a first node set with all nodes in the network topology, and set a second node set and a candidate path set that are initially empty; migrate the first node in the first node set to the second node set, and use the first node as the target node; path screening step: determine the second path between the third node and the first node according to the first path between the target node and the first node in the candidate path set, and the link between the third node directly connected to the target node and the target node; if the second path meets the time constraint and the path cost constraint, save the second path to the candidate path set; target node reselection step: determine the path cost of the path between each node in the first node set and the first node according to the candidate path set; select the fourth node with the smallest path cost from the first node set and migrate to the second node set, and use the fourth node with the smallest path cost as the new target node; repeat the path screening step and the target node reselection step until the first node set is an empty set; obtain multiple candidate paths from the final candidate path set.
[0168] In some embodiments, the processing unit 602 is further specifically used to: detect whether the second path satisfies the time constraint; if the second path satisfies the time constraint, detect whether the candidate path set includes a third path between the third node and the first node; if the candidate path set does not include the third path, save the second path to the candidate path set; if the candidate path set includes the third path, compare the path cost of the second path with the path cost of the third path; if the path cost of the second path is less than the path cost of the third path, save the second path to the candidate path set.
[0169] In some embodiments, the network topology and time constraints are generated by a satellite node or a ground node.
[0170] In some embodiments, the acquisition unit 601 is further configured to acquire the ephemeris information of the satellite node. The processing unit 602 is further configured to determine the effective time period of the link related to the satellite node according to the ephemeris information of the satellite node.
[0171] In some embodiments, the path determination device 60 is applied to a satellite node, and the acquisition unit 601 is specifically used to acquire the network topology and time constraints from the ground node.
[0172] In some embodiments, the path determination device 60 is applied to a ground node, and the acquisition unit 601 is specifically used to acquire the network topology and time constraints from the satellite node.
[0173] It should be noted that Figure 6 The units in can also be called modules, for example, the acquisition unit can be called an acquisition module. Figure 6 In the illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the acquisition unit may also be called a communication unit.
[0174] Figure 6 If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0175] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the present application embodiment provides a schematic diagram of the structure of a path determination device, which may be the above-mentioned path determination device 60. Figure 7 As shown, the path determination device 70 includes: a processor 702 , a communication interface 703 , and a bus 704 . Optionally, the path determination device 70 may further include a memory 701 .
[0176] The processor 702 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 702 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 702 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0177] The communication interface 703 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0178] The memory 701 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0179] As a possible implementation, the memory 701 may exist independently of the processor 702, and the memory 701 may be connected to the processor 702 via a bus 704 to store instructions or program codes. When the processor 702 calls and executes the instructions or program codes stored in the memory 701, the information processing method determination method provided in the embodiment of the present application can be implemented.
[0180] In another possible implementation, the memory 701 may also be integrated with the processor 702 .
[0181] The bus 704 may be an extended industry standard architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0182] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the equipment or device is divided into different functional modules to complete all or part of the functions described above.
[0183] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The computer-readable storage medium can be the memory or memory of any of the above embodiments. The above computer-readable storage medium can also be an external storage device of the above device or device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above device or device. Further, the above computer-readable storage medium can also include both the internal storage unit of the above device or device and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above device or device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0184] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the information processing mode determination methods provided in the above embodiments.
[0185] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0186] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0187] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A path determination method, It is characterized in that The method comprises: Acquire a time constraint condition and a network topology of a communication network, wherein the network topology is used to indicate nodes and links in the communication network, and the links have a valid time period; A target path between a first node and a second node is determined from the network topology according to the time constraint condition, wherein the time constraint condition is used to constrain a valid time period of a target link constituting the target path.
2. The method according to claim 1, It is characterized in that The time constraint condition includes at least one of the following: The effective time period of the target link matches at least one first preset time period; The effective time period of the target link does not match at least one second preset time period.
3. The method according to claim 1, It is characterized in that The determining, from the network topology according to the time constraint, a target path between the first node and the second node, comprises: Acquire a first link in the network topology that satisfies the time constraint condition, and obtain a target network topology formed by the first link; Based on a constrained shortest path first (CSPF) algorithm, a shortest path between the first node and the second node is determined from the target network topology as the target path.
4. The method according to claim 1, It is characterized in that The determining, according to the time constraint, a target path between a first node and a second node from the network topology comprises: in the network topology, starting from the first node and traversing outwards node by node, obtaining a plurality of candidate paths between the first node and other nodes in the network topology, wherein the candidate paths are composed of a plurality of candidate links satisfying the time constraint, and the candidate links are determined when traversing to nodes corresponding to the candidate links; A target path between the first node and the second node is determined from the plurality of candidate paths.
5. The method according to claim 4, It is characterized in that The step of traversing nodes one by one from the first node as a starting node in the network topology to obtain multiple candidate paths between the first node and other nodes in the network topology includes: All nodes in the network topology form a first node set, and a second node set and a candidate path set are set to be initially an empty set; Migrating the first node in the first node set to a second node set, and using the first node as a target node; Path screening step: determining a second path between the target node and the first node according to the first path between the target node and the first node in the candidate path set, and a link between the target node and a third node directly connected to the target node; and saving the second path to the candidate path set if the second path satisfies the time constraint and the path cost constraint; Target node reselection step: determining the path costs of the paths between each node in the first node set and the first node according to the candidate path set; selecting the fourth node with the smallest path cost from the first node set to migrate to the second node set, and taking the fourth node with the smallest path cost as the new target node; Repeating the path screening step and the target node reselection step until the first node set is an empty set; The multiple candidate paths are obtained from the finally obtained candidate path set.
6. The method according to claim 5, It is characterized in that The step of saving the second path to the candidate path set when the second path satisfies the time constraint and the path cost constraint includes: Detecting whether the second path satisfies a time constraint condition; In the case where the second path satisfies the time constraint condition, detecting whether the candidate path set includes a third path between the third node and the first node; When the candidate path set does not include the third path, saving the second path to the candidate path set; In a case where the candidate path set includes the third path, comparing the path cost of the second path with the path cost of the third path; When the path cost of the second path is less than the path cost of the third path, the second path is saved in the candidate path set.
7. The method according to any one of claims 1 to 6, It is characterized in that The network topology and the time constraint condition are generated by a satellite node or a ground node.
8. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: Get the ephemeris information of satellite nodes; According to the ephemeris information of the satellite node, a valid time period of a link related to the satellite node is determined.
9. An electronic device, It is characterized in that include: Memory and processor; Memory and processor coupling; The memory is used to store instructions executable by the processor; When the processor executes the instructions, the method according to any one of claims 1 to 8 is performed.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 8.
Citation Information
Cited By
Path determination method, and electronic device and storage medium
EP4675993A1
Path determination method, and electronic device and storage medium
WO2024187963A1
