CN114513847A - Positioning method, device, system, electronic equipment and storage medium - Google Patents

Positioning method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114513847A
CN114513847A CN202011283950.1A CN202011283950A CN114513847A CN 114513847 A CN114513847 A CN 114513847A CN 202011283950 A CN202011283950 A CN 202011283950A CN 114513847 A CN114513847 A CN 114513847A
Authority
CN
China
Prior art keywords
uwb
tag device
electronic device
tag
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011283950.1A
Other languages
Chinese (zh)
Other versions
CN114513847B (en
Inventor
张烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011283950.1A priority Critical patent/CN114513847B/en
Priority to PCT/CN2021/116481 priority patent/WO2022100238A1/en
Publication of CN114513847A publication Critical patent/CN114513847A/en
Application granted granted Critical
Publication of CN114513847B publication Critical patent/CN114513847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a positioning method, a device, a system, electronic equipment and a storage medium, which are applied to the electronic equipment, wherein the method comprises the following steps: establishing Bluetooth communication connection with the tag device; monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel; transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters; and establishing a UWB communication connection with the tag device, and determining the relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device. Adopt this application embodiment can realize the locate function of centimetre level precision through UWB.

Description

Positioning method, device, system, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a positioning method, an apparatus, a system, an electronic device, and a storage medium.
Background
With the widespread use of electronic products (such as mobile phones, tablet computers, and the like), the electronic products have more and more applications and more powerful functions, the electronic products are developed towards diversification and personalization, the importance of the electronic products to users is known, and obviously, the electronic products become indispensable electronic products in the life of the users. However, in life, users often find that electronic products are placed in one place, and since the users cannot remember the positions where the electronic products are placed, the users will be worried that the electronic products cannot be found, and therefore, a problem of how to accurately position the electronic products is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a positioning method, a positioning device, a positioning system, electronic equipment and a storage medium, which can realize accurate positioning of an electronic product by utilizing the centimeter-level positioning accuracy characteristic of an Ultra Wide Band (UWB) technology.
In a first aspect, an embodiment of the present application provides a positioning method applied to an electronic device, where the method includes:
establishing Bluetooth communication connection with the tag device;
monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel;
transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters;
and establishing a UWB communication connection with the tag device, and determining the relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
In a second aspect, an embodiment of the present application provides a positioning method, which is applied to a tag device, where the tag device includes a second UWB module, and the method includes:
establishing Bluetooth communication connection with electronic equipment, and receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the current network parameters monitored by the electronic equipment, and the target network parameters corresponding to an idle UWB channel are determined;
starting the second UWB module, and starting to configure a UWB communication channel based on the target network parameters;
establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
In a third aspect, an embodiment of the present application provides a positioning system, where the positioning system includes an electronic device and a tag device;
the electronic equipment and the tag equipment establish Bluetooth communication connection;
the electronic equipment monitors current network parameters through a first UWB module and determines target network parameters corresponding to an idle UWB channel;
the electronic device sends the target network parameters to the tag device through a Bluetooth channel, so that the tag device configures a UWB communication channel based on the target network parameters;
the electronic device establishes a UWB communication connection with the tag device through a first UWB module, and determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a first UWB module; the processor is electrically connected with the memory and the first UWB module respectively;
the first UWB module is used for monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel; the first UWB module is also used for establishing a UWB communication connection with the tag device;
the memory stores at least one instruction for execution by the processor to perform the steps of:
establishing Bluetooth communication connection with the tag device;
transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters;
determining a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
In a fifth aspect, an embodiment of the present application provides a UWB module, including: a UWB antenna and interface circuitry;
the UWB antenna is electrically connected with the interface circuit;
the UWB module is used for connecting with the electronic equipment through the interface circuit, so that the electronic equipment monitors current network parameters through the UWB module, determines target network parameters corresponding to an idle UWB channel, establishes UWB communication connection with the tag equipment through the UWB module, and determines the relative position between the electronic equipment and the tag equipment based on UWB communication data between the tag equipment.
In a sixth aspect, an embodiment of the present application provides a tag device, where the tag device includes a processor, a memory, a bluetooth module, and a second UWB module, and the processor is electrically connected to the memory, the bluetooth module, and the second UWB module, respectively;
the Bluetooth module is used for establishing Bluetooth communication connection with the electronic equipment; the processor is configured to enable the second UWB module to enable configuring a UWB communication channel based on the target network parameters;
the memory stores at least one instruction for execution by the processor to perform the steps of:
receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the target network parameters corresponding to the idle UWB channel determined by the electronic equipment through monitoring the current network parameters;
establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
In a seventh aspect, an embodiment of the present application provides a positioning apparatus, which is applied to an electronic device, and the apparatus includes: a connection unit, a determination unit and a transmission unit, wherein,
the connection unit is used for establishing Bluetooth communication connection with the tag device;
the determining unit is used for monitoring the current network parameters and determining the target network parameters corresponding to the idle UWB channel;
the transmitting unit is used for transmitting the target network parameters to the tag device through a Bluetooth channel so that the tag device configures a UWB communication channel based on the target network parameters;
the connecting unit is also used for establishing UWB communication connection with the tag equipment;
the determining unit is further configured to determine a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
In an eighth aspect, an embodiment of the present application provides a positioning apparatus, which is applied to a tag device, where the tag device includes a second UWB module, and the apparatus includes: a connection unit and a configuration unit, wherein,
the connection unit is used for establishing Bluetooth communication connection with the electronic equipment, receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the current network parameters monitored by the electronic equipment, and determining the target network parameters corresponding to an idle UWB channel;
the configuration unit is used for starting the second UWB module and starting to configure a UWB communication channel based on the target network parameter;
the connecting unit is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
In a ninth aspect, embodiments provide an electronic device comprising a processor, a memory and a bluetooth module, the memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any one of the first aspect.
In a tenth aspect, embodiments provide a tag device comprising a processor, a memory, a UWB module and a bluetooth module, the memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method according to any of the second aspect.
In an eleventh aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the first aspect of the present application.
In a twelfth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps described in the second aspect of the embodiments of the present application.
In a thirteenth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
In a fourteenth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in the second aspect of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the positioning method, apparatus, system, electronic device and storage medium described in the embodiments of the present application are applied to an electronic device, establish a bluetooth communication connection with a tag device, monitor current network parameters, determine target network parameters corresponding to an idle UWB channel, send the target network parameters to the tag device through the bluetooth channel, so that the tag device configures the UWB communication channel based on the target network parameters, establish a UWB communication connection with the tag device, determine a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device, because the network parameters of the idle UWB channel are sent to the tag device through the bluetooth connection, wake up the UWB function of the tag device based on the network parameters to implement UWB communication, and further, implement positioning based on the UWB function, on the one hand, can implement a positioning function with centimeter-level accuracy, on the other hand, because the tag device does not turn on the UWB function at the beginning, but turns on the UWB function when it needs to be located, the locating manner can reduce the power consumption of the tag device.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic flowchart of a positioning method according to an embodiment of the present application;
fig. 3B is a schematic illustration of a positioning scenario provided by an embodiment of the present application;
FIG. 3C is a schematic diagram illustrating an example of positioning based on PDOA;
FIG. 3D is a schematic view of an interface demonstration of a positioning scene according to an embodiment of the present disclosure;
fig. 3E is a schematic flowchart of another implementation of positioning according to an embodiment of the present application;
fig. 4A is a schematic flowchart of another positioning method provided in the embodiment of the present application;
fig. 4B is a schematic flowchart of another positioning method provided in the embodiment of the present application;
fig. 5A is a schematic flowchart of another positioning method provided in the embodiment of the present application;
fig. 5B is a schematic flowchart of another positioning method provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a UWB module according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a labeling apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram illustrating functional units of a positioning apparatus according to an embodiment of the present disclosure;
fig. 10 is a block diagram of functional units of another positioning apparatus provided in the embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
The electronic device may include various Ultra Wideband (UWB) and bluetooth modules, such as a smart phone, a vehicle-mounted device (navigator, car recorder, radar range finder, ETC payment loading, etc.), a wearable device, a smart watch, a base Station device, a tag device, an intercom, smart glasses, a wireless bluetooth headset, a computing device or other processing device connected to a wireless modem, and various forms of User Equipment (UE), a Mobile Station (MS), a virtual reality/augmented reality device, a terminal device (terminal device), etc., and the electronic device may also serve as a tag device.
In the first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
As shown, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural network processor NPU, among others. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, a USB interface, and/or the like. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 101, and may also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G/6G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), UWB, and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 101 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the method for displaying page elements provided in the embodiments of the present application, and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the second section, the positioning method and apparatus disclosed in the embodiments of the present application are described as follows.
Referring to fig. 3A, fig. 3A is a schematic flowchart of a positioning method provided in an embodiment of the present application, and is applied to an electronic device, where as shown in the figure, the positioning method includes:
301. and establishing Bluetooth communication connection with the tag device.
The label device can be arranged in various public places, or at home or company of a user, and the public places can be at least one of the following: library, mall, bank, government agency, supermarket, pedestrian street, school, museum, hotel, hospital, airport, train station, airport, bus station, toll station, garage, tourist attraction, roadside (street lights, pavement, billboard, etc.). The embodiment of the application not only can be applied to lost article searching, but also can be applied to commodity positioning, scenic spot positioning or other positioning purposes.
In this embodiment, as shown in fig. 3B, the electronic device may include a first bluetooth module and a first UWB module, and the tag device may include a second bluetooth module and a second UWB module, so that the electronic device may establish bluetooth communication connection through the first bluetooth module and the second bluetooth module of the tag device, or the electronic device may establish UWB communication connection through the first UWB module and the second UWB module of the tag device.
302. And monitoring the current network parameters and determining target network parameters corresponding to the idle UWB channel.
In this embodiment of the present application, the current network parameter may be at least one of the following: channel, preamble length, random code number, network rate, sleep time, etc., without limitation. The target network parameter may be at least one of: UWB channel, UWB preamble length, UWB random code number, UWB network rate, UWB sleep time, and the like, without limitation. In a specific implementation, the electronic device may include a first UWB module, and the first UWB module may monitor current network parameters and determine target network parameters corresponding to an idle UWB channel from the current network parameters.
303. Transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters.
In this embodiment of the application, the electronic device may send the target network parameter to the tag device through a bluetooth channel, so that the tag device can configure the UWB communication channel based on the target network parameter, specifically, the tag device may initialize the UWB module based on the target network parameter, and after the initialization of the UWB module of the tag device is successful, send an ACK message through the bluetooth to notify the electronic device, where the ACK message is used to notify the electronic device that the configuration of the UWB module of the tag device has been successful.
304. And establishing a UWB communication connection with the tag device, and determining the relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
Wherein, electronic equipment can establish UWB communication connection with label equipment, because UWB communication not only can realize the range finding, can also realize the location, and then, electronic equipment can be based on with label equipment between UWB communication data confirm the relative position between electronic equipment and the label equipment, because UWB can provide the locate function of centimetre level precision, and then, can realize the accurate location to label equipment.
In a specific implementation, the electronic device may measure a relative distance between the electronic device and the target vehicle based on a time of flight (TOF) technology and the first UWB module and the second UWB module, may use a phase difference of arrival (PDOA) technology, and determine a relative angle between the electronic device and the tag device based on the first UWB module and the second UWB module, and the relative angle and the relative distance between the electronic device and the tag device may constitute the orientation information. Of course, the positioning and ranging technology by UWB may also include: two-way Ranging (TWR) techniques, time difference of arrival (TDOA) techniques, and the like, without limitation. In the embodiment of the present application, the TWR technology and the TDOA technology may also be used for ranging.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module, the first UWB module comprising a first UWB antenna and a second UWB antenna; the step 304 of determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device may include the steps of:
41. transmitting a first UWB signal to the tag device through the first UWB antenna;
42. receiving a second UWB signal transmitted by the tag device;
43. determining first orientation information between the first UWB antenna and the tag device through the first UWB signal and the second UWB signal, wherein the first orientation information comprises a first relative angle and a first relative distance between the first UWB antenna and the tag device;
44. transmitting a third UWB signal to said tag device through said second UWB antenna;
45. receiving a fourth UWB signal transmitted by said tag device;
46. determining second orientation information between the second UWB antenna and the tag device through the third UWB signal and the fourth UWB signal, the second orientation information including a second relative angle and a second relative distance between the second UWB antenna and the tag device;
47. determining a relative position between the electronic device and the tag device according to the first orientation information and the second orientation information, the relative position including a relative angle and a relative distance.
The first UWB module of the electronic device may include a first UWB antenna and a second UWB antenna, and an included angle between the first UWB antenna and the second UWB antenna is greater than 0 degree and smaller than 180 degrees, for example, one of the first UWB antenna and the second UWB antenna is a horizontal antenna, and the other antenna is a vertical antenna.
In a specific implementation, the electronic device may send a first UWB signal to the tag device through the first UWB antenna, and further, receive a second UWB signal sent by the tag device, and the electronic device may use PDOA technology, and determine first orientation information between the first UWB antenna and the tag device through the first UWB signal and the second UWB signal, where the first orientation information includes a first relative angle and a first relative distance between the first UWB antenna and the tag device; in addition, a third UWB signal can be sent to the tag device through the second UWB antenna, a fourth UWB signal sent by the tag device is received, PDOA technology is adopted, second azimuth information between the second UWB antenna and the tag device is determined through the third UWB signal and the fourth UWB signal, the second azimuth information comprises a second relative angle and a second relative distance between the second UWB antenna and the tag device, finally, a relative position between the electronic device and the tag device can be determined according to the first azimuth information and the second azimuth information, the relative position comprises the relative angle and the relative distance, and accurate positioning of the tag device is achieved through the relative angle and the relative distance.
For example, in the embodiment of the present application, the first UWB module may include 2 antennas, that is, the first UWB antenna and the second UWB antenna, and the second UWB module of the tag device may include the third UWB antenna, and referring to fig. 3C, a first tangential angle (relative angle) of the first UWB antenna with respect to the third UWB antenna may be determined based on a UWB signal received by the first UWB antenna and transmitted by the third UWB antenna and a UWB signal received by the second UWB antenna and transmitted by the third UWB antenna, specifically, a first distance difference between the UWB signal arriving at the first UWB antenna and arriving at the second UWB antenna may be determined based on a UWB signal received by the first UWB antenna and a UWB signal received by the second UWB antenna, and a first tangential angle of the first UWB antenna with respect to the third UWB antenna may be determined based on the first distance difference and a first separation distance between the first UWB antenna and the second UWB antenna.
Wherein the first tangent angle of the first UWB antenna with respect to the third UWB module is determined based on the first distance difference and the first spaced distance between the first UWB antenna and the second UWB antenna, and specifically, the distance y from the third UWB antenna to the connection line of the first UWB antenna and the second UWB antenna may be determined according to the following formula:
Figure BDA0002781330120000101
wherein, as shown in fig. 3C, d is a first separation distance between the first UWB antenna and the second UWB antenna, r is a first distance between the first UWB antenna and the third UWB antenna, and p is a first distance difference (r-p) between a distance from which the UWB signal reaches the first UWB antenna and a distance from which the UWB signal reaches the second UWB antenna; further, a first chamfer angle may be determined from the distances y and r, the first difference, wherein, as shown in fig. 3C, a right triangle may be constructed from the distances y and r, x is one leg of the right triangle, the other leg of the right triangle is y, the hypotenuse of the right triangle is the first distance r between the first UWB antenna and the third UWB antenna, and the sine of the first chamfer angle α is y/r.
In one possible example, after determining the relative position between the electronic device and the tag device according to the first orientation information and the second orientation information in step 47, the following steps may be further included:
48. and controlling the first UWB module to enter a sleep state.
After step 47, it indicates that the electronic device has already located the tag device, and may control the first UWB module to go to the sleep state, so that the power consumption of the electronic device may be reduced.
Further, in a possible example, after controlling the first UWB module to enter the sleep state at step 48, the following steps may be further included:
49. and when the preset time arrives, waking up the first UWB module, and executing the step of sending a first UWB signal to the tag equipment through the first UWB antenna.
The preset time can be set by the user or defaulted by the system. When the electronic equipment reaches the preset time, the first UWB module is awakened, the step 41 is executed, and then the tag equipment is positioned again.
In one possible example, before the step 301, the following steps may be further included:
a1, broadcasting an object seeking instruction, wherein the object seeking instruction carries identification information of the label device;
a2, receiving a confirmation message sent by the label device corresponding to the identification information, and establishing a Bluetooth connection between the electronic device and the label device.
The electronic device may broadcast an article-seeking instruction, where the article-seeking instruction may carry identification information of the tag device, and the identification information may be at least one of the following: a device name, an IP address, a MAC address, an Integrated Circuit Card Identifier (ICCID), an International Mobile Equipment Identifier (IMEI), and the like, but are not limited thereto. Furthermore, the electronic device may receive the confirmation message sent by the tag device corresponding to the identification information, and establish a bluetooth connection between the electronic device and the tag device. As shown in fig. 3D, the electronic device may turn on the location APP and select the tag of the device that needs to be located, e.g., my wallet, and may show the specific location of "my wallet" on the display interface of the electronic device.
In one possible example, after determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device in step 304, the following steps may be further included:
and sending a communication disconnection instruction to the tag equipment, wherein the network disconnection instruction is used for indicating the tag equipment to disconnect UWB communication connection and Bluetooth communication connection and indicating the tag equipment to enter a Bluetooth low-power-consumption mode.
The electronic equipment can send a communication disconnection instruction to the label equipment, the network disconnection instruction is used for indicating the label equipment to disconnect UWB communication connection and Bluetooth communication connection, and indicating the label equipment to enter a Bluetooth low-power-consumption mode, and then the power consumption of the label equipment can be reduced as far as possible, and the duration of the tag equipment is prolonged.
In specific implementation, considering that the battery capacity of the tag device may be limited, and the UWB function needs to be highly power-consuming when being turned on for a long time, the function of the electronic device finding the tag device can be implemented with the aid of bluetooth low energy. The bluetooth module of the tag device can be always maintained in a low power consumption standby state. When the tag device is awakened by the electronic device through Bluetooth, the tag device interactively selects a UWB channel which is the same as that of the electronic device through Bluetooth, and then a UWB module of the tag device is opened to carry out UWB communication. In the whole interaction process, the Bluetooth of the tag device is always kept in the starting state, the UWB module can be started only in the ranging process, and other processes in the middle can experience the sleep state. The whole interaction process aims to enable the UWB module of the label device to be started as short as possible, all network monitoring and addressing work is completed by the electronic device and is sent to the label device through Bluetooth to realize synchronization, and therefore power consumption of the label device is saved to the greatest extent.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module and the electronic equipment are arranged in a separated mode, and the first UWB module is electrically connected with the electronic equipment through an interface circuit.
In a specific implementation, the first UWB module may be disposed separately from the electronic device, and may be electrically connected to the electronic device through the interface circuit, or the electronic device may also be connected to the first UWB module through a magnetic field or a communication manner, where the communication manner may be at least one of the following: wireless fidelity (Wi-Fi) communication, infrared communication, ultraviolet communication, bluetooth communication, mobile network communication (e.g., 2G, 3G, 4G, 5G, 6G, etc.), terahertz communication, visible light communication, etc., without limitation thereto. For example, the first UWB module may serve as a peripheral accessory to the electronic device, and the peripheral accessory may be at least one of: a protective case, a charger, a headset, a USB data cable, an adapter, a protective film, etc., without limitation. Taking an electronic device as an example of a mobile phone, the first UWB module may be disposed on a mobile phone protective case or a mobile phone protective case, and after the mobile phone is equipped with the mobile phone protective case or the mobile phone protective case, the mobile phone and the first UWB module may be electrically connected; for another example, the first UWB module may be disposed in an earphone, and further, electrically connected to a mobile phone through an earphone interface; for another example, the first UWB module may be disposed in a charging accessory, the charging accessory may be an adapter, a data line, or a charger, and when the mobile phone is charged, the first UWB module may be electrically connected or communicatively connected to the mobile phone.
In one possible example, the first UWB module is disposed within the electronic device.
The first UWB module may be a part of the electronic device, and the first UWB module may be disposed inside the electronic device, for example, the first UWB module may be integrated on a motherboard, a display screen, a rear case, and the like of the electronic device, which is not limited herein.
For example, as shown in fig. 3E, taking a mobile phone as an example, in a specific implementation, the mobile phone may perform a bluetooth connection with a tag device and obtain a tag Identifier (ID) of the tag device, the mobile phone may turn on a UWB module, monitor current network parameters in a receiving mode (RX), perform network configuration polling based on the manner to find an idle (UWB) network, after finding an idle network, send network parameters corresponding to the idle network to the tag device through bluetooth communication, after sending, the UWB module switches to a receiving state, receive a network parameter confirmation message sent by the tag device through bluetooth communication, if the mobile phone does not receive a bluetooth reply, send network parameters corresponding to the idle network to the tag device again through bluetooth communication, if the network parameters corresponding to the idle network are sent to the tag device within a first preset time period and a first preset number of times through bluetooth communication, and if no Bluetooth reply is received, restarting the Bluetooth module to perform Bluetooth connection again. The first preset time period and the first preset times can be set by the user or defaulted by the system.
Further, if the network parameter confirmation message indicates that the network parameter configuration of the tag device fails, the network parameter corresponding to the idle network is sent to the tag device again through bluetooth communication. If the network parameter confirmation message indicates that the network parameter configuration of the tag device is successful, the horizontal antenna can be opened, ranging information is sent to the tag device through UWB communication, after the sending is completed, the first UWB module can be switched to a receiving state, further, the tag device is received through the first UWB module to return, when the receiving fails (the reply of the tag device is not received), the ranging is carried out again, if the reply of the tag device is not received within the second preset time period and the second preset times, the Bluetooth connection can be carried out again, the UWB network configuration can be carried out on the tag device subsequently, and the ranging can be carried out again. If the first UWB module successfully receives the return of the tag device, the distance between the horizontal antenna and the tag device and the angle in the horizontal direction are calculated based on the return, then the vertical antenna is opened, the distance measurement information tag is sent through UWB, after the sending is completed, the first UWB module is switched to a receiving state, the tag return is received through the first UWB module, if the tag return is successfully received, the distance in the vertical direction and the distance in the distance are calculated based on the return, if the receiving fails (the reply of the tag device is not received), the distance measurement is carried out again, if the return of the tag device is not received within the second preset time period and the second preset times, the Bluetooth connection and the subsequent UWB network configuration and distance measurement can be carried out again on the tag device. The second preset time period and the second preset times can be set by the user or defaulted by the system.
It can be seen that the positioning method described in the embodiments of the present application is applied to an electronic device, establishes a bluetooth communication connection with a tag device, monitors current network parameters, determines target network parameters corresponding to an idle UWB channel, sends the target network parameters to the tag device through the bluetooth channel, so that the tag device configures the UWB communication channel based on the target network parameters, establishes a UWB communication connection with the tag device, determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device, since the network parameters of the idle UWB channel are sent to the tag device by way of the bluetooth connection, wakes up the UWB function of the tag device based on the network parameters to implement UWB communication, and further implements positioning based on the UWB function, on the one hand, a positioning function with centimeter level accuracy can be implemented by UWB, and on the other hand, because the tag device does not start the UWB function at the beginning, but starts the UWB function when it needs to be located, the locating mode can reduce the power consumption of the tag device.
Fig. 4A is a schematic flowchart of a positioning method according to an embodiment of the present application, and is applied to a tag device, where the tag device includes a second UWB module; as shown in the figure, the positioning method comprises the following steps:
401. establishing Bluetooth communication connection with electronic equipment, and receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are target network parameters corresponding to an idle UWB channel determined by the electronic equipment monitoring current network parameters.
402. And starting the second UWB module, and starting to configure a UWB communication channel based on the target network parameters.
403. Establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
For the detailed description of the steps 401 to 403, reference may be made to the corresponding steps of the positioning method described in the above fig. 3A, and details are not repeated here.
In one possible example, after the electronic device determines the relative position between the electronic device and the tag device based on UWB communication data with the tag device in step 403, the following steps may be further included:
and controlling the second UWB module to enter a sleep state.
After step 403, it indicates that the electronic device has located the tag device, and the tag device may control the second UWB module to be in a sleep state, so that power consumption of the tag device may be reduced.
Further, after the controlling the second UWB module to enter the sleep state, the method may further include the steps of:
and when the preset time arrives, waking up the second UWB module, and executing the step of establishing UWB communication connection with the electronic equipment.
The preset time can be set by the user or defaulted by the system. When the tag device arrives at the preset time, the second UWB module is waken up, step 403 is executed, and then UWB communication connection with the electronic device is realized again.
In one possible example, after the step 403, the following steps may be further included:
receiving a communication disconnection instruction transmitted by the electronic device;
and responding to the communication disconnection instruction, disconnecting the UWB communication connection, controlling the second UWB module to enter a sleep state, disconnecting the Bluetooth communication connection and entering a Bluetooth low-power consumption mode.
Wherein, tag device can receive the communication disconnection instruction that electronic equipment sent, and tag device disconnection UWB communication connection and disconnection bluetooth communication connection to and instruct tag device to get into bluetooth low-power consumption mode, and then, can reduce tag device's electric quantity consumption as far as possible, help promoting tag device's duration of endurance.
In one possible example, the tag device establishes a UWB communication connection with the electronic device through a second UWB module;
the second UWB module and the tag device are arranged separately, and the second UWB module is electrically connected with the tag device through an interface circuit.
In a specific implementation, the second UWB module may be separated from the tag device, and may be electrically connected to the tag device through the interface circuit, or the tag device may also be connected to the second UWB module through a magnetic field or a communication mode, where the communication mode may be at least one of the following: wireless fidelity (Wi-Fi) communication, infrared communication, ultraviolet communication, bluetooth communication, mobile network communication (e.g., 2G, 3G, 4G, 5G, 6G, etc.), terahertz communication, visible light communication, etc., without limitation thereto.
In one possible example, the second UWB module is disposed within the tag device.
The second UWB module may be a part of the tag device, and the second UWB module may be disposed inside the tag device, for example, the second UWB module may be integrated on a main board, a display screen, a rear case, and the like of the tag device, which is not limited herein.
For example, as shown in fig. 4B, the tag device is in a low power consumption mode, when the bluetooth low power consumption is awakened, it is connected to the electronic device via bluetooth, after the bluetooth connection between the tag device and the electronic device is successful, the monitoring is maintained via the bluetooth network, when the network parameters sent by the electronic device are monitored via the bluetooth network, the UWB network configuration is implemented by receiving the network parameters, the UWB is initialized using the network parameters, after the initialization is successful, a network parameter confirmation message is sent to the electronic device via bluetooth, after the configuration is confirmed to be successful, horizontally positioned UWB information sent by the electronic device is received, after the reception is failed, it is described that the information is not received, the distance measurement is performed again, that is, the horizontally positioned UWB information sent by the electronic device is received again, of course, after the bluetooth interrupt information is received, the bluetooth module is restarted, after the reception is successful, sending UWB return receipt information, receiving UWB information positioned in the vertical direction sent by the electronic equipment, when the receiving fails, indicating that the information is not received, re-ranging, namely re-receiving the UWB information positioned in the vertical direction sent by the electronic equipment, of course, after receiving Bluetooth interrupt information, restarting the Bluetooth module, after the receiving succeeds, sending the UWB return receipt information, after the sending is finished, entering a sleep mode by the UWB module, and waking up through a Real Time Clock (RTC) to realize UWB positioning again.
Referring to fig. 5A, fig. 5A is a schematic structural diagram of a positioning system according to an embodiment of the present disclosure, where the positioning system includes an electronic device and a tag device; as shown in the figure, the system is used to perform a positioning method, which is as follows:
501. the electronic equipment and the label equipment are in Bluetooth communication connection.
502. The electronic equipment monitors the current network parameters through the first UWB module and determines the target network parameters corresponding to the idle UWB channel.
503. And the electronic equipment sends the target network parameters to the tag equipment through a Bluetooth channel.
504. The tag device configures a UWB communication channel based on the target network parameters.
505. The electronic device establishes a UWB communication connection with the tag device through a first UWB module, and determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
For the detailed description of the steps 501 to 505, reference may be made to the corresponding steps of the positioning method described in the above fig. 3A, and details are not repeated here.
For example, as shown in fig. 5B, in a specific implementation, the article finding APP may be opened on the electronic device, and the tag identifier of the object to be found is clicked, and then a bluetooth module (BLE) of the electronic device may be opened and a bluetooth connection request is sent, and the bluetooth module of the tag device is awakened, and then the bluetooth is connected, and after the connection is successful, a successful response message ACK is sent to the electronic device, and then the tag identifier may be found and displayed on the electronic device, and the bluetooth is connected.
Further, the electronic device may open the UWB module, perform UWB network monitoring, send available network parameters of an idle UWB channel to the tag device through bluetooth communication, perform UWB initialization based on the network parameters by the tag device, and send a network parameter response message ACK to the electronic device through bluetooth communication, enter a positioning mode if the UWB module of the tag device is successfully configured, otherwise, continue to send the network parameters to the tag device through bluetooth communication.
Furthermore, the electronic device interacts with the tag device to determine the position of the tag device, and after the positioning is successful, the electronic device and the UWB module of the tag device both enter a sleep state. After the electronic device sends a communication disconnection instruction to the tag device, the electronic device can turn off the bluetooth module and the UWB module, and the tag device can turn off the UWB module and enter a bluetooth low energy mode.
Referring to fig. 6 in keeping with the above embodiments, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where as shown in the figure, the electronic device includes a processor, a memory, a communication interface, a first bluetooth module, a first UWB module, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
establishing Bluetooth communication connection with the tag device;
monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel;
transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters;
and establishing a UWB communication connection with the tag device, and determining the relative position between the electronic device and the tag device based on UWB communication data between the tag device and the electronic device.
It can be seen that the electronic device described in the embodiments of the present application establishes a bluetooth communication connection with a tag device, monitors current network parameters, determines target network parameters corresponding to an idle UWB channel, sends the target network parameters to the tag device through the bluetooth channel, so that the tag device configures the UWB communication channel based on the target network parameters, establishes a UWB communication connection with the tag device, determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device, since the network parameters of the idle UWB channel are sent to the tag device through the bluetooth connection, wakes up a UWB function of the tag device based on the network parameters to implement UWB communication, and further implements positioning based on the UWB function, on one hand, a positioning function with centimeter-level accuracy can be implemented through UWB, and on the other hand, since the tag device does not start the UWB function from the beginning, but only when needing to be positioned, the UWB function is started, and the positioning mode can reduce the power consumption of the label device.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module, the first UWB module comprising a first UWB antenna and a second UWB antenna;
in said determining a relative position between said electronic device and said tag device based on UWB communication data with said tag device, the above program comprises instructions for:
transmitting a first UWB signal to the tag device through the first UWB antenna;
receiving a second UWB signal transmitted by the tag device;
determining first orientation information between the first UWB antenna and the tag device through the first UWB signal and the second UWB signal, wherein the first orientation information comprises a first relative angle and a first relative distance between the first UWB antenna and the tag device;
transmitting a third UWB signal to said tag device through said second UWB antenna;
receiving a fourth UWB signal transmitted by said tag device;
determining second orientation information between the second UWB antenna and the tag device through the third UWB signal and the fourth UWB signal, the second orientation information including a second relative angle and a second relative distance between the second UWB antenna and the tag device;
determining a relative position between the electronic device and the tag device according to the first orientation information and the second orientation information, the relative position including a relative angle and a relative distance.
In one possible example, after determining the relative position between the electronic device and the tag device based on the first orientation information and the second orientation information, the program further includes instructions for:
and controlling the first UWB module to enter a sleep state.
In one possible example, after said controlling said first UWB module to enter a sleep state, the above procedure further comprises instructions for:
and when the preset time arrives, waking up the first UWB module, and executing the step of sending a first UWB signal to the tag equipment through the first UWB antenna.
In one possible example, the program further comprises instructions for performing the steps of:
broadcasting an object searching instruction, wherein the object searching instruction carries identification information of the tag equipment;
and receiving a confirmation message sent by the label equipment corresponding to the identification information, and establishing Bluetooth connection between the electronic equipment and the label equipment.
In one possible example, after said determining a relative position between said electronic device and said tag device based on UWB communication data with said tag device, the above program further comprises instructions for:
and sending a communication disconnection instruction to the tag device, wherein the communication disconnection instruction is used for instructing the tag device to disconnect UWB communication connection and Bluetooth communication connection, and instructing the tag device to enter a Bluetooth low power consumption mode.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module and the electronic equipment are arranged in a separated mode, and the first UWB module is electrically connected with the electronic equipment through an interface circuit.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module is disposed inside the electronic device.
Alternatively, based on the electronic device described in fig. 6, the following functions may be implemented:
the first UWB module is used for monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel; the first UWB module is also used for establishing a UWB communication connection with the tag device;
the memory stores at least one instruction for execution by the processor to perform the steps of:
establishing Bluetooth communication connection with the tag device;
transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters;
determining a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments provided herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 7 in a manner consistent with the above embodiments, fig. 7 is a schematic structural diagram of a UWB module according to an embodiment of the present application, where, as shown in the figure, the UWB antenna is electrically connected to the interface circuit;
the UWB module is used for connecting with the electronic equipment through the interface circuit, so that the electronic equipment monitors current network parameters through the UWB module, determines target network parameters corresponding to an idle UWB channel, establishes UWB communication connection with the tag equipment through the UWB module, and determines the relative position between the electronic equipment and the tag equipment based on UWB communication data between the tag equipment.
The UWB antenna may also include a first UWB antenna and a second UWB antenna, and a certain angle is formed between the two antennas.
It can be seen that, the UWB module described in the embodiment of the present application monitors current network parameters, and determines target network parameters corresponding to an idle UWB channel, so that the tag device configures a UWB communication channel based on the target network parameters, establishes a UWB communication connection with the tag device, and determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device, and further, performs positioning based on a UWB function.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a tag device according to an embodiment of the present application, where as shown, the tag device includes a processor, a memory, a communication interface, a second bluetooth module, a second UWB module, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
establishing Bluetooth communication connection with electronic equipment, and receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the current network parameters monitored by the electronic equipment, and the target network parameters corresponding to an idle UWB channel are determined;
starting the second UWB module, and starting to configure a UWB communication channel based on the target network parameters;
establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
In one possible example, after the electronic device determines the relative position between the electronic device and the tag device based on UWB communication data with the tag device, the above program further comprises instructions for performing the steps of:
and controlling the second UWB module to enter a sleep state.
In one possible example, after said controlling said second UWB module to enter a sleep state, the above procedure further comprises instructions for:
and when the preset moment is reached, awakening the second UWB module, and executing the step of establishing UWB communication connection with the electronic equipment.
In one possible example, the program further comprises instructions for performing the steps of:
receiving a communication disconnection instruction transmitted by the electronic device;
and responding to the communication disconnection instruction, disconnecting the UWB communication connection, controlling the second UWB module to enter a sleep state, disconnecting the Bluetooth communication connection and entering a Bluetooth low-power consumption mode.
Alternatively, based on the tag device described in fig. 8, the processor is electrically connected to the memory, the second bluetooth module, and the second UWB module, respectively; the following functions may also be implemented:
the Bluetooth module is used for establishing Bluetooth communication connection with the electronic equipment; the processor is configured to enable the second UWB module to enable configuring a UWB communication channel based on the target network parameters;
the memory stores at least one instruction for execution by the processor to perform the steps of:
receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the target network parameters corresponding to the idle UWB channel determined by the electronic equipment through monitoring the current network parameters;
establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
Fig. 9 is a block diagram of functional units of a positioning apparatus 900 according to an embodiment of the present application. The positioning apparatus 900 is applied to an electronic device, and the apparatus 900 includes: a connection unit 901, a determination unit 902 and a sending unit 903, wherein,
the connection unit 901 is configured to establish a bluetooth communication connection with a tag device;
the determining unit 902 is configured to monitor a current network parameter and determine a target network parameter corresponding to an idle UWB channel;
the sending unit 903 is configured to send the target network parameter to the tag device through a bluetooth channel, so that the tag device configures a UWB communication channel based on the target network parameter;
the connection unit 901 is further configured to establish a UWB communication connection with the tag device;
the determining unit 902 is further configured to determine a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module, the first UWB module comprising a first UWB antenna and a second UWB antenna;
in said determining the relative position between said electronic device and said tag device based on UWB communication data with said tag device, said determining unit 902 is specifically configured to:
transmitting a first UWB signal to the tag device through the first UWB antenna;
receiving a second UWB signal transmitted by the tag device;
determining first orientation information between the first UWB antenna and the tag device through the first UWB signal and the second UWB signal, wherein the first orientation information comprises a first relative angle and a first relative distance between the first UWB antenna and the tag device;
transmitting a third UWB signal to said tag device through said second UWB antenna;
receiving a fourth UWB signal transmitted by said tag device;
determining second orientation information between the second UWB antenna and the tag device through the third UWB signal and the fourth UWB signal, the second orientation information including a second relative angle and a second relative distance between the second UWB antenna and the tag device;
determining a relative position between the electronic device and the tag device according to the first orientation information and the second orientation information, the relative position including a relative angle and a relative distance.
In one possible example, after determining the relative position between the electronic device and the tag device according to the first orientation information and the second orientation information, the apparatus 900 is further specifically configured to:
and controlling the first UWB module to enter a sleep state.
In one possible example, after said controlling said first UWB module to enter a sleep state, said apparatus 900 is further specifically configured to:
and when the preset time arrives, waking up the first UWB module, and executing the step of sending a first UWB signal to the tag equipment through the first UWB antenna.
In one possible example, the apparatus 900 is further specifically configured to:
broadcasting an object searching instruction, wherein the object searching instruction carries identification information of the tag equipment;
and receiving a confirmation message sent by the label equipment corresponding to the identification information, and establishing Bluetooth connection between the electronic equipment and the label equipment.
In one possible example, after said determining a relative position between said electronic device and said tag device based on UWB communication data with said tag device, said apparatus 900 is further specifically configured to:
and sending a communication disconnection instruction to the tag device, wherein the communication disconnection instruction is used for instructing the tag device to disconnect UWB communication connection and Bluetooth communication connection, and instructing the tag device to enter a Bluetooth low power consumption mode.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module and the electronic equipment are arranged in a separated mode, and the first UWB module is electrically connected with the electronic equipment through an interface circuit.
In one possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module is disposed inside the electronic device.
It should be noted that the electronic device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
The connection unit 901 may be a bluetooth module or a UWB module, the sending unit 903 may be a bluetooth module, and the determining unit 902 may be one or more of a control circuit, a processor, or a communication circuit, based on which any of the functions or steps of the method may be implemented.
Fig. 10 is a block diagram showing functional units of the positioning apparatus 1000 according to the embodiment of the present application. The positioning apparatus 1000 is applied to a tag device, the tag device includes a second UWB module, the apparatus 1000 includes: a connection unit 1001 and a configuration unit 1002, wherein,
the connection unit 1001 is configured to establish a bluetooth communication connection with an electronic device, and receive a target network parameter sent by the electronic device through a bluetooth channel, where the target network parameter is a target network parameter monitored by the electronic device and corresponding to an idle UWB channel is determined;
the configuration unit 1002 is configured to start the second UWB module, and start configuring a UWB communication channel based on the target network parameter;
the connection unit 1001 is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
In one possible example, after the electronic device determines the relative position between the electronic device and the tag device based on UWB communication data with the tag device, the apparatus 1000 is further specifically configured to:
and controlling the second UWB module to enter a sleep state.
In one possible example, after said controlling said second UWB module to enter a sleep state, said apparatus 1000 is further specifically configured to:
and when the preset time arrives, waking up the second UWB module, and executing the step of establishing UWB communication connection with the electronic equipment.
In one possible example, the 1000 is further specifically configured to:
receiving a communication disconnection instruction transmitted by the electronic device;
and responding to the communication disconnection instruction, disconnecting the UWB communication connection, controlling the second UWB module to enter a sleep state, disconnecting the Bluetooth communication connection and entering a Bluetooth low-power consumption mode.
It should be noted that the label device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
The connection unit 1001 may be a bluetooth module or a UWB module, and the configuration unit 1002 may be one or more of a control circuit or a processor or a UWB module, based on which the functions or steps of any of the above methods can be implemented.
Further, the embodiment of the application also provides a positioning system, wherein the positioning system comprises electronic equipment and label equipment; it can be used for the following functions:
the electronic equipment and the tag equipment establish Bluetooth communication connection;
the electronic equipment monitors current network parameters through a first UWB module and determines target network parameters corresponding to an idle UWB channel;
the electronic device sends the target network parameters to the tag device through a Bluetooth channel, so that the tag device configures a UWB communication channel based on the target network parameters;
the electronic device establishes a UWB communication connection with the tag device through a first UWB module, and determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
Wherein, the detailed description of the electronic device may refer to the corresponding description of the electronic device shown in fig. 6, or the electronic device related description of the UWB module shown in fig. 7, and the detailed description of the tag device may refer to the corresponding description of the tag device shown in fig. 7.
The present embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the embodiments of the present application to implement any one of the methods in the embodiments.
The present embodiment also provides a computer program product, which when run on a computer causes the computer to execute the relevant steps described above to implement any of the methods in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute any one of the methods in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

