Communication method, electronic device, storage medium and computer program product
By measuring the reference signal strength of multiple satellites, and switching to the alternative satellite under switching conditions, the stability of existing satellite communications in occlusion or movement is solved, significantly improving the stability and reliability of communications.
Patent Information
- Application Number
- CN202411999679.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-15
AI Technical Summary
Existing satellite communication technology can easily cause service stuttering or interruption under occlusion, affecting communication quality, and it is difficult for multi-satellite systems to maintain stable communication when satellites or users move.
By measuring the reference signal strength of multiple satellites, the target satellite and the alternative satellite are determined, and when the handover conditions are met, the stability and reliability of communication are ensured.
It effectively improves the stability and reliability of satellite communication, avoids communication interruptions caused by occlusion or satellite movement, and ensures the normal progress of communication.
Smart Images

Figure CN119834859A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and in particular to a communication method, an electronic device, a storage medium and a computer program product. Background Art
[0002] At present, when communicating with satellites, single-satellite communication is usually used. This method requires aiming at the satellite to achieve relatively stable communication. When obstruction occurs, the service will be stuck or even interrupted, greatly affecting the communication quality. It can be seen that how to improve the stability and reliability of satellite communications is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a communication method, an electronic device, a storage medium, and a computer program product, which can effectively improve the stability and reliability of satellite communications.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a communication method, which is applied to an electronic device, and the method includes:
[0006] measuring first reference signals of a plurality of satellites, and determining a signal strength of each first reference signal among the plurality of first reference signals;
[0007] Determine a target satellite and an alternative satellite from a plurality of satellites based on the signal strength of each first reference signal among a plurality of first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met;
[0008] Establish a communication link with the target satellite.
[0009] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a measuring unit, a determining unit, and a connecting unit;
[0010] A measuring unit, configured to measure first reference signals of a plurality of satellites, and determine a signal strength of each first reference signal among the plurality of first reference signals;
[0011] A determination unit, configured to determine a target satellite and an alternative satellite from a plurality of satellites based on the signal strength of each first reference signal among a plurality of first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met;
[0012] A connection unit is used to establish a communication connection with a target satellite.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory storing instructions executable by the processor; when the instructions are executed by the processor, the above communication method is implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above communication method when executed by a processor.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the steps in the above communication method.
[0016] The embodiment of the present application provides a communication method, an electronic device, a storage medium and a computer program product, wherein the electronic device measures the first reference signals of multiple satellites, determines the signal strength of each first reference signal in the multiple first reference signals; determines the target satellite and the alternative satellite from the multiple satellites based on the signal strength of each first reference signal in the multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when the switching condition is met; and establishes a communication connection with the target satellite. It can be seen that in the embodiment of the present application, when the electronic device performs satellite communication, it first uses the signal strength of the reference signals of multiple satellites to determine the target satellite and the alternative satellite among the multiple satellites, and then first establishes a communication connection with the target satellite. If, in the subsequent communication process with the target satellite, it is determined that the switching condition is met, it will choose to switch to the alternative satellite, thereby establishing a communication connection with the alternative satellite, thereby ensuring the normal communication, and greatly improving the stability and reliability of satellite communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Schematic diagram of the implementation process of the communication method proposed in the embodiment of the present application Figure 1 ;
[0018] Figure 2 Schematic diagram of the implementation process of the communication method proposed in the embodiment of the present application Figure 2 ;
[0019] Figure 3 Schematic diagram of the implementation process of the communication method proposed in the embodiment of the present application Figure 3 ;
[0020] Figure 4 Schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 1 ;
[0021] Figure 5 Schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0022] 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. It is understood that the specific embodiments described herein are only used to explain the related applications, rather than to limit the applications. It should also be noted that, for ease of description, only the parts related to the related applications are shown in the drawings.
[0023] Among the current satellite communication methods, for single-satellite communication, it is necessary to align with the satellite to achieve relatively stable communication. When there is a situation such as human body obstruction, it will cause service jams or even interruptions. In addition, even multi-satellite systems will be blocked due to the movement of satellites or users, making stable communication impossible. In other words, how to improve the quality of satellite communications and improve the stability and reliability of communications is a technical problem that needs to be solved urgently.
[0024] In order to solve the above problems, in an embodiment of the present application, the electronic device can measure the first reference signals of multiple satellites, determine the signal strength of each first reference signal in the multiple first reference signals; determine the target satellite and the alternative satellite from the multiple satellites based on the signal strength of each first reference signal in the multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when the switching conditions are met; and establish a communication connection with the target satellite, thereby effectively improving the stability and reliability of communication.
[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0026] Figure 1 Schematic diagram of the implementation process of the communication method proposed in the embodiment of the present application Figure 1 ,like Figure 1 As shown, in an embodiment of the present application, the method for an electronic device to communicate with a satellite may include the following steps:
[0027] Step 101: measure first reference signals of multiple satellites to determine the signal strength of each first reference signal in the multiple first reference signals.
[0028] In an embodiment of the present application, the electronic device may first measure first reference signals of multiple satellites to determine the signal strength of each first reference signal in the multiple first reference signals.
[0029] It should be noted that in the embodiments of the present application, the electronic device can be any electronic device with communication and storage functions, such as: mobile phones, tablet computers, personal computers (PCs), e-readers, laptop computers, vehicle-mounted electronic devices, network televisions, wearable electronic devices, personal digital assistants (PDAs), portable media players (PMPs), navigation devices and other electronic devices.
[0030] In an embodiment of the present application, a satellite may send a reference signal (Reference Signal); a reference signal is a reference signal used for calibration, synchronization, or signal tracking in a satellite communication system or a navigation system.
[0031] In the embodiment of the present application, the first reference signal represents a reference signal currently received when a communication method is executed with a satellite; the electronic device can receive different first reference signals sent by different satellites.
[0032] In an embodiment of the present application, after receiving the first reference signal of any satellite, the electronic device can measure the signal strength of the first reference signal; wherein the signal strength refers to the signal power measured by the electronic device when receiving the first reference signal.
[0033] In an embodiment of the present application, different multiplexing modes may be used when the satellite sends a reference signal. The multiplexing mode is mainly used to efficiently allocate and send the reference signal within limited spectrum resources so that it can coexist with other signals without causing interference; for example, the multiplexing mode may include time division multiplexing and frequency division multiplexing.
[0034] In some embodiments of the present application, when the electronic device measures multiple first reference signals to determine the signal strengths of the multiple first reference signals, it can search for reference signals on multiple satellites to obtain the multiple first reference signals, and then filter the multiple first reference signals separately to obtain the signal strengths of the multiple first reference signals.
[0035] It can be understood that in the embodiments of the present application, by filtering the first reference signal, the noise and interference in the first reference signal can be effectively suppressed, so that the extracted signal strength mainly comes from the first reference signal, thereby ensuring the accuracy and reliability of the measurement; the specific method of filtering is not limited in this application, for example, the electronic device can filter the first reference signal through a filter.
[0036] In some embodiments of the present application, when performing a search process for reference signals on multiple satellites, the search process may be completed by simultaneously searching for reference signals on multiple satellites or by separately searching for reference signals on multiple satellites.
[0037] In some embodiments of the present application, for a method of simultaneously searching for reference signals of multiple satellites, the electronic device can simultaneously search and process reference signals of multiple satellites within a first time to obtain multiple first reference signals; the first time represents the time corresponding to the method of simultaneously searching for reference signals of multiple satellites.
[0038] In some embodiments of the present application, for a method of searching for reference signals of multiple satellites separately, the electronic device may divide the second time into a first number of third times; in each third time, reference signal search processing is performed on different satellites among the multiple satellites to obtain multiple first reference signals; the second time represents the time corresponding to the method of searching for reference signals of multiple satellites separately; the first time may be the same as or different from the second time.
[0039] It should be noted that in the embodiments of the present application, the above-mentioned method of simultaneously searching for reference signals of multiple satellites is applicable to the frequency division multiplexing mode, while the method of searching for reference signals of multiple satellites separately is applicable to any one of the frequency division multiplexing mode, the time division multiplexing mode and the time-frequency division multiplexing mode.
[0040] For example, assuming that the multiplexing mode of the satellite is frequency division multiplexing, the electronic device can simultaneously search and process the first reference signals of X satellites within a first time T1, thereby obtaining X first reference signals; T1≧T P , where T P Indicates the transmission period of the first reference signal.
[0041] Exemplarily, assuming that the multiplexing mode of the satellite is frequency division multiplexing, the electronic device may divide the second time T2 into X (first number) third times T3, and then search for reference signals of different satellites according to the frequency points corresponding to different satellites in each T3, so as to obtain the first reference signal of each satellite in the multiple satellites; wherein T2≧X×T P .
[0042] For example, assuming that the multiplexing mode of the satellite is time division multiplexing, that is, the reference signals of different satellites are multiplexed in time, and the reference signals of different satellites may be transmitted in different time periods. The electronic device can also divide the second time T2 into X (first number) third times T3, and then search for the reference signal of a specific time period in each T3, so as to obtain the first reference signal of each satellite in the multiple satellites. Similarly, T2≧X×TP .
[0043] For example, assuming that the multiplexing mode of the satellite is time-frequency division multiplexing, the second time T2 can also be divided into X (first number) third times T3, and then in each T3, the reference signals of one or more satellites are selected to be searched, so as to obtain the first reference signals of the multiple satellites. Similarly, T2≧X×T P .
[0044] Step 102: determine a target satellite and an alternative satellite from multiple satellites based on the signal strength of each first reference signal among multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met.
[0045] In an embodiment of the present application, the electronic device can measure first reference signals of multiple satellites and determine the signal strength of each first reference signal in the multiple first reference signals. Then, the electronic device can determine a target satellite and an alternative satellite from multiple satellites based on the signal strength of each first reference signal in the multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met.
[0046] In the embodiment of the present application, the target satellite represents a satellite that is requested to be accessed first, and the candidate satellite represents a satellite that is selected for access when the communication quality of the target satellite is poor.
[0047] In some embodiments of the present application, when the electronic device determines a target satellite and an alternative satellite from multiple satellites based on the signal strength of each first reference signal in a plurality of first reference signals, the electronic device may sort the signal strengths of the plurality of first reference signals in descending order to obtain a sorting result; then determine the first satellite corresponding to the first signal strength ranked first in the sorting result as the target satellite; and determine the alternative satellite based on the second signal strength ranked second and the third signal strength ranked third in the sorting result.
[0048] It can be understood that in the embodiments of the present application, sorting the signal strengths of multiple first reference signals in descending order is to sort the signal strengths of multiple first reference signals in order from large to small; the first signal strength is the largest signal strength among the multiple first reference signals, the second signal strength is less than the first signal strength, and the third signal strength is less than the second signal strength.
[0049] Exemplarily, the signal strengths P1, ..., P of the X first reference signals are sorted in descending order. X Sorting is performed, and the sorting result is expressed as P w1 , P w2 , P w3 , P w4,…,P wx , that is, P w1 is the largest signal strength among all satellite signal strengths, which is the first signal strength; P wx is the minimum signal strength among all satellites’ corresponding signal strengths. After obtaining the sorting result, the electronic device can determine the target satellite by making subsequent related judgments on P1. w1 The P behind w2 (second signal strength) and P w3 (Third signal strength) performs subsequent related judgments to determine the candidate satellites.
[0050] It can be understood that, in the embodiment of the present application, the first satellite is a satellite whose signal strength of the first reference signal is the first signal strength, that is, the signal strength of the first satellite is the largest among the signal strengths of multiple satellites.
[0051] In some embodiments of the present application, the electronic device can also determine the strength of the first signal ranked first among multiple first reference signals; when the first signal strength is less than the second threshold, re-measure the first reference signal of each satellite among the multiple satellites, and update the signal strengths of the multiple first reference signals based on the measurement results, thereby re-executing the process of determining the target satellite and the alternative satellite.
[0052] It can be understood that in some embodiments of the present application, the electronic device may determine the first satellite corresponding to the first signal strength as the target satellite when the first signal strength is greater than or equal to the second threshold.
[0053] Exemplarily, the second threshold is P c1 , when the first signal strength P w1 ≧P c1 When P w1 The corresponding first satellite is determined as the target satellite; if P w1 <P c1 , then the signal strengths of the reference signals of the multiple satellites are remeasured again, the signal strength of the first reference signal obtained above is updated, and then the target satellite and candidate satellite determination process is continued based on the signal strength of the updated first reference signal. For example, the signal strengths of the updated first reference signals can be sorted in descending order, and the maximum signal strength in the sorting situation is compared with the second threshold again, until a target signal strength greater than or equal to the second threshold is obtained, and the satellite corresponding to the target signal strength is determined as the target satellite.
[0054] In some embodiments of the present application, when determining a target satellite based on the signal strength of multiple first reference signals, in addition to stopping the target satellite and alternative satellite determination process when a target signal strength greater than or equal to a second threshold is obtained, the target satellite and alternative satellite determination process may also be exited when the execution time of updating the signal strength of the first reference signal exceeds a preset time.
[0055] In some embodiments of the present application, when the electronic device determines an alternative satellite based on the second signal strength ranked second and the third signal strength ranked third in the sorting result, the electronic device can determine the difference between the second signal strength and the third signal strength; when the difference is greater than a first threshold, the second satellite corresponding to the second signal strength is determined as an alternative satellite; when the difference is less than or equal to the first threshold, the current connection status information with the target satellite is obtained, and the alternative satellite is determined based on the connection status information.
[0056] In some embodiments of the present application, when a target satellite is determined, a communication connection with the target satellite can be initiated, and at the same time, an alternative satellite can be determined, that is, the alternative satellite can be determined while initiating access to the target satellite.
[0057] It can be understood that in the embodiment of the present application, when the difference between the second signal strength and the third signal strength is greater than the first threshold, it means that the second signal strength is much greater than the third signal strength, so the second satellite corresponding to the second signal strength can be directly determined as the candidate satellite.
[0058] Exemplarily, the difference between the second signal strength and the third signal strength can be expressed as P w2 -P w3 , the first threshold is denoted as P c2 , if P w2 -P w3 ﹥P c2 , it means that the second signal strength is much greater than the third signal strength, and the second satellite corresponding to the second signal strength can be directly determined as the candidate satellite.
[0059] In an embodiment of the present application, the connection status information is used to determine whether the current communication connection with the target satellite has been established.
[0060] In some embodiments of the present application, when the electronic device determines an alternative satellite based on the connection status information, the electronic device may determine the second satellite as the alternative satellite when the connection status information indicates that the communication connection has not been established; when the connection status information indicates that the communication connection has been established, obtain the fourth signal strength and the fifth signal strength, and determine the alternative satellite based on the fourth signal strength and the fifth signal strength; wherein the fourth signal strength represents the signal strength of the second satellite before a preset time interval, and the fifth signal strength represents the signal strength of the third satellite corresponding to the third signal strength before the preset time interval.
[0061] It can be understood that, in the embodiment of the present application, when the target satellite is not accessed, the second satellite can be directly determined as the candidate satellite.
[0062] In the embodiments of the present application, the preset time interval is not specifically limited in this application, for example, the preset time interval can be 10 seconds; that is, if the target satellite has been accessed, then when determining the alternative satellite, the signal strength of the second satellite before the preset time interval and the signal strength of the third satellite before the preset time interval can be obtained first, and then based on the signal strength of the second satellite before the preset time interval and the signal strength of the third satellite before the preset time interval, the alternative satellite is determined among the second satellite and the third satellite.
[0063] In some embodiments of the present application, when the electronic device determines an alternative satellite based on the fourth signal strength and the fifth signal strength, it can determine the first signal strength change value according to the second signal strength and the fourth signal strength; determine the second signal strength change value according to the third signal strength and the fifth signal strength; and determine the satellite corresponding to the largest reference value between the first signal strength reference value and the second signal strength reference value as an alternative satellite; wherein the first signal strength reference value is the sum of the first signal strength change value and the second signal strength, and the second signal strength reference value is the sum of the second signal strength change value and the third signal strength.
[0064] In some embodiments of the present application, when determining the first signal strength change value, the second signal strength and the fourth signal strength can be subtracted to obtain the first signal strength change value; when determining the second signal strength change value, the third signal strength and the fifth signal strength can be subtracted to obtain the second signal strength change value.
[0065] Exemplarily, the second signal strength of the second satellite is P w2 , the first signal strength change value corresponding to the second satellite is expressed as ΔP w2﹣10 , that is, P w2 The difference between the fourth signal strength of the second satellite in the previous 10 seconds; the change value of the second signal strength corresponding to the third satellite is expressed as ΔP w3﹣10 , that is, Pw3 The difference between the fifth signal strength of the third satellite in the first 10 seconds; the first signal strength reference value can be obtained as P w2 +ΔP w2﹣10 , the second signal strength reference value is P w3 +ΔP w3﹣10 ; So that P w2 +ΔP w2﹣10 With P w3 +ΔP w3﹣10 The larger satellite among them is determined as the candidate satellite. For example, when P w2 +ΔP w2﹣10 Greater than P w3 +ΔP w3﹣10 , the second satellite is determined as a candidate satellite, and if P w3 +ΔP w3﹣10 Greater than P w2 +ΔP w2﹣10 , the third satellite is determined as a candidate satellite.
[0066] Step 103: Establish a communication connection with the target satellite.
[0067] In an embodiment of the present application, the electronic device may establish a communication connection with the target satellite after determining the target satellite and the candidate satellite from the plurality of satellites based on the signal strength of each of the plurality of first reference signals.
[0068] In some embodiments of the present application, after establishing a communication connection with a target satellite, the electronic device may establish a communication connection with an alternative satellite and disconnect the communication connection with the target satellite if it is determined that the real-time signal strength of the target satellite meets the switching condition.
[0069] It can be understood that in the embodiments of the present application, the real-time signal strength represents the signal strength obtained by receiving the signal of the target satellite and measuring the signal strength during the communication process with the target satellite after the communication connection with the target satellite is established.
[0070] It can also be understood that in an embodiment of the present application, the electronic device can determine the communication quality of the target satellite by acquiring the real-time signal strength of the target satellite; if the real-time signal strength meets the switching condition, it means that the communication quality of the target satellite is poor, and if the real-time signal strength does not meet the switching condition, it means that the communication quality of the target satellite is good and communication with the target satellite can be continued.
[0071] In some embodiments of the present application, the electronic device may determine that the real-time signal strength meets the switching condition when the real-time signal strength of the target satellite is less than a third threshold and greater than or equal to a fourth threshold; wherein the third threshold is greater than the fourth threshold.
[0072] In the embodiment of the present application, the specific values of the third threshold and the fourth threshold are not limited in the present application. For example, the third threshold is expressed as P c3 , the fourth threshold is denoted as P c4 , the real-time signal strength is expressed as P wn , when P wn ﹤P c3 , and P wn ≥P c4 When the real-time signal strength is determined to meet the switching conditions, satellite switching can be performed.
[0073] In some embodiments of the present application, when the real-time signal strength of the target satellite meets the switching conditions, the electronic device can perform satellite switching by soft switching, that is, switch the connection to an alternative satellite; when performing satellite switching, the electronic device can send a satellite switching request to the network center, so that the network center responds to the satellite switching request, instructs the alternative satellite to take over the communication connection, and when it is determined that the communication connection between the alternative satellite and the electronic device is normal, instructs the electronic device to disconnect the communication connection with the target satellite.
[0074] In an embodiment of the present application, the satellite switching request may include switching trigger condition information, information of the currently serving target satellite, and information of the alternative satellite; wherein the switching trigger condition information may be that the real-time signal strength of the target satellite satisfies the switching condition.
[0075] In an embodiment of the present application, the network center may be a core control device or system responsible for managing and coordinating the entire satellite network resources and communications; the network center may process requests sent by electronic devices and perform corresponding operations.
[0076] In some embodiments of the present application, the electronic device can send a satellite switching request to the network center, so that the network center responds to the satellite switching request and sends a connection notification to the alternative satellite, so that the alternative satellite and the electronic device establish a communication connection. Then the network center can send service parameters to the alternative satellite to make the alternative satellite ready for service, wherein the service parameters may include data such as identity information, connection parameters, service context, and security information. The identity information may include the identity information of the electronic device, the connection parameters may include channel frequency and beam information, the service context may include data session identifier, and the security information may include keys and authentication status. Thus, the alternative satellite can allocate resources according to the service parameters to prepare for service. Then the network center can notify the electronic device to disconnect the service with the target satellite and switch to the alternative satellite for service. When the service of the alternative satellite is normal, the network center will notify the electronic device to disconnect the communication connection with the target satellite.
[0077] An embodiment of the present application provides a communication method, in which an electronic device measures first reference signals of multiple satellites to determine the signal strength of each first reference signal in the multiple first reference signals; based on the signal strength of each first reference signal in the multiple first reference signals, a target satellite and an alternative satellite are determined from multiple satellites; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met; and a communication connection is established with the target satellite. It can be seen that in an embodiment of the present application, when the electronic device performs satellite communication, it first uses the signal strength of the reference signals of multiple satellites to determine the target satellite and the alternative satellite among the multiple satellites, and then first establishes a communication connection with the target satellite. If, in the subsequent communication process with the target satellite, it is determined that the switching condition is met, it will choose to switch to the alternative satellite, thereby establishing a communication connection with the alternative satellite, thereby ensuring the normal communication, and greatly improving the stability and reliability of satellite communication.
[0078] Based on the above embodiment, in another embodiment of the present application, Figure 2 As shown, before determining the target satellite and the candidate satellite, the electronic device may implement the following steps:
[0079] Step 201: Compare the first signal strength with the second threshold to obtain a comparison result.
[0080] In an embodiment of the present application, when determining a target satellite, the electronic device may first compare the first signal strength ranked first in the sorting result with the second threshold value to obtain a comparison result.
[0081] In the embodiments of the present application, the specific value of the second threshold is not limited in the present application.
[0082] Exemplarily, the second threshold is P c1 , the first signal strength is P w1 , can be used for P w1 and P c1 A comparison is performed, thereby determining the target satellite based on the comparison result.
[0083] Step 202: When the comparison result shows that the first signal strength is greater than or equal to the second threshold, determine the target satellite and the candidate satellite based on the signal strengths of the plurality of first reference signals.
[0084] In an embodiment of the present application, after the electronic device compares the first signal strength with the second threshold and obtains a comparison result, if the comparison result is that the first signal strength is greater than or equal to the second threshold, the electronic device may determine the first satellite corresponding to the first signal strength as the target satellite and determine the alternative satellite based on the second signal strength and the third signal strength.
[0085] It can be understood that, in the embodiment of the present application, the first satellite represents a satellite whose signal strength of the reference signal is a first signal strength, that is, the signal strength of the first satellite is the largest among the signal strengths of multiple satellites.
[0086] Exemplarily, the second threshold is P c1 , when the first signal strength P w1 ≧P c1 When P w1 The corresponding first satellite is determined as the target satellite.
[0087] Step 203: When the comparison result shows that the first signal strength is less than the second threshold, re-measure the first reference signal of each satellite in the multiple satellites, and update the signal strength of the multiple first reference signals based on the measurement result.
[0088] In an embodiment of the present application, after the electronic device compares the first signal strength with the second threshold and obtains a comparison result, if the comparison result is that the first signal strength is less than the second threshold, the electronic device may remeasure the signal strengths of the first reference signals of multiple satellites, and determine the target satellite and the alternative satellite based on the remeasured signal strengths of the multiple first reference signals.
[0089] Here, the signal strength of the first reference signal measured again can be understood as the signal strength of reference signals measured based on multiple satellites. It can be understood that the reference signal when re-measuring the signal strength of the first reference signal can be a different reference signal of the same satellite.
[0090] In some embodiments of the present application, the first reference signals of multiple satellites are remeasured and the signal strengths of the multiple first reference signals are determined. The purpose is to update the signal strengths of the multiple first reference signals based on the signal strengths of the multiple first reference signals, so that the above-mentioned target satellite determination process can continue to be executed.
[0091] In some embodiments of the present application, a method for determining target satellites and alternative satellites based on remeasured signal strengths of multiple first reference signals is the same as a method for determining target satellites and alternative satellites based on signal strengths of multiple first reference signals previously measured. The signal strengths of multiple first reference signals may be sorted in descending order, and then the maximum signal strength may be selected again according to the sorting result for comparison with the second threshold. If the target satellite still cannot be determined, the search process for the reference signal is continued until a signal strength greater than or equal to the second threshold is obtained, thereby determining the target satellite and alternative satellite based on the measured signal strength.
[0092] For example, if P w1 <P c1, then obtain the reference signals of multiple satellites, that is, the first reference signal, again, and determine the signal strength of the first reference signal, then sort the signal strengths of the first reference signals in descending order, and again compare the maximum signal strength in the sorted situation with the second threshold, until a target signal strength greater than or equal to the second threshold is obtained, and the satellite corresponding to the target signal strength is determined as the target satellite.
[0093] In some embodiments of the present application, when a target satellite is determined, a communication connection with the target satellite can be initiated, and at the same time, an alternative satellite can be determined, that is, the alternative satellite determination process can be executed while initiating access to the target satellite.
[0094] In some embodiments of the present application, Figure 3 As shown, when the electronic device determines the candidate satellite based on the second signal strength ranked second and the third signal strength ranked third in the sorting result, the following steps may be included:
[0095] Step 301: Determine a difference between the second signal strength and the third signal strength.
[0096] In an embodiment of the present application, when the electronic device determines the candidate satellite based on the second signal strength ranked second and the third signal strength ranked third in the sorting result, the electronic device may first determine the difference between the second signal strength and the third signal strength.
[0097] It can be understood that, in the embodiment of the present application, when determining the difference between the second signal strength and the third signal strength, a subtraction operation can be performed on the second signal strength and the third signal strength to obtain the difference.
[0098] In an embodiment of the present application, the signal strength following the largest first signal strength in the sorting result is the second signal strength; the third signal strength is the signal strength following the second signal strength in the sorting result.
[0099] In the embodiment of the present application, the candidate satellite may be determined based on the difference between the second signal strength and the third signal strength.
[0100] Step 302: When the difference is greater than the first threshold, determine the second satellite corresponding to the second signal strength as a candidate satellite.
[0101] In an embodiment of the present application, after determining the difference between the second signal strength and the third signal strength, the electronic device may determine the second satellite corresponding to the second signal strength as a candidate satellite if the difference is greater than a first threshold.
[0102] It can be understood that in the embodiment of the present application, when the difference between the second signal strength and the third signal strength is greater than the first threshold, it means that the second signal strength is much greater than the third signal strength, so the second satellite corresponding to the second signal strength can be directly determined as the candidate satellite.
[0103] Exemplarily, the difference between the second signal strength and the third signal strength can be expressed as P w2 -P w3 , the first threshold is denoted as P c2 , if P w2 -P w3 ﹥P c2 , it means that the second signal strength is much greater than the third signal strength, and the second satellite corresponding to the second signal strength can be directly determined as the candidate satellite.
[0104] Step 303: When the difference is less than or equal to the first threshold, obtain the current connection status information with the target satellite, and determine the candidate satellite based on the connection status information.
[0105] In an embodiment of the present application, after determining the difference between the second signal strength and the third signal strength, the electronic device can obtain the current connection status information with the target satellite when the difference is less than or equal to the first threshold, and determine the alternative satellite based on the connection status information.
[0106] In an embodiment of the present application, the connection status information is used to determine whether the current communication connection with the target satellite has been established.
[0107] In an embodiment of the present application, when the electronic device determines an alternative satellite based on the connection status information, the electronic device may determine the second satellite as the alternative satellite when the connection status information indicates that the communication connection has not been established; when the connection status information indicates that the communication connection has been established, obtain the fourth signal strength and the fifth signal strength, and determine the alternative satellite based on the fourth signal strength and the fifth signal strength; wherein the fourth signal strength represents the signal strength of the second satellite before a preset time interval, and the fifth signal strength represents the signal strength of the third satellite corresponding to the third signal strength before a preset time interval.
[0108] In some embodiments of the present application, when the target satellite is not accessed, the second satellite may be directly determined as a candidate satellite.
[0109] In the embodiments of the present application, the preset time interval is not specifically limited in this application, for example, the preset time interval can be 10 seconds; that is, if the target satellite has been accessed, then when determining the alternative satellite, the signal strength of the second satellite before the preset time interval and the signal strength of the third satellite before the preset time interval can be obtained first, and then based on the signal strength of the second satellite before the preset time interval and the signal strength of the third satellite before the preset time interval, the alternative satellite is determined among the second satellite and the third satellite.
[0110] In an embodiment of the present application, when the electronic device determines an alternative satellite based on the fourth signal strength and the fifth signal strength, it can determine the first signal strength change value according to the second signal strength and the fourth signal strength; determine the second signal strength change value according to the third signal strength and the fifth signal strength; and determine the satellite corresponding to the largest reference value between the first signal strength reference value and the second signal strength reference value as an alternative satellite; wherein the first signal strength reference value is the sum of the first signal strength change value and the second signal strength, and the second signal strength reference value is the sum of the second signal strength change value and the third signal strength.
[0111] In some embodiments of the present application, when determining the first signal strength change value, the second signal strength and the fourth signal strength can be subtracted to obtain the first signal strength change value; when determining the second signal strength change value, the third signal strength and the fifth signal strength can be subtracted to obtain the second signal strength change value.
[0112] Exemplarily, the second signal strength of the second satellite is P w2 , the first signal strength change value corresponding to the second satellite is expressed as ΔP w2﹣10 , that is, P w2 The difference between the fourth signal strength of the second satellite in the previous 10 seconds; the change value of the second signal strength corresponding to the third satellite is expressed as ΔP w3﹣10 , that is, P w3 The difference between the fifth signal strength of the third satellite in the first 10 seconds; the first signal strength reference value can be obtained as P w2 +ΔP w2﹣10 , the second signal strength reference value is P w3 +ΔP w3﹣10 ; So that P w2 +ΔP w2﹣10 With P w3 +ΔP w3﹣10 The larger satellite among them is determined as the candidate satellite. For example, when P w2 +ΔP w2﹣10 Greater than P w3 +ΔP w3﹣10 , the second satellite is determined as a candidate satellite, and if P w3+ΔP w3﹣10 Greater than P w2 +ΔP w2﹣10 , the third satellite is determined as a candidate satellite.
[0113] To summarize, the present application can determine the target satellite and the alternative satellite based on the sorting results of multiple first reference signals, so that after establishing a communication connection with the target satellite, even if the signal strength of the target satellite is poor, a communication connection can be established with the alternative satellite, which greatly improves the stability of satellite communication.
[0114] An embodiment of the present application provides a communication method, in which an electronic device measures first reference signals of multiple satellites to determine the signal strength of each first reference signal in the multiple first reference signals; based on the signal strength of each first reference signal in the multiple first reference signals, a target satellite and an alternative satellite are determined from multiple satellites; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met; and a communication connection is established with the target satellite. It can be seen that in an embodiment of the present application, when the electronic device performs satellite communication, it first uses the signal strength of the reference signals of multiple satellites to determine the target satellite and the alternative satellite among the multiple satellites, and then first establishes a communication connection with the target satellite. If, in the subsequent communication process with the target satellite, it is determined that the switching condition is met, it will choose to switch to the alternative satellite, thereby establishing a communication connection with the alternative satellite, thereby ensuring the normal communication, and greatly improving the stability and reliability of satellite communication.
[0115] Based on the above embodiments, in another embodiment of the present application, exemplarily, the electronic device is a mobile phone; when the mobile phone communicates with a satellite, the following method can be adopted to improve the unstable communication situation caused by the need to align the satellite for communication services, so as to enhance the stability and reliability of the communication between the mobile phone and the satellite.
[0116] In some embodiments of the present application, the mobile phone may first receive reference signals from multiple satellites and determine the signal strengths of the multiple reference signals.
[0117] For example, for frequency division multiplexing, the mobile phone can search for reference signals of multiple satellites at the same time within T1, and then filter the reference signal of each satellite to obtain the signal strength value of each reference signal. In this mode, T1≧T P , where T P Indicates the transmission period of each reference signal.
[0118] For example, for frequency division multiplexing, the mobile phone can also divide the T1 time into X segments, and search for reference signals of different frequencies in each segment to obtain reference signals of X satellites, where T1≧X×T P, X≧1.
[0119] For example, in terms of time division multiplexing, the mobile phone can also divide the T1 time into X segments, and then select to search for the reference signal of a certain satellite in each time segment, so as to obtain the reference signals of each of the X satellites; in addition, if the signal multiplexing mode is time-frequency division multiplexing, the reference signal can also be determined in the above manner.
[0120] In some embodiments of the present application, the mobile phone may obtain the signal strengths P1, ..., P of the X first reference signals. X After that, P1, ..., P X Sorting is performed, and the sorting result is expressed as P w1 , P w2 , P w3 , P w4 ,…,P wx , where P w1 It is the largest signal strength among all satellites’ corresponding signal strengths, which is the first signal strength; P wx is the minimum signal strength among all satellites’ corresponding signal strengths. After obtaining the sorting result, the electronic device can determine the target satellite by making subsequent related judgments on P1. w1 The P behind w2 (second signal strength) and P w3 (Third signal strength) performs subsequent related judgments to determine the candidate satellites.
[0121] In some embodiments of the present application, if P w1 ≧P c1 , then we can determine that P w1 The corresponding first satellite is used as the target satellite. At this time, the mobile phone can initiate an access request to the target satellite to establish a communication connection with the target satellite, and can determine the candidate satellite using the second signal strength and the third signal strength in the sorting result while initiating the access request.
[0122] In some embodiments of the present application, if P w1 <P c1 , then continue to measure the signal strength of the reference signals of multiple satellites and sort them until the signal strength that satisfies P is obtained. c1 When the target signal strength is greater than or equal to the target signal strength, the satellite corresponding to the target signal strength is determined as the target satellite; or when the time for determining the target satellite exceeds the preset time, the target satellite determination and access process is terminated, that is, the target satellite determination and access process is exited by timeout.
[0123] For example, when determining the candidate satellite, it is assumed that the difference between the second signal strength and the third signal strength can be expressed as P w2 -Pw3 , the first threshold is denoted as P c2 , if P w2 -P w3 ﹥P c2 , it means that the second signal strength is much greater than the third signal strength, and the second satellite corresponding to the second signal strength can be directly determined as the candidate satellite; and if P w2 -P w3 ≤P c2 , you can continue to obtain the connection status information with the target satellite to determine whether you have connected to the target satellite; if you have not yet connected to the target satellite, you can w2 The corresponding second satellite is determined as a candidate satellite. If the target satellite has been connected, the first signal strength reference value ΔP corresponding to the second satellite can be used to determine the candidate satellite. w2﹣10 The second signal strength change value ΔP corresponding to the third satellite w3﹣10 Determine the candidate satellites. This process is mainly to w2 +ΔP w2﹣10 With P w3 +ΔP w3﹣10 Compare and select a larger corresponding satellite as the candidate satellite. For example, when P w2 +ΔP w2﹣10 Greater than P w3 +ΔP w3﹣10 , the second satellite is determined as a candidate satellite, and if P w3 +ΔP w3﹣10 Greater than P w2 +ΔP w2﹣10 , the third satellite is determined as a candidate satellite.
[0124] In some embodiments of the present application, during the communication process with the target satellite, the mobile phone can obtain the real-time signal quality of the target satellite, and determine whether to switch access to the alternative satellite according to the real-time signal quality.
[0125] Exemplarily, the real-time signal quality of the target satellite is represented by P wn , the third threshold is denoted as P c3 , the fourth threshold is denoted as P c4 , when P wn ﹤P c3 , and P wn ≥P c4 When the real-time signal strength meets the switching condition, the satellite switching can be performed; when P wn ﹥P c4 If it is determined that the real-time signal strength does not meet the switching condition, satellite switching may not be performed.
[0126] In some embodiments of the present application, the mobile phone can perform satellite switching by soft switching when it is determined that the real-time signal strength meets the switching condition.
[0127] Exemplarily, a mobile phone may send a satellite switching request to a network center of a satellite system. The satellite switching request may include switching trigger condition information, information about the target satellite currently being served, and information about alternative satellites, so as to inform the network center of relevant information about the satellite currently recommended for switching; then the mobile phone may respond to a notification from the network center and first maintain service with the target satellite. At this time, the network center may send a notification to the alternative satellite to inform it to establish a connection with the mobile phone. After the mobile phone establishes a connection with the alternative satellite, the network center may send service parameters to the alternative satellite so that the alternative satellite can take over the service. At this time, the mobile phone may respond to a service notification from the network center to disconnect from the target satellite, disconnect from the service with the target satellite, and instead be served by the alternative satellite. Then the mobile phone may respond to a service notification from the network center to disconnect from the target satellite, and disconnect from the target satellite.
[0128] To sum up, the embodiments of the present application can utilize multiple satellites in a multi-satellite system to achieve optional connection of communication services, which can overcome communication failures caused by satellite movement or obstruction by human bodies or objects, making communication with satellites more stable and reliable, greatly improving the communication quality between mobile phones and satellites.
[0129] An embodiment of the present application provides a communication method, in which an electronic device measures first reference signals of multiple satellites to determine the signal strength of each first reference signal in the multiple first reference signals; based on the signal strength of each first reference signal in the multiple first reference signals, a target satellite and an alternative satellite are determined from multiple satellites; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met; and a communication connection is established with the target satellite. It can be seen that in an embodiment of the present application, when the electronic device performs satellite communication, it first uses the signal strength of the reference signals of multiple satellites to determine the target satellite and the alternative satellite among the multiple satellites, and then first establishes a communication connection with the target satellite. If, in the subsequent communication process with the target satellite, it is determined that the switching condition is met, it will choose to switch to the alternative satellite, thereby establishing a communication connection with the alternative satellite, thereby ensuring the normal communication, and greatly improving the stability and reliability of satellite communication.
[0130] Based on the above embodiment, in another embodiment of the present application, Figure 4 Schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 1 ,like Figure 4 As shown, the electronic device 1 proposed in the embodiment of the present application may include: a measuring unit 11 , a determining unit 12 and a connecting unit 13 .
[0131] The measuring unit 11 is used to measure first reference signals of multiple satellites and determine the signal strength of each first reference signal among the multiple first reference signals.
[0132] The determination unit 12 is used to determine a target satellite and an alternative satellite from multiple satellites based on the signal strength of each first reference signal in the multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when the switching condition is met.
[0133] The connection unit 13 is used to establish a communication connection with the target satellite.
[0134] In some embodiments of the present application, the determination unit 12 is further used to sort the signal strengths of multiple first reference signals in descending order to obtain a sorting result; and determine the target satellite by the first satellite corresponding to the first signal strength ranked first in the sorting result; and determine the alternative satellite based on the second signal strength ranked second and the third signal strength ranked third in the sorting result.
[0135] In some embodiments of the present application, the determination unit 12 is further used to determine the difference between the second signal strength and the third signal strength; and when the difference is greater than a first threshold, determine the second satellite corresponding to the second signal strength as an alternative satellite; and when the difference is less than or equal to the first threshold, obtain the current connection status information with the target satellite, and determine the alternative satellite based on the connection status information.
[0136] In some embodiments of the present application, the determination unit 12 is further used to determine the second satellite as an alternative satellite when the connection status information indicates that the communication connection has not been established; and to obtain the fourth signal strength and the fifth signal strength when the connection status information indicates that the communication connection has been established, and determine the alternative satellite based on the fourth signal strength and the fifth signal strength; wherein the fourth signal strength represents the signal strength of the second satellite before a preset time interval, and the fifth signal strength represents the signal strength of the third satellite corresponding to the third signal strength before a preset time interval.
[0137] In some embodiments of the present application, the determination unit 12 is further used to determine the first signal strength change value based on the second signal strength and the fourth signal strength; and determine the second signal strength change value based on the third signal strength and the fifth signal strength; and determine the satellite corresponding to the largest reference value between the first signal strength reference value and the second signal strength reference value as a candidate satellite; wherein the first signal strength reference value is the sum of the first signal strength change value and the second signal strength, and the second signal strength reference value is the sum of the second signal strength change value and the third signal strength.
[0138] In some embodiments of the present application, the determination unit 12 is also used to determine the strength of the first signal ranked first among multiple first reference signals; and when the first signal strength is less than a second threshold, re-measure the first reference signal of each satellite among the multiple satellites, and update the signal strengths of the multiple first reference signals based on the measurement results.
[0139] In some embodiments of the present application, the determination unit 12 is further used to determine that the switching condition is met when the real-time signal strength of the target satellite is less than a third threshold and greater than or equal to a fourth threshold; wherein the third threshold is greater than the fourth threshold.
[0140] In some embodiments of the present application, the measuring unit 11 is further configured to simultaneously perform search processing for reference signals of multiple satellites within a first time to obtain multiple first reference signals.
[0141] In some embodiments of the present application, the measuring unit 11 is further used to divide the second time into a first number of third times; and in each third time, perform reference signal search processing on different satellites among the multiple satellites to obtain multiple first reference signals.
[0142] In some embodiments of the present application, the connection unit 13 is further configured to send a satellite switching request to the network center when the switching condition is met, so that the network center responds to the satellite switching request and instructs the alternative satellite to take over the communication connection.
[0143] In the embodiments of the present application, further, Figure 5 Schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 2 ,like Figure 5 As shown, the electronic device 1 proposed in the embodiment of the present application may also include a processor 14 and a memory 15 storing executable instructions of the processor 14; further, the electronic device 1 may also include a communication interface 16, and a bus 17 for connecting the processor 14, the memory 15 and the communication interface 16.
[0144] In the embodiment of the present application, the processor 14 can be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to implement the function of the processor can also be other, and the embodiment of the present application is not specifically limited. The electronic device 1 can also include a memory 15, which can be connected to the processor 14, wherein the memory 15 is used to store executable program code, the program code includes computer operation instructions, and the memory 15 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least two disk memories.
[0145] In the embodiment of the present application, the bus 17 is used to connect the communication interface 16, the processor 14 and the memory 15, and the mutual communication between these devices.
[0146] In the embodiment of the present application, the memory 15 is used to store instructions and data.
[0147] Further, in an embodiment of the present application, the processor 14 is configured to measure first reference signals of multiple satellites and determine a signal strength of each first reference signal in the multiple first reference signals;
[0148] Determine a target satellite and an alternative satellite from a plurality of satellites based on the signal strength of each first reference signal among a plurality of first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met;
[0149] Establish a communication link with the target satellite.
[0150] In practical applications, the memory 15 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 14.
[0151] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.
[0152] If the integrated unit is implemented in the form of a software function module and is not 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 this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0153] An embodiment of the present application provides an electronic device, which measures first reference signals of multiple satellites, determines the signal strength of each first reference signal in the multiple first reference signals; determines a target satellite and an alternative satellite from multiple satellites based on the signal strength of each first reference signal in the multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met; and establishes a communication connection with the target satellite. It can be seen that in an embodiment of the present application, when the electronic device performs satellite communication, it first uses the signal strength of the reference signals of multiple satellites to determine the target satellite and the alternative satellite among the multiple satellites, and then first establishes a communication connection with the target satellite. If, in the subsequent communication process with the target satellite, it is determined that the switching condition is met, it will choose to switch to the alternative satellite, thereby establishing a communication connection with the alternative satellite, thereby ensuring the normal communication, greatly improving the stability and reliability of satellite communication.
[0154] Specifically, the program instructions corresponding to a communication method in this embodiment may be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the program instructions corresponding to a communication method in the storage medium are read or executed by an electronic device, the following steps are included:
[0155] measuring first reference signals of a plurality of satellites, and determining a signal strength of each first reference signal among the plurality of first reference signals;
[0156] Determine a target satellite and an alternative satellite from a plurality of satellites based on the signal strength of each first reference signal among a plurality of first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met;
[0157] Establish a communication link with the target satellite.
[0158] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the computer executes the steps in the method provided in the above method embodiment.
[0159] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0160] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0161] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0162] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0163] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.
Claims
1. A communication method, characterized in that: Applied to an electronic device, the method comprises: measuring first reference signals of a plurality of satellites, and determining a signal strength of each first reference signal among the plurality of first reference signals; Determine a target satellite and an alternative satellite from the multiple satellites based on the signal strength of each first reference signal among the multiple first reference signals; wherein the alternative satellite is used for the electronic device to switch from the target satellite to the alternative satellite when a switching condition is met; A communication connection is established with the target satellite.
2. The communication method according to claim 1, characterized in that: The determining the target satellite and the candidate satellite from the plurality of satellites based on the signal strength of each first reference signal in the plurality of first reference signals comprises: Sorting the signal strengths of the plurality of first reference signals in descending order to obtain a sorting result; Determine the first satellite corresponding to the first signal strength ranked first in the sorting result as the target satellite; The candidate satellite is determined based on the second signal strength ranked second and the third signal strength ranked third in the sorting result.
3. The communication method according to claim 2, characterized in that: The determining the candidate satellite based on the second signal strength ranked second and the third signal strength ranked third in the sorting result includes: determining a difference between the second signal strength and the third signal strength; When the difference is greater than a first threshold, determining a second satellite corresponding to the second signal strength as the candidate satellite; When the difference is less than or equal to the first threshold, current connection status information with the target satellite is acquired, and the candidate satellite is determined based on the connection status information.
4. The communication method according to claim 3, characterized in that: The determining the candidate satellite based on the connection status information comprises: When the connection status information indicates that the communication connection has not been established, determining the second satellite as the candidate satellite; When the connection status information indicates that the communication connection has been established, a fourth signal strength and a fifth signal strength are obtained, and the alternative satellite is determined based on the fourth signal strength and the fifth signal strength; wherein the fourth signal strength represents the signal strength of the second satellite before a preset time interval, and the fifth signal strength represents the signal strength of the third satellite corresponding to the third signal strength before the preset time interval.
5. The communication method according to claim 4, characterized in that: The determining the candidate satellite based on the fourth signal strength and the fifth signal strength comprises: Determine a first signal strength change value according to the second signal strength and the fourth signal strength; Determine a second signal strength change value according to the third signal strength and the fifth signal strength; The satellite corresponding to the largest reference value of the first signal strength reference value and the second signal strength reference value is determined as the candidate satellite; wherein the first signal strength reference value is the sum of the first signal strength change value and the second signal strength, and the second signal strength reference value is the sum of the second signal strength change value and the third signal strength.
6. The communication method according to any one of claims 1 to 5, characterized in that: The method further comprises: Determine a first signal strength that ranks first among the plurality of first reference signals; When the first signal strength is less than a second threshold, the first reference signal of each satellite in the multiple satellites is measured again, and the signal strength of the multiple first reference signals is updated based on the measurement result.
7. The communication method according to any one of claims 1 to 5, characterized in that: The method further comprises: When the real-time signal strength of the target satellite is less than a third threshold and greater than or equal to a fourth threshold, it is determined that the switching condition is met; wherein the third threshold is greater than the fourth threshold.
8. The communication method according to claim 1, characterized in that: The method further comprises: In a first time, reference signal search processing is performed on the multiple satellites at the same time to obtain the multiple first reference signals.
9. The communication method according to claim 1, characterized in that: The method further comprises: dividing the second time into the first number of third times; In each of the third time periods, reference signal search processing is performed on different satellites among the multiple satellites to obtain the multiple first reference signals.
10. The communication method according to any one of claims 1 to 5, 8 to 9, characterized in that: The method further comprises: When the switching condition is met, a satellite switching request is sent to the network center, so that the network center responds to the satellite switching request and instructs the candidate satellite to take over the communication connection.
11. An electronic device, characterized in that: The electronic device includes a measuring unit, a determining unit and a connecting unit; The measuring unit is used to measure the first reference signals of multiple satellites and determine the signal strength of each first reference signal in the multiple first reference signals; The determining unit is configured to determine a target satellite and an alternative satellite from the multiple satellites based on the signal strength of each first reference signal in the multiple first reference signals; wherein the alternative satellite is used to switch from the target satellite to the alternative satellite when a switching condition is met; The connection unit is used to initiate a connection request to the target satellite.
12. An electronic device, characterized in that: The electronic device comprises a processor and a memory storing instructions executable by the processor; when the instructions are executed by the processor, the method according to any one of claims 1 to 10 is implemented.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
14. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps in the method according to any one of claims 1 to 10 are implemented.