Terminal equipment and communication control method
By monitoring the signal quality in the terminal device and switching the antenna mode to the directional antenna, and combining the display screen to prompt the user to adjust the attitude, so that the directional antenna is aligned with the base station antenna, the problems of interruption during calls and slow Internet access caused by poor signal quality are solved, and a more stable communication connection is achieved.
Patent Information
- Application Number
- CN202311320323.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2025-04-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the signal quality between the terminal equipment and the base station is poor, it will cause interruption during calls and slow access to the Internet. The addition of the auxiliary power amplifier in the prior art can only unilaterally increase the uplink transmission power, which fails to effectively improve the downlink reception capability.
By monitoring the signal quality parameters, when it is less than a certain threshold and the terminal device is transmitting data, the antenna mode is switched from an omnidirectional antenna to a directional antenna, and the user is prompted to adjust the spatial attitude of the terminal device through the display screen to align the main beam of the directional antenna with the main beam of the serving base station antenna.
In the case of poor signal quality, the uplink transmission power and downlink reception capabilities of the terminal equipment can be effectively enhanced through the use of the directional antenna mode, and the call quality and Internet access experience can be improved.
Smart Images

Figure CN119834826A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a terminal device and a communication control method. Background Art
[0002] Wireless communication has been widely used in all aspects of life. Therefore, the usage scenarios of terminal devices are becoming more and more abundant. During the use of terminal devices, if the terminal device is far away from the base station, it may cause poor communication signals between the terminal device and the base station. This problem is more significant especially when the terminal device is at the edge of the base station coverage.
[0003] At present, the method to improve signal quality mainly focuses on adding auxiliary power amplifiers to terminal devices. However, adding auxiliary power amplifiers can only unidirectionally increase the uplink transmission power of terminal devices, while the downlink receiving capability of terminal devices is not improved. Moreover, if the terminal device is in a weak signal area, there will still be a problem of poor communication signal between the terminal device and the base station, causing users to have intermittent calls or slow Internet access. Summary of the invention
[0004] In order to solve the above-mentioned problems in the prior art, the embodiments of the present application provide a terminal device and a communication control method, which can improve the smoothness of data transmission.
[0005] In a first aspect, an embodiment of the present application provides a terminal device, including a display screen, an antenna, and a processor;
[0006] The display screen is configured to display an interface of the terminal device when it is running;
[0007] The processor is configured to, during the operation of the terminal device, when it is monitored that the signal quality parameter is less than the first threshold and the terminal device is transmitting data, control the antenna operation mode of the terminal device to switch from the omnidirectional antenna mode to the directional antenna mode;
[0008] The first posture prompt information is displayed through the display screen; the first posture prompt information is used to prompt the user to control the terminal device so that the coordinate system of the terminal device coincides with the coordinate system of the serving base station; the coordinate system of the serving base station is the coordinate system of the base station currently providing communication services for the terminal device;
[0009] When it is detected that the coordinate system of the terminal device coincides with the coordinate system of the serving base station, the target posture of the terminal device is determined according to the antenna beam direction and the target beam direction of the antenna; the antenna beam direction is determined according to the azimuth angle and the elevation angle of the main beam of the antenna; the target beam direction is determined according to the azimuth angle of the terminal device relative to the serving base station and the downtilt angle of the serving base station;
[0010] The second posture prompt information is displayed through the display screen; the second posture prompt information is used to prompt the user to adjust the spatial posture of the terminal device to the target posture.
[0011] In a possible implementation, the processor is specifically configured to:
[0012] When it is monitored that the signal quality parameter is less than the first threshold value and the terminal device is transmitting data, the mode switching prompt information is displayed through the display screen; the mode switching prompt information is used to prompt the user to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode;
[0013] In response to a user input operation of switching the antenna operation mode, the antenna operation mode is switched from the omnidirectional antenna mode to the directional antenna mode.
[0014] In a possible implementation, the processor is specifically configured to:
[0015] Determine antenna beam directions corresponding to a plurality of spatial postures, respectively; wherein the antenna beam direction corresponding to any spatial posture is the direction of the main beam of the antenna when the terminal device is in any of the spatial postures;
[0016] The spatial posture corresponding to the beam direction consistent with the target beam direction is taken as the target posture.
[0017] In a possible implementation, the first posture prompt information includes: the terminal device is placed horizontally, and the angle that the user needs to rotate the terminal device; the second posture prompt information includes: the angle that the user needs to rotate the terminal device along the Z axis, Y axis, and X axis of the terminal device coordinate system.
[0018] In a possible implementation, the first posture prompt information and the second posture prompt information change in real time according to changes in the spatial posture of the terminal device.
[0019] In a possible implementation, the processor is configured to:
[0020] The azimuth of the terminal device relative to the serving base station is determined based on the location information of the terminal device and the pre-stored location information of the serving base station; the location information of the terminal device is acquired by the terminal device in real time.
[0021] In a possible implementation, the processor is configured to:
[0022] When it is monitored that the signal quality parameter is less than a second threshold, the base station deployment information of the serving base station is downloaded and saved; the base station deployment information includes the location information and downtilt angle of the serving base station; the second threshold is greater than the first threshold.
[0023] In a second aspect, an embodiment of the present application provides a communication control method, the method comprising:
[0024] During the operation of the terminal device, when it is monitored that the signal quality parameter is less than a first threshold and the terminal device is transmitting data, controlling the antenna operation mode of the terminal device to switch from an omnidirectional antenna mode to a directional antenna mode;
[0025] Outputting first posture prompt information; the first posture prompt information is used to prompt the user to control the terminal device so that the coordinate system of the terminal device coincides with the coordinate system of the serving base station; the serving base station coordinate system is the coordinate system of the base station currently providing communication services for the terminal device;
[0026] When it is detected that the coordinate system of the terminal device coincides with the coordinate system of the serving base station, the target posture of the terminal device is determined according to the antenna beam direction and the target beam direction of the antenna; the antenna beam direction is determined according to the azimuth angle and the elevation angle of the main beam of the antenna; the target beam direction is determined according to the azimuth angle of the terminal device relative to the serving base station and the downtilt angle of the serving base station;
[0027] Output second posture prompt information; the second posture prompt information is used to prompt the user to adjust the spatial posture of the terminal device to the target posture.
[0028] In a possible implementation, controlling the antenna operation mode of the terminal device to switch from an omnidirectional antenna mode to a directional antenna mode includes:
[0029] Outputting mode switching prompt information; the mode switching prompt information is used to prompt the user to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode;
[0030] In response to a user input operation of switching the antenna operation mode, the antenna operation mode is switched from the omnidirectional antenna mode to the directional antenna mode.
[0031] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the communication control method is implemented.
[0032] The present application provides a terminal device and a communication control method. When it is monitored that the signal quality parameter is less than a first threshold value and the terminal device is transmitting data, the antenna operation mode of the terminal device is controlled to switch from an omnidirectional antenna mode to a directional antenna mode. The directional antenna mode can concentrate the transmit power and the receive power in a specific direction, thereby enhancing the ability to transmit and receive signals in a specific direction, so that even when the signal quality is poor, basic communication needs can be met. The first posture prompt information and the second posture prompt information are then displayed on the display screen to prompt the user to adjust the spatial posture of the terminal device to the target posture. When the terminal device is in the target posture, the main beam of the directional antenna of the terminal device is relative and parallel to the main beam of the antenna of the service base station, and the spatial link loss between the terminal device and the service base station is minimized. Even if the terminal device is in a weak signal area, there is no need to add additional devices. The uplink transmit power and downlink receiving capability of the terminal device will be enhanced, making user calls and use of networked applications smoother. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 A hardware configuration block diagram of a terminal device provided in an embodiment of the present application;
[0035] Figure 2 A software structure block diagram of a terminal device provided in an embodiment of the present application;
[0036] Figure 3 A flow chart of a communication control method provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of a mode switching prompt information provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of a mode switching success prompt provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of horizontal radiation of an omnidirectional antenna and a directional antenna provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of a first position prompt information provided in an embodiment of the present application;
[0041] Figure 8A schematic diagram of a horizontally placed terminal device and a coordinate system provided in an embodiment of the present application;
[0042] Fig. 9 A schematic diagram of a prompt for successfully placing a terminal device provided in an embodiment of the present application;
[0043] Fig.10 A schematic diagram of the azimuth and elevation angles of a main beam of a directional antenna provided in an embodiment of the present application;
[0044] Fig.11 A schematic diagram of an azimuth angle and downtilt angle of a serving base station relative to a terminal device provided in an embodiment of the present application;
[0045] Fig.12 A schematic diagram of a second posture prompt information provided in an embodiment of the present application;
[0046] Fig.13 A schematic diagram of another successful placement prompt of a terminal device provided in an embodiment of the present application;
[0047] Fig.14 A flow chart of a communication control method provided in an embodiment of the present application;
[0048] Fig.15 A structural block diagram of a terminal device provided in an embodiment of the present application;
[0049] Fig.16 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0051] It should be noted that the application scenarios described in the following embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. A person of ordinary skill in the art can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0052] At present, the method to improve signal quality mainly focuses on adding auxiliary power amplifiers to terminal devices. However, adding auxiliary power amplifiers can only unidirectionally increase the uplink transmission power of terminal devices, while the downlink receiving capability of terminal devices is not improved. If the terminal device is in a weak signal area, there will still be a problem of poor communication signal between the terminal device and the base station, causing users to have intermittent calls or slow Internet access, seriously affecting the user experience.
[0053] Based on this, the present application provides a terminal device and a communication control method. When it is monitored that the signal quality parameter is less than the first threshold value and the terminal device is transmitting data, the antenna operation mode of the terminal device is controlled to switch from the omnidirectional antenna mode to the directional antenna mode. The ability of the directional antenna mode to receive and transmit signals in a specific direction is better than that of the omnidirectional antenna mode. The first posture prompt information and the second posture prompt information are then displayed on the display screen to prompt the user to adjust the spatial posture of the terminal device to the target posture. When the terminal device is in the target posture, the main beam of the directional antenna of the terminal device is relative and parallel to the main beam of the service base station antenna, and the spatial link loss between the terminal device and the service base station is minimized. Even if the terminal device is in a weak signal area, there is no need to add additional devices. The uplink transmission power and downlink receiving capability of the terminal device will be enhanced, making user calls and use of networked applications smoother.
[0054] Figure 1 exemplarily shows a hardware configuration block diagram of the terminal device 100. Figure 1 As shown, the terminal device 100 includes: a radio frequency (RF) circuit 110, a processor 120, a memory 130, an input component 141, a display screen 142, an audio circuit 150, a wireless fidelity (Wi-Fi) module 160 and a sensor 170 and other components.
[0055] The RF circuit 110 can be used to receive and send signals during the process of sending and receiving information or making calls. It can receive downlink data from the base station and hand it over to the processor 120 for processing; it can send uplink data to the base station. Generally, the RF circuit includes but is not limited to antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer and other devices.
[0056] The memory 130 can be used to store data or program codes used when the terminal device 100 is running. The processor 120 executes various functions and data processing of the terminal device 100 by running the data or program codes stored in the memory 130. The memory 130 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 130 stores an operating system that enables the terminal device 100 to run. In the present application, the memory 130 can store an operating system and various application programs, and can also store code for executing the method described in the embodiment of the present application.
[0057] The input component 141 disposed on the front of the terminal device 100 can be used to receive input digital or character information and generate signal input related to the user settings and function control of the terminal device 100. Specifically, the input component 141 can collect the user's touch operations on or near it, such as clicking a button, dragging a scroll box, and the like. The display screen 142, which is also disposed on the front of the terminal device 100, can be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the terminal device 100. Specifically, the input component 141 can be covered on the display screen 142, or the input component 141 can be integrated with the display screen 142 to realize the input and output functions of the terminal device 100.
[0058] The terminal device 100 may also include at least one sensor 170, such as an acceleration sensor 171, a distance sensor 172, a fingerprint sensor 173, and a temperature sensor 174. The terminal device 100 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor. For example, the fingerprint sensor 173 may be used to sense that a user clicks a button or an application icon on the operation interface of the terminal device 100.
[0059] The audio circuit 150, the speaker 151, and the microphone 152 can provide an audio interface between the user and the terminal device 100. The audio circuit 150 can transmit the electrical signal converted from the received audio data to the speaker 151, which is converted into a sound signal for output. The terminal device 100 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 152 converts the collected sound signal into an electrical signal, which is received by the audio circuit 150 and converted into audio data, and then outputs the audio data to the RF circuit 110 to send to, for example, another terminal, or outputs the audio data to the memory 130 for further processing. In this application, the microphone 152 can obtain the user's voice.
[0060] Wi-Fi is a short-range wireless transmission technology. The terminal device 100 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 160, which provides users with wireless broadband Internet access.
[0061] The processor 120 is the control center of the terminal device 100, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs stored in the memory 130, and calling data stored in the memory 130, the processor 120 performs various functions of the terminal device 100 and processes data. In some embodiments, the processor 120 may include one or more processing units. In the present application, the processor 120 can run an operating system, an application program, a user interface display and a touch response, and an application calling method provided in an embodiment of the present application. In addition, the processor 120 can be coupled to the input component 141 and the display screen 142.
[0062] In an embodiment of the present application, during the operation of the terminal device 100, the processor 120 displays a mode switching prompt message through the display screen 142 in response to the user being on a call or using an online application when a signal quality parameter is less than a first threshold value, for prompting the user to switch the antenna operation mode of the terminal device 100 from the omnidirectional antenna mode to the directional antenna mode. If the processor 120 receives an operation from the user through the input component 141 to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode, the first posture prompt message is displayed through the display screen 142 for prompting the user to place the terminal device so that the coordinate system of the terminal device 100 coincides with the coordinate system of the service base station, and the target posture of the terminal device 100 is determined according to the current beam direction of the antenna and the target beam direction, and the second posture information is displayed through the display screen 142 for prompting the user to adjust the spatial posture of the terminal device 100 to the target posture.
[0063] Optionally, the terminal device 100 may also include a Bluetooth module for exchanging information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the terminal device 100 may establish a Bluetooth connection with other terminal devices (such as a tablet computer) that also have Bluetooth modules through the Bluetooth module to exchange data.
[0064] The terminal device 100 may also include a camera for capturing still images or videos. The camera may be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 120 for conversion into a digital image signal.
[0065] The terminal device 100 may also include a peripheral interface, such as the USB interface mentioned above, for connecting a charging cable or other peripherals.
[0066] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0067] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0068] Content providers are used to store and retrieve data and make it accessible to applications. The data may include alarm data, videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0069] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0070] The phone manager is used to provide communication functions for terminal devices, such as the management of call status (including connected, hung up, etc.). The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0071] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal vibrates, the indicator light flashes, etc.
[0072] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0073] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0074] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0075] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc. Among them, the 3D graphics processing library and 2D graphics engine are both public camera resources.
[0076] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0077] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0078] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0079] A 2D graphics engine is a drawing engine for 2D drawings.
[0080] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0081] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed or executed in parallel in the actual processing process or when the device is executed in accordance with the method sequence shown in the embodiment or drawings.
[0082] Figure 3 FIG. 1 is a flow chart of a communication control method provided by an embodiment of the present application. Figure 3 As shown, the method may include the following steps:
[0083] Step S301, during the operation of the terminal device, when it is monitored that the signal quality parameter is less than the first threshold and the terminal device is transmitting data, the antenna operation mode of the terminal device is controlled to switch from the omnidirectional antenna mode to the directional antenna mode.
[0084] Among them, the monitored signal quality parameter can be SINR, or it can be RSSI, RSRP, RSRQ and other parameters that can measure the quality of communication signals, which are not limited in this application. When the signal quality parameter is less than the first threshold, the terminal device may be intermittent during calls, or even unable to make calls, Internet access services may also be stuck, or even unable to use the Internet, seriously affecting the user's use of terminal equipment for data transmission services. For example, if the signal quality parameter is RSSI, the first threshold can be -100dBm, or -105dBm or -95dBm. If the signal quality parameter is different, the first threshold may also take different values, which are not limited in this application.
[0085] In a possible embodiment, when a signal quality parameter is monitored to be less than a first threshold and the terminal device is performing data transmission, the processor of the terminal device can control the antenna operation mode of the terminal device to automatically switch from an omnidirectional antenna mode to a directional antenna mode, without the need for the user to manually control whether the terminal device switches the antenna operation mode.
[0086] In another possible embodiment, the mode switching prompt information may be as follows: Figure 4 As shown, it is used to prompt the user to switch the antenna operation mode of the terminal device from the omnidirectional antenna mode to the directional antenna mode, wherein the user can choose whether to switch the antenna operation mode to the directional antenna mode; if the user chooses to agree to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode, the user can click the yes button 401; if the user chooses to refuse to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode, the user can click the no button 402. After the user clicks the yes button 401, the following may be displayed Figure 5 The prompt message showing successful switching of the antenna operation mode is shown.
[0087] Specifically, when the antenna operation mode of the terminal device is an omnidirectional antenna mode, such as Figure 6 As shown by the dotted line in the figure, the omnidirectional antenna mode shows 360° uniform radiation in the horizontal direction diagram without a specific direction; when the antenna operation mode of the terminal device is the directional antenna mode, such as Figure 6As shown by the solid line in the figure, the directional antenna mode radiates within a certain angle range in the horizontal radiation pattern, with a specific direction. Usually, the antenna of the terminal equipment is debugged and produced according to the omnidirectional antenna mode when it leaves the factory, but the advantage of the directional antenna mode over the omnidirectional antenna mode is that in a specific direction, the gain of the directional antenna mode is usually higher than the gain of the omnidirectional antenna mode in the direction, which means that the ability of the directional antenna mode to receive and transmit signals in a specific direction is better than that of the omnidirectional antenna mode.
[0088] Step S302, outputting the first posture prompt information, which is used to prompt the user to control the terminal device so that the coordinate system of the terminal device coincides with the coordinate system of the service base station.
[0089] The service base station coordinate system is the coordinate system of the base station currently providing communication services to the terminal device. The first position prompt information can be as follows: Figure 7 As shown, it can be used to prompt the user to place the terminal device so that the coordinate system of the terminal device can coincide with the coordinate system of the service base station. For example, if the coordinate system of the service base station is considered to be the northwest celestial coordinate system, the user can be prompted to place the terminal device horizontally with the screen facing upward, that is, to keep the terminal device parallel to the horizontal plane of the earth; and then combined with the relevant information transmitted by the geomagnetic sensor in the terminal device, the coordinate system of the terminal device is adjusted to coincide with the northwest celestial coordinate system, such as Figure 8 As shown, the direction along the mobile phone screen pointing to the top of the terminal device is the positive direction of the X axis, and the direction pointing to the bottom of the terminal device is the negative direction of the X axis; when the top of the smart terminal faces north, the direction along the screen of the terminal device perpendicular to the X axis to the left is the positive direction of the Y axis, and the direction to the right is the negative direction of the Y axis; the terminal device is placed horizontally with the screen facing up, the direction perpendicular to the screen upward is the positive direction of the Z axis, and the direction perpendicular to the screen downward is the negative direction of the Z axis, that is, the smart terminal is placed horizontally with the screen facing up, the positive direction of the X axis of the smart terminal carrier coordinate points to the north, the positive direction of the Y axis points to the west, and the positive Z axis points to the zenith. Among them, the North West Sky coordinate system can also be other commonly used coordinate systems, such as the Northeast Sky coordinate system, etc. If different coordinate systems are selected, the order of subsequent operations and calculation formulas are slightly different, which will not be repeated here in this application. The North West Sky coordinate system is used as an example for further explanation.
[0090] It should be noted that when the user rotates the terminal device clockwise or counterclockwise and has not rotated it to the final position, the first posture prompt information can change in real time according to the user's rotation. For example, if the initial first posture prompt information is "Please lay the phone flat and rotate it 36° clockwise", after the user lays the terminal device flat, the first posture prompt information changes to "Please rotate the phone 36° clockwise"; when the user rotates the phone 10° clockwise, the first posture prompt information changes to "Please rotate the phone 26° clockwise"; when the user completes the placement of the terminal device according to the first posture prompt information, it can be displayed as follows Fig. 9The prompt information of successful placement is shown.
[0091] Step S303, when it is detected that the coordinate system of the terminal device coincides with the coordinate system of the serving base station, the target posture of the terminal device is determined according to the antenna beam direction and the target beam direction of the antenna.
[0092] In a possible embodiment, the antenna beam direction may include the azimuth angle and elevation angle of the main beam of the directional antenna, such as Fig.10 As shown, OP represents the radiation direction of the main beam of the directional antenna, the projection of OP on the XOY plane is OA, the direction of OA can be expressed as ON, the azimuth angle of the main beam of the antenna can be defined as the angle between OA and the X-axis, that is, ∠XON; the elevation angle of the main beam of the antenna can be defined as the angle between OP and OA, that is, ∠POA. Among them, if PO coincides with OA, ∠POA = 0, if PO coincides with the positive half axis of the z-axis, ∠POA = π / 2, if PO coincides with the negative half axis of the z-axis, ∠POA = -π / 2. It should be noted that the azimuth and elevation angle information of the main beam of the directional antenna of the terminal device can be obtained in real time through actual antenna measurement or antenna simulation, and is not limited here.
[0093] In one possible embodiment, the target beam direction may include: Fig.11 The azimuth angle and downtilt angle of the service base station relative to the terminal device are shown, wherein when the above-mentioned signal quality parameter is monitored to be less than the second threshold, the base station deployment information of the current service base station is downloaded and saved, and the base station deployment information includes the location information and downtilt angle of the service base station. Therefore, it is only necessary to determine the azimuth angle of the service base station relative to the terminal device. It should be noted that the second threshold is greater than the first threshold, that is, before the user receives the mode switching prompt information, the terminal device will automatically download the base station deployment information of the current service base station. For example, if the first threshold is -100dBm, the second threshold can be -85dBm or -80dBm, and the value of the second threshold is not limited here.
[0094] In a possible implementation, the azimuth of the terminal device can be determined based on the location information of the terminal device and the location information of the serving base station. The location information of the terminal device can be obtained by the terminal device in real time, and the location information of the serving base station can be determined by the above-mentioned base station deployment information, wherein the location information of the terminal device and the location information of the serving base station can both be expressed in the form of longitude and latitude. For example, if the location information of the serving base station determined from the base station deployment information is (A j , A w ) The terminal device obtains the current location information as (B j , B w ), the azimuth of the terminal device relative to the base station can be determined That is to say, the horizontal angle between the direction line from the north direction of the terminal device as the starting direction line and the direction line from the service base station in the clockwise direction, that is, the azimuth angle σ of the terminal device relative to the base station, can be expressed as
[0095] For example, when the azimuth angle σ of the terminal device relative to the base station is 0, if the azimuth angle ω of the main beam of the antenna is 0, and the pitch angle φ is not equal to 0, the terminal device is rotated (φ-δ) degrees around the Y axis in combination with the acceleration sensor and gyroscope information. If (φ-δ) is positive, it is rotated counterclockwise by (|φ-δ|) degrees according to the right-hand coordinate system criterion. If (φ-δ) is negative, it is rotated clockwise by (|φ-δ|) degrees according to the right-hand coordinate system criterion, and the target posture of the terminal device can be determined; if the pitch angle φ of the main beam of the antenna is 0, and the azimuth angle ω is not equal to 0 The terminal device can combine the geomagnetic sensor and gyroscope information to rotate the terminal device counterclockwise around the Z axis by ω degrees according to the right-hand coordinate system, and then combine the acceleration sensor and gyroscope information to rotate the smart terminal along the Y axis of the smart terminal carrier coordinate system by δ degrees clockwise according to the right-hand coordinate system criterion to determine the target posture of the terminal device; and when the azimuth angle σ of the terminal device relative to the base station is not 0, the user needs to rotate the terminal device in the order of the Z axis, Y axis, and X axis of the terminal device coordinate system to determine the target posture of the terminal device.
[0096] Specifically, firstly, the geomagnetic sensor and gyroscope information in the terminal device are combined to obtain the geomagnetic field deviation angle and the inclination angle of the terminal device respectively, so as to determine the angle γ that the terminal device needs to rotate along the Z axis of the terminal device coordinate system. If γ is positive, then rotate γ counterclockwise according to the right-hand coordinate system criterion. If γ is negative, then rotate |γ| clockwise according to the right-hand coordinate system criterion, where the value range of γ is [-π, π]. Then, the acceleration sensor and gyroscope information are combined to determine the angle γ that the terminal device needs to rotate along the Y axis of the terminal device coordinate system. The rotation angle β, if β is positive, then rotate β counterclockwise according to the right-hand coordinate system criterion; if β is negative, then rotate |β| clockwise according to the right-hand coordinate system criterion, where the value range of β is [-π / 2, π / 2]; finally, combine the acceleration sensor and gyroscope information to determine the angle α that the terminal device needs to rotate along the X-axis of the terminal device coordinate system. If α is positive, then rotate α counterclockwise according to the right-hand coordinate system criterion; if α is negative, then rotate |α| clockwise according to the right-hand coordinate system criterion, where the value range of α is [-π, π].
[0097] Specifically,
[0098]
[0099] β=arcsin(sinθn x -(1-cosθ)n xn z )
[0100]
[0101] Among them, θ represents the spatial plane angle between the initial pointing direction of the directional antenna and the target pointing direction of the directional antenna of the smart terminal in the current terminal device coordinate system, which is represented by a vector, that is, the initial pointing vector of the directional antenna Pointing vector with target The spatial plane angle between them, where the initial pointing vector of the directional antenna It can be expressed as (sinφcosω, sinφsinω, cosφ); and the target pointing vector It can be expressed as (sinδcosσ,sinδsinσ,cosδ). Therefore, =arccos(sinφcosωsinδcosσ+sinφsinωsinδsinσ+cosφcosδ).
[0102] In the above formula, in addition to θ, it is also important to note that It is expressed as the initial pointing vector perpendicular to the directional antenna in the terminal device coordinate system. Pointing vector with target The normal vector of the plane formed by the unit vector can be expressed as in,
[0103] In the formula:
[0104] n x =sinφsinωcosδ-sinδsinσcosφ;
[0105] n y =-sinφcosωcosδ+sinδsinσcosφ;
[0106] n z =sinφcosωsinδsinσ-sinδcosσsinφsinω.
[0107] For example, if the location information of the service base station, i.e., the longitude and latitude, is (120.506759, 36.200283), the downtilt angle is 60°, and the location information of the terminal device, i.e., the longitude and latitude, is (120.501869, 36.196337), it can be calculated that the azimuth angle of the terminal device relative to the service base station is 45°. Assuming that the azimuth angle of the main beam of the directional antenna is 60° and the elevation angle is 30°, it can be obtained according to the above formula that α = -11.36°, β = -9.78°, and γ = -5.13°. The user needs to make the terminal device follow the coordinate system of the terminal device. The Z axis, Y axis, and X axis are rotated in the order of rotation, that is, firstly, the geomagnetic sensor and gyroscope information are combined to rotate 5.13° clockwise along the Z axis of the smart terminal carrier coordinate system according to the right-hand coordinate system criterion; then, the acceleration sensor and gyroscope information are combined to make the smart terminal rotate 9.78° clockwise along the Y axis of the smart terminal carrier coordinate system according to the right-hand coordinate system criterion; finally, the acceleration sensor and gyroscope information are combined to make the smart terminal rotate 11.36° clockwise along the X axis of the smart terminal carrier coordinate system according to the right-hand coordinate system criterion. After the operation is completed, the target posture of the terminal device can be obtained.
[0108] It should be noted that the present application is described in the rotation order of the ZYX axes, and the above rotation angles α, β, γ may vary due to different rotation orders of the coordinate axes. Other situations will not be discussed here.
[0109] After step S303 is completed, that is, after the target posture of the terminal device is determined, step S304 may be performed.
[0110] Step S304: output second posture prompt information to prompt the user to adjust the spatial posture of the terminal device to the target posture.
[0111] In a possible embodiment, the second posture information may be as follows: Fig.12 As shown, it is used to prompt the user to adjust the spatial posture of the terminal device to the target posture. It should be noted that when the user is adjusting the target posture of the terminal device, the second posture information can change in real time according to the user's adjustment. For example, the initial second posture information is "Please lift the front end of the phone 46° and rotate the phone clockwise 12°". If the user first lifts the front end of the phone 22°, the second posture information becomes "Please lift the front of the phone 24° and rotate the phone clockwise 12°". After the user lifts the phone to the target height, the second posture information becomes "Please rotate the phone clockwise 12°". After the user completes the adjustment of the spatial posture of the terminal device according to the second posture information, it can be displayed as follows Fig.13 The prompt information of successful placement is shown.
[0112] From the above content, it can be seen that even if the terminal device is in a weak signal area, there is no need to add additional devices. The spatial posture of the terminal device can be adjusted so that the main beam of the terminal device's directional antenna is relative and parallel to the main beam of the service base station antenna. This can enhance the uplink transmission power and downlink receiving capability of the terminal device, improve call quality and Internet experience, and greatly enhance the user experience of using terminal devices in weak signal areas.
[0113] The present application embodiment provides a detailed communication control method, such as Fig.14 As shown, the communication control method includes the following steps:
[0114] Step S1401, monitor the current signal quality index and determine whether the current signal index is less than a second threshold. If so, execute step S1402; if not, return to execute step S1401.
[0115] Step S1402: Acquire base station deployment information of the current serving base station.
[0116] Step S1403, monitor the current signal quality index and determine whether the current signal index is less than the first threshold. If so, execute step S1404; if not, return to execute step S1403.
[0117] Step S1404, monitor whether the user is transmitting data, if so, execute step S1405; if not, return to execute step S1404.
[0118] Step S1405, controlling the antenna operation mode of the terminal device to switch from the omnidirectional antenna mode to the directional antenna mode.
[0119] Step S1406, output the first posture prompt information, prompt the user to control the terminal device so that the terminal device coordinate system coincides with the service base station coordinate system, and update the prompt information in real time until the user completes the placement.
[0120] Step S1407, determining the target posture of the terminal device according to the antenna beam direction and the target beam direction of the antenna.
[0121] Step S1408, outputting a second posture prompt information, prompting the user to adjust the spatial posture of the terminal device to the target posture, and updating the prompt information in real time until the user completes the adjustment.
[0122] Based on the same inventive concept, an embodiment of the present invention further provides a structural block diagram of a terminal device, such as Fig.15 As shown, the terminal device includes:
[0123] The operation mode switching unit 1501 is used to control the antenna operation mode of the terminal device to switch from an omnidirectional antenna mode to a directional antenna mode when, during the operation of the terminal device, it is monitored that the signal quality parameter is less than a first threshold and the terminal device is transmitting data.
[0124] The first posture prompt unit 1502 is used to display the first posture prompt information through the display screen; the first posture prompt information is used to prompt the user to control the terminal device so that the coordinate system of the terminal device coincides with the coordinate system of the service base station; the service base station coordinate system is the coordinate system of the base station currently providing communication services for the terminal device.
[0125] The target attitude determination unit 1503 is used to determine the target attitude of the terminal device according to the antenna beam direction and the target beam direction of the antenna when it is detected that the coordinate system of the terminal device coincides with the coordinate system of the serving base station; the antenna beam direction is determined according to the azimuth angle and the pitch angle of the main beam of the antenna; the target beam direction is determined according to the azimuth angle of the terminal device relative to the serving base station, and the downtilt angle of the serving base station.
[0126] The second posture prompting unit 1504 is used to display second posture prompting information through the display screen; the second posture prompting information is used to prompt the user to adjust the spatial posture of the terminal device to the target posture.
[0127] In an optional implementation, the operation mode switching unit 1501 is specifically configured to:
[0128] When it is monitored that the signal quality parameter is less than the first threshold value and the terminal device is transmitting data, the mode switching prompt information is displayed through the display screen; the mode switching prompt information is used to prompt the user to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode;
[0129] In response to a user input operation of switching the antenna operation mode, the antenna operation mode is switched from the omnidirectional antenna mode to the directional antenna mode.
[0130] In an optional implementation, the target posture determination unit 1503 is specifically used to: determine the antenna beam directions corresponding to the multiple spatial postures respectively; wherein the antenna beam direction corresponding to any spatial posture is the direction of the main beam of the antenna when the terminal device is in any spatial posture;
[0131] The spatial posture corresponding to the beam direction consistent with the target beam direction is taken as the target posture.
[0132] In an optional embodiment, the first posture prompt unit 1502 is specifically used for: the first posture prompt information includes: the terminal device is placed horizontally, and the angle at which the user needs to rotate the terminal device; the second posture prompt information includes: the angle at which the user needs to rotate the terminal device along the Z axis, Y axis, and X axis of the terminal device coordinate system.
[0133] In an optional implementation, the target posture determination unit 1503 is specifically used to determine the azimuth of the terminal device relative to the service base station based on the location information of the terminal device and the pre-stored location information of the service base station; the location information of the terminal device is acquired in real time by the terminal device.
[0134] In an optional implementation, the target posture determination unit 1503 is specifically used to download and save the base station deployment information of the service base station when it is monitored that the signal quality parameter is less than a second threshold; the base station deployment information includes the location information and downtilt angle of the service base station; the second threshold is greater than the first threshold.
[0135] An embodiment of the present application also provides a terminal device, which can be used to execute the process of an application calling method.
[0136] Fig.16 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Fig.16 As shown, the terminal device 1600 includes a memory 1601, a processor 1602, a display screen 1603, an input component 1604, and a bus 1605. The memory 1601, the processor 1602, the display screen 1603, and the input component 1604 are all connected via the bus 1605, and the bus 1605 is used to transmit data between the memory 1601, the processor 1602, the display screen 1603, and the input component 1604.
[0137] Among them, the memory 1601 can be used to store software programs and modules, and the processor 1602 executes various functional applications and data processing of the terminal device 1600 by running the software programs and modules stored in the memory 1601, such as the application calling method provided in any embodiment of the present application. The memory 1601 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application application, etc.; the data storage area can store data created according to the use of the terminal device 1600, etc. In addition, the memory 1601 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0138] The processor 1602 is the control center of the terminal device 1600, and uses the bus 1605 and various interfaces and lines to connect the various parts of the entire terminal device 1600. By running or executing the software program and / or module stored in the memory 1601, and calling the data stored in the memory 1601, the processor performs various functions of the terminal device 1600 and processes data. For example, the processor can execute the application calling method provided in any embodiment of the present application. Optionally, the processor 1602 may include one or more processing units, such as a CPU, a GPU (Graphics Processing Unit), a digital processing unit, etc.
[0139] The display screen 1603 can be used to display prompt information. The input component 1604 can collect the user's touch operations on or near it, such as clicking a button, dragging a scroll box, etc.
[0140] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the application program calling method provided by the embodiment of the present application is implemented.
[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0142] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0143] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0145] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A terminal device, characterized in that: Includes display, antenna and processor; The display screen is configured to display an interface of the terminal device when it is running; The processor is configured to: During the operation of the terminal device, when it is monitored that the signal quality parameter is less than a first threshold and the terminal device is transmitting data, controlling the antenna operation mode of the terminal device to switch from an omnidirectional antenna mode to a directional antenna mode; Displaying the first posture prompt information through the display screen; the first posture prompt information is used to prompt the user to control the terminal device so that the coordinate system of the terminal device coincides with the coordinate system of the serving base station; The serving base station coordinate system is the coordinate system of the base station currently providing communication services for the terminal device; When it is detected that the coordinate system of the terminal device coincides with the coordinate system of the serving base station, determining the target posture of the terminal device according to the antenna beam direction and the target beam direction of the antenna; The antenna beam direction is determined according to the azimuth and elevation angles of the main beam of the antenna; the target beam direction is determined according to the azimuth angle of the terminal device relative to the serving base station and the downtilt angle of the serving base station; The second posture prompt information is displayed through the display screen; the second posture prompt information is used to prompt the user to adjust the spatial posture of the terminal device to the target posture.
2. The terminal device according to claim 1, characterized in that: The processor is specifically configured to: When it is monitored that the signal quality parameter is less than the first threshold value and the terminal device is transmitting data, the mode switching prompt information is displayed through the display screen; the mode switching prompt information is used to prompt the user to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode; In response to a user input operation of switching the antenna operation mode, the antenna operation mode is switched from the omnidirectional antenna mode to the directional antenna mode.
3. The terminal device according to claim 1, characterized in that: The processor is specifically configured to: Determine antenna beam directions corresponding to a plurality of spatial postures, respectively; wherein the antenna beam direction corresponding to any spatial posture is the direction of the main beam of the antenna when the terminal device is in any of the spatial postures; The spatial posture corresponding to the beam direction consistent with the target beam direction is taken as the target posture.
4. The terminal device according to claim 1, characterized in that: The first posture prompt information includes: the terminal device is placed horizontally, and the angle that the user needs to rotate the terminal device; the second posture prompt information includes: the angle that the user needs to rotate the terminal device along the Z axis, Y axis, and X axis of the terminal device coordinate system.
5. The terminal device according to claim 4, characterized in that: The first posture prompt information and the second posture prompt information change in real time according to the change of the spatial posture of the terminal device.
6. The terminal device according to claim 1, characterized in that: The processor is configured to: The azimuth of the terminal device relative to the serving base station is determined based on the location information of the terminal device and the pre-stored location information of the serving base station; the location information of the terminal device is acquired by the terminal device in real time.
7. The terminal device according to claim 6, characterized in that: The processor is configured to: When it is monitored that the signal quality parameter is less than the second threshold, downloading and saving the base station deployment information of the serving base station; the base station deployment information includes the location information and downtilt angle of the serving base station; The second threshold is greater than the first threshold.
8. A communication control method, characterized in that: The method comprises: During the operation of the terminal device, when it is monitored that the signal quality parameter is less than a first threshold and the terminal device is transmitting data, controlling the antenna operation mode of the terminal device to switch from an omnidirectional antenna mode to a directional antenna mode; Outputting first posture prompt information; the first posture prompt information is used to prompt the user to control the terminal device so that the coordinate system of the terminal device coincides with the coordinate system of the serving base station; the serving base station coordinate system is the coordinate system of the base station currently providing communication services for the terminal device; When it is detected that the coordinate system of the terminal device coincides with the coordinate system of the serving base station, the target posture of the terminal device is determined according to the antenna beam direction and the target beam direction of the antenna; the antenna beam direction is determined according to the azimuth angle and the elevation angle of the main beam of the antenna; the target beam direction is determined according to the azimuth angle of the terminal device relative to the serving base station and the downtilt angle of the serving base station; Output second posture prompt information; the second posture prompt information is used to prompt the user to adjust the spatial posture of the terminal device to the target posture.
9. The method according to claim 8, characterized in that The controlling the antenna operation mode of the terminal device to switch from an omnidirectional antenna mode to a directional antenna mode includes: Outputting mode switching prompt information; the mode switching prompt information is used to prompt the user to switch the antenna operation mode from the omnidirectional antenna mode to the directional antenna mode; In response to a user input operation of switching the antenna operation mode, the antenna operation mode is switched from the omnidirectional antenna mode to the directional antenna mode.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the method according to claim 8 or 9 is implemented.
Citation Information
Cited By
Multi-mode environment perception adaptive calibration system and method of intelligent projector
CN120786043A