Wearable device positioning method, wearable device and storage medium

By combining sound wave positioning technology with Bluetooth signals, the microphone and speaker of the smart device are used to calculate the time of flight difference, achieving accurate positioning of the wearable device, solving the problem of positioning difficulties when the Bluetooth connection is abnormal, broadening the search range and improving positioning accuracy.

CN113055817BActive Publication Date: 2024-09-27TOUCHAIR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110348290.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2024-09-27
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

It is difficult for existing wearable devices to achieve long-distance positioning when the Bluetooth connection is abnormal, resulting in users being unable to accurately retrieve their lost devices.

Method used

Using two-way ranging technology based on acoustic wave positioning, it sends and receives signals through the microphone and speaker of smart devices, calculates the time of flight difference to determine the distance and angle between devices, and combines Bluetooth and acoustic wave signals for fusion positioning to achieve a wider search range and Higher positioning accuracy.

Benefits of technology

Without adding additional components, it achieves accurate positioning between devices, broadens the search range, enhances positioning accuracy, and solves the problem of limited Bluetooth signal coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113055817B
    Figure CN113055817B
Patent Text Reader

Abstract

This invention discloses a positioning method for wearable devices, a wearable device, and a storage medium. When it is determined that the Bluetooth connection with the host device is abnormal, a first acoustic positioning signal is sent; the first acoustic positioning signal is received; a first notification message containing a first time difference between a first moment when the host device receives a second acoustic positioning signal and a second moment when the host device receives the first acoustic positioning signal, wherein the second acoustic positioning signal is sent by the host device; the second acoustic positioning signal is received; a second time difference is determined between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; the distance between the wearable device and the host device is determined based on the first and second time differences, and an angle is determined based on the acoustic positioning method; a prompt message containing the distance and angle is sent to the host device for the host device to display the distance and angle. The wearable device can be located when the Bluetooth connection is abnormal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of smart devices, and more specifically, to a positioning method for a wearable device, a wearable device, and a storage medium. Background Art

[0002] With the continuous development of edge computing capabilities and short-range communication technologies such as Bluetooth technology, wearable wireless devices such as smart watches, bracelets, wireless headphones, etc. have become part of people's daily lives. These products have enriched people's lifestyles and provided convenience for daily life. Due to the small size of wearable devices and for the comfort of wearing, wearable devices usually adopt a "non-sense" design. Such devices are often easy to lose and difficult to find. If wearable devices can be detected in real time, users can be prompted when the device is away from the user, and after confirming that the device is lost, the location information of the device loss point can be provided to the user within a certain range, which will help solve the problem of easy loss of wearable devices.

[0003] At present, the mainstream communication method for smart devices to maintain continuous connection and data exchange with host devices such as mobile phones is Bluetooth communication. With the launch of Bluetooth 5.1, the direction-finding function has been added to Bluetooth technology. With the proximity technology of Bluetooth, each slave device (such as wearable devices, etc.) connected to the host (such as a mobile phone) can be accurately located by the host in terms of angle and distance. This function can help device users quickly find their wearable devices.

[0004] However, due to signal attenuation, the effective search radius between Bluetooth devices is usually limited (for example, only 10 meters), which greatly limits the positioning of long-distance devices. When a wearable device falls off during use and the user realizes that the device is lost, the distance between the wearable device and the mobile phone may have exceeded the 10-meter range. At this time, the Bluetooth connection between the devices is disconnected, and the Bluetooth mechanism is difficult to accurately locate, resulting in the user being unable to successfully retrieve the wearable device. Summary of the invention

[0005] The embodiments of the present invention provide a positioning method for a wearable device, a wearable device, and a storage medium.

[0006] The technical solution of the embodiment of the present invention is as follows:

[0007] A positioning method for a wearable device, the method being applicable to the wearable device, the method comprising: when it is determined that the Bluetooth connection between the wearable device and a host device is abnormal, sending a first acoustic positioning signal; receiving the first acoustic positioning signal; receiving a first notification message including a first time difference between a first moment when the host device receives a second acoustic positioning signal and a second moment when the host device receives the first acoustic positioning signal, wherein the second acoustic positioning signal is sent by the host device; receiving the second acoustic positioning signal; determining a second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; determining the distance between the wearable device and the host device based on the first time difference and the second time difference; determining the angle between the wearable device and the host device based on the acoustic positioning method; and sending a prompt message including the distance and the angle to the host device, so that the host device displays the distance and the angle.

[0008] A wearable device comprises: a sending module, configured to send a first acoustic positioning signal when determining that the Bluetooth connection between the wearable device and a host device is abnormal; a receiving module, configured to receive the first acoustic positioning signal; receiving a first notification message including a first time difference between a first moment when the host device receives a second acoustic positioning signal and a second moment when the host device receives the first acoustic positioning signal, wherein the second acoustic positioning signal is sent by the host device; receiving the second acoustic positioning signal; a determining module, configured to determine a second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; determining the distance between the wearable device and the host device based on the first time difference and the second time difference; determining the angle between the wearable device and the host device based on an acoustic positioning method; and a prompting module, configured to send a prompting message including the distance and the angle to the host device, so that the host device displays the distance and the angle.

[0009] A wearable device comprises a processor and a memory; the memory stores an application program executable by the processor, which is used to enable the processor to execute the positioning method of the wearable device as described in any one of the above items.

[0010] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the positioning method of the wearable device as described in any one of the above items is implemented.

[0011] It can be seen from the above technical solution that in the embodiment of the present invention: when it is determined that the Bluetooth connection with the host device is abnormal, send a first acoustic positioning signal; receive the first acoustic positioning signal; receive a first notification message containing a first time difference between a first moment when the host device receives the second acoustic positioning signal and a second moment when the first acoustic positioning signal is received, wherein the second acoustic positioning signal is sent by the host device; receive the second acoustic positioning signal; determine the second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; determine the distance between the wearable device and the host device based on the first time difference and the second time difference, and determine the angle based on the acoustic positioning method; send a prompt message containing the distance and angle to the host device so that the host device can display the distance and angle. It can be seen that in the embodiment of the present invention, when the Bluetooth connection is abnormal, the wearable device can still be accurately positioned based on the acoustic positioning method. In addition, the present invention proposes a static distance measurement method based on sound waves, and the two-way distance measurement technology based on the time of flight realizes distance measurement without time synchronization. In the entire positioning process, there is no need to synchronize the clocks between the devices. Whether the clock is accurate or not, whether the device response time is different, etc., are filtered out due to the difference, so the positioning accuracy is more accurate than the positioning method with a synchronization process. Moreover, considering that the host device and the wearable device generally have sound wave receivers (such as microphones) and sound wave transmitters (such as speakers), the distance measurement between the two devices can be realized without adding additional components. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is an exemplary flow chart of a positioning method for a wearable device according to an embodiment of the present invention.

