Antenna switching method and device, electronic equipment and storage medium
By determining the relative positions of satellites and equipment in electronic devices and switching the target antenna, the problem of disconnection caused by equipment rotation or satellite motion in satellite communication has achieved a more reliable satellite communication experience.
Patent Information
- Application Number
- CN202310914851.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2025-01-24
AI Technical Summary
When existing electronic devices communicate in satellite communication, due to the fixed antenna direction, the problems of disconnection and call loss may occur when the electronic devices rotate or satellite movement, which reduces the experience of satellite communication.
By determining the relative position of satellite and electronic devices, switch to the corresponding target antenna to ensure the reliable communication between electronic equipment and satellites. This method includes generating direction guidance information, indicating that users can adjust the orientation of electronic equipment, so that the direction of the sky is directed to the position of the satellite, and the target antenna is determined according to the relative position.
By switching to the target antenna, the problem of disconnections and call drops that may occur when the relative positions of satellites and electronic devices change is solved, improving the reliability and user experience of satellite communications.
Smart Images

Figure CN119363184A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of antenna technology, and in particular to an antenna switching method, device, electronic device and storage medium. Background Art
[0002] In recent years, the satellite communication function of electronic equipment has gradually become a popular function. Taking communication with low-orbit satellites as an example, its frequency band is L band (1610MHz~1626.5MHz), and the transmission and reception share the same frequency band. The transmission is a single antenna and the receiving antenna can be a dual antenna.
[0003] To achieve satellite communication, the antenna of the existing equipment uses an external four-arm helical antenna, whose antenna pattern is oriented in the direction of the antenna and has a good circular polarization axis, which can achieve a high circular polarization gain and meet the needs of satellite calls. However, the external antenna in the existing technology will increase the size of the electronic device and reduce the user experience.
[0004] However, when the electronic device rotates or the satellite moves, the relative position of the electronic device and the satellite changes significantly, which may cause disconnection and dropped calls in an instant, reducing the satellite communication experience. Summary of the invention
[0005] The present disclosure provides an antenna switching method, device, electronic device and storage medium to solve the deficiencies of the related art.
[0006] According to a first aspect of an embodiment of the present disclosure, there is provided an antenna switching method, including:
[0007] Determine the relative position of satellites and electronic equipment;
[0008] Determine a target antenna corresponding to the relative position, the target antenna pointing to the satellite;
[0009] The electronic device is controlled to switch to the target antenna to communicate with the satellite.
[0010] Optionally, determining the relative position of the satellite and the electronic device includes:
[0011] The relative positions of the satellite and the electronic device are determined according to the vector difference data between the position data of the satellite and the position data of the electronic device.
[0012] Optionally, the relative position includes: an area located on the left side of the central axis of the electronic device, an area located on the right side of the central axis of the electronic device, or an extension line of the central axis of the electronic device.
[0013] Optionally, before determining the relative position of the satellite and the electronic device, the method further includes:
[0014] Direction guidance information is generated, where the direction guidance information is used to instruct a user to adjust the orientation of the electronic device so that the zenith direction of the electronic device points to the direction where the satellite is located.
[0015] Optionally, generating direction guidance information includes:
[0016] Determining relative position data of the electronic device and the satellite according to vector difference data of the position data of the satellite and the position data of the electronic device;
[0017] Direction guidance information is generated according to the relative position data.
[0018] Optionally, the method further comprises:
[0019] The orientation data of the electronic device is determined according to the positioning data of the electronic device and the posture data of the electronic device.
[0020] Optionally include:
[0021] When the satellite is a high-orbit satellite, obtaining the position data of the satellite according to the positioning data of the electronic device;
[0022] When the satellite is a low-orbit satellite, the position data of the satellite at the current time is determined according to the current time.
[0023] Optionally, generating direction guidance information according to the relative position data includes:
[0024] Determine a first moving direction and / or a second moving direction of the electronic device according to the relative orientation data, wherein the first moving direction and / or the second moving direction are used to point the zenith direction of the electronic device to the orientation of the satellite;
[0025] The direction guidance information including the first moving direction and / or the second moving direction is generated.
[0026] According to a second aspect of an embodiment of the present disclosure, there is provided an antenna switching device, including:
[0027] A relative position determination module, used to determine the relative position of the satellite and the electronic device;
[0028] A target antenna determination module, used to determine a target antenna corresponding to the relative position, wherein the target antenna points to the satellite;
[0029] The target antenna switching module is used to control the electronic device to switch to the target antenna to communicate with the satellite.
[0030] Optionally, the relative position determination module includes:
[0031] The relative position acquisition submodule is used to determine the relative position of the satellite and the electronic device according to the vector difference data of the satellite's position data and the electronic device's position data.
[0032] Optionally, the relative position includes: an area located on the left side of the central axis of the electronic device, an area located on the right side of the central axis of the electronic device, or an extension line of the central axis of the electronic device.
[0033] Optionally, the device further comprises:
[0034] The information generation module is used to generate direction guidance information, wherein the direction guidance information is used to instruct the user to adjust the orientation of the electronic device so that the zenith direction of the electronic device points to the direction where the satellite is located.
[0035] Optionally, the information generation module includes:
[0036] A relative position acquisition submodule, used to determine the relative position data of the electronic device and the satellite according to the position data of the satellite and the vector difference data of the position data of the electronic device;
[0037] The direction guidance generating submodule is used to generate direction guidance information according to the relative position data.
[0038] Optionally, the device further comprises:
[0039] The orientation data acquisition module is used to determine the orientation data of the electronic device according to the positioning data of the electronic device and the posture data of the electronic device.
[0040] Optionally, the device further comprises:
[0041] A first position data acquisition module, used for acquiring the position data of the satellite according to the positioning data of the electronic device when the satellite is a high-orbit satellite;
[0042] The second position data acquisition module is used to determine the position data of the satellite at the current time according to the current time when the satellite is a low-orbit satellite.
[0043] Optionally, the direction guidance generation submodule includes:
[0044] a moving direction determining unit, configured to determine a first moving direction and / or a second moving direction of the electronic device according to the relative position data, wherein the first moving direction and / or the second moving direction are used to point the zenith direction of the electronic device to the position where the satellite is located;
[0045] A guidance information determining unit is used to generate the direction guidance information including the first moving direction and / or the second moving direction.
[0046] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0047] at least two antennas disposed at different locations;
[0048] Memory and processor;
[0049] The memory is used to store a computer program executable by the processor;
[0050] The processor is used to execute the computer program in the memory to implement the method as described in any one of the first aspects.
[0051] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, and when an executable computer program in the storage medium is executed by a processor, the method described in any one of the first aspects can be implemented.
[0052] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0053] The solution provided by the embodiment of the present disclosure can determine the relative position of the satellite and the central axis of the electronic device; then, determine the target antenna corresponding to the relative position, the target antenna being the first antenna or the second antenna; then, control the electronic device to switch to the target antenna to communicate with the satellite. In this way, by switching to the target antenna, the embodiment can enable the electronic device to communicate reliably with the satellite, thereby improving the satellite communication experience.
[0054] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0056] Figure 1 It is a block diagram of an electronic device according to an exemplary embodiment.
[0057] Figure 2 is a block diagram of another electronic device according to an exemplary embodiment.
[0058] Figure 3 is a circuit diagram of a tuning circuit according to an exemplary embodiment.
[0059] Figure 4 is a block diagram of yet another electronic device according to an exemplary embodiment.
[0060] Figure 5 is a schematic diagram showing an antenna S parameter according to an exemplary embodiment.
[0061] Figure 6 is a block diagram of yet another electronic device according to an exemplary embodiment.
[0062] Figure 7 1 is a schematic diagram of gain curves of the first antenna and the second antenna in working condition 1 according to an exemplary embodiment.
[0063] Figure 8 1 is a schematic diagram of gain curves of the first antenna and the second antenna in working condition 1 according to an exemplary embodiment.
[0064] Fig. 9 It is a schematic diagram showing a circular polarization gain pattern of a first antenna according to an exemplary embodiment.
[0065] Fig.10 It is a schematic diagram of gain curves of the first antenna and the second antenna in working condition 2 according to an exemplary embodiment.
[0066] Fig.11 It is a schematic diagram of gain curves of the first antenna and the second antenna in working condition 2 according to an exemplary embodiment.
[0067] Fig.12 The diagram is a schematic diagram of circular polarization gain patterns of a first antenna and a second antenna according to an exemplary embodiment.
[0068] Fig.13 It is a schematic diagram of the total efficiency of the antenna in the working state 1 and the working state 2 scenarios according to an exemplary embodiment.
[0069] Fig.14 The figure is a flow chart of an antenna switching method according to an exemplary embodiment.
[0070] Fig.15 The present invention is a flowchart of generating direction guidance information according to an exemplary embodiment.
[0071] Fig.16 The figure shows a gain pattern of a first antenna and a second antenna according to an exemplary embodiment.
[0072] Fig.17 The figure is a flow chart of an antenna switching method according to an exemplary embodiment.
[0073] Fig.18 The invention is a block diagram of an antenna switching device according to an exemplary embodiment.
[0074] Fig.19It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0075] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described exemplarily below do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the attached claims. It should be noted that the features in the following embodiments and implementations may be combined with each other without conflict.
[0076] The embodiments of the present disclosure provide an antenna switching method, an apparatus, an electronic device, and a storage medium. The antenna switching method is applicable to an electronic device. Figure 1 The electronic device includes at least two antennas, for example, a first antenna 10 arranged at a first vertex angle and a second antenna 20 arranged at a second vertex angle. The first vertex angle and the second vertex angle may be symmetrical about the vertical center axis V1 of the electronic device 1; the first antenna 10 operates in a first working frequency band, and the second antenna 20 operates in a second working frequency band, and both the first antenna frequency band and the second antenna frequency band include a satellite L band (1610MHz to 1626.5MHz).
[0077] The circular polarization gain pattern of the first antenna 10 points to the first direction and includes a component in the opposite direction to the second direction; the circular polarization gain pattern of the second antenna 20 points to the first direction and includes a component in the second direction; the second direction is parallel to the horizontal center axis H1 of the electronic device, and the second direction is perpendicular to the first direction.
[0078] In one embodiment, considering that an electronic device is usually provided with a display screen and a rear cover, in this embodiment, the side provided with the display screen is referred to as the front side, and the side provided with the rear cover is referred to as the back side.
[0079] When the display screen of the electronic device is placed vertically, the effect of looking at the display screen from the back shell of the electronic device is as follows: Figure 1 As shown, at this time, the upper left corner of the electronic device is the first vertex angle, the upper right corner of the electronic device is the second vertex angle, and the first vertex angle is symmetrical to the second vertex angle about the vertical center axis V1 of the electronic device 1.
[0080] The three-dimensional coordinate system xyz of the electronic device is established based on the right-hand rule, taking the reverse side of the back shell of the electronic device as the reference. Among them, the second coordinate axis Y is parallel to the horizontal center axis H1 of the electronic device, the third coordinate axis Z is parallel to the vertical center axis V1 of the electronic device, and the first coordinate axis X is perpendicular to the plane YOZ or the plane where the back shell of the electronic device is located. At this time, the first direction is parallel to the first coordinate axis X and in the opposite direction, and the second direction is parallel to the second coordinate axis Y and in the same direction. In addition, the subsequent third direction is parallel to the third coordinate axis Z.
[0081] Continue to see Figure 1 , the first antenna 10 includes a first top frame 11, a first side frame 12, a first feeding point 13 and a first grounding point 14. The first top frame 11 extends along the second direction, the first side frame 12 extends along the third direction, and the first top frame 11 is electrically connected to the first side frame 12; the third direction is parallel to the vertical center axis of the electronic device and is perpendicular to the first direction and the second direction respectively; the first top frame 11 is electrically connected to the mainboard 30 of the electronic device via the first feeding point 13, and the first side frame 12 is grounded to GND via the first grounding point 14 (not shown in the figure). Among them, the middle frame or metal back shell of the electronic device can be used as the common ground GND of the electronic device, and the first grounding point 14 can be electrically connected to the above-mentioned common ground GND. In this way, the first antenna 10 is used as an inverted-F antenna (IFA).
[0082] In this embodiment, the first working frequency band of the first antenna 10 may include at least one of the following frequency bands in addition to the satellite L band (1610MHz~1626.5MHz): GPS L1 band (1575MHz), WIFI 2.4G band (2400MHz~2500MHz), WIFI 5G band (5725MHz-5850MHz), WIFI 6E band (5.925GHz-7.125GHz) and LTE B32 band (450MHz-3.8GHz). The technicians may select the appropriate range of the first working frequency band according to the specific scenario, so that the first antenna 10 can be applied to different communication scenarios, and the corresponding schemes fall within the protection scope of the present disclosure.
[0083] Continue to see Figure 1The second antenna 20 includes a second top frame 21, a second side frame 22, a second feeding point 23 and a second grounding point 24. The second top frame 21 extends along the second direction, the second side frame 22 extends along the third direction, and the second top frame 21 is electrically connected to the second side frame 22; the third direction is parallel to the vertical center axis V1 of the electronic device and is perpendicular to the first direction and the second direction respectively; the second top frame 21 is electrically connected to the mainboard 30 of the electronic device via the second feeding point 23, and the second side frame 22 is grounded GND via the second grounding point 24. Among them, the middle frame or metal back shell of the electronic device can be used as the common ground GND of the electronic device, and the second grounding point 24 can be electrically connected to the above-mentioned common ground GND. In this way, the second antenna 20 is used as an inverted-F antenna (IFA).
[0084] In this embodiment, the second operating frequency band of the second antenna 20 includes, in addition to the satellite L band (1610 MHz to 1626.5 MHz), at least one of the following frequency bands: Cellular medium and high frequency bands (1710 MHz to 2700 MHz), LTE B3 (1710 MHz to 1880 MHz) / B1 (1920 MHz to 2170 MHz) / B40 (2300 MHz to 2400 MHz) / B41 (2 The second working frequency band is 496MHz-2690MHz) / B39(1880MHz-1920MHz) / B38(2570MHz-2620MHz) / B34(2010MHz-2025MHz) and NRN1(1920MHz-2170MHz) / N3(1710MHz-1880MHz) / N7(2500MHz-2690MHz) / N41(2496MHz-2690MHz) frequency band. The technicians can select the appropriate range of the second working frequency band according to the specific scenario, so that the second antenna 20 can be applicable to different communication scenarios, and the corresponding scheme falls within the protection scope of the present disclosure.
[0085] In this embodiment, the first antenna 10 or the second antenna 20 is used as a transmitting antenna, and the first antenna 10 and the second antenna 20 are used together as receiving antennas to meet the "one transmit and two receive" requirements of satellite communication. It is understandable that in some possible examples, the first antenna 10 is used as a transmitting antenna and the second antenna 20 is used as a receiving antenna, which can also meet the requirements of satellite communication, and the corresponding scheme falls within the protection scope of this disclosure. In other possible examples, the second antenna 20 can be used as a transmitting antenna and the first antenna 10 can be used as a receiving antenna, which can also meet the requirements of satellite communication, and the corresponding scheme falls within the protection scope of this disclosure.
[0086] It should be noted that the first antenna 10 is used as a transmitting antenna in this embodiment because the frequency range of the satellite L band is close to the GPS L1 band (1575MHz); if there is a need for GPS positioning during satellite communication, it can be ensured that the first antenna 10 has good gain for both the GPS L1 band and the satellite L band. In other words, the use of the first antenna 10 as a transmitting antenna in this embodiment can better meet the needs of GPS positioning and satellite communication and improve communication efficiency.
[0087] It should be noted that in this embodiment, the first antenna 10 and the second antenna 20 are used as receiving antennas. Considering the complementary characteristics of the circular polarization gain patterns of the two antennas, the beam width of the antenna of the electronic device can be expanded to achieve the purpose of improving communication efficiency.
[0088] See also Figure 2 The electronic device further includes a third top frame 40 disposed between the first antenna 10 and the second antenna 20. The third top frame 40 is made of metal material like the first top frame 11 and the second top frame 21. A first partition bar 51 is disposed between the first top frame 11 of the first antenna 10 and the third top frame 40; a second partition bar 52 is disposed between the second top frame 21 of the second antenna 20 and the third top frame 40. The first partition bar 51 and the second partition bar 52 can be made of non-metallic materials such as plastic to achieve electrical isolation between two adjacent top frames.
[0089] In this way, by setting the third top frame 40, this embodiment can increase the distance between the first antenna 10 and the second antenna 20, reduce the interference between the first antenna 10 and the second antenna 20, and help improve the isolation between the first antenna 10 and the second antenna 20.
[0090] Continue to see Figure 2In one embodiment, the electronic device further includes a tuning circuit 60. At least one input end of the tuning circuit 60 is electrically connected to at least one tuning point of the third top frame 40, and the output end of the tuning circuit 60 is grounded to GND (not shown in the figure). The tuning circuit 60 is used to suspend the third top frame (i.e., not grounded) during the transmitting stage during satellite communication; the tuning circuit 60 is used to ground the third top frame during the receiving stage during satellite communication or during non-satellite communication. In this way, in this embodiment, the third top frame 40 is suspended by the tuning circuit 60, and the first antenna 10 can be guaranteed to work in a high gain state when the second antenna 20 is not working, thereby achieving the effect of improving the transmission gain. In addition, in this embodiment, the third top frame 40 is grounded by the tuning circuit 60, so that the radio frequency signal received and transmitted by the first antenna 10 cannot be transmitted to the second antenna 20 through the third top frame 40, or the radio frequency signal received and transmitted by the second antenna 20 cannot be transmitted to the first antenna 10 through the third top frame 40, which can increase the isolation between the first antenna 10 and the second antenna 20, and ensure that both antennas are in a high gain state, thereby achieving the effect of improving the receiving gain.
[0091] In one embodiment, the number of input terminals of the tuning circuit 60 is 2. Figure 2 The tuning circuit 60 includes an antenna switch 61, a first matching network 62, and a second matching network 63. The first end of the first matching network 62 is electrically connected to the first tuning point P1 of the third top frame 40, and the second end of the first matching network 62 is electrically connected to the first end of the antenna switch 61; the first end of the second matching network 63 is electrically connected to the second tuning point P2 of the third top frame 40, and the second end of the second matching network 63 is electrically connected to the second end of the antenna switch 61; the third end of the antenna switch 61 is grounded GND (not shown in the figure); the control end of the antenna switch (not shown in the figure) is electrically connected to the processor of the electronic device (not shown in the figure). In this way, when the antenna switch 61 is turned on, the first matching network 62 and / or the second matching network 63 can be grounded, so as to achieve the effect of increasing the isolation between the first antenna 10 and the second antenna 20.
[0092] In one example, the first matching network includes at least one of the following: a zero-ohm resistor, an LC circuit, and a capacitor; and / or the second matching network includes at least one of the following: a zero-ohm resistor, an LC circuit, and a capacitor. In one example, both the first matching network 62 and the second matching network 63 are implemented using zero-ohm resistors. Figure 3 The first matching network 62 is implemented by a zero-ohm resistor R1, the second matching network 63 is implemented by a zero-ohm resistor R2, and the antenna switch 61 is implemented by a 4XSPST antenna switch.
[0093] In another example, the first matching network 62 and the second matching network 63 are both implemented with a capacitor, and the capacitance value of the capacitor can be 33pF. At this time, the third top frame 40 and the tuning circuit 60 can ground the capacitor to ground the third top frame 40 to meet the satellite communication requirements. And the third top frame 40 and the tuning circuit 60 can be used to form a SAR sensor. When the capacitor is grounded, it is equivalent to an open circuit for the SAR sensor, thereby meeting the requirements of the SAR sensor and the antenna. In this way, the present embodiment can expand the function of the third top frame 40 by adjusting the type of the first matching network 62 and the second matching network 63.
[0094] In another embodiment, the number of input terminals of the tuning circuit 60 is 2. Figure 4 The tuning circuit 60 includes an antenna switch 61, a first matching network 62 and a third matching network 64; the first end of the first matching network 62 is electrically connected to the first tuning point P1 of the third top frame 40, and the second end of the first matching network 62 is electrically connected to the first end of the antenna switch 61; the first end of the third matching network 64 is electrically connected to the first feeding point 13 of the third top frame 40, and the second end of the third matching network 64 is electrically connected to the second end of the antenna switch 61; the third end of the antenna switch 61 is grounded GND; the control end of the antenna switch 61 (not shown in the figure) is electrically connected to the processor of the electronic device (not shown in the figure); the third top frame 40, the first matching network 62 and the third matching network 64 constitute an IFA antenna, also referred to as the third antenna. The operating frequency band of the third antenna is the GPS L5 band (1175.427MHz-1177.473MHz). The antenna switch 61 can ground the third top frame 40 when both the first antenna and the second antenna transmit signals during satellite communication, and suspend the third top frame when the first antenna transmits signals during satellite communication. The S parameters of the first antenna, the second antenna and the third antenna are as follows: Figure 5 See Figure 5 Sn,m represents the S parameter of the nth antenna in working state m, n takes values of 1, 2 and 3, and m takes values of 1, 2 and 3. When the first antenna is in working state 1 and works at 1.6 GHz, the S parameter can reach -6.691467 dB, when the first antenna is in working state 1 and works at 2.4 GHz, the S parameter can reach -5.581186 dB, when the second antenna is in working state 2 and works at 1.6 GHz, the S parameter can reach -0.8656044 dB, when the second antenna is in working state 2 and works at 2.7 GHz, the S parameter can reach -5.074119 dB, and when the third antenna is in working state 3 and works at 1.2 GHz, the S parameter can reach -9.094811 dB. In this way, this embodiment can improve the utilization rate of the third top frame.
[0095] In one embodiment, when the first operating frequency band of the first antenna 10 may also include a WIFI 5G frequency band or a WIFI 6E frequency band, see Figure 6 , the first antenna 10 also includes a third feeding point 15. The first top frame 11 is electrically connected to the mainboard 30 of the electronic device via the third feeding point 15. In this way, the RF module (not shown in the figure) in the mainboard 30 can switch the first feeding point 13 or the third feeding point 15 to adjust the working frequency band of the first antenna 10, thereby achieving the effect of extending the working frequency band of the first antenna, which is conducive to reducing the volume and cost of the electronic device.
[0096] In one embodiment, when the second operating frequency band of the second antenna 20 may further include a Sub 6G frequency band, the second antenna 20 further includes a fourth feeding point 25. The second top frame 21 is electrically connected to the mainboard 30 of the electronic device via the fourth feeding point 25. In this way, the RF module (not shown in the figure) in the mainboard 30 can switch the second feeding point 23 or the fourth feeding point 25 to adjust the operating frequency band of the second antenna 20, thereby achieving the effect of extending the operating frequency band of the second antenna, which is conducive to reducing the volume and cost of the electronic device.
[0097] In this embodiment, the working states of the first antenna 10 and the second antenna 20 of the electronic device include:
[0098] (1) Working status 1
[0099] The electronic device is in the transmitting stage during satellite communication. At this time, the switch 61 is in the off state. At this time, the first matching network and the second matching network are not grounded. At this time, the third top frame is suspended. The first antenna 10 is in the transmitting state, the second antenna 20 is in the non-working state, and the isolation between the first antenna 10 and the second antenna 20 is as follows: Figure 7 As shown, the efficiency of the first antenna 10 and the second antenna 20 is as follows Figure 8 As shown, the circular polarization gain pattern of the first antenna 10 is as follows Fig. 9 See Figure 7 When the operating frequency of the first antenna 10 and the second antenna 20 is 1.6 GHz, the S parameters are -8.193364 dB and -6.898365 dB respectively, and the worst position of the isolation between the first antenna 10 and the second antenna 20 is below -12 dB, but the performance of the first antenna 10 is the best and the second antenna 20 does not work, so that the first antenna 10 can be guaranteed to work reliably. Figure 8, the total efficiency of the first antenna 10 is -4.577056dB when it works at 2.7GHz, and the total efficiency is -2.81044dB at 1.71GHz; the radiation efficiency and total efficiency of the first antenna 10 and the second antenna 20 are approximately -3.0416348dB, -3.7581818dB, -4.3235657dB and -6.5641313dB respectively at 1.62GHz. Fig. 9 The circular polarization gain pattern of the first antenna 10 mainly points to the top direction of the electronic device and includes a component pointing to the back direction. The peak of the circular polarization gain can reach -2.1dBic, which can provide a better user experience during the satellite search or satellite alignment process and has a better beam width.
[0100] (2) Working status 2
[0101] The electronic device is in the receiving stage during satellite communication. At this time, the switch 61 is in the on (short) state. At this time, the first matching network and the second matching network are both grounded. At this time, the third top frame 40 is grounded. The first antenna 10 and the second antenna 20 are both in the receiving state. At this time, the isolation between the first antenna 10 and the second antenna 20 is as follows: Fig.10 As shown, the efficiency of the first antenna 10 and the second antenna 20 is as follows Fig.11 As shown, the circular polarization gain patterns of the first antenna 10 and the second antenna 20 are as shown in Fig.12 See Fig.10 and Fig.11 , the operating frequency of the first antenna 10 is about 1.62 GHz, and the operating frequency of the second antenna 20 deviates from 1.62 GHz. At this time, the isolation between the first antenna 10 and the second antenna 20 can be controlled to below -14 dB. At this time, the performance of the first antenna 10 and the second antenna 20 is balanced, and the GPS performance of the first antenna 10 is also high. Fig.13 , the first antenna 10 and the second antenna 20 work together, and the first antenna 10 and the second antenna 20 both have components in the back direction of the electronic device, and the first antenna 10 is biased to the right and the second antenna 20 is biased to the left, and the two directional diagrams are complementary. At this time, the circular polarization gains of the first antenna 10 and the second antenna 20 reach -3.6dBic and -4.8dBic respectively. Fig.13 , the efficiency of working state 1 and working state 2 is 1.5dBm higher.
[0102] It should be noted that Fig.10 , Fig.11 and Fig.12 The analysis method can be found in Figure 7 , Figure 8 and Fig. 9 The analysis content will not be repeated here.
[0103] (3) Working status 3
[0104] The electronic device is in a non-satellite communication state, at which time the switch 61 is in an on (short) state, at which time the first matching network and the second matching network are both grounded, and at which time the third top frame 40 is grounded. The first antenna 10 and the second antenna 20 are both in a receiving state, and at this time the effect is as shown in working state 2, and specific reference is made to the contents of working state 2, which will not be repeated here.
[0105] In this embodiment, the first antenna and the second antenna can be made into a metal frame, achieving the functions of one transmitting antenna and two receiving antennas, and achieving the satellite communication function with low-orbit satellites; and can be compatible with working frequency bands such as GPS / WIFI and Cellular. In addition, this embodiment can also tune the isolation between the first antenna and the second antenna through the third top frame in the middle, so as to achieve the effect of optimal satellite frequency band performance during the transmission phase and balanced performance of the two antennas during the receiving phase. In addition, in this embodiment, the first antenna and the second antenna are arranged at the two corners of the top, facing oppositely, and the gain directional diagrams are complementary on the left and right (back view), which can expand the beam width during reception, improve the success rate of users in low-orbit satellite search, and do not need to rotate significantly according to the movement of low-orbit satellites. When users hold their mobile phones to search for satellites, the user experience is optimal.
[0106] based on Figures 1 to 13 The electronic device shown in the embodiment of the present disclosure also provides an antenna switching method, see Fig.14 , including steps 141 to 143.
[0107] In step 141, the relative positions of the satellite and the electronic device are determined.
[0108] In this step, the electronic device can obtain the azimuth data of the satellite and the vector difference data of the azimuth data of the electronic device; for example, the processor can obtain the vector difference data of the azimuth in the satellite's azimuth data and the azimuth in the electronic device, and use the above vector difference data as the relative azimuth data of the electronic device and the satellite. It is understandable that the relative azimuth data can refer to the relative position relationship between the electronic device and the satellite converted into the same coordinate system (for example, the coordinate system where the electronic device is located or the world coordinate system). Taking the azimuth in the azimuth data as an example, the above vector difference data can be the azimuth vector difference.
[0109] In this step, the relative position of the satellite and the electronic device is determined based on the vector difference data, and the relative position includes: being located in the left area of the central axis of the electronic device, being located in the right area of the central axis of the electronic device, or being located on the extension line of the central axis of the electronic device. It should be noted that in some scenarios, the satellite may be located on the extension line of the central axis of the electronic device, and in this scenario, the relative position of the satellite can be divided into the left area or the right area.
[0110] In one embodiment, before step 141, the processor may generate direction guidance information, where the direction guidance information is used to instruct the user to adjust the orientation of the electronic device so that the zenith direction of the electronic device points to the location of the satellite.
[0111] In this embodiment, the electronic device can generate direction guidance information, see Fig.15 , including steps 151 to 152.
[0112] In step 151, the relative position data of the electronic device and the satellite are determined based on the position data of the electronic device and the position data of the satellite.
[0113] In this step, communication software may be pre-installed in the electronic device, and the communication software has a satellite communication function. When the electronic device detects a trigger operation of the user, the communication software may be started. After the communication software is started, the processor of the electronic device may obtain the orientation data of the electronic device. In one example, the orientation data includes positioning data and posture data.
[0114] In this example, the processor can control the operation of the GPS module in the electronic device to obtain the positioning data of the electronic device. When the electronic device is in a signal blocking area, the processor cannot obtain the positioning data, that is, the positioning fails. At this time, the processor can generate a reminder message, which is used to remind the user to move to an open area until the positioning data of the electronic device can be obtained. It is understandable that the above positioning data refers to the spatial position data of the electronic device in the world coordinate system.
[0115] In this example, the processor can obtain the posture data of the electronic device. The posture data may include but is not limited to pitch angle and azimuth angle, etc. The above posture data can be implemented using sensors such as gyroscopes and accelerometers. For the convenience of description, the subsequent embodiments are referred to as A+G sensors. Considering that the scene in which the electronic device is located may affect the normal use of the A+G sensor, correction information is generated before implementing the disclosed solution or before implementing this step. The correction information can guide the user to calibrate the A+G sensor to improve the accuracy of obtaining posture data. It is understandable that the above posture data refers to the spatial position data of the electronic device in its own coordinate system.
[0116] In this way, after obtaining the positioning data and the attitude data, the orientation data of the electronic device can be obtained. For example, based on the spatial position data of the electronic device in the world coordinate system, combined with the attitude data, the zenith pointing direction of the electronic device can be obtained as the orientation data of the electronic device. It is understandable that the orientation data of the electronic device can represent the attitude of the reference position of the electronic device in the world coordinate system, that is, the positioning data can determine the reference position of the electronic device in the world coordinate system and the azimuth and / or pitch angle of the electronic device at the reference position.
[0117] In this step, the processor may determine the relative position data of the electronic device and the satellite according to the position data of the electronic device and the position data of the satellite. For example, the processor may obtain the position data of the satellite.
[0118] Since satellites include high-orbit satellites (i.e., satellites whose orbits are more than 20,000 kilometers above the ground, such as high-orbit geosynchronous orbit satellites) and low-orbit satellites (i.e., satellites whose orbits are 200 kilometers to 2,000 kilometers above the ground); when the above-mentioned satellite is a high-orbit satellite, its position data is fixed, and the position data of the satellite is read from a designated storage location, and the above-mentioned designated storage location includes but is not limited to a local memory, a cache, etc. Considering that different high-orbit satellites have different jurisdictions, the processor can obtain the positioning data of the electronic device, and then determine the jurisdiction based on the positioning data of the electronic device, thereby obtaining the position data of the satellite in the jurisdiction.
[0119] When the satellite is a low-orbit satellite, the satellite's position data at different times are different. The satellite's position data can be pre-stored in a position data table, and the satellite's position data at the current time can be obtained by looking up the table.
[0120] In this step, the processor can obtain the vector difference data of the satellite's azimuth data and the electronic device's azimuth data. For example, the processor can obtain the vector difference data of the azimuth angle in the satellite's azimuth data and the azimuth angle in the electronic device, and use the vector difference data as the relative azimuth data of the electronic device and the satellite. It is understandable that the relative azimuth data refers to the relative position relationship between the electronic device and the satellite converted into the same coordinate system.
[0121] In step 152, direction guidance information is generated according to the relative position data.
[0122] In this step, the processor can generate direction guidance information based on the relative orientation data. For example, the processor can convert the above relative orientation data to the same coordinate system. Taking the conversion to the coordinate system where the electronic device is located as an example, the relative orientation data is projected onto the coordinate system where the electronic device is located, and the first moving direction and / or the second moving direction of the electronic device can be determined. Among them, the first moving direction refers to the rotation direction of the electronic device around the above first coordinate axis X, and the second moving direction refers to the rotation direction of the electronic device around the above second coordinate axis Y; in other words, when the user holds the electronic device and the display screen faces the user, the top of the electronic device is rotated clockwise or counterclockwise (equivalent to rotation around the first coordinate axis X), and / or the top of the electronic device is swung closer to or away from the user (equivalent to rotation around the second coordinate axis Y).
[0123] In this step, the processor can generate direction guidance information including a first moving direction and / or a second moving direction, and the direction guidance information is used to guide the user to move the electronic device. For example, when the user holds the electronic device and the display screen faces the user, the first moving direction can refer to the user rotating the top of the electronic device clockwise or counterclockwise (equivalent to rotating around the first coordinate axis X), and / or the second moving direction guides the user to swing the top of the electronic device closer to or away from the user (equivalent to rotating around the second coordinate axis Y), and finally the zenith direction of the electronic device points to the location of the satellite.
[0124] In step 142, a target antenna corresponding to the relative position is determined, and the target antenna points to the satellite.
[0125] In this step, the first antenna and the second antenna of the electronic device are arranged on both sides of the central axis of the electronic device, so after determining the relative position of the satellite, the processor can determine the corresponding target antenna. For example, the corresponding relationship may include that when the satellite is located in the left area of the central axis of the electronic device, the second antenna is used in the satellite communication stage; when the satellite is located in the right area of the central axis of the electronic device, the first antenna is used in the satellite communication stage.
[0126] In this step, after determining the target antenna, the processor can control the current antenna to switch to the target antenna for communicating with the satellite. It can be understood that the target antenna includes the first antenna or the second antenna.
[0127] In one example, the processor can determine the relative position of the satellite and the electronic device, for example, reacquire the satellite's position data, and reacquire the electronic device's position data, wherein the manner of acquiring the satellite's position data and the electronic device's position data can refer to the contents of the above embodiment, and will not be repeated here. Then, the electronic device can acquire the vector difference data of the satellite's position data and the electronic device's position data.
[0128] Taking the azimuth in the azimuth data as an example, the above-mentioned vector difference data may be an azimuth vector difference, because the azimuth vector difference may reflect the relative position of the satellite and the central axis of the electronic device, that is, the satellite is located in the left area of the central axis of the electronic device, the satellite is located in the right area of the central axis of the electronic device, or the satellite is located on the extension line of the central axis of the electronic device. It should be noted that in some scenarios, the satellite may be located on the extension line of the central axis of the electronic device, and this scenario may divide the relative position of the satellite into the left area or the right area.
[0129] In this embodiment, the (opposite) circular polarization gain patterns of the first antenna and the second antenna are as follows: Fig.16 See Fig.16 , the cross-sectional view of the (reverse) circular polarization gain pattern of the first antenna and the second antenna in the YOZ plane, where phi=0 represents the top of the electronic device, and 180 degrees represents the bottom of the electronic device. When looking from the back of the electronic device to the YOZ plane, the gain component (dashed line) of the first antenna on the back of the electronic device is biased to the right, and the gain component (solid line) of the second antenna on the back of the electronic device is biased to the left, that is, the gain patterns of the first antenna and the second antenna are complementary, and the first antenna and the second antenna can cover the range of -40 to 40 degrees at the top of the antenna when switching, and have good communication performance within this range. When the first antenna works at 1.62GHz, the gain at 34.1784 degrees in its gain pattern is -0.752968dBic, and when the second antenna works at 1.62GHz, the gain at 37.1407 degrees in its gain pattern is -1.08753dBic, which can meet the communication requirements.
[0130] In this embodiment, the correspondence between the relative position of the satellite and the antenna can be pre-stored in the electronic device. For example, the correspondence can include that when the satellite is located in the left area of the central axis of the electronic device, the second antenna is used in the satellite communication stage; when the satellite is located in the right area of the central axis of the electronic device, the first antenna is used in the satellite communication stage.
[0131] In this embodiment, the processor can determine the target antenna corresponding to the relative position according to the relative position of the satellite and the central axis of the electronic device and the above-mentioned corresponding relationship.
[0132] In step 143, the electronic device is controlled to switch to the target antenna to communicate with the satellite.
[0133] In this step, the processor can control the radio frequency module of the electronic device mainboard to switch to the target antenna to communicate with the satellite, thereby achieving the effect of communicating with the satellite through the target antenna.
[0134] Based on an antenna switching method provided in an embodiment of the present disclosure, the antenna switching process in the scenario where the satellite is a high-orbit geosynchronous orbit satellite and a low-orbit satellite is described respectively, such as Fig.17 shown.
[0135] (1) High-orbit geosynchronous orbit satellite scenario
[0136] Since the high-orbit geosynchronous orbit satellite is stationary relative to the ground, its position data remains unchanged. At this time, the satellite's position data can be stored in the specified location of the electronic device. The electronic device can start the satellite communication software based on the user's trigger operation and remind the user to go to an open area to make a call. When the satellite communication software is started, the processor can start the GPS module to obtain the positioning data collected by the GPS module and obtain the satellite in the jurisdiction where the positioning data is located. If the positioning fails, the processor can generate a reminder message, which is used to remind the user to move to an open area until the positioning data of the electronic device can be obtained.
[0137] After obtaining the positioning data, the processor can use the A+G sensor to obtain the attitude data of the electronic device. When the attitude data fails to be obtained or the satellite communication function is ready to be used, the user is reminded to calibrate the A+G sensor to obtain accurate attitude data. The above positioning data and attitude data constitute the orientation data of the electronic device.
[0138] When the orientation data is successfully acquired, the processor may generate direction guidance information according to the orientation data of the electronic device and the orientation data of the satellite, thereby guiding the user to align the zenith direction of the electronic device with the satellite position.
[0139] After aligning the satellite position in the zenith direction, the processor can obtain the updated azimuth data of the electronic device, and then determine on which side of the central axis of the electronic device the satellite is located in combination with the satellite's azimuth data, obtain the relative position of the satellite and the central axis of the electronic device, and determine the target antenna corresponding to the relative position.
[0140] Finally, the processor can switch to the target antenna for satellite communication. For example, if the satellite is currently on the left side of the back of the electronic device, the first antenna is enabled; if the satellite is on the right side of the back of the electronic device, the second antenna is enabled.
[0141] (2) Low-orbit satellite scenario
[0142] The solution of the low-orbit satellite scene switching antenna is similar to the solution of the high-orbit satellite switching solution. The difference is that the low-orbit satellite is in real-time motion, so the satellite position data table is stored in the electronic device, which includes the position data of the low-orbit satellite at different times, and the satellite's position data at the current time is obtained by looking up the table.
[0143] Based on the above two scenarios, it can be seen that the solution disclosed in the present invention can determine the relative position of the satellite and the mobile phone through GPS positioning and A+G sensors, and can switch the first antenna or the second antenna and use the optimal antenna for satellite communication to improve the efficiency of satellite alignment; and the solution disclosed in the present invention can use the first antenna or the second antenna to cover a wider beam range, and the electronic device does not need to move with it to achieve better satellite communication performance. Compared with using a single antenna for satellite communication, the beam range of the solution disclosed in the present invention is wider, and in long-term call scenarios, it does not need to move synchronously with the movement of low-orbit satellites, thereby maintaining the satellite communication function, which is conducive to improving the satellite communication experience.
[0144] Based on an antenna switching method provided in an embodiment of the present disclosure, an antenna switching device is also provided in an embodiment of the present disclosure. Fig.18 , the device comprises:
[0145] A relative position determination module 181 is used to determine the relative position of the satellite and the electronic device;
[0146] A target antenna determination module 182, configured to determine a target antenna corresponding to the relative position, the target antenna pointing to the satellite;
[0147] The target antenna switching module 183 is used to control the electronic device to switch to the target antenna to communicate with the satellite.
[0148] In one embodiment, the relative position determination module includes:
[0149] The relative position acquisition submodule is used to determine the relative position of the satellite and the electronic device according to the vector difference data of the satellite's position data and the electronic device's position data.
[0150] Optionally, the relative position includes: an area located on the left side of the central axis of the electronic device, an area located on the right side of the central axis of the electronic device, or an extension line of the central axis of the electronic device.
[0151] In one embodiment, the device further comprises:
[0152] The information generation module is used to generate direction guidance information, wherein the direction guidance information is used to instruct the user to adjust the orientation of the electronic device so that the zenith direction of the electronic device points to the direction where the satellite is located.
[0153] In one embodiment, the information generation module includes:
[0154] A relative position acquisition submodule, used to determine the relative position data of the electronic device and the satellite according to the position data of the satellite and the vector difference data of the position data of the electronic device;
[0155] The direction guidance generating submodule is used to generate direction guidance information according to the relative position data.
[0156] In one embodiment, the device further comprises:
[0157] The orientation data acquisition module is used to determine the orientation data of the electronic device according to the positioning data of the electronic device and the posture data of the electronic device.
[0158] In one embodiment, the device further comprises:
[0159] A first position data acquisition module, used for acquiring the position data of the satellite according to the positioning data of the electronic device when the satellite is a high-orbit satellite;
[0160] The second position data acquisition module is used to determine the position data of the satellite at the current time according to the current time when the satellite is a low-orbit satellite.
[0161] In one embodiment, the direction guidance generation submodule includes:
[0162] a moving direction determining unit, configured to determine a first moving direction and / or a second moving direction of the electronic device according to the relative position data, wherein the first moving direction and / or the second moving direction are used to point the zenith direction of the electronic device to the position where the satellite is located;
[0163] A guidance information determining unit is used to generate the direction guidance information including the first moving direction and / or the second moving direction.
[0164] It should be noted that the device embodiment shown in this embodiment matches the content of the above method embodiment, and the content of the above method embodiment can be referred to, which will not be repeated here.
[0165] Fig.19 1 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1900 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0166] Reference Fig.19The electronic device 1900 may include one or more of the following components: a processing component 1902 , a memory 1904 , a power component 1906 , a multimedia component 1908 , an audio component 1910 , an input / output (I / O) interface 1912 , a sensor component 1914 , a communication component 1916 , and an image acquisition component 1918 .
[0167] The processing component 1902 generally controls the overall operation of the electronic device 1900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1902 may include one or more processors 1920 to execute computer programs. In addition, the processing component 1902 may include one or more modules to facilitate interaction between the processing component 1902 and other components. For example, the processing component 1902 may include a multimedia module to facilitate interaction between the multimedia component 1908 and the processing component 1902. In one example, the processing component may implement the following: Fig.14 The antenna switching method shown.
[0168] The memory 1904 is configured to store various types of data to support operations on the electronic device 1900. Examples of such data include computer programs for any application or method operating on the electronic device 1900, contact data, phone book data, messages, pictures, videos, etc. The memory 1904 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 memory, flash memory, magnetic disk or optical disk.
[0169] The power supply component 1906 provides power to various components of the electronic device 1900. The power supply component 1906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1900. The power supply component 1906 may include a power supply chip, and the controller may communicate with the power supply chip to control the power supply chip to turn on or off the first switching device, so that the battery supplies power to the mainboard circuit or does not supply power.
[0170] The multimedia component 1908 includes a screen that provides an output interface between the electronic device 1900 and the target object. 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 touch screen to receive input information from the target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0171] The audio component 1910 is configured to output and / or input audio file information. For example, the audio component 1910 includes a microphone (MIC), and when the electronic device 1900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive external audio file information. The received audio file information can be further stored in the memory 1904 or sent via the communication component 1916. In some embodiments, the audio component 1910 also includes a speaker for outputting audio file information.
[0172] The I / O interface 1912 provides an interface between the processing component 1902 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc.
[0173] The sensor component 1914 includes one or more sensors for providing various aspects of status assessment for the electronic device 1900. For example, the sensor component 1914 can detect the open / closed state of the electronic device 1900, the relative positioning of components, such as the display screen and keypad of the electronic device 1900, and the sensor component 1914 can also detect the position change of the electronic device 1900 or a component, the presence or absence of contact between the target object and the electronic device 1900, the orientation or acceleration / deceleration of the electronic device 1900, and the temperature change of the electronic device 1900. In this example, the sensor component 1914 can include a magnetic sensor, a gyroscope, and a magnetic field sensor, and can also include an inertial sensor, an image sensor, etc., wherein the magnetic field sensor includes at least one of the following: a Hall sensor, a thin film magnetoresistive sensor, and a magnetic liquid acceleration sensor.
[0174] The communication component 1916 is configured to facilitate wired or wireless communication between the electronic device 1900 and other devices. The electronic device 1900 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 1916 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies. In one example, the communication component 1916 includes the first antenna and the second antenna mentioned above, and / or also includes a third antenna.
[0175] In an exemplary embodiment, the electronic device 1900 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.
[0176] In an exemplary embodiment, the present disclosure also provides a non-transitory computer-readable storage medium, and when an executable computer program in the storage medium is executed by a processor, the above-mentioned method can be implemented.
[0177] In an exemplary embodiment, a chip is also provided, the chip including a processor and an interface for reading a computer program through the interface to implement the above method. The chip may be a conventional CPU (central processing unit) chip, a GPU (graphics processing unit) chip, etc., or an acceleration chip dedicated to artificial intelligence technology, such as an AI (Artificial Intelligence) accelerator, etc.
[0178] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0179] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An antenna switching method, characterized in that: include: Determine the relative position of satellites and electronic equipment; Determine a target antenna corresponding to the relative position, the target antenna pointing to the satellite; The electronic device is controlled to switch to the target antenna to communicate with the satellite.
2. The method according to claim 1, characterized in that Determine the relative position of satellites and electronic devices, including: The relative positions of the satellite and the electronic device are determined according to the vector difference data between the position data of the satellite and the position data of the electronic device.
3. The method according to claim 2, characterized in that The relative position includes: an area located on the left side of the central axis of the electronic device, an area located on the right side of the central axis of the electronic device, or an extension line of the central axis of the electronic device.
4. The method according to claim 1, characterized in that: Before determining the relative positions of the satellite and the electronic device, the method further includes: Direction guidance information is generated, where the direction guidance information is used to instruct a user to adjust the orientation of the electronic device so that the zenith direction of the electronic device points to the direction where the satellite is located.
5. The method according to claim 4, characterized in that Generate directional guidance information, including: Determining relative position data of the electronic device and the satellite according to vector difference data of the position data of the satellite and the position data of the electronic device; Direction guidance information is generated according to the relative position data.
6. The method according to claim 2 or 5, characterized in that: The method further comprises: The orientation data of the electronic device is determined according to the positioning data of the electronic device and the posture data of the electronic device.
7. The method according to claim 2 or 5, characterized in that: include: When the satellite is a high-orbit satellite, obtaining the position data of the satellite according to the positioning data of the electronic device; When the satellite is a low-orbit satellite, the position data of the satellite at the current time is determined according to the current time.
8. The method according to claim 5, characterized in that Generating direction guidance information according to the relative position data includes: Determine a first moving direction and / or a second moving direction of the electronic device according to the relative orientation data, wherein the first moving direction and / or the second moving direction are used to point the zenith direction of the electronic device to the orientation of the satellite; The direction guidance information including the first moving direction and / or the second moving direction is generated.
9. An antenna switching device, characterized in that: include: A relative position determination module, used to determine the relative position of the satellite and the electronic device; A target antenna determination module, used to determine a target antenna corresponding to the relative position, wherein the target antenna points to the satellite; The target antenna switching module is used to control the electronic device to switch to the target antenna to communicate with the satellite.
10. An electronic device, characterized in that: include: at least two antennas disposed at different locations; Memory and processor; The memory is used to store a computer program executable by the processor; The processor is used to execute the computer program in the memory to implement the method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium, characterized in that: When the executable computer program in the storage medium is executed by a processor, the method according to any one of claims 1 to 8 can be implemented.