Disclosure of Invention
The invention provides a data transmission method, a device, an electronic device and a storage medium of a space satellite, which are used for solving the defect of lower transmission efficiency of data transmission among different satellites caused by complex updating process of a space bearing network in the prior art, realizing that the whole space bearing network is not required to be updated under the condition that an obstacle satellite exists, and in the transmission path, a normal link is reserved, the barrier link where the barrier satellite is positioned is updated to obtain a new transmission path, and data transmission among different satellites is realized based on the new transmission path, so that the data transmission efficiency is effectively improved, and in addition, a network topology diagram corresponding to the service source satellite and the target satellite does not generate a new loop.
The invention provides a data transmission method of a space satellite, which comprises the following steps:
acquiring a first transmission path between a service source satellite and a target satellite and data to be transmitted;
in the case that an obstacle satellite exists in the first transmission path, determining an obstacle link between the obstacle satellite and a first satellite in the first transmission path, wherein the obstacle link is a directional link, the first satellite is a direct connection satellite of the obstacle satellite and is a satellite for transmitting the data to be transmitted to the obstacle link, and the obstacle satellite is a satellite which cannot receive the first satellite and transmits the data to be transmitted;
Determining a second satellite corresponding to the obstacle link, and determining a transmission tunnel between the first satellite and the second satellite according to a preset corresponding relation between the satellite and the tunnel, wherein the second satellite is a satellite which is used for receiving the data to be transmitted sent by the obstacle satellite under the normal condition and is a direct connection satellite of the obstacle satellite, or the second satellite is the obstacle satellite under the condition that the obstacle satellite is the target satellite, and the transmission tunnel is used for sending the data to be transmitted to the second satellite by the first satellite;
And according to the transmission tunnel, the service source satellite sends the data to be transmitted to the target satellite.
According to the data transmission method of the space satellite, under the condition that the number of the second satellites is a plurality of, the service source satellite sends the data to be transmitted to the target satellite according to the transmission tunnels, wherein the data transmission method comprises the steps of determining a transmission tunnel corresponding to a target data stream in the data to be transmitted according to the corresponding relation between a preset tunnel and the data stream, wherein the target data stream is the data stream which passes through the barrier link and passes through any second satellite under the condition that the barrier link is normal; and according to the transmission tunnel corresponding to the target data stream, the service source satellite transmits the target data stream to the target satellite.
The method for transmitting the data of the space satellite comprises the steps of realizing that the first satellite transmits the data to be transmitted to the second satellite according to the transmission tunnel when the first satellite is the service source satellite and the second satellite is the target satellite, replacing the barrier link in the first transmission path to obtain a target transmission path when the first satellite is not the service source satellite and/or the second satellite is not the target satellite, and realizing that the service source satellite transmits the data to be transmitted to the target satellite according to the target transmission path.
The data transmission method of the space satellite provided by the invention comprises the steps of replacing the barrier link with the transmission tunnel in the first transmission path under the condition that the first satellite is not the service source satellite and/or the second satellite is not the target satellite, and obtaining a target transmission path, wherein the first transmission path is obtained according to the first path and the transmission tunnel under the condition that the first satellite is the service source satellite and the second satellite is not the target satellite, the second target transmission path is obtained according to the second path and the transmission tunnel under the condition that the first satellite is not the service source satellite and the second satellite is the target satellite, and the third target transmission path is obtained according to the first path, the second path and the transmission tunnel under the condition that the first satellite is not the service source satellite and the second satellite is not the target satellite, wherein the first path is a link between the second satellite and the target satellite and the second path is a link between the service source satellite and the first satellite.
The data transmission method of the space satellite comprises the steps of traversing links of all satellites in a space satellite network, obtaining a target link between a preset obstacle satellite and a third satellite and a fourth satellite on the link where the preset obstacle satellite is located, wherein the preset obstacle satellite is any satellite in the space satellite network, the target link is a directional link, the third satellite is a satellite which is directly connected with the preset obstacle satellite and is used for transmitting data to the target link, determining a first preset transmission tunnel corresponding to the third satellite and the fourth satellite under the condition that the fourth satellite is a direct connection satellite which is used for receiving the preset obstacle satellite and is used for transmitting data, and correspondingly storing all the third satellite, the fourth satellite and the first preset transmission tunnel to obtain a first corresponding relation, wherein the first preset transmission tunnel is a transmission tunnel not passing through the obstacle satellite, the target link is a satellite, the third satellite is a direct connection satellite of the preset obstacle satellite and is a satellite which is used for transmitting data to the target link, and the second corresponding relation is a second corresponding relation, and the second corresponding relation is obtained under the condition that the preset obstacle satellite is a preset satellite and is a second corresponding relation, and the second corresponding relation is not determined, and the first corresponding relation is corresponding to the fourth satellite is corresponding to the second corresponding relation.
According to the data transmission method of the space satellite, all the third satellite, the fourth satellite and the first preset transmission tunnels are correspondingly stored to obtain a first corresponding relation, wherein the method comprises the steps of determining the shortest transmission tunnel when the number of the first preset transmission tunnels is multiple, and correspondingly storing all the third satellite, the fourth satellite and the shortest transmission tunnel to obtain the first corresponding relation.
The method for transmitting the data of the space satellite comprises the step of determining a transmission tunnel between a first satellite and a second satellite according to the corresponding relation between the preset satellite and a tunnel, wherein the preset transmission tunnel between a third satellite identical to the first satellite and a fourth satellite identical to the second satellite is determined to be the transmission tunnel between the first satellite and the second satellite according to the corresponding relation between the preset satellite and the tunnel.
The data transmission method of the space satellite comprises the following steps of determining a preset data stream corresponding to a preset transmission tunnel from a plurality of data streams, wherein the preset data stream is a data stream passing through the target link and the fourth satellite, the preset transmission tunnel comprises the first preset transmission tunnel and the second preset transmission tunnel, and the preset transmission tunnel and the preset data stream are correspondingly stored to obtain the corresponding relation between the preset tunnel and the data stream.
The method for transmitting the data of the space satellite comprises the steps of receiving obstacle indication information sent by a first satellite, wherein the obstacle indication information is used for indicating that the first satellite does not successfully send the data to be transmitted to a next satellite, and determining that the obstacle satellite exists in the first transmission path based on the obstacle indication information, wherein the obstacle satellite is the next satellite.
The method for transmitting the data of the space satellite comprises the steps of determining a path network corresponding to a service source satellite and a target satellite by utilizing a short process priority algorithm (SPF) algorithm, wherein the path network comprises a plurality of second transmission paths, and determining the shortest path in the plurality of second transmission paths as the first transmission path.
The invention also provides a data transmission device, comprising:
the acquisition module is used for acquiring a first transmission path between the service source satellite and the target satellite and data to be transmitted;
The processing module is used for determining an obstacle link between the obstacle satellite and a first satellite in the first transmission path under the condition that the obstacle satellite exists in the first transmission path, wherein the obstacle link is a directional link, the first satellite is a direct connection satellite of the obstacle satellite and is a satellite which can not receive the first satellite and transmits the data to be transmitted, the obstacle satellite is a satellite which can not receive the first satellite and transmits the data to be transmitted, determining a second satellite corresponding to the obstacle link, and determining a transmission tunnel between the first satellite and the second satellite according to a preset corresponding relation between the satellite and the tunnel, wherein the second satellite is a direct connection satellite which can receive the data to be transmitted by the obstacle satellite under the condition that the obstacle satellite is normal, or the second satellite is the obstacle satellite under the condition that the obstacle satellite is the target satellite, and the transmission tunnel is used for transmitting the data to be transmitted to the second satellite;
and the receiving and transmitting module is used for realizing that the service source satellite transmits the data to be transmitted to the target satellite according to the transmission tunnel.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a data transmission method of any one of the above-mentioned space satellites when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of data transmission for a space satellite as described in any of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements a method of data transmission for a space satellite as described in any one of the above.
The method, the device, the electronic equipment and the storage medium for transmitting the data of the space satellite comprise the steps of acquiring a first transmission path and data to be transmitted between a service source satellite and a target satellite, determining an obstacle link between the obstacle satellite and the first satellite in the first transmission path under the condition that the obstacle satellite exists in the first transmission path, wherein the obstacle link is a directional link, the first satellite is a direct connection satellite of the obstacle satellite and is a satellite for transmitting the data to be transmitted to the obstacle link, the obstacle satellite is a satellite which cannot receive the first satellite and transmits the data to be transmitted, determining a second satellite corresponding to the obstacle link, determining a transmission tunnel between the first satellite and the second satellite according to the preset corresponding relation between the first satellite and the tunnel, and the second satellite is a direct connection satellite for receiving the data to be transmitted from the obstacle satellite under the normal condition, or the second satellite is a satellite for transmitting the data to be transmitted from the obstacle satellite under the condition that the obstacle satellite is the target satellite, and the second satellite is a satellite for transmitting the data to be transmitted to the tunnel according to the preset corresponding relation between the first satellite and the second satellite.
The method is used for solving the defect that in the prior art, the updating process of a space bearing network is complex, so that the transmission efficiency of data transmission among different satellites is low, and realizing that under the condition that an obstacle satellite exists, the whole space bearing network is not required to be updated, but a normal link is reserved in a transmission path, the obstacle link where the obstacle satellite is positioned is updated, so that a new transmission path is obtained, and the data transmission among different satellites is realized based on the new transmission path, thereby effectively improving the data transmission efficiency, and in addition, a network topological graph corresponding to a service source satellite and a target satellite does not generate a new loop any more.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, in the prior art, a space satellite network refers to a secure data network (Secure Data Network, SDN), and faults of the space satellite network can be classified into two types of faults according to different faults caused by fault occurrence, which are respectively a link fault and a node fault.
Wherein, the link failure refers to the failure of a satellite node (called satellite), and the failure causes a certain communication link of the satellite to be unavailable;
a node failure refers to a failure of a satellite that renders the satellite unusable, and all communication links corresponding to the satellite unusable, which may be considered as a simultaneous failure of all links corresponding to the satellite.
In summary, the impact of a node failure is greater than the impact of a link failure.
It should be noted that, the electronic device according to the embodiment of the present invention may include a computer, a mobile terminal, a wearable device, and the like.
The space satellite (simply referred to as a satellite) according to the embodiment of the present invention refers to a device constructed by a human being, which periodically travels around a planetary orbit and in a closed orbit.
Optionally, the number of satellites is a plurality.
Alternatively, the electronic device may be connected to the satellite through a wireless communication technology, and the satellite may also be connected to the satellite through the wireless communication technology. The wireless communication technology may include, but is not limited to, one of the fourth generation communication technology (the 4Generation mobile communication technology,4G), the fifth generation communication technology (the 5Generation mobile communication technology,5G), and the wireless fidelity technology (WIRELESS FIDELITY, WIFI), among others.
Alternatively, the satellites may be connected through a first preset number of ports.
Optionally, the first preset number may be set before the satellite leaves the factory, or may be user-defined, which is not specifically limited herein.
The first preset number is illustratively 4. That is, when any one of the plurality of satellites has 4 ports, the any one satellite may be connected with 4 other satellites.
The execution body according to the embodiment of the present invention may be a data transmission device or an electronic device, and the embodiment of the present invention is further described below by taking the electronic device as an example.
As shown in fig. 1, a flow chart of a data transmission method of a space satellite provided by the present invention may include:
101. and acquiring a first transmission path between the service source satellite and the target satellite and data to be transmitted.
The first transmission path refers to a path between a service source satellite and a target satellite, wherein the path can be used for transmitting data to be transmitted, and optionally, the number of the first transmission paths is at least one.
The data to be transmitted refers to data sent by the electronic device to the target satellite by the service source satellite, and the quantity of the data to be transmitted is not limited, and optionally, the data to be transmitted can include but is not limited to text data, picture data, video data and the like.
The electronic equipment firstly establishes a three-dimensional coordinate system by taking the electronic equipment as a circle center, then determines a service source satellite position corresponding to a service source satellite and a target satellite position corresponding to a target satellite based on the three-dimensional coordinate system, and then calculates the service source satellite position and the target satellite position to obtain a first transmission path between the service source satellite and the target satellite, wherein the first transmission path is used for transmitting data to be transmitted, which are acquired by the electronic equipment.
In some embodiments, the electronic device acquiring a first transmission path between a service source satellite and a target satellite may include the electronic device determining a path network for the service source satellite and the target satellite using a short process first algorithm (Shortest Process First, SPF) algorithm, the path network may include a plurality of second transmission paths, and the electronic device determining a shortest path of the plurality of second transmission paths as the first transmission path.
The SPF algorithm calculates the distance between each satellite and other satellites by taking the satellite as a ROOT (ROOT), so as to obtain a topology structure diagram corresponding to all satellites, wherein the topology structure diagram is similar to a tree and can be also called a shortest path tree.
The electronic device may determine a network topology map corresponding to the service source satellite using an SPF algorithm. The satellite space can comprise a plurality of satellites, so that a plurality of transmission paths can exist between the service source satellite and the target satellite, the electronic equipment can determine a path network corresponding to the service source satellite and the target satellite from the network topological graph, namely, a plurality of second transmission paths are determined from the network topological graph, then the electronic equipment determines the shortest path from the plurality of second transmission paths and determines the shortest path as a first transmission path, and then the electronic equipment realizes that the service source satellite sends data to be transmitted to the target satellite according to the first transmission path, and the transmission speed of the data to be transmitted is fastest because the first transmission path is the shortest path in all the second transmission paths.
Optionally, the electronic device acquiring the first transmission path between the service source satellite and the target satellite may include the electronic device acquiring a current residual electric quantity of the electronic device, and the electronic device acquiring the first transmission path between the service source satellite and the target satellite when determining that the current residual electric quantity is greater than a preset electric quantity threshold.
The current residual power refers to the residual power of an energy supply device (such as a battery) in the electronic equipment.
Optionally, the preset power threshold may be set before the electronic device leaves the factory, or may be user-defined, which is not specifically limited herein.
After the electronic device obtains the current residual electric quantity of the electronic device, the current residual electric quantity can be compared with a preset electric quantity threshold value, the electronic device can indicate that the electric quantity of the electronic device is sufficient under the condition that the current residual electric quantity is determined to be larger than the preset electric quantity threshold value, at the moment, the electronic device can directly obtain a first transmission path between a service source satellite and a target satellite, and the electronic device indicates that the electric quantity of the electronic device is insufficient under the condition that the current residual electric quantity is determined to be smaller than or equal to the preset electric quantity threshold value, wherein the electronic device can output first prompt information which is used for prompting a user to charge the electronic device.
Illustratively, assume that the preset charge threshold is 20%. The electronic equipment obtains that the current residual capacity of the electronic equipment is 30%, and the current residual capacity is 30% greater than the preset electric capacity threshold value by 20%, and at this time, the electronic equipment can directly obtain a first transmission path between the service source satellite and the target satellite.
102. In a case where it is determined that an obstacle satellite exists in the first transmission path, an obstacle link between the obstacle satellite and the first satellite is determined.
The obstacle satellite refers to a satellite which cannot receive data to be transmitted sent by the first satellite;
The first satellite is a direct connection satellite of the obstacle satellite and is a satellite for sending data to be transmitted to the obstacle link, that is, the first satellite is a source satellite of the obstacle link;
An obstacle link refers to a directional link that cannot transmit data to be transmitted.
After acquiring the first transmission path, if it is determined that the target satellite does not receive the data to be transmitted, the electronic device indicates that an obstacle satellite may exist in the first transmission path, so that the data to be transmitted fails to be transmitted in the first transmission path. At this time, the electronic device may determine a first satellite corresponding to the obstacle satellite in the first transmission path, and then determine a link between the obstacle satellite and the first satellite in the first transmission path as an obstacle link.
Illustratively, the first transmission path is a service source satellite→satellite a→satellite b→satellite c→a target satellite. And the electronic equipment determines that the service source satellite cannot successfully send the data to be transmitted to the target satellite according to the first transmission path. At this time, the electronic device determines that the obstacle satellite is satellite B and the first satellite is satellite a in the first transmission path, and then the electronic device may determine the link between the satellite a and the satellite B as the obstacle link corresponding to the obstacle satellite.
Wherein, the number of the service source satellites is not limited, and the number of the target satellites is not limited.
In some embodiments, the electronic device determining that an obstacle satellite exists in the first transmission path may include receiving obstacle indication information sent by the first satellite, where the obstacle indication information is used to indicate that the first satellite does not successfully send data to be transmitted to a next satellite, and determining that the obstacle satellite exists in the first transmission path based on the obstacle indication information, where the obstacle satellite is the next satellite.
Alternatively, the first satellite may or may not be a service source satellite, which is not specifically limited herein.
When the electronic equipment transmits data to be transmitted to a target satellite through a first satellite according to a first transmission path, if the next satellite cannot receive the data to be transmitted, the data to be transmitted returns to the first satellite, at the moment, the first satellite determines that the first satellite does not successfully transmit the data to be transmitted to the next satellite and generates corresponding obstacle indication information, then the first satellite transmits the obstacle indication information to the electronic equipment, and then the electronic equipment can accurately determine that the obstacle satellite exists in the first transmission path based on the obstacle indication information after receiving the obstacle indication information transmitted by the first satellite.
Optionally, the first satellite detects whether the link between the first satellite and the next satellite is an obstacle link using a failure detection protocol.
Alternatively, the failure detection protocol may be a bidirectional forwarding detection (Bidirectional Forwarding Detection, BFD) protocol, which refers to bidirectional failure detection of a link between two satellites.
The first satellite can accurately determine whether the link between the first satellite and the next satellite is an obstacle link based on the BFD detection method.
103. And determining a second satellite corresponding to the obstacle link, and determining a transmission tunnel between the first satellite and the second satellite according to the corresponding relation between the preset satellite and the tunnel.
The second satellite is a satellite which receives data to be transmitted from the obstacle satellite under normal conditions and is a direct connection satellite of the obstacle satellite, or is an obstacle satellite under the condition that the obstacle satellite is a target satellite.
The preset correspondence between the satellites and the tunnels refers to that the different satellites and the tunnels between the different satellites are in one-to-one correspondence, and the electronic equipment can acquire the tunnels between the different satellites in advance and store the different satellites and the tunnels between the different satellites one by one.
A transmission tunnel (SR) is a display path, which may be referred to as a fast reroute (Fast Reroute, FRR) backup path, wherein a transmission SR between a first satellite and a second satellite is used for the first satellite to quickly send data to be transmitted to the second satellite;
Alternatively, the second satellite may or may not be a target satellite, which is not specifically limited herein.
Illustratively, the first transmission path is a service source satellite→satellite a→satellite b→satellite c→a target satellite. The method comprises the steps of enabling a service source satellite to be a first satellite and enabling a service source satellite to be a second satellite when a satellite A is an obstacle satellite, enabling a satellite A to be the first satellite when a satellite B is an obstacle satellite, enabling a satellite C to be the second satellite when a satellite C is an obstacle satellite, enabling a satellite B to be the first satellite when a satellite C is an obstacle satellite, and enabling a target satellite to be the second satellite when a satellite B is an obstacle satellite.
After determining the obstacle link, the electronic device may acquire a second satellite corresponding to the obstacle link, and directly query a transmission tunnel between the first satellite and the second satellite according to a preset corresponding relationship between the satellite and the tunnel, so that information to be transmitted may be transmitted in the transmission tunnel.
Because the transmission tunnel is stored in advance by the electronic equipment, in the data transmission process, the update of the network topology diagram between satellites is not involved, and the corresponding transmission tunnel is directly acquired based on the first satellite and the second satellite only according to the preset corresponding relation between the satellites and the tunnel, so that the whole network topology diagram does not generate a new closed loop, and the transmission efficiency of data to be transmitted can be effectively improved.
Alternatively, one port of each satellite may correspond to a second predetermined number of transmission SRs.
Optionally, the second preset number may be set before the satellite leaves the factory, or may be user-defined, which is not specifically limited herein.
The second preset number is illustratively a value of 4. That is, when there are 4 ports of the service source satellite, the service source satellite may correspond to 16 transmission SRs, so as to achieve comprehensive protection for the service source satellite when transmitting data to be transmitted.
In some embodiments, the determining process of the corresponding relation between the preset satellites and the tunnel comprises the steps that the electronic equipment traverses links of each satellite in a space satellite network, acquires a target link between the preset obstacle satellite and a third satellite and a fourth satellite on the link of the preset obstacle satellite, wherein the preset obstacle satellite is any satellite in the space satellite network, the target link is a directional link, and the third satellite is a satellite which is directly connected with the preset obstacle satellite and transmits data to the target link;
the electronic equipment determines a first preset transmission tunnel corresponding to a third satellite and a fourth satellite under the condition that the fourth satellite is a direct connection satellite for receiving data sent by a preset obstacle satellite and is the preset obstacle satellite, and correspondingly stores all the third satellite, the fourth satellite and the first preset transmission tunnel to obtain a first corresponding relation, wherein the first preset transmission tunnel is a transmission tunnel which does not pass through the preset obstacle satellite;
the electronic equipment determines a second preset transmission tunnel corresponding to a third satellite and a fourth satellite under the condition that the preset obstacle satellite is a target satellite and the fourth satellite is the preset obstacle satellite, and correspondingly stores all the third satellite, the fourth satellite and the second preset transmission tunnel to obtain a second corresponding relation, wherein the second preset transmission tunnel is a transmission tunnel which does not pass through a target link;
the electronic equipment determines the preset corresponding relation between the satellite and the tunnel according to the first corresponding relation and the second corresponding relation.
In the process of determining the corresponding relation between the preset satellites and the tunnel, the electronic device can traverse the link where each satellite in all satellites in the space satellite network is located, that is, the electronic device can take each link as an obstacle link, then the electronic device determines a third satellite and a fourth satellite corresponding to each link, the direction of a data flow in each link is the direction from the third satellite to the fourth satellite, then the electronic device can determine the preset transmission tunnel corresponding to the third satellite and the fourth satellite, if the fourth satellite is a direct connection satellite which receives data sent by the preset obstacle satellite and is the preset obstacle satellite, then the first preset transmission tunnel corresponding to the third satellite and the fourth satellite is a transmission tunnel which does not pass through the preset obstacle satellite, if the preset obstacle satellite is a target satellite and the fourth satellite is the preset obstacle satellite, then the second tunnel corresponding to the third satellite and the fourth satellite is a transmission tunnel which does not pass through the link, and then the electronic device stores the corresponding relation between the third satellite, the preset satellite and the fourth satellite corresponding to the preset obstacle satellite can be obtained. When the electronic equipment determines the obstacle link in the follow-up process, the transmission tunnel corresponding to the obstacle link can be determined directly based on the corresponding relation between the preset satellite and the tunnel, and the data transmission efficiency is improved.
Illustratively, it is assumed that the link in which satellite a is located in the spatial satellite network is the source satellite→satellite a→the target satellite.
If the satellite A is an obstacle satellite, the service source satellite is a third satellite, and the target satellite is a fourth satellite, then a link between the service source satellite and the satellite A is an obstacle link, and the electronic equipment can establish a first preset transmission tunnel corresponding to the service source satellite and the target satellite;
If the target satellite is an obstacle satellite, the satellite A is a third satellite and the obstacle satellite is a fourth satellite, then the link between the satellite A and the target satellite is an obstacle link, and a second preset transmission tunnel corresponding to the target satellite can be established.
In some embodiments, the electronic device correspondingly stores all the third satellites, the fourth satellites and the first preset transmission tunnels to obtain a first corresponding relation, which may include determining the shortest transmission tunnel if the number of the first preset transmission tunnels is multiple, and correspondingly storing all the third satellites, the fourth satellites and the shortest transmission tunnel by the electronic device to obtain the first corresponding relation.
After the electronic device obtains the first preset transmission tunnels, the electronic device may determine the number of the first preset transmission tunnels, and determine the shortest transmission tunnel from the plurality of first preset transmission tunnels when the number is determined to be a plurality of first preset transmission tunnels, and then the electronic device may store the third satellite, the fourth satellite and the shortest transmission tunnel correspondingly to obtain a first corresponding relationship. The shortest transmission tunnel can effectively improve the transmission efficiency of data to be transmitted.
Optionally, the electronic device correspondingly stores all the third satellites, the fourth satellites and the second preset transmission tunnels to obtain a second corresponding relation, which may include determining a shortest transmission tunnel in the second preset transmission tunnels when the number of the second preset transmission tunnels is multiple, where the electronic device correspondingly stores all the third satellites, the fourth satellites and the shortest transmission tunnels to obtain the second corresponding relation.
It should be noted that, the explanation for determining the shortest transmission tunnel in the plurality of second preset transmission tunnels by the electronic device is similar to the explanation for determining the shortest transmission tunnel in the plurality of first preset transmission tunnels by the electronic device, and is not described in detail herein.
In some embodiments, the determining, by the electronic device, a transmission tunnel between the first satellite and the second satellite according to a correspondence between the preset satellite and the tunnel may include determining, by the electronic device, a preset transmission tunnel between a third satellite identical to the first satellite and a fourth satellite identical to the second satellite according to a correspondence between the preset satellite and the tunnel, as the transmission tunnel between the first satellite and the second satellite.
After determining the first satellite and the second satellite, the electronic device may determine a third satellite identical to the first satellite, a fourth satellite identical to the second satellite, and a preset transmission tunnel between the third satellite identical to the fourth satellite according to a correspondence between the preset satellites and the tunnel, and then, the electronic device may directly determine the preset transmission tunnel as the transmission tunnel between the first satellite and the second satellite.
The timing for determining the third satellite identical to the first satellite and determining the fourth satellite identical to the second satellite by the electronic device is not limited.
104. According to the transmission tunnel, the service source satellite sends data to be transmitted to the target satellite.
After determining the barrier link and the transmission tunnel, the electronic device can replace the barrier link with the transmission tunnel in the first transmission path to obtain a complete path capable of transmitting data to be transmitted, that is, the first transmission path after replacing the barrier link can realize that the service source satellite can effectively transmit the data to be transmitted to the target satellite.
In some embodiments, under the condition that the number of the second satellites is multiple, the electronic equipment sends data to be transmitted to the target satellite according to the transmission tunnels, and the method comprises the steps that the electronic equipment determines the transmission tunnels corresponding to the target data streams in the data to be transmitted according to the preset correspondence between the tunnels and the data streams, and the electronic equipment sends the target data streams to the target satellite according to the transmission tunnels corresponding to the target data streams.
The target data flow is a data flow which passes through the obstacle link and passes through any second satellite under the condition that the obstacle link is normal;
the data flow may also be referred to as a traffic flow, and the traffic flows corresponding to different transport tunnels are different.
The preset correspondence between the tunnels and the data streams means that different transmission tunnels and different service streams are in one-to-one correspondence, and the electronic equipment can store the transmission tunnels and the service streams after one-to-one correspondence.
The electronic device may determine the number of second satellites based on the ports of the obstructed satellites. And then, the electronic equipment determines a target transmission tunnel corresponding to the target data stream according to the preset corresponding relation between the tunnel and the data stream, and realizes that the service source satellite transmits the target data stream to the target satellite based on the target transmission tunnel corresponding to the target data stream.
In some embodiments, the determining process of the corresponding relation between the preset tunnel and the data stream includes that the electronic device determines a preset data stream corresponding to the preset transmission tunnel from a plurality of data streams, wherein the preset data stream is a data stream passing through a target link and a fourth satellite, and the electronic device correspondingly stores the preset transmission tunnel and the preset data stream to obtain the corresponding relation between the preset tunnel and the data stream.
The preset transmission tunnels comprise a first preset transmission tunnel and a second preset transmission tunnel;
The preset data stream is a data stream passing through each link and corresponding to the second satellite through each link.
In the process of determining the corresponding relation between the preset tunnel and the data stream, the electronic equipment can determine the preset data stream corresponding to the preset transmission tunnel from a plurality of data streams because different preset transmission tunnels transmit different data streams based on the preset transmission tunnels determined in advance, and then the electronic equipment correspondingly stores the preset transmission tunnel and the preset data stream, so that the corresponding relation between the preset tunnel and the data stream can be obtained. So that when the electronic device determines the transmission tunnel corresponding to the obstacle link in the following, the electronic device can directly determine the target data stream corresponding to the transmission tunnel based on the corresponding relation between the preset tunnel and the data stream, thereby improving the data transmission efficiency.
In some embodiments, the electronic device sending data to be transmitted to the target satellite by the service source satellite according to the transmission tunnel may include the electronic device sending the data to be transmitted to the second satellite by the first satellite according to the transmission tunnel when the first satellite is the service source satellite and the second satellite is the target satellite, replacing an obstacle link by the electronic device in the first transmission path when the first satellite is not the service source satellite and/or the second satellite is not the target satellite, and obtaining a target transmission path, and the electronic device sending the data to be transmitted to the target satellite by the service source satellite according to the target transmission path.
Under the condition that a first satellite is a service source satellite and a second satellite is a target satellite, the electronic equipment can directly replace the whole link between the first satellite and the second satellite by a transmission tunnel, and based on the transmission tunnel, the first satellite sends data to be transmitted to the second satellite;
the electronic device may reserve a normal path in the first transmission path and replace an obstacle link in the first transmission path with the transmission tunnel to obtain a target transmission path when the first satellite is not a service source satellite and/or the second satellite is not a target satellite, that is, the target transmission path may include the normal link and the transmission tunnel in the first transmission path, and then the electronic device may implement, according to the target transmission path, transmission of data to be transmitted by the service source satellite to the target satellite.
In some embodiments, the electronic device replacing the transmission tunnel with the barrier link in the first transmission path when the first satellite is not the service source satellite and/or the second satellite is not the target satellite to obtain the target transmission path may include obtaining the first target transmission path according to the first path and the transmission tunnel when the first satellite is the service source satellite and the second satellite is not the target satellite, obtaining the second target transmission path according to the second path and the transmission tunnel when the first satellite is not the service source satellite and the second satellite is the target satellite, and obtaining the third target transmission path according to the first path, the second path and the transmission tunnel when the first satellite is not the service source satellite and the second satellite is not the target satellite.
The first path is a link between the second satellite and the target satellite, and the second path is a link between the service source satellite and the first satellite.
The method comprises the steps that under the condition that a first satellite is a service source satellite and a second satellite is not a target satellite, the electronic equipment can keep a first path between the second satellite and the target satellite in a first transmission path, then the electronic equipment obtains the first target transmission path according to the first path and a transmission tunnel corresponding to the first satellite and the second satellite, namely, the transmission tunnel is replaced by an obstacle link where the obstacle satellite is located in the first transmission path to obtain the first target transmission path, and finally, the electronic equipment achieves that the service source satellite sends data to be transmitted to the second satellite to the target satellite according to the first target transmission path.
The method comprises the steps that under the condition that a first satellite is not a service source satellite and a second satellite is a target satellite, the electronic equipment can keep a second path between the service source satellite and the first satellite in a first transmission path, then the electronic equipment obtains a second target transmission path according to the second path and a transmission tunnel corresponding to the first satellite and the second satellite, namely, the transmission tunnel is replaced with an obstacle link where the obstacle satellite is located in the first transmission path to obtain the second target transmission path, and finally, the electronic equipment achieves that the service source satellite sends data to be transmitted to the first satellite to the target satellite according to the second target transmission path.
The electronic equipment can reserve a first path between the second satellite and the target satellite and a second path between the service source satellite and the first satellite in a first transmission path under the condition that the first satellite is not a service source satellite and the second satellite is not a target satellite, then the electronic equipment obtains a third target transmission path according to the first path, the second path and a transmission tunnel corresponding to the first satellite and the second satellite, namely, replaces an obstacle link where the obstacle satellite is located in the first transmission path to obtain the third target transmission path, and finally, the electronic equipment realizes the first satellite to the second satellite to send the data to be transmitted to the target satellite after the service source satellite sends the data to be transmitted to the first satellite according to the third target transmission path.
Exemplary, as shown in fig. 2a, a schematic view of a data transmission method of a space satellite according to the present invention is shown. In fig. 2a, a network topology diagram corresponding to five satellites, namely, satellite 1, satellite 2, satellite 3, satellite 4 and satellite 5, is shown. The electronic device needs to transmit the data to be transmitted, so that the service source satellite sends the data to the target satellite through the satellite 1.
Based on the network topology, the first transmission path between the satellite 1 and the target satellite may be three of the following:
(1) Service source satellite-satellite 1-satellite 2-satellite 3-target satellite 1;
(2) Service source satellite-satellite 1-satellite 2-satellite 4-target satellite 2;
(3) Service source satellite- & gt satellite 1- & gt satellite 2- & gt satellite 5- & gt target satellite 3.
Alternatively, the three first transmission paths may be one or more service source satellites, which are not shown in the figure, and the target satellite 1, the target satellite 2 and the target satellite 3 may be the same target satellite or different target satellites, which are not limited herein.
Wherein the same type of arrow represents the data flow of the data to be transmitted.
Fig. 2b is a schematic view of a data transmission method of a space satellite according to the present invention. In fig. 2b, satellite 2 is an obstacle satellite. The electronic device needs to establish a transmission tunnel 1 between the satellite 1 and the satellite 3, or a transmission tunnel 2 between the satellite 1 and the satellite 4, or a transmission tunnel 3 between the satellite 1 and the satellite 5. That is, the target transmission path between the service source satellite and the target satellite may be three of:
(1) Service source satellite-satellite 1-transmission tunnel 1-satellite 3-target satellite 1;
(2) Service source satellite-satellite 1-transmission tunnel 2-satellite 4-target satellite 2;
(3) Service source satellite-satellite 1-transmission tunnel 3-satellite 5-target satellite 3.
The same type of arrow represents a data flow corresponding to the transmission tunnel, namely, the transmission tunnel 1 corresponds to the data flow 1 of the data to be transmitted, the transmission tunnel 2 corresponds to the data flow 2 of the data to be transmitted, and the transmission tunnel 3 corresponds to the data flow 3 of the data to be transmitted.
Fig. 2c is a schematic view of a data transmission method of a space satellite according to the present invention. In fig. 2c, satellite 2 is an obstacle satellite, and the obstacle link corresponding to the obstacle satellite is a link between satellite 1 and satellite 2. The electronic device may establish the transmission tunnel 4 directly between satellite 1 and satellite 2. That is, the target transmission path between the service source satellite and the target satellite may be three of:
(1) Service source satellite-satellite 1-transmission tunnel 4-satellite 2-satellite 3-target satellite 1;
(2) Service source satellite-satellite 1-transmission tunnel 4-satellite 2-satellite 4-target satellite 2;
(3) Service source satellite-satellite 1-transmission tunnel 4-satellite 2-satellite 5-target satellite 3.
Therefore, the satellite 2 and the obstacle link where the satellite 2 is located, i.e. the obstacle link between the satellite 2 and the satellite 1, can be effectively protected, so as to improve the transmission efficiency of the data to be transmitted.
In the embodiment of the invention, a first transmission path and data to be transmitted between a service source satellite and a target satellite are acquired, an obstacle link between the obstacle satellite and the first satellite is determined in the first transmission path under the condition that the obstacle satellite exists in the first transmission path, a second satellite corresponding to the obstacle link is determined, a transmission tunnel between the first satellite and the second satellite is determined according to the preset corresponding relation between the satellite and the tunnel, and the data to be transmitted is transmitted to the target satellite by the service source satellite according to the transmission tunnel. The method is used for solving the defect that in the prior art, the updating process of a space bearing network is complex, so that the transmission efficiency of data transmission among different satellites is low, and realizing that under the condition that an obstacle satellite exists, the whole space bearing network is not required to be updated, but a normal link is reserved in a transmission path, the obstacle link where the obstacle satellite is positioned is updated, so that a new transmission path is obtained, and the data transmission among different satellites is realized based on the new transmission path, thereby effectively improving the data transmission efficiency, and in addition, a network topological graph corresponding to a service source satellite and a target satellite does not generate a new loop any more.
The data transmission device provided by the invention is described below, and the data transmission device described below and the data transmission method of the space satellite described above can be referred to correspondingly.
As shown in fig. 3, a schematic structural diagram of a data transmission device provided by the present invention may include:
the acquiring module 301 is configured to acquire a first transmission path between a service source satellite and a target satellite and data to be transmitted;
A processing module 302, configured to determine, in the first transmission path, an obstacle link between the obstacle satellite and a first satellite, where the obstacle link is a directional link, and the first satellite is a direct connection satellite of the obstacle satellite and is a satellite that sends the data to be transmitted to the obstacle link, and the obstacle satellite is a satellite that cannot receive the data to be transmitted sent by the first satellite; determining a second satellite corresponding to the obstacle link, and determining a transmission tunnel between the first satellite and the second satellite according to a preset corresponding relation between the satellite and the tunnel, wherein the second satellite is a satellite which is used for receiving the data to be transmitted sent by the obstacle satellite under the normal condition and is a direct connection satellite of the obstacle satellite, or the second satellite is the obstacle satellite under the condition that the obstacle satellite is the target satellite, and the transmission tunnel is used for sending the data to be transmitted to the second satellite by the first satellite;
and the transceiver module 303 is configured to implement the service source satellite to send the data to be transmitted to the target satellite according to the transmission tunnel.
Optionally, the processing module 302 is specifically configured to determine, according to a preset correspondence between tunnels and data flows, a transmission tunnel corresponding to a target data flow in the data to be transmitted, where the target data flow is a data flow that passes through the barrier link and passes through any second satellite under a condition that the barrier link is normal;
The transceiver module 303 is specifically configured to implement the service source satellite to send the target data stream to the target satellite according to the transmission tunnel corresponding to the target data stream.
Optionally, the transceiver module 303 is specifically configured to, when the first satellite is the service source satellite and the second satellite is the target satellite, implement, according to the transmission tunnel, sending the data to be transmitted to the second satellite by the first satellite;
the processing module 302 is specifically configured to replace the barrier link with the transmission tunnel in the first transmission path to obtain a target transmission path when the first satellite is not the service source satellite and/or the second satellite is not the target satellite;
The transceiver module 303 is specifically configured to implement the service source satellite to send the data to be transmitted to the target satellite according to the target transmission path.
Optionally, the processing module 302 is specifically configured to obtain a first target transmission path according to a first path and the transmission tunnel when the first satellite is the service source satellite and the second satellite is not the target satellite, obtain a second target transmission path according to a second path and the transmission tunnel when the first satellite is not the service source satellite and the second satellite is the target satellite, and obtain a third target transmission path according to the first path, the second path and the transmission tunnel when the first satellite is not the service source satellite and the second satellite is not the target satellite, where the first path is a link between the second satellite and the target satellite, and the second path is a link between the service source satellite and the first satellite.
Optionally, the processing module 302 is further configured to traverse a link where each satellite in all satellites in the space satellite network is located;
The acquisition module 301 is further configured to acquire a target link between a preset obstacle satellite and a third satellite and a fourth satellite on a link where the preset obstacle satellite is located, where the preset obstacle satellite is any satellite in the spatial satellite network, the target link is a directional link, and the third satellite is a direct connection satellite of the preset obstacle satellite and is a satellite that sends data to the target link;
The processing module 302 is further configured to determine a first preset transmission tunnel corresponding to the third satellite and the fourth satellite and store all the third satellite, the fourth satellite and the first preset transmission tunnel in correspondence to obtain a first correspondence when the fourth satellite is a direct connection satellite that receives the data sent by the preset obstacle satellite and is the preset obstacle satellite, determine a second preset transmission tunnel corresponding to the third satellite and the fourth satellite when the preset obstacle satellite is the target satellite and is the preset obstacle satellite, and store all the third satellite, the fourth satellite and the second preset transmission tunnel in correspondence to obtain a second correspondence, wherein the second preset transmission tunnel is a transmission tunnel that does not pass through the target link, and determine a correspondence between the preset satellite and the tunnel according to the first correspondence and the second correspondence.
Optionally, the processing module 302 is specifically configured to determine a shortest transmission tunnel if the number of the first preset transmission tunnels is multiple, and store all the third satellite, the fourth satellite, and the shortest transmission tunnel in a corresponding manner to obtain a first correspondence.
Optionally, the processing module 302 is specifically configured to determine, according to a correspondence between a preset satellite and a tunnel, a preset transmission tunnel between a third satellite identical to the first satellite and a fourth satellite identical to the second satellite as a transmission tunnel between the first satellite and the second satellite.
Optionally, the processing module 302 is further configured to determine a preset data stream corresponding to a preset transmission tunnel from the multiple data streams, where the preset data stream is a data stream passing through the target link and passing through the fourth satellite, the preset transmission tunnel includes the first preset transmission tunnel and the second preset transmission tunnel, and store the preset transmission tunnel and the preset data stream in a corresponding manner, so as to obtain a corresponding relationship between the preset tunnel and the data stream.
Optionally, the transceiver module 303 is specifically configured to receive barrier indication information sent by the first satellite, where the barrier indication information is used to indicate that the first satellite does not successfully send the data to be transmitted to the next satellite;
The processing module 302 is specifically configured to determine that an obstacle satellite exists in the first transmission path based on the obstacle indication information, where the obstacle satellite is the next satellite.
Optionally, the acquiring module 301 is specifically configured to determine a path network corresponding to the service source satellite and the target satellite by using a short process priority algorithm SPF algorithm, where the path network includes a plurality of second transmission paths, and determine a shortest path of the plurality of second transmission paths as the first transmission path.
As shown in fig. 4, the electronic device provided by the present invention may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, where the processor 410, the communication interface 420, and the memory 430 perform communication with each other through the communication bus 440. The processor 410 may invoke logic instructions in the memory 430 to execute a data transmission method of a space satellite, where the method includes acquiring a first transmission path between a service source satellite and a target satellite and data to be transmitted, determining, in the first transmission path, an obstacle link between the obstacle satellite and the first satellite, where the obstacle link is a directional link, where the first satellite is a direct connection satellite of the obstacle satellite and is a satellite transmitting the data to be transmitted to the obstacle link, where the obstacle satellite is a satellite that cannot receive the first satellite and transmits the data to be transmitted, determining, according to a preset correspondence between the satellite and a tunnel, a transmission tunnel between the first satellite and the second satellite, where the second satellite is a satellite that receives the data to be transmitted in normal condition of the obstacle satellite and is a direct connection satellite of the obstacle satellite, or where the obstacle satellite is a direct connection satellite of the target satellite, where the obstacle satellite is the second satellite, where the transmission is a satellite for transmitting the data to be transmitted to the target satellite, and where the second satellite is a first satellite is a direct connection satellite of the obstacle satellite, and the data to be transmitted to the target satellite is realized according to the preset correspondence between the satellite and the tunnel.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product, where the computer program product includes a computer program, where the computer program is capable of being stored on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, the computer is capable of executing a data transmission method of a space satellite provided by the above methods, where the method includes obtaining a first transmission path between a service source satellite and a target satellite and data to be transmitted, determining, in the first transmission path, an obstacle link between the obstacle satellite and the first satellite, where the obstacle link is a directional link, where the first satellite is a satellite directly connected to the obstacle satellite and is a satellite that transmits the data to be transmitted to the obstacle link, where the obstacle satellite is a satellite that cannot receive the data to be transmitted from the first satellite, determining a second satellite corresponding to the obstacle link, where the second satellite is a satellite that receives the data to be transmitted from the obstacle satellite under a condition that the obstacle satellite is located in a preset corresponding relation to a tunnel, where the second satellite is a satellite that is to be transmitted from the obstacle, and where the data is to be transmitted from the target is a satellite that is normally connected to the obstacle, and where the data is to be transmitted from the obstacle satellite is achieved.
In still another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented when executed by a processor to perform the data transmission method of a space satellite provided by the above methods, the method including acquiring a first transmission path between a service source satellite and a target satellite and data to be transmitted, determining, in the first transmission path, an obstacle link between the obstacle satellite and the first satellite, the obstacle link being a directional link, the first satellite being a direct connection satellite of the obstacle satellite and being a satellite transmitting the data to be transmitted to the obstacle link, the obstacle satellite being a satellite incapable of receiving the first satellite and transmitting the data to be transmitted, determining a second satellite corresponding to the obstacle link, and determining a transmission tunnel between the first satellite and the second satellite according to a preset correspondence between the satellite and a tunnel, the second satellite being a satellite transmitting the data to be transmitted to the obstacle satellite and being a direct connection satellite of the obstacle satellite transmitting the data to be transmitted in a normal condition of the obstacle satellite, or the second satellite being a direct connection satellite transmitting the data to the obstacle satellite to be transmitted to the obstacle satellite in a condition of the obstacle satellite under a normal condition, the obstacle satellite being the second tunnel, the data to be transmitted to the target satellite.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.