WO2022100238A1 - Positioning method, apparatus and system, and electronic device and storage medium - Google Patents

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

Info

Publication number
WO2022100238A1
WO2022100238A1 PCT/CN2021/116481 CN2021116481W WO2022100238A1 WO 2022100238 A1 WO2022100238 A1 WO 2022100238A1 CN 2021116481 W CN2021116481 W CN 2021116481W WO 2022100238 A1 WO2022100238 A1 WO 2022100238A1
Authority
WO
WIPO (PCT)
Prior art keywords
uwb
electronic device
tag device
module
tag
Prior art date
Application number
PCT/CN2021/116481
Other languages
French (fr)
Chinese (zh)
Inventor
张烨
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022100238A1 publication Critical patent/WO2022100238A1/en

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

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a positioning method, apparatus, system, electronic device, and storage medium.
  • Embodiments of the present application provide a positioning method, apparatus, system, electronic device, and storage medium, which can utilize the centimeter-level positioning accuracy characteristics of ultra wide band (UWB) technology to achieve precise positioning of electronic products.
  • UWB ultra wide band
  • an embodiment of the present application provides a positioning method, which is applied to an electronic device, and the method includes:
  • a UWB communication connection is established with the tag device, and the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device.
  • an embodiment of the present application provides a positioning method, which is applied to a label device, where the label device includes a second UWB module, and the method includes:
  • a UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • an embodiment of the present application provides a positioning system, where the positioning system includes an electronic device and a label device;
  • the electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the 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 the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a processor, a memory, and a first UWB module; the processor is electrically connected to the memory and the first UWB module, respectively;
  • the first UWB module is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel; the first UWB module is also used to establish a UWB communication connection with the tag device;
  • the memory stores at least one instruction for execution by the processor to perform the following steps:
  • the relative position between the electronic device and the tag device is determined based on UWB communication data with the tag device.
  • an embodiment of the present application provides a UWB module, where the UWB module includes: a UWB antenna and an interface circuit;
  • the UWB antenna is electrically connected to the interface circuit
  • the UWB module is used to connect with the electronic device through the interface circuit, so that the electronic device monitors the current network parameters through the UWB module, determines the target network parameters corresponding to the idle UWB channel, and communicates with the UWB module through the UWB module.
  • the tag device establishes a UWB communication connection, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • an embodiment of the present application provides a tag device, 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. connect;
  • the bluetooth module is used to establish a bluetooth communication connection with the electronic device;
  • the processor is used to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
  • the memory stores at least one instruction for execution by the processor to perform the following steps:
  • the target network parameter is the target network parameter corresponding to the idle UWB channel determined by the electronic device by monitoring the current network parameter
  • a UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • an embodiment of the present application provides a positioning device, which is applied to an electronic device.
  • the device includes: a connecting unit, a determining unit, and a sending unit, wherein,
  • connection unit is used to establish a Bluetooth communication connection with the tag device
  • the determining unit is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel;
  • connection unit is further configured to establish a UWB communication connection with the tag device
  • the determining unit is further configured to determine the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • an embodiment of the present application provides a positioning device, which is applied to a label device, where the label device includes a second UWB module, and the device includes: a connection unit and a configuration unit, wherein,
  • the connection unit is used to establish a Bluetooth communication connection with the electronic device, and receive target network parameters sent by the electronic device through a Bluetooth channel, where the target network parameters are the current network parameters monitored by the electronic device, and an idle UWB channel is determined.
  • target network parameters are the current network parameters monitored by the electronic device, and an idle UWB channel is determined.
  • an embodiment of 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 execute the program as described in the present application. Some or all of the steps described in the first aspect of the embodiment.
  • the computer program product may be a software installation package.
  • 3A is a schematic flowchart of a positioning method provided by an embodiment of the present application.
  • FIG. 3B is a schematic diagram illustrating a positioning scenario provided by an embodiment of the present application.
  • 3D is a schematic diagram of an interface demonstration of a positioning scene provided by an embodiment of the present application.
  • FIG. 4B is a schematic flowchart of another positioning method provided by an embodiment of the present application.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an image signal processor (image signal processor, ISP), a controller, Video codec, digital signal processor (DSP), baseband processor, and/or neural network processor NPU, etc. Wherein, different processing units may be independent components, or may be integrated in one or more processors.
  • 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 timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the 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 wireless communication solution including 2G/3G/4G/5G/6G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode, or an active matrix organic light emitting diode (active-matrix organic light).
  • emitting diode, AMOLED flexible light-emitting diode (flex light-emitting diode, FLED), mini light-emitting diode (mini light-emitting diode, miniled), MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), etc.
  • electronic device 100 may include one or more display screens 194 .
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • the electronic device can measure the relative distance between the electronic device and the target vehicle based on the time of flight (TOF) technology and the first UWB module and the second UWB module, and the phase difference of arrival can be used.
  • TOF time of flight
  • PDOA time difference of arrival
  • the technology for positioning and ranging through UWB may also include: two-way ranging (TWR) technology, time difference of arrival (temporary domestic off-site assignment, TDOA) technology, etc., which are not limited here.
  • TWR two-way ranging
  • TDOA time difference of arrival
  • the TWR technology and the TDOA technology may also be used for ranging.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module, where the first UWB module includes a first UWB antenna and a second UWB antenna; the above step 304 is based on the
  • the UWB communication data between the label devices to determine the relative position between the electronic device and the label device may include the following steps:
  • the first UWB module of the electronic device may include a first UWB antenna and a second UWB antenna, and the included angle between the first UWB antenna and the second UWB antenna is greater than 0 degrees and less than 180 degrees, for example, the first UWB antenna and One of the second UWB antennas is a horizontal direction antenna, and the other antenna is a vertical direction antenna.
  • the first UWB module may include two antennas, that is, a first UWB antenna and a second UWB antenna, and the second UWB module of the tag device may include a third UWB antenna, see FIG.
  • the first slope angle of the first UWB antenna relative to the third UWB antenna may be determined according to the UWB signal received by the first UWB antenna and transmitted by the third UWB antenna and the UWB signal received by the second UWB antenna and transmitted by the third UWB antenna (relative angle), specifically, according to the UWB signal received by the first UWB antenna and the UWB signal received by the second UWB antenna, the first distance difference between the UWB signal reaching the first UWB antenna and reaching the second UWB antenna can be determined. The distance difference and the first separation distance between the first UWB antenna and the second UWB antenna determine a first slope angle of the first UWB antenna relative to the third UWB antenna.
  • the first distance difference and the first separation distance between the first UWB antenna and the second UWB antenna determine the first oblique angle of the first UWB antenna relative to the third UWB module, specifically, according to the following formula Determine the distance y from the third UWB antenna to the connection line between the first UWB antenna and the second UWB antenna:
  • d is the first separation distance between the first UWB antenna and the second UWB antenna
  • r is the first distance between the first UWB antenna and the third UWB antenna
  • p is the arrival of the UWB signal
  • the first distance difference (r-p) between the distance of the first UWB antenna and the distance to the second UWB antenna; further, the first slope angle can be determined according to the distance y and r and the first distance difference, wherein, as shown in the figure
  • a right-angled triangle can be constructed according to the distances y and r, where x is a right-angled side of the right-angled triangle, the other right-angled side of the right-angled triangle is y, and the hypotenuse of the right-angled triangle is the first UWB antenna and the third UWB antenna.
  • the first distance r between, the sine of the first chamfer angle ⁇ is y/r.
  • step 47 after determining the relative position between the electronic device and the label device according to the first orientation information and the second orientation information, the following steps may be further included:
  • step 47 it means that the electronic device has realized the positioning of the tag device, and the first UWB module can be controlled to be in a sleep state, so that the power consumption of the electronic device can be reduced.
  • step 48 after controlling the first UWB module to enter the sleep state, the following steps may be further included:
  • the preset time may be set by the user or the system defaults.
  • the electronic device arrives at the preset time, it wakes up the first UWB module, executes step 41, and then realizes the positioning of the tag device again. Since the first UWB module of the electronic device is in a dormant state for a period of time before the preset time, then To a certain extent, the power consumption of electronic devices can be reduced.
  • step 301 the following steps may also be included:
  • A2 Receive a 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.
  • step 304 after determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the following steps may be further included:
  • a communication disconnection instruction is sent to the tag device, the network disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter the Bluetooth low energy consumption mode.
  • the electronic device can send a communication disconnection instruction to the tag device, the electronic device can send a communication disconnection instruction to the tag device, the network disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and disconnect the Bluetooth communication connection, and Instructing the tag device to enter the Bluetooth low energy mode, thereby reducing the power consumption of the tag device as much as possible, and helping to improve the battery life of the tag device.
  • the function of the electronic device to find the tag device can be realized with the assistance of low-power Bluetooth.
  • the Bluetooth module of the tag device can maintain a low-power standby state all the time.
  • the tag device selects the same UWB channel as the electronic device through Bluetooth interaction, and then turns on the UWB module of the tag device for UWB communication.
  • the Bluetooth of the tag device is always turned on and the UWB module can only be turned on during the ranging process, and other processes in the middle can go through a sleep state.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module
  • the first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
  • the first UWB module can be set apart from the electronic device, and it can be electrically connected to the electronic device through an interface circuit, or the electronic device can also be connected to the first UWB module through a magnetic field or a communication method, and the communication method can be as follows At least one of: wireless fidelity (Wi-Fi) communication, infrared communication, ultraviolet communication, Bluetooth communication, mobile network communication (for example, 2G, 3G, 4G, 5G, 6G, etc.), terahertz communication, visible light communication etc., which is not limited here.
  • Wi-Fi wireless fidelity
  • infrared communication for example, UV, 3G, 4G, 5G, 6G, etc.
  • mobile network communication for example, 2G, 3G, 4G, 5G, 6G, etc.
  • terahertz communication for example, 2G, 3G, 4G, 5G, 6G, etc.
  • the first UWB module can be used as a peripheral accessory of the electronic device, and the peripheral accessory can be at least one of the following: a protective cover, a protective shell, a charger, an earphone, a USB data cable, an adapter, a protective film, etc., which are not limited here.
  • the first UWB module can be set in a mobile phone protective cover or a mobile phone protective cover. After the mobile phone is equipped with a mobile phone protective cover or a mobile phone protective cover, the electrical connection between the mobile phone and the first UWB module can be realized.
  • the first UWB module can be arranged on the earphone, and further, it is electrically connected to the mobile phone through the earphone interface; for another example, the first UWB module can be arranged on the charging accessory, and the charging accessory can be an adapter, a data cable or a charging treasure. When the mobile phone is being charged, the first UWB module can be electrically or communicatively connected with the mobile phone.
  • the first UWB module is provided inside the electronic device.
  • the first UWB module may be used as a part of the electronic device, and the first UWB module may be disposed inside the electronic device.
  • the first UWB module may be integrated into the main board, display screen, rear case, etc. of the electronic device, which is not limited here. .
  • the mobile phone can perform a Bluetooth connection with the tag device, and obtain the tag identification (ID) of the tag device, and the mobile phone can open the UWB module to receive mode ( RX) Monitor the current network parameters, and perform network configuration polling based on this method to find an idle (UWB) network.
  • the network parameters corresponding to the idle network are sent to the tag device through Bluetooth communication.
  • the UWB module switches to the receiving state, and receives the network parameter confirmation message sent by the tag device through Bluetooth communication. If the mobile phone does not receive a Bluetooth reply, the network parameters corresponding to the idle network are sent to the tag device through Bluetooth communication again.
  • the Bluetooth module is restarted to perform the Bluetooth connection again.
  • the first preset time period and the first preset number of times can be set by the user or the system defaults.
  • the network parameter confirmation message indicates that the network parameter configuration of the tag device fails
  • the network parameters corresponding to the idle network are re-sent to the tag device through Bluetooth communication.
  • the horizontal direction antenna can be turned on, and the ranging information can be sent to the tag device through UWB communication.
  • the first UWB module receives a reply from the tag device, and when the reception fails (the reply from the tag device is not received), it re-measures the distance. If the reply from the tag device is not received within the second preset time period and the second preset number of times, it can be Reconnect the Bluetooth connection and subsequently configure the UWB network for the tag device and perform ranging again.
  • the first UWB module If the first UWB module successfully receives a reply from the tag device, it calculates the distance between the horizontal antenna and the tag device and the angle in the horizontal direction based on the reply, and then turns on the vertical antenna, and sends the ranging information tag through UWB, and the transmission is completed. After that, the first UWB module is switched to the receiving state, and the label reply is received through the first UWB module. If the label reply is successfully received, the distance and the vertical distance are calculated based on the reply. When the tag device replies), re-measure the distance. If no reply from the tag device is received within the second preset time period and the second preset number of times, the Bluetooth connection can be reconnected, and the UWB network configuration of the tag device can be performed again. ranging. The second preset time period and the second preset number of times can be set by the user or the system defaults.
  • the positioning method described in the embodiment of the present application is applied to electronic equipment, establishes a Bluetooth communication connection with the tag device, monitors the current network parameters, determines the target network parameters corresponding to the idle UWB channel, and locates the target network through the Bluetooth channel.
  • the network parameters are sent to the tag device, 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, and determines the relative relationship between the electronic device and the tag device based on the UWB communication data with the tag device.
  • the network parameters of the idle UWB channel are sent to the tag device through the Bluetooth connection, and the UWB function of the tag device is awakened based on the network parameters to realize UWB communication, and then, based on the UWB function to achieve positioning, on the one hand, it can be realized through UWB.
  • the positioning function with centimeter-level accuracy on the other hand, because the label device does not turn on the UWB function at the beginning, but turns on the UWB function when it needs to be positioned, this positioning method can reduce the power consumption of the label device.
  • FIG. 4A is a schematic flowchart of a positioning method provided by an embodiment of the present application, which is applied to a labeling device, and the labeling device includes a second UWB module; as shown in the figure, the positioning method includes :
  • step 403 after the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the electronic device may further include the following steps:
  • the second UWB module is controlled to enter a sleep state.
  • step 403 it means that the electronic device has realized the positioning of the label device, and the label device can control the second UWB module to be in a sleep state, so that the power consumption of the label device can be reduced.
  • the preset time may be set by the user or the system defaults.
  • the label device arrives at the preset time, it wakes up the second UWB module, executes step 403, and further implements UWB communication connection with the electronic device again, because before the preset time, the second UWB module of the label device is in a dormant state for a period of time , the power consumption of the label device can be reduced to a certain extent.
  • the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
  • the tag device can receive a communication disconnection instruction sent by the electronic device, the tag device disconnects the UWB communication connection and the Bluetooth communication connection, and instructs the tag device to enter the Bluetooth low power consumption mode, thereby reducing the power of the tag device as much as possible. consumption, which helps to improve the battery life of the labeling device.
  • the tag device establishes a UWB communication connection with the electronic device through a second UWB module
  • the second UWB module is provided separately from the label device, and the second UWB module is electrically connected to the label device through an interface circuit.
  • the second UWB module can be set apart from the tag device, and it can be electrically connected to the tag device through an interface circuit, or the tag device can also be connected to the second UWB module through a magnetic field or a communication method, and the communication method can be as follows At least one of: wireless fidelity (Wi-Fi) communication, infrared communication, ultraviolet communication, Bluetooth communication, mobile network communication (for example, 2G, 3G, 4G, 5G, 6G, etc.), terahertz communication, visible light communication etc., which is not limited here.
  • Wi-Fi wireless fidelity
  • infrared communication for example, UV, 3G, 4G, 5G, 6G, etc.
  • mobile network communication for example, 2G, 3G, 4G, 5G, 6G, etc.
  • terahertz communication for example, 2G, 3G, 4G, 5G, 6G, etc.
  • the second UWB module is arranged inside the tag device.
  • the second UWB module can be used as a part of the labeling device, and the second UWB module can be set inside the labeling device.
  • the second UWB module can be integrated into the mainboard, display screen, back shell, etc. of the labeling device, which is not limited here. .
  • the tag device is in low power consumption mode.
  • Bluetooth low power consumption When its Bluetooth low power consumption is awakened, it connects with the electronic device via Bluetooth. After the Bluetooth connection between the tag device and the electronic device is successful, the Bluetooth low energy The network keeps monitoring.
  • the UWB network configuration is realized by receiving the network parameters, and the UWB is initialized with the network parameters. After the initialization is successful, the network parameter confirmation message is sent to the electronic device through Bluetooth. After the configuration is successful, the UWB information of the horizontal positioning sent by the electronic device is received. If the receiving fails, it means that no information has been received.
  • Re-measure the distance that is, re-receive the UWB information of the horizontal positioning sent by the electronic device.
  • the bluetooth interruption information restarts the bluetooth module.
  • send the UWB receipt information After receiving the information successfully, send the UWB receipt information, and then receive the UWB information sent by the electronic device to locate the vertical direction. If the receiving fails, it means that no information has been received. Ranging, that is, re-receive the UWB information sent by the electronic device for vertical positioning.
  • the Bluetooth module is restarted.
  • the UWB receipt information is sent. After the transmission is completed, the UWB module enters Sleep mode, and wake up by real time clock (RTC) to re-implement UWB positioning.
  • RTC real time clock
  • FIG. 5A is a schematic structural diagram of a positioning system provided by an embodiment of the present application.
  • the positioning system includes an electronic device and a labeling device; as shown in the figure, the system is used to execute A positioning method, as follows:
  • the electronic device establishes a Bluetooth communication connection with the tag device.
  • the electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the idle UWB channel.
  • the electronic device sends the target network parameter to the tag device through a Bluetooth channel.
  • the tag device configures a UWB communication channel based on the target network parameter.
  • the electronic device establishes a UWB communication connection with the tag device through the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • the object-seeking APP can be opened on the electronic device, and the tag identification of the object to be found can be clicked, and then the Bluetooth module (blue tooth, BLE) of the electronic device can be turned on , and send a Bluetooth connection request, the Bluetooth module of the tag device is awakened, and then, after the Bluetooth connection is successful, a successful response message ACK is sent to the electronic device, and the tag identification can be displayed on the electronic device.
  • the Bluetooth module blue tooth, BLE
  • the electronic device can open the UWB module, monitor the UWB network, and send the available network parameters of the idle UWB channel to the tag device through Bluetooth communication.
  • the tag device performs UWB initialization based on the network parameters, and sends the network parameters to the electronic device through Bluetooth communication.
  • the UWB module of the tag device In response to the ACK message, if the UWB module of the tag device is successfully configured, it will enter the positioning mode, otherwise, continue to send network parameters to the tag device through Bluetooth communication.
  • the electronic device interacts with the label device to determine the location of the label device. After the positioning is successful, the electronic device and the UWB module of the label device 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 the low-power Bluetooth mode.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device includes a processor, a memory, a communication interface, and a first Bluetooth module. , the first UWB module, and one or more programs, wherein the one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned processor.
  • the above-mentioned program includes for executing the following steps command:
  • a UWB communication connection is established with the tag device, and the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device.
  • the electronic device described in the embodiment of the present application establishes a Bluetooth communication connection with the tag device, monitors the current network parameters, determines the target network parameters corresponding to the idle UWB channel, and sends the target network parameters to the device through the Bluetooth channel.
  • the label device is described, so that the label device configures the UWB communication channel based on the target network parameters, establishes a UWB communication connection with the label device, and determines the relative position between the electronic device and the label device based on the UWB communication data with the label device.
  • the connection method sends the network parameters of the idle UWB channel to the tag device, and wakes up the UWB function of the tag device based on the network parameters to realize UWB communication, and then realizes positioning based on the UWB function.
  • this positioning method can reduce the power consumption of the label device.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module, where the first UWB module includes a first UWB antenna and a second UWB antenna;
  • the above program includes instructions for performing the following steps:
  • the first orientation information between the first UWB antenna and the tag device is determined by the first UWB signal and the second UWB signal, where the first orientation information includes the first UWB antenna and the tag device. a first relative angle and a first relative distance between the labeling devices;
  • the second orientation information between the second UWB antenna and the tag device is determined by the third UWB signal and the fourth UWB signal, where the second orientation information includes the second UWB antenna and the tag device. a second relative angle and a second relative distance between the labeling devices;
  • the relative position between the electronic device and the label device is determined according to the first orientation information and the second orientation information, and the relative position includes a relative angle and a relative distance.
  • the above program further includes performing the following steps command:
  • the first UWB module is controlled to enter a sleep state.
  • the above program further includes an instruction for executing the following steps:
  • the above program further includes instructions for performing the following steps:
  • the object-finding instruction carries the identification information of the labeling device
  • a confirmation message sent by the tag device corresponding to the identification information is received, and a Bluetooth connection between the electronic device and the tag device is established.
  • the above program further includes instructions for executing the following steps :
  • a communication disconnection instruction is sent to the tag device, where the communication disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter a Bluetooth low energy consumption mode.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module
  • the first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module
  • the first UWB module is arranged inside the electronic device.
  • the first UWB module is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel; the first UWB module is also used to establish a UWB communication connection with the tag device;
  • the memory stores at least one instruction for execution by the processor to perform the following steps:
  • the relative position between the electronic device and the tag device is determined based on UWB communication data with the tag device.
  • the electronic device includes corresponding hardware structures and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the electronic device may be divided into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
  • FIG. 7 is a schematic structural diagram of a UWB module provided by an embodiment of the present application. As shown in the figure, the UWB antenna is electrically connected to the interface circuit;
  • the UWB module is used to connect with the electronic device through the interface circuit, so that the electronic device monitors the current network parameters through the UWB module, determines the target network parameters corresponding to the idle UWB channel, and communicates with the UWB module through the UWB module.
  • the tag device establishes a UWB communication connection, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • the UWB antenna may also include a first UWB antenna and a second UWB antenna, and a certain angle exists between the two antennas.
  • the UWB module described in the embodiments of this application monitors the current network parameters and determines the target network parameters corresponding to the idle UWB channels, so that the tag device configures the UWB communication channel based on the target network parameters, and establishes a UWB communication channel with the tag device.
  • the communication connection based on the UWB communication data with the tag device, determines the relative position between the electronic device and the tag device, and then realizes the positioning based on the UWB function. , because the label device does not turn on the UWB function from the beginning, but only turns on the UWB function when it needs to be positioned, this positioning method can reduce the power consumption of the label device.
  • FIG. 8 is a schematic structural diagram of a label device provided by an embodiment of the present application.
  • the label device includes a processor, a memory, a communication interface, and a second Bluetooth module. , a second UWB module, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor.
  • the program includes the steps for executing the following steps command:
  • a UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • the above program further includes performing the following steps command:
  • the second UWB module is controlled to enter a sleep state.
  • the above program further includes an instruction for executing the following steps:
  • the above program further includes instructions for performing the following steps:
  • the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
  • the processor is electrically connected to the memory, the second Bluetooth module, and the second UWB module, respectively; the following functions can also be implemented:
  • the bluetooth module is used to establish a bluetooth communication connection with the electronic device;
  • the processor is used to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
  • the memory stores at least one instruction for execution by the processor to perform the following steps:
  • the target network parameter is the target network parameter corresponding to the idle UWB channel determined by the electronic device by monitoring the current network parameter
  • a UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • FIG. 9 is a block diagram of functional units of the positioning apparatus 900 involved in the embodiment of the present application.
  • the positioning apparatus 900 is applied to electronic equipment, and the apparatus 900 includes: a connecting unit 901, a determining unit 902 and a sending unit 903, wherein,
  • connection unit 901 is used to establish a Bluetooth communication connection with the tag device
  • the determining unit 902 is configured to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel;
  • the sending unit 903 is configured to send 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;
  • 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 the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module, where the first UWB module includes a first UWB antenna and a second UWB antenna;
  • the determining unit 902 is specifically configured to:
  • the first orientation information between the first UWB antenna and the tag device is determined by the first UWB signal and the second UWB signal, where the first orientation information includes the first UWB antenna and the tag device. a first relative angle and a first relative distance between the labeling devices;
  • the second orientation information between the second UWB antenna and the tag device is determined by the third UWB signal and the fourth UWB signal, where the second orientation information includes the second UWB antenna and the tag device. a second relative angle and a second relative distance between the labeling devices;
  • the relative position between the electronic device and the label device is determined according to the first orientation information and the second orientation information, and the relative position includes a relative angle and a relative distance.
  • the apparatus 900 is further specifically configured to:
  • the first UWB module is controlled to enter a sleep state.
  • the apparatus 900 is further specifically configured to:
  • the apparatus 900 is further specifically used for:
  • the object-finding instruction carries the identification information of the labeling device
  • a confirmation message sent by the tag device corresponding to the identification information is received, and a Bluetooth connection between the electronic device and the tag device is established.
  • the apparatus 900 is further specifically configured to:
  • a communication disconnection instruction is sent to the tag device, where the communication disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter a Bluetooth low energy consumption mode.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module
  • the first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
  • the electronic device establishes a UWB communication connection with the tag device through a first UWB module
  • the first UWB module is arranged inside the electronic device.
  • each “unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware Program processors (shared, dedicated, or chipset) and memory, combinational logic circuits, and/or other suitable components that provide the functions described above.
  • the connecting unit 901 may be a Bluetooth module or a UWB module
  • the sending unit 903 may be a Bluetooth module
  • the determining unit 902 may be one or more of a control circuit, a processor or a communication circuit. Based on the above unit modules, any one of the above can be realized. The function or step of the method.
  • FIG. 10 is a block diagram of functional units of the positioning apparatus 1000 involved in the embodiment of the present application.
  • the positioning apparatus 1000 is applied to a label device, the label device includes a second UWB module, and the device 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, receive target network parameters sent by the electronic device through a Bluetooth channel, and the target network parameters are the current network parameters monitored by the electronic device to determine an idle UWB The target network parameters corresponding to the channel;
  • the configuration unit 1002 is configured to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
  • connection unit 1001 is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines the connection between the electronic device and the tag device based on the UWB communication data with the tag device. relative position.
  • the apparatus 1000 is further specifically configured to:
  • the second UWB module is controlled to enter a sleep state.
  • the apparatus 1000 is further specifically configured to:
  • the 1000 is also specifically used for:
  • the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
  • each “unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware Program processors (shared, dedicated, or chipset) and memory, combinational logic circuits, and/or other suitable components that provide the functions described above.
  • connection unit 1001 may be a Bluetooth module or a UWB module
  • configuration unit 1002 may be one or more of a control circuit, a processor, or a UWB module. Based on the above unit modules, the functions or steps of any of the above methods can be implemented.
  • the embodiment of the present application also provides a positioning system, the positioning system includes an electronic device and a label device; it can be used for the following functions:
  • the electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the 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 the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  • the specific description of the electronic device may refer to the corresponding description of the electronic device shown in FIG. 6 , or the related description of the electronic device of the UWB module shown in FIG. 7 , and the specific description of the label device may refer to the label device shown in FIG. 7 . corresponding description.
  • This 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, so as to realize any of the methods described above.
  • This embodiment also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to implement any of the methods in the above-mentioned embodiments.
  • the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes any one of the foregoing method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • 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.
  • a readable storage medium including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a positioning method, apparatus and system, and an electronic device and a storage medium. The method is applied to an electronic device and comprises: establishing a Bluetooth communication connection with a label device; monitoring the current network parameter, and determining a target network parameter corresponding to an idle UWB channel; sending the target network parameter to the label device by means of a Bluetooth channel, such that the label device configures a UWB communication channel on the basis of the target network parameter; and establishing a UWB communication connection with the label device, and determining the relative position between an electronic device and the label device on the basis of UWB communication data between the electronic device and the label device. By means of the embodiments of the present application, a positioning function having centimeter-level precision can be realized by means of a UWB.