1. A positioning method is applied to an electronic device, and the method comprises the following steps:
establishing Bluetooth communication connection with the tag device;
monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel;
transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters;
and establishing a UWB communication connection with the tag device, and determining the relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
2. The method of claim 1, wherein the electronic device establishes a UWB communication connection with the tag device via a first UWB module, wherein the first UWB module comprises a first UWB antenna and a second UWB antenna;
said determining a relative position between said electronic device and said tag device based on UWB communication data with said tag device comprises:
transmitting a first UWB signal to the tag device through the first UWB antenna;
receiving a second UWB signal transmitted by the tag device;
determining first orientation information between the first UWB antenna and the tag device through the first UWB signal and the second UWB signal, wherein the first orientation information comprises a first relative angle and a first relative distance between the first UWB antenna and the tag device;
transmitting a third UWB signal to said tag device through said second UWB antenna;
receiving a fourth UWB signal transmitted by said tag device;
determining second orientation information between the second UWB antenna and the tag device through the third UWB signal and the fourth UWB signal, the second orientation information including a second relative angle and a second relative distance between the second UWB antenna and the tag device;
determining a relative position between the electronic device and the tag device according to the first orientation information and the second orientation information, the relative position including a relative angle and a relative distance.
3. The method of claim 2, wherein after the determining the relative position between the electronic device and the tag device from the first orientation information and the second orientation information, the method further comprises:
and controlling the first UWB module to enter a sleep state.
4. The method of claim 3, wherein after said controlling said first UWB module to enter a sleep state, said method further comprises:
and when the preset time arrives, waking up the first UWB module, and executing the step of sending a first UWB signal to the tag equipment through the first UWB antenna.
5. The method according to any one of claims 1-4, further comprising:
broadcasting an object searching instruction, wherein the object searching instruction carries identification information of the tag equipment;
and receiving a confirmation message sent by the label equipment corresponding to the identification information, and establishing Bluetooth connection between the electronic equipment and the label equipment.
6. The method of claim 5, wherein after said determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the method further comprises:
and sending a communication disconnection instruction to the tag device, wherein the communication disconnection instruction is used for instructing the tag device to disconnect UWB communication connection and Bluetooth communication connection, and instructing the tag device to enter a Bluetooth low power consumption mode.
7. The method of any of claims 1-4, wherein the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module and the electronic equipment are arranged in a separated mode, and the first UWB module is electrically connected with the electronic equipment through an interface circuit.
8. The method of any of claims 1-4, wherein the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
the first UWB module is disposed within the electronic device.
9. A positioning method applied to a tag device, wherein the tag device comprises a second UWB module, the method comprising:
establishing Bluetooth communication connection with electronic equipment, and receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the target network parameters corresponding to an idle UWB channel determined by the electronic equipment through monitoring the current network parameters;
starting the second UWB module, and starting to configure a UWB communication channel based on the target network parameters;
establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
10. The method of claim 9, wherein after the electronic device determines the relative position between the electronic device and the tag device based on UWB communication data with the tag device, the method further comprises:
and controlling the second UWB module to enter a sleep state.
11. The method of claim 10, wherein after said controlling said second UWB module to enter a sleep state, said method further comprises:
and when the preset time arrives, waking up the second UWB module, and executing the step of establishing UWB communication connection with the electronic equipment.
12. The method according to any one of claims 9-11, further comprising:
receiving a communication disconnection instruction transmitted by the electronic device;
and responding to the communication disconnection instruction, disconnecting the UWB communication connection, controlling the second UWB module to enter a sleep state, disconnecting the Bluetooth communication connection and entering a Bluetooth low-power consumption mode.
13. A positioning device applied to an electronic device, the device comprising: a connection unit, a determination unit and a transmission unit, wherein,
the connection unit is used for establishing Bluetooth communication connection with the tag device;
the determining unit is used for monitoring the current network parameters and determining the target network parameters corresponding to the idle UWB channel;
the transmitting unit is used for transmitting the target network parameters to the tag device through a Bluetooth channel so that the tag device configures a UWB communication channel based on the target network parameters;
the connecting unit is also used for establishing UWB communication connection with the tag equipment;
the determining unit is further configured to determine a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
14. A positioning apparatus, applied to a tag device, wherein the tag device includes a second UWB module, the apparatus comprising: a connection unit and a configuration unit, wherein,
the connection unit is used for establishing Bluetooth communication connection with the electronic equipment, receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the current network parameters monitored by the electronic equipment, and determining the target network parameters corresponding to an idle UWB channel;
the configuration unit is used for starting the second UWB module and starting to configure a UWB communication channel based on the target network parameter;
the connecting unit is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
15. A location system, comprising an electronic device and a tag device;
the electronic equipment and the tag equipment establish Bluetooth communication connection;
the electronic equipment monitors current network parameters through a first UWB module and determines target network parameters corresponding to an idle UWB channel;
the electronic device sends the target network parameters to the tag device through a Bluetooth channel, so that the tag device configures a UWB communication channel based on the target network parameters;
the electronic device establishes a UWB communication connection with the tag device through a first UWB module, and determines a relative position between the electronic device and the tag device based on UWB communication data between the electronic device and the tag device.
16. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a first UWB module;
the processor is electrically connected with the memory and the first UWB module respectively;
the first UWB module is used for monitoring current network parameters and determining target network parameters corresponding to an idle UWB channel; the first UWB module is also used for establishing a UWB communication connection with the tag device;
the memory stores at least one instruction for execution by the processor to perform the steps of:
establishing Bluetooth communication connection with the tag device;
transmitting the target network parameters to the tag device over a Bluetooth channel to cause the tag device to configure a UWB communication channel based on the target network parameters;
determining a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
17. An UWB module characterized in that the UWB module comprises: a UWB antenna and interface circuitry;
the UWB antenna is electrically connected with the interface circuit;
the UWB module is used for connecting with the electronic equipment through the interface circuit, so that the electronic equipment monitors current network parameters through the UWB module, determines target network parameters corresponding to an idle UWB channel, establishes UWB communication connection with the tag equipment through the UWB module, and determines the relative position between the electronic equipment and the tag equipment based on UWB communication data between the tag equipment.
18. The tag device is characterized by comprising a processor, a memory, a Bluetooth module and a second UWB module, wherein the processor is respectively and electrically connected with the memory, the Bluetooth module and the second UWB module;
the Bluetooth module is used for establishing Bluetooth communication connection with the electronic equipment; the processor is configured to enable the second UWB module to enable configuring a UWB communication channel based on the target network parameters;
the memory stores at least one instruction for execution by the processor to perform the steps of:
receiving target network parameters sent by the electronic equipment through a Bluetooth channel, wherein the target network parameters are the target network parameters corresponding to the idle UWB channel determined by the electronic equipment through monitoring the current network parameters;
establishing a UWB communication connection with the electronic device such that the electronic device determines a relative position between the electronic device and the tag device based on UWB communication data with the tag device.
19. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of the claims 1-12.
CN202011283950.1A 2020-11-16 2020-11-16 Positioning method, device, system, electronic equipment and storage medium Active CN114513847B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011283950.1A CN114513847B (en) 2020-11-16 2020-11-16 Positioning method, device, system, electronic equipment and storage medium
PCT/CN2021/116481 WO2022100238A1 (en) 2020-11-16 2021-09-03 Positioning method, apparatus and system, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011283950.1A CN114513847B (en) 2020-11-16 2020-11-16 Positioning method, device, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114513847A true CN114513847A (en) 2022-05-17
CN114513847B CN114513847B (en) 2023-02-28