[0013] Figure 2 The figure is an exemplary interactive diagram of the distance measurement process of the wearable device according to the embodiment of the present invention.

[0014] Figure 3 A schematic diagram of a received signal during a distance measurement process between a host device and a wearable device according to an embodiment of the present invention.

[0015] Figure 4 This is a schematic diagram of positioning a wearable device based on a cloud server according to an embodiment of the present invention.

[0016] Figure 5 4 is an exemplary structural diagram of a wearable device according to an embodiment of the present invention.

[0017] Figure 6 4 is an exemplary structural diagram of a wearable device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings.

[0019] For the sake of brevity and intuitiveness in description, the scheme of the present invention is explained below by describing several representative implementations. A large number of details in the implementations are only used to help understand the scheme of the present invention. However, it is obvious that the technical scheme of the present invention may not be limited to these details when implemented. In order to avoid unnecessarily obscuring the scheme of the present invention, some implementations are not described in detail, but only a framework is given. Hereinafter, "including" means "including but not limited to", and "according to..." means "at least according to..., but not limited to only according to...". Due to the language habits of Chinese, when the number of a component is not specifically specified below, it means that the component can be one or more, or can be understood as at least one.

[0020] In the implementation manner of the present invention, a two-way distance measurement technology based on time of flight (TOF) is first implemented without time synchronization, and the sound wave receiver (such as a microphone) and sound wave transmitter (such as a speaker) generally provided by smart devices are applied. No additional components are required to achieve distance measurement between two relatively stationary (or, for example, relative movement speed is less than 5m / s) smart devices (for example, a host device of a wearable device and a wearable device).

[0021] Moreover, in the embodiments of the present invention, the microphone recording system of the smart device can be used to accurately calculate the response time of the device, and the response mechanism of the smart device can be added. Through communication methods such as Bluetooth, infrared, WiFi, mobile communication network or direct sound wave modulation, the located device sends the signal processing time to the positioning device, thereby improving the positioning accuracy and making the positioning result accurate and reliable. In addition, the present invention does not need to synchronize the clocks between the devices during the entire positioning process, so whether the clock marks (timestamps) of the two devices are accurately synchronized, whether the device software processing reaction time is different, etc., are eliminated due to the calculation method proposed by the present invention, so the positioning accuracy that can be obtained by the synchronous clock system (or the transceiver system) can be achieved.

[0022] First of all, an intelligent device refers to any device, instrument or machine with computing and processing capabilities. Specifically, an intelligent device may include an acoustic wave transmitting module, an acoustic wave receiving module and a signal processing module, such as a mobile terminal (such as a smart phone), a tablet computer, a smart watch, a smart TV, etc., which can be used to transmit and receive acoustic wave positioning signals. Wearable devices and host devices of wearable devices can all fall into the category of intelligent devices.

[0023] Figure 1The present invention is an exemplary flow chart of a positioning method for a wearable device according to an embodiment of the present invention. The method is applicable to a wearable device. The wearable device is generally matched with a host device. The wearable device can generally be regarded as a slave device controlled by the host device. The wearable device and the host device (e.g., a smart phone) respectively include a sound wave sending module and a sound wave receiving module.

[0024] like Figure 1 As shown, the method includes:

[0025] Step 101: When the wearable device determines that the Bluetooth connection between the wearable device and the host device is abnormal, a first acoustic positioning signal is sent.

[0026] Here, when the wearable device determines that the Bluetooth connection with the host device is abnormal, the sound wave sending module (such as a speaker) of the wearable device sends a first sound wave positioning signal. For example, when the wearable device detects that the Bluetooth connection with the host device is interrupted, the Bluetooth connection is intermittent, or the signal strength of the Bluetooth connection is less than a predetermined threshold value, the wearable device can determine that the Bluetooth connection with the host device is abnormal.

[0027] Step 102: The wearable device receives a first acoustic positioning signal.

[0028] For example, the sound wave receiving module (such as a microphone or a microphone array) of the wearable device receives the first sound wave positioning signal sent by the sound wave sending module of the wearable device via the air medium.

[0029] Step 103: The wearable device receives a first notification message including a first time difference between a first moment when the host device receives a second acoustic positioning signal and a second moment when the host device receives the first acoustic positioning signal, wherein the second acoustic positioning signal is sent by the host device.

[0030] Here, the sound wave sending module (such as a speaker) of the host device sends a second sound wave positioning signal, and the sound wave receiving module (such as a microphone or a microphone array) of the host device receives the second sound wave positioning signal sent by the sound wave sending module of the host device. In addition, the host device determines the first time difference between the first moment of receiving the second sound wave positioning signal and the second moment of receiving the first sound wave positioning signal, and sends the first notification message containing the first time difference to the wearable device. For example, the host device sends the first notification message to the wearable device through infrared, WiFi, mobile communication network or direct sound wave modulation and other communication methods.

[0031] Step 104: The sound wave receiving module of the wearable device receives the second sound wave positioning signal.

[0032] Step 105: The wearable device determines a second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal.

[0033] Step 106: The wearable device determines the distance between the wearable device and the host device based on the first time difference and the second time difference.

[0034] Step 107: The wearable device determines the angle between the wearable device and the host device based on the sound wave positioning method.

[0035] In one embodiment, the wearable device determines the angle between the wearable device and the host device based on the sound wave positioning method, including: determining the time difference between the reception time of the first sound detection module in the wearable device for the first sound signal and the reception time of the second sound detection module in the wearable device for the first sound signal, wherein the first sound signal is sent when the host device determines that the Bluetooth connection with the wearable device is abnormal; based on the distance between the first sound detection module and the second sound detection module and the time difference between the reception time of the first sound detection module and the reception time of the first sound detection module for the first sound signal, determine the angle between the wearable device and the host device.

[0036] Here, the specific implementation process of the wearable device determining the angle between the wearable device and the host device based on the ultrasonic positioning method can refer to the specific description of the method for determining the relative angle between smart devices described in Chinese Patent Publication No. CN112098929A, and the implementation method of the present invention will not be repeated here.

