CN117368841A - Arrival angle AOA acquisition method and electronic equipment - Google Patents

Arrival angle AOA acquisition method and electronic equipment Download PDF

Info

Publication number
CN117368841A
CN117368841A CN202210748892.8A CN202210748892A CN117368841A CN 117368841 A CN117368841 A CN 117368841A CN 202210748892 A CN202210748892 A CN 202210748892A CN 117368841 A CN117368841 A CN 117368841A
Authority
CN
China
Prior art keywords
angle
posture
arrival
equipment
gesture
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.)
Pending
Application number
CN202210748892.8A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210748892.8A priority Critical patent/CN117368841A/en
Publication of CN117368841A publication Critical patent/CN117368841A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S3/00Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received
    • G01S3/02Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received using radio waves
    • G01S3/14Systems for determining direction or deviation from predetermined direction
    • G01S3/46Systems for determining direction or deviation from predetermined direction using antennas spaced apart and measuring phase or time difference between signals therefrom, i.e. path-difference systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S3/00Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received
    • G01S3/02Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received using radio waves
    • G01S3/14Systems for determining direction or deviation from predetermined direction
    • G01S3/143Systems for determining direction or deviation from predetermined direction by vectorial combination of signals derived from differently oriented antennae
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Variable-Direction Aerials And Aerial Arrays (AREA)

Abstract

The embodiment of the application provides an arrival angle AOA acquisition method and electronic equipment, wherein in the method, in response to a first operation, a first device outputs prompt information, the prompt information indicates that the first device is rotated from a current first gesture to a second gesture, an antenna polarization mode in the first device is different from an antenna polarization mode in the first device in the second gesture, and the first operation is used for triggering the first device to acquire an arrival angle of the second device. In the process that the first equipment rotates from the first posture to the second posture, according to the arrival angle data of the second equipment collected by the first equipment under each posture, the arrival angle of the second equipment is obtained, and the accuracy of the AOA can be improved.

Description

Arrival angle AOA acquisition method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to an arrival angle AOA acquisition method and electronic equipment.
Background
For an electronic device provided with multiple antennas, the electronic device may calculate an angle of arrival (AOA) of a signal of an opposite end communicating with the electronic device based on a phase difference of the multiple antennas. The arrival angle can be applied to scenes such as positioning, object searching and the like.
The accuracy of the angle of arrival directly affects the positioning accuracy and the speed of finding objects, so a method for accurately obtaining the AOA is needed.
Disclosure of Invention
The embodiment of the application provides an arrival angle AOA acquisition method and electronic equipment, which can improve the accuracy of the AOA.
In a first aspect, an embodiment of the present application provides a method for acquiring an arrival angle AOA, where an execution body of the method may be a first device or a chip in the first device, and the following description will take the first device as an example. In the method, the first device outputs a prompt message in response to a first operation. The first operation is used for triggering the first device to acquire an arrival angle of the second device, the prompt information indicates to rotate the first device from a current first posture to a second posture, and the polarization mode of an antenna in the first device in the first posture is different from the polarization mode of the antenna in the first device in the second posture. And in the process that the first equipment rotates from the first posture to the second posture, the first equipment acquires the arrival angle of the second equipment according to the arrival angle data of the second equipment acquired by the first equipment under each posture.
In this embodiment of the present application, when a first device is in a first posture, if polarizations of antennas in the first device and the second device are mismatched, and because the posture of the first device is related to the polarizations of antennas in the first device, the embodiment of the present application changes the polarizations of antennas in the first device and the second device by prompting a user to rotate the first device, where the polarizations of antennas in the first device are different from the polarizations of antennas in the first device and the polarizations of antennas in the second device, then the polarizations of antennas in the first device and the second device are gradually changed in the process of rotating the first device from the first posture to the second posture, so that polarization matching can be achieved, and then the first device can obtain accurate AOA under the circumstance of antenna polarization matching.
When the first equipment is in the first gesture, if the antenna polarization in the first equipment and the antenna polarization in the second equipment are matched, the first equipment can acquire accurate AOA, and in the embodiment of the application, the user is prompted to rotate the first equipment to change the antenna polarization conditions in the first equipment and the second equipment, so that the first equipment can acquire the AOA under a plurality of gestures, and further, according to the AOA under the plurality of gestures, more accurate AOA is obtained, and the accuracy of the AOA can be further improved.
In this embodiment of the present application, after the first device may obtain an accurate AOA, the first device may also use the AOA to perform object searching or positioning. For example, taking an object searching scenario as an example, after the first device obtains the AOA, the first device may further obtain a distance between the first device and the second device, so as to obtain, according to an arrival angle of the second device and a distance between the first device and the second device, a relative position of the second device, where the first device may output the relative position of the second device, so that a user may know the position of the second device relative to the first device, and find the second device in time.
In one embodiment, the antenna polarization in the first device in the first pose being different from the antenna polarization in the first device in the second pose comprises: and the polarization mode of the antenna in the first device in the first gesture is orthogonal to the polarization mode of the antenna in the first device in the second gesture.
The antenna polarization mode in the first equipment in the first gesture is orthogonal with the antenna polarization mode in the first equipment in the second gesture, so that the first equipment can be guaranteed to be matched with the antenna polarization in the second equipment in the rotating process, and the first equipment can be guaranteed to accurately acquire the AOA.
For example, when the polarizations of the antennas in the first device and the second device in the first posture are completely isolated, the polarizations of the antennas in the first device and the second device in the second posture match when the first device rotates to the second posture because the polarizations of the antennas in the first device in the second posture are orthogonal to the polarizations of the antennas in the first device in the first posture. When the polarizations of the antennas in the first device and the second device in the first posture are mismatched (non-polarized complete isolation), and the first device rotates to the second posture, because the polarization mode of the antenna in the first device in the second posture is orthogonal to the polarization mode of the antenna in the first device in the first posture, the polarization matching of the antennas in the first device and the second device can be realized in the rotating process of the first device.
In one possible implementation, in response to a first operation at a first device, it may be detected whether antenna polarizations in the first device and the second device match based on a signal from the second device. And outputting the prompt information when the polarization of the antennas in the first equipment and the second equipment is not matched.
Illustratively, the signal includes one or more of an intensity, a signal-to-noise ratio, or a phase difference stability.
In this implementation manner, the first device may determine whether to output the prompt information according to the signal from the second device, when the polarizations of the antennas in the first device and the second device are matched, the first device may obtain accurate AOA without rotation, and when the polarizations of the antennas in the first device and the second device are not matched, the first device may prompt the user to rotate the first device. In the implementation manner, the prompting times of the first equipment can be reduced, prompting is performed when the first equipment is needed, the power consumption of the first equipment can be reduced, and the user experience is improved.
The following describes a procedure in which the first device acquires the arrival angle of the second device:
first, when the first device is in the second posture, the first device may acquire an arrival angle of the second device according to arrival angle data of the second device in each posture. A third gesture (at least one third gesture) is included between the first gesture and the second gesture.
The first device may obtain the arrival angle of the second device according to the AOA obtained by the first device in the first posture, the AOA obtained by the first device in the second posture, and the AOA obtained by the first device in the third posture. The first device may take, as the angle of arrival of the second device, an AOA obtained by the first device when the antenna polarizations in the first device and the second device are matched to the highest degree (e.g., the strength of a signal received from the second device is the strongest) in the first pose, the second pose, and the third pose.
For example, the first device may perform weighted average processing on the angle-of-arrival data in the first pose, in the second pose, and in the third pose, so as to take the AOA with the highest signal strength as the angle of arrival of the second device.
And secondly, when the first equipment is in a third posture, acquiring a candidate arrival angle of the second equipment according to arrival angle data of the second equipment in the third posture and arrival angle data of the second equipment in a posture before the third posture, wherein the third posture is any posture which is passed in the process of rotating the first equipment from the first posture to the second posture. And acquiring the arrival angle of the second equipment according to the candidate arrival angle of the second equipment.
In other words, the first device can acquire the angle of arrival of the second device while rotating. In the process of rotating the first device, the candidate arrival angle obtained when the antenna polarization matching degree in the subsequent first device and the second device is highest can be replaced by the candidate arrival angle obtained before, and iteration is repeated until the first device is in the second gesture, and the candidate arrival angle obtained when the antenna polarization matching degree in the first device and the second device is highest can be used as the arrival angle of the second device.
In one embodiment, the angle of arrival data of the second device is: an angle of arrival spectrum.
The first device obtains the arrival angle of the second device according to the arrival angle data of the second device collected by the first device under each gesture, which may be: and acquiring the arrival angle of the second equipment according to the intensity value of the incident angle under each abscissa in the arrival angle frequency spectrum under each posture.
For example, the first device may use the incident angle with the largest intensity value as the arrival angle of the second device.
For example, the first device may perform weighted average processing on the arrival angle spectrum under each of the poses based on the same abscissa. And obtaining the arrival angle of the second equipment according to the antenna polarization matching degree of the first equipment and the second equipment under each gesture and the arrival angle frequency spectrum after weighted average processing under each gesture.
For example, if the first device performs weighted average processing on the arrival angle spectrums under the respective poses (the first pose and the third pose) under the third pose, and the antenna polarizations of the first device and the second device under the third pose are matched, the arrival angle obtained under the third pose may be referred to as a candidate arrival angle first, the first device performs weighted average processing on the arrival angle spectrums under the respective poses (the third pose and the second pose) under the second pose, and the degree of matching between the antenna polarizations of the first device and the second device under the second pose is greater than the degree of matching between the antenna polarizations of the first device and the second device under the third pose, then the first device may replace the arrival angle obtained under the third pose with the arrival angle obtained under the second pose, and use the arrival angle obtained under the second pose as the AOA of the second device.
In one possible implementation, the prompt information is further used to indicate: the first device is rotated from the first pose to the second pose and from the second pose back to the first pose. In other words, the first device can prompt the user to rotate the first device in a shaking mode, the shaking mode is more fit with the use habit of the user, and the user experience can be improved.
In the implementation manner, in the process that the first device rotates from the first gesture to the second gesture, the first device obtains a first candidate arrival angle of the second device according to arrival angle data of the second device in each gesture. And in the process that the first equipment rotates from the second gesture to the first gesture, the first equipment acquires a second candidate arrival angle of the second equipment according to the arrival angle data of the second equipment in each gesture. And acquiring the arrival angle of the second equipment according to the first candidate angle and the second candidate angle.
The first device obtains a first candidate arrival angle of the second device according to arrival angle data of the second device in each gesture, and the first device obtains a second candidate arrival angle of the second device according to arrival angle data of the second device in each gesture, and can obtain related description of the candidate angles according to arrival angle data of the second device in each gesture by referring to the first device. The first device may use, as the arrival angle of the second device, the selected angle with the highest degree of matching between the antenna polarizations of the first device and the second device (or the greatest intensity value of the candidate angles) among the first candidate angle and the second candidate angle.
In one possible implementation manner, when the arrival angle of the second device (i.e. the incoming wave angle or the incident angle of the signal of the second device) approaches 0 ° or 180 °, the accuracy of the AOA acquired by the first device is poor, in this scenario, when the second gesture corresponding to the first gesture is multiple, the first device may prompt the user to rotate the multiple gestures, so as to avoid that the arrival angle of the second device approaches 0 ° or 180 ° to affect the accuracy of the AOA when the second device rotates only once.
Illustratively, the antenna polarization in the first device in the second pose is orthogonal to the antenna polarization in the first device in the first pose, and the antenna polarization in the first device in the fourth pose is also orthogonal to the antenna polarization in the first device in the first pose.
In this implementation, the hint information is further used to indicate: rotating the first device from the first posture to the second posture, and further rotating the first device from the first posture to the fourth posture. In this implementation manner, the first device may acquire the arrival angles of the two second devices during the two rotations of the first device, and then take the arrival angle with high accuracy as the arrival angle of the second device.
Specifically, in the process that the first device rotates from the first posture to the second posture, the first device obtains a first candidate arrival angle of the second device according to arrival angle data of the second device in each posture. And in the process that the first equipment rotates from the first posture to the fourth posture, the first equipment acquires a second candidate arrival angle of the second equipment according to the arrival angle data of the second equipment in each posture. Further, the first device may obtain an arrival angle of the second device according to the first candidate angle and the second candidate angle.
The scheme in the above embodiment may be applied to the following scenario:
1. the first device and the second device are connected, and the first device is a signal receiving end or a signal transmitting end.
2. The first device and the second device are not connected, and the first device is a signal receiving end.
In one embodiment, in the case where the first device and the second device are connected, the first device may further acquire the relative position of the second device compared to the first device in the following manner:
after the first device outputs the prompt information, the first device responds to the first device to start rotating, and can send first information to the second device, wherein the first information indicates the second device to start collecting arrival angle data of the first device. The first device may send second information to the second device in response to the first device rotating to the second pose, the second information indicating that the second device stops collecting angle of arrival data of the first device. That is, the second device may collect angle of arrival data (angle of arrival spectrum) of the first device during rotation of the first device.
The second device may acquire the arrival angle of the first device according to the acquired arrival angle data of the plurality of first devices, and the process may refer to the first device to acquire the description of the arrival angle of the second device according to the acquired arrival angle data of the second device. The second device may send the acquired angle of arrival of the first device to the first device.
And the first equipment acquires the relative position of the second equipment according to the arrival angle of the first equipment and the distance between the first equipment and the second equipment. The first device can output the relative position of the second device, so that a user can find the second device in time.
In one embodiment, a first device obtains a departure angle of the second device according to an arrival angle of the first device. The angle of arrival of the first device is equal to the angle of departure of the second device. The first equipment acquires the relative position of the second equipment according to the departure angle of the second equipment and the distance between the first equipment and the second equipment. The first device can output the relative position of the second device, so that a user can find the second device in time.
In the embodiment of the application, the second device interacting with the first device obtains the arrival angle of the first device according to the arrival angle data of the first device collected in the rotation process of the first device, and then the first device can determine the relative position of the second device according to the distance between the first device and the second device and the arrival angle of the first device, so that the user can find the second device in time.
The method in this embodiment may be adapted to: a scenario in which the processing power of the first device is weak and the processing power of the second device is strong. Illustratively, the first device is a wristwatch and the second device is a cellular phone.
In a second aspect, embodiments of the present application provide an electronic device, which may be a first device, for performing a method as in the first aspect. In one embodiment, the electronic device may include: a communication processor and an application processor.
And responding to a first operation, and outputting prompt information by an application processor, wherein the prompt information indicates that the first equipment is rotated from a current first posture to a second posture, the polarization mode of an antenna in the first equipment in the first posture is different from that of the antenna in the first equipment in the second posture, and the first operation is used for triggering the first equipment to acquire the arrival angle of the second equipment.
And the communication processor is used for acquiring the arrival angle of the second equipment according to the arrival angle data of the second equipment acquired by the first equipment under each gesture in the process that the first equipment rotates from the first gesture to the second gesture.
In one possible implementation, the antenna polarization in the first device in the first pose being different from the antenna polarization in the first device in the second pose includes: and the polarization mode of the antenna in the first device in the first gesture is orthogonal to the polarization mode of the antenna in the first device in the second gesture.
In one possible implementation, the communication processor is further configured to detect, in response to the first operation, whether antenna polarizations in the first device and the second device match from a signal from the second device. And when the polarization of the antennas in the first equipment and the second equipment is not matched, controlling the application processor to output the prompt information.
In one possible implementation, the signal includes one or more of an intensity, a signal-to-noise ratio, or a phase difference stability.
In one possible implementation manner, the communication processor is specifically configured to obtain, when the first device is in the second pose, an arrival angle of the second device according to arrival angle data of the second device in each pose.
In one possible implementation manner, the communication processor is specifically configured to obtain, when the first device is in a third posture, a candidate angle of arrival of the second device according to the angle of arrival data of the second device in the third posture and the angle of arrival data of the second device in a posture before the third posture, where the third posture is any posture that the first device experiences in rotating from the first posture to the second posture, and obtain, according to the candidate angle of arrival of the second device, the angle of arrival of the second device.
In one possible implementation, the angle of arrival data of the second device is: an angle of arrival spectrum.
In a possible implementation manner, the communication processor is specifically configured to obtain, in an arrival angle spectrum of each gesture, an arrival angle of the second device according to an intensity value of an incident angle of each abscissa.
In a possible implementation manner, the communication processor is specifically configured to perform weighted average processing on the arrival angle spectrum under each gesture based on the same abscissa; and acquiring the arrival angle of the second equipment according to the antenna polarization matching degree of the first equipment and the second equipment under each gesture and the arrival angle frequency spectrum after weighted average processing under each gesture.
In one possible implementation, the prompt information is further used to indicate: the first device is rotated from the first pose to the second pose and from the second pose back to the first pose.
The communication processor is further configured to obtain a first candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in a process that the first device rotates from the first gesture to the second gesture; acquiring a second candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in the process that the first device rotates from the second gesture to the first gesture; and acquiring the arrival angle of the second equipment according to the first candidate angle and the second candidate angle.
In one possible implementation manner, the antenna polarization in the first device in the fourth pose is also orthogonal to the antenna polarization in the first device in the first pose, and the hint information is further used to indicate: rotating the first device from the first posture to the second posture, and further rotating the first device from the first posture to the fourth posture.
The communication processor is further configured to obtain a first candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in a process that the first device rotates from the first gesture to the second gesture; acquiring a second candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in the process that the first device rotates from the first gesture to the fourth gesture; and acquiring the arrival angle of the second equipment according to the first candidate angle and the second candidate angle.
In one possible implementation, the communication processor is further configured to obtain a distance between the first device and the second device; and according to the arrival angle of the second equipment and the distance between the first equipment and the second equipment, acquiring the relative position of the second equipment, and controlling the application processor to output the relative position of the second equipment.
In one possible implementation, the communication processor is further configured to:
and transmitting first information to the second device in response to the first device starting to rotate, and transmitting second information to the second device in response to the first device rotating to the second gesture, wherein the first information indicates that the second device starts to acquire the arrival angle data of the first device, and the second information indicates that the second device stops acquiring the arrival angle data of the first device.
The communication processor is further configured to receive an arrival angle of the first device from the second device, where the arrival angle of the first device is obtained by the second device based on the collected arrival angle data of the first device, and obtain a departure angle of the second device according to the arrival angle of the first device; acquiring a distance between the first device and the second device; and acquiring the relative position of the second equipment according to the departure angle of the second equipment and the distance between the first equipment and the second equipment.
The communication processor controls the application processor to output the relative position of the second device.
In a third aspect, embodiments of the present application provide an electronic device, which may include: a processor and a memory. The memory is for storing computer executable program code, the program code comprising instructions; the instructions, when executed by a processor, cause the electronic device to perform the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method of the first aspect described above.
The advantages of each of the possible implementation manners of the second aspect to the fifth aspect may be referred to as the advantages of the first aspect, and are not described herein.
Drawings
Fig. 1 is a schematic diagram of an antenna receiving signal in an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a multi-antenna according to an embodiment of the present application;
FIG. 3 is a schematic diagram of polarization mode of an electronic device according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of implementing polarization matching of two antennas of the device according to an embodiment of the present application;
fig. 6 is a flowchart of an embodiment of an AOA obtaining method provided in an embodiment of the present application;
fig. 7 is another schematic diagram for implementing polarization matching of two antennas of the device according to the embodiment of the present application;
fig. 8 is an AOA spectrum schematic diagram under each gesture of an electronic device provided in an embodiment of the present application;
fig. 9 is another schematic diagram for implementing polarization matching of two antennas of the device according to the embodiment of the present application;
FIG. 10 is a schematic diagram of the error of the first device in acquiring AOA at each incoming wave angle;
FIG. 11 is a schematic diagram of electronic device rotation induced AOA with low accuracy;
fig. 12 is another schematic diagram for implementing polarization matching of two antennas of the device according to the embodiment of the present application;
fig. 13 is another schematic diagram for implementing polarization matching of two antennas of the device according to the embodiment of the present application;
fig. 14 is a flowchart of an embodiment of an AOA obtaining method provided in the embodiments of the present application;
fig. 15 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
Fig. 1 is a schematic diagram of an antenna receiving signal in an electronic device according to an embodiment of the present application. Taking two antennas as an example in fig. 1, referring to fig. 1, for an electronic device provided with multiple antennas (at least two antennas), the electronic device may calculate an angle of arrival (AOA) of a signal of an opposite end communicating with the electronic device according to the following equation 1:
phi (ant 1) -phi (ant 2) =2pi.d.cos (θ)/lambda formula 1
Wherein, phi (ant 1) is the phase of one antenna (such as antenna 1 in fig. 1) in the electronic device, phi (ant 2) is the phase of the other antenna (such as antenna 2 in fig. 1) in the electronic device, phi (ant 1) -phi (ant 2) is the phase difference of the two antennas, d is the distance between the two antennas, θ is the arrival angle AOA, and λ is the wavelength of the signal received by the electronic device. In one embodiment, d may be set to less than λ/2, and the embodiments of the present application do not limit the setting of d.
It should be understood that, for an electronic device provided with three or more antennas, the electronic device may calculate an arrival angle by using a phase difference between two antennas, and then obtain a signal arrival angle of an opposite end communicating with the electronic device according to a plurality of calculated arrival angles.
The two devices that communicate, for example, a first device and a second device, are described below, and an electronic device as described above may be referred to as a first device, and an opposite end that communicates with the electronic device may be referred to as a second device. The arrival angle can be applied to a plurality of scenes, such as an intelligent object-finding scene, an indoor high-precision positioning scene and the like. In the intelligent object searching scene, the first device can further accurately determine the position of the second device relative to the first device by calculating the signal AOA of the second device. Wherein the location of the second device relative to the first device may be referred to as the relative location of the second device. In an indoor high-precision positioning scene, a signal AOA of the second equipment is added in a positioning algorithm, so that high-precision positioning can be performed.
It should be understood that, in the following embodiments, an object searching scenario is taken as an example to explain the method for obtaining the AOA provided in the present application. The view scene may include, but is not limited to: finding a car, finding a watch, finding an earphone, etc. using a mobile phone, finding an earphone, etc. using a watch, or finding a device (e.g., earphone, watch) not paired with a mobile phone, etc. using a mobile phone.
In one embodiment, the first device and the second device may each be referred to as a User Equipment (UE), a terminal (terminal), or the like. For example, taking the first device as an example, the first device may be a mobile phone, a tablet (portable android device, PAD), a personal digital assistant (personal digital assistant, PDA), a handheld device with a wireless communication function, a computing device, a vehicle-mounted device, or a wearable device, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in an industrial control (industrial control), a wireless terminal in a smart home (smart home), or the like, and the forms of the first device and the second device are not specifically limited in the embodiments of the present application.
In one embodiment, the first device may be a user device and the second device may be a network-side device. Network side devices may include, but are not limited to: an Access Point (AP), a base station, a next generation base station (which may be collectively referred to as a new generation radio access network node (NG-RAN node), where the next generation base station includes a new air interface base station (NR node b, gNB), a new generation evolved base station (NG-eNB), a Central Unit (CU), a Distributed Unit (DU), a gNB in a separated form, etc.), a transceiving point (transmission receive point, TRP), a transmission point (transmission point, TP), or other nodes.
It should be appreciated that in one embodiment, multiple antennas may be provided in a first device and one antenna may be provided in a second device. Alternatively, multiple antennas may be provided in both the first device and the second device.
In one embodiment, the first device and the second device may be interconnected by a communication network to enable interaction of signals. Taking the example that the first device and the second device are both user devices, the communication network may be, but is not limited to,: WI-FI hotspot networks, WI-FI peer-to-peer (P2P) networks, bluetooth networks, zigbee networks, or near field communication (near field communication, NFC) networks.
In one embodiment, the first device and the second device may not be connected, e.g., the first device and the second device may be unpaired cell phones and watches, cell phones and headphones, etc.
The antenna has a polarization characteristic. The polarization characteristic of an antenna means that the direction of the electric field vector changes with time in the maximum radiation direction of the antenna. The antenna radiates electromagnetic waves to the surrounding space, the electromagnetic waves are composed of an electric field and a magnetic field, and the direction of the electric field is the polarization direction of the antenna. The polarization modes of the antenna are classified into linear polarization (e.g., horizontal polarization, vertical polarization, 45 °, etc.) and circular polarization (e.g., left-hand polarization, right-hand polarization, etc.). In the embodiments of the present application, the polarization mode of the antenna is exemplified as the linear polarization.
When the antenna polarizations of the first device and the second device are matched, the first device can completely receive the energy of the signal wave from the second device, and further the AOA can be accurately calculated. Illustratively, a vertically polarized wave is to be received with an antenna having a vertically polarized mode, and a horizontally polarized wave is to be received with an antenna having a horizontally polarized mode. When the polarization of the incoming wave does not match (i.e., is mismatched with) the polarization of the receiving antenna, the energy of the signal wave received by the first device from the second device will be reduced, i.e., a polarization loss occurs. For example: when a vertically polarized wave or a horizontally polarized wave is received with an antenna of 45 ° polarization, or when a 45 ° polarized wave is received with an antenna of vertical polarization, polarization loss occurs.
When the polarization of the receiving antenna is completely orthogonal to the polarization of the incoming wave, the antenna does not receive the energy of the signal wave completely, in which case the loss of polarization is greatest, called complete isolation of the polarization. In this case, the first device cannot calculate the AOA. For example, when the first device receives a vertically polarized wave with a horizontally polarized antenna, complete isolation of the polarization may occur, thereby rendering the AOA unavailable to the first device.
In one embodiment, in order to match the polarizations of the antennas between the first device and the second device to accurately obtain the AOA, each antenna may be set as a dual-feed antenna in the first device (or the second device), where different feed points correspond to different polarizations of the antennas. As shown in fig. 2, the feed module 1 (RX 1) is connected to the double-fed antenna 1 (ant 1) through a single-pole double-throw switch, and the feed module 2 (RX 2) is connected to the double-fed antenna 2 (ant 2) through a single-pole double-throw switch. The feed source module 1 and the feed source module 2 are used for receiving radio frequency signals. The double-fed antenna 1 and the double-fed antenna 2 have the same structure, and take the double-fed antenna 1 as an example, the double-fed antenna 1 comprises two feed points, wherein one feed point (V) can realize horizontal polarization of the antenna, and the other feed point (V) can realize vertical polarization of the antenna.
When the first device performs AOA calculation, RX1 and RX2 can be switched to horizontal polarization for measurement and then switched to vertical polarization for measurement, and AOA is calculated through the two measurement data, and polarization mismatch of the first device and the second device can be avoided because the two measurement data cover the horizontal polarization and the vertical polarization. However, in this embodiment, on one hand, devices such as a double-fed antenna and a single-pole double-throw switch are required to be disposed in the device, which increases the antenna area and the cost, and on the other hand, the first device can only implement horizontal polarization and vertical polarization, and cannot implement polarization full matching, for example, when the incoming wave of the second device is a 45 ° polarized wave, polarization loss is caused, so that the accuracy of AOA obtained by the first device is low.
After the device is produced, the antenna design in the device is unchanged, and the polarization mode of the antenna in the device is determined by the direction of the electric field of the antenna relative to the ground. For example, the device is a mobile phone, and two patch antennas are designed in the mobile phone, and the antenna 1 and the antenna 2 in the mobile phone are disposed on the mobile phone near the receiver. As shown in a of fig. 3, the antenna designed in the mobile phone is a patch antenna, and when the screen of the mobile phone is a vertical screen and is placed vertically to the ground, the electric field directions of the antenna 1 and the antenna 2 are vertical to the ground, that is, the polarization modes of the antenna 1 and the antenna 2 are vertical polarization. As shown in b of fig. 3, when the mobile phone is rotated by 45 ° clockwise and the screen of the rotated mobile phone is still vertical to the ground, the electric field directions of the antenna 1 and the antenna 2 form an included angle of 45 ° with the ground, that is, the polarization modes of the antenna 1 and the antenna 2 are 45 ° polarization. As shown in c of fig. 3, the mobile phone is continuously rotated by 45 ° clockwise, that is, when the screen of the rotated mobile phone is a horizontal screen and still vertical to the ground, the electric field directions of the antenna 1 and the antenna 2 are parallel to the ground, that is, the polarization modes of the antenna 1 and the antenna 2 are horizontal polarization.
In one embodiment, the antenna disposed in the mobile phone may also be a Planar Inverted F Antenna (PIFA), a dipole antenna, or the like, and the embodiment of the present application does not limit the type of the antenna disposed in the device.
For example, as shown in d of fig. 3, when the mobile phone screen is vertical and is placed vertically to the ground, the mobile phone is tilted backward by 45 °, the rotated mobile phone screen forms an angle of 45 ° with the ground, and the electric field directions of the antenna 1 and the antenna 2 form an angle of 45 ° with the ground, that is, the polarization modes of the antenna 1 and the antenna 2 are 45 °. As shown in e of fig. 3, if the mobile phone is tilted backward by 45 °, the screen of the rotated mobile phone is horizontal to the ground, and the electric field directions of the antenna 1 and the antenna 2 are horizontal to the ground, and the polarization modes of the antenna 1 and the antenna 2 are horizontal polarization. It should be appreciated that the example in fig. 3 teaches the polarization of the antenna at several poses of the device and does not exhaust the polarization of the antenna for all poses of the device. It should be noted that the polarization of the antenna in the device is constantly changing during the change of the pose of the device.
From the above, the polarization mode of the antenna in the device is related to the pose of the device under the condition that the antenna design is unchanged. In order to match the polarizations of the antennas in the first device and the second device, the embodiment of the application provides an AOA obtaining method, and when the polarizations of the antennas in the first device and the second device are mismatched, a user can be prompted to change the gesture of the first device (or the second device) so as to match the polarizations of the antennas in the first device and the second device. In addition, because the change of the posture of the equipment can cause the change of the polarization direction of the antenna (such as vertical polarization, horizontal polarization, 45-degree polarization and the like), the polarization full matching can be realized.
It should be noted that, in the following embodiments, taking a scenario in which a user searches for a second device using a first device as an example, the first device may prompt the user to change the pose of the first device so that the polarizations of antennas in the first device and the second device match. In one embodiment, in other scenarios, the first device and/or the second device may each prompt the user to change the pose of the device to achieve antenna polarization matching in the first device and the second device.
It should be noted that, in fig. 3, the polarization modes of the antenna 1 and the antenna 2 are the same as each other, and in one embodiment, the polarization modes of the plurality of antennas disposed in the device may be the same, different, or partially the same, which is not limited by the embodiment of the present application. In the following embodiments, an example of an antenna design shown in fig. 3 is taken as an example, and an AOA obtaining method provided in the embodiments of the present application will be described.
Before describing the method for acquiring the AOA provided in the embodiments of the present application, first, a structure of a first device is described. It will be appreciated that the structure of the second device may refer to the description of the first device. Referring to fig. 4, the first device 40 may include: an antenna unit 41, a communication processor 42 and an application processor (application processor, AP) 43. In one embodiment, the communication processor 42 may be referred to as a first processor and the application processor 43 as a second processor.
The antenna unit 41 may include at least two antennas therein for receiving and transmitting signals.
In one embodiment, communication processor 42 may be a modem. The Modem is configured to process signals from the antenna and transmit signals from the processor through the antenna, and specific functions of the Modem are not described herein, and reference may be made to related descriptions in the prior art.
In one embodiment, the communication processor 42 is further configured to calculate the AOA based on the pose of the first device, and reference may be made to the description of the communication processor in the embodiments described below. In one embodiment, the first device may implement Bluetooth communication, WI-FI communication, etc. via the communication processor 42 and antenna.
In one embodiment, the application processor 43 may be used to obtain the pose of the first device 40 and to control the display screen display interface of the first device. In an embodiment, a gyroscope and/or an acceleration sensor 44 or the like may be provided in the first device 40 for acquiring data related to the pose, so that the application processor 43 may acquire the pose of the first device 40 from the data acquired by the gyroscope and/or the acceleration sensor 44 or the like. The method of acquiring the pose of the first device 40 is not limited in the embodiment of the present application.
It will be appreciated that the structure shown in fig. 4 does not constitute a specific limitation on the first device. In other embodiments of the present application, the first device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The method for obtaining the AOA according to the embodiment of the present application will be described below with reference to specific embodiments on the basis of the structure of the first device shown in fig. 4. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes. Taking the object searching scene as an example, the user can trigger the first device to execute the steps shown in the first scene-the third scene on the first device so as to obtain the relative position of the second device, so that the user can find the second device in time.
In one embodiment, taking the view scene as an example, an "view" Application (APP) may be installed on the first device. As shown in a of fig. 5, the user may operate the "find" application, triggering the first device to display an interface of the "find" application. As shown in b of fig. 5, the interface of the "find" application may include: the seek control 51 is started. User operation of the start finding control 51 may trigger the first device to perform the steps shown in scenario one-scenario three. In one embodiment, the user operation of the start seek control 51 may be referred to as a first operation to trigger the first device to start seeking the second device. In one embodiment, the key step for the first device to start searching for the second device is for the first device to acquire the AOA of the second device, so it can be said that the first operation is used to trigger the first device to acquire the AOA of the second device.
In one embodiment, as shown in b of fig. 5, the interface of the "find" application may further include: identification of the device to be selected. The device to be selected is a device to be found, and the identifier of the device to be selected may be: the name of the device to be selected (e.g., watch, headset, etc.), a picture, etc. For example, the user may select the second device (e.g., a watch) from the identifiers of the devices to be selected, so as to trigger the first device to find the second device (output the relative position of the second device), so that the user can find the second device in time. In such an embodiment, b in fig. 5 is represented by the user first selecting the name of the second device, then operating the start finding control 51, and b in fig. 5 is represented by the first operating hand as a dashed line, and the second operating hand as a solid line. It should be understood that in fig. 5, the first device is illustrated as a mobile phone, and the second device is illustrated as a watch.
Scene one: the first device is used as a signal receiving end and prompts once
Fig. 6 is a flowchart of an embodiment of an AOA obtaining method according to an embodiment of the present application. Referring to fig. 6, the method for obtaining the AOA provided in the embodiment of the present application may include:
s601, an antenna in the first device receives a signal from the second device.
In one embodiment, the first device and the second device are interconnected by a communication network. In such an embodiment, the first device and the second device may interact with signals, and accordingly, the first device may receive signals from the second device. Wherein an antenna in the first device may receive a signal from the second device.
In one embodiment, the first device and the second device are unconnected. In this embodiment, the first device may receive the broadcast signal from the second device. Illustratively, if the first device is a mobile phone and the second device is a watch, and the first device and the second device are not paired to establish a connection, the second device may continuously send a broadcast signal to the surroundings, and illustratively, the broadcast signal is used for pairing, and accordingly, the first device may receive the broadcast signal from the second device. Wherein an antenna in the first device may receive the broadcast signal from the second device.
S602, the communication processor detects whether the polarizations of the antennas in the first device and the second device are matched according to the signal from the second device. If not, S603 is executed, and if yes, S609 is executed.
After receiving the signal from the second device, the antenna may transmit to the communication processor for processing. Wherein the communication processor may detect whether the polarizations of the antennas in the first device and the second device match based on the signal from the second device.
In one embodiment, the communication processor may detect whether the first device and the second device are polarization matched based on information related to the signal from the second device. In one embodiment, the information related to the signal from the second device may include at least one of: the strength of the signal, the signal-to-noise ratio, the phase difference stability, etc. may be used as parameters characterizing the communication quality of the first device and the second device. In one embodiment, the strength, signal-to-noise ratio, and phase difference stability of the signal may also be referred to as a signal.
In one embodiment, in the case that the relevant information of the signal from the second device is a signal strength, the antenna polarization matching in the first device and the second device is characterized when the strength of the signal from the second device is greater than or equal to a preset strength. And characterizing the antenna polarization mismatch in the first device and the second device when the strength of the signal from the second device is less than a preset strength.
In one embodiment, in the case where the relevant information of the signal from the second device is the signal-to-noise ratio of the signal, the antenna polarization matching in the first device and the second device is characterized when the signal-to-noise ratio of the signal from the second device is greater than or equal to a preset signal-to-noise ratio. And characterizing the antenna polarization mismatch in the first device and the second device when the signal to noise ratio of the signal from the second device is less than a preset signal to noise ratio.
In one embodiment, in the case where the relevant information of the signal from the second device is a phase difference stability, the antenna polarization matching in the first device and the second device is characterized when the phase difference stability is greater than or equal to a preset phase difference stability. And characterizing the antenna polarization mismatch in the first device and the second device when the phase difference stability is less than the preset phase difference stability.
In one embodiment, the communication processor may detect whether the polarizations of the antennas in the first device and the second device match using any two or a combination of three of the parameters "signal strength, signal to noise ratio, and phase difference stability". Illustratively, taking a combination of signal strength and signal-to-noise ratio as an example, the antenna polarization matching in the first device and the second device is characterized when the signal strength from the second device is greater than or equal to a preset strength and the signal-to-noise ratio of the signal from the second device is greater than or equal to a preset signal-to-noise ratio. And characterizing the antenna polarization mismatch in the first device and the second device when the strength of the signal from the second device is less than a preset strength or the signal to noise ratio of the signal from the second device is less than a preset signal to noise ratio.
In one embodiment, S602 may be replaced with: the communication processor detects whether the polarizations of the antennas in the first device and the second device match based on the channel state information (channel state information, CSI). If not, S603 is executed, and if yes, S609 is executed.
Wherein it is understood that CSI may be used to characterize the quality of communication between the first device and the second device. And when the CSI characterizes that the communication quality between the first device and the second device is greater than or equal to a preset communication quality (i.e. the communication quality is good, such as the signal attenuation value is less than or equal to the preset attenuation value), characterizing that the polarizations of the antennas in the first device and the second device are matched. And when the CSI represents that the communication quality between the first device and the second device is smaller than the preset communication quality, representing that the antenna polarization in the first device and the antenna polarization in the second device are mismatched.
S603, the communication processor obtains the current first gesture of the first device from the application processor.
The application processor may obtain the current first posture of the first device according to data collected by the gyroscope and/or the acceleration sensor in the first device. The communication processor may interact with the application processor to obtain a current first pose of the first device.
S604, the communication processor controls the application processor to output prompt information, wherein the prompt information is used for indicating the first equipment to rotate to two postures, and the polarization mode of the antenna in the first equipment in the second posture is different from that of the antenna in the first equipment in the first posture.
In one embodiment, the communication processor may directly perform S604 without performing S602-S603.
In the case of a mismatch in the antenna polarizations of the first device and the second device, the communication processor may control the application processor to output a prompt for prompting the user to rotate the first device to the two poses. The antenna polarization mode in the first device in the second posture is different from the antenna polarization mode in the first device in the first posture, and is different from the antenna polarization mode in the first device in the first posture in the second posture, and in the process of rotating the first device to the second posture, the antenna polarization mode in the first device is gradually changed, so that the antenna polarization mode in the first device is matched with the antenna polarization mode in the first device in the first posture in the process of rotating the first device to the second posture, and the accuracy of the AOA is improved.
For example, taking the first device as a mobile phone, when the first gesture is that the mobile phone screen is a vertical screen and is placed vertically to the ground, the second gesture may be any gesture different from the first gesture, for example, the second gesture may be: the mobile phone leans back to any gesture corresponding to any angle, or swings left and right to any gesture corresponding to any angle, and the like.
In the embodiment of the application, in order to enable the first device to realize antenna polarization matching with the second device in the rotating process, so that the communication processor can obtain accurate AOA, the antenna polarization mode in the first device in the second posture can be set to be orthogonal to the antenna polarization mode in the first device in the first posture.
Thus, when the polarizations of the antennas in the first device and the second device in the first posture are completely isolated, and the first device rotates to the second posture, because the polarization mode of the antenna in the first device in the second posture is orthogonal to the polarization mode of the antenna in the first device in the first posture, the polarizations of the antennas in the first device and the second device in the second posture are matched. When the polarizations of the antennas in the first device and the second device in the first posture are mismatched (non-polarized complete isolation), and the first device rotates to the second posture, because the polarization mode of the antenna in the first device in the second posture is orthogonal to the polarization mode of the antenna in the first device in the first posture, the polarization matching of the antennas in the first device and the second device can be realized in the rotating process of the first device.
For example, taking the first device as a mobile phone, as shown in b in fig. 5, when the first gesture of the mobile phone is: when the mobile phone screen is vertical and is placed vertically to the ground, the polarization modes of the antenna 1 and the antenna 2 in the mobile phone are vertical polarization (refer to a in the figure). Because the polarization of the antenna in the first device in the second pose is orthogonal to the polarization of the antenna in the first device in the first pose, the polarization of the antenna in the first device in the second pose is horizontally polarized. As shown in a-e of fig. 3, in the case of horizontal polarization of the antenna polarization, the posture of the mobile phone may be: the mobile phone screen is a horizontal screen and is vertical to the ground (as shown by c in fig. 3), or the mobile phone screen is horizontal to the ground (as shown by e in fig. 3). Accordingly, the second gesture may be: the mobile phone screen is a horizontal screen and is vertically arranged with the ground, or the mobile phone screen is horizontally arranged with the ground.
After the communication processor acquires the current first gesture of the first device, the second gesture can be determined according to the first gesture, and then the application processor is controlled to output prompt information.
In one embodiment, the first device may have a mapping relationship between the first gesture and the second gesture, and a rotation manner in which the first gesture rotates to the second gesture. By way of example, the mapping may be as shown in Table one below:
List one
The above table exemplifies the second pose corresponding to the first pose and the rotation mode when the polarization modes of the antenna in the first pose are respectively vertical polarization and horizontal polarization. It should be understood that, in table one, the second pose corresponding to the first pose and the rotation mode may also be included when the polarization mode of the antenna in the first pose is an angular polarization (such as 45 ° polarization, 30 ° polarization, etc.).
In one embodiment, the mapping relationship may be stored in a communication processor or an application processor, which is not limited by embodiments of the present application. After the communication processor acquires the current first gesture of the first device, the communication processor can look up a table to obtain a second gesture corresponding to the first gesture and a rotation mode, and then the communication processor can control the application processor to output prompt information according to the second gesture and the rotation mode obtained by looking up the table.
In one embodiment, the first gesture may correspond to at least one gesture, and the communication processor may select one of the at least one second gesture when the second gesture corresponding to the first gesture is greater than 1. Illustratively, when the first pose is: when the screen is vertical and vertical to the ground, the first gesture corresponds to two second gestures, namely 'the screen is horizontal to the ground' and 'the screen is horizontal and vertical to the ground', so that the communication processor can select one gesture from the two second gestures as the second gesture. In one embodiment, when the first pose corresponds to at least two second poses, one (or part of) the poses may be referred to as the second pose and the remaining poses as the fourth pose.
In one embodiment, the first device may not store the mapping of the first pose, the second pose, and the rotation of the first pose to the second pose. In this embodiment, the communication processor may determine the second pose based on the antenna design in the first device and the first pose. The communication processor may determine an antenna polarization (may be referred to as a first antenna polarization) in the first pose according to the first pose and the antenna design in the first device, and further determine a second antenna polarization orthogonal to the first antenna polarization. The communication processor may determine the second pose based on the second antenna polarization and the design of the antenna in the first device.
As an example, the antenna design in the first device is shown in fig. 3, the first gesture is that the screen is vertical and perpendicular to the ground, and the communication processor may determine that the first antenna polarization is vertical polarization, and the second antenna polarization orthogonal to the vertical polarization (the first antenna polarization) is horizontal polarization. The communication processor may determine, according to the horizontal polarization (the second antenna polarization) and the design of the antenna in the first device, that the second pose corresponding to the horizontal polarization may be "screen-to-ground horizontal" and "screen-to-ground horizontal and vertical". Further, the communication processor may control the application processor to output a prompt to direct the user to rotate the first device from the first pose to the second pose.
In one embodiment, when the polarization directions of the plurality of antennas disposed in the first device are different, that is, the polarization manner of the first device in the first posture is plural, in this case, the polarization manner of each antenna of the first device in the second posture is orthogonal to the polarization manner of the corresponding antenna in the first posture. For example, in the first posture (the first posture is that the screen is vertical and is perpendicular to the ground), the polarization mode of the antenna 1 in the first device is vertical polarization, the polarization mode of the antenna 2 is horizontal polarization, and then the second posture may be that the screen is horizontal and is perpendicular to the ground. When the first device is in the second posture, the polarization mode of the antenna 1 is horizontal polarization, and the polarization mode of the antenna 2 is vertical polarization. In this embodiment, although the polarizations of the antennas in the first device and the second device are mismatched in the first posture and the second posture, matching of the polarizations of the antennas in the first device and the second device can be achieved in the process of rotating the first device to the second posture, such as when the antenna 1 in the first device is 45 ° polarized and the antenna 2 is 45 ° polarized.
Taking the second gesture as "the mobile phone screen and the ground level" for example, as shown in c in fig. 5, the mobile phone may output a prompt box 52 on the interface, where the prompt box 52 may include a prompt message such as "please tilt the mobile phone backwards to the level" so as to prompt the user to rotate the mobile phone from the first gesture to the second gesture "the mobile phone screen and the ground level". In one embodiment, in order to make the user more clearly understand how to rotate the phone, a guiding animation of the rotation of the phone may be displayed in the prompt box 52, so that the user may rotate the phone according to the animation. It should be understood that the animation that is tilted backward to the horizontal is illustrated in the prompt box 52.
In this embodiment, taking a mode that the first device may display the prompt information on the interface as an example, the first device may also output the prompt information in other modes such as voice, which is not limited in this embodiment of the present application.
S605, during the process of the first device rotating from the first posture to the second posture, the communication processor acquires AOA data under each posture that the first device experiences.
During rotation of the first device from the first pose to the second pose, the first device may experience multiple poses and, accordingly, the communication processor may acquire AOA data at each pose. In one embodiment, the AOA data may be: the AOA data of the second device at each pose may be an AOA spectrum (angle of arrival spectrum), an AOA curve, or the like. The AOA of the second device in each pose may be obtained based on the phase difference between the antennas in the first device in each pose, where a scene in which the AOA data is an AOA spectrum is described as follows:
for example, the first gesture is that the mobile phone screen is vertical and is perpendicular to the ground, the communication processor obtains the AOA spectrum in the first gesture as shown in a in fig. 8, and in the case that the antenna polarizations of the first device and the second device are mismatched, the communication processor may control the application processor to output prompt information (as shown in a prompt box 81 shown in a in fig. 8), so as to instruct the user to rotate the mobile phone to the second gesture, such as "the screen is horizontal and is perpendicular to the ground". As shown at b in fig. 8, when the handset is rotated to the third attitude, the communication processor acquires the AOA spectrum in the third attitude, as shown at b in fig. 8. When the handset is rotated to the second pose, the communication processor acquires the AOA spectrum in the second pose as shown in c in fig. 8. It should be understood that, in fig. 8, the process of rotating the first device from the first posture to the second posture is taken as an example to describe that the AOA spectrum under three postures is obtained, and in the embodiment of the present application, the communication processor obtains the AOA spectrum under several postures during the rotation process of the first device without limitation.
Taking a in fig. 8 as an illustration of AOA spectrum: the AOA spectrum has an abscissa, which is the angle of incidence (may be referred to simply as angle), and an ordinate, which is time. The larger the white point luminance value in the AOA spectrum (the smaller the gray value of the white point as indicated by a in fig. 8), the larger the intensity value characterizing the angle of incidence (i.e. the greater the likelihood that the AOA between the first device and the second device is that angle). It should be understood that the ordinate 1-64 may correspond to 64 carriers, respectively, for example, the 64 carriers are converted from the frequency domain to the time domain, respectively, to obtain the time corresponding to the 64 carriers, respectively. In one embodiment, the time on the ordinate may characterize the relative delay of 64 carriers after conversion to the time domain. The number of carriers corresponding to the ordinate is related to the communication bandwidth between the first device and the second device.
If the coordinate system is established in the first attitude shown as a in fig. 8, and with reference to b in fig. 8, the handset is rotated to the third attitude, the starting angle of the abscissa shown as the abscissa of the AOA spectrum increases accordingly, as the angle shown as the abscissa of the AOA spectrum changes from 0 ° -360 ° to 45 ° -44 ° (i.e. 45 ° -360 °, and 360 ° -44 °). Referring to c in fig. 8, the handset is rotated to a second attitude, with the angle shown in the abscissa of the AOA spectrum varying from 0 ° -360 ° to 90 ° -89 ° (i.e. 90 ° -360 °, and 360 ° -89 °).
It should be understood that the handset shown in fig. 8 has different poses, and the start angle and the end angle of the abscissa shown in the abscissa of the AOA spectrum are different, and the abscissas of the AOA spectrum of the handset in different poses are gesture-compensated. Taking the first posture as an initial posture as an example, the abscissa of the AOA spectrum in the first posture is 0 ° (initial angle) to 360 ° (end angle), and in the third posture, the posture of the mobile phone is changed by 45 °, and the abscissa of the AOA spectrum in the third posture is adjusted to 45 ° (initial angle) to 44 ° (end angle).
S606, the communication processor acquires the AOA of the second device according to the AOA data in each gesture.
In one embodiment, the communication processor may obtain the angle of arrival of the second device from the intensity value of the angle of incidence at each abscissa based on the AOA spectrum at each pose. For example, the communication processor may take as the AOA of the second device the angle of incidence at which the intensity value is greatest at each pose. By way of example, in the AOA spectrum of each pose, the intensity value of the 90 ° incident angle is the largest, and then 90 ° may be taken as the AOA of the second device.
In one embodiment, the communication processor, when acquiring the AOA spectrum at each pose traversed by the first device, may calculate an intensity value for each abscissa (angle of incidence) in the AOA spectrum at each pose. Illustratively, the communication processor may calculate the intensity values for each abscissa (angle of incidence) using, but not limited to, a Beamforming (AOA) algorithm. In one embodiment, the intensity values for each abscissa (angle of incidence), which the communication processor uses the beam AOA algorithm, may also be referred to as an angle of incidence distribution.
In one embodiment, the communication processor may acquire the AOA of the second device while acquiring the AOA data at each pose.
Illustratively, when the handset rotates from the first pose to the third pose, the communication processor may obtain candidate AOAs for signals from the second device (which may be referred to as candidate AOAs for the second device) based on the AOA data in the first pose and the AOA data in the third pose. For example, the communication processor may acquire the candidate AOA by performing weighted average processing on the AOA spectrum in the first pose and the AOA spectrum in the third pose. For example, the communication processor may perform weighted average processing on AOA data corresponding to the same abscissa (angle) to obtain candidate AOAs (e.g., an incident angle with the greatest intensity value after weighted average processing may be used as the candidate AOAs). Wherein the weighted average process can be understood as: and (3) different weights are distributed to different abscissas in the AOA spectrum, and the AOA data under the same abscissas are weighted and averaged according to the weights.
It should be understood that the purpose of the manner in which the weighted average processing is performed on the AOA data in each pose in the embodiment of the present application is to: the problem of low AOA precision caused by inaccurate AOA data in one gesture is avoided, the AOA data in each gesture is adopted to carry out weighted average processing, and the intensity value after weighted average processing is more obvious in representation (such as stronger intensity and weaker intensity) under the same abscissa (incidence angle), so that accurate AOA can be conveniently obtained.
Wherein if the communication processor detects that the polarizations of the antennas in the first device and the second device match based on the signal from the second device while in the third pose, the communication processor may take the candidate AOA as the AOA of the second device. If the antennas in the first device and the second device are still polarization mismatched in the third posture, the communication processor may acquire the AOA spectrum of the first device rotated to the second posture, and acquire the candidate AOA by adopting a weighted average manner of the AOA spectrum of the third posture and the AOA spectrum of the second posture (or acquire the candidate AOA according to the AOA spectrum of the third posture), so as to use the candidate AOA as the AOA of the second device when the antennas in the first device and the second device are matched. The manner in which the communication processor detects whether the polarizations of the antennas in the first device and the second device match according to the signal from the second device may be referred to as the relevant description in S602.
In one embodiment, if the antenna polarizations in the first and second devices match in the third pose, the communication processor may further continue to obtain the candidate AOA in the subsequent pose of the first device after taking the candidate AOA as the AOA of the second device (e.g., obtain the candidate AOA from the AOA data in the third pose and the AOA data in the second pose), and if the degree of antenna polarization matching in the first and second devices in the second pose is greater than the degree of antenna polarization matching in the first and second devices in the third pose, the communication processor may update the candidate AOA obtained in the second pose to the AOA of the second device.
The magnitude of the degree of matching of the antenna polarizations may be characterized by the relevant information of the signal from the second device, which may be described with reference to the correlation in S602. For example, if the signal-to-noise ratio of the signal from the second device in the second pose is greater than the signal-to-noise ratio of the signal from the second device in the third pose, then the degree of matching of the polarizations of the antennas in the first and second devices is characterized as being greater than the degree of matching of the polarizations of the antennas in the first and second devices in the third pose.
In one embodiment, the communication processor may also obtain the AOA of the second device based on the AOA spectrum in the first pose, the AOA spectrum in the third pose, and the AOA spectrum in the second pose (e.g., performing a weighted average process on the AOA spectrum in the first pose, the AOA spectrum in the third pose, and the AOA spectrum in the second pose) when the first device rotates from the first pose to the second pose.
In one embodiment, when the first device rotates from the first posture to the second posture, the communication processor may also use the candidate AOA obtained by the posture with the highest matching degree as the AOA of the second device according to the matching degree of the antenna polarizations in the first device and the second device under each posture. In one embodiment, the "candidate AOA acquired in the pose when the degree of antenna polarization matching in the first device and the second device is highest" may be regarded as the AOA of the second device, and the weight of "when the degree of antenna polarization matching in the first device and the second device is highest" may be regarded as 100% (or 1).
In this embodiment of the present application, because the antenna polarizations of the first device and the second device under the first gesture are mismatched, the first device may prompt the user to rotate the first device from the first gesture to the second gesture, and because the antenna polarization mode in the first device under the second gesture is orthogonal to the antenna polarization mode in the first device under the first gesture, in the process of rotating the first device from the first gesture to the second gesture, the first device and the second device may implement antenna polarization matching. Therefore, in the embodiment of the application, the communication processor acquires the AOA of the second device by adopting the AOA data under each gesture, so that the accuracy of the AOA can be improved.
S607, the communication processor acquires the relative position of the second device according to the AOA of the second device.
The AOA of the second device can be understood as: the orientation of the second device relative to the first device.
In one embodiment, the communication processor may obtain a distance between the first device and the second device, and the communication processor may obtain a relative position of the second device in combination with a direction of the second device relative to the first device. The relative position of the second device can be understood as: the direction and distance of the second device relative to the first device.
In one embodiment, the communication processor may determine the distance between the first device and the second device based on the strength (or signal-to-noise ratio, etc. parameter) of the signal from the second device. It will be appreciated that the further the second device is from the first device, the less the strength of the signal from the second device. In one embodiment, the communication processor may store a mapping of the distance of the strength of the signal, and further obtain the distance between the first device and the second device based on the strength of the signal from the second device and the mapping.
In one embodiment, the communication processor may obtain the distance between the first device and the second device in combination with other ranging approaches. Illustratively, the first device may further include: an Ultra Wide Band (UWB) module, through which the communication processor may acquire a distance between the first device and the second device using UWB technology. Or, the communication processor may further acquire the distance between the first device and the second device by adopting a bluetooth ranging mode, etc., which is not limited in the ranging mode of the communication processor in the embodiment of the present application.
The communication processor may obtain the relative position of the second device based on the AOA of the second device. In this embodiment, an algorithm for positioning according to AOA is not described in detail.
S608, the communication processor controls the application processor to output the relative position of the second device.
After the communication processor acquires the relative position of the second device, the application processor can be controlled to output the relative position of the second device.
For example, as shown in d of fig. 5, when the user rotates the mobile phone from the first posture (the screen is vertical and perpendicular to the ground) to the second posture (the screen is horizontal to the ground) according to the prompt information output by the first device, the communication processor may calculate the relative position of the second device, and then the mobile phone may display the relative position of the second device on the interface. For example, the relative position of the second device may be displayed on the handset as "10 meters in front".
In one embodiment, the communication processor may also obtain the location of the second device based on the AOA of the second device, and may then display the location of the second device, and the information "10 meters in front" in d in fig. 5.
In one embodiment, when there are a plurality of second gestures, the first device may include the plurality of second gestures in the prompt when the first device outputs the prompt, so that the user may select a convenient rotation manner to rotate the first device. For example, as shown in a of fig. 7, when the first gesture of the mobile phone is that the screen is vertical and is perpendicular to the ground, the second gesture may be that the screen is horizontal to the ground, or that the screen is horizontal and is perpendicular to the ground, the mobile phone may output a prompt box 71 on the interface, and the prompt box 71 may include a prompt message such as "please tilt the mobile phone backward to the horizontal or swing the mobile phone to the horizontal to prompt the user to rotate the mobile phone from the first gesture to the second gesture. In one embodiment, a guiding animation of the rotation of the mobile phone may also be displayed in the prompt box 71, so that the user may rotate the mobile phone according to the animation. It should be understood that the animation in the prompt box 71 indicates that the mobile phone is tilted to the horizontal after being used, and swings to the right to the horizontal screen for illustration.
Illustratively, when the user swings the handset to the right to the landscape screen (i.e., the handset rotates from the first pose to the second pose), the handset may display the relative position of the second device, as shown by b in fig. 7.
In one embodiment, the steps shown in FIG. 6 are optional steps and the steps may be combined with one another. In one embodiment, the modules shown in FIG. 6 may also be combined, the combined modules being used to perform at least one of the steps of FIG. 6.
S609, the communication processor acquires the AOA of the second device.
It will be appreciated that because the antenna polarizations of the first and second devices are matched in the first pose, the communication processor may obtain the AOA of the second device from the AOA spectrum acquired in the first pose. In one embodiment, the manner in which the communication processor obtains the AOA of the second device may be referred to in the related description of the prior art. Wherein, after the communication processor performs S609, S607-S608 as above may also be performed.
In the embodiment of the application, when the polarizations of the antennas in the first device and the second device are not matched, the first device can prompt the user to change the gesture of the first device so as to realize the polarization matching of the antennas in the first device and the second device in the gesture changing process of the first device, so that the first device can accurately obtain the AOA of the second device, further accurately obtain the relative position of the second device, and the user can find the second device in time.
The manner in which the first device prompts the user to change the pose of the first device as shown in fig. 5 and 7 above may be: rotating the first device from the first position to the second position, in one embodiment, to more closely adapt to the habit of the user using the first device, the first device may prompt the user to change the position of the first device in a "pan-tilt" manner. For example, the gesture of the first device may be rotated from the first to the second gesture and back from the second gesture to the first gesture. Alternatively, the attitude of the first device may be rotated from the first attitude to the second attitude, then rotated back from the second attitude to the first attitude, then rotated from the first to the second attitude, and then rotated back from the second attitude to the first attitude.
The following is "shake-shake: the gesture of the first device is described by taking the example of rotating from the first gesture to the second gesture and then rotating from the second gesture back to the first gesture:
as shown in a of fig. 9, when the first gesture of the mobile phone is: when the mobile phone screen is vertical and is vertical to the ground, the polarization modes of the antenna 1 and the antenna 2 in the mobile phone are vertical, and at this time, if the polarization of the antennas of the mobile phone and the watch are mismatched, the mobile phone can display a prompt box 91, and the prompt box 91 can include prompt information such as "please tilt the mobile phone backwards to be horizontal and then rotate the mobile phone to be in situ", so as to prompt a user to rotate the mobile phone from a first posture to a second posture and then rotate the mobile phone from the second posture back to the first posture. In one embodiment, in order to make the user more clearly understand how to rotate the mobile phone, a guiding animation of the mobile phone rotation can be displayed in the prompt box 91, so that the user can rotate the mobile phone according to the animation.
As shown in b and c in fig. 9, the user rotates the first posture of the mobile phone to the second posture, and then rotates the mobile phone from the second posture back to the first posture, and during the rotation of the mobile phone, the communication processor may acquire the AOA data of each posture that the first device experiences, so as to acquire the AOA of the second device according to the AOA data of each posture, which may be described with reference to the related descriptions in S605-S606. In one embodiment, the handset may display the relative position of the second device in the third position (e.g., the position shown in b in fig. 9) or may display the relative position of the second device in the second position (e.g., the position shown in c in fig. 9).
In one embodiment, the communication processor may acquire the AOA of the second device while acquiring the AOA data at each pose. Alternatively, in one embodiment, the communication processor may acquire the AOA between the first device and the second device based on the AOA data at each pose during rotation when the pose of the first device is rotated from the first pose to the second pose and back from the second pose to the first pose. The two ways in which the communication processor obtains the AOA of the second device may be referred to the relevant description in S606.
In one embodiment, the communication processor may obtain candidate AOAs (which may be referred to as first candidate AOAs) for signals from the second device based on AOA data at each pose during a rotation of the first device from the first pose to the second pose. The manner of acquiring the candidate AOA may refer to the related description in S605. Wherein the communication processor may treat the candidate AOA as an AOA of the second device if the antenna polarizations in the first device and the second device match in the second pose. If the polarizations of the antennas in the first device and the second device are mismatched in the second posture, the communication processor may acquire an AOA spectrum under each posture during the continuous rotation of the first device back to the first posture, so that when the first device rotates back to the first posture, the communication processor may acquire a candidate AOA (may be referred to as a second candidate AOA) according to the AOA spectrum under each posture during the rotation of the first device (such as an AOA spectrum during the rotation from the second posture to the first posture), which may be described with reference to the correlation in S606.
In one embodiment, the communication processor may obtain the AOA of the second device based on the first candidate AOA and the second candidate AOA.
Illustratively, when in a first pose (i.e., acquiring a second candidate AOA), the degree of antenna polarization matching in the first device and the second device is greater than when in a second pose (i.e., acquiring the first candidate AOA), the communication processor may update the second candidate AOA to the AOA of the second device. If the degree of antenna polarization matching in the first device and the second device is less than the degree of antenna polarization matching in the second device when in the first pose (i.e., the second candidate AOA is acquired), the communication processor may determine the first candidate AOA as the AOA of the second device.
For example, the communication processor may further compare the first pose (i.e., acquire the second candidate AOA) and the second pose (i.e., acquire the first candidate AOA) after acquiring the first candidate AOA and the second candidate AOA, and take the candidate AOA acquired when the antenna polarization matching degree is greater as the AOA of the second device.
In this embodiment, because of the antenna polarization mismatch of the first device and the second device in the first pose, the first device may prompt the user to rotate the first device from the first pose to the second pose and then rotate the first device from the second pose back to the first pose. Because the polarization mode of the antenna in the first device in the second posture is orthogonal to the polarization mode of the antenna in the first device in the first posture, the first device and the second device can achieve multiple times of antenna polarization matching in the process that the first device rotates from the first posture to the second posture and back from the second posture to the first posture. Therefore, in the embodiment of the application, the communication processor acquires the AOA of the second device by adopting the AOA data under each gesture, so that the accuracy of the AOA can be improved.
Illustratively, referring to c in fig. 9, when the first device is rotated back to the first position, the relative position of the second device may be displayed on the handset as "10 meters in front". In one embodiment, the relative position of the second device may be displayed on the handset when the first device is rotated to the second position, which in this embodiment is shown at a faster rate.
In this embodiment, when the polarization of the antenna in the first device and the second device is mismatched, the first device may prompt the user to shake in a shake manner, so as to implement the polarization matching of the antenna in the first device and the second device, and the first device may accurately obtain the AOA between the first device and the second device, and further accurately obtain the relative position of the second device, and further, because the shake manner accords with the habit of using the first device by the user, the user experience may be improved. In addition, in the process of shaking, the first equipment and the second equipment can achieve multiple times of antenna polarization matching, and the accuracy of AOA can also be improved.
Scene II: the first device is used as a signal receiving end and prompts at least once
Fig. 10 is a schematic diagram of the error of the first device to obtain the AOA at each incoming wave angle. Referring to fig. 10, the abscissa in the figure represents the angle of arrival of the signal in the second device, and the ordinate represents the angle of error of the AOA. When the angle of the incoming wave (i.e. the angle of the signal wave from the second device) is close to 0 ° and 180 °, the error angle of the AOA obtained by the first device is large, i.e. the obtained AOA differs significantly from the actual AOA, with poor accuracy. Illustratively, as shown in a of fig. 11, taking the first posture of the first device as a screen as a vertical screen and being perpendicular to the ground as an example, the second posture may be that the screen is horizontal to the ground or that the screen is a horizontal screen and being perpendicular to the ground. In one embodiment, the angle of the incoming wave may be referred to as the angle of incidence.
When the angle of incoming waves is 90 °, the first device rotates from the first posture to the second posture (the screen is a horizontal screen and is perpendicular to the ground) as shown in b in fig. 11, the angle of incoming waves is still 90 °, and referring to the AOA error diagram in fig. 10, the first device can accurately acquire the AOA between the first device and the second device. And when the first device rotates from the first posture to the second posture (screen-to-ground level) as shown by c in fig. 11, the incoming wave angle becomes 180 °, and the first device cannot accurately acquire the AOA. In this example, if the first device directs the user to rotate the first device from a first pose to a second pose (screen to ground level) as shown at c in fig. 11, the first device cannot accurately acquire the AOA between the first device and the second device.
In order to solve the problem, in the case that the second gestures corresponding to the first gestures are at least two, in the embodiment of the present application, the first device may prompt the user to rotate the first device at least twice, so that the first device may accurately obtain the AOA of the second device, so as to accurately obtain the relative position of the second device. It should be appreciated that if the first gesture corresponds to only one second gesture, the first device may prompt the user to rotate the gesture of the first device to that second gesture.
For example, as shown in a of fig. 12, when the first gesture of the mobile phone is that the screen is vertical and is perpendicular to the ground, the second gesture may be that the screen is horizontal to the ground, or that the screen is horizontal and is perpendicular to the ground, then the mobile phone may output a prompt frame 121 on the interface, where the prompt frame 121 may include a prompt message such as "tilt the mobile phone backward to the horizontal and then rotate the mobile phone to the horizontal and the mobile phone screen is perpendicular to the ground" (or a prompt message such as "tilt the mobile phone backward to the horizontal, rotate to the home position and then rotate the mobile phone to the horizontal and the mobile phone screen is perpendicular to the ground and rotate to the home position") to prompt the user to rotate the mobile phone from the first gesture to the first second gesture and then rotate the mobile phone to the second gesture, so as to avoid the problem that the AOA is low in accuracy caused by the incoming wave direction of the second device approaching 0 ° or 180 °. In one embodiment, a guiding animation of the rotation of the mobile phone may be displayed in the prompt box 121, so that the user may rotate the mobile phone according to the animation.
Illustratively, when the user swings the handset to the right to the landscape screen (i.e., the handset rotates from the first pose to the second pose), the handset may display the relative position of the second device, as shown by b in fig. 7.
As shown in b of fig. 12, in the process that the user rotates the mobile phone from the first posture to the first and second postures (screen and ground level), the mobile phone can acquire the AOA of the second device, and the accuracy of the AOA is low because the incoming wave angle of the second device is 180 ° when the first device is in the first and second postures. As shown in fig. 12 c, in the process that the user rotates the mobile phone from the first posture to the second posture (the horizontal screen and the mobile phone screen are perpendicular to the ground), the mobile phone can acquire the AOA of the second device, because the incoming wave angle of the second device is 90 ° when the first device is in the second posture, the accuracy of the AOA is high, and accordingly, the first device can output the relative position of the second device, as shown in fig. 12 c.
It should be understood that the process of rotating the handset back to the first posture after the user rotates the handset from the first posture to the first and second postures is not shown in fig. 12, and thus, the process of rotating the handset back to the first posture by the user is represented by the dotted arrow between b in fig. 12 and c in fig. 12. It will be appreciated that in one embodiment, the handset may output the relative position of the second device as the user rotates the handset from the first position to the second position, and dynamically adjust the relative position of the second device during subsequent user rotations of the handset from the second position back to the first position. In one embodiment, the first device may also display the time of acquiring the relative position of the second device when outputting the relative position of the second device, so that the user can more clearly know that the relative position of the second device is continuously updated. In one embodiment, the handset may also output the relative position of the second device when the user rotates the handset from the first position to the second position and back to the first position.
In one embodiment, the first device may also continue to update the AOA of the second device to update the relative position of the second device if the pose of the first device is still changing as the first device is rotated back from the second pose to the first pose.
In other words, the mobile phone can take the AOA with high accuracy as the AOA between the first device and the second device in the process of rotating the mobile phone twice.
In one embodiment, the AOA may be used as a highly accurate AOA with a larger intensity value, which may be described with reference to the above-described "candidate AOA" intensity values. In one embodiment, the closer the AOA obtained during two rotations of the handset is to the 90 ° AOA as the high accuracy AOA (because the closer to the 0 ° or 180 ° AOA the lower accuracy). For example, an AOA that is within a preset range (e.g., 30 ° -150 °) may be considered an AOA with high accuracy, and an AOA that is outside the preset range may be considered an AOA with low accuracy.
In one embodiment, the first second pose may be referred to as a second pose and the second pose may be referred to as a fourth pose. In the process that the user rotates the mobile phone from the first posture to the first second posture, the mobile phone can acquire the first candidate AOA according to the AOA spectrum under each posture, and in the process that the user rotates the mobile phone from the first posture to the second posture, the mobile phone can acquire the second candidate AOA according to the AOA spectrum under each posture. The mobile phone may obtain the AOA of the second device according to the first candidate AOA and the second candidate AOA, and reference may be made to the description related to the first candidate AOA and the second candidate AOA.
In one embodiment, when the first gesture of the mobile phone is that the screen is vertical and is perpendicular to the ground, the mobile phone may output a prompt box 121A (not shown in the figure) on the interface, where the prompt box 121A may include a prompt message such as "tilt the mobile phone backward to be horizontal first", and when the user tilts the mobile phone backward to be horizontal (i.e. when the user rotates the mobile phone to be in a second gesture), the mobile phone may output a prompt box 122A, where the prompt box 122A may include a prompt message such as "rotate the mobile phone to be horizontal and the screen of the mobile phone is perpendicular to the ground" to prompt the user to rotate the mobile phone to be in another second gesture.
In one embodiment, the first device may also prompt the user to rotate the first device in a pan-tilt manner. For example, the prompt box 121 may include prompt information such as "tilt the mobile phone backward to the horizontal, then rotate the mobile phone to the home position, then rotate the mobile phone to the horizontal screen, and the mobile phone screen is perpendicular to the ground, and then rotate the mobile phone to the home position", so that the user can realize the antenna polarization matching of the first device and the second device in a shake-shake manner. It should be appreciated that during rotation of the first device by the user, the first device may acquire the AOA spectrum at each pose, and thus the AOA of the second device, to display the relative position of the second device, as described in the above embodiments.
In this embodiment of the present application, the first device may prompt the user to rotate the first device at least twice, for example, rotate the first device from the first posture to the first second posture and then rotate the first device to the second posture, or rotate the first device from the first posture to the first second posture, rotate the first device to the first posture, and rotate the first device from the first posture to the second posture and then rotate the first device to the first posture, in the multiple rotation process of the first device, the first device may obtain the AOA of the second device, and the first device may use the AOA with high accuracy as the AOA between the first device and the second device, so as to avoid the problem that the accuracy of the AOA is low due to the approach of the incoming wave angle of 0 ° or 180 °.
Scene III: the first equipment is a signal transmitting end
The above embodiment teaches that the signal receiving end (such as the first device) prompts the user to change the gesture of the first device based on the signal from the second device, and in one embodiment, the signal transmitting end may also interact with the signal receiving end to prompt the user to change the gesture of the signal transmitting end, so as to display that the signal transmitting end is matched with the antenna polarization in the signal receiving end. In the following embodiments, a first device is taken as a signal transmitting end, and a second device is taken as a signal receiving end as an example, which explains the AOA obtaining method provided in the embodiments of the present application.
Referring to a in fig. 13, the first device is a wristwatch and the second device is a mobile phone, which the user can find using. In the scenario shown in a of fig. 13, the watch may be regarded as a signal transmitting end, and the mobile phone may be regarded as a signal receiving end, where in the process of searching for the mobile phone by using the watch, the user changes the gesture of the watch to adjust the polarization mode of the antenna in the watch, so as to accurately obtain the position of the mobile phone. Referring to fig. 14, the method for obtaining the AOA provided in the embodiment of the present application may include:
s1401, the first device outputs a prompt message, where the prompt message is used to instruct the first device to rotate from a first posture to a second posture, and an antenna polarization mode in the first device in the second posture is different from an antenna polarization mode in the first device in the first posture.
It should be understood that the gesture when the first device outputs the hint information is the first gesture. In one embodiment, the polarization of the antenna in the first device in the second posture and the polarization of the antenna in the first device in the first posture may be: the polarization of the antenna in the first device in the second pose is orthogonal to the polarization of the antenna in the first device in the first pose.
In one embodiment, when the wristwatch is connected to the mobile phone, if a single antenna (e.g. one antenna) is provided in the wristwatch, the wristwatch cannot perform S605-S608 as the receiving end, and the wristwatch may perform S1401. In one embodiment, when the wristwatch is connected to the cellular phone, the wristwatch can perform S1401 even if multiple antennas are provided in the wristwatch.
In one embodiment, when the wristwatch is connected to a mobile phone, if multiple antennas are provided in the wristwatch, the wristwatch may perform S601-S602 even as a signal transmitting terminal to detect if the polarizations of the antennas in the wristwatch and the mobile phone match. When the polarizations of the antennas in the wristwatch and the mobile phone are not matched, the wristwatch can execute S603-S604 to output prompt information. In such an embodiment, the watch may also perform S605-S608 to display the relative position of the handset. In this embodiment, a wristwatch as a signal transmitting terminal can be regarded as a signal receiving terminal.
In one embodiment, S1401 may refer to the related description of S604, and the communication processor in the first device may control the application processor to output the prompt information.
S1402, the first device sends first information to the second device, where the first information is used to instruct the second device to collect AOA data of the first device during rotation.
In one embodiment, the first device may send the first information to the second device after outputting the alert information in response to a start of a change in the pose of the first device. In other words, the first device may send the first information to the second device when the user starts to change the posture of the first device. The first information is used for indicating the second equipment to acquire the AOA data of the second equipment in the rotating process of the first equipment.
In fig. 13, a, the watch prompts the user to change the gesture of the watch by shaking, and when the watch starts to rotate, the watch can send first information to the mobile phone to instruct the mobile phone to start collecting the AOA data. The interface for outputting the prompt information through the watch is not shown in a in fig. 13, and reference may be made to a schematic diagram of the interface for outputting the prompt information through the mobile phone.
It will be appreciated that the communication processor in the first device uses the antenna in the first device to transmit the first information to the second device.
S1403, the second device collects AOA data in response to the first information.
During rotation of the first device, the second device collects AOA data, which may be described with reference to the correlation in S605.
It will be appreciated that the communication processor in the second device receives the first information using the antenna in the second device and the communication processor in the second device is used to collect the AOA data.
S1404, when the first device rotates to the second posture, the first device sends second information to the second device, where the second information is used to instruct the second device to stop collecting AOA data.
When the first device rotates to the second pose, the first device may send second information to the second device to instruct the second device to stop collecting AOA data.
Wherein the second gesture may be described with reference to the above-described scenario one and scenario two. In fig. 13, a first device prompts a user to change the gesture of the watch in a shake-shake manner, and when the watch rotates back to the first gesture, the watch can send second information to the mobile phone to instruct the mobile phone to stop acquiring AOA data.
It should be appreciated that the communication processor in the first device may send the second information to the second device using the antenna in the first device in response to the first device rotating to the second pose.
S1405, the second device stops collecting AOA data in response to the second information, and obtains the AOA of the first device according to the collected AOA data.
When the second device receives the second information from the first device, the AOA of the first device may be acquired according to the AOA data acquired by the first device during the rotation process, and the description of "the first device acquires the AOA of the signal from the second device" in S606 may be referred to. It should be understood that, because the second device continuously changes the posture of the first device during the process of collecting the AOA data, whether the polarization modes of the antennas in the first device and the second device are matched in the first posture or not, during the rotation process of the first device, the polarization modes of the antennas in the first device and the second device can be matched, so that the second device can accurately obtain the AOA of the first device.
It will be appreciated that the communication processor in the second device receives the second information using the antenna in the second device and the communication processor in the second device stops collecting AOA data.
S1406, the second device feeds back the AOA of the first device to the first device.
S1407, the first device acquires the departure angle (angle of departure, AOD) of the second device according to the AOA of the first device.
The AOD of the second device may be understood as the angle of departure of the signal of the second device, which in one embodiment may be equal to the AOA of the first device.
S1408, the first device determines the relative position of the second device according to the AOD of the second device.
Wherein the AOD of the second device may characterize the orientation of the second device with respect to the first device.
In one embodiment, a first device may obtain a distance between the first device and a second device. Further, the relative position of the second device is obtained by combining the direction of the first device with the direction of the second device relative to the first device. The manner in which the first device acquires the distance between the first device and the second device may be described with reference to S607.
S1409, the first device outputs the relative position of the second device.
In one embodiment, the communication processor in the first device may control the application processor in the first device to output the relative position of the second device.
Illustratively, as shown at b in fig. 13, when the watch is rotated back to the first position, the watch may output the relative position of the handset, as shown at b in fig. 13.
In one embodiment, the examples shown in fig. 13 and 14 above are applicable to situations where the position and posture of the second device are unchanged in the hunting scene. For example, as shown in fig. 13, when the user searches for a mobile phone using the watch, the watch may search for the mobile phone using the steps shown in fig. 14, with the position and posture of the mobile phone unchanged.
In one embodiment, in the view scene, S1401-S1409 may be performed with the position of the second device changed and the posture unchanged. In the case where the posture of the first device is unchanged, even if the position of the second device is changed (posture is unchanged), the degree of polarization matching of the antennas in the first device and the second device does not change.
In this embodiment, during rotation of the first device, the pose (e.g., the fifth pose) of the first device may be determined according to information about the signal from the second device when the polarizations of the antennas in the first device and the second device match most. In this embodiment, after S1401-S1409 are performed, in order for the first device to continue to accurately acquire the relative position of the second device, the first device may output a prompt message prompting the user to rotate the first device to a fifth posture and remain unchanged, so as to continue to accurately acquire the departure angle of the second device in the fifth posture.
When the first equipment rotates to the fifth gesture, even if the position of the second equipment changes, the antenna polarization matching degree in the first equipment and the second equipment is not changed, and the antenna polarization matching degree is still the highest, so that the second equipment can accurately acquire the AOA of the first equipment, namely, the first equipment can accurately acquire the departure angle of the second equipment, and further, the relative position of the second equipment can be accurately acquired.
In one embodiment, in the case that the position and the posture of the second device are changed in the object searching scene, because the posture of the second device is also changed during the rotation of the first device, the antenna polarization modes in the first device and the second device are always changed, and therefore, the matching degree of the antenna polarizations in the first device and the second device is also always changed. In such an embodiment, when the posture of the second device changes, the first device may be synchronized, and the first device may continue to use a rotation (or shake) manner to achieve antenna polarization matching with the second device, so as to further continue to perform the manner as described in S1401-S1409, so as to accurately obtain the relative position of the second device. In other words, in such an embodiment, once the posture of the second device is changed, the first device prompts the user to rotate to change the posture of the first device (e.g., the user shakes the first device) to perform S1401-S1409 to obtain the relative position of the second device.
In the embodiment of the application, the signal transmitting end can also interact with the signal receiving end so as to realize the positioning of the signal transmitting end to the position of the signal receiving end, and further facilitate the user to find the signal receiving end.
In an embodiment, referring to fig. 15, an electronic device is further provided in the embodiment, where the electronic device may be the first device and the second device in the foregoing embodiments, and the electronic device may include: a processor 1501 (e.g., a CPU), a memory 1502. The memory 1502 may include a random-access memory (RAM) and may also include a non-volatile memory (NVM), such as at least one magnetic disk memory, in which various instructions may be stored in the memory 1502 for performing various processing functions and implementing method steps of the present application.
Optionally, the electronic device related to the present application may further include: a power supply 1503, a communication bus 1504, and a communication port 1505. The communication port 1505 is used to implement connection communication between the electronic device and other peripheral devices. In the present embodiment, the memory 1502 is used for storing computer executable program code, which includes instructions; when the processor 1501 executes the instructions, the instructions cause the processor 1501 of the electronic device to perform the actions in the above-described method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
In one embodiment, the electronic device may further include a display screen 1506, the display screen 1506 being for displaying an interface of the electronic device.
It should be noted that the modules or components described in the above embodiments may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general purpose processor, such as a central processing unit (central processing unit, CPU) or other processor that may invoke the program code, such as a controller. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.) means from one website, computer, server, or data center. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
The term "plurality" herein refers to two or more. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship; in the formula, the character "/" indicates that the front and rear associated objects are a "division" relationship. In addition, it should be understood that in the description of this application, the words "first," "second," and the like are used merely for distinguishing between the descriptions and not for indicating or implying any relative importance or order.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.
It should be understood that, in the embodiments of the present application, the sequence number of each process described above does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Claims (16)

1. An acquisition method of an angle of arrival AOA, applied to a first device, the method comprising:
responding to a first operation, outputting prompt information, wherein the prompt information indicates that the first equipment is rotated from a current first posture to a second posture, the polarization mode of an antenna in the first equipment in the first posture is different from the polarization mode of the antenna in the first equipment in the second posture, and the first operation is used for triggering the first equipment to acquire the arrival angle of the second equipment;
and in the process that the first equipment rotates from the first posture to the second posture, acquiring the arrival angle of the second equipment according to the arrival angle data of the second equipment acquired by the first equipment under each posture.
2. The method of claim 1, wherein the antenna polarization in the first device in the first pose being different from the antenna polarization in the first device in the second pose comprises: and the polarization mode of the antenna in the first device in the first gesture is orthogonal to the polarization mode of the antenna in the first device in the second gesture.
3. The method according to claim 1 or 2, wherein outputting a hint information in response to the first operation comprises:
Detecting, in response to the first operation, whether antenna polarizations in the first device and the second device match according to a signal from the second device;
and outputting the prompt information when the polarization of the antennas in the first equipment and the second equipment is not matched.
4. A method according to claim 3, wherein the signal comprises one or more of intensity, signal to noise ratio, or phase difference stability.
5. The method according to any one of claims 1-4, wherein the acquiring the angle of arrival of the second device from the angle of arrival data of the second device acquired by the first device in each pose includes:
and when the first equipment is in the second gesture, acquiring the arrival angle of the second equipment according to the arrival angle data of the second equipment in each gesture.
6. The method according to any one of claims 1-4, wherein the acquiring the angle of arrival of the second device from the angle of arrival data of the second device acquired by the first device in each pose includes:
when the first equipment is in a third posture, acquiring a candidate arrival angle of the second equipment according to arrival angle data of the second equipment in the third posture and arrival angle data of the second equipment in a posture before the third posture, wherein the third posture is any posture which is passed in the process of rotating the first equipment from the first posture to the second posture;
And acquiring the arrival angle of the second equipment according to the candidate arrival angle of the second equipment.
7. The method of any of claims 1-6, wherein the angle of arrival data of the second device is: an angle of arrival spectrum.
8. The method of claim 7, wherein the obtaining the angle of arrival of the second device based on the angle of arrival data of the second device acquired by the first device in each pose comprises:
and acquiring the arrival angle of the second equipment according to the intensity value of the incident angle under each abscissa in the arrival angle frequency spectrum under each posture.
9. The method of claim 8, wherein the obtaining the angle of arrival of the second device based on the intensity values of the angle of incidence at each abscissa comprises:
based on the same abscissa, carrying out weighted average processing on the arrival angle spectrums under all the gestures;
and acquiring the arrival angle of the second equipment according to the antenna polarization matching degree of the first equipment and the second equipment under each gesture and the arrival angle frequency spectrum after weighted average processing under each gesture.
10. The method of claim 1, wherein the hint information is further used to indicate: rotating the first device from the first pose to the second pose and back from the second pose to the first pose;
the obtaining the arrival angle of the second device according to the arrival angle data of the second device collected by the first device under each gesture includes:
acquiring a first candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in the process that the first device rotates from the first gesture to the second gesture;
acquiring a second candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in the process that the first device rotates from the second gesture to the first gesture;
and acquiring the arrival angle of the second equipment according to the first candidate angle and the second candidate angle.
11. The method of any of claims 1-9, wherein the antenna polarization in the first device in the fourth pose is also orthogonal to the antenna polarization in the first device in the first pose, the hint information further being used to indicate: rotating the first device from the first pose to the second pose, and further rotating the first device from the first pose to the fourth pose;
The method further comprises the steps of:
acquiring a first candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in the process that the first device rotates from the first gesture to the second gesture;
acquiring a second candidate arrival angle of the second device according to arrival angle data of the second device in each gesture in the process that the first device rotates from the first gesture to the fourth gesture;
and acquiring the arrival angle of the second equipment according to the first candidate angle and the second candidate angle.
12. The method according to any one of claims 1-11, wherein after the obtaining the angle of arrival of the second device, further comprising:
acquiring a distance between the first device and the second device;
acquiring the relative position of the second equipment according to the arrival angle of the second equipment and the distance between the first equipment and the second equipment;
outputting the relative position of the second device.
13. The method according to claim 1, wherein before the obtaining the angle of arrival of the second device according to the angle of arrival data of the second device acquired by the first device in each posture, further comprises:
Responsive to the first device beginning to rotate, sending first information to the second device, the first information indicating that the second device begins to collect angle of arrival data of the first device;
responsive to the first device rotating to the second pose, sending second information to the second device, the second information indicating that the second device is to stop collecting angle of arrival data of the first device;
receiving an arrival angle of the first device from the second device, wherein the arrival angle of the first device is obtained by the second device based on the acquired arrival angle data of the first device;
acquiring a distance between the first device and the second device;
acquiring the relative position of the second device according to the arrival angle of the first device and the distance between the first device and the second device;
outputting the relative position of the second device.
14. An electronic device, comprising: a processor and a memory;
the memory stores computer instructions;
the processor executing computer instructions stored in the memory, causing the processor to perform the method of any one of claims 1-13.
15. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program or instructions, which when executed, implement the method of any of claims 1-13.
16. A computer program product comprising a computer program or instructions which, when executed by a processor, implements the method of any of claims 1-13.
CN202210748892.8A 2022-06-29 2022-06-29 Arrival angle AOA acquisition method and electronic equipment Pending CN117368841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210748892.8A CN117368841A (en) 2022-06-29 2022-06-29 Arrival angle AOA acquisition method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210748892.8A CN117368841A (en) 2022-06-29 2022-06-29 Arrival angle AOA acquisition method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117368841A true CN117368841A (en) 2024-01-09

Family

ID=89389715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210748892.8A Pending CN117368841A (en) 2022-06-29 2022-06-29 Arrival angle AOA acquisition method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117368841A (en)

Similar Documents

Publication Publication Date Title
CN111480303B (en) Beam steering control device and method based on mobile sensor
US11996926B2 (en) Method for selecting beam for communication, and electronic device therefor
CA2818888C (en) Radiation pattern recognition system and method for a mobile communications device
CN112640328B (en) Method and electronic device for forming beam in wireless communication system
CN114188707B (en) Terminal antenna and method for controlling antenna beam direction
CN111867058B (en) Beam selection method and device
US10823835B2 (en) Electromagnetic reflection profiles
JP2023511145A (en) Antenna routing method and related equipment
US11424813B2 (en) Method for determining optimal beam and an electronic device thereof
US11888236B2 (en) Method and device for selecting reception beam on basis of artificial neural network
CN114424465A (en) Polarization aligned transmission towards a receiver device
CN110557741A (en) terminal interaction method and terminal
CN111818634A (en) Positioning method, positioning platform and user terminal in 5G scene
CN112956134B (en) Method and apparatus for performing beam search in mobile communication system
CN112118530B (en) Positioning system and method based on wifi channel state information
CN108988913B (en) A kind of antenna terminal mapping method and the network equipment
US11924787B2 (en) Electronic device for performing beamforming-based communication, and method therefor
CN117368841A (en) Arrival angle AOA acquisition method and electronic equipment
KR20210038164A (en) Method for selecting beam and electronic device thereof
CN113471700B (en) Antenna control method and device, storage medium and electronic equipment
US20230164736A1 (en) Electronic device for localization and method of operating the same
WO2023195973A1 (en) Antenna system including multiple range antennas and multiple angle-of-arrival antennas for electronic devices
CN115225110A (en) Antenna switching method and device, electronic equipment and readable storage medium
CN116419141A (en) Method and device for adjusting received signal strength and access point
CN115769434A (en) Method, device, equipment and storage medium for determining OAM beam transmission direction

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