Family

ID=81546424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011283950.1A Active CN114513847B (en) 2020-11-16 2020-11-16 Positioning method, device, system, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114513847B (en)
WO (1) WO2022100238A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827897B (en) * 2022-06-22 2022-09-30 杭州优智联科技有限公司 UWB-based positioning scheduling method, device, system and medium for multiple base stations and multiple labels
CN116087930B (en) * 2022-08-18 2023-10-20 荣耀终端有限公司 Audio ranging method, device, storage medium, and program product
CN116321268B (en) * 2023-03-06 2023-11-03 乾位智通(深圳)技术有限公司 Detection data recording system, method and device and UWB module detection device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147236A1 (en) * 2005-12-22 2007-06-28 Hyun Lee Method of detecting and avoiding interference among wireless network by dynamically estimating the noise level from the UWB PER and BER, and synchronously switching into unoccupied channel
CN104219735A (en) * 2013-05-31 2014-12-17 中国电信股份有限公司 Wireless sensor network media access control method based on multipacket reception and communication system
CN208724217U (en) * 2018-06-15 2019-04-09 深圳市微能信息科技有限公司 The information transmission system based on UWB positioning
CN110366105A (en) * 2019-08-09 2019-10-22 北京海益同展信息科技有限公司 Ultra wide band location method and device
CN110839206A (en) * 2019-11-26 2020-02-25 北京布科思科技有限公司 Positioning method and device based on dual-mode tag
CN111148215A (en) * 2019-03-27 2020-05-12 广东小天才科技有限公司 Positioning method and system of mobile equipment and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150091702A1 (en) * 2013-09-27 2015-04-02 Qualcomm Incorporated Power efficient and flexible update rate positioning system
CN109282811B (en) * 2018-09-21 2022-05-13 国网江苏省电力有限公司镇江供电分公司 Indoor and outdoor positioning system and method for interconnecting UWB (ultra wide band) and smart phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147236A1 (en) * 2005-12-22 2007-06-28 Hyun Lee Method of detecting and avoiding interference among wireless network by dynamically estimating the noise level from the UWB PER and BER, and synchronously switching into unoccupied channel
CN104219735A (en) * 2013-05-31 2014-12-17 中国电信股份有限公司 Wireless sensor network media access control method based on multipacket reception and communication system
CN208724217U (en) * 2018-06-15 2019-04-09 深圳市微能信息科技有限公司 The information transmission system based on UWB positioning
CN111148215A (en) * 2019-03-27 2020-05-12 广东小天才科技有限公司 Positioning method and system of mobile equipment and related equipment
CN110366105A (en) * 2019-08-09 2019-10-22 北京海益同展信息科技有限公司 Ultra wide band location method and device
CN110839206A (en) * 2019-11-26 2020-02-25 北京布科思科技有限公司 Positioning method and device based on dual-mode tag

