Communication angle adjusting method and device, electronic equipment, medium and program product
By determining the altitude of electronic devices and calculating the communication angle, the problem of inaccurate angle adjustment in satellite communication is solved, and fast connection and stable communication are achieved.
Patent Information
- Application Number
- CN202410199829.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-22
- Publication Date
- 2025-08-22
AI Technical Summary
In the absence of ground base stations, it is difficult for the prior art to accurately adjust the communication angle during satellite communication, resulting in a long time to connect to the satellite and unstable communication quality.
By determining the altitude of the electronic device, the user is calculated and prompted to adjust the communication angle, including the target horizontal angle and pitch angle, to accurately align the radiation direction of the satellite antenna.
It improves the satellite connection speed and communication quality, reduces adjustment time, and ensures the stability of communication signals.
Smart Images

Figure CN120528486A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a communication angle adjustment method, device, electronic device, medium, and program product. Background Art
[0002] In some weak field conditions, such as at sea, in uninhabited areas, and in high mountainous areas, communication is impossible or the communication quality is poor due to the lack of ground base stations.
[0003] In related technologies, when a lack of ground base stations results in a lack of communication or poor communication quality, satellite communication can be used. Before satellite communication is established, electronic equipment must be aligned with the target satellite to ensure connection and communication quality. Summary of the Invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a communication angle adjustment method, device, electronic device, medium and program product to improve the accuracy of determining the communication angle that the electronic device needs to adjust, so as to quickly guide the user to align the electronic device with the satellite, thereby improving the speed of the electronic device connecting to the satellite and the quality of satellite communication.
[0005] According to a first aspect of an embodiment of the present disclosure, a communication angle adjustment method is provided, including:
[0006] Determine the current altitude of the electronic device;
[0007] determining, according to the altitude, a communication angle that needs to be adjusted for the electronic device;
[0008] According to the communication angle that needs to be adjusted for the electronic device, the user is prompted to make adjustments.
[0009] Optionally, determining the current altitude of the electronic device includes:
[0010] The altitude of the electronic device is determined by a geomagnetic sensor of the electronic device.
[0011] Optionally, determining, according to the altitude, a communication angle that needs to be adjusted for the electronic device includes:
[0012] According to the correspondence between the preset altitude and the communication angle that needs to be adjusted, the communication angle that needs to be adjusted for the electronic device based on the basic star-pointing angle is determined. The basic star-pointing angle refers to the star-pointing angle determined by the electronic device at a reference altitude based on the parameters of the electronic device and the satellite.
[0013] Optionally, determining, according to the altitude, a communication angle that needs to be adjusted for the electronic device includes:
[0014] A first distance between the electronic device and the center of the earth is determined according to the altitude.
[0015] A communication angle that needs to be adjusted for the electronic device is determined according to the first distance.
[0016] Optionally, the communication angles that the electronic device needs to adjust include: a target horizontal angle and a target pitch angle;
[0017] The determining, based on the first distance, a communication angle that the electronic device needs to adjust includes:
[0018] Determining a radiation angle of an antenna of the electronic device according to a wavelength of the antenna and an aperture of the antenna;
[0019] determining the target horizontal angle according to the radiation angle, the first distance, a second distance from the satellite to the center of the earth, and an original angle between the electronic device and a horizontal plane;
[0020] The target pitch angle is determined according to the radiation angle, the second distance, and the original angle.
[0021] Optionally, prompting a user to adjust the communication angle of the electronic device according to the adjustment required includes:
[0022] The communication angle that needs to be adjusted of the electronic device is displayed to the user through the display interface of the electronic device, and during the process of the user adjusting the angle of the electronic device, the displayed communication angle is updated according to the adjustment target and the actual angle of the electronic device until the user adjusts the electronic device to the adjustment target.
[0023] According to a second aspect of an embodiment of the present disclosure, there is provided a communication angle adjustment device, including:
[0024] A first determining module is configured to determine the current altitude of the electronic device;
[0025] a second determining module, configured to determine a communication angle that needs to be adjusted for the electronic device according to the altitude;
[0026] The prompt module is configured to prompt the user to adjust the communication angle of the electronic device according to the communication angle that needs to be adjusted.
[0027] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0028] processor;
[0029] a memory for storing processor-executable instructions;
[0030] The processor is configured to implement the steps of the communication angle adjustment method provided in the first aspect of the present disclosure.
[0031] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the communication angle adjustment method provided in the first aspect of the present disclosure are implemented.
[0032] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of the communication angle adjustment method provided in the first aspect of the present disclosure.
[0033] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0034] The communication angle that needs to be adjusted for the electronic device is determined by the current altitude of the electronic device, so that a more accurate communication angle that needs to be adjusted can be obtained based on the actual geographical altitude of the electronic device, thereby quickly guiding the user to align the maximum radiation direction of the antenna of the electronic device with the satellite, so as to improve the speed at which the electronic device connects to the satellite and the quality of satellite communication.
[0035] 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 disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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.
[0037] Figure 1 The figure is a schematic diagram of an application scenario of a communication angle adjustment method according to an exemplary embodiment.
[0038] Figure 2 The figure is a flowchart of a communication angle adjustment method according to an exemplary embodiment.
[0039] Figure 3 The figure is a schematic diagram showing how an electronic device aligns with a satellite according to an exemplary embodiment.
[0040] Figure 4 The present invention is a flowchart of a method for determining a target adjustment orientation of an electronic device according to an exemplary embodiment.
[0041] Figure 5 The figure is a schematic diagram showing the relative positions of an electronic device and a satellite according to an exemplary embodiment.
[0042] Figure 6 The figure is a block diagram of a communication angle adjustment device according to an exemplary embodiment.
[0043] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0045] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.
[0046] In some weak field conditions, such as at sea, in uninhabited areas, and in high mountainous areas, communication is impossible or the communication quality is poor due to the lack of ground base stations.
[0047] In the related art, when there is a lack of ground base stations resulting in a failure to communicate or poor communication quality, communication can be carried out by using satellite communication. Before conducting satellite communication, it is necessary to first align the electronic device with the satellite so that the electronic device can connect to the satellite and ensure the communication quality during satellite communication. However, in the related art, when determining the adjustment direction, the electronic device uses the same geographical altitude to calculate the adjustment direction at different locations, resulting in the calculated adjustment angle being inaccurate. The user finds it difficult to complete the connection between the electronic device and the satellite based on the adjustment angle, and needs to continue to adjust the electronic device in order to find a better communication signal with the satellite, resulting in a longer time to connect to the satellite, and the communication signal is not stable enough, and the communication quality during satellite communication cannot be guaranteed.
[0048] In response to the above technical problems, the present disclosure provides a communication angle adjustment method, device, electronic device, medium and program product, which determines the communication angle that needs to be adjusted for the electronic device by the current altitude of the electronic device, so as to obtain a more accurate communication angle that needs to be adjusted based on the actual geographical altitude of the electronic device, thereby quickly guiding the user to align the maximum radiation direction of the antenna of the electronic device with the satellite based on the more accurate communication angle that needs to be adjusted, so as to improve the speed at which the electronic device connects to the satellite and the quality of satellite communication.
[0049] Figure 1FIG. 1 is a schematic diagram showing an application scenario of a communication angle adjustment method according to an exemplary embodiment. Figure 1 As shown, when performing satellite communication, the user can adjust the angle of the electronic device according to the adjustment data displayed on the electronic device, so that the electronic device can obtain a better satellite communication signal, thereby connecting to the satellite and performing satellite communication, as shown in FIG. Figure 1 As shown, the electronic device may be a terminal, etc., and the satellite may be a target satellite that can support the terminal to perform satellite communications.
[0050] Figure 2 is a flow chart showing a method for adjusting a communication angle according to an exemplary embodiment. Figure 3 FIG. 1 is a schematic diagram showing an electronic device aligning with a satellite according to an exemplary embodiment. Figure 2 and Figure 3 As shown, the method can be applied to an electronic device and includes the following steps.
[0051] In step S201 , the current altitude of the electronic device is determined.
[0052] In this embodiment, taking into account that electronic devices are at different geographical locations and have different altitudes, which correspond to different geographical altitudes, so that the distance between the electronic device and the center of the earth is different at different locations, the current altitude of the electronic device is obtained so that a more accurate communication angle that needs to be adjusted can be obtained according to the actual altitude of the electronic device.
[0053] In step S202, the communication angle that the electronic device needs to adjust is determined according to the altitude.
[0054] In this embodiment, the altitude affects the actual geographic height of the electronic device, thereby affecting the relative position between the electronic device and the satellite. The altitude of the electronic device can be used to more accurately determine the communication angle that needs to be adjusted. Based on this adjusted communication angle, the maximum radiation direction of the electronic device's antenna can be more accurately aligned with the satellite.
[0055] Figure 3 The directional pattern in is the radiation pattern of the antenna of the electronic device.
[0056] In step S203, the user is prompted to adjust the communication angle of the electronic device according to the adjustment required.
[0057] In this embodiment, adjustment data can be determined based on the communication angle that the electronic device needs to adjust, and the adjustment data can be displayed to the user through the display interface of the electronic device, so that the user can be guided to adjust the angle of the electronic device according to the displayed adjustment data, such as horizontal rotation and up and down rotation, so as to adjust the horizontal angle and pitch angle of the electronic device, so that the electronic device is adjusted to the adjustment target.
[0058] In this embodiment, the communication angle that needs to be adjusted for the electronic device is determined by the current altitude of the electronic device, so as to obtain a more accurate communication angle that needs to be adjusted based on the actual geographical altitude of the electronic device, thereby quickly guiding the user to align the maximum radiation direction of the antenna of the electronic device with the satellite, so as to improve the speed at which the electronic device connects to the satellite and the quality of satellite communication.
[0059] In one possible implementation, the electronic device may include a geomagnetic sensor, and the altitude of the electronic device may be determined by the geomagnetic sensor. Specifically, the geomagnetic sensor may determine the distance between the electronic device and the ground plane, i.e., the altitude of the electronic device, based on acquired magnetic lines of force of the Earth, such as the height, orientation, and strength of the magnetic lines of force.
[0060] In a possible implementation, a method for determining the communication angle that needs to be adjusted for the electronic device based on the altitude may be:
[0061] Based on the correspondence between the preset altitude and the communication angle that needs to be adjusted, the communication angle that the electronic device needs to adjust based on the basic satellite pointing angle is determined. The basic satellite pointing angle refers to the satellite pointing angle determined by the electronic device based on the parameters of the electronic device and the satellite at a reference altitude.
[0062] In this embodiment, the basic alignment angle of the electronic device can be determined in advance based on a reference altitude, as well as parameters of the electronic device and the satellite. The reference altitude can be sea level, i.e., the reference altitude is 0. Furthermore, the communication angle that needs to be adjusted for the electronic device based on the basic alignment angle can be determined in advance at different altitudes, thereby establishing a correspondence between altitudes and the communication angles that need to be adjusted, and obtaining an angle adjustment lookup table. After determining the corresponding altitude of the electronic device, the angle adjustment lookup table can be queried. Based on the correspondence between altitudes and the communication angles that need to be adjusted, the communication angle that needs to be adjusted for the electronic device based on the basic alignment angle can be determined based on the pre-set correspondence between altitudes and the communication angles that need to be adjusted in the angle lookup table. This allows the communication angle that needs to be adjusted for the electronic device to be quickly determined by looking up the table.
[0063] In a possible implementation, a method for determining the communication angle that needs to be adjusted for the electronic device based on the altitude may be:
[0064] A first distance between the electronic device and the center of the earth is determined according to the altitude; and a communication angle that needs to be adjusted for the electronic device is determined according to the first distance.
[0065] In this embodiment, the communication angle that the electronic device needs to adjust can also be determined through real-time calculation. A first distance between the electronic device and the center of the Earth can be determined based on the altitude. Specifically, the sum of the altitude and the radius of the Earth can be determined as the first distance between the electronic device and the center of the Earth. The communication angle that the electronic device needs to adjust is then determined based on the first distance according to a preset algorithm.
[0066] Figure 4 is a flowchart showing a method for determining a target adjustment orientation of an electronic device according to an exemplary embodiment. Figure 5 is a schematic diagram showing the relative positions of an electronic device and a satellite according to an exemplary embodiment. Figure 4 and Figure 5 As shown, in one possible implementation, the communication angle that the electronic device needs to adjust includes: a target horizontal angle and a target pitch angle. Determining the communication angle that the electronic device needs to adjust based on the first distance may include the following steps:
[0067] In step S401, the radiation angle of the antenna of the electronic device is determined according to the wavelength and aperture of the antenna.
[0068] In this embodiment, the calculation formula of the radiation angle can be:
[0069]
[0070] Where θ is the radiation angle of the antenna, λ is the wavelength of the antenna, and D is the aperture of the antenna.
[0071] In step S402, the target horizontal angle is determined according to the radiation angle, the first distance, the second distance from the satellite to the center of the earth, and the original angle between the electronic device and the horizontal plane.
[0072] In this embodiment, the target horizontal angle may be calculated as follows:
[0073]
[0074] Where θ1 is the target horizontal angle, a is the first distance, d is the second distance, and b is the original angle.
[0075] In step S403, the target pitch angle is determined according to the radiation angle, the second distance and the original angle.
[0076] In this embodiment, the target pitch angle may be calculated as follows:
[0077]
[0078] Where θ2 is the target pitch angle.
[0079] Through the above calculation method, the target horizontal angle and target pitch angle can be calculated based on the first distance.
[0080] In a possible implementation, the user may be prompted to make adjustments by displaying adjustment data. The adjustment data may include the communication angle that the electronic device needs to adjust. According to the communication angle that the electronic device needs to adjust, the method for prompting the user to make adjustments may be:
[0081] The communication angle that needs to be adjusted of the electronic device is displayed to the user through the display interface of the electronic device. During the process of the user adjusting the angle of the electronic device, the displayed communication angle is updated according to the adjustment target and the actual angle of the electronic device until the user adjusts the electronic device to the adjustment target.
[0082] In this embodiment, the communication angle that requires adjustment may include a horizontal adjustment angle and a pitch adjustment angle that require adjustment. The communication angles that require adjustment, i.e., the horizontal adjustment angle and the pitch adjustment angle that require adjustment, may be displayed to the user via a display interface of the electronic device. The horizontal adjustment angle may be a leftward or rightward rotation angle, and the pitch adjustment angle may be a downward or upward rotation angle. The user may rotate the electronic device based on the horizontal adjustment angle and the pitch adjustment angle displayed on the display interface. As the user rotates the electronic device, the displayed horizontal adjustment angle and the pitch adjustment angle may be updated in real time based on the difference between the adjustment target and the actual angle of the electronic device, allowing the user to intuitively perceive the adjusted angle and thereby guiding the user to quickly adjust the electronic device to the adjustment target. If it is determined that the user has adjusted the electronic device to the adjustment target, an adjustment success message may be displayed, and the display of the horizontal adjustment angle and the pitch adjustment angle may cease. The adjustment target is the desired communication angle of the electronic device. For example, the adjustment target may be 120° horizontally and 60° in pitch.
[0083] In a possible implementation, the adjustment data may include a guidance indicator, and a method for prompting the user to adjust the communication angle that the electronic device needs to adjust may be:
[0084] A guide mark is displayed to the user through the display interface of the electronic device, where the guide mark is used to indicate the adjustment direction until the user adjusts the electronic device to the adjustment target.
[0085] In this embodiment, the adjustment target can be determined by the current angle of the electronic device and the communication angle that the electronic device needs to adjust. A guidance mark can be displayed to the user through the display interface of the electronic device. The guidance mark can be a guidance arrow. For example, the guidance arrow can be divided into an arrow pointing to the right side of the screen, an arrow pointing to the left side of the screen, an arrow pointing to the top of the screen, and an arrow pointing to the bottom of the screen, to instruct the user to turn the electronic device to the right, left, up, and down, respectively. After the user adjusts the electronic device to the angle corresponding to the adjustment target, the corresponding guidance arrow will disappear. For example, after the user adjusts the electronic device to the target horizontal angle by turning it to the right, the arrow pointing to the right side of the screen will disappear. The guidance arrow can guide the user to adjust the electronic device to the adjustment target in a simpler and easier way.
[0086] In one possible implementation, the adjustment data may include a first three-dimensional image representing the actual angle of the electronic device and a second three-dimensional image representing the adjustment target of the electronic device. Based on the communication angle that the electronic device needs to adjust, the method for prompting the user to make the adjustment may be:
[0087] A three-dimensional guidance image is displayed to the user through the display interface of the electronic device. The three-dimensional guidance image includes a first three-dimensional image representing the actual angle of the electronic device and a second three-dimensional image representing the adjustment target of the electronic device. During the process of the user adjusting the angle of the electronic device, the displayed first three-dimensional image is updated according to the actual angle of the electronic device until the user adjusts the electronic device to the adjustment target.
[0088] In this embodiment, a three-dimensional model of the electronic device can be performed based on the actual angle of the electronic device and the adjustment target of the electronic device, resulting in a first three-dimensional image representing the actual angle of the electronic device and a second three-dimensional image representing the adjustment target of the electronic device. The first three-dimensional image representing the actual angle of the electronic device and the second three-dimensional image representing the adjustment target of the electronic device are displayed to the user on the display interface of the electronic device. The user can intuitively determine the rotation direction based on the difference between the first three-dimensional image and the second three-dimensional image to adjust the first three-dimensional image and the second three-dimensional image to a consistent image. During the user adjustment process, the displayed first three-dimensional image can be updated according to the actual angle of the electronic device so that the user can intuitively feel the degree of adjustment, thereby guiding the user to quickly adjust the electronic device to the adjustment target.
[0089] Figure 6 FIG. 1 is a block diagram of a communication angle adjustment device according to an exemplary embodiment. Figure 6 The communication angle adjustment device 600 includes a first determination module 601 , a second determination module 602 and a prompt module 603 .
[0090] The first determining module is configured to determine the current altitude of the electronic device;
[0091] The second determining module is configured to determine a communication angle that needs to be adjusted for the electronic device according to the altitude;
[0092] The prompt module is configured to prompt the user to make adjustments according to the communication angle that needs to be adjusted for the electronic device.
[0093] Optionally, the first determining module includes:
[0094] The first determining submodule is configured to determine the altitude of the electronic device through a geomagnetic sensor of the electronic device.
[0095] Optionally, the second determining module includes:
[0096] The second determination submodule is configured to determine the communication angle of the electronic device that needs to be adjusted based on the basic satellite pointing angle according to the predetermined correspondence between the altitude and the communication angle that needs to be adjusted. The basic satellite pointing angle refers to the satellite pointing angle determined by the electronic device at a reference altitude based on the parameters of the electronic device and the satellite.
[0097] Optionally, the second determining submodule includes:
[0098] The third determining submodule is configured to determine a first distance between the electronic device and the center of the earth according to the altitude.
[0099] The fourth determining submodule is configured to determine, based on the first distance, a communication angle that the electronic device needs to adjust.
[0100] Optionally, the communication angles that the electronic device needs to adjust include: a target horizontal angle and a target pitch angle;
[0101] The fourth determining submodule includes:
[0102] a first determining unit configured to determine a radiation angle of an antenna of the electronic device according to a wavelength of the antenna and an aperture of the antenna;
[0103] a second determining unit configured to determine the target horizontal angle according to the radiation angle, the first distance, a second distance from the satellite to the center of the earth, and an original angle between the electronic device and a horizontal plane;
[0104] The third determining unit is configured to determine the target pitch angle according to the radiation angle, the second distance and the original angle.
[0105] Optionally, the prompt module includes:
[0106] The prompt submodule is configured to display the communication angle that needs to be adjusted of the electronic device to the user through the display interface of the electronic device, and to update the displayed communication angle according to the adjustment target and the actual angle of the electronic device during the process of the user adjusting the angle of the electronic device until the user adjusts the electronic device to the adjustment target.
[0107] Regarding the communication angle adjustment device 600 in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0108] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the communication angle adjustment method provided by the present disclosure are implemented.
[0109] Figure 7 7 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a messaging device, a tablet device, a personal digital assistant, etc.
[0110] Reference Figure 7 The electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0111] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the communication angle adjustment method described above. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0112] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The 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 memory, flash memory, magnetic disk, or optical disk.
[0113] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0114] The multimedia component 708 includes a screen that provides an output interface between the electronic 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0115] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0116] The input / output interface 712 provides an interface between the processing component 702 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0117] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700. The sensor assembly 714 can also detect changes in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and temperature changes of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0118] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 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.
[0119] In an exemplary embodiment, the electronic device 700 can 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 to perform the above-mentioned communication angle adjustment method.
[0120] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is further provided, such as a memory 704 including instructions. The instructions can be executed by the processor 720 of the electronic device 700 to perform the communication angle adjustment method described above. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0121] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above communication angle adjustment method when executed by the programmable device.
[0122] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0123] 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 can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A communication angle adjustment method, characterized in that: include: Determine the current altitude of the electronic device; determining, according to the altitude, a communication angle that needs to be adjusted for the electronic device; According to the communication angle that needs to be adjusted for the electronic device, the user is prompted to make adjustments.
2. The communication angle adjustment method according to claim 1, wherein: Determining the current altitude of the electronic device includes: The altitude of the electronic device is determined by a geomagnetic sensor of the electronic device.
3. The communication angle adjustment method according to claim 1, wherein: The determining, based on the altitude, a communication angle that the electronic device needs to adjust includes: According to the correspondence between the preset altitude and the communication angle that needs to be adjusted, the communication angle that needs to be adjusted for the electronic device based on the basic star-pointing angle is determined. The basic star-pointing angle refers to the star-pointing angle determined by the electronic device at a reference altitude based on the parameters of the electronic device and the satellite.
4. The communication angle adjustment method according to claim 1, wherein: The determining, based on the altitude, a communication angle that the electronic device needs to adjust includes: determining a first distance between the electronic device and the center of the earth according to the altitude; A communication angle that needs to be adjusted for the electronic device is determined according to the first distance.
5. The communication angle adjustment method according to claim 4, characterized in that: The communication angles that the electronic device needs to adjust include: a target horizontal angle and a target pitch angle; The determining, based on the first distance, a communication angle that the electronic device needs to adjust includes: Determining a radiation angle of an antenna of the electronic device according to a wavelength of the antenna and an aperture of the antenna; determining the target horizontal angle according to the radiation angle, the first distance, a second distance from the satellite to the center of the earth, and an original angle between the electronic device and a horizontal plane; The target pitch angle is determined according to the radiation angle, the second distance, and the original angle.
6. The communication angle adjustment method according to any one of claims 1 to 5, characterized in that: The step of prompting a user to adjust the communication angle of the electronic device according to the adjustment required therefor includes: The communication angle that needs to be adjusted of the electronic device is displayed to the user through the display interface of the electronic device, and during the process of the user adjusting the angle of the electronic device, the displayed communication angle is updated according to the adjustment target and the actual angle of the electronic device until the user adjusts the electronic device to the adjustment target.
7. A communication angle adjustment device, characterized in that: include: A first determining module is configured to determine the current altitude of the electronic device; a second determining module, configured to determine a communication angle that needs to be adjusted for the electronic device according to the altitude; The prompt module is configured to prompt the user to adjust the communication angle of the electronic device according to the communication angle that needs to be adjusted.
8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the communication angle adjustment method according to any one of claims 1 to 6.
9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the communication angle adjustment method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the communication angle adjustment method according to any one of claims 1 to 6 are implemented.