Description

定位方法、装置、***、电子设备及存储介质Positioning method, device, system, electronic device and storage medium 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种定位方法、装置、***、电子设备及存储介质。The present application relates to the field of communication technologies, and in particular, to a positioning method, apparatus, system, electronic device, and storage medium.
背景技术Background technique
随着电子产品(如手机、平板电脑等等)的大量普及应用,电子产品能够支持的应用越来越多,功能越来越强大,电子产品向着多样化、个性化的方向发展,电子产品对用户的重要性可想而知,显然电子产品已成为用户生活中不可缺少的电子用品。但是,生活中,往往会遇到用户将电子产品放在一个地方,由于一时无法想起电子产品放置的位置,用户将会为找不到电子产品而烦恼,因此,如何对电子产品进行精准定位的问题亟待解决。With the widespread application of electronic products (such as mobile phones, tablet computers, etc.), electronic products can support more and more applications, and their functions are becoming more and more powerful. Electronic products are developing in the direction of diversification and personalization. The importance of users can be imagined. Obviously, electronic products have become indispensable electronic products in users' lives. However, in life, it is often encountered that users put electronic products in one place. Because they cannot remember where the electronic products are placed, users will be troubled that they cannot find electronic products. Therefore, how to accurately locate electronic products? The problem needs to be solved urgently.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种定位方法、装置、***、电子设备及存储介质,能够利用超宽带(ultra wide band,UWB)技术厘米级别的定位精度特性,实现对电子产品进行精准定位。Embodiments of the present application provide a positioning method, apparatus, system, electronic device, and storage medium, which can utilize the centimeter-level positioning accuracy characteristics of ultra wide band (UWB) technology to achieve precise positioning of electronic products.
第一方面,本申请实施例提供一种定位方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a positioning method, which is applied to an electronic device, and the method includes:
与标签设备建立蓝牙通信连接;Establish a Bluetooth communication connection with the tag device;
监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;Monitor the current network parameters, and determine the target network parameters corresponding to the idle UWB channel;
通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;sending 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;
与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the tag device, and the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device.
第二方面,本申请实施例提供一种定位方法,应用于标签设备,所述标签设备包括第二UWB模块,所述方法包括:In a second aspect, an embodiment of the present application provides a positioning method, which is applied to a label device, where the label device includes a second UWB module, and the method includes:
与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;Establishing a Bluetooth communication connection with the electronic device, and receiving target network parameters sent by the electronic device through a Bluetooth channel, where the target network parameters are the current network parameters monitored by the electronic device, and the target network parameters corresponding to the idle UWB channel are determined;
启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;starting the second UWB module, and starting and configuring the UWB communication channel based on the target network parameters;
与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the 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 label device;
所述电子设备与所述标签设备建立蓝牙通信连接;establishing a Bluetooth communication connection between the electronic device and the tag device;
所述电子设备通过第一UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the idle UWB channel;
所述电子设备通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;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;
所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The electronic device establishes a UWB communication connection with the tag device through the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
第四方面,本申请实施例提供一种电子设备,所述电子设备包括:处理器、存储器和第一UWB模块;所述处理器分别与所述存储器和所述第一UWB模块电性相连;In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a processor, a memory, and a first UWB module; the processor is electrically connected to the memory and the first UWB module, respectively;
所述第一UWB模块,用于监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;所述第一UWB模块还用于与所述标签设备建立UWB通信连接;The first UWB module is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel; the first UWB module is also used to establish a UWB communication connection with the tag device;
所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:The memory stores at least one instruction for execution by the processor to perform the following steps:
与标签设备建立蓝牙通信连接;Establish a Bluetooth communication connection with the tag device;
通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;sending 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;
基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The relative position between the electronic device and the tag device is determined based on UWB communication data with the tag device.
第五方面,本申请实施例提供一种UWB模块,所述UWB模块包括:UWB天线和接口电路;In a fifth aspect, an embodiment of the present application provides a UWB module, where the UWB module includes: a UWB antenna and an interface circuit;
所述UWB天线和所述接口电路电性相连;the UWB antenna is electrically connected to the interface circuit;
所述UWB模块用于通过所述接口电路与电子设备相连,以使得所述电子设备通过所述UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数,并通过所述UWB模块与标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The UWB module is used to connect with the electronic device through the interface circuit, so that the electronic device monitors the current network parameters through the UWB module, determines the target network parameters corresponding to the idle UWB channel, and communicates with the UWB module through the UWB module. The tag device establishes a UWB communication connection, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
第六方面,本申请实施例提供一种标签设备,所述标签设备包括处理器、存储器、蓝牙模块以及第二UWB模块,所述处理器分别与所述存储器、蓝牙模块、第二UWB模块电连接;In a sixth aspect, an embodiment of the present application provides a tag device, 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. connect;
所述蓝牙模块用于与电子设备建立蓝牙通信连接;所述处理器用于启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;The bluetooth module is used to establish a bluetooth communication connection with the electronic device; the processor is used to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:The memory stores at least one instruction for execution by the processor to perform the following steps:
接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备通过监听当前网络参数、确定出的空闲UWB信道对应的目标网络参数;Receive the target network parameter sent by the electronic device through the Bluetooth channel, where the target network parameter is the target network parameter corresponding to the idle UWB channel determined by the electronic device by monitoring the current network parameter;
与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
第七方面,本申请实施例提供一种定位装置,应用于电子设备,所述装置包括:连接单元、确定单元和发送单元,其中,In a seventh aspect, an embodiment of the present application provides a positioning device, which is applied to an electronic device. The device includes: a connecting unit, a determining unit, and a sending unit, wherein,
所述连接单元,用于与标签设备建立蓝牙通信连接;The connection unit is used to establish a Bluetooth communication connection with the tag device;
所述确定单元,用于监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The determining unit is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel;
所述发送单元,用于通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;the sending unit, configured to send 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;
所述连接单元,还用于与所述标签设备建立UWB通信连接;The connection unit is further configured to establish a UWB communication connection with the tag device;
所述确定单元,还用于基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The determining unit is further configured to determine the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
第八方面,本申请实施例提供一种定位装置,应用于标签设备,所述标签设备包括第二UWB模块,所述装置包括:连接单元和配置单元,其中,In an eighth aspect, an embodiment of the present application provides a positioning device, which is applied to a label device, where the label device includes a second UWB module, and the device includes: a connection unit and a configuration unit, wherein,
所述连接单元,用于与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The connection unit is used to establish a Bluetooth communication connection with the electronic device, and receive target network parameters sent by the electronic device through a Bluetooth channel, where the target network parameters are the current network parameters monitored by the electronic device, and an idle UWB channel is determined. Corresponding target network parameters;
所述配置单元,用于启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;the configuration unit, configured to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
所述连接单元,还用于与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The connection unit is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines the relative relationship between the electronic device and the tag device based on the UWB communication data with the tag device Location.
第九方面,本申请实施例提供一种电子设备,所述电子设备包括处理器、存储器以及蓝牙模块,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求第一方面任一项所述的方法中的步骤的指令。In a ninth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a Bluetooth module, the memory is used to store one or more programs, and is configured to be executed by the processor, the The program includes instructions for carrying out the steps in the method of any of the claims in the first aspect.
第十方面,本申请实施例提供一种标签设备,所述标签设备包括处理器、存储器、UWB模块以及蓝牙模块,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求第二方面任一项所述的方法中的步骤的指令。In a tenth aspect, an embodiment of the present application provides a tag device, the tag device includes a processor, a memory, a UWB module, and a Bluetooth module, the memory is used to store one or more programs, and is configured by the processor Executing, the program includes instructions for performing the steps in the method of any of the second aspect of the claim.
第十一方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In an eleventh aspect, an embodiment of the present application 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 program as described in the embodiments of the present application. some or all of the steps described in the first aspect.
第十二方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第二方面中所 描述的部分或全部步骤。In a twelfth aspect, an embodiment of the present application 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 program as described in the embodiments of the present application. some or all of the steps described in the second aspect.
第十三方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a thirteenth aspect, an embodiment of 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 execute the program as described in the present application. Some or all of the steps described in the first aspect of the embodiment. The computer program product may be a software installation package.
第十四方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第二方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fourteenth aspect, an embodiment of 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 execute the program as described in the present application. Some or all of the steps described in the second aspect of the embodiment. The computer program product may be a software installation package.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的一种电子设备的软件结构示意图;2 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application;
图3A是本申请实施例提供的一种定位方法的流程示意图;3A is a schematic flowchart of a positioning method provided by an embodiment of the present application;
图3B是本申请实施例提供的一种定位场景的演示示意图;FIG. 3B is a schematic diagram illustrating a positioning scenario provided by an embodiment of the present application;
图3C是本申请实施例提供的一种基于PDOA实现定位的演示示意图;FIG. 3C is a schematic diagram of a demonstration of positioning based on PDOA provided by an embodiment of the present application;
图3D是本申请实施例提供的一种定位场景的界面演示示意图;3D is a schematic diagram of an interface demonstration of a positioning scene provided by an embodiment of the present application;
图3E是本申请实施例提供的另一种实现定位的流程示意图;FIG. 3E is a schematic flowchart of another implementation of positioning provided by an embodiment of the present application;
图4A是本申请实施例提供的另一种定位方法的流程示意图;4A is a schematic flowchart of another positioning method provided by an embodiment of the present application;
图4B是本申请实施例提供的另一种定位方法的流程示意图;4B is a schematic flowchart of another positioning method provided by an embodiment of the present application;
图5A是本申请实施例提供的另一种定位方法的流程示意图;5A is a schematic flowchart of another positioning method provided by an embodiment of the present application;
图5B是本申请实施例提供的另一种定位方法的流程示意图;5B is a schematic flowchart of another positioning method provided by an embodiment of the present application;
图6是本申请实施例提供的一种电子设备的结构示意图;6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图7是本申请实施例提供的一种UWB模块的结构示意图;7 is a schematic structural diagram of a UWB module provided by an embodiment of the present application;
图8是本申请实施例提供的一种标签设备的结构示意图;8 is a schematic structural diagram of a labeling device provided by an embodiment of the present application;
图9是本申请实施例提供的一种定位装置的功能单元组成框图;9 is a block diagram of functional units of a positioning device provided by an embodiment of the present application;
图10是本申请实施例提供的另一种定位装置的功能单元组成框图。FIG. 10 is a block diagram of functional units of another positioning apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。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 solutions of the embodiments of the present application, related terms and concepts that may be involved in the embodiments of the present application are first introduced below.
电子设备可以包括各种超宽带(ultra wide band,UWB)模块以及蓝牙模块的设备,例如,智能手机、车载设备(导航仪、行车记录仪、雷达测距仪、ETC支付装载等等)、可穿戴设备、智能手表、基站设备、标签设备、对讲机、智能眼镜、无线蓝牙耳机、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),虚拟现实/增强现实设备,终端设备(terminal device)等等,电子设备也可以作为标签设备。Electronic devices may include various ultra wide band (UWB) modules and devices with Bluetooth modules, such as smartphones, in-vehicle devices (navigators, driving recorders, radar rangefinders, ETC payment mounts, etc.), Wearable devices, smart watches, base station devices, tag devices, walkie-talkies, smart glasses, wireless Bluetooth headsets, computing devices or other processing devices connected to wireless modems, and various forms of user equipment (UE), mobile stations ( Mobile Station, MS), virtual reality/augmented reality devices, terminal devices, etc., electronic devices can also be used as label devices.
第一部分,本申请所公开的技术方案的软硬件运行环境介绍如下。In the first part, the software and hardware operating environment of the technical solution disclosed in this application is introduced as follows.
如图所示,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、指南针190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口 195等。As shown in the figure, 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 charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194 and user Identity module (subscriber identification module, SIM) card interface 195 and so on.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器AP,调制解调处理器,图形处理器GPU,图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器NPU等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的效率。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an image signal processor (image signal processor, ISP), a controller, Video codec, digital signal processor (DSP), baseband processor, and/or neural network processor NPU, etc. Wherein, different processing units may be independent 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 timing signal, and complete the control of fetching and executing instructions. In some other embodiments, a memory may also be provided in the processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from memory. In this way, repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the electronic device 101 in processing data or executing instructions.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口、集成电路间音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、用输入输出(general-purpose input/output,GPIO)接口、SIM卡接口和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与***设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal) asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interface, SIM card interface and/or USB interface, etc. Among them, the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 can also be used to connect an earphone, and play audio through the earphone.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the 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 the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting 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 charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。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, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G/6G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理 器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G/6G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(blue tooth,BT),全球导航卫星***(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)、UWB模块等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR), UWB modules and other wireless communication solutions. 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷你发光二极管(mini light-emitting diode,miniled)、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。The display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode, or an active matrix organic light emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), mini light-emitting diode (mini light-emitting diode, miniled), MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), etc. In some embodiments, electronic device 100 may include one or more display screens 194 .
电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或多个摄像头193。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include one or more cameras 193 .
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3、MPEG4等。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 can play or record videos in various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别、人脸识别、语音识别、文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请一些实施例中所提供的显示页面元素的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***;该存储程序区还可以存储一个或多个应用(比如图库、 联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的显示页面元素的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。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, thereby causing the electronic device 101 to execute the method for displaying page elements, various applications and data processing provided in some embodiments of the present application. The internal memory 121 may include a storage program area and a storage data area. Wherein, the stored program area may store an operating system; the stored program area may also store one or more applications (eg, gallery, contacts, etc.). The storage data area may store data (such as photos, contacts, etc.) created during the use of the electronic device 101 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include 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 instructions provided in the embodiments of the present application by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor 110 . Methods for displaying page elements, as well as other applications and data processing. The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。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, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即X、Y和Z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 . In some embodiments, the angular velocity of the electronic device 100 about three axes (ie, the X, Y, and Z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "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, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
示例性的,图2示出了电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上 至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。应用程序层可以包括一系列应用程序包。Exemplarily, FIG. 2 shows a software structural block diagram of the electronic device 100 . The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and system libraries, and a kernel layer. The application layer can include a series of application packages.
如图2所示,应用程序层可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application layer can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short messages.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist 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.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
第二部分,本申请实施例所公开的定位方法及装置介绍如下。In the second part, the positioning method and device disclosed in the embodiments of the present application are introduced as follows.
本申请提供了请参阅图3A,图3A是本申请实施例提供的一种定位方法的流程示意图,应用于电子设备,如图所示,本定位方法包括:The present application provides please refer to FIG. 3A. FIG. 3A is a schematic flowchart of a positioning method provided by an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the positioning method includes:
301、与标签设备建立蓝牙通信连接。301. Establish a Bluetooth communication connection with the tag device.
其中,标签设备可以设置于各种公共场所或者用户家里或者公司,公共场所可以为以下至少一种:图书馆、商场、银行、政府机构、超市、步行街、学校、博物馆、酒店、医院、机场、火车站、机场、公交站台、收费站、车库、旅游景区、马路两旁(路灯、路面、广告牌等等)。本申请实施例不仅能够应用于失物寻找,还可以应用于商品定位、景点定位,或者,其他定位用途。Among them, the label device can be set in various public places or users' homes or companies, and the public places can be at least one of the following: libraries, shopping malls, banks, government agencies, supermarkets, pedestrian streets, schools, museums, hotels, hospitals, airports, Railway stations, airports, bus stops, toll stations, garages, tourist attractions, both sides of the road (street lights, pavement, billboards, etc.). The embodiments of the present application can not only be applied to finding lost objects, but also can be applied to commodity positioning, scenic spot positioning, or other positioning purposes.
本申请实施例中,如图3B所示,电子设备可以包括第一蓝牙模块以及第一UWB模块,标签设备可以包括第二蓝牙模块以及第二UWB模块,则电子设备可以通过第一蓝牙模块以及标签设备的第二蓝牙模块建立蓝牙通信连接,或者,电子设备可以通过第一UWB模块以及标签设备的第二UWB模块建立UWB通信连接。In this embodiment of the present application, 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, and the electronic device may pass the first Bluetooth module and the second UWB module. The second Bluetooth module of the tag device establishes a Bluetooth communication connection, or the electronic device may establish a UWB communication connection through the first UWB module and the second UWB module of the tag device.
302、监听当前网络参数,确定出空闲UWB信道对应的目标网络参数。302. Monitor current network parameters, and determine target network parameters corresponding to the idle UWB channel.
其中,本申请实施例中,当前网络参数可以为以下至少一种:信道、前导码长度、随机码编号、网络速率、睡眠时间等等,在此不作限定。目标网络参数可以为以下至少一种:UWB信道、UWB前导码长度、UWB随机码编号、UWB网络速率、UWB睡眠时间等等,在此不作限定。具体实现中,电子设备可以包括第一UWB模块,通过第一UWB模块可以监听当前网络参数,并从当前网络参数中确定出空闲UWB信道对应的目标网络参数。Wherein, 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., which are not limited herein. The target network parameter may be at least one of the following: UWB channel, UWB preamble length, UWB random code number, UWB network rate, UWB sleep time, etc., which are not limited herein. In a specific implementation, the electronic device may include a first UWB module, through which current network parameters may be monitored, and target network parameters corresponding to idle UWB channels may be determined from the current network parameters.
303、通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道。303. Send 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.
其中,本申请实施例中,电子设备可以通过蓝牙信道,将目标网络参数发送给标签设备,以使得标签设备能够基于目标网络参数配置UWB通信信道,具体地,标签设备可以基于目标网络参数进行UWB模块初始化,且在标签设备的UWB模块初始化成功后,通过蓝牙发送ACK消息告知电子设备,该ACK消息用于告知电子设备,该标签设备的UWB模块配置已经成功。Among them, in the embodiment of the present application, the electronic device can send the target network parameters to the tag device through the Bluetooth channel, so that the tag device can configure the UWB communication channel based on the target network parameters. Specifically, the tag device can perform UWB communication based on the target network parameters. The module is initialized, and after the UWB module of the tag device is successfully initialized, an ACK message is sent to the electronic device through Bluetooth, and the ACK message is used to inform the electronic device that the UWB module of the tag device has been successfully configured.
304、与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。304. Establish a UWB communication connection with the tag device, and determine a relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
其中,电子设备可以与标签设备建立UWB通信连接,由于UWB通信不仅可以实现测距,还可以实现定位,进而,电子设备可以基于与标签设备之间的UWB通信数据确定电子设备与标签设备之间的相对位置,由于UWB可以提供厘米级精度的定位功能,进而,可以实现对标签设备精准定位。Among them, the electronic device can establish a UWB communication connection with the tag device. Since UWB communication can not only realize ranging, but also realize positioning, and further, the electronic device can determine the relationship between the electronic device and the tag device based on the UWB communication data with the tag device. Because UWB can provide centimeter-level precision positioning function, and further, can achieve precise positioning of label equipment.
具体实现中,电子设备可以基于飞行时间(time of flight,TOF)技术以及第一UWB模块、第二UWB模块测量电子设备与目标车辆之间的相对距离,可以采用到达相位差(phase difference of arrival,PDOA)技术,以及基于第一UWB模块、第二UWB模块确定电子设备与标签设备之间的相对角度,电子设备与标签设备之间的相对角度和相对距离则可以构成方位信息。当然,通过UWB进行定位、测距的技术还可包括:双向测距(two-way Ranging,TWR)技术,到达时间差(temporary domestic off-site assignment,TDOA)技术等,此处不作限制。本申请实施例中,也可以采用该TWR技术、TDOA技术进行测距。In specific implementation, the electronic device can measure the relative distance between the electronic device and the target vehicle based on the time of flight (TOF) technology and the first UWB module and the second UWB module, and the phase difference of arrival can be used. , PDOA) technology, and based on the first UWB module and the second UWB module to determine the relative angle between the electronic device and the tag device, the relative angle and relative distance between the electronic device and the tag device can constitute orientation information. Of course, the technology for positioning and ranging through UWB may also include: two-way ranging (TWR) technology, time difference of arrival (temporary domestic off-site assignment, TDOA) technology, etc., which are not limited here. In this embodiment of the present application, the TWR technology and the TDOA technology may also be used for ranging.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,所述第一UWB模块包括第一UWB天线和第二UWB天线;上述步骤304,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置,可以包括如下步骤:In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module, where the first UWB module includes a first UWB antenna and a second UWB antenna; the above step 304 is based on the The UWB communication data between the label devices to determine the relative position between the electronic device and the label device may include the following steps:
41、通过所述第一UWB天线向所述标签设备发送第一UWB信号;41. Send a first UWB signal to the tag device through the first UWB antenna;
42、接收由所述标签设备发送的第二UWB信号;42. Receive the second UWB signal sent by the tag device;
43、通过所述第一UWB信号、所述第二UWB信号确定所述第一UWB天线与所述标签设备之间的第一方位信息,所述第一方位信息包括所述第一UWB天线与所述标签设备之间的第一相对角度和第一相对距离;43. Determine first orientation information between the first UWB antenna and the tag device by using the first UWB signal and the second UWB signal, where the first orientation information includes the first UWB antenna and the tag device. a first relative angle and a first relative distance between the labeling devices;
44、通过所述第二UWB天线向所述标签设备发送第三UWB信号;44. Send a third UWB signal to the tag device through the second UWB antenna;
45、接收由所述标签设备发送的第四UWB信号;45. Receive a fourth UWB signal sent by the tag device;
46、通过所述第三UWB信号、所述第四UWB信号确定所述第二UWB天线与所述标签设备之间的第二方位信息,所述第二方位信息包括所述第二UWB天线与所述标签设备之间的第二相对角度和第二相对距离;46. Determine second orientation information between the second UWB antenna and the tag device by using the third UWB signal and the fourth UWB signal, where the second orientation information includes the second UWB antenna and the tag device. a second relative angle and a second relative distance between the labeling devices;
47、根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置,所述相对位置包括相对角度和相对距离。47. Determine a relative position between the electronic device and the tag device according to the first orientation information and the second orientation information, where the relative position includes a relative angle and a relative distance.
其中,电子设备的第一UWB模块可以包括第一UWB天线和第二UWB天线,第一UWB天线与 第二UWB天线之间的夹角为大于0度小于180度,例如,第一UWB天线与第二UWB天线中的一根天线为水平方向天线,另一根天线为竖直方向天线。The first UWB module of the electronic device may include a first UWB antenna and a second UWB antenna, and the included angle between the first UWB antenna and the second UWB antenna is greater than 0 degrees and less than 180 degrees, for example, the first UWB antenna and One of the second UWB antennas is a horizontal direction antenna, and the other antenna is a vertical direction antenna.
具体实现中,电子设备可以通过第一UWB天线向标签设备发送第一UWB信号,进而,接收由标签设备发送的第二UWB信号,电子设备可以采用PDOA技术,且通过第一UWB信号、第二UWB信号确定第一UWB天线与标签设备之间的第一方位信息,该第一方位信息包括第一UWB天线与标签设备之间的第一相对角度和第一相对距离;另外,还可以通过第二UWB天线向标签设备发送第三UWB信号,并接收由标签设备发送的第四UWB信号,采用PDOA技术,并通过第三UWB信号、第四UWB信号确定第二UWB天线与标签设备之间的第二方位信息,第二方位信息包括第二UWB天线与标签设备之间的第二相对角度和第二相对距离,最后,可以根据第一方位信息和第二方位信息确定电子设备与标签设备之间的相对位置,该相对位置包括相对角度和相对距离,通过相对角度以及相对距离实现对标签设备精准定位。In the specific implementation, the electronic device can send the first UWB signal to the tag device through the first UWB antenna, and then receive the second UWB signal sent by the tag device. The UWB signal determines the first orientation information between the first UWB antenna and the tag device, where the first orientation information includes the first relative angle and the first relative distance between the first UWB antenna and the tag device; The second UWB antenna sends the third UWB signal to the tag device, and receives the fourth UWB signal sent by the tag device, adopts PDOA technology, and determines the distance between the second UWB antenna and the tag device through the third UWB signal and the fourth UWB signal The second orientation information, the second orientation information includes the second relative angle and the second relative distance between the second UWB antenna and the tag device, and finally, the relationship between the electronic device and the tag device can be determined according to the first orientation information and the second orientation information. The relative position between the two, the relative position includes the relative angle and the relative distance, and the precise positioning of the label device is realized through the relative angle and the relative distance.
举例说明下,本申请实施例中,第一UWB模块可以包括2根天线,即第一UWB天线和第二UWB天线,标签设备的第二UWB模块可以包括第三UWB天线,请参阅图3C,可以根据第一UWB天线接收的由第三UWB天线发射的UWB信号以及第二UWB天线接收的由第三UWB天线发射的UWB信号确定第一UWB天线相对于第三UWB天线的第一切斜角(相对角度),具体地,可根据第一UWB天线接收的UWB信号与第二UWB天线接收的UWB信号确定UWB信号到达第一UWB天线与到达第二UWB天线的第一距离差,根据第一距离差和第一UWB天线与第二UWB天线之间的第一间隔距离确定第一UWB天线相对于第三UWB天线的第一切斜角。By way of example, in this embodiment of the present application, the first UWB module may include two antennas, that is, a first UWB antenna and a second UWB antenna, and the second UWB module of the tag device may include a third UWB antenna, see FIG. 3C , The first slope angle of the first UWB antenna relative to the third UWB antenna may be determined according to the UWB signal received by the first UWB antenna and transmitted by the third UWB antenna and the UWB signal received by the second UWB antenna and transmitted by the third UWB antenna (relative angle), specifically, according to the UWB signal received by the first UWB antenna and the UWB signal received by the second UWB antenna, the first distance difference between the UWB signal reaching the first UWB antenna and reaching the second UWB antenna can be determined. The distance difference and the first separation distance between the first UWB antenna and the second UWB antenna determine a first slope angle of the first UWB antenna relative to the third UWB antenna.
其中,根据第一距离差,以及第一UWB天线与第二UWB天线之间的第一间隔距离确定第一UWB天线相对于第三UWB模块的第一切斜角,具体地,可根据如下公式确定第三UWB天线到第一UWB天线与第二UWB天线的连线的距离y:Wherein, according to the first distance difference and the first separation distance between the first UWB antenna and the second UWB antenna, determine the first oblique angle of the first UWB antenna relative to the third UWB module, specifically, according to the following formula Determine the distance y from the third UWB antenna to the connection line between the first UWB antenna and the second UWB antenna:
Figure PCTCN2021116481-appb-000001
Figure PCTCN2021116481-appb-000001
其中,如图3C所示,d为第一UWB天线与第二UWB天线之间的第一间隔距离,r为第一UWB天线与第三UWB天线之间的第一距离,p为UWB信号到达第一UWB天线的距离与到达第二UWB天线的距离之间的第一距离差(r-p);进一步地,可根据距离y与r、第一距离差确定第一切斜角,其中,如图3C所示,根据距离y与r可构建一个直角三角形,x为直角三角形的一个直角边,该直角三角形的另一直角边为y,直角三角形的斜边为第一UWB天线与第三UWB天线之间的第一距离r,第一斜切角α的正弦值为y/r。Wherein, as shown in FIG. 3C, d is the first separation distance between the first UWB antenna and the second UWB antenna, r is the first distance between the first UWB antenna and the third UWB antenna, and p is the arrival of the UWB signal The first distance difference (r-p) between the distance of the first UWB antenna and the distance to the second UWB antenna; further, the first slope angle can be determined according to the distance y and r and the first distance difference, wherein, as shown in the figure As shown in 3C, a right-angled triangle can be constructed according to the distances y and r, where x is a right-angled side of the right-angled triangle, the other right-angled side of the right-angled triangle is y, and the hypotenuse of the right-angled triangle is the first UWB antenna and the third UWB antenna. The first distance r between, the sine of the first chamfer angle α is y/r.
在一个可能地示例中,在上述步骤47,根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置之后,还可以包括如下步骤:In a possible example, in the above step 47, after determining the relative position between the electronic device and the label device according to the first orientation information and the second orientation information, the following steps may be further included:
48、控制所述第一UWB模块进入休眠状态。48. Control the first UWB module to enter a sleep state.
其中,在步骤47之后,则说明电子设备已经实现对标签设备进行定位,则可以控制第一UWB模块进行休眠状态,如此,可以降低电子设备的功耗。Wherein, after step 47, it means that the electronic device has realized the positioning of the tag device, and the first UWB module can be controlled to be in a sleep state, so that the power consumption of the electronic device can be reduced.
进一步地,在一个可能地示例中,在步骤48,控制所述第一UWB模块进入休眠状态之后,还可以包括如下步骤:Further, in a possible example, in step 48, after controlling the first UWB module to enter the sleep state, the following steps may be further included:
49、在预设时刻到达时,唤醒所述第一UWB模块,执行所述通过所述第一UWB天线向所述标签设备发送第一UWB信号的步骤。49. When the preset time arrives, wake up the first UWB module, and execute the step of sending a first UWB signal to the tag device through the first UWB antenna.
其中,预设时刻可以由用户自行设置或者***默认。电子设备在预设时刻到达时,唤醒第一UWB模块,执行步骤41,进而,实现再次对标签设备进行定位,由于预设时刻之前,电子设备的第一UWB模块有一段时间处于休眠状态,则在一定程度上可以降低电子设备的功耗。The preset time may be set by the user or the system defaults. When the electronic device arrives at the preset time, it wakes up the first UWB module, executes step 41, and then realizes the positioning of the tag device again. Since the first UWB module of the electronic device is in a dormant state for a period of time before the preset time, then To a certain extent, the power consumption of electronic devices can be reduced.
在一个可能地示例中,上述步骤301之前,还可以包括如下步骤:In a possible example, before the above step 301, the following steps may also be included:
A1、广播寻物指令,所述寻物指令携带所述标签设备的标识信息;A1. Broadcast an object-finding instruction, and the object-finding instruction carries the identification information of the labeling device;
A2、接收由所述标识信息对应的标签设备发送的确认消息,并建立所述电子设备与所述标签设备之间的蓝牙连接。A2. Receive a 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.
其中,电子设备可以广播寻物指令,该寻物指令可以携带标签设备的标识信息,标识信息可以为以下至少一种:设备名称、IP地址、MAC地址、集成电路卡识别码(integrate circuit card identity,ICCID)、国际移动设备识别码(international mobile equipment identity,IMEI)等等,在此不作限定。进而,电子设备可以接收由标识信息对应的标签设备发送的确认消息,并建立电子设备与标签设备之间的蓝牙连接。如图3D所示,电子设备可以打开定位APP,并选取需要定位的设备的标签,例如,我的钱包,则可以在电子设备的显示界面上展示“我的钱包”的具***置。Wherein, the electronic device can broadcast an object-finding instruction, and the object-finding instruction can carry the identification information of the label device, and the identification information can be at least one of the following: device name, IP address, MAC address, integrated circuit card identity , ICCID), international mobile equipment identity (international mobile equipment identity, IMEI), etc., which are not limited here. Furthermore, the electronic device can 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 can open the positioning APP, and select the label of the device to be positioned, for example, My Wallet, and the specific location of "My Wallet" can be displayed on the display interface of the electronic device.
在一个可能地示例中,在步骤304,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,还可以包括如下步骤:In a possible example, in step 304, after determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the following steps may be further included:
向所述标签设备发送通信断开指令,所述网络断开指令用于指示所述标签设备断开UWB通信连接以及断开蓝牙通信连接,以及指示所述标签设备进入蓝牙低功耗模式。A communication disconnection instruction is sent to the tag device, the network disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter the Bluetooth low energy consumption mode.
其中,电子设备可以向标签设备发送通信断开指令,该电子设备可以向标签设备发送通信断开指令,该网络断开指令用于指示标签设备断开UWB通信连接以及断开蓝牙通信连接,以及指示标签设备进入蓝牙低功耗模式,进而,可以尽可能降低标签设备的电量消耗,有助于提升标签设备的续航时长。Wherein, the electronic device can send a communication disconnection instruction to the tag device, the electronic device can send a communication disconnection instruction to the tag device, the network disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and disconnect the Bluetooth communication connection, and Instructing the tag device to enter the Bluetooth low energy mode, thereby reducing the power consumption of the tag device as much as possible, and helping to improve the battery life of the tag device.
具体实现中,考虑到标签设备的电池容量可能有限,而UWB功能长时间开启需要很高功耗,因此,可以在低功耗蓝牙的辅助下实现电子设备找标签设备的功能。标签设备的蓝牙模块可以一直保持低功耗待机状态。当标签设备被电子设备蓝牙唤醒后,标签设备通过蓝牙交互选择和电子设备一样的UWB信道,再打开标签设备的UWB模块进行UWB通信。在整个交互过程中,标签设备的蓝牙一直保持开启状态且UWB模块可以只在测距过程中开启,中间其他过程可以经历睡眠状态。整个交互过程的目的是,使得标签设备的UWB模块尽可能短时间开启,所有网络监听寻址工作全部由电子设备完成,并通过蓝牙发给标签设备实现同步,从而,最大程度节省标签设备的功耗。In the specific implementation, considering that the battery capacity of the tag device may be limited, and the UWB function requires high power consumption for a long time, therefore, the function of the electronic device to find the tag device can be realized with the assistance of low-power Bluetooth. The Bluetooth module of the tag device can maintain a low-power standby state all the time. When the tag device is awakened by the electronic device Bluetooth, the tag device selects the same UWB channel as the electronic device through Bluetooth interaction, and then turns on the UWB module of the tag device for UWB communication. During the whole interaction process, the Bluetooth of the tag device is always turned on and the UWB module can only be turned on during the ranging process, and other processes in the middle can go through a sleep state. The purpose of the entire interaction process is to enable the UWB module of the tag device to be turned on in the shortest possible time, all network monitoring and addressing work is completed by the electronic device, and sent to the tag device through Bluetooth for synchronization, thereby saving the label device's function to the greatest extent. consumption.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
所述第一UWB模块与所述电子设备分离设置,所述第一UWB模块通过接口电路与所述电子设备电连接。The first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
具体实现中,第一UWB模块可以与电子设备分离设置,其可以通过接口电路与电子设备电连接,或者,电子设备也可以通过磁场或者通信方式与第一UWB模块进行连接,通信方式可以为以下至少一种:无线保真(wireless fidelity,Wi-Fi)通信、红外通信、紫外通信、蓝牙通信、移动网络通信(例如,2G、3G、4G、5G、6G等)、太赫兹通信、可见光通信等等,在此不作限定。例如,第一UWB模块可以作为电子设备的***配件,***配件可以为以下至少一种:保护套、保护壳、充电器、耳机、USB数据线、适配器、保护膜等等,在此不作限定。以电子设备为手机为例,第一UWB模块可以设置于手机保护套或者手机保护套,在手机配上手机保护套或者手机保护套之后,则可以实现手机与第一UWB模块之间的电连接;又例如,第一UWB模块可以设置于耳机,进而,通过耳机接口与手机进行电连接;又例如,第一UWB模块可以设置于充电配件,充电配件可以为适配器、数据线或者充电宝,在手机充电时,第一UWB模块则可以与手机之间进行电连接或者通信连接。In a specific implementation, the first UWB module can be set apart from the electronic device, and it can be electrically connected to the electronic device through an interface circuit, or the electronic device can also be connected to the first UWB module through a magnetic field or a communication method, and the communication method can be as follows At least one of: wireless fidelity (Wi-Fi) communication, infrared communication, ultraviolet communication, Bluetooth communication, mobile network communication (for example, 2G, 3G, 4G, 5G, 6G, etc.), terahertz communication, visible light communication etc., which is not limited here. For example, the first UWB module can be used as a peripheral accessory of the electronic device, and the peripheral accessory can be at least one of the following: a protective cover, a protective shell, a charger, an earphone, a USB data cable, an adapter, a protective film, etc., which are not limited here. Taking the electronic device as a mobile phone as an example, the first UWB module can be set in a mobile phone protective cover or a mobile phone protective cover. After the mobile phone is equipped with a mobile phone protective cover or a mobile phone protective cover, the electrical connection between the mobile phone and the first UWB module can be realized. ; For another example, the first UWB module can be arranged on the earphone, and further, it is electrically connected to the mobile phone through the earphone interface; for another example, the first UWB module can be arranged on the charging accessory, and the charging accessory can be an adapter, a data cable or a charging treasure. When the mobile phone is being charged, the first UWB module can be electrically or communicatively connected with the mobile phone.
在一个可能地示例中,所述第一UWB模块设置在所述电子设备内部。In a possible example, the first UWB module is provided inside the electronic device.
其中,第一UWB模块可以作为电子设备的一部分,第一UWB模块可以设置于电子设备内部,例如,第一UWB模块可以集成于电子设备的主板、显示屏、后壳等等,在此不作限定。The first UWB module may be used as 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 into the main board, display screen, rear case, etc. of the electronic device, which is not limited here. .
举例说明下,如图3E所示,以手机为例,具体实现中,手机可以与标签设备进行蓝牙连接,并获取标签设备的标签标识(ID),手机则可以打开UWB模块,以接收模式(RX)监听当前网络参数,基于该方式进行网络配置轮询,以寻找空闲(UWB)网络,在寻找到空闲网络之后,将该空闲网络对应的网络参数通过蓝牙通信发送给标签设备,发送完之后,则UWB模块切换为接收状态,通过蓝牙通信收标签设备发送来的网络参数确认消息,如果手机未接收到蓝牙回复,则再次将该空闲网络对应的网络 参数通过蓝牙通信发送给标签设备,如果在第一预设时间段内且第一预设次数发送空闲网络对应的网络参数通过蓝牙通信发送给标签设备,均未收到蓝牙回复,则重启蓝牙模块,以再次进行蓝牙连接。其中,第一预设时间段、第一预设次数均可以由用户自行设置或者***默认。As an example, as shown in Figure 3E, taking a mobile phone as an example, in the specific implementation, the mobile phone can perform a Bluetooth connection with the tag device, and obtain the tag identification (ID) of the tag device, and the mobile phone can open the UWB module to receive mode ( RX) Monitor the current network parameters, and perform network configuration polling based on this method to find an idle (UWB) network. After finding an idle network, the network parameters corresponding to the idle network are sent to the tag device through Bluetooth communication. After sending , the UWB module switches to the receiving state, and receives the network parameter confirmation message sent by the tag device through Bluetooth communication. If the mobile phone does not receive a Bluetooth reply, the network parameters corresponding to the idle network are sent to the tag device through Bluetooth communication again. If Within the first preset time period and the network parameters corresponding to the idle network are sent for the first preset number of times to the tag device through Bluetooth communication, and no Bluetooth reply is received, the Bluetooth module is restarted to perform the Bluetooth connection again. Wherein, the first preset time period and the first preset number of times can be set by the user or the system defaults.
进一步地,如果该网络参数确认消息指示标签设备的网络参数配置失败,则重新将该空闲网络对应的网络参数通过蓝牙通信发送给标签设备。如果该网络参数确认消息指示标签设备的网络参数配置成功,则可以打开水平方向天线,通过UWB通信发送测距信息给标签设备,发送完毕后,第一UWB模块可以切换为接收状态,进而,通过第一UWB模块接收标签设备回信,在接收失败(未接收到标签设备回复)时,重新测距,如果第二预设时间段内且第二预设次数内未接收到标签设备回复,则可以重新进行蓝牙连接以及后续对标签设备进行UWB网络配置以及再次进行测距。如果第一UWB模块成功接收到标签设备回信,基于该回信计算出水平方向天线与标签设备之间的距离和水平方向的角度,进而,打开垂直方向天线,通过UWB发送测距信息标签,发送完成后,第一UWB模块切换为接收状态,通过第一UWB模块收到标签回信,则若成功接收到标签回信,则基于回信计算出距离和竖直方向的距离,若在接收失败(未接收到标签设备回复)时,重新测距,如果第二预设时间段内且第二预设次数内未接收到标签设备回信,则可以重新进行蓝牙连接以及后续对标签设备进行UWB网络配置以及再次进行测距。其中,第二预设时间段、第二预设次数均可以由用户自行设置或者***默认。Further, if the network parameter confirmation message indicates that the network parameter configuration of the tag device fails, the network parameters corresponding to the idle network are re-sent to the tag device through Bluetooth communication. If the network parameter confirmation message indicates that the network parameter configuration of the tag device is successful, the horizontal direction antenna can be turned on, and the ranging information can be sent to the tag device through UWB communication. The first UWB module receives a reply from the tag device, and when the reception fails (the reply from the tag device is not received), it re-measures the distance. If the reply from the tag device is not received within the second preset time period and the second preset number of times, it can be Reconnect the Bluetooth connection and subsequently configure the UWB network for the tag device and perform ranging again. If the first UWB module successfully receives a reply from the tag device, it calculates the distance between the horizontal antenna and the tag device and the angle in the horizontal direction based on the reply, and then turns on the vertical antenna, and sends the ranging information tag through UWB, and the transmission is completed. After that, the first UWB module is switched to the receiving state, and the label reply is received through the first UWB module. If the label reply is successfully received, the distance and the vertical distance are calculated based on the reply. When the tag device replies), re-measure the distance. If no reply from the tag device is received within the second preset time period and the second preset number of times, the Bluetooth connection can be reconnected, and the UWB network configuration of the tag device can be performed again. ranging. The second preset time period and the second preset number of times can be set by the user or the system defaults.
可以看出,在本申请实施例中所描述的定位方法,应用于电子设备,与标签设备建立蓝牙通信连接,监听当前网络参数,确定出空闲UWB信道对应的目标网络参数,通过蓝牙信道将目标网络参数发送给所述标签设备,以使得标签设备基于目标网络参数配置UWB通信信道,与标签设备建立UWB通信连接,基于与标签设备之间的UWB通信数据确定电子设备与标签设备之间的相对位置,由于通过蓝牙连接方式,将空闲UWB信道的网络参数发送给标签设备,基于该网络参数唤醒标签设备的UWB功能以实现UWB通信,进而,基于UWB功能实现定位,一方面,能够通过UWB实现厘米级精度的定位功能,另一方面,由于标签设备并非一开始就开启UWB功能,而是在需要被定位时才开启UWB功能,该定位方式可以降低标签设备的功耗。It can be seen that the positioning method described in the embodiment of the present application is applied to electronic equipment, establishes a Bluetooth communication connection with the tag device, monitors the current network parameters, determines the target network parameters corresponding to the idle UWB channel, and locates the target network through the Bluetooth channel. The network parameters are sent to the tag device, 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, and determines the relative relationship between the electronic device and the tag device based on the UWB communication data with the tag device. Location, because the network parameters of the idle UWB channel are sent to the tag device through the Bluetooth connection, and the UWB function of the tag device is awakened based on the network parameters to realize UWB communication, and then, based on the UWB function to achieve positioning, on the one hand, it can be realized through UWB. The positioning function with centimeter-level accuracy, on the other hand, because the label device does not turn on the UWB function at the beginning, but turns on the UWB function when it needs to be positioned, this positioning method can reduce the power consumption of the label device.
本申请提供了请参阅图4A,图4A是本申请实施例提供的一种定位方法的流程示意图,应用于标签设备,所述标签设备包括第二UWB模块;如图所示,本定位方法包括:The present application provides please refer to FIG. 4A , which is a schematic flowchart of a positioning method provided by an embodiment of the present application, which is applied to a labeling device, and the labeling device includes a second UWB module; as shown in the figure, the positioning method includes :
401、与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备监听当前网络参数,确定出空闲UWB信道对应的目标网络参数。401. 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 that the electronic device monitors the current network parameter, and determines the target network parameter corresponding to the idle UWB channel .
402、启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道。402. Start the second UWB module, and start configuring a UWB communication channel based on the target network parameter.
403、与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。403. Establish a UWB communication connection with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
其中,上述步骤401-步骤403的具体描述可以参见上述图3A所描述的定位方法的相应步骤,在此不再赘述。For the specific description of the above steps 401 to 403, reference may be made to the corresponding steps of the positioning method described in FIG. 3A , which will not be repeated here.
在一个可能地示例中,在步骤403,所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,还可以包括如下步骤:In a possible example, in step 403, after the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the electronic device may further include the following steps:
控制所述第二UWB模块进入休眠状态。The second UWB module is controlled to enter a sleep state.
其中,在步骤403之后,则说明电子设备已经实现对标签设备进行定位,标签设备则可以控制第二UWB模块进行休眠状态,如此,可以降低标签设备的功耗。Wherein, after step 403, it means that the electronic device has realized the positioning of the label device, and the label device can control the second UWB module to be in a sleep state, so that the power consumption of the label device can be reduced.
进一步地,在所述控制所述第二UWB模块进入休眠状态之后,还可以包括如下步骤:Further, after the control of the second UWB module to enter the sleep state, the following steps may also be included:
在预设时刻到达时,唤醒所述第二UWB模块,执行所述与所述电子设备建立UWB通信连接的步骤。When the preset time arrives, wake up the second UWB module, and perform the step of establishing a UWB communication connection with the electronic device.
其中,预设时刻可以由用户自行设置或者***默认。标签设备在预设时刻到达时,唤醒第二UWB模块,执行步骤403,进而,实现再次与电子设备进行UWB通信连接,由于预设时刻之前,标签设备的第二UWB模块有一段时间处于休眠状态,则在一定程度上可以降低标签设备的功耗。The preset time may be set by the user or the system defaults. When the label device arrives at the preset time, it wakes up the second UWB module, executes step 403, and further implements UWB communication connection with the electronic device again, because before the preset time, the second UWB module of the label device is in a dormant state for a period of time , the power consumption of the label device can be reduced to a certain extent.
在一个可能地示例中,上述步骤403之后,还可以包括如下步骤:In a possible example, after the above step 403, the following steps may also be included:
接收由所述电子设备发送的通信断开指令;receiving a communication disconnection instruction sent by the electronic device;
响应所述通信断开指令,断开UWB通信连接,控制所述第二UWB模块进入睡眠状态,断开蓝牙通信连接,进入蓝牙低功耗模式。In response to the communication disconnection instruction, the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
其中,标签设备可以接收电子设备发送的通信断开指令,标签设备断开UWB通信连接以及断开蓝牙通信连接,以及指示标签设备进入蓝牙低功耗模式,进而,可以尽可能降低标签设备的电量消耗,有助于提升标签设备的续航时长。Among them, the tag device can receive a communication disconnection instruction sent by the electronic device, the tag device disconnects the UWB communication connection and the Bluetooth communication connection, and instructs the tag device to enter the Bluetooth low power consumption mode, thereby reducing the power of the tag device as much as possible. consumption, which helps to improve the battery life of the labeling device.
在一个可能地示例中,所述标签设备通过第二UWB模块与所述电子设备建立UWB通信连接;In a possible example, the tag device establishes a UWB communication connection with the electronic device through a second UWB module;
所述第二UWB模块与所述标签设备分离设置,所述第二UWB模块通过接口电路与所述标签设备电连接。The second UWB module is provided separately from the label device, and the second UWB module is electrically connected to the label device through an interface circuit.
具体实现中,第二UWB模块可以与标签设备分离设置,其可以通过接口电路与标签设备电连接,或者,标签设备也可以通过磁场或者通信方式与第二UWB模块进行连接,通信方式可以为以下至少一种:无线保真(wireless fidelity,Wi-Fi)通信、红外通信、紫外通信、蓝牙通信、移动网络通信(例如,2G、3G、4G、5G、6G等)、太赫兹通信、可见光通信等等,在此不作限定。In a specific implementation, the second UWB module can be set apart from the tag device, and it can be electrically connected to the tag device through an interface circuit, or the tag device can also be connected to the second UWB module through a magnetic field or a communication method, and the communication method can be as follows At least one of: wireless fidelity (Wi-Fi) communication, infrared communication, ultraviolet communication, Bluetooth communication, mobile network communication (for example, 2G, 3G, 4G, 5G, 6G, etc.), terahertz communication, visible light communication etc., which is not limited here.
在一个可能地示例中,所述第二UWB模块设置在所述标签设备内部。In a possible example, the second UWB module is arranged inside the tag device.
其中,第二UWB模块可以作为标签设备的一部分,第二UWB模块可以设置于标签设备内部,例如,第二UWB模块可以集成于标签设备的主板、显示屏、后壳等等,在此不作限定。Wherein, the second UWB module can be used as a part of the labeling device, and the second UWB module can be set inside the labeling device. For example, the second UWB module can be integrated into the mainboard, display screen, back shell, etc. of the labeling device, which is not limited here. .
举例说明下,如图4B所示,标签设备处于低功耗模式,在其蓝牙低功耗被唤醒时,其与电子设备之间进行蓝牙连接,标签设备与电子设备蓝牙连接成功之后,通过蓝牙网络保持监听,在通过蓝牙网络监听到电子设备发送的网络参数时,接收网络参数实现UWB网络配置,使用网络参数对UWB初始化,初始化成功后,通过蓝牙向电子设备发送网络参数确认消息,在确认配置成功后,接收由电子设备发送的水平方向定位的UWB信息,在接收失败后,则说明未接收到信息,重新测距,即重新接收电子设备发送的水平方向定位的UWB信息,当然,在接收到蓝牙中断信息之后,则重启蓝牙模块,在接收成功后,发送UWB回执信息,再接收由电子设备发送的竖直方向定位的UWB信息,在接收失败时,则说明未接收到信息,重新测距,即重新接收电子设备发送的竖直方向定位的UWB信息,当然,在接收到蓝牙中断信息之后,则重启蓝牙模块,在接收成功后,发送UWB回执信息,发送完毕后,UWB模块进入休眠模式,并通过实时时钟(real time clock,RTC)唤醒,以重新实现UWB定位。For example, as shown in Figure 4B, the tag device is in low power consumption mode. When its Bluetooth low power consumption is awakened, it connects with the electronic device via Bluetooth. After the Bluetooth connection between the tag device and the electronic device is successful, the Bluetooth low energy The network keeps monitoring. When the network parameters sent by the electronic device are monitored through the Bluetooth network, the UWB network configuration is realized by receiving the network parameters, and the UWB is initialized with the network parameters. After the initialization is successful, the network parameter confirmation message is sent to the electronic device through Bluetooth. After the configuration is successful, the UWB information of the horizontal positioning sent by the electronic device is received. If the receiving fails, it means that no information has been received. Re-measure the distance, that is, re-receive the UWB information of the horizontal positioning sent by the electronic device. Of course, in After receiving the bluetooth interruption information, restart the bluetooth module. After receiving the information successfully, send the UWB receipt information, and then receive the UWB information sent by the electronic device to locate the vertical direction. If the receiving fails, it means that no information has been received. Ranging, that is, re-receive the UWB information sent by the electronic device for vertical positioning. Of course, after receiving the Bluetooth interruption information, the Bluetooth module is restarted. After the reception is successful, the UWB receipt information is sent. After the transmission is completed, the UWB module enters Sleep mode, and wake up by real time clock (RTC) to re-implement UWB positioning.
与上述实施例一致地,请参阅图5A,图5A是本申请实施例提供的一种定位***的结构示意图,所述定位***包括电子设备和标签设备;如图所示,该***用于执行一种定位方法,具体如下:Consistent with the above-mentioned embodiment, please refer to FIG. 5A , which is a schematic structural diagram of a positioning system provided by an embodiment of the present application. The positioning system includes an electronic device and a labeling device; as shown in the figure, the system is used to execute A positioning method, as follows:
501、所述电子设备与标签设备建立蓝牙通信连接。501. The electronic device establishes a Bluetooth communication connection with the tag device.
502、所述电子设备通过第一UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数。502. The electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the idle UWB channel.
503、所述电子设备通过蓝牙信道将所述目标网络参数发送给所述标签设备。503. The electronic device sends the target network parameter to the tag device through a Bluetooth channel.
504、所述标签设备基于所述目标网络参数配置UWB通信信道。504. The tag device configures a UWB communication channel based on the target network parameter.
505、所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。505. The electronic device establishes a UWB communication connection with the tag device through the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
其中,上述步骤501-步骤505的具体描述可以参见上述图3A所描述的定位方法的相应步骤,在此不再赘述。For the specific description of the above steps 501 to 505, reference may be made to the corresponding steps of the positioning method described in the above FIG. 3A , which will not be repeated here.
举例说明下,如图5B所示,具体实现中,在电子设备上可以打开寻物APP,并点击需要寻找的物体的标签标识,进而,电子设备的蓝牙模块(blue tooth,BLE)可以被打开,并发送蓝牙连接请求,标签设备的蓝牙模块被唤醒,进而,蓝牙连接,在连接成功后,向电子设备发送成功响应消息ACK,在电子设备上则可以显示找到标签标识,蓝牙已连接。For example, as shown in FIG. 5B , in the specific implementation, the object-seeking APP can be opened on the electronic device, and the tag identification of the object to be found can be clicked, and then the Bluetooth module (blue tooth, BLE) of the electronic device can be turned on , and send a Bluetooth connection request, the Bluetooth module of the tag device is awakened, and then, after the Bluetooth connection is successful, a successful response message ACK is sent to the electronic device, and the tag identification can be displayed on the electronic device.
进一步地,电子设备可以打开UWB模块,进行UWB网络监听,通过蓝牙通信向标签设备发送空 闲UWB信道可用的网络参数,标签设备基于该网络参数进行UWB初始化,并通过蓝牙通信向电子设备发送网络参数响应消息ACK,在标签设备的UWB模块配置成功,则进入定位模式,否则,继续通过蓝牙通信向标签设备发送网络参数。Further, the electronic device can open the UWB module, monitor the UWB network, and send the available network parameters of the idle UWB channel to the tag device through Bluetooth communication. The tag device performs UWB initialization based on the network parameters, and sends the network parameters to the electronic device through Bluetooth communication. In response to the ACK message, if the UWB module of the tag device is successfully configured, it will enter the positioning mode, otherwise, continue to send network parameters to the tag device through Bluetooth communication.
进一步地,电子设备则与标签设备进行交互,以确定标签设备的位置,在定位成功后,则电子设备以及标签设备的UWB模块均进入休眠状态。在电子设备向标签设备发送通信断开指令之后,电子设备则可以关闭蓝牙模块以及UWB模块,标签设备则可以关闭UWB模块,且进入低功耗蓝牙模式。Further, the electronic device interacts with the label device to determine the location of the label device. After the positioning is successful, the electronic device and the UWB module of the label device 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 the low-power Bluetooth mode.
与上述实施例一致地,请参阅图6,图6是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口、第一蓝牙模块、第一UWB模块以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:Consistent with the above-mentioned embodiment, please refer to FIG. 6 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and a first Bluetooth module. , the first UWB module, and one or more programs, wherein the one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned processor. In the embodiment of the present application, the above-mentioned program includes for executing the following steps command:
与标签设备建立蓝牙通信连接;Establish a Bluetooth communication connection with the tag device;
监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;Monitor the current network parameters, and determine the target network parameters corresponding to the idle UWB channel;
通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;sending 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;
与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the tag device, and the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device.
可以看出,在本申请实施例中所描述的电子设备,与标签设备建立蓝牙通信连接,监听当前网络参数,确定出空闲UWB信道对应的目标网络参数,通过蓝牙信道将目标网络参数发送给所述标签设备,以使得标签设备基于目标网络参数配置UWB通信信道,与标签设备建立UWB通信连接,基于与标签设备之间的UWB通信数据确定电子设备与标签设备之间的相对位置,由于通过蓝牙连接方式,将空闲UWB信道的网络参数发送给标签设备,基于该网络参数唤醒标签设备的UWB功能以实现UWB通信,进而,基于UWB功能实现定位,一方面,能够通过UWB实现厘米级精度的定位功能,另一方面,由于标签设备并非一开始就开启UWB功能,而是在需要被定位时才开启UWB功能,该定位方式可以降低标签设备的功耗。It can be seen that the electronic device described in the embodiment of the present application establishes a Bluetooth communication connection with the tag device, monitors the current network parameters, determines the target network parameters corresponding to the idle UWB channel, and sends the target network parameters to the device through the Bluetooth channel. The label device is described, so that the label device configures the UWB communication channel based on the target network parameters, establishes a UWB communication connection with the label device, and determines the relative position between the electronic device and the label device based on the UWB communication data with the label device. The connection method sends the network parameters of the idle UWB channel to the tag device, and wakes up the UWB function of the tag device based on the network parameters to realize UWB communication, and then realizes positioning based on the UWB function. On the other hand, since the UWB function is not turned on at the beginning of the label device, but the UWB function is turned on when it needs to be positioned, this positioning method can reduce the power consumption of the label device.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,所述第一UWB模块包括第一UWB天线和第二UWB天线;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module, where the first UWB module includes a first UWB antenna and a second UWB antenna;
在所述基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置方面,上述程序包括用于执行以下步骤的指令:In the aspect of determining the relative position between the electronic device and the tag device based on UWB communication data with the tag device, the above program includes instructions for performing the following steps:
通过所述第一UWB天线向所述标签设备发送第一UWB信号;Send a first UWB signal to the tag device through the first UWB antenna;
接收由所述标签设备发送的第二UWB信号;receiving a second UWB signal sent by the tag device;
通过所述第一UWB信号、所述第二UWB信号确定所述第一UWB天线与所述标签设备之间的第一方位信息,所述第一方位信息包括所述第一UWB天线与所述标签设备之间的第一相对角度和第一相对距离;The first orientation information between the first UWB antenna and the tag device is determined by the first UWB signal and the second UWB signal, where the first orientation information includes the first UWB antenna and the tag device. a first relative angle and a first relative distance between the labeling devices;
通过所述第二UWB天线向所述标签设备发送第三UWB信号;sending a third UWB signal to the tag device through the second UWB antenna;
接收由所述标签设备发送的第四UWB信号;receiving a fourth UWB signal sent by the tag device;
通过所述第三UWB信号、所述第四UWB信号确定所述第二UWB天线与所述标签设备之间的第二方位信息,所述第二方位信息包括所述第二UWB天线与所述标签设备之间的第二相对角度和第二相对距离;The second orientation information between the second UWB antenna and the tag device is determined by the third UWB signal and the fourth UWB signal, where the second orientation information includes the second UWB antenna and the tag device. a second relative angle and a second relative distance between the labeling devices;
根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置,所述相对位置包括相对角度和相对距离。The relative position between the electronic device and the label device is determined according to the first orientation information and the second orientation information, and the relative position includes a relative angle and a relative distance.
在一个可能地示例中,在所述根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置之后,上述程序还包括用于执行以下步骤的指令:In a possible example, after the relative position between the electronic device and the tag device is determined according to the first orientation information and the second orientation information, the above program further includes performing the following steps command:
控制所述第一UWB模块进入休眠状态。The first UWB module is controlled to enter a sleep state.
在一个可能地示例中,在所述控制所述第一UWB模块进入休眠状态之后,上述程序还包括用于执行以下步骤的指令:In a possible example, after the control of the first UWB module to enter the sleep state, the above program further includes an instruction for executing the following steps:
在预设时刻到达时,唤醒所述第一UWB模块,执行所述通过所述第一UWB天线向所述标签设备发送第一UWB信号的步骤。When a preset time arrives, wake up the first UWB module, and execute the step of sending a first UWB signal to the tag device through the first UWB antenna.
在一个可能地示例中,上述程序还包括用于执行以下步骤的指令:In a possible example, the above program further includes instructions for performing the following steps:
广播寻物指令,所述寻物指令携带所述标签设备的标识信息;Broadcasting an object-finding instruction, the object-finding instruction carries the identification information of the labeling device;
接收由所述标识信息对应的标签设备发送的确认消息,并建立所述电子设备与所述标签设备之间的蓝牙连接。A confirmation message sent by the tag device corresponding to the identification information is received, and a Bluetooth connection between the electronic device and the tag device is established.
在一个可能地示例中,在所述基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,上述程序还包括用于执行以下步骤的指令:In a possible example, after the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device, the above program further includes instructions for executing the following steps :
向所述标签设备发送通信断开指令,所述通信断开指令用于指示所述标签设备断开UWB通信连接以及断开蓝牙通信连接,以及指示所述标签设备进入蓝牙低功耗模式。A communication disconnection instruction is sent to the tag device, where the communication disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter a Bluetooth low energy consumption mode.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
所述第一UWB模块与所述电子设备分离设置,所述第一UWB模块通过接口电路与所述电子设备电连接。The first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
所述第一UWB模块设置在所述电子设备内部。The first UWB module is arranged inside the electronic device.
或者,基于上述图6所描述的电子设备,也可以实现如下功能:Alternatively, based on the electronic device described in FIG. 6, the following functions can also be implemented:
所述第一UWB模块,用于监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;所述第一UWB模块还用于与所述标签设备建立UWB通信连接;The first UWB module is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel; the first UWB module is also used to establish a UWB communication connection with the tag device;
所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:The memory stores at least one instruction for execution by the processor to perform the following steps:
与标签设备建立蓝牙通信连接;Establish a Bluetooth communication connection with the tag device;
通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;sending 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;
基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The relative position between the electronic device and the tag device is determined based on UWB communication data with the tag device.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. 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 above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
与上述实施例一致地,请参阅图7,图7是本申请实施例提供的一种UWB模块的结构示意图,如图所示,所述UWB天线和所述接口电路电性相连;Consistent with the above embodiment, please refer to FIG. 7 , which is a schematic structural diagram of a UWB module provided by an embodiment of the present application. As shown in the figure, the UWB antenna is electrically connected to the interface circuit;
所述UWB模块用于通过所述接口电路与电子设备相连,以使得所述电子设备通过所述UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数,并通过所述UWB模块与标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The UWB module is used to connect with the electronic device through the interface circuit, so that the electronic device monitors the current network parameters through the UWB module, determines the target network parameters corresponding to the idle UWB channel, and communicates with the UWB module through the UWB module. The tag device establishes a UWB communication connection, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
其中,UWB天线也可以包括第一UWB天线和第二UWB天线,该两根天线之间存在一定的夹角。The UWB antenna may also include a first UWB antenna and a second UWB antenna, and a certain angle exists between the two antennas.
可以看出,在本申请实施例中所描述的UWB模块,监听当前网络参数,确定出空闲UWB信道对 应的目标网络参数,以使得标签设备基于目标网络参数配置UWB通信信道,与标签设备建立UWB通信连接,基于与标签设备之间的UWB通信数据确定电子设备与标签设备之间的相对位置,进而,基于UWB功能实现定位,一方面,能够通过UWB实现厘米级精度的定位功能,另一方面,由于标签设备并非一开始就开启UWB功能,而是在需要被定位时才开启UWB功能,该定位方式可以降低标签设备的功耗。It can be seen that the UWB module described in the embodiments of this application monitors the current network parameters and determines the target network parameters corresponding to the idle UWB channels, so that the tag device configures the UWB communication channel based on the target network parameters, and establishes a UWB communication channel with the tag device. The communication connection, based on the UWB communication data with the tag device, determines the relative position between the electronic device and the tag device, and then realizes the positioning based on the UWB function. , because the label device does not turn on the UWB function from the beginning, but only turns on the UWB function when it needs to be positioned, this positioning method can reduce the power consumption of the label device.
与上述实施例一致地,请参阅图8,图8是本申请实施例提供的一种标签设备的结构示意图,如图所示,该标签设备包括处理器、存储器、通信接口、第二蓝牙模块、第二UWB模块以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:Consistent with the above embodiment, please refer to FIG. 8 , which is a schematic structural diagram of a label device provided by an embodiment of the present application. As shown in the figure, the label device includes a processor, a memory, a communication interface, and a second Bluetooth module. , a second UWB module, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor. In the embodiment of the present application, the program includes the steps for executing the following steps command:
与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;Establishing a Bluetooth communication connection with the electronic device, and receiving target network parameters sent by the electronic device through a Bluetooth channel, where the target network parameters are the current network parameters monitored by the electronic device, and the target network parameters corresponding to the idle UWB channel are determined;
启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;starting the second UWB module, and starting and configuring the UWB communication channel based on the target network parameters;
与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
在一个可能地示例中,在所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,上述程序还包括用于执行以下步骤的指令:In a possible example, after the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the above program further includes performing the following steps command:
控制所述第二UWB模块进入休眠状态。The second UWB module is controlled to enter a sleep state.
在一个可能地示例中,在所述控制所述第二UWB模块进入休眠状态之后,上述程序还包括用于执行以下步骤的指令:In a possible example, after the control of the second UWB module to enter the sleep state, the above program further includes an instruction for executing the following steps:
在预设时刻到达时,唤醒所述第二UWB模块,执行所述与所述电子设备建立UWB通信连接的步骤。When the preset time arrives, wake up the second UWB module, and perform the step of establishing a UWB communication connection with the electronic device.
在一个可能地示例中,上述程序还包括用于执行以下步骤的指令:In a possible example, the above program further includes instructions for performing the following steps:
接收由所述电子设备发送的通信断开指令;receiving a communication disconnection instruction sent by the electronic device;
响应所述通信断开指令,断开UWB通信连接,控制所述第二UWB模块进入睡眠状态,断开蓝牙通信连接,进入蓝牙低功耗模式。In response to the communication disconnection instruction, the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
或者,基于上述图8所描述的标签设备,所述处理器分别与所述存储器、第二蓝牙模块、第二UWB模块电连接;也可以实现如下功能: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 can also be implemented:
所述蓝牙模块用于与电子设备建立蓝牙通信连接;所述处理器用于启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;The bluetooth module is used to establish a bluetooth communication connection with the electronic device; the processor is used to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:The memory stores at least one instruction for execution by the processor to perform the following steps:
接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备通过监听当前网络参数、确定出的空闲UWB信道对应的目标网络参数;Receive the target network parameter sent by the electronic device through the Bluetooth channel, where the target network parameter is the target network parameter corresponding to the idle UWB channel determined by the electronic device by monitoring the current network parameter;
与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
图9是本申请实施例中所涉及的定位装置900的功能单元组成框图。该定位装置900应用于电子设备,所述装置900包括:连接单元901、确定单元902和发送单元903,其中,FIG. 9 is a block diagram of functional units of the positioning apparatus 900 involved in the embodiment of the present application. The positioning apparatus 900 is applied to electronic equipment, and the apparatus 900 includes: a connecting unit 901, a determining unit 902 and a sending unit 903, wherein,
所述连接单元901,用于与标签设备建立蓝牙通信连接;The connection unit 901 is used to establish a Bluetooth communication connection with the tag device;
所述确定单元902,用于监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The determining unit 902 is configured to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel;
所述发送单元903,用于通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;The sending unit 903 is configured to send 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;
所述连接单元901,还用于与所述标签设备建立UWB通信连接;The connection unit 901 is further configured to establish a UWB communication connection with the tag device;
所述确定单元902,还用于基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标 签设备之间的相对位置。The determining unit 902 is further configured to determine the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,所述第一UWB模块包括第一UWB天线和第二UWB天线;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module, where the first UWB module includes a first UWB antenna and a second UWB antenna;
在所述基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置方面,所述确定单元902具体用于:In the aspect of determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the determining unit 902 is specifically configured to:
通过所述第一UWB天线向所述标签设备发送第一UWB信号;Send a first UWB signal to the tag device through the first UWB antenna;
接收由所述标签设备发送的第二UWB信号;receiving a second UWB signal sent by the tag device;
通过所述第一UWB信号、所述第二UWB信号确定所述第一UWB天线与所述标签设备之间的第一方位信息,所述第一方位信息包括所述第一UWB天线与所述标签设备之间的第一相对角度和第一相对距离;The first orientation information between the first UWB antenna and the tag device is determined by the first UWB signal and the second UWB signal, where the first orientation information includes the first UWB antenna and the tag device. a first relative angle and a first relative distance between the labeling devices;
通过所述第二UWB天线向所述标签设备发送第三UWB信号;sending a third UWB signal to the tag device through the second UWB antenna;
接收由所述标签设备发送的第四UWB信号;receiving a fourth UWB signal sent by the tag device;
通过所述第三UWB信号、所述第四UWB信号确定所述第二UWB天线与所述标签设备之间的第二方位信息,所述第二方位信息包括所述第二UWB天线与所述标签设备之间的第二相对角度和第二相对距离;The second orientation information between the second UWB antenna and the tag device is determined by the third UWB signal and the fourth UWB signal, where the second orientation information includes the second UWB antenna and the tag device. a second relative angle and a second relative distance between the labeling devices;
根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置,所述相对位置包括相对角度和相对距离。The relative position between the electronic device and the label device is determined according to the first orientation information and the second orientation information, and the relative position includes a relative angle and a relative distance.
在一个可能地示例中,在所述根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置之后,所述装置900还具体用于:In a possible example, after the relative position between the electronic device and the label device is determined according to the first orientation information and the second orientation information, the apparatus 900 is further specifically configured to:
控制所述第一UWB模块进入休眠状态。The first UWB module is controlled to enter a sleep state.
在一个可能地示例中,在所述控制所述第一UWB模块进入休眠状态之后,所述装置900还具体用于:In a possible example, after the controlling the first UWB module to enter the sleep state, the apparatus 900 is further specifically configured to:
在预设时刻到达时,唤醒所述第一UWB模块,执行所述通过所述第一UWB天线向所述标签设备发送第一UWB信号的步骤。When a preset time arrives, wake up the first UWB module, and execute the step of sending a first UWB signal to the tag device through the first UWB antenna.
在一个可能地示例中,所述装置900还具体用于:In a possible example, the apparatus 900 is further specifically used for:
广播寻物指令,所述寻物指令携带所述标签设备的标识信息;Broadcasting an object-finding instruction, the object-finding instruction carries the identification information of the labeling device;
接收由所述标识信息对应的标签设备发送的确认消息,并建立所述电子设备与所述标签设备之间的蓝牙连接。A confirmation message sent by the tag device corresponding to the identification information is received, and a Bluetooth connection between the electronic device and the tag device is established.
在一个可能地示例中,在所述基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,所述装置900还具体用于:In a possible example, after the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device, the apparatus 900 is further specifically configured to:
向所述标签设备发送通信断开指令,所述通信断开指令用于指示所述标签设备断开UWB通信连接以及断开蓝牙通信连接,以及指示所述标签设备进入蓝牙低功耗模式。A communication disconnection instruction is sent to the tag device, where the communication disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter a Bluetooth low energy consumption mode.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
所述第一UWB模块与所述电子设备分离设置,所述第一UWB模块通过接口电路与所述电子设备电连接。The first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
在一个可能地示例中,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接;In a possible example, the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
所述第一UWB模块设置在所述电子设备内部。The first UWB module is arranged inside the electronic device.
需要注意的是,本申请实施例所描述的电子设备是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the electronic devices described in the embodiments of the present application are presented in the form of functional units. The term "unit" as used herein should be understood in the broadest possible sense, and the object used to implement the functions described by each "unit" may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware Program processors (shared, dedicated, or chipset) and memory, combinational logic circuits, and/or other suitable components that provide the functions described above.
其中,连接单元901可以为蓝牙模块或者UWB模块,发送单元903可以为蓝牙模块,确定单元902可以是控制电路或处理器或者通信电路中的一个或者多个,基于上述单元模块能够实现上述任一方法的功能或者步骤。The connecting 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 the above unit modules, any one of the above can be realized. The function or step of the method.
图10是本申请实施例中所涉及的定位装置1000的功能单元组成框图。该定位装置1000应用于标签设备,所述标签设备包括第二UWB模块,所述装置1000包括:连接单元1001和配置单元1002,其中,FIG. 10 is a block diagram of functional units of the positioning apparatus 1000 involved in the embodiment of the present application. The positioning apparatus 1000 is applied to a label device, the label device includes a second UWB module, and the device 1000 includes: a connection unit 1001 and a configuration unit 1002, wherein,
所述连接单元1001,用于与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The connection unit 1001 is configured to establish a Bluetooth communication connection with an electronic device, receive target network parameters sent by the electronic device through a Bluetooth channel, and the target network parameters are the current network parameters monitored by the electronic device to determine an idle UWB The target network parameters corresponding to the channel;
所述配置单元1002,用于启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;The configuration unit 1002 is configured to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
所述连接单元1001,还用于与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The connection unit 1001 is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines the connection between the electronic device and the tag device based on the UWB communication data with the tag device. relative position.
在一个可能地示例中,在所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,所述装置1000还具体用于:In a possible example, after the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device, the apparatus 1000 is further specifically configured to:
控制所述第二UWB模块进入休眠状态。The second UWB module is controlled to enter a sleep state.
在一个可能地示例中,在所述控制所述第二UWB模块进入休眠状态之后,所述装置1000还具体用于:In a possible example, after the controlling the second UWB module to enter the sleep state, the apparatus 1000 is further specifically configured to:
在预设时刻到达时,唤醒所述第二UWB模块,执行所述与所述电子设备建立UWB通信连接的步骤。When the preset time arrives, wake up the second UWB module, and perform the step of establishing a UWB communication connection with the electronic device.
在一个可能地示例中,所述1000还具体用于:In a possible example, the 1000 is also specifically used for:
接收由所述电子设备发送的通信断开指令;receiving a communication disconnection instruction sent by the electronic device;
响应所述通信断开指令,断开UWB通信连接,控制所述第二UWB模块进入睡眠状态,断开蓝牙通信连接,进入蓝牙低功耗模式。In response to the communication disconnection instruction, the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
需要注意的是,本申请实施例所描述的标签设备是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the label devices described in the embodiments of the present application are presented in the form of functional units. The term "unit" as used herein should be understood in the broadest possible sense, and the object used to implement the functions described by each "unit" may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware Program processors (shared, dedicated, or chipset) and memory, combinational logic circuits, and/or other suitable components that provide the functions described above.
其中,连接单元1001可以为蓝牙模块或者UWB模块,配置单元1002可以为可以是控制电路或处理器或者UWB模块中的一个或者多个,基于上述单元模块能够实现上述任一方法的功能或者步骤。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, a processor, or a UWB module. Based on the above unit modules, the functions or steps of any of the above methods can be implemented.
进一步地,本申请实施例,还提供了一种定位***,所述定位***包括电子设备和标签设备;其可以用于如下功能:Further, the embodiment of the present application also provides a positioning system, the positioning system includes an electronic device and a label device; it can be used for the following functions:
所述电子设备与所述标签设备建立蓝牙通信连接;establishing a Bluetooth communication connection between the electronic device and the tag device;
所述电子设备通过第一UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the idle UWB channel;
所述电子设备通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;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;
所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The electronic device establishes a UWB communication connection with the tag device through the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
其中,电子设备的具体描述可以参考如图6所示的电子设备的相应描述,或者,图7所示的UWB模块的电子设备相关描述,标签设备的具体描述可以参考图7所示的标签设备的相应描述。The specific description of the electronic device may refer to the corresponding description of the electronic device shown in FIG. 6 , or the related description of the electronic device of the UWB module shown in FIG. 7 , and the specific description of the label device may refer to the label device shown in FIG. 7 . corresponding description.
本实施例还提供了一种计算机可读存储介质,其中,该计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例,以用于实现上述实施例中的任一方法。This 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, so as to realize any of the methods described above.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的任一方法。This embodiment also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to implement any of the methods in the above-mentioned embodiments.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的任一方法。In addition, the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes any one of the foregoing method embodiments.
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated by different The function module is completed, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。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 can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种定位方法,其特征在于,应用于电子设备,所述方法包括:A positioning method, characterized in that, applied to an electronic device, the method comprising:
    与标签设备建立蓝牙通信连接;Establish a Bluetooth communication connection with the tag device;
    监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;Monitor the current network parameters, and determine the target network parameters corresponding to the idle UWB channel;
    通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;sending 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;
    与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the tag device, and the relative position between the electronic device and the tag device is determined based on the UWB communication data with the tag device.
  2. 根据权利要求1所述方法,其特征在于,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,所述第一UWB模块包括第一UWB天线和第二UWB天线;The method according to claim 1, wherein the electronic device establishes a UWB communication connection with the tag device through a first UWB module, and the first UWB module includes a first UWB antenna and a second UWB antenna;
    所述基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置,包括:The determining the relative position between the electronic device and the tag device based on the UWB communication data with the tag device includes:
    通过所述第一UWB天线向所述标签设备发送第一UWB信号;Send a first UWB signal to the tag device through the first UWB antenna;
    接收由所述标签设备发送的第二UWB信号;receiving a second UWB signal sent by the tag device;
    通过所述第一UWB信号、所述第二UWB信号确定所述第一UWB天线与所述标签设备之间的第一方位信息,所述第一方位信息包括所述第一UWB天线与所述标签设备之间的第一相对角度和第一相对距离;The first orientation information between the first UWB antenna and the tag device is determined by the first UWB signal and the second UWB signal, where the first orientation information includes the first UWB antenna and the tag device. a first relative angle and a first relative distance between the labeling devices;
    通过所述第二UWB天线向所述标签设备发送第三UWB信号;sending a third UWB signal to the tag device through the second UWB antenna;
    接收由所述标签设备发送的第四UWB信号;receiving a fourth UWB signal sent by the tag device;
    通过所述第三UWB信号、所述第四UWB信号确定所述第二UWB天线与所述标签设备之间的第二方位信息,所述第二方位信息包括所述第二UWB天线与所述标签设备之间的第二相对角度和第二相对距离;The second orientation information between the second UWB antenna and the tag device is determined by the third UWB signal and the fourth UWB signal, where the second orientation information includes the second UWB antenna and the tag device. a second relative angle and a second relative distance between the labeling devices;
    根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置,所述相对位置包括相对角度和相对距离。The relative position between the electronic device and the label device is determined according to the first orientation information and the second orientation information, and the relative position includes a relative angle and a relative distance.
  3. 根据权利要求2所述的方法,其特征在于,在所述根据所述第一方位信息和所述第二方位信息确定所述电子设备与所述标签设备之间的相对位置之后,所述方法还包括:The method according to claim 2, wherein after determining the relative position between the electronic device and the label device according to the first orientation information and the second orientation information, the method Also includes:
    控制所述第一UWB模块进入休眠状态。The first UWB module is controlled to enter a sleep state.
  4. 根据权利要求3所述的方法,其特征在于,在所述控制所述第一UWB模块进入休眠状态之后,所述方法还包括:The method according to claim 3, wherein after the controlling the first UWB module to enter a sleep state, the method further comprises:
    在预设时刻到达时,唤醒所述第一UWB模块,执行所述通过所述第一UWB天线向所述标签设备发送第一UWB信号的步骤。When a preset time arrives, wake up the first UWB module, and execute the step of sending a first UWB signal to the tag device through the first UWB antenna.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    广播寻物指令,所述寻物指令携带所述标签设备的标识信息;Broadcasting an object-finding instruction, the object-finding instruction carries the identification information of the labeling device;
    接收由所述标识信息对应的标签设备发送的确认消息,并建立所述电子设备与所述标签设备之间的蓝牙连接。A confirmation message sent by the tag device corresponding to the identification information is received, and a Bluetooth connection between the electronic device and the tag device is established.
  6. 根据权利要求5所述的方法,其特征在于,在所述基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,所述方法还包括:The method according to claim 5, wherein after the 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: :
    向所述标签设备发送通信断开指令,所述通信断开指令用于指示所述标签设备断开UWB通信连接以及断开蓝牙通信连接,以及指示所述标签设备进入蓝牙低功耗模式。A communication disconnection instruction is sent to the tag device, where the communication disconnection instruction is used to instruct the tag device to disconnect the UWB communication connection and the Bluetooth communication connection, and instruct the tag device to enter a Bluetooth low energy consumption mode.
  7. 根据权利要求1-4任一项所述的方法,其特征在于,所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接;The method according to any one of claims 1-4, wherein the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
    所述第一UWB模块与所述电子设备分离设置,所述第一UWB模块通过接口电路与所述电子设备电连接。The first UWB module is provided separately from the electronic device, and the first UWB module is electrically connected to the electronic device through an interface circuit.
  8. 根据权利要求1-4任一项所述的方法,其特征在于,所述电子设备通过第一UWB模块与所述标 签设备建立UWB通信连接;The method according to any one of claims 1-4, wherein the electronic device establishes a UWB communication connection with the tag device through a first UWB module;
    所述第一UWB模块设置在所述电子设备内部。The first UWB module is arranged inside the electronic device.
  9. 一种定位方法,其特征在于,应用于标签设备,所述标签设备包括第二UWB模块,所述方法包括:A positioning method, characterized in that it is applied to a label device, wherein the label device includes a second UWB module, and the method includes:
    与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备通过监听当前网络参数、确定出的空闲UWB信道对应的目标网络参数;Establish a Bluetooth communication connection with the electronic device, and receive the target network parameters sent by the electronic device through the Bluetooth channel, where the target network parameters are the target network parameters corresponding to the idle UWB channel determined by the electronic device by monitoring the current network parameters and determining ;
    启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;starting the second UWB module, and starting and configuring the UWB communication channel based on the target network parameters;
    与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  10. 根据权利要求9所述的方法,其特征在于,在所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置之后,所述方法还包括:The method according to 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 Also includes:
    控制所述第二UWB模块进入休眠状态。The second UWB module is controlled to enter a sleep state.
  11. 根据权利要求10所述的方法,其特征在于,在所述控制所述第二UWB模块进入休眠状态之后,所述方法还包括:The method according to claim 10, wherein after the controlling the second UWB module to enter a sleep state, the method further comprises:
    在预设时刻到达时,唤醒所述第二UWB模块,执行所述与所述电子设备建立UWB通信连接的步骤。When the preset time arrives, wake up the second UWB module, and perform the step of establishing a UWB communication connection with the electronic device.
  12. 根据权利要求9-11任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9-11, wherein the method further comprises:
    接收由所述电子设备发送的通信断开指令;receiving a communication disconnection instruction sent by the electronic device;
    响应所述通信断开指令,断开UWB通信连接,控制所述第二UWB模块进入睡眠状态,断开蓝牙通信连接,进入蓝牙低功耗模式。In response to the communication disconnection instruction, the UWB communication connection is disconnected, the second UWB module is controlled to enter a sleep state, the Bluetooth communication connection is disconnected, and the Bluetooth low power consumption mode is entered.
  13. 一种定位装置,其特征在于,应用于电子设备,所述装置包括:连接单元、确定单元和发送单元,其中,A positioning device is characterized in that, applied to electronic equipment, the device comprises: a connecting unit, a determining unit and a sending unit, wherein,
    所述连接单元,用于与标签设备建立蓝牙通信连接;The connection unit is used to establish a Bluetooth communication connection with the tag device;
    所述确定单元,用于监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The determining unit is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel;
    所述发送单元,用于通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;the sending unit, configured to send 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;
    所述连接单元,还用于与所述标签设备建立UWB通信连接;The connection unit is further configured to establish a UWB communication connection with the tag device;
    所述确定单元,还用于基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The determining unit is further configured to determine the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  14. 一种定位装置,其特征在于,应用于标签设备,所述标签设备包括第二UWB模块,所述装置包括:连接单元和配置单元,其中,A positioning device is characterized in that, it is applied to a label device, the label device includes a second UWB module, the device includes: a connection unit and a configuration unit, wherein,
    所述连接单元,用于与电子设备建立蓝牙通信连接,接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The connection unit is used to establish a Bluetooth communication connection with the electronic device, and receive target network parameters sent by the electronic device through a Bluetooth channel, where the target network parameters are the current network parameters monitored by the electronic device, and an idle UWB channel is determined. Corresponding target network parameters;
    所述配置单元,用于启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;the configuration unit, configured to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
    所述连接单元,还用于与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The connection unit is further configured to establish a UWB communication connection with the electronic device, so that the electronic device determines the relative relationship between the electronic device and the tag device based on the UWB communication data with the tag device Location.
  15. 一种定位***,其特征在于,所述定位***包括电子设备和标签设备;A positioning system, characterized in that the positioning system includes an electronic device and a labeling device;
    所述电子设备与所述标签设备建立蓝牙通信连接;establishing a Bluetooth communication connection between the electronic device and the tag device;
    所述电子设备通过第一UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;The electronic device monitors the current network parameters through the first UWB module, and determines the target network parameters corresponding to the idle UWB channel;
    所述电子设备通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;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;
    所述电子设备通过第一UWB模块与所述标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The electronic device establishes a UWB communication connection with the tag device through the first UWB module, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  16. 一种电子设备,其特征在于,所述电子设备包括:处理器、存储器和第一UWB模块;An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a first UWB module;
    所述处理器分别与所述存储器、所述第一UWB模块电性相连;The processor is electrically connected to the memory and the first UWB module, respectively;
    所述第一UWB模块,用于监听当前网络参数,确定出空闲UWB信道对应的目标网络参数;所述第一UWB模块还用于与所述标签设备建立UWB通信连接;The first UWB module is used to monitor the current network parameters and determine the target network parameters corresponding to the idle UWB channel; the first UWB module is also used to establish a UWB communication connection with the tag device;
    所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:The memory stores at least one instruction for execution by the processor to perform the following steps:
    与标签设备建立蓝牙通信连接;Establish a Bluetooth communication connection with the tag device;
    通过蓝牙信道将所述目标网络参数发送给所述标签设备,以使得所述标签设备基于所述目标网络参数配置UWB通信信道;sending 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;
    基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The relative position between the electronic device and the tag device is determined based on UWB communication data with the tag device.
  17. 一种UWB模块,其特征在于,所述UWB模块包括:UWB天线和接口电路;A UWB module, characterized in that the UWB module comprises: a UWB antenna and an interface circuit;
    所述UWB天线和所述接口电路电性相连;the UWB antenna is electrically connected to the interface circuit;
    所述UWB模块用于通过所述接口电路与电子设备相连,以使得所述电子设备通过所述UWB模块监听当前网络参数,确定出空闲UWB信道对应的目标网络参数,并通过所述UWB模块与标签设备建立UWB通信连接,基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。The UWB module is used to connect with the electronic device through the interface circuit, so that the electronic device monitors the current network parameters through the UWB module, determines the target network parameters corresponding to the idle UWB channel, and communicates with the UWB module through the UWB module. The tag device establishes a UWB communication connection, and determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  18. 一种标签设备,其特征在于,所述标签设备包括处理器、存储器、蓝牙模块以及第二UWB模块,所述处理器分别与所述存储器、蓝牙模块、第二UWB模块电连接;A label device, characterized in that the label 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;
    所述蓝牙模块用于与电子设备建立蓝牙通信连接;所述处理器用于启动所述第二UWB模块,基于所述目标网络参数启动配置UWB通信信道;The bluetooth module is used to establish a bluetooth communication connection with the electronic device; the processor is used to start the second UWB module, and start and configure the UWB communication channel based on the target network parameter;
    所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以执行如下步骤:The memory stores at least one instruction for execution by the processor to perform the following steps:
    接收由所述电子设备通过蓝牙信道发送的目标网络参数,所述目标网络参数为所述电子设备通过监听当前网络参数、确定出的空闲UWB信道对应的目标网络参数;Receive the target network parameter sent by the electronic device through the Bluetooth channel, where the target network parameter is the target network parameter corresponding to the idle UWB channel determined by the electronic device by monitoring the current network parameter;
    与所述电子设备建立UWB通信连接,以使得所述电子设备基于与所述标签设备之间的UWB通信数据确定所述电子设备与所述标签设备之间的相对位置。A UWB communication connection is established with the electronic device, so that the electronic device determines the relative position between the electronic device and the tag device based on the UWB communication data with the tag device.
  19. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-12任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-12.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-12任一项所述的方法。A computer program product, characterized in that the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform the method described in any one of claims 1-12 method described.
PCT/CN2021/116481 2020-11-16 2021-09-03 Positioning method, apparatus and system, and electronic device and storage medium WO2022100238A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2022100238A1 true WO2022100238A1 (en) 2022-05-19

Family

ID=81546424

Family Applications (1)

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

Country Status (2)

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

Cited By (3)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116260554A (en) * 2023-02-01 2023-06-13 杭州优智联科技有限公司 BLE-UWB-based data transmission fault-tolerant scheduling method, device, system and medium

Citations (4)

* 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
CN109282811A (en) * 2018-09-21 2019-01-29 国网江苏省电力有限公司镇江供电分公司 Indoor and outdoor positioning system and method for interconnecting UWB (ultra wide band) and smart phone
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

Family Cites Families (4)

* 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
CN111148215B (en) * 2019-03-27 2021-06-25 广东小天才科技有限公司 Positioning method and system of mobile equipment and related equipment

Patent Citations (4)

* 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
CN109282811A (en) * 2018-09-21 2019-01-29 国网江苏省电力有限公司镇江供电分公司 Indoor and outdoor positioning system and method for interconnecting UWB (ultra wide band) and smart phone
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHENG YUN; ZHOU TAOYUN: "UWB Indoor Positioning Algorithm Based on TDOA Technology", 2019 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY IN MEDICINE AND EDUCATION (ITME), 23 August 2019 (2019-08-23), pages 777 - 782, XP033694241, DOI: 10.1109/ITME.2019.00177 *

Cited By (5)

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

Also Published As

Publication number Publication date
CN114513847A (en) 2022-05-17
CN114513847B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
EP4084450A1 (en) Display method for foldable screen, and related apparatus
WO2022100238A1 (en) Positioning method, apparatus and system, and electronic device and storage medium
WO2021052279A1 (en) Foldable screen display method and electronic device
CN113691842B (en) Cross-device content projection method and electronic device
CN112771900B (en) Data transmission method and electronic equipment
CN111182614B (en) Method and device for establishing network connection and electronic equipment
WO2021223539A1 (en) Radio frequency resource allocation method and apparatus
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
CN111983559A (en) Indoor positioning navigation method and device
CN112637758B (en) Equipment positioning method and related equipment thereof
CN112130788A (en) Content sharing method and device
WO2022017474A1 (en) Task processing method and related apparatus
CN114079893A (en) Bluetooth communication method, terminal device and computer readable storage medium
WO2021073183A1 (en) Always on display method and mobile device
WO2022121445A1 (en) Widget adding method, apparatus, and computer-readable storage medium
WO2022048453A1 (en) Unlocking method and electronic device
CN111492678B (en) File transmission method and electronic equipment
CN114384465A (en) Azimuth angle determination method and device
CN116048436B (en) Application interface display method, electronic device and storage medium
WO2022152174A9 (en) Screen projection method and electronic device
WO2022037725A1 (en) System service recovery method and apparatus, and electronic device
CN114500732B (en) Interface display method, electronic equipment and storage medium
CN114915996A (en) Communication exception handling method and related device
CN115206308A (en) Man-machine interaction method and electronic equipment
WO2022188511A1 (en) Voice assistant wake-up method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21890766

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21890766

Country of ref document: EP

Kind code of ref document: A1