Also Published As

Publication number Publication date
WO2022100238A1 (en) 2022-05-19
CN114513847B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN111316333B (en) Information prompting method and electronic equipment
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN114513847B (en) Positioning method, device, system, electronic equipment and storage medium
WO2021052279A1 (en) Foldable screen display method and electronic device
CN112771900B (en) Data transmission method and electronic equipment
CN113691842B (en) Cross-device content projection method and electronic device
CN111182614B (en) Method and device for establishing network connection and electronic equipment
CN111983559A (en) Indoor positioning navigation method and device
CN111835530B (en) Group joining method and device
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
CN112637758B (en) Equipment positioning method and related equipment thereof
CN114844979A (en) Equipment capacity scheduling method and electronic equipment
CN112130788A (en) Content sharing method and device
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
CN111492678B (en) File transmission method and electronic equipment
WO2022048453A1 (en) Unlocking method and electronic device
CN116723257A (en) Image display method and electronic equipment
CN114610419B (en) Method and device for adding widget and computer readable storage medium
WO2022152174A1 (en) Screen projection method and electronic device
CN114500732B (en) Interface display method, electronic equipment and storage medium
CN114338642B (en) File transmission method and electronic equipment
CN114071424A (en) Method, device, system, equipment and storage medium for finding lost connection of mobile terminal
CN115175164B (en) Communication control method and related device
CN117762279A (en) Control method, electronic device, storage medium, and program product
CN114384467A (en) Information sampling method and related device

Legal Events

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