Antenna control method and apparatus, terminal device, storage medium, and product
By deploying a second antenna on the terminal device with a different radiation direction than the first antenna, signal indicators are compared in real time and the antenna is switched, the communication quality problem caused by antenna orientation deviation is solved, communication quality is improved, and antenna switching frequency and data loss are reduced.
Patent Information
- Application Number
- CN202510104176.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2026-07-24
AI Technical Summary
When a terminal device communicates with a satellite device, the orientation of the antenna deviates from the direction of the incoming wave from the satellite device, resulting in a decrease in communication quality.
The terminal device deploys a second antenna whose radiation direction is at least partially different from that of the first antenna, and compares and switches signal indicators in real time to select the antenna with better signal quality for communication.
It improves the communication quality between terminal equipment and satellite equipment, and reduces the frequency of antenna switching and the probability of service data loss.
Smart Images

Figure CN122457109A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to an antenna control method, apparatus, terminal equipment, storage medium, and product. Background Technology
[0002] Satellite communication is a method of communication where terminal devices use satellite equipment as relays. It offers advantages such as wide coverage and minimal impact of geographical environment on signal strength. Based on this, an increasing number of manufacturers are adding satellite communication functionality to their terminal devices to facilitate satellite communication for users.
[0003] However, when communicating based on the satellite communication function of the terminal device, the antenna needs to be oriented towards the direction of the incoming wave from the satellite device. If there is a deviation between the orientation of the antenna and the direction of the incoming wave from the satellite device, it will affect the communication quality between the terminal device and the satellite device. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides an antenna control method, device, terminal equipment storage medium, and product, which can improve the communication quality of communication between terminal equipment and satellite equipment.
[0005] According to a first aspect of the present disclosure, an antenna control method is provided, the method comprising: determining a first signal index based on a satellite signal received by the first antenna while communicating with a satellite device based on a first antenna; determining a second signal index based on a satellite signal received by a second antenna, wherein the signal index is used to indicate the signal quality of the received satellite signal, and the radiation direction of the second antenna is at least partially different from the radiation direction of the first antenna; and communicating with the satellite device based on the second antenna in response to the second signal index being greater than the first signal index.
[0006] In some embodiments, determining a second signal index based on satellite signals received by the second antenna includes: determining a first time slot in a signal frame of satellite signals transmitted by a satellite device; wherein the first time slot is used to characterize time slots in the signal frame not allocated to a terminal device; switching from a first antenna to a second antenna in the first time slot; and determining a second signal index based on satellite signals received by the second antenna.
[0007] In some embodiments, switching from the first antenna to the second antenna in the first time slot includes: in response to a first signal index being less than a signal index threshold, switching from the first antenna to the second antenna in the first time slot.
[0008] In some embodiments, the method further includes: switching back from the second antenna to the first antenna before reaching the second time slot; wherein the second time slot is used to characterize the time slot in the signal frame that has been allocated to the terminal device.
[0009] In some embodiments, there are multiple second signal indicators; in response to a second signal indicator being greater than a first signal indicator, communicating with satellite equipment based on a second antenna includes: in response to a first quantity of second signal indicators being greater than a first signal indicator among the multiple second signal indicators, switching from a first antenna to a second antenna, wherein the first quantity is an integer greater than 0; and communicating with satellite equipment based on the second antenna.
[0010] In some embodiments, the method further includes: in response to the fact that the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators does not reach a first number, adjusting the interval for acquiring the second signal indicators based on the plurality of second signal indicators.
[0011] In some embodiments, adjusting the interval for acquiring the second signal indicators based on a plurality of second signal indicators includes at least one of the following: extending the interval in response to the plurality of second signal indicators being less than the first signal indicator; extending the interval in response to the plurality of second signal indicators being less than the first signal indicator and the plurality of second signal indicators decreasing sequentially; shortening the interval in response to the plurality of second signal indicators having a value greater than or equal to the first signal indicator; and shortening the interval in response to the plurality of second signal indicators having a value greater than or equal to the first signal indicator and the plurality of second signal indicators increasing sequentially.
[0012] In some embodiments, the method further includes: in response to a first signal indicator being less than a signal indicator threshold and / or a second signal indicator being less than a signal indicator threshold, outputting a prompt message, wherein the prompt message is used to prompt the user to adjust the pose of the terminal device.
[0013] According to a second aspect of the present disclosure, an antenna control device is provided, the device comprising: a first determining module configured to determine a first signal index based on a satellite signal received by the first antenna when communicating with a satellite device based on a first antenna; a second determining module configured to determine a second signal index based on a satellite signal received by a second antenna, wherein the signal index is used to indicate the signal quality of the received satellite signal, and the radiation direction of the second antenna is at least partially different from the radiation direction of the first antenna; and a communication module configured to communicate with the satellite device based on the second antenna in response to the second signal index being greater than the first signal index.
[0014] In some embodiments, the second determining module is configured to: determine a first time slot in a signal frame of a satellite signal transmitted by a satellite device; wherein the first time slot is used to characterize a time slot in the signal frame that is not allocated to a terminal device; in the first time slot, switch from a first antenna to a second antenna; and determine a second signal index based on the satellite signal received by the second antenna.
[0015] In some embodiments, the second determining module is configured to: in response to a first signal indicator being less than a signal indicator threshold, switch from the first antenna to the second antenna in a first time slot.
[0016] In some embodiments, the apparatus further includes: switching back from the second antenna to the first antenna before reaching the second time slot; wherein the second time slot is used to characterize the time slot in the signal frame that has been allocated to the terminal device.
[0017] In some embodiments, there are multiple second signal indicators; the communication module is configured to: switch from the first antenna to the second antenna in response to a first quantity of second signal indicators that are greater than the first signal indicator, wherein the first quantity is an integer greater than 0; and communicate with satellite equipment based on the second antenna.
[0018] In some embodiments, the apparatus further includes: an adjustment module configured to adjust the interval for acquiring the second signal indicators based on the plurality of second signal indicators in response to the fact that the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators does not reach a first number.
[0019] In some embodiments, based on a plurality of second signal indicators, the adjustment module is configured to at least one of the following: in response to a plurality of second signal indicators being less than a first signal indicator, extend the interval duration; in response to a plurality of second signal indicators being less than a first signal indicator and the plurality of second signal indicators decreasing sequentially, extend the interval duration; in response to a plurality of second signal indicators having a value greater than or equal to a first signal indicator, shorten the interval duration; in response to a plurality of second signal indicators having a value greater than or equal to a first signal indicator and the plurality of second signal indicators increasing sequentially, shorten the interval duration.
[0020] In some embodiments, the device further includes an output module configured to output a prompt message in response to a first signal indicator being less than a signal indicator threshold and / or a second signal indicator being less than a signal indicator threshold, wherein the prompt message is used to prompt the user to adjust the pose of the terminal device.
[0021] According to a third aspect of the present disclosure, a terminal device is provided, comprising:
[0022] A processor; a memory for storing computer programs or instructions; wherein the processor executes the computer programs or instructions to implement the steps of the method described in the first aspect above.
[0023] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which stores executable instructions or a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.
[0024] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions that, when executed by a processor, implement the steps of the method described in the first aspect.
[0025] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0026] In this disclosure, when the antenna's radiation direction is towards the direction of arrival of the satellite equipment, the signal quality received by the terminal device based on the antenna is generally good; conversely, when the antenna's radiation direction is away from the direction of arrival of the satellite equipment, the signal quality received by the terminal device based on the antenna is generally poor. Therefore, when communicating with the satellite equipment using the first antenna, the terminal device can also determine a first signal quality indicator of the satellite signal received using the first antenna and a second signal quality indicator of the satellite signal received using the second antenna. If the second signal quality indicator is greater than the first signal quality indicator, the terminal device can switch from the first antenna to the second antenna to communicate with the satellite equipment via the second antenna, thereby improving the communication quality between the terminal device and the satellite equipment.
[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0028] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0029] Figure 1 This is a flowchart illustrating an antenna control method according to an exemplary embodiment.
[0030] Figure 2 This is a schematic diagram illustrating a first antenna and a second antenna according to an exemplary embodiment.
[0031] Figure 3 This is a schematic diagram illustrating a process for acquiring a second signal indicator according to an exemplary embodiment.
[0032] Figure 4 This is a schematic diagram illustrating communication between a terminal device and a satellite device according to an exemplary embodiment.
[0033] Figure 5 This is a flowchart illustrating an antenna control method according to another exemplary embodiment.
[0034] Figure 6 This is a block diagram illustrating an antenna control device according to an exemplary embodiment.
[0035] Figure 7 This is a structural block diagram of a terminal device according to an exemplary embodiment. Detailed Implementation
[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0037] Before introducing the embodiments of this disclosure, the application scenarios of these embodiments will be described first, as follows:
[0038] Currently, satellite communication capabilities on terminal devices typically support signal reception and transmission via a single antenna. Therefore, terminal devices usually have an antenna for communicating with satellite equipment. However, when communicating with satellite equipment, the antenna on the terminal device needs to be oriented towards the direction of the incoming satellite signal. Since the radiation direction of a single antenna is limited, any deviation between the antenna's radiation direction and the direction of the incoming satellite signal will result in poor communication quality between the terminal device and the satellite.
[0039] To address the aforementioned problems, this disclosure provides an antenna control method. Figure 1 This is a flowchart illustrating an antenna control method according to an exemplary embodiment. The antenna control method provided in this disclosure is executed by a terminal device, which may include a first antenna and a second antenna, wherein the radiation directions of the first antenna and the second antenna are at least partially different. Exemplarily, the terminal device may include a mobile terminal, which may include: a smartphone, tablet computer, laptop computer, digital camera, vehicle-mounted terminal, and wearable electronic device, etc.
[0040] In the following text, the terminal device will be the main execution subject, and reference will be made. Figure 1 The steps shown illustrate the antenna control method provided in this disclosure. This antenna control method mainly includes the following steps:
[0041] In step 101, when communicating with satellite equipment based on the first antenna, a first signal index is determined based on the satellite signal received by the first antenna.
[0042] Understandably, a first antenna can be deployed on the terminal device. Based on this, the terminal device can communicate with satellite equipment via the first antenna. When communicating with satellite equipment via the first antenna, the terminal device can receive satellite signals via the first antenna, determine the signal index of the received satellite signal, and use the obtained signal index as a first signal index. The first signal index is used to indicate the signal quality of the satellite signal received via the first antenna.
[0043] In some embodiments, the satellite signal received by the terminal device based on the first antenna can be a service data signal, etc. Therefore, the first signal indicator can be a signal indicator obtained by the terminal device measuring the received service data signal.
[0044] In some embodiments, the terminal device may measure the signal strength and / or signal-to-noise ratio (SNR) of the satellite signal received by the first antenna, and determine a first signal index based on the obtained signal strength and / or SNR. Exemplarily, the terminal device may use at least one of the signal strength and SNR of the satellite signal received by the first antenna as the first signal index.
[0045] In some embodiments, the process of determining the first signal indicator described above can be performed by the Radio Interface Layer (RIL) in the terminal device.
[0046] In some embodiments, scenarios in which the terminal device communicates with the satellite device based on the first antenna include, but are not limited to: the terminal device accessing the satellite network based on the first antenna; the terminal device transmitting service data between itself and the satellite device based on the first antenna; and the terminal device calling an emergency call number through the satellite network based on the first antenna.
[0047] In some embodiments, the terminal device transmitting service data via a satellite network using the first antenna includes, but is not limited to: the terminal device making a call or transmitting media data using the first antenna. For example, making a call using the first antenna includes, but is not limited to: the terminal device calling other terminal devices using the first antenna, the terminal device receiving calls from other terminal devices using the first antenna, and the terminal device making a call with other terminal devices using the first antenna.
[0048] In step 102, a second signal index is determined based on the satellite signal received by the second antenna.
[0049] Understandably, a second antenna can also be deployed on the terminal device, and the radiation direction of the second antenna is at least partially different from that of the first antenna. Based on this, the terminal device can also receive satellite signals transmitted by the satellite equipment based on the second antenna, and measure the signal index of the satellite signal received based on the second antenna to obtain a second signal index. The second signal index is used to indicate the signal quality of the satellite signal received by the terminal device based on the second antenna.
[0050] In some embodiments, the first antenna and the second antenna can be deployed along the edge of the terminal device, and the deployment positions of the first antenna and the second antenna on the edge of the terminal device are different. For example, the first antenna can be disposed on or near the first frame of the terminal device, and the second antenna can be disposed on or near the second frame of the terminal device. The first frame and the second frame are two different frames on the terminal device. For example, the first frame and the second frame can be two adjacent frames on the terminal device.
[0051] Figure 2 This is a schematic diagram illustrating a first antenna and a second antenna according to an exemplary embodiment. As an example, such as... Figure 2 As shown, antenna 211 on terminal device 21 can be a first antenna, and antenna 212 on terminal device 21 can be a second antenna. Antenna 211 is oriented towards the direction of incoming waves from satellite device 20.
[0052] In some embodiments, the first antenna and the second antenna may also extend beyond the frame.
[0053] It should be noted that the above are merely examples of the deployment locations of the first and second antennas on the terminal device, and do not constitute a limitation on the deployment locations of the first and second antennas on the terminal device.
[0054] In some embodiments, the terminal device may first determine a first signal index based on the satellite signal received by the first antenna. Then, the terminal device may switch from the first antenna to the second antenna, receive satellite signals based on the second antenna, and determine a second signal index based on the satellite signal received by the second antenna.
[0055] In some embodiments, the terminal device may also receive satellite signals transmitted by the satellite device via a second antenna while maintaining communication with the satellite device via the first antenna. That is, it simultaneously maintains communication between the first antenna and the satellite device as well as communication between the second antenna and the satellite device.
[0056] In some embodiments, the satellite signal received by the terminal device based on the second antenna can be a broadcast signal transmitted by the satellite device. Based on this, the second signal indicator can be a signal indicator obtained by measuring the received broadcast signal.
[0057] In some embodiments, the terminal device may measure the signal strength and / or signal-to-noise ratio (SNR) of the satellite signal received from the second antenna, and determine a second signal index based on at least one of the obtained signal strength and SNR. Exemplarily, the terminal device may use at least one of the signal strength and SNR of the satellite signal received from the second antenna as the second signal index.
[0058] In step 103, in response to the second signal index being greater than the first signal index, communication is initiated with the satellite equipment based on the second antenna.
[0059] Understandably, after receiving the first and second signal indicators, the terminal device can compare them. If the second signal indicator is greater than the first, it indicates that the satellite signal quality received based on the second antenna is better. At this point, the terminal device can switch from the first antenna to the second antenna and communicate with the satellite equipment based on the second antenna.
[0060] In some embodiments, the second signal index being greater than the first signal index may include: the signal strength of the satellite signal received by the second antenna being greater than the signal strength of the satellite signal received by the first antenna, and / or the signal-to-noise ratio of the satellite signal received by the second antenna being greater than the signal-to-noise ratio of the satellite signal received by the first antenna.
[0061] In some embodiments, if the terminal device determines that the difference between the second signal indicator and the first signal indicator is greater than a preset threshold, it can switch the first antenna to a second antenna, thereby communicating with the satellite equipment via the second antenna. It should be noted that the size of the preset threshold can be determined as needed, and this disclosure does not limit it.
[0062] In some embodiments, if the second signal index is determined to be greater than the first signal index, the terminal device can determine whether the antenna currently communicating with the satellite device is the first antenna or the second antenna. If the terminal device determines that the antenna currently communicating with the satellite device is the first antenna, it can switch the first antenna to the second antenna through the physical layer, so that the terminal device can communicate with the satellite device based on the second antenna. If the terminal device is still communicating with the satellite device based on the second antenna, it can continue to do so.
[0063] In some embodiments, in response to a first signal indicator being greater than or equal to a second signal indicator, communication with the satellite equipment continues based on the first antenna.
[0064] In some embodiments, the terminal device can determine whether the second signal indicator is greater than the first signal indicator by using RIL.
[0065] In this embodiment, since the signal quality received by the terminal device is generally good when the antenna's radiation direction is towards the direction of arrival of the satellite equipment, and generally poor when the antenna's radiation direction is away from the direction of arrival of the satellite equipment, the signal quality received by the terminal device is generally poor. Therefore, by deploying a second antenna on the terminal device with a radiation direction at least partially different from that of the first antenna, the probability that the antenna on the terminal device is oriented towards the direction of arrival of the satellite equipment can be increased. Based on this, when the terminal device communicates with the satellite equipment based on the first antenna, it can also determine a first signal quality of the satellite signal received based on the first antenna and a second signal quality of the satellite signal received based on the second antenna. The terminal device can switch from the first antenna to the second antenna when the second signal quality is greater than the first signal quality to communicate with the satellite equipment through the second antenna, thereby improving the communication quality between the terminal device and the satellite equipment.
[0066] In some embodiments, step 102 includes: determining a first time slot in a signal frame of a satellite signal transmitted by a satellite device, wherein the first time slot is used to characterize a time slot in the signal frame not allocated to a terminal device; switching from a first antenna to a second antenna in the first time slot; and determining a second signal index based on the satellite signal received by the second antenna.
[0067] Understandably, after obtaining a first signal index based on the satellite signal received by the first antenna, the terminal device can determine a first time slot in the signal frame of the satellite signal transmitted by the satellite device. This first time slot can be a time slot in the signal frame of the satellite signal transmitted by the satellite device that is not allocated to the terminal device, i.e., an idle time slot relative to the terminal device. After determining the first time slot, the terminal device can switch from the first antenna to the second antenna in the first time slot and measure a second signal index based on the satellite signal received by the second antenna in the first time slot.
[0068] It should be noted that the first time slot when the terminal device switches from the first antenna to the second antenna can be the same first time slot or a different first time slot when receiving satellite signals based on the second antenna. This disclosure does not limit this.
[0069] For example, in the case where a signal frame includes multiple first time slots, the terminal device can switch from a first antenna to a second antenna based on one of the multiple first time slots, and receive satellite signals based on the second antenna in that first time slot, and measure a second signal index of the received satellite signal.
[0070] In some embodiments, after obtaining a first signal index based on the satellite signal received by the first antenna, the terminal device may determine whether the first signal index is less than a signal index threshold. If the terminal device determines that the first signal index is less than the signal index threshold, it determines a first time slot in the signal frame of the satellite signal transmitted by the satellite device.
[0071] In some embodiments, the terminal device can switch from the first antenna to the second antenna in a first time slot via the physical layer, receive satellite signals based on the second antenna, and measure the signal strength and / or signal-to-noise ratio (SNR) of the received satellite signals. Subsequently, the terminal device can transmit the obtained signal strength and / or SNR to the RIL via the physical layer. Based on this, the RIL can obtain the signal strength and / or SNR of the satellite signals received based on the second antenna, and determine a second signal index based on the obtained signal strength and / or SNR.
[0072] For example, Figure 3 This is a schematic diagram illustrating a process for acquiring a second signal indicator according to an exemplary embodiment. For example... Figure 3 As shown, when the terminal device receives a first signal indicator, or determines that the received first signal indicator is less than a signal indicator threshold, it can send a request message to the physical layer 31 of the terminal device based on the request module 301 on RIL30. Correspondingly, the physical layer 31 in the terminal device can receive the request message sent by RIL30. Then, the terminal device can determine the first time slot in the signal frame of the satellite signal transmitted by the satellite device based on the detection module 311 of the physical layer 31. Afterwards, the terminal device can also switch from the first antenna to the second antenna in the first time slot based on the channel switching module 312 of the physical layer. After the antenna switching, the terminal device can measure the signal strength and / or signal-to-noise ratio of the satellite signal received based on the second antenna in the first time slot through the measurement module 313 of the physical layer 31. Then, the physical layer 31 can transmit the obtained signal strength and / or signal-to-noise ratio to RIL30. After receiving the signal strength and / or signal-to-noise ratio transmitted by the physical layer 31, the parsing module 302 in the RIL30 can determine a second signal index based on the satellite signal received by the second antenna based on the obtained signal strength and / or signal-to-noise ratio.
[0073] Figure 4 This is a schematic diagram illustrating communication between a terminal device and a satellite device according to an exemplary embodiment. For example... Figure 4 As shown, the signal frame transmitted by the satellite equipment as a satellite signal includes multiple time slots. Figure 4 The time slots are time slots 1, 2, 3 to N. Based on this, if time slot 2 in the signal frame of a satellite signal transmitted by satellite equipment is allocated to the terminal equipment for receiving service data, then the first time slot is any time slot other than time slot 2. Figure 4The preamble in satellite signal transmission can be understood as a specific sequence sent at the start of satellite signal transmission. Figure 4 The trail bits in satellite signals can be understood as the trailing bits in satellite signals.
[0074] In this embodiment, since the first time slot is a time slot in the signal frame of the satellite signal transmitted by the satellite equipment that is not allocated to the terminal equipment, the terminal equipment will not transmit service data between the terminal equipment and the satellite equipment in the first time slot. Therefore, by switching from the first antenna to the second antenna in the first time slot and measuring the signal indicators of the satellite signal received based on the second antenna in the first time slot, the impact of measuring the second signal indicators of the satellite signal received based on the second antenna on the transmission of service data between the terminal equipment and the first antenna can be reduced.
[0075] In some embodiments, step 102 includes: in response to a first signal indicator being less than or equal to a signal indicator threshold, switching from the first antenna to the second antenna in a first time slot.
[0076] Understandably, during communication with the satellite equipment via the first antenna, the terminal device can determine a first signal index of the satellite signal received via the first antenna. Then, the terminal device can compare the first signal index with a signal index threshold. If the first signal index is less than the signal index threshold, the terminal device can switch from the first antenna to the second antenna in the first time slot and receive the satellite signal based on the second antenna.
[0077] In some embodiments, if the terminal device determines that the first signal indicator is less than the signal indicator threshold, it can switch from the first antenna to the second antenna in the first time slot through the physical layer.
[0078] In some embodiments, in response to a first signal indicator being greater than a signal indicator threshold, the terminal device may continue to communicate with the satellite device based on the first antenna.
[0079] In some embodiments, when the first signal indicator is signal strength, the signal indicator threshold can be a strength threshold; when the first signal indicator is signal-to-noise ratio (SNR), the signal indicator threshold can be a SNR threshold. The terminal device can determine that the first signal indicator of the satellite signal received by the first antenna is less than the signal indicator threshold if the signal strength of the satellite signal received by the first antenna is less than the strength threshold, and / or if the SNR of the satellite signal received by the first antenna is less than the SNR threshold.
[0080] It should be noted that the value of the signal indicator threshold can be determined as needed, and this disclosure does not limit it.
[0081] In this embodiment of the disclosure, before determining the second signal index based on the satellite signal received by the second antenna, the terminal device can first determine whether the first signal index based on the satellite signal received by the first antenna is smaller than a signal index threshold. Since switching from the first antenna to the second antenna is required before determining the second signal index, the terminal device first determines whether the first signal index is smaller than the signal index threshold. If the terminal device determines that the first signal index is smaller than the signal index threshold, it then switches from the first antenna to the second antenna in the first time slot and determines the second signal index based on the satellite signal received by the second antenna. This reduces the probability of frequent antenna switching.
[0082] In some embodiments, the method further includes: switching back from the second antenna to the first antenna before reaching the second time slot; wherein the second time slot is used to characterize the time slot in the signal frame that has been allocated to the terminal device.
[0083] Understandably, the signal frames of satellite signals transmitted by satellite equipment also include a second time slot allocated to the terminal equipment for data transmission of services between the terminal equipment and the satellite equipment. Therefore, the terminal equipment can switch back from the second antenna to the first antenna before reaching the second time slot to continue communicating with the satellite equipment based on the first antenna in the second time slot.
[0084] In some embodiments, such as Figure 4 As shown, if time slot 2 in the signal frame of the satellite signal transmitted by the satellite equipment is configured for the terminal equipment to receive service data, then time slot 2 is the second time slot.
[0085] In some embodiments, the terminal device can switch back to the first antenna immediately after completing the measurement of the satellite signal based on the second antenna. Alternatively, after measuring the satellite signal received based on the second antenna, the terminal device can continue receiving satellite signals transmitted by the satellite device based on the second antenna until the start of the second time slot, and then switch back to the first antenna.
[0086] For example, such as Figure 4 As shown, in a signal frame comprising N time slots, where time slot 2 in each signal frame is allocated to the terminal device for transmitting service data signals, the terminal device can switch from the first antenna to the second antenna in time slot 3 and measure a second signal index based on the satellite signal received by the second antenna in time slot 3. Based on this, the terminal device can switch back from the second antenna to the first antenna at the end of time slot 3, or at the beginning of time slot 1 or time slot 2 of the next signal frame.
[0087] In this embodiment of the disclosure, since the time slot allocated by the satellite equipment to the terminal equipment for service data transmission is the second time slot, the terminal equipment can switch back from the second antenna to the first antenna before the arrival of the second time slot, and can receive the service data sent by the satellite equipment through the first antenna, thereby reducing the probability of service data loss.
[0088] In some embodiments, there are multiple second signal indicators; wherein, step 103 includes: in response to the number of second signal indicators greater than the first signal indicator among the multiple second signal indicators reaching a first quantity, switching from the first antenna to the second antenna, the first quantity being an integer greater than 0; and communicating with satellite equipment based on the second antenna.
[0089] Understandably, after obtaining the first signal indicator, the terminal device can switch from the first antenna to the second antenna in the first time slot, and perform multiple measurements on the satellite signal transmitted by the satellite equipment based on the second antenna in the first time slot to obtain multiple second signal indicators. After obtaining multiple second signal indicators, the terminal device can compare each of the multiple second signal indicators with the first signal indicator. If the number of second signal indicators that are greater than the first signal indicator reaches a certain threshold, the terminal device can switch from the first antenna to the second antenna and communicate with the satellite equipment based on the second antenna.
[0090] It should be noted that "reaching" in this embodiment can be understood as greater than or equal to.
[0091] In some embodiments, the first quantity can be an integer greater than 0 and less than or equal to the total number of a plurality of second signal indicators.
[0092] In some embodiments, the terminal device may switch from the first antenna to the second antenna when multiple second signal indicators are greater than the first signal indicator, and communicate with satellite equipment based on the second antenna.
[0093] In some embodiments, there may be multiple second signal indicators, which may be obtained by the terminal device performing multiple measurements of the satellite signal based on the second antenna in the first time slot.
[0094] For example, if the satellite signal received by the terminal device based on the second antenna is a broadcast signal transmitted by the satellite device, the terminal device can perform multiple measurements on one broadcast signal transmitted by the satellite device based on the second antenna in multiple first time slots to obtain multiple second signal indicators. The terminal device can also receive multiple broadcast signals transmitted by the satellite device based on the second antenna in multiple first time slots and measure the signal indicator of each of the multiple broadcast signals to obtain multiple second signal indicators.
[0095] In some embodiments, the plurality of first time slots may be a plurality of consecutive or discontinuous first time slots in a signal frame, or may be the first time slots in multiple signal frames. This disclosure does not limit this.
[0096] For example, refer to Figure 4 The terminal device can measure the broadcast signal transmitted by the satellite device in time slots 3, 4, and 5 of a signal frame, based on the second antenna, to obtain multiple second signal indicators. Alternatively, the terminal device can measure the broadcast signal transmitted by the satellite device in time slot 3 of multiple signal frames, based on the second antenna, to obtain multiple second signal indicators.
[0097] In some embodiments, the plurality of second signal indicators may be multiple second signal indicators obtained by measuring the satellite signals transmitted by the satellite equipment multiple times in multiple first time slots within a test cycle based on the second antenna.
[0098] In some embodiments, a test cycle may include multiple consecutive first time slots in a signal frame, or multiple consecutive signal frames, or a time period with a preset duration. This disclosure does not limit the scope of the test cycle.
[0099] In some embodiments, the number of the plurality of second signal indicators can be a second quantity. The second quantity can be an integer greater than 0. For example, the number of second signal indicators can be 3, 5, 11, etc.
[0100] It should be noted that the above is only an example of the second quantity and does not constitute a limitation on the second quantity. The size of the second quantity can also be determined as needed, and this disclosure does not limit it.
[0101] In some embodiments, the terminal device may perform multiple measurements of the satellite signal based on a second antenna in a first time slot to obtain multiple second signal indicators. If the number of obtained second signal indicators reaches a first quantity, the terminal device determines whether all of the first quantity of second signal indicators are greater than or equal to the first signal indicator. If the terminal device determines that all of the first quantity of second signal indicators are greater than or equal to the first signal indicator, it stops measuring the satellite signal based on the second antenna in the first time slot and communicates with the satellite equipment based on the second antenna. If the terminal device determines that there is a second signal indicator smaller than the first signal indicator among the first quantity of second signal indicators, it may continue to receive satellite signals based on the second antenna in the first time slot and measure the signal indicators of the received satellite signals until a second quantity of second signal indicators is obtained.
[0102] In this embodiment of the disclosure, the terminal device receives satellite signals multiple times based on the second antenna to obtain multiple second signal indicators. When multiple second signal indicators are greater than the first signal indicator, the device switches from the first antenna to the second antenna to communicate with the satellite device through the second antenna. This can avoid accidental switching of the antenna due to factors that cause the second signal indicator of a satellite signal received based on the second antenna to be greater than the first signal indicator, even though the signal indicator of the second antenna is actually less than that of the first antenna.
[0103] It should be noted that, in this embodiment of the disclosure, the signal index of the first antenna can be understood as a signal index based on the satellite signal received by the first antenna. Similarly, the signal index of the second antenna can be understood as a signal index based on the satellite signal received by the second antenna.
[0104] In some embodiments, the method further includes: in response to the fact that the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators does not reach a first number, adjusting the interval for acquiring the second signal indicators based on the plurality of second signal indicators.
[0105] Understandably, after obtaining multiple second signal indicators, the terminal device can determine the number of second signal indicators that are greater than the first signal indicator. If the terminal device determines that the number of second signal indicators greater than the first signal indicator has not reached a first number, the terminal device can adjust the interval between the next acquisition of a second signal indicator and the current acquisition of a second signal indicator based on the multiple second signal indicators to obtain the adjusted interval.
[0106] In some embodiments, if the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators does not reach a first number, the terminal device may continue to communicate with the satellite device based on the first antenna.
[0107] In some embodiments, the terminal device may start timing after obtaining multiple second signal indicators, and upon reaching the adjusted interval duration, re-measure the satellite signal multiple times in the first time slot based on the second antenna to obtain multiple new second signal indicators. Subsequently, if the number of second signal indicators greater than the first signal indicator among the newly obtained second signal indicators reaches a first quantity, the terminal device may switch from the first antenna to the second antenna and communicate with the satellite equipment based on the second antenna. Alternatively, if the number of second signal indicators greater than the first signal indicator among the newly obtained second signal indicators does not reach the first quantity, the terminal device may readjust the interval duration for the next acquisition of second signal indicators based on the newly obtained second signal indicators, repeating the above process until the terminal device stops communicating with the satellite equipment.
[0108] In some embodiments, the terminal device may also determine whether the first signal indicator is greater than or equal to a signal indicator threshold when the current time has reached the time for the next determination of multiple second signal indicators, and if it is determined that the first signal indicator is less than the signal indicator threshold, it may measure the satellite signal multiple times based on the second antenna to obtain multiple new second signal indicators.
[0109] In this embodiment of the disclosure, since multiple second signal indicators can more accurately reflect the current signal indicators of the second antenna, adjusting the interval between the next acquisition of the second signal indicator and the current acquisition of the second signal indicator based on multiple second signal indicators can reduce the probability of the antenna being frequently switched when the signal quality of the second antenna is poor and signal indicators are frequently measured on the second antenna.
[0110] In some embodiments, adjusting the interval for acquiring the second signal indicators based on a plurality of second signal indicators includes at least one of the following: extending the interval in response to the plurality of second signal indicators being less than the first signal indicator; extending the interval in response to the plurality of second signal indicators being less than the first signal indicator and the plurality of second signal indicators decreasing sequentially; shortening the interval in response to the plurality of second signal indicators having a value greater than or equal to the first signal indicator; and shortening the interval in response to the plurality of second signal indicators having a value greater than or equal to the first signal indicator and the plurality of second signal indicators increasing sequentially.
[0111] In some embodiments, if the terminal device determines, by comparing multiple second signal indicators with a first signal indicator, that the number of second signal indicators greater than the first signal indicator does not reach a first quantity, it can further determine whether all the multiple second signal indicators are less than the first signal indicator. If the terminal device determines that all the multiple second signal indicators are less than the first signal indicator, it indicates that the current signal indicators of the second antenna are all less than the signal indicators of the first antenna. In this case, the terminal device can extend the interval between the next acquisition of the second signal indicator and the current acquisition of the second signal indicator.
[0112] In some embodiments, when multiple second signal indicators are all less than a first signal indicator, the terminal device can calculate the difference between at least one of the multiple second signal indicators and the first signal indicator, and determine an extension value of the interval duration based on the obtained difference, wherein the magnitude of the extension value of the interval duration is positively correlated with the difference. Exemplarily, the magnitude of the extension value of the interval duration is proportional to or exponentially proportional to the difference.
[0113] In some embodiments, the terminal device calculates the difference between at least one of a plurality of second signal indicators and a first signal indicator, including but not limited to: calculating the difference between the average of the plurality of second signal indicators and the first signal indicator; calculating the difference between the largest second signal indicator among the plurality of second signal indicators and the first signal indicator; calculating the difference between the smallest second signal indicator among the plurality of second signal indicators and the first signal indicator.
[0114] In this embodiment, since multiple second signal indicators are all lower than the first signal indicator, it indicates that the current signal quality of the second antenna is worse than that of the first antenna. If satellite signals are received again based on the second antenna after the interval period is reached to determine the second signal indicator of the second antenna, the obtained second signal indicator will most likely still be lower than the first signal indicator, resulting in invalid antenna switching. Therefore, when multiple second signal indicators are lower than the first signal indicator, the terminal device can reduce the number of invalid antenna switching by extending the interval period between the next acquisition of the second signal indicator and the current acquisition of the second signal indicator.
[0115] In some embodiments, the terminal device may sort the multiple second signal indicators according to the order in which the satellite signals corresponding to the multiple second signal indicators are received, when all of the multiple second signal indicators are smaller than the first signal indicator; and extend the interval duration when the size of the multiple second signal indicators decreases sequentially after sorting.
[0116] For example, the terminal device can compare each sorted second signal indicator with its next adjacent second signal indicator. If the terminal device determines that each sorted second signal indicator is greater than or equal to its next adjacent second signal indicator, then it determines that the magnitudes of the multiple second signal indicators decrease sequentially. In this case, the terminal device can extend the interval between the next acquisition of a second signal indicator and the current acquisition of a second signal indicator.
[0117] In some embodiments, the terminal device may sort the multiple second signal indicators according to the acquisition time of the multiple second signal indicators.
[0118] For example, if the terminal device performs three signal index measurements on the satellite signal based on the second antenna, it can obtain three second signal indices. The terminal device can then compare the second signal indices obtained from the first and second measurements, and compare the second signal indices obtained from the second and third measurements. If the terminal device determines that the second signal indices obtained from the first and second measurements are greater than or equal to the second signal indices obtained from the second and third measurements, it can extend the interval between the next acquisition of the second signal indices and the current acquisition of the second signal indices.
[0119] In this embodiment of the disclosure, if the magnitudes of multiple second signal indicators arranged in chronological order decrease sequentially, it indicates that the signal indicators of the second antenna are continuously deteriorating. This suggests that the signal indicators of the second antenna measured again within a short period will likely remain relatively low. Therefore, when the magnitudes of multiple second signal indicators arranged in chronological order decrease sequentially, extending the interval between the next acquisition of the second signal indicator and the current acquisition can reduce the number of invalid antenna handovers.
[0120] In some embodiments, if the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators determined by the terminal device does not reach a first quantity, but there are second signal indicators greater than or equal to the first signal indicator among the plurality of second signal indicators, it indicates that the signal indicator of the second antenna is stronger than the signal indicator of the first antenna for a portion of the time. In this case, the terminal device can shorten the interval between the next acquisition of the second signal indicator and the current acquisition of the second signal indicator.
[0121] In some embodiments, if the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators does not reach a first quantity, but there are second signal indicators greater than or equal to the first signal indicator among the plurality of second signal indicators, the terminal device can determine the reduction value of the interval duration based on the ratio between the number of second signal indicators greater than the first signal indicator and the total number of second signal indicators, wherein the magnitude of the reduction value of the interval duration is negatively correlated with the ratio. For example, the magnitude of the reduction value of the interval duration is inversely proportional to or exponentially inversely proportional to the ratio.
[0122] In this embodiment of the disclosure, if the number of second signal indicators greater than the first signal indicator among multiple second signal indicators does not reach a first quantity, but there are second signal indicators greater than or equal to the first signal indicator, it indicates that the current signal indicator of the second antenna is fluctuating and has the potential to improve. Therefore, when the terminal device has a second signal indicator greater than or equal to the first signal indicator among multiple second signal indicators, shortening the interval between the next acquisition of the second signal indicator and the current acquisition of the second signal indicator can increase the probability of quickly switching the antenna used by the terminal device to an antenna with better signal indicators.
[0123] In some embodiments, if there is a second signal indicator among the multiple second signal indicators that is greater than or equal to the first signal indicator, the terminal device may sort the multiple second signal indicators according to the measurement order of the satellite signals being measured; and if the magnitude of the multiple second signal indicators increases sequentially after sorting, the interval time may be shortened.
[0124] For example, the terminal device can compare each sorted second signal indicator with its next adjacent second signal indicator. If the terminal device determines that each sorted second signal indicator is less than its next adjacent second signal indicator, it determines that the magnitudes of the multiple second signal indicators increase sequentially. In this case, the terminal device can shorten the interval between the next acquisition of a second signal indicator and the current acquisition of a second signal indicator.
[0125] For example, if the terminal device performs three signal index measurements on the satellite signal based on the second antenna, it can obtain three second signal indices. The terminal device can then compare the second signal indices obtained from the first and second measurements, and compare the second signal indices obtained from the second and third measurements. If the terminal device determines that the second signal indices obtained from the first measurement are smaller than those obtained from the second measurement, and that the second signal indices obtained from the second measurement are smaller than those obtained from the third measurement, it can shorten the interval between the next acquisition of the second signal indices and the current acquisition.
[0126] In this embodiment of the disclosure, when the magnitudes of multiple second signal indicators arranged in chronological order increase sequentially, it indicates that the signal quality of the second antenna is continuously improving, and further indicates that the signal quality of the second antenna may be superior to that of the first antenna within a short period of time. Therefore, when the magnitudes of multiple second signal indicators arranged in chronological order increase sequentially, shortening the interval between the next measurement of the signal indicator of the second antenna and the current measurement of the signal indicator of the second antenna can shorten the time required to switch the antenna used by the terminal device to an antenna with better signal quality.
[0127] In some embodiments, the method further includes: in response to a first signal indicator being less than a signal indicator threshold and / or a second signal indicator being less than a signal indicator threshold, outputting a prompt message, wherein the prompt message is used to prompt the user to adjust the pose of the terminal device.
[0128] Understandably, the first signal index of the satellite signal received by the terminal device based on the first antenna is affected by the relative orientation of the first antenna and the satellite device. Therefore, when the terminal device is communicating with the satellite device based on the first antenna, if the first signal index of the satellite signal received by the terminal device based on the first antenna is lower than the signal index threshold, it can output a prompt message to remind the user to adjust the position of the terminal device, thereby adjusting the orientation of the first antenna. Similarly, the second signal index of the satellite signal received by the terminal device based on the second antenna is affected by the relative orientation of the second antenna and the satellite device. Therefore, when the terminal device is communicating with the satellite device based on the second antenna, if the second signal index of the satellite signal received by the terminal device based on the second antenna is lower than the signal index threshold, it can also output a prompt message to remind the user to adjust the position of the terminal device, thereby adjusting the orientation of the first antenna.
[0129] In some embodiments, the terminal device can further determine the angle between the direction of arrival of the satellite device and the radiation direction of the first antenna when communicating with the satellite device based on the first antenna and the signal index of the satellite signal received by the first antenna is less than the signal index threshold, and determine the adjustment direction of the first antenna based on the obtained angle. Then, the terminal device can carry relevant information indicating the adjustment direction of the terminal device in the prompt message. Similarly, the terminal device can also determine the angle between the direction of arrival of the satellite device and the radiation direction of the second antenna when communicating with the satellite device based on the second antenna and the signal index of the satellite signal received by the second antenna is less than the signal index threshold, and determine the adjustment direction of the second antenna based on the obtained angle. Then, the terminal device can carry relevant information indicating the adjustment direction of the terminal device in the prompt message.
[0130] In some embodiments, the radiation direction of the satellite device can be the direction from the centroid of the satellite device to the centroid of the terminal device. The radiation direction of the first antenna can be a direction perpendicular to the first antenna.
[0131] Figure 5 This is a schematic flowchart illustrating an antenna control method according to another exemplary embodiment. Hereinafter, reference will be made to... Figure 5 The steps shown further illustrate the antenna control method provided in the above embodiments. The method includes:
[0132] In step 501, when the terminal device accesses the satellite network based on the first antenna, the signal strength and signal-to-noise ratio of the satellite signal received based on the first antenna are determined.
[0133] In step 502, if at least one of the signal strength and signal-to-noise ratio of the received satellite signal is less than the corresponding signal index threshold, the terminal device sends a request message to the physical layer via RIL, wherein the request message is used to request the physical layer to measure the signal index of the second antenna.
[0134] In step 503: The physical layer of the terminal device detects an idle time slot based on the request message issued by RIL, and switches the antenna for communicating between the terminal device and the satellite device from the first antenna to the second antenna during the idle time slot via a switch.
[0135] In step 504, the physical layer of the terminal device performs three measurements on the satellite signal in the idle time slot according to a preset time interval to obtain three measurement results.
[0136] In step 505, after the physical layer of the terminal device obtains three measurement results (each measurement result includes signal strength and / or signal-to-noise ratio), it switches back from the second antenna to the first antenna via a switch.
[0137] In step 506, the physical layer of the terminal device transmits the three measurement results to the RIL so that the RIL can obtain the corresponding three second signal indicators based on the three measurement results.
[0138] In step 507, if the terminal device determines that all three second signal indicators are greater than the first signal indicator based on the RIL, it switches from the first antenna to the second antenna; if the terminal device determines that all three second signal indicators are smaller than the first signal indicator based on the RIL, it continues to communicate with the satellite equipment based on the first antenna and extends the interval between the next measurement of the second signal indicators of the second antenna.
[0139] Figure 6 This is a block diagram illustrating an antenna control device according to an exemplary embodiment. Figure 6 As shown, the device includes: a first determining module 601 configured to determine a first signal index based on a satellite signal received by the first antenna when communicating with a satellite device based on a first antenna; a second determining module 602 configured to determine a second signal index based on a satellite signal received by a second antenna, wherein the signal index is used to indicate the signal quality of the received satellite signal, and the radiation direction of the second antenna is at least partially different from the radiation direction of the first antenna; and a communication module 603 configured to communicate with the satellite device based on the second antenna in response to the second signal index being greater than the first signal index.
[0140] In some embodiments, the second determining module 602 is configured to: determine a first time slot in a signal frame of a satellite signal transmitted by a satellite device; wherein the first time slot is used to characterize a time slot in the signal frame that is not allocated to a terminal device; in the first time slot, switch from a first antenna to a second antenna; and determine a second signal index based on the satellite signal received by the second antenna.
[0141] In some embodiments, the second determining module 602 is configured to: in response to a first signal indicator being less than a signal indicator threshold, switch from the first antenna to the second antenna in a first time slot.
[0142] In some embodiments, the apparatus further includes: switching back from the second antenna to the first antenna before reaching the second time slot; wherein the second time slot is used to characterize the time slot in the signal frame that has been allocated to the terminal device.
[0143] In some embodiments, there are multiple second signal indicators; the communication module 603 is configured to: switch from the first antenna to the second antenna in response to a first quantity of second signal indicators that are greater than the first signal indicator among the multiple second signal indicators, wherein the first quantity is an integer greater than 0; and communicate with satellite equipment based on the second antenna.
[0144] In some embodiments, the apparatus further includes: an adjustment module configured to adjust the interval for acquiring the second signal indicators based on the plurality of second signal indicators in response to the fact that the number of second signal indicators greater than the first signal indicator among a plurality of second signal indicators does not reach a first number.
[0145] In some embodiments, based on a plurality of second signal indicators, the adjustment module is configured to at least one of the following: in response to a plurality of second signal indicators being less than a first signal indicator, extend the interval duration; in response to a plurality of second signal indicators being less than a first signal indicator and the plurality of second signal indicators decreasing sequentially, extend the interval duration; in response to a plurality of second signal indicators having a value greater than or equal to a first signal indicator, shorten the interval duration; in response to a plurality of second signal indicators having a value greater than or equal to a first signal indicator and the plurality of second signal indicators increasing sequentially, shorten the interval duration.
[0146] In some embodiments, the device further includes an output module configured to output a prompt message in response to a first signal indicator being less than a signal indicator threshold and / or a second signal indicator being less than a signal indicator threshold, wherein the prompt message is used to prompt the user to adjust the pose of the terminal device.
[0147] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0148] Figure 7 This is a structural block diagram illustrating a terminal device 700 according to an exemplary embodiment. For example, the terminal device 700 may be a mobile phone, tablet computer, smartwatch, in-vehicle device, or other communication device.
[0149] Reference Figure 7 The terminal device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.
[0150] Processing component 702 typically controls the overall operation of terminal device 700, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
[0151] Memory 704 is configured to store various types of data to support operation on terminal device 700. Examples of such data include at least one of the following: instructions for any application or method operating on terminal device 700, contact data, phonebook data, messages, pictures, and videos. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0152] Power supply component 706 provides power to various components of terminal device 700. Power supply component 706 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal device 700.
[0153] Multimedia component 708 includes a screen that provides an output interface between terminal device 700 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When terminal device 700 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0154] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when terminal device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
[0155] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0156] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of terminal device 700. For example, sensor assembly 714 may detect the on / off state of terminal device 700, the relative positioning of components such as the display and keypad of terminal device 700, changes in position of terminal device 700 or one of its components, the presence or absence of user contact with terminal device 700, orientation or acceleration / deceleration of terminal device 700, and temperature changes of terminal device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.
[0157] Communication component 716 is configured to facilitate wired or wireless communication between terminal device 700 and other devices. Terminal device 700 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0158] In an exemplary embodiment, the terminal device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0159] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including executable instructions or a computer program, which can be executed by the processor 720 of the terminal device 700 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0160] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a terminal device, enables the terminal device to perform any of the antenna control methods described in the embodiments of this disclosure. The method includes: in the case of communicating with a satellite device based on a first antenna, determining a first signal index based on a satellite signal received by the first antenna; determining a second signal index based on a satellite signal received by a second antenna, wherein the signal index indicates the signal quality of the received satellite signal, and the radiation direction of the second antenna is at least partially different from the radiation direction of the first antenna; and communicating with the satellite device based on the second antenna in response to the second signal index being greater than the first signal index.
[0161] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the antenna control methods described above in this disclosure.
[0162] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0163] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. An antenna control method, characterized in that, The method includes: In the case of communicating with satellite equipment based on the first antenna, a first signal index is determined based on the satellite signal received based on the first antenna; A second signal index is determined based on the satellite signal received by the second antenna, wherein the signal index is used to indicate the signal quality of the received satellite signal, and the radiation direction of the second antenna is at least partially different from the radiation direction of the first antenna; In response to the second signal index being greater than the first signal index, communication is conducted with the satellite equipment based on the second antenna.
2. The method according to claim 1, characterized in that, The determination of the second signal indicator based on the satellite signal received by the second antenna includes: A first time slot is determined in the signal frame of the satellite signal transmitted by the satellite equipment; wherein the first time slot is used to characterize the time slot in the signal frame that is not allocated to the terminal equipment; In the first time slot, the antenna is switched from the first antenna to the second antenna; Determine a second signal index based on the satellite signal received by the second antenna.
3. The method according to claim 2, characterized in that, The step of switching from the first antenna to the second antenna in the first time slot includes: In response to the first signal index being less than the signal index threshold, the system switches from the first antenna to the second antenna in the first time slot.
4. The method according to claim 2 or 3, characterized in that, The method further includes: Before reaching the second time slot, switch back from the second antenna to the first antenna; The second time slot is used to characterize the time slot in the signal frame that has been allocated to the terminal device.
5. The method according to claim 1, characterized in that, There are multiple second signal indicators; the step of communicating with the satellite equipment based on the second antenna in response to the second signal indicator being greater than the first signal indicator includes: In response to a first number of second signal indicators that are greater than the first signal indicator among a plurality of second signal indicators, the signal is switched from the first antenna to the second antenna, wherein the first number is an integer greater than 0; The second antenna is used to communicate with the satellite equipment.
6. The method according to claim 5, characterized in that, The method further includes: In response to the fact that the number of second signal indicators greater than the first signal indicator among the plurality of second signal indicators has not reached a first number, the interval for acquiring the second signal indicator is adjusted based on the plurality of second signal indicators.
7. The method according to claim 6, characterized in that, The step of adjusting the interval for acquiring the second signal indicators based on the plurality of second signal indicators includes at least one of the following: In response to the fact that all of the plurality of second signal indicators are less than the first signal indicator, the interval duration is extended; In response to the fact that all of the plurality of second signal indicators are less than the first signal indicator, and the plurality of second signal indicators decrease sequentially, the interval duration is extended; In response to the presence of a second signal indicator among the plurality of second signal indicators that is greater than or equal to the first signal indicator, the interval duration is shortened; In response to the presence of a second signal indicator value greater than or equal to the first signal indicator among the plurality of second signal indicators, and the plurality of second signal indicators increasing sequentially, the interval duration is shortened.
8. The method according to claim 1, characterized in that, The method further includes: In response to the first signal indicator being less than the signal indicator threshold and / or the second signal indicator being less than the signal indicator threshold, a prompt message is output, wherein the prompt message is used to prompt the user to adjust the position of the terminal device.
9. An antenna control device, characterized in that, The device includes: The determination module is configured to determine a first signal index based on the satellite signal received by the first antenna when communicating with satellite equipment based on the first antenna; A second signal index is determined based on the satellite signal received by the second antenna, wherein the signal index is used to indicate the signal quality of the received satellite signal, and the radiation direction of the second antenna is at least partially different from the radiation direction of the first antenna; The first communication module is configured to communicate with the satellite equipment based on the second antenna when the second signal index is greater than the first signal index.
10. A terminal device, characterized in that, include: processor; Memory used to store computer programs or instructions; The processor executes the computer program or instructions to implement the steps of the method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
12. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.