[0037] Step 108: The wearable device sends a prompt message including the distance and the angle to the host device, so that the host device displays the distance and the angle. For example, the wearable device sends the prompt message including the distance and the angle to the host device via infrared, WiFi, mobile communication network, or direct sound wave modulation. After receiving the prompt message, the host device displays the distance and the angle.

[0038] For example, the distance and the angle are displayed on a display screen of the host device, or the distance and the angle are played by voice, etc.

[0039] The first sonic positioning signal and the second sonic positioning signal are preferably implemented as ultrasonic signals.

[0040] In one embodiment, before sending the first acoustic positioning signal in step 101, the wearable device sends a ranging start signal and starts the acoustic recording function of the wearable device, so that the host device starts the acoustic recording function of the host device when receiving the ranging start signal.

[0041] In one embodiment, it also includes: determining the first time difference based on the difference in the number of sampling points at which the host device receives the second sound wave positioning signal in the recording file generated by the sound wave recording function of the host device and the sampling points at which the host device receives the first sound wave positioning signal in the recording file generated by the sound wave recording function of the host device, and a predetermined first sampling frequency.

[0042] In one embodiment, it also includes: determining the second time difference based on the difference in the number of sampling points at which the wearable device receives the second sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device and the sampling points at which the wearable device receives the first sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device, and a predetermined second sampling frequency.

[0043] The sampling frequency of the wearable device (ie, the second sampling frequency) and the sampling frequency of the host device (ie, the first sampling frequency) may be the same or different.

[0044] In one embodiment, the second acoustic positioning signal is sent by the host device after receiving the first acoustic positioning signal. In one embodiment, the second acoustic positioning signal is sent by the host device at a predetermined time point.

[0045] When the second acoustic positioning signal is sent by the host device after receiving the first acoustic positioning signal, the first time difference is a positive value. When the scheduled time point for the host device to send the second acoustic positioning signal is before the host device receives the first acoustic positioning signal, the first time difference is a negative value. Similarly, when the wearable device has received the first acoustic positioning signal before receiving the second acoustic positioning signal, the second time difference is a positive value; when the wearable device receives the first acoustic positioning signal after receiving the second acoustic positioning signal, the second time difference is a negative value.

[0046] In one embodiment, determining the distance between the wearable device and the host device based on the first time difference and the second time difference in step 106 includes: determining the distance D, where Wherein T1 is the second time difference, T2 is the first time difference, and c is the speed of sound.

[0047] In one embodiment, when the host device determines that the Bluetooth connection with the wearable device is normal, the host device determines the position of the wearable device based on the Bluetooth positioning method. For example, the host device quickly determines the position of the wearable device (including the distance and angle to the wearable device) based on the direction-finding function and proximity technology added to the Bluetooth protocol.

[0048] It can be seen that, considering the problem that long-distance device positioning using Bluetooth is limited by the coverage range of Bluetooth signals, the embodiment of the present invention proposes a fusion positioning solution based on Bluetooth and sound waves (preferably ultrasound). When the Bluetooth connection between the slave device (wearable device) and the host device is normal, the host device determines the position of the wearable device based on the Bluetooth positioning method; when the Bluetooth connection between the slave device (wearable device) and the host device is unstable and cannot be accurately positioned, the position of the wearable device is determined using a sound wave signal (preferably an ultrasonic signal) with a larger signal effective range.

[0049] Specifically, first determine (the wearable device and the host device determine bidirectionally) whether the Bluetooth connection status of the master-slave device is stable. When the host device determines that the Bluetooth connection is stable, the host device uses Bluetooth's proximity, direction-finding and other angle distance sensing technologies to achieve distance perception between the master and slave devices, and provide real-time location information between the master and slave devices within a radius of 10m. When the wearable device determines that the Bluetooth connection is unstable or the connection is lost, the wearable device calculates the position angle between the devices based on the ultrasonic signal, and provides master-slave location information within a radius of 30m. Preferably, the ultrasonic signals used for communication between devices are encrypted and can only be recognized by paired master-slave devices. When the host device user continues to approach the slave device until the master and slave re-establish a stable Bluetooth connection, the master and slave devices will switch back to Bluetooth positioning mode.

[0050] Preferably, the host device includes but is not limited to a smart phone, a computer, a personal digital assistant, etc. The slave device includes but is not limited to a wireless headset, a smart watch, a wristband, etc.

[0051] The following uses a mobile phone and a smart watch as an example. When a user cannot find his smart watch, the user tries to locate the device using the Bluetooth signal through the mobile phone to see if the device can be successfully located; if the mobile phone cannot establish a Bluetooth connection with the watch, the watch will emit an ultrasonic signal to search the mobile phone in a large area, and finally help the mobile phone user find the smart watch.

[0052] In one embodiment, the present invention also implements the device positioning relay capability. After applying this function, when the master and slave devices are beyond the range that the ultrasonic Bluetooth device positioning system can locate, users who authenticate each other on the same network can implement device positioning relay. The process of this function is as follows:

[0053] Step 1: When the slave device (wearable device) loses connection with the host device and cannot reconnect with the host device, the slave device continuously sends encrypted short pulse ultrasonic signals to the surrounding area. The user of the host device cannot locate the slave device through Bluetooth and ultrasound, and then sends a device positioning relay request to the cloud server.

[0054] Step 2: When other devices on the same communication network pass near the lost slave device, the encrypted short pulse ultrasonic signal is uploaded to the cloud server via the communication network through other devices. The uploaded data also includes the global positioning of the uploading device.

[0055] Step 3: The cloud server calculates the position of the encrypted ultrasonic signal and uses the global positioning of the device uploading the signal to infer the global positioning of the lost slave device.

[0056] Step 4: The cloud server pushes the global location of the lost slave device to the user of the host device.

[0057] Among them, the communication network includes but is not limited to WIFI, CDMA, etc., and the global positioning system includes but is not limited to GPS, etc. The following master and slave machines are explained by taking mobile phones and smart watches as examples, the communication network takes CDMA as an example, and the global positioning system takes GPS as an example. The user lost his smart watch but did not find it in time. When he finally realized that the smart watch was lost and queried the location through the ultrasonic Bluetooth device positioning method, the smart watch could not receive Bluetooth and ultrasonic signals at this time. At this time, the mobile phone sends a relay positioning request to the cloud server through the communication network. After receiving the request, the cloud server queries whether the encrypted ultrasonic signal sent by the user's smart watch has been uploaded to the server. After querying the relevant signal, the cloud server uses the GPS positioning of the signal uploading device and the relative position of the device to send the accurate location of the smart watch to the user who sent the relay positioning request.

[0058] Device positioning relay can be implemented in a variety of ways. In one embodiment, the method further includes: when the host device fails to receive a prompt message within a predetermined time after sending the second acoustic wave positioning signal or the host device determines that the Bluetooth connection between the host device and the wearable device is abnormal, the host device receives the positioning information of the wearable device from the cloud server; the host device displays the positioning information of the wearable device.

[0059] The host device receiving the positioning information of the wearable device from the cloud server specifically includes:

[0060] Method (1): When the wearable device cannot receive the first notification message within a predetermined time after sending the first acoustic positioning signal, it further sends a first sound signal (preferably, the signal strength of the first sound signal is greater than the first acoustic positioning signal); the peripheral device of the wearable device that receives the first sound signal sends the identifier of the peripheral device to a cloud server; the cloud server queries the location information of the peripheral device based on the identifier of the peripheral device; the cloud server sends the location information of the peripheral device to the host device as the positioning information of the wearable device.

[0061] In method (1), the specific location of the wearable device is roughly determined by using the location information of the peripheral device of the wearable device that can receive the first sound signal.

[0062] Mode (2): When the wearable device cannot receive the first notification message within a predetermined time after sending the first sound wave positioning signal, it further sends a first sound signal (preferably, the signal strength of the first sound signal is greater than the first sound wave positioning signal); when the peripheral device of the wearable device receives the first sound signal, it sends a third sound wave positioning signal; the peripheral device receives the third sound wave positioning signal; the peripheral device receives a second notification message including a third time difference between a fifth moment when the wearable device receives a fourth sound wave positioning signal and a sixth moment when the wearable device receives the third sound wave positioning signal, wherein the fourth sound wave positioning signal is sent by the wearable device; the peripheral device receives the fourth sound wave positioning signal; the peripheral device determines that the peripheral device has received the fourth sound wave positioning signal. The invention relates to a method for controlling the positioning of the wearable device and a peripheral device, wherein the peripheral device receives the third acoustic positioning signal and the peripheral device receives the third acoustic positioning signal ...

[0063] Mode (3): When the wearable device cannot receive the first notification message within a predetermined time after sending the first acoustic positioning signal, it further sends a third acoustic positioning signal (preferably, the signal strength of the third acoustic positioning signal is greater than that of the first acoustic positioning signal); the wearable device receives the third acoustic positioning signal; the wearable device receives a second notification message including a third time difference between a fifth moment when the peripheral device of the wearable device receives a fourth acoustic positioning signal and a sixth moment when the peripheral device receives the third acoustic positioning signal, wherein the fourth acoustic positioning signal is sent by the peripheral device; the wearable device receives the fourth acoustic positioning signal; the wearable device determines a third time difference between a seventh moment when the wearable device receives the fourth acoustic positioning signal and an eighth moment when the wearable device receives the third acoustic positioning signal. four time differences; the wearable device determines the distance between the wearable device and the peripheral device based on the third time difference and the fourth time difference; the wearable device sends a prompt message containing the distance between the wearable device and the peripheral device to the peripheral device; the peripheral device determines the angle between the peripheral device and the wearable device based on the sound wave positioning method; the peripheral device sends a notification message containing the angle between the peripheral device and the wearable device and the distance between the peripheral device and the wearable device to the cloud server; the cloud server determines the positioning information of the wearable device based on the positioning information of the peripheral device, the angle between the peripheral device and the wearable device, and the distance between the peripheral device and the wearable device; the cloud server sends the positioning information of the wearable device to the host device.

[0064] Figure 4 This is a schematic diagram of positioning a wearable device based on a cloud server according to an embodiment of the present invention.

[0065] exist Figure 4 In the present invention, when the Bluetooth connection between the host device and the wearable device is normal (the distance is less than 10 meters), the Bluetooth mechanism is used to determine the position of the wearable device; when the Bluetooth connection between the host device and the wearable device is abnormal and is in the ultrasonic signal range (the distance is greater than 10 meters and less than 30 meters), the ultrasonic mechanism is used to determine the position of the wearable device; when the Bluetooth connection between the host device and the wearable device is abnormal and is not in the ultrasonic signal range (the distance is greater than 30 meters), the cloud server mechanism is used to determine the position of the wearable device.

[0066] In one embodiment, the method further implements the device distance warning and connection loss warning functions. The specific process is as follows: the host device sets the alarm distance threshold of the host and the slave during normal operation. The distance between the host and the slave is detected by the ultrasonic Bluetooth device fusion positioning method, and it is determined whether the distance between the master and the slave exceeds the alarm distance threshold, and at the same time, it is determined whether the Bluetooth connection between the host and the slave is abnormally disconnected. When the slave device exceeds a certain distance from the host device, or the host is away from the slave by a certain distance, the user is warned of device disconnection safety through the host (such as a mobile phone) or the slave (such as headphones, watches). Or when the host and the slave suddenly lose the Bluetooth connection during normal operation, the host will also issue a device loss warning to the user. After the user confirms the status of the slave device. If the user finds that the slave device is not lost, the warning can be lifted and the master and slave devices can be reconnected. If the user finds that the slave device is indeed lost, the device can be searched for at the location where the device was lost according to the enabled ultrasonic real-time positioning.

[0067] For example: the host includes but is not limited to mobile phones or computers; the slave includes but is not limited to wireless headphones, smart watches or bracelets. The following uses mobile phones and smart watches as examples to explain the device distance warning and connection loss warning functions. Users can set the safe distance between the mobile phone and the smart watch through the mobile phone. When the device loss warning function is enabled, the relative distance between the mobile phone and the smart watch is detected regularly. When it is detected that the distance between the mobile phone and the smart watch exceeds the safety threshold, a safety warning is issued on the mobile phone and the smart watch respectively. When the user confirms that the smart watch is indeed lost, the ultrasonic Bluetooth fusion positioning can be enabled to search for the lost device in a large range, and the user can retrieve the smart watch based on the positioning information.

[0068] The present invention is described exemplarily below. Figure 2 The figure is an exemplary interactive diagram of the distance measurement process of the wearable device according to the embodiment of the present invention.

[0069] based on Figure 2 The process shown can realize the distance measurement between the host device and the wearable device. The host device and the wearable device respectively include a sound wave transmitting module, a sound wave receiving module and a signal processing module. The host device can be implemented as a smart phone, a tablet computer, a smart watch, a smart TV, etc.; the wearable device can be implemented as a wireless headset, a smart watch, a bracelet, etc.

[0070] Specifically, the sound wave transmitting module may include a speaker for transmitting a sound wave positioning signal, which includes a unique identifier of the transmitting device (such as a MAC address, etc.) and is a signal based on the CDMA code division multiple access technology architecture. Preferably, the host device and the wearable device can respectively emit coded pulses of different frequency carriers, such as a first sound wave positioning signal with a frequency of 20kHz and a second sound wave positioning signal with a frequency of 22kHz, to improve the anti-interference ability of the system. The sound wave receiving module may include a microphone and a recording unit for receiving the sound wave positioning signal and accurately recording the arrival time of the signal.

[0071] Step 1: Set the recording duration t0 (for example, 5 seconds).

[0072] Step 2: When the wearable device determines that the Bluetooth connection with the host device is abnormal, the wearable device sends a ranging start signal to the host device through radio, Wifi, mobile communication network, sound wave (sound wave encoded data interactive communication) and other communication methods. The sending time is recorded as T A,0 At the same time, the wearable device turns on its own sound wave receiving module (typically, it can be a built-in microphone of the wearable device). A,0 From the moment the recording starts until the recording duration is reached and the monitoring / recording ends, the microphone of the wearable device is always in the monitoring and recording state.

[0073] Step 3: The host device receives the ranging start signal sent by the wearable device, recorded as T B,0 At this time, the host device turns on its own sound wave receiving module (typically, it can be a microphone built into the host device). B,0 From the moment the recording starts until the recording duration is reached and monitoring / recording ends, the system is always in monitoring and recording state.

[0074] Step 4: The wearable device transmits a first acoustic positioning signal, which contains a unique identifier of the wearable device (such as a MAC address, etc.). The first acoustic positioning signal has a characteristic pulse peak (usually with a pulse width of less than 100us) for marking the signal moment. Moreover, the first acoustic positioning signal is recorded by the acoustic wave receiving module of the wearable device, and the signal processing module of the wearable device calculates the corresponding relevant pulse peak position, which is marked as T. A,1 time.

[0075] Step 5: The host device receives the first acoustic positioning signal, and the signal processing module of the host device calculates the unique identifier of the first acoustic positioning signal and the position of the relevant characteristic pulse peak, which is marked as T B,2 time.

[0076] Step 6: The host device transmits a second acoustic positioning signal, which contains a unique identifier of the host device (such as a MAC address, etc.). The second acoustic positioning signal has a characteristic pulse peak (usually with a pulse width of less than 100us) for marking the signal moment. Moreover, the second acoustic positioning signal is recorded by the acoustic wave receiving module of the host device. The signal processing module of the host device calculates the relevant characteristic pulse peak position of the second acoustic positioning signal, marked as T B,3 The host device transmits the signal receiving time difference (T) through radio, Bluetooth, Wifi, mobile communication network mode or sound wave (sound wave encoding data interactive communication) and other communication methods. B,3 -T B,2 ) is sent to the wearable device.

[0077] Step 7: The wearable device receives the second acoustic positioning signal and the time difference between the signal transmission and reception of the host device (T B,3 -T B,2 ); The signal processing module of the wearable device calculates the unique identifier and the relevant characteristic pulse peak position in the second acoustic positioning signal, marked as T A,2 time.

[0078] Step 8: The scheduled recording time of the wearable device and the host device ends, and the end time is recorded as T A,3 , T B,4 . Scheduled recording duration t0 = T A,3 -T A,0 =T B,4 -T B,0 .

[0079] Step 9: The wearable device calculates the distance D between it and the host device. Specifically, it includes: firstly calculating the signal flight time TOF = (T A,2 -T A,1 )-(T B,3 -T B,2 ), and then calculate the distance between the two devices Where c is the speed of sound.

[0080] In the whole positioning process, there are possible variables (T A,1 -T A,0 )、(T B,1 -T B,0 ), which is the time when the device microphone and speaker are turned on. However, since there is no need to synchronize the clocks between devices, whether the clocks are accurate or not, whether the device response times are different, etc., are filtered out due to the difference.

[0081] It should be noted that, in one embodiment, the host device transmits the second acoustic positioning signal T B,3In another embodiment, the host device transmits the second acoustic positioning signal at T B,3 At the time t1 (e.g., 1 or 2 seconds) after the start of the scheduled recording time t0, the emission time of the second acoustic positioning signal is always marked as T B,3 , not affected by the preset launch logic.

[0082] Figure 3 A schematic diagram of a received signal during a distance measurement process between a host device and a wearable device according to an embodiment of the present invention.

[0083] like Figure 3 As shown in the figure, when the signal processing modules of the wearable device and the host device respectively solve the signal, the moment of the first peak value (which is the direct positioning signal) detected is selected as the moment of detecting the sound wave signal. The moments corresponding to the positions of the correlation peaks are T A,1 (corresponding to Figure 1 The fourth moment in the B,2 (corresponding to Figure 1 The second moment in time), T B,3 (corresponding to Figure 1 The first moment in A,2 (corresponding to Figure 1 The third moment in T A,1 At time T, the wearable device detects the first acoustic positioning signal; at T B,2 At time T, the host device detects the first acoustic positioning signal; B,3 At time T, the host device detects the second acoustic positioning signal; A,2 At this moment, the wearable device detects the second acoustic positioning signal.

[0084] Based on the sampling point difference calculated from the recording file of the host device, the time difference between the sending and receiving signals at the host device is calculated. This difference is recorded as N B ,Right now: F S is the sampling frequency of the host device. For example, when the host device detects the first sound wave signal at the 3rd sampling point within the recording time of its own recording file, and detects the second sound wave signal at the 500th sampling point within the recording time, the difference N is B It is 500-3=497.

[0085] Based on the sampling point difference calculated from the recording file of the wearable device, the time difference between the transmit and receive signals at the wearable device is calculated. This difference is recorded as N A ,Right now: F Sis the sampling frequency of the wearable device. For example, when the wearable device detects the first sound wave signal at the 6th sampling point within the recording time of its own recording file, and detects the second sound wave signal at the 200th sampling point within the recording time, the difference N A It is 200-6=194.

[0086] The sampling frequency of the wearable device and the host device can be the same or different.

[0087] Therefore: The signal flight time TOF between the wearable device and the host device is:

[0088]

[0089] The distance D between the wearable device and the host device:

[0090]

[0091] The following example describes this. Assume that the host device is mobile phone A, the wearable device is smart bracelet B, and the sampling frequency of both is F S =48000Hz.

[0092] Step 1: Set the recording time t0 = 5s (this value is adjustable).

[0093] Step 2: When smart bracelet B determines that the Bluetooth connection with mobile phone A is abnormal, it sends a distance measurement start signal to mobile phone A. At this moment, T A,0 = 0s. Smartband B turns on the microphone, and the microphone of Smartband B is always in monitoring and recording state.

[0094] Step 3: Phone A receives the ranging signal and records T B,0 = 0.2s. Mobile phone A turns on the microphone, and the microphone of mobile phone A is always in monitoring and recording state.

[0095] Step 4: Smartband B transmits the first acoustic positioning signal (frequency is 20kHz), which contains the unique identifier of smartband B (such as MAC address, etc.). The first acoustic positioning signal is recorded by the microphone of smartband B, and the signal processing module of smartband B calculates the corresponding correlation peak position, which is marked as T A,1 time.

[0096] Step 5: Mobile phone A receives the first acoustic positioning signal, and the signal processing module of mobile phone A calculates the unique identifier of the first acoustic positioning signal and the relevant peak position, which is marked as T B,2 time.

[0097] Step 6: Mobile phone A transmits a second acoustic positioning signal (frequency is 22kHz), which contains the unique identifier of mobile phone A (such as MAC address, etc.). The second acoustic positioning signal is recorded by the microphone of mobile phone A. The signal processing module of mobile phone A calculates the correlation peak position of the second acoustic positioning signal, which is marked as T B,3 Mobile phone A uses wireless communication to send and receive the signal time difference (T B,3 -T B,2 ) is sent to smart bracelet B, where

[0098] Step 7: Smartband B receives the second acoustic positioning signal and the signal receiving and sending time difference (0.945s) of mobile phone A. The signal processing module of smartband B calculates the unique identifier of the second acoustic positioning signal and the relevant peak position, marked as T A,2 time.

[0099] Step 8: The scheduled recording time of smart bracelet B and mobile phone A ends, T A,3 =5s, T B,4 =5.2s.

[0100] Step 9: Smart bracelet B calculates the distance D between it and mobile phone A.

[0101]

[0102] TOF=(T A,2 -T A,1 )-(T B,3 -T B,2 )=0.01s;

[0103]

[0104] Moreover, smart bracelet B determines the angle between smart bracelet B and mobile phone A based on the acoustic wave positioning method, and sends a prompt message containing the distance and the angle to mobile phone A, so that mobile phone A displays the distance and the angle. Or, smart bracelet B sends a prompt message containing the distance to mobile phone A; mobile phone A determines the angle between mobile phone A and smart bracelet B based on the acoustic wave positioning method, and displays the distance and angle in mobile phone A.

[0105] The user gradually approaches smart bracelet B through the distance and angle displayed in mobile phone A. During the gradual approach process, when mobile phone A determines that the Bluetooth connection with smart bracelet B has returned to normal, mobile phone A determines the location of smart bracelet B based on the Bluetooth positioning method.

[0106] Figure 5 4 is an exemplary structural diagram of a wearable device according to an embodiment of the present invention.

[0107] The wearable device includes: a sending module, which is used to send a first acoustic positioning signal when it is determined that the Bluetooth connection between the wearable device and the host device is abnormal; a receiving module, which is used to receive the first acoustic positioning signal; receiving a first notification message including a first time difference between a first moment when the host device receives a second acoustic positioning signal and a second moment when the host device receives the first acoustic positioning signal, wherein the second acoustic positioning signal is sent by the host device; receiving the second acoustic positioning signal; a determining module, which is used to determine a second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; determining the distance between the wearable device and the host device based on the first time difference and the second time difference; determining the angle between the wearable device and the host device based on the acoustic positioning method; and a prompting module, which is used to send a prompting message including the distance and the angle to the host device, so that the host device displays the distance and the angle.

[0108] In one embodiment, a determination module is used to determine the time difference between the time when a first sound detection module in a wearable device receives a first sound signal and the time when a second sound detection module in the wearable device receives the first sound signal, wherein the first sound signal is sent when the host device determines that the Bluetooth connection with the wearable device is abnormal; based on the distance between the first sound detection module and the second sound detection module and the time difference, determine the angle between the wearable device and the host device.

[0109] In one embodiment, the sending module is used to send a ranging start signal and start the sound wave recording function of the wearable device before sending the first sound wave positioning signal, so that the host device starts the sound wave recording function of the host device when receiving the ranging start signal:

[0110] The first time difference is determined based on the difference in the number of sampling points at which the host device receives the second sound wave positioning signal in the recording file generated by the sound wave recording function of the host device and the sampling points at which the host device receives the first sound wave positioning signal in the recording file generated by the sound wave recording function of the host device, as well as a predetermined first sampling frequency; the second time difference is determined based on the difference in the number of sampling points at which the wearable device receives the second sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device and the sampling points at which the wearable device receives the first sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device, as well as a predetermined second sampling frequency.

[0111] The embodiment of the present invention also provides a wearable device. Figure 6: is an exemplary structural diagram of a wearable device according to an embodiment of the present invention. The wearable device includes a processor and a memory; the memory stores an application program executable by the processor, which is used to enable the processor to execute the positioning method of the wearable device as described in any one of the above items. The wearable device can be implemented as a smart watch, a bracelet, a wireless headset, and the like.

[0112] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process implemented in the above embodiments of the present invention is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. Through the description of the above implementation mode, a person skilled in the art can clearly understand that the above embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0113] In summary, the embodiments of the present invention use ultrasonic positioning as an auxiliary positioning method for Bluetooth positioning, which has at least the following advantages: (1) Compared with the 10m search radius of Bluetooth positioning, the coverage of ultrasonic signals is wider, and can cover a search radius of 30m, thereby widening the search range between devices, and using the advantage of the wide coverage of ultrasound to assist Bluetooth in achieving accurate positioning of devices in a large range. (2) Bluetooth wearable devices, such as smart watches, headphones, etc., can all perform ultrasonic transmission and reception, and the connection terminals of wearable devices such as mobile phones and portable hosts can also receive and transmit ultrasonic signals. Mainstream electronic devices can perform angle and distance positioning through ultrasonic signals without adding new hardware devices, so the fusion positioning method based on ultrasonic Bluetooth is not limited by device differences. (3) Combined with mutually authenticated users under the same network to perform device positioning relay, the search range of the device is widened, and accurate device positioning is provided to users. At the same time, the signal is encrypted and solved in the cloud to fully protect the privacy of users.

[0114] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A positioning method for a wearable device, characterized in that: The method is applicable to the wearable device, and the method comprises: When it is determined that the Bluetooth connection between the wearable device and the host device is abnormal, sending a first acoustic positioning signal; receiving the first acoustic positioning signal; Receiving a first notification message including a first time difference between a first moment when the host device receives a second sonar signal and a second moment when the host device receives the first sonar signal, wherein the second sonar signal is sent by the host device; receiving the second sonar signal; Determine a second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; Determining a distance between the wearable device and the host device based on the first time difference and the second time difference; Determine the angle between the wearable device and the host device based on the acoustic wave positioning method; Sending a prompt message including the distance and the angle to the host device, so that the host device displays the distance and the angle; the method further includes: When the host device fails to receive the prompt message within a predetermined time after sending the second acoustic positioning signal or the host device determines that the Bluetooth connection between the host device and the wearable device is abnormal, the host device receives the positioning information of the wearable device from the cloud server; The host device receiving the positioning information of the wearable device from the cloud server specifically includes: when the wearable device cannot receive the first notification message within a predetermined time after sending the first sound wave positioning signal, sending a first sound signal; the peripheral device of the wearable device that receives the first sound signal sends the identifier of the peripheral device to the cloud server; the cloud server queries the location information of the peripheral device based on the identifier of the peripheral device; the cloud server sends the location information of the peripheral device as the positioning information of the wearable device to the host device; or The host device receives the positioning information of the wearable device from the cloud server specifically including: when the wearable device cannot receive the first notification message within a predetermined time after sending the first sound wave positioning signal, sending the first sound signal; when the peripheral device of the wearable device receives the first sound signal, sending the third sound wave positioning signal; the peripheral device receives the third sound wave positioning signal; the peripheral device receives the second notification message including the third time difference between the fifth moment when the wearable device receives the fourth sound wave positioning signal and the sixth moment when the wearable device receives the third sound wave positioning signal, wherein the fourth sound wave positioning signal is sent by the wearable device; the peripheral device receives the fourth sound wave positioning signal; the peripheral device determines that the peripheral device receives the fourth sound wave positioning signal a fourth time difference between the seventh moment and the eighth moment when the peripheral device receives the third acoustic positioning signal; based on the third time difference and the fourth time difference, determining the distance between the peripheral device and the wearable device; the peripheral device determines the angle between the peripheral device and the wearable device based on the acoustic positioning method; the peripheral device sends a prompt message including the angle between the peripheral device and the wearable device and the distance between the peripheral device and the wearable device to the cloud server; the cloud server determines the positioning information of the wearable device based on the positioning information of the peripheral device, the angle between the peripheral device and the wearable device, and the distance between the peripheral device and the wearable device; the cloud server sends the positioning information of the wearable device to the host device; or The host device receives the positioning information of the wearable device from the cloud server specifically including: when the wearable device cannot receive the first notification message within a predetermined time after sending the first acoustic wave positioning signal, further sending a third acoustic wave positioning signal; the wearable device receives the third acoustic wave positioning signal; the wearable device receives a second notification message including a third time difference between a fifth moment when the peripheral device of the wearable device receives the fourth acoustic wave positioning signal and a sixth moment when the peripheral device receives the third acoustic wave positioning signal, wherein the fourth acoustic wave positioning signal is sent by the peripheral device; the wearable device receives the fourth acoustic wave positioning signal; the wearable device determines a fourth time difference between a seventh moment when the wearable device receives the fourth acoustic wave positioning signal and an eighth moment when the wearable device receives the third acoustic wave positioning signal. time difference; the wearable device determines the distance between the wearable device and the peripheral device based on the third time difference and the fourth time difference; the wearable device sends a prompt message containing the distance between the wearable device and the peripheral device to the peripheral device; the peripheral device determines the angle between the peripheral device and the wearable device based on the sound wave positioning method; the peripheral device sends a notification message containing the angle between the peripheral device and the wearable device and the distance between the peripheral device and the wearable device to the cloud server; the cloud server determines the positioning information of the wearable device based on the positioning information of the peripheral device, the angle between the peripheral device and the wearable device, and the distance between the peripheral device and the wearable device; the cloud server sends the positioning information of the wearable device to the host device.

2. The positioning method of the wearable device according to claim 1, characterized in that: The determining the angle between the wearable device and the host device based on the sound wave positioning method includes: Determine a time difference between a first sound detection module in the wearable device receiving a first sound signal and a second sound detection module in the wearable device receiving the first sound signal, wherein the first sound signal is sent when the host device determines that the Bluetooth connection with the wearable device is abnormal; Based on the distance between the first sound detection module and the second sound detection module and the time difference, an angle between the wearable device and the host device is determined.

3. The positioning method of the wearable device according to claim 1, characterized in that: Also includes: Before sending the first acoustic wave positioning signal, a ranging start signal is sent and the acoustic wave recording function of the wearable device is started, so that the host device starts the acoustic wave recording function of the host device when receiving the ranging start signal.

4. The positioning method of the wearable device according to claim 3, characterized in that: The method further includes: Determine the first time difference based on the difference in the number of sampling points at which the host device receives the second acoustic positioning signal in the recording file generated by the acoustic recording function of the host device and the number of sampling points at which the host device receives the first acoustic positioning signal in the recording file generated by the acoustic recording function of the host device, and a predetermined first sampling frequency; The second time difference is determined based on the difference in the number of sampling points at which the wearable device receives the second sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device and the sampling points at which the wearable device receives the first sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device, and a predetermined second sampling frequency.

5. The positioning method of the wearable device according to claim 1, characterized in that: wherein the second acoustic positioning signal is sent by the host device after receiving the first acoustic positioning signal; or The second acoustic positioning signal is sent by the host device at a predetermined time point.

6. The positioning method of the wearable device according to claim 1, characterized in that: The determining the distance between the wearable device and the host device based on the first time difference and the second time difference includes: Determine the distance D, where Wherein T1 is the second time difference, T2 is the first time difference, and c is the speed of sound.

7. The positioning method of the wearable device according to claim 1, characterized in that: The method further includes: When the host device determines that the Bluetooth connection with the wearable device is normal, the host device determines the position of the wearable device based on the Bluetooth positioning method.

8. A wearable device, characterized in that: include: A sending module, configured to send a first acoustic positioning signal when it is determined that the Bluetooth connection between the wearable device and the host device is abnormal; A receiving module, configured to receive the first sonar positioning signal; receive a first notification message including a first time difference between a first moment when the host device receives a second sonar positioning signal and a second moment when the host device receives the first sonar positioning signal, wherein the second sonar positioning signal is sent by the host device; and receive the second sonar positioning signal; A determination module, configured to determine a second time difference between a third moment when the wearable device receives the second acoustic positioning signal and a fourth moment when the wearable device receives the first acoustic positioning signal; and determine a distance between the wearable device and the host device based on the first time difference and the second time difference; Determine the angle between the wearable device and the host device based on the acoustic wave positioning method; a prompt module, configured to send a prompt message including the distance and the angle to the host device, so that the host device displays the distance and the angle; When the host device fails to receive the prompt message within a predetermined time after sending the second acoustic positioning signal or the host device determines that the Bluetooth connection between the host device and the wearable device is abnormal, the host device receives the positioning information of the wearable device from the cloud server; The host device receiving the positioning information of the wearable device from the cloud server specifically includes: when the wearable device cannot receive the first notification message within a predetermined time after sending the first sound wave positioning signal, sending a first sound signal; the peripheral device of the wearable device that receives the first sound signal sends the identifier of the peripheral device to the cloud server; the cloud server queries the location information of the peripheral device based on the identifier of the peripheral device; the cloud server sends the location information of the peripheral device as the positioning information of the wearable device to the host device; or The host device receives the positioning information of the wearable device from the cloud server specifically including: when the wearable device cannot receive the first notification message within a predetermined time after sending the first sound wave positioning signal, sending the first sound signal; when the peripheral device of the wearable device receives the first sound signal, sending the third sound wave positioning signal; the peripheral device receives the third sound wave positioning signal; the peripheral device receives the second notification message including the third time difference between the fifth moment when the wearable device receives the fourth sound wave positioning signal and the sixth moment when the wearable device receives the third sound wave positioning signal, wherein the fourth sound wave positioning signal is sent by the wearable device; the peripheral device receives the fourth sound wave positioning signal; the peripheral device determines that the peripheral device receives the fourth sound wave positioning signal a fourth time difference between the seventh moment and the eighth moment when the peripheral device receives the third acoustic positioning signal; based on the third time difference and the fourth time difference, determining the distance between the peripheral device and the wearable device; the peripheral device determines the angle between the peripheral device and the wearable device based on the acoustic positioning method; the peripheral device sends a prompt message including the angle between the peripheral device and the wearable device and the distance between the peripheral device and the wearable device to the cloud server; the cloud server determines the positioning information of the wearable device based on the positioning information of the peripheral device, the angle between the peripheral device and the wearable device, and the distance between the peripheral device and the wearable device; the cloud server sends the positioning information of the wearable device to the host device; or The host device receives the positioning information of the wearable device from the cloud server specifically including: when the wearable device cannot receive the first notification message within a predetermined time after sending the first acoustic wave positioning signal, further sending a third acoustic wave positioning signal; the wearable device receives the third acoustic wave positioning signal; the wearable device receives a second notification message including a third time difference between a fifth moment when the peripheral device of the wearable device receives the fourth acoustic wave positioning signal and a sixth moment when the peripheral device receives the third acoustic wave positioning signal, wherein the fourth acoustic wave positioning signal is sent by the peripheral device; the wearable device receives the fourth acoustic wave positioning signal; the wearable device determines a fourth time difference between a seventh moment when the wearable device receives the fourth acoustic wave positioning signal and an eighth moment when the wearable device receives the third acoustic wave positioning signal. time difference; the wearable device determines the distance between the wearable device and the peripheral device based on the third time difference and the fourth time difference; the wearable device sends a prompt message containing the distance between the wearable device and the peripheral device to the peripheral device; the peripheral device determines the angle between the peripheral device and the wearable device based on the sound wave positioning method; the peripheral device sends a notification message containing the angle between the peripheral device and the wearable device and the distance between the peripheral device and the wearable device to the cloud server; the cloud server determines the positioning information of the wearable device based on the positioning information of the peripheral device, the angle between the peripheral device and the wearable device, and the distance between the peripheral device and the wearable device; the cloud server sends the positioning information of the wearable device to the host device.

9. The wearable device according to claim 8, characterized in that: A determination module is used to determine the time difference between the reception time of the first sound detection module in the wearable device for the first sound signal and the reception time of the second sound detection module in the wearable device for the first sound signal, wherein the first sound signal is sent when the host device determines that the Bluetooth connection with the wearable device is abnormal; based on the distance between the first sound detection module and the second sound detection module and the time difference, determine the angle between the wearable device and the host device.

10. The wearable device according to claim 8, characterized in that: The sending module is used to send a ranging start signal and start the sound wave recording function of the wearable device before sending the first sound wave positioning signal, so that the host device starts the sound wave recording function of the host device when receiving the ranging start signal: The first time difference is determined based on the difference in the number of sampling points at which the host device receives the second acoustic positioning signal in the recording file generated by the acoustic recording function of the host device and the number of sampling points at which the host device receives the first acoustic positioning signal in the recording file generated by the acoustic recording function of the host device, and a predetermined first sampling frequency; The second time difference is determined based on the difference in the number of sampling points at which the wearable device receives the second sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device and the sampling points at which the wearable device receives the first sound wave positioning signal in the recording file generated by the sound wave recording function of the wearable device, and a predetermined second sampling frequency.

11. A wearable device, characterized in that: including a processor and a memory; The memory stores an application program executable by the processor, which is used to enable the processor to execute the positioning method for the wearable device according to any one of claims 1 to 7.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the positioning method of the wearable device according to any one of claims 1 to 7 is implemented.