CN110176672B - Method and device for adjusting antenna scanning direction, electronic equipment and storage medium - Google Patents

Method and device for adjusting antenna scanning direction, electronic equipment and storage medium Download PDF

Info

Publication number
CN110176672B
CN110176672B CN201910439111.5A CN201910439111A CN110176672B CN 110176672 B CN110176672 B CN 110176672B CN 201910439111 A CN201910439111 A CN 201910439111A CN 110176672 B CN110176672 B CN 110176672B
Authority
CN
China
Prior art keywords
millimeter wave
wave antenna
electronic equipment
antenna module
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910439111.5A
Other languages
Chinese (zh)
Other versions
CN110176672A (en
Inventor
杨鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910439111.5A priority Critical patent/CN110176672B/en
Publication of CN110176672A publication Critical patent/CN110176672A/en
Application granted granted Critical
Publication of CN110176672B publication Critical patent/CN110176672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q3/00Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system
    • H01Q3/005Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system using remotely controlled antenna positioning or scanning
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q3/00Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system
    • H01Q3/02Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system using mechanical movement of antenna or antenna system as a whole
    • H01Q3/08Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system using mechanical movement of antenna or antenna system as a whole for varying two co-ordinates of the orientation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/24Cell structures
    • H04W16/28Cell structures using beam steering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters

Abstract

The embodiment of the application discloses a method and a device for adjusting the scanning direction of an antenna, electronic equipment and a storage medium, wherein the electronic equipment comprises a millimeter wave antenna module, and the method comprises the following steps: monitoring displacement information of electronic equipment, and judging whether the electronic equipment needs to perform beam adjustment according to the displacement information; when the electronic equipment needs to perform beam adjustment, acquiring an initial beam direction of the millimeter wave antenna module before the electronic equipment generates displacement; and determining a beam adjusting direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjusting direction, so that the scanning direction of the millimeter wave antenna module can still face a millimeter wave base station after the electronic equipment generates displacement, the response speed of beam tracking can be effectively improved, and the communication quality can be effectively guaranteed.

Description

Method and device for adjusting antenna scanning direction, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting a scanning direction of an antenna, an electronic device, and a storage medium.
Background
With the rapid development of communication services, especially personal mobile communication, the low-end frequency of the radio frequency spectrum has become saturated, and cannot meet the requirements of future communication development, and in order to realize high-speed and broadband wireless communication, new frequency spectrum resources are required to be developed towards the high-end of microwaves. The millimeter wave has short wavelength and wide frequency band, and can effectively solve many problems faced by high-speed broadband wireless access, thus having wide application prospect in communication systems.
In general, millimeter wave communication refers to communication using millimeter waves as carriers for transmitting information. In the millimeter wave communication system, the terminal antenna has high directivity, and a user cannot keep still in place all the time when using the terminal, and the beam direction of the terminal antenna may deviate from the original direction due to displacement, and at this time, the response speed of beam tracking may not keep up with, which affects the communication quality.
Disclosure of Invention
The application provides a method, a device, an electronic device and a storage medium for adjusting the scanning direction of an antenna, which can effectively improve the response speed of beam tracking and improve the communication quality.
Specifically, a first aspect of the present application provides a method for adjusting an antenna scanning direction, which is applied to an electronic device, where the electronic device includes a millimeter wave antenna module, and the method includes:
monitoring displacement information of the electronic equipment, and judging whether the electronic equipment needs to perform beam adjustment according to the displacement information;
when the electronic equipment needs to perform beam adjustment, acquiring an initial beam direction of the millimeter wave antenna module before the electronic equipment generates displacement;
and determining a beam adjusting direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjusting direction.
Optionally, the step of determining whether the electronic device needs to perform beam adjustment according to the displacement information includes:
determining whether the displacement distance of the electronic equipment in a preset time period is greater than a preset distance threshold value;
and when the displacement distance of the electronic equipment in a preset time period is greater than the preset distance threshold, determining that the electronic equipment needs to perform beam adjustment.
Optionally, the step of determining, according to the displacement information and the initial beam direction, a beam adjustment direction corresponding to the millimeter wave antenna module includes:
determining a moving direction of the electronic device based on the displacement information;
and determining the beam adjusting direction corresponding to the millimeter wave antenna module based on the change condition of the included angle between the moving direction and the initial beam direction.
Optionally, before the step of monitoring the displacement information of the electronic device, the method further includes:
determining whether a signal strength indication parameter corresponding to the electronic equipment is greater than a preset strength threshold value;
when the signal intensity indication parameter is larger than the preset intensity threshold value, acquiring antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located;
and determining and storing the initial beam direction based on the antenna scanning angle and the coordinate information.
Optionally, the electronic device includes a position sensing component, and the step of obtaining antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located includes:
establishing a spherical coordinate system by taking the millimeter wave antenna module as an origin;
determining a first coordinate of an antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system, and acquiring the first coordinate as the antenna scanning angle information;
and determining a second coordinate of the direction of the normal of the plane where the millimeter wave antenna module is located in the spherical coordinate system by using the orientation sensing assembly, and acquiring the second coordinate as coordinate information of the plane where the millimeter wave antenna module is located.
The second aspect of the present application provides a device for adjusting antenna scanning direction, which is applied to an electronic device, where the electronic device includes a millimeter wave antenna module, the device includes:
the monitoring module is used for monitoring the displacement information of the electronic equipment and judging whether the electronic equipment needs to perform beam adjustment according to the displacement information;
the acquisition module is used for acquiring the initial beam direction of the millimeter wave antenna module before the electronic equipment generates displacement when the electronic equipment needs to perform beam adjustment;
and the adjusting module is used for determining a beam adjusting direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjusting direction.
Optionally, the monitoring module is specifically configured to:
determining whether the displacement distance of the electronic equipment in a preset time period is greater than a preset distance threshold value; when the displacement distance of the electronic equipment in a preset time period is greater than the preset distance threshold, determining that the electronic equipment needs to perform beam adjustment;
the adjustment module is specifically configured to:
determining a moving direction of the electronic device based on the displacement information; and determining the beam adjusting direction corresponding to the millimeter wave antenna module based on the change condition of the included angle between the moving direction and the initial beam direction.
Optionally, the apparatus further comprises:
the signal strength determining module is used for determining whether a signal strength indicating parameter corresponding to the electronic equipment is greater than a preset strength threshold value;
the coordinate acquisition module is used for acquiring antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located when the signal intensity indication parameter is greater than the preset intensity threshold value;
and the direction determining module is used for determining and storing the initial beam direction based on the antenna scanning angle and the coordinate information.
Optionally, the electronic device includes a position sensing component, and the coordinate acquisition module includes:
the establishing module is used for establishing a spherical coordinate system by taking the millimeter wave antenna module as an origin;
the first acquisition module is used for determining a first coordinate of the antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system and acquiring the first coordinate as the antenna scanning angle information;
and the second acquisition module is used for determining a second coordinate of the direction of the normal of the plane where the millimeter wave antenna module is located in the spherical coordinate system by using the orientation sensing assembly, and acquiring the second coordinate as the coordinate information of the plane where the millimeter wave antenna module is located.
A third aspect of embodiments of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps in the method for adjusting the antenna scanning direction according to the first aspect.
A fourth aspect of the embodiments of the present application provides a storage medium, where the storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium, where the computer program, when executed by a processor, implements the steps in the method for adjusting an antenna scanning direction according to the first aspect.
The application provides a method for adjusting antenna scanning direction, be applied to electronic equipment, this electronic equipment includes millimeter wave antenna module, when electronic equipment is connecting the millimeter wave basic station, judge whether electronic equipment needs to carry out the beam adjustment through electronic equipment's displacement information, if need, then confirm the beam adjustment direction that millimeter wave antenna module corresponds according to electronic equipment's displacement information and electronic equipment's initial beam direction, thereby in time adjust the scanning direction of millimeter wave antenna module, make electronic equipment after producing the displacement, the scanning direction of millimeter wave antenna module still can be towards the millimeter wave basic station, can effectively promote the response speed of beam tracking, and effectual guarantee communication quality.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a method for adjusting an antenna scanning direction according to an embodiment of the present application;
fig. 3 is another schematic flow chart illustrating a method for adjusting the scanning direction of an antenna according to an embodiment of the present application;
FIG. 4 is a sub-flowchart illustrating a method for adjusting the scanning direction of an antenna according to an embodiment of the present application;
fig. 5 is a schematic view of an application scenario of the method for adjusting the antenna scanning direction according to the embodiment of the present invention;
fig. 6 is a schematic diagram illustrating program modules of an apparatus 600 for adjusting an antenna scanning direction according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating another program module of an apparatus 600 for adjusting the scanning direction of an antenna according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating sub-program modules of an apparatus 600 for adjusting an antenna scanning direction according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device in an embodiment of the present application. The method for adjusting the antenna scanning direction provided by the embodiment of the application can be applied to the electronic device 100 shown in fig. 1. By way of example, the electronic device 100 may be any of a variety of types of computer system devices (only one modality shown in FIG. 1 by way of example) that are mobile or portable and that perform wireless communications. Specifically, the electronic device 100 may be a mobile phone or smart phone (e.g., iPhone (TM) based, Android (TM) based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), Game Advance (TM), iPhone (TM)), a laptop, a PDA (Personal Digital Assistant), a Portable Internet device, a music player, and a data storage device, other wearable devices (such as a smart watch). In some cases, electronic device 100 may perform multiple functions (e.g., playing music, displaying videos, storing pictures, and receiving and sending telephone calls).
Electronic device 100 may include, among other things, storage and processing circuitry 110. The storage and processing circuitry 110 may include memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), and so on, and embodiments of the present application are not limited thereto. Processing circuitry in storage and processing circuitry 110 may be used to control the operation of electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and so forth.
The storage and processing circuitry 110 may be used to run software in the electronic device 100, such as an operating system, application software, and the like. Such software may be used to perform control operations such as touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in electronic device 100, to name a few.
Electronic device 100 may also include input-output circuitry 120. The input-output circuit 120 may be used to enable the electronic device 100 to input and output data, i.e., to allow the electronic device 100 to receive data from an external device and also to allow the electronic device 100 to output data from the electronic device 100 to an external device.
The input-output circuit 120 may further include a sensor 121. The sensors 121 may include ambient light sensors, proximity sensors based on light and capacitance, touch sensors (e.g., based on optical touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 120 may also include a communication unit 122, and communication unit 122 may be used to provide electronic device 100 with the ability to communicate with external devices. The communication unit 122 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication unit 122 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication unit 122 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication unit 122 may include a near field communication antenna and a near field communication transceiver. The communication unit 122 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and so forth.
The electronic device 100 further includes a millimeter wave antenna module 130, which includes a millimeter wave wireless transceiver module and a millimeter wave antenna. The millimeter wave wireless Transceiver module is used for realizing the interconversion between the baseband signal and the millimeter wave signal, and may include sub-modules such as a Transceiver (Transceiver), a filter, a power amplifier, a low noise amplifier, and a switch. The millimeter wave wireless transceiver module can control the angle of the antenna beam by controlling the amplitude and the phase of each radiating element.
A method for adjusting the antenna scanning direction in the embodiment of the present application is described based on the electronic device 100.
In this embodiment, the method for adjusting the antenna scanning direction may be applied to a millimeter wave communication system, and when the electronic device accesses the millimeter wave communication system, a beam of a millimeter wave antenna on the electronic device may be aligned with an antenna beam of a millimeter wave base station, so as to ensure that the communication quality of the electronic device reaches an optimal state. Since the electronic device is a portable mobile device, a user may not stay in place all the time, and when the position of the user changes, the beam direction of the millimeter wave antenna on the electronic device may deviate from the original direction, which may result in a decrease in communication quality. In order to solve the technical problem, the embodiment provides a method for adjusting the scanning direction of the antenna, and after the electronic device generates displacement, the scanning direction of the millimeter wave antenna module can still rapidly face the millimeter wave base station, so that the response speed of beam tracking is effectively improved, and the communication quality is guaranteed.
Specifically, referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for adjusting an antenna scanning direction according to an embodiment of the present application, where the method includes:
step 201, monitoring displacement information of the electronic device, and determining whether the electronic device needs to perform beam adjustment according to the displacement information.
In this embodiment, the moving direction and distance of the electronic device within a preset time period may be monitored by a preset acceleration sensor in the electronic device, so as to obtain displacement information of the electronic device. The change of the positioning point of the electronic equipment in a preset time period can be monitored through a positioning system preset by the electronic equipment, so that the displacement information of the electronic equipment is obtained. The positioning system is more suitable for a scene where the electronic device moves at a high speed, for example, when a user takes a high-speed rail, the positioning system is more accurate in acquiring displacement information of the electronic device.
Further, after the displacement information of the electronic device is monitored, whether the electronic device needs to perform beam adjustment can be judged by judging whether the displacement information meets a preset beam adjustment condition.
Step 202, when the electronic device needs to perform beam adjustment, acquiring an initial beam direction of the millimeter wave antenna module before the electronic device generates displacement.
In this embodiment, before the default electronic device generates the displacement, the initial beam direction of the millimeter wave antenna module is the better beam direction. When the beam adjustment is needed, the initial beam direction of the electronic device before the displacement is generated can be used as a reference direction.
Step 203, determining a beam adjustment direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjustment direction.
In this embodiment, the displacement direction of the electronic device may be determined based on the displacement information, and then, based on the displacement direction and the initial beam direction, it may be determined whether the beam direction of the millimeter wave antenna module of the electronic device has deviated from the initial beam direction, if so, a beam adjustment direction corresponding to the millimeter wave antenna module may be determined according to the displacement information and the initial beam direction, and the scanning direction of the millimeter wave antenna module may be adjusted based on the determined beam adjustment direction, so as to quickly adjust the beam direction of the millimeter wave antenna module of the electronic device to a better direction.
The method for adjusting the scanning direction of the antenna provided by the embodiment of the application comprises the steps that when the electronic equipment is connected with a millimeter wave base station, whether the electronic equipment needs to perform beam adjustment or not is judged through displacement information of the electronic equipment, if yes, the beam adjustment direction corresponding to the millimeter wave antenna module is determined according to the displacement information of the electronic equipment and the initial beam direction of the electronic equipment, so that the scanning direction of the millimeter wave antenna module is adjusted in time, after the electronic equipment generates displacement, the scanning direction of the millimeter wave antenna module can still face the millimeter wave base station, the response speed of beam tracking can be effectively improved, and the communication quality is effectively guaranteed.
Further, based on the foregoing embodiment, in the embodiment of the present application, the determining whether the electronic device needs to perform beam adjustment according to the displacement information in step 201 includes:
determining whether the displacement distance of the electronic equipment in a preset time period is greater than a preset distance threshold, and determining that the electronic equipment needs to perform beam adjustment when the displacement distance of the electronic equipment in the preset time period is greater than the preset distance threshold.
It can be understood that, when the electronic device is greatly displaced in a short time, if the beam pointing direction of the millimeter wave antenna module of the electronic device is not adjusted in time, the communication quality of the electronic device may be affected. Therefore, in order to ensure better communication quality after the electronic device has a large displacement within a short time, the present embodiment determines that the electronic device needs to perform beam adjustment when the displacement of the electronic device within a preset time period is greater than a preset displacement threshold.
In addition, in this embodiment, Signal Strength information of the electronic device, such as RSSI (Received Signal Strength Indication) may also be obtained. Determining whether the descending amplitude of the signal intensity of the electronic equipment in a preset time period is larger than a preset amplitude threshold value or not, and determining that the electronic equipment needs to perform beam adjustment when the descending amplitude of the signal intensity of the electronic equipment in the preset time period is larger than the preset amplitude threshold value.
It can be understood that, when the drop amplitude of the signal strength of the electronic device in the preset time period is greater than a preset amplitude threshold (e.g., 50%), it may also be indicated that the beam pointing direction of the millimeter wave antenna module of the electronic device is not adjusted in time, and it may also be determined that the electronic device needs to perform beam adjustment.
Further, based on the foregoing embodiment, referring to fig. 3, fig. 3 is another schematic flow chart of a method for adjusting an antenna scanning direction in the embodiment of the present application, where the method for adjusting an antenna scanning direction in the embodiment of the present application includes:
step 301, determining whether a signal strength indication parameter corresponding to the electronic device is greater than a preset strength threshold.
And step 302, when the signal intensity indication parameter is greater than a preset intensity threshold, acquiring antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located.
In this embodiment, before monitoring displacement information or signal strength information of the electronic device, it is determined whether a signal strength indication parameter corresponding to the electronic device is greater than a preset strength threshold, that is, it is determined whether an initial beam direction of the millimeter wave antenna module of the electronic device is a better direction.
The antenna scanning angle information corresponding to the millimeter wave antenna module and the coordinate information of the plane where the millimeter wave antenna module is located can be obtained in the following manner:
a. and establishing a spherical coordinate system by using the millimeter wave antenna module as an origin.
b. Determining a first coordinate of an antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system, and acquiring the first coordinate as the antenna scanning angle information;
c. and determining the direction of the normal of the plane where the millimeter wave antenna module is located by using the orientation sensing assembly, and acquiring a second coordinate in the spherical coordinate system by using the second coordinate as the coordinate information of the plane where the millimeter wave antenna module is located.
Wherein, a spherical coordinate system (r, theta) is established by using the millimeter wave antenna module as the origin0,
Figure BDA0002071490120000101
) Then, a first coordinate (thetaant) of the antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system is obtained0
Figure BDA0002071490120000102
)。
The installation plane of the millimeter wave antenna module in the electronic equipment can be predetermined, if the plane of the millimeter wave antenna module can be parallel to the plane of the display screen of the electronic equipment, the orientation of the display screen of the electronic equipment is determined by the orientation sensing component, the direction of the normal of the plane of the millimeter wave antenna module can be determined, and then the second coordinate (theta) is obtainedp0,
Figure BDA0002071490120000103
)。
The direction sensing module may be specifically composed of a gravity sensor (or an acceleration sensor), a direction sensor (or an electronic compass), and the like.
And step 303, determining and storing the initial beam direction of the millimeter wave antenna module before the electronic equipment generates the displacement based on the antenna scanning angle and the coordinate information.
For example, if the display screen of the electronic device is horizontally disposed, the plane where the millimeter wave antenna module is located is parallel to the display screen of the electronic device, and the antenna scanning direction of the millimeter wave antenna module is vertical to the plane where the millimeter wave antenna module is located, the finally determined initial beam direction of the millimeter wave antenna module is also vertical.
And step 304, monitoring the displacement information or the signal intensity information of the electronic equipment, and judging whether the electronic equipment needs to perform beam adjustment according to the displacement information or the signal intensity information.
Step 305, when the electronic device needs to perform beam adjustment, acquiring an initial beam direction of the millimeter wave antenna module before the electronic device generates displacement.
Step 306, determining a beam adjustment direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjustment direction.
The contents described in the above steps 304 to 306 are the same as the contents described in the above steps 201 to 203 in the above embodiment, and specific reference may be made to the description in the above embodiment, which is not repeated herein.
According to the method for adjusting the antenna scanning direction, when the signal intensity indicating parameter corresponding to the electronic equipment is determined to be larger than the preset intensity threshold value, the initial beam direction of the millimeter wave antenna module is obtained and stored. When the electronic equipment is generating displacement, whether the electronic equipment needs to perform beam adjustment or not is judged through the displacement information or the signal intensity information of the electronic equipment, if so, the beam adjustment direction corresponding to the millimeter wave antenna module is determined according to the displacement information of the electronic equipment and the initial beam direction of the electronic equipment, so that the scanning direction of the millimeter wave antenna module is adjusted in time, after the electronic equipment generates displacement, the scanning direction of the millimeter wave antenna module still can face the millimeter wave base station, the response speed of beam tracking can be effectively improved, and the communication quality is effectively guaranteed.
Further, based on the foregoing embodiment, referring to fig. 4, fig. 4 is a schematic sub-flow diagram of a method for adjusting an antenna scanning direction in the embodiment of the present application, in which the step of determining a beam adjustment direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction in the embodiment of the present application includes:
step 401, determining a moving direction of the electronic equipment based on the displacement information;
step 402, determining a beam adjusting direction corresponding to the millimeter wave antenna module based on a change condition of an included angle between the moving direction and the initial beam direction.
Specifically, when the size of the included angle between the moving direction of the electronic device and the initial beam direction is in a trend of increasing, the beam adjusting direction corresponding to the millimeter wave antenna module should be opposite to the initial beam direction, and when the size of the included angle between the moving direction of the electronic device and the initial beam direction is in a trend of decreasing, the beam adjusting direction corresponding to the millimeter wave antenna module should still be the same as the initial beam direction.
For better understanding of the embodiment of the present invention, referring to fig. 5, fig. 5 is a schematic view of an application scenario of the method for adjusting the antenna scanning direction in the embodiment of the present invention.
In fig. 5, 100 denotes an electronic device, 200 denotes a millimeter wave base station, and when the electronic device 100 moves from the west side of the millimeter wave base station 200 to the east side of the millimeter wave base station 200, the beam adjustment direction corresponding to the millimeter wave antenna module is the westward direction; on the contrary, when the electronic device 100 moves from the east side of the millimeter wave base station 200 to the west side of the millimeter wave base station 200, the beam adjustment direction corresponding to the millimeter wave antenna module is the east direction, so that after the electronic device generates displacement, the scanning direction of the millimeter wave antenna module can still face the millimeter wave base station, the response speed of beam tracking can be effectively improved, and the communication quality can be effectively guaranteed.
Further, the present application also provides an apparatus 600 for adjusting the scanning direction of the antenna. Referring to fig. 6, fig. 6 is a schematic diagram of program modules of an apparatus 600 for adjusting an antenna scanning direction according to an embodiment of the present application, where the apparatus 600 includes:
the monitoring module 601 is configured to monitor displacement information of the electronic device, and determine whether the electronic device needs to perform beam adjustment according to the displacement information.
An obtaining module 602, configured to obtain, when the electronic device needs to perform beam adjustment, an initial beam direction of the millimeter wave antenna module before the electronic device generates a displacement.
An adjusting module 603, configured to determine a beam adjustment direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjust a scanning direction of the millimeter wave antenna module based on the determined beam adjustment direction.
The device 600 for adjusting the scanning direction of the antenna provided by the embodiment of the application, when the electronic device is connected with a millimeter wave base station, whether the electronic device needs to perform beam adjustment is judged through the displacement information of the electronic device, if so, the beam adjustment direction corresponding to the millimeter wave antenna module is determined according to the displacement information of the electronic device and the initial beam direction of the electronic device, so that the scanning direction of the millimeter wave antenna module is adjusted in time, after the electronic device generates displacement, the scanning direction of the millimeter wave antenna module can still face the millimeter wave base station, the response speed of beam tracking can be effectively improved, and the communication quality is effectively guaranteed.
Further, based on the above embodiments, in the embodiment of the present application, the monitoring module 601 is specifically configured to:
determining whether the displacement distance of the electronic equipment in a preset time period is greater than a preset distance threshold value; and when the displacement distance of the electronic equipment in a preset time period is greater than the preset distance threshold, determining that the electronic equipment needs to perform beam adjustment.
The adjusting module 603 is specifically configured to: determining a moving direction of the electronic device based on the displacement information; and determining the beam adjusting direction corresponding to the millimeter wave antenna module based on the change condition of the included angle between the moving direction and the initial beam direction.
Further, based on the foregoing embodiment, referring to fig. 7, fig. 7 is a schematic diagram of another program module of an apparatus 600 for adjusting an antenna scanning direction in the embodiment of the present application, where the apparatus 600 for adjusting an antenna scanning direction in the embodiment of the present application includes:
a signal strength determining module 701, configured to determine whether a signal strength indicating parameter corresponding to the electronic device is greater than a preset strength threshold.
A coordinate obtaining module 702, configured to obtain antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located when the signal strength indication parameter is greater than the preset strength threshold.
A direction determining module 703, configured to determine and store the initial beam direction based on the antenna scanning angle and the coordinate information.
The monitoring module 601 is configured to monitor displacement information of the electronic device, and determine whether the electronic device needs to perform beam adjustment according to the displacement information.
An obtaining module 602, configured to obtain, when the electronic device needs to perform beam adjustment, an initial beam direction of the millimeter wave antenna module before the electronic device generates a displacement.
An adjusting module 603, configured to determine a beam adjustment direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjust a scanning direction of the millimeter wave antenna module based on the determined beam adjustment direction.
According to the device 600 for adjusting the antenna scanning direction provided by the embodiment of the application, when it is determined that the signal intensity indication parameter corresponding to the electronic device is greater than the preset intensity threshold value, the initial beam direction of the millimeter wave antenna module is obtained and stored. When the electronic equipment is generating displacement, whether the electronic equipment needs to perform beam adjustment or not is judged through the displacement information or the signal intensity information of the electronic equipment, if so, the beam adjustment direction corresponding to the millimeter wave antenna module is determined according to the displacement information of the electronic equipment and the initial beam direction of the electronic equipment, so that the scanning direction of the millimeter wave antenna module is adjusted in time, after the electronic equipment generates displacement, the scanning direction of the millimeter wave antenna module still can face the millimeter wave base station, the response speed of beam tracking can be effectively improved, and the communication quality is effectively guaranteed.
Further, based on the foregoing embodiment, referring to fig. 8, fig. 8 is a schematic diagram of sub-program modules of an apparatus 600 for adjusting an antenna scanning direction in an embodiment of the present application, in which an electronic device includes an orientation sensing component, and a coordinate obtaining module 702 includes:
an establishing module 801, configured to establish a spherical coordinate system with the millimeter wave antenna module as an origin.
The first obtaining module 802 is configured to determine a first coordinate of an antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system, and obtain the first coordinate as the antenna scanning angle information.
A second obtaining module 803, configured to determine, by using the orientation sensing component, a second coordinate of the direction of the normal of the plane where the millimeter wave antenna module is located in the spherical coordinate system, and obtain the second coordinate as coordinate information of the plane where the millimeter wave antenna module is located.
The embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, each step in the method for adjusting the antenna scanning direction in any of the above embodiments is implemented.
Illustratively, the functions that can be realized by the computer program mainly include: monitoring displacement information of electronic equipment, and judging whether the electronic equipment needs to perform beam adjustment according to the displacement information; when the electronic equipment needs to perform beam adjustment, acquiring an initial beam direction of the millimeter wave antenna module before the electronic equipment generates displacement; and determining a beam adjusting direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjusting direction. In addition, the computer program may also be divided into one or more modules, which are stored in the memory and executed by the processor to accomplish the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing certain functions, the instruction segments being used to describe the execution of a computer program in a computing device. For example, the computer program may be partitioned into a monitoring module 601, an acquisition module 602, and an adjustment module 603 as shown in fig. 6.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The present application further provides a readable storage medium, which is a computer readable storage medium, and a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps in the method for adjusting the antenna scanning direction in any of the above embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description, it is intended to provide a method, an apparatus, an electronic device, and a storage medium for adjusting an antenna scanning direction, which will be apparent to those skilled in the art from this description, and which are consistent with the principles of the embodiments of the present application.

Claims (10)

1. A method for adjusting antenna scanning direction is applied to electronic equipment, and is characterized in that the electronic equipment comprises a millimeter wave antenna module, and the method comprises the following steps:
monitoring displacement information of the electronic equipment, and determining whether the displacement distance of the electronic equipment in a preset time period is greater than a preset distance threshold value according to the displacement information;
when the displacement distance of the electronic equipment in a preset time period is greater than the preset distance threshold, determining that the electronic equipment needs to perform beam adjustment;
when the electronic equipment needs to perform beam adjustment, acquiring an initial beam direction of the millimeter wave antenna module before the electronic equipment generates displacement;
and determining a beam adjusting direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjusting direction.
2. The method of claim 1, wherein the step of determining the beam adjustment direction corresponding to the mm-wave antenna module according to the displacement information and the initial beam direction comprises:
determining a moving direction of the electronic device based on the displacement information;
and determining the beam adjusting direction corresponding to the millimeter wave antenna module based on the change condition of the included angle between the moving direction and the initial beam direction.
3. The method of any of claims 1-2, wherein the step of monitoring the displacement information of the electronic device is preceded by the step of:
determining whether a signal strength indication parameter corresponding to the electronic equipment is greater than a preset strength threshold value;
when the signal intensity indication parameter is larger than the preset intensity threshold value, acquiring antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located;
and determining and storing the initial beam direction based on the antenna scanning angle and the coordinate information.
4. The method of claim 3, wherein the electronic device comprises an orientation sensing component, and the step of obtaining antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane in which the millimeter wave antenna module is located comprises:
establishing a spherical coordinate system by taking the millimeter wave antenna module as an origin;
determining a first coordinate of an antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system, and acquiring the first coordinate as the antenna scanning angle information;
and determining a second coordinate of the direction of the normal of the plane where the millimeter wave antenna module is located in the spherical coordinate system by using the orientation sensing assembly, and acquiring the second coordinate as coordinate information of the plane where the millimeter wave antenna module is located.
5. The utility model provides an adjustment antenna scanning direction's device, is applied to electronic equipment, its characterized in that, electronic equipment includes millimeter wave antenna module, the device includes:
the monitoring module is used for monitoring the displacement information of the electronic equipment and determining whether the displacement distance of the electronic equipment in a preset time period is greater than a preset distance threshold value or not according to the displacement information; when the displacement distance of the electronic equipment in a preset time period is greater than the preset distance threshold, determining that the electronic equipment needs to perform beam adjustment;
the acquisition module is used for acquiring the initial beam direction of the millimeter wave antenna module before the electronic equipment generates displacement when the electronic equipment needs to perform beam adjustment;
and the adjusting module is used for determining a beam adjusting direction corresponding to the millimeter wave antenna module according to the displacement information and the initial beam direction, and adjusting the scanning direction of the millimeter wave antenna module based on the determined beam adjusting direction.
6. The apparatus of claim 5, wherein the adjustment module is specifically configured to:
determining a moving direction of the electronic device based on the displacement information; and determining the beam adjusting direction corresponding to the millimeter wave antenna module based on the change condition of the included angle between the moving direction and the initial beam direction.
7. The apparatus of claim 5 or 6, wherein the apparatus further comprises:
the signal strength determining module is used for determining whether a signal strength indicating parameter corresponding to the electronic equipment is greater than a preset strength threshold value;
the coordinate acquisition module is used for acquiring antenna scanning angle information corresponding to the millimeter wave antenna module and coordinate information of a plane where the millimeter wave antenna module is located when the signal intensity indication parameter is greater than the preset intensity threshold value;
and the direction determining module is used for determining and storing the initial beam direction based on the antenna scanning angle and the coordinate information.
8. The apparatus of claim 7, wherein the electronic device includes a position-sensing component, the coordinate acquisition module comprising:
the establishing module is used for establishing a spherical coordinate system by taking the millimeter wave antenna module as an origin;
the first acquisition module is used for determining a first coordinate of the antenna scanning direction of the millimeter wave antenna module in the spherical coordinate system and acquiring the first coordinate as the antenna scanning angle information;
and the second acquisition module is used for determining a second coordinate of the direction of the normal of the plane where the millimeter wave antenna module is located in the spherical coordinate system by using the orientation sensing assembly, and acquiring the second coordinate as the coordinate information of the plane where the millimeter wave antenna module is located.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to perform the steps of the method for adjusting the scanning direction of an antenna according to any one of claims 1 to 4.
10. A storage medium, which is a computer-readable storage medium and on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the method for adjusting the scanning direction of an antenna according to any one of claims 1 to 4.
CN201910439111.5A 2019-05-24 2019-05-24 Method and device for adjusting antenna scanning direction, electronic equipment and storage medium Active CN110176672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910439111.5A CN110176672B (en) 2019-05-24 2019-05-24 Method and device for adjusting antenna scanning direction, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910439111.5A CN110176672B (en) 2019-05-24 2019-05-24 Method and device for adjusting antenna scanning direction, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110176672A CN110176672A (en) 2019-08-27
CN110176672B true CN110176672B (en) 2021-03-12

Family

ID=67692112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910439111.5A Active CN110176672B (en) 2019-05-24 2019-05-24 Method and device for adjusting antenna scanning direction, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110176672B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110212963B (en) * 2019-05-24 2022-04-15 Oppo广东移动通信有限公司 Beam tracking method and device, computer storage medium and terminal equipment
CN111668606B (en) * 2020-06-10 2021-12-24 维沃移动通信有限公司 Antenna configuration information processing method and device and electronic equipment
CN113873424B (en) * 2020-06-29 2023-04-28 华为技术有限公司 Beam management method and device
CN112135243A (en) * 2020-09-21 2020-12-25 珠海格力电器股份有限公司 Information prompting method and device, storage medium and electronic device
CN112188392B (en) * 2020-09-30 2022-10-25 上海物骐微电子有限公司 Wireless equipment beam adjusting method
CN114828034A (en) * 2021-01-22 2022-07-29 华为技术有限公司 Beam direction adjusting method and related equipment
CN113114320A (en) 2021-03-11 2021-07-13 北京小米移动软件有限公司 Antenna adjusting method and device, gateway, terminal, adjusting system and storage medium
CN115441904A (en) * 2021-06-03 2022-12-06 索尼集团公司 Electronic device and method for wireless communication, computer-readable storage medium
WO2022266913A1 (en) * 2021-06-24 2022-12-29 Qualcomm Incorporated Holographic-mimo field type indication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368595A (en) * 2012-04-11 2013-10-23 中兴通讯股份有限公司 Method and device for adjusting radiation of mobile terminal and mobile terminal
CN103762422A (en) * 2013-12-31 2014-04-30 上海科世达-华阳汽车电器有限公司 Method and system for controlling beam direction of antenna array
CN108600944A (en) * 2018-04-23 2018-09-28 电子科技大学 The measurement method of cell switching parameter based on geographical location information

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5234254B2 (en) * 2008-05-08 2013-07-10 株式会社Ihi Laser radar and laser radar calibration method
KR101753915B1 (en) * 2011-07-04 2017-07-04 삼성전자주식회사 Method and system for changing operating mode of a portagble terminal
CN105634578A (en) * 2015-12-29 2016-06-01 九派逐浪(北京)网络通讯技术股份有限公司 Beam forming device, intelligent antenna and wireless communication equipment
CN106792754B (en) * 2016-12-30 2020-04-28 广东海格怡创科技有限公司 Method and system for detecting communication user on high-speed rail
CN107277838B (en) * 2017-05-26 2019-10-18 维沃移动通信有限公司 A kind of the WIFI method of controlling antenna and mobile terminal of mobile terminal
CN108365340B (en) * 2017-12-29 2021-07-09 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Shipborne antenna control method and device for offshore unmanned aerial vehicle
CN109245813B (en) * 2018-11-02 2022-02-08 Oppo广东移动通信有限公司 Signal transmitting method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368595A (en) * 2012-04-11 2013-10-23 中兴通讯股份有限公司 Method and device for adjusting radiation of mobile terminal and mobile terminal
CN103762422A (en) * 2013-12-31 2014-04-30 上海科世达-华阳汽车电器有限公司 Method and system for controlling beam direction of antenna array
CN108600944A (en) * 2018-04-23 2018-09-28 电子科技大学 The measurement method of cell switching parameter based on geographical location information

Also Published As

Publication number Publication date
CN110176672A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN110176672B (en) Method and device for adjusting antenna scanning direction, electronic equipment and storage medium
CN112970202B (en) Electronic equipment and antenna switching method thereof
US11375469B2 (en) Electronic device for determining path of line of sight (LoS) and method for the same
CN112399535B (en) Electronic device for adjusting transmitting power based on SAR and method for operating electronic device
KR20200057235A (en) Method for receiving reference signal and electronic device therefor
CN109167153B (en) Electronic device, antenna radiator control method, and storage medium
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN110460352B (en) Communication control method and related equipment
CN110381544B (en) Data transmission control method and device and terminal equipment
US20170026791A1 (en) Apparatus, system and method of bluetooth communication
EP4175349A1 (en) Method for processing relax measurement parameter update and terminal device
CN111656610B (en) Ring antenna and electronic device comprising same
AU2017215602A1 (en) NFC antenna for wearable application
US11070398B2 (en) Electronic device supporting multi-band wireless communications and method of controlling same
US20220312402A1 (en) Method and device for performing beam searching in mobile communication system
CN110536193B (en) Audio signal processing method and device
CN113748610A (en) Electronic device for performing beam change in wireless communication system and method thereof
CN103955279B (en) A kind of visual angle feedback method and terminal
US20210168784A1 (en) Terminal and control method thereof in wireless communication system
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
KR20200129455A (en) Electronic device and Method of controlling thereof
KR20200104665A (en) Method and apparatus for supporting dual sim operation simultaneously
CN113472397B (en) Antenna control method, antenna control device, storage medium and electronic equipment
US11063358B2 (en) Structure of electronic device for optimizing performance of antenna and method thereof
CN108600957B (en) Antenna control method and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant