Positioning processing method and device
By acquiring and analyzing the antenna's signal strength and phase difference parameters, the antenna obstruction situation can be determined and calibration can be performed, thus solving the problem of inaccurate positioning caused by antenna obstruction and improving positioning accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2026-03-10
AI Technical Summary
When multiple antennas are blocked, their performance deteriorates, which in turn affects the accuracy of the positioning results.
By acquiring the signal strength parameters of each antenna and the phase difference parameters of the received signals of adjacent antennas, it is determined whether the antenna is blocked, and the positioning information of the target to be detected is determined according to the preset calibration parameters.
It improves the accuracy of positioning information and enhances positioning precision when the antenna is blocked.
Smart Images

Figure CN115765892B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a positioning processing method and device. BACKGROUND
[0002] With the continuous development of electronic technology, the functions provided on electronic devices are more and more, and currently, multiple antennas for positioning can be arranged on electronic devices. However, in actual use, when part of the multiple antennas is blocked, the performance of the antennas is easily deteriorated, and thus the accuracy of the positioning result is reduced. SUMMARY
[0003] The present application aims to provide a positioning processing method and device to solve the problem of reduced accuracy of the positioning result when part of the antennas is blocked.
[0004] To solve the above technical problem, the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a positioning processing method applied to an electronic device, wherein the electronic device comprises N antennas, any two adjacent antennas in the N antennas are arranged at intervals, N is an integer greater than 1, and the method comprises the following steps:
[0006] obtaining a first signal detection parameter, the first signal detection parameter being a parameter detected by each antenna in the N antennas, and the first signal detection parameter comprising at least one of the following: a signal strength parameter of each antenna and a received signal phase difference parameter of any two adjacent antennas;
[0007] in a case where the first signal detection parameter of a first antenna meets a preset detection condition, obtaining a preset calibration parameter corresponding to the first antenna, the first antenna being any antenna in the N antennas;
[0008] determining positioning information of a to-be-detected target according to the preset calibration parameter.
[0009] In a second aspect, an embodiment of the present application provides a positioning processing device applied to an electronic device, wherein the electronic device comprises N antennas, any two adjacent antennas in the N antennas are arranged at intervals, N is an integer greater than 1, and the positioning processing device comprises the following modules:
[0010] a first obtaining module, configured to obtain a first signal detection parameter, the first signal detection parameter being a parameter detected by each antenna in the N antennas, and the first signal detection parameter comprising at least one of the following: a signal strength parameter of each antenna and a received signal phase difference parameter of any two adjacent antennas;
[0011] The second acquisition module is configured to acquire preset calibration parameters corresponding to the first antenna when a first signal detection parameter of the first antenna meets a preset detection condition, the first antenna being any one of the N antennas.
[0012] The determination module is configured to determine positioning information of a to-be-detected target according to the preset calibration parameters.
[0013] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
[0014] In a fourth aspect, a readable storage medium is provided, which stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method according to the first aspect.
[0015] In a fifth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface being coupled to the processor, and the processor being configured to execute a program or instructions to implement the method according to the first aspect.
[0016] In the embodiments of the present application, when the first signal detection parameter of the first antenna meets the preset detection condition, it is determined that the first antenna is blocked, at which time the preset calibration parameters corresponding to the first antenna can be acquired, and the positioning information of the to-be-detected target can be determined according to the preset calibration parameters, so that the accuracy of the result of the positioning information can be enhanced.
[0017] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0018] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, including the accompanying drawings.
[0019] Figure 1 is a flowchart of a positioning processing method according to an embodiment of the present application;
[0020] Figure 2 is a structural schematic diagram of an antenna of an electronic device according to an embodiment of the present application;
[0021] Figure 3 is a structural schematic diagram of an antenna of another electronic device according to an embodiment of the present application;
[0022] Figure 4is a schematic diagram of a circuit structure of an electronic device according to an embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a positioning processing device according to an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of another electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] Embodiments of the present application will be described in detail below, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only, and are used to explain the present application, and cannot be understood as a limitation of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0027] The terms "first", "second" in the description and claims of the present application can explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, the meaning of "a plurality of" is two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally means that the front and rear associated objects are in an "or" relationship.
[0028] Referring to Figure 1 , Figure 1 is a flowchart of a positioning processing method according to an embodiment of the present application, the method is applied to an electronic device, the electronic device includes N antennas, any two adjacent antennas in the N antennas are arranged at intervals, N is an integer greater than 1, as shown in Figure 1 the method includes the following steps:
[0029] Step 101, obtaining a first signal detection parameter, the first signal detection parameter is a parameter detected by each antenna in the N antennas;
[0030] Among them, each antenna in the N antennas can be used to receive a signal, and the first signal detection parameter can be determined according to the received signal.
[0031] The combination of the N antennas can be referred to as an ultra wide band (UWB) antenna combination, and the combination of the N antennas can be a combination of preset arrangement shapes. The specific arrangement shape of the preset arrangement shape is not limited herein. As an optional implementation, the preset arrangement shape can be a rectangle, or, as another optional implementation, the preset arrangement shape can be an L shape. Figure 3 Figure 2
[0032] It should be noted that each of the antennas in the UWB antenna combination can be used to measure a distance, and a plurality of antennas in the UWB antenna combination can be combined and used to measure an angle.
[0033] It should be noted that any two adjacent antennas in the N antennas included in the combination of the preset arrangement shapes are arranged at intervals. As an optional implementation, the N antennas are arranged in an array, so that the receiving effect of each position of the electronic device provided with the N antennas is relatively uniform.
[0034] In step 102, in a case where a first signal detection parameter of a first antenna meets a preset detection condition, a preset calibration parameter corresponding to the first antenna is acquired, the first antenna being any antenna in the N antennas.
[0035] When the first signal detection parameter of the first antenna meets the preset detection condition, it can be determined that the first antenna is blocked or in contact with a conductive body (such as a human body), so that the radiation performance of the first antenna is affected, and the first antenna being blocked can include a scenario in which the first antenna is blocked by an obstacle.
[0036] It should be noted that the specific content of the first signal detection parameter is not limited herein.
[0037] As an optional implementation, the first signal detection parameter includes at least one of a signal strength parameter of each antenna and a received signal phase difference parameter of any two adjacent antennas.
[0038] The signal strength parameter can be referred to as a received signal strength indicator (RSSI), and the received signal phase difference parameter can be referred to as a phase difference of arrival (PDOA).
[0039] In the implementation of the present application, since the first signal detection parameter includes at least one of the signal strength parameter and the received signal phase difference parameter, the diversity and flexibility of the content of the first signal detection parameter are enhanced.
[0040] Meanwhile, when the first signal detection parameter includes the signal strength parameter and the received signal phase difference parameter, the error of the judgment result can be reduced compared with the case where the first signal detection parameter only includes one kind of content, and thus the accuracy of the judgment result when judging whether the first signal detection parameter meets the preset detection condition is higher.
[0041] As an optional implementation, the detection parameter includes a signal strength parameter of each antenna and a received signal phase difference parameter of any two adjacent antennas, and the N antennas further include a second antenna which is arranged apart from the first antenna.
[0042] In the case where the first signal detection parameter of the first antenna meets the preset detection condition, the preset calibration parameter corresponding to the first antenna is acquired, including:
[0043] In the case where the change rate of the received signal phase difference parameter between the first antenna and the second antenna is greater than a first preset threshold and the change rate of the signal strength parameter of the first antenna is greater than a second preset threshold, the preset calibration parameter corresponding to the first antenna is acquired.
[0044] Wherein, the specific values of the first preset threshold and the second preset threshold are not limited herein. The change rate of the received signal phase difference parameter and the change rate of the signal strength parameter of the first antenna can refer to the change rate of the received signal phase difference parameter within a certain period of time and the change rate of the signal strength parameter of the first antenna within a certain period of time. The above certain period of time can be represented by Δt, and the specific length of the above certain period of time is not limited herein.
[0045] Wherein, the received signal phase difference parameter can be a parameter acquired in real time, or the received signal phase difference parameter can also be acquired every preset period.
[0046] It should be noted that the order of the execution steps of the two steps of whether the change rate of the received signal phase difference parameter is greater than the first preset threshold and whether the change rate of the signal strength parameter is greater than the second preset threshold is not limited herein.
[0047] As an optional implementation, the change rate of the received signal phase difference parameter is first determined whether it is greater than the first preset threshold, and then the change rate of the signal strength parameter is determined whether it is greater than the second preset threshold. Since the received signal phase difference parameter is a parameter used to support the UWB function, the received signal phase difference parameter can be obtained in real time. The change rate of the received signal phase difference parameter is first determined whether it is greater than the first preset threshold, and then the change rate of the signal strength parameter is determined whether it is greater than the second preset threshold. This can improve the system operation efficiency, and improve the calculation efficiency and the accuracy of the calculation result.
[0048] In the embodiments of the present application, the preset calibration parameter corresponding to the first antenna is obtained only when the change rate of the received signal phase difference parameter between the first antenna and the second antenna is greater than the first preset threshold, and the change rate of the signal strength parameter of the first antenna is greater than the second preset threshold. In this way, the phenomenon of mistakenly obtaining the preset calibration parameter corresponding to the first antenna can be reduced, thereby saving the calculation resources.
[0049] In step 103, the positioning information of the to-be-detected target is determined according to the preset calibration parameter.
[0050] The specific content of the to-be-detected target is not limited herein. As an optional implementation, the to-be-detected target can be an object located within a preset range of the electronic device. The object can be a human body, a vehicle, or an electronic device, etc.
[0051] It should be noted that the specific manner of determining the positioning information of the to-be-detected target according to the preset calibration parameter is not limited herein. As an optional implementation, the positioning information of the to-be-detected target can be obtained, and then the positioning information is calibrated according to the preset calibration parameter. Alternatively, as another optional implementation, the preset calibration parameter can be run first, and then the positioning information is obtained based on the antenna running the preset calibration parameter.
[0052] As an optional implementation, the method further comprises:
[0053] The second signal detection parameter is determined based on the target signal sent by the first antenna, and the second signal detection parameter is obtained. The second signal detection parameter is a parameter detected by M antennas of the N antennas. The target signal is used to position the to-be-detected target. M is an integer greater than 1 and less than or equal to N.
[0054] In the case where the second signal detection parameter of the first antenna meets the preset detection condition, the third antenna is controlled to send the target signal, and the preset calibration parameter corresponding to the third antenna is obtained. The third antenna is any antenna of the M antennas, and the third antenna is different from the first antenna.
[0055] The second signal detection parameter can refer to the above-mentioned first signal detection parameter, and details are not described herein again.
[0056] In the embodiment, when the second signal detection parameter of the first antenna in the M antennas satisfies the preset detection condition (i.e., it can be considered that the first antenna is blocked or in contact with a conductor, resulting in poor performance), the radiating antenna can be switched from the first antenna to the third antenna, and the preset calibration parameter of the third antenna is obtained, so that the radiation performance of the electronic device can be ensured to be good.
[0057] As an optional embodiment, the electronic device includes a radio frequency transmitter and a control switch, the radio frequency transmitter is connected with each of the N antennas through the control switch, and the radio frequency transmitter is configured to generate the target signal.
[0058] In the case that the second signal detection parameter of the first antenna satisfies the preset detection condition, the third antenna is controlled to transmit the target signal, including:
[0059] In the case that the second signal detection parameter of the first antenna satisfies the preset detection condition, the control switch is controlled to be switched, so that the radio frequency transmitter is switched from the state of being in conduction with the first antenna to the state of being in conduction with the third antenna, and the target signal is transmitted through the third antenna.
[0060] It should be noted that the control switch is switched, which can also be understood as switching the above-mentioned control switch between different states, and the specific type of the control switch is not limited herein, for example: the control switch can be an SP4T (single pole four throw) switch, the input end and different output ends of the control switch can be controlled to be in conduction, so as to realize the conduction of different circuits.
[0061] The second signal detection parameter can refer to the above-mentioned first signal detection parameter, and details are not described herein again. Figure 4 The electronic device can include a UWB integrated circuit (IC), the UWB IC can include a radio frequency transmitter (i.e., TX) and four radio frequency receivers (i.e., RX1, RX2, RX3 and RX4), and the control switch can include a first control switch and a second control switch, so that the switching between the radio frequency transmitter and different antennas (i.e., antennas ANT1, ANT2, ANT3 and ANT4) can be realized through the switching of the first control switch and the second control switch, and the switching between different radio frequency receivers and different antennas can be realized.
[0062] In this embodiment of the application, by controlling the switching of the switch, the switching of the radio frequency transmitter between different antennas can be made more flexible.
[0063] As an optional implementation, obtaining the second signal detection parameters includes:
[0064] When the first antenna group is in operation, the second signal detection parameters are acquired, wherein the first antenna group includes the M antennas;
[0065] The step of controlling the third antenna to transmit the target signal when the second signal detection parameters of the first antenna meet preset detection conditions includes:
[0066] When the second signal detection parameters of the first antenna meet the preset detection conditions, the second antenna group is controlled to be in working state, and the third antenna is controlled to send the target signal. The second antenna group includes the third antenna and the fourth antenna, and the fourth antenna is spaced apart from the third antenna.
[0067] In this embodiment, the N antennas can be divided into different antenna groups. When some antennas in the first antenna group are blocked or come into contact with a conductor, the second antenna group can be switched to the working state, thereby ensuring good radiation performance of the electronic device.
[0068] It should be noted that some antennas in the first antenna group and the second antenna group can overlap, meaning that some antennas can be located in either the first antenna group or the second antenna group.
[0069] As an optional embodiment, see [link to relevant documentation]. Figure 3 The electronic device is equipped with four antennas: ANT1, ANT2, ANT3, and ANT4, which are spaced apart. In the default mode, ANT1 is the transmitting antenna, and ANT1, ANT2, and ANT4 form a UWB antenna combination. When ANT1 is blocked or in contact with a conductor, ANT2, ANT3, and ANT4 are combined to form a UWB antenna combination, and the transmitting antenna switches to ANT3. When ANT2 is blocked or in contact with a conductor, ANT1, ANT3, and ANT4 are combined to form a UWB antenna combination, and the transmitting antenna switches to ANT4. When ANT3 is blocked or in contact with a conductor, ANT1, ANT2, and ANT4 are combined to form a UWB antenna combination, and the transmitting antenna switches to ANT1. When ANT4 is blocked or in contact with a conductor, ANT1, ANT2, and ANT3 are combined to form a UWB antenna combination, and the transmitting antenna switches to ANT2.
[0070] It should be noted that the preset calibration parameters can also be different when different antenna groups are in operation. Optionally, when ANT2 is blocked or in contact with a conductor, ANT1, ANT3, and ANT4 are combined to form a UWB antenna combination, and the transmitting antenna is switched to ANT4. The preset calibration parameters at this time can be obtained by fitting the PDOA data between antennas ANT1 and ANT4, the PDOA data between antennas ANT3 and ANT4, and the Angle-of-Arrival (AOA) information. The aforementioned Angle-of-Arrival information can also be referred to as angular measurement information.
[0071] It should be noted that the preset calibration parameters for each antenna can be pre-measured and stored in the electronic device, and can be directly called up when in use, thus saving calling time and improving calling efficiency.
[0072] As an optional implementation, the method further includes:
[0073] Obtain the angle measurement information of the first antenna, as well as the phase difference parameter of the received signals between the first antenna and the second antenna, and set the interval between the second antenna and the first antenna;
[0074] The preset calibration parameters are obtained by fitting the angle measurement information and the phase difference parameter of the received signal.
[0075] The angle measurement information can be understood as the aforementioned angle of arrival (AOA). Furthermore, there can be a one-to-one correspondence between the angle measurement information and the phase difference parameter of the received signal. Thus, once the phase difference parameter of the received signal is determined, the angle measurement information can be determined.
[0076] In this embodiment, preset calibration parameters are obtained by fitting the angle measurement information and the phase difference parameter of the received signal, thereby making the determination of preset calibration parameters more diverse and flexible.
[0077] In this embodiment of the application, according to steps 101 to 103, when the first signal detection parameter of the first antenna meets the preset detection conditions, it is determined that the first antenna is blocked. At this time, the preset calibration parameter corresponding to the first antenna can be obtained, and the positioning information of the target to be detected can be determined according to the preset calibration parameter, thereby enhancing the accuracy of the positioning information result.
[0078] In this application embodiment, the aforementioned electronic device may be a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a mobile internet device (MID), or a wearable device, etc.
[0079] It should be noted that the positioning processing method provided in this application embodiment can be executed by a positioning processing device or a control module within that positioning processing device for executing the positioning processing method. This application embodiment uses the execution of the positioning processing method by a positioning processing device as an example to illustrate the positioning processing device provided in this application embodiment.
[0080] See Figure 5 , Figure 5 This is a schematic diagram of a positioning processing device provided in an embodiment of this application. The positioning processing device is applied to an electronic device, which includes N antennas. Any two adjacent antennas among the N antennas are spaced apart, where N is an integer greater than 1. Figure 5 As shown, the positioning processing device 500 includes:
[0081] The first acquisition module 501 is used to acquire the first signal detection parameters, wherein the first signal detection parameters are the parameters detected by each of the N antennas;
[0082] The second acquisition module 502 is used to acquire the preset calibration parameters corresponding to the first antenna when the first signal detection parameters of the first antenna meet the preset detection conditions, wherein the first antenna is any one of the N antennas.
[0083] The determination module 503 is used to determine the positioning information of the target to be detected based on the preset calibration parameters.
[0084] Optionally, the first signal detection parameters include at least one of the following: the signal strength parameter of each antenna and the phase difference parameter of the received signals of any two adjacent antennas.
[0085] Optionally, the detection parameters include the signal strength parameters of each antenna and the phase difference parameters of the received signals of any two adjacent antennas. The N antennas further include: a second antenna, which is spaced apart from the first antenna.
[0086] The second acquisition module 502 is further configured to acquire the preset calibration parameters corresponding to the first antenna when the rate of change of the received signal phase difference parameter between the first antenna and the second antenna is greater than a first preset threshold and the rate of change of the signal strength parameter of the first antenna is greater than a second preset threshold.
[0087] Optionally, the positioning processing device 500 further includes:
[0088] The third acquisition module is used to determine the second signal detection parameters based on the target signal transmitted by the first antenna, and to acquire the second signal detection parameters. The second signal detection parameters are the parameters detected by M antennas out of the N antennas. The target signal is used to locate the target to be detected. M is an integer greater than 1 and less than or equal to N.
[0089] The control module is used to control the third antenna to send the target signal when the second signal detection parameters of the first antenna meet the preset detection conditions, and to obtain the preset calibration parameters corresponding to the third antenna. The third antenna is any one of the M antennas, and the third antenna is different from the first antenna.
[0090] Optionally, the electronic device includes a radio frequency transmitter and a control switch, wherein the radio frequency transmitter is connected to each of the N antennas via the control switch, and the radio frequency transmitter is used to generate the target signal;
[0091] The control module is further configured to control the switching of the control switch when the second signal detection parameters of the first antenna meet the preset detection conditions, so that the radio frequency transmitter switches from the state of being connected to the first antenna to the state of being connected to the third antenna, and transmits the target signal through the third antenna.
[0092] Optionally, the third acquisition module is further configured to acquire the second signal detection parameters when the first antenna group is in operation, wherein the first antenna group includes the M antennas;
[0093] The control module is further configured to control the second antenna group to be in working state and control the third antenna to send the target signal when the second signal detection parameters of the first antenna meet the preset detection conditions. The second antenna group includes the third antenna and the fourth antenna, and the fourth antenna is spaced apart from the third antenna.
[0094] Optionally, the positioning processing device 500 further includes:
[0095] The fourth acquisition module is used to acquire the angle measurement information of the first antenna and the phase difference parameter of the received signals of the first antenna and the second antenna, and the second antenna is set at an interval from the first antenna.
[0096] The fitting module is used to fit the preset calibration parameters based on the angle measurement information and the phase difference parameter of the received signal.
[0097] The positioning processing device provided in this application embodiment can have the same beneficial technical effects as the positioning processing method described above, and the specific details will not be repeated here.
[0098] The positioning processing device in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0099] The positioning processing device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0100] The positioning processing device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0101] Optional, such as Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 601, a memory 602, and a program or instructions stored in the memory 602 and executable on the processor 601. When the program or instructions are executed by the processor 601, they implement the various processes of the above-described positioning processing method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0102] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0103] The electronic device 700 includes, but is not limited to, components such as: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710. The electronic device 700 also includes N antennas, wherein any two adjacent antennas among the N antennas are spaced apart, and N is an integer greater than 1.
[0104] Those skilled in the art will understand that the electronic device 700 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 7 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0105] The processor 710 is used for:
[0106] Obtain the first signal detection parameter, which is the parameter detected by each of the N antennas;
[0107] When the first signal detection parameters of the first antenna meet the preset detection conditions, the preset calibration parameters corresponding to the first antenna are obtained, wherein the first antenna is any one of the N antennas;
[0108] The positioning information of the target to be detected is determined based on the preset calibration parameters.
[0109] Optionally, the first signal detection parameters include at least one of the following: the signal strength parameter of each antenna and the phase difference parameter of the received signals of any two adjacent antennas.
[0110] Optionally, the detection parameters include the signal strength parameters of each antenna and the phase difference parameters of the received signals of any two adjacent antennas. The N antennas further include: a second antenna, which is spaced apart from the first antenna; the processor 710 executes the step of obtaining the preset calibration parameters corresponding to the first antenna when the first signal detection parameters of the first antenna meet the preset detection conditions, including:
[0111] If the rate of change of the phase difference parameter of the received signal between the first antenna and the second antenna is greater than a first preset threshold, and the rate of change of the signal strength parameter of the first antenna is greater than a second preset threshold, then the preset calibration parameter corresponding to the first antenna is obtained.
[0112] Optionally, the processor 710 is also used for:
[0113] The second signal detection parameters are determined based on the target signal transmitted by the first antenna, and the second signal detection parameters are obtained. The second signal detection parameters are the parameters detected by M antennas out of the N antennas. The target signal is used to locate the target to be detected. M is an integer greater than 1 and less than or equal to N.
[0114] When the second signal detection parameters of the first antenna meet the preset detection conditions, the third antenna is controlled to send the target signal and the preset calibration parameters corresponding to the third antenna are obtained. The third antenna is any one of the M antennas and is different from the first antenna.
[0115] Optionally, the electronic device includes a radio frequency transmitter and a control switch, wherein the radio frequency transmitter is connected to each of the N antennas via the control switch, and the radio frequency transmitter is used to generate the target signal;
[0116] The processor 710, executing the step of controlling the third antenna to transmit the target signal when the second signal detection parameters of the first antenna meet preset detection conditions, includes:
[0117] When the second signal detection parameter of the first antenna meets the preset detection conditions, the control switch is switched so that the radio frequency transmitter switches from being connected to the first antenna to being connected to the third antenna, and transmits the target signal through the third antenna.
[0118] Optionally, the processor 710, in performing the acquisition of the second signal detection parameters, includes:
[0119] When the first antenna group is in operation, the second signal detection parameters are acquired, wherein the first antenna group includes the M antennas;
[0120] The step of controlling the third antenna to transmit the target signal when the second signal detection parameters of the first antenna meet preset detection conditions includes:
[0121] When the second signal detection parameters of the first antenna meet the preset detection conditions, the second antenna group is controlled to be in working state, and the third antenna is controlled to send the target signal. The second antenna group includes the third antenna and the fourth antenna, and the fourth antenna is spaced apart from the third antenna.
[0122] Optionally, the processor 710 is also used for:
[0123] Obtain the angle measurement information of the first antenna, as well as the phase difference parameter of the received signals between the first antenna and the second antenna, and set the interval between the second antenna and the first antenna;
[0124] The preset calibration parameters are obtained by fitting the angle measurement information and the phase difference parameter of the received signal.
[0125] It should be understood that, in this embodiment, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The GPU 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here. The memory 709 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understandable that the aforementioned modem processor may not be integrated into the processor 710.
[0126] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described location processing method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0127] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0128] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described positioning processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0129] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0130] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0132] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A positioning processing method characterized by comprising: The method is applied to an electronic device, the electronic device comprising N antennas, any two adjacent antennas of the N antennas being arranged at intervals, N being an integer greater than 1, and the method comprising: obtaining a first signal detection parameter, the first signal detection parameter being a parameter detected by each of the N antennas, the first signal detection parameter comprising a signal strength parameter of each antenna and a received signal phase difference parameter of any two adjacent antennas; in a case where the first signal detection parameter of a first antenna meets a preset detection condition, obtaining a preset calibration parameter corresponding to the first antenna, the first antenna being any one of the N antennas; determining positioning information of a to-be-detected target according to the preset calibration parameter; the N antennas further comprising a second antenna, the second antenna being arranged at intervals from the first antenna; the case where the first signal detection parameter of the first antenna meets the preset detection condition, and the preset calibration parameter corresponding to the first antenna being obtained, comprising: in a case where a change rate of the received signal phase difference parameter between the first antenna and the second antenna is greater than a first preset threshold, and a change rate of the signal strength parameter of the first antenna is greater than a second preset threshold, obtaining the preset calibration parameter corresponding to the first antenna, wherein whether the change rate of the received signal phase difference parameter is greater than the first preset threshold is determined first, and then whether the change rate of the signal strength parameter is greater than the second preset threshold is determined.
2. The method of claim 1, wherein, the method further comprising: determining a second signal detection parameter based on a target signal sent by the first antenna, and obtaining the second signal detection parameter, the second signal detection parameter being a parameter detected by M antennas of the N antennas, the target signal being used for positioning the to-be-detected target, M being an integer greater than 1 and less than or equal to N; in a case where the second signal detection parameter of the first antenna meets a preset detection condition, controlling a third antenna to send the target signal, and obtaining a preset calibration parameter corresponding to the third antenna, the third antenna being any one of the M antennas, and the third antenna and the first antenna being different antennas.
3. The method of claim 2, wherein, the electronic device comprising a radio frequency transmitter and a control switch, the radio frequency transmitter being connected to each of the N antennas through the control switch, and the radio frequency transmitter being used for generating the target signal; the case where the second signal detection parameter of the first antenna meets the preset detection condition, and the third antenna being controlled to send the target signal, comprising: in a case where the second signal detection parameter of the first antenna meets the preset detection condition, the control switch is controlled to be switched, so that the radio frequency transmitter is switched from a state of being conductive to the first antenna to a state of being conductive to the third antenna, and the target signal is sent through the third antenna.
4. The method of claim 2, wherein, the obtaining of the second signal detection parameter, comprising: in a case where a first antenna group is in a working state, the second signal detection parameter is obtained, the first antenna group comprising the M antennas; The method further comprises: The method further comprises:
5. The method of claim 1, wherein, The method further comprises: The method further comprises: The method further comprises:
6. A positioning processing device, characterized by The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises:
7. The positioning processing device according to claim 6, characterized in that, The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further comprises: The method further 8. The positioning processing device according to claim 7, characterized in that, The electronic device comprises a radio frequency transmitter and a control switch, the radio frequency transmitter is connected with each of the N antennas through the control switch, and the radio frequency transmitter is used to generate the target signal; The control module is further configured to, in a case where the second signal detection parameter of the first antenna meets a preset detection condition, control the control switch to switch so that the radio frequency transmitter is switched from a state of being conducted with the first antenna to a state of being conducted with the third antenna, and the target signal is sent through the third antenna.
9. The positioning processing device according to claim 7, wherein The third acquisition module is further configured to, in a case where a first antenna group is in a working state, acquire the second signal detection parameter, and the first antenna group comprises the M antennas. The control module is further configured to, in a case where the second signal detection parameter of the first antenna meets a preset detection condition, control a second antenna group to be in a working state, and control the third antenna to send the target signal, the second antenna group comprises the third antenna and a fourth antenna, and the fourth antenna is arranged at intervals from the third antenna.
10. The positioning processing device according to claim 6, wherein The positioning processing apparatus further comprises: A fourth acquisition module configured to acquire angle measurement angle information of the first antenna and a received signal phase difference parameter of the first antenna and a second antenna, and the second antenna is arranged at intervals from the first antenna; A fitting module configured to fit the preset calibration parameter according to the angle measurement angle information and the received signal phase difference parameter.
Citation Information
Patent Citations
Method for antenna occlusion detection
US20210058169A1