A positioning method and system for wearable device

By using the combined automatic switching technology of Bluetooth, WiFi and satellite positioning modules in wearable devices, the problems of high power consumption and low indoor positioning accuracy caused by satellite positioning are solved, and high-precision wearable positioning is achieved, and when unnecessary Turn off the positioning module to save power.

CN118945816BActive Publication Date: 2024-12-31SUZHOU TONGCHONG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411278522.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-31
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

The frequent use of existing wearable devices through satellite positioning leads to increased power consumption, and the positioning accuracy is low in indoor environments with poor signal, which cannot meet the needs of high-precision real-time positioning.

Method used

Use a combination of Bluetooth, WiFi and satellite positioning modules to automatically switch according to signal strength and quantity. Bluetooth positioning is preferred, followed by WiFi positioning, and finally satellite positioning, the final coordinates are calculated through the data processing center and turned off when unnecessary. Positioning modules to save power.

Benefits of technology

It realizes the improvement of positioning accuracy while saving energy consumption, and can achieve accurate positioning at the centimeter level, reducing power consumption and improving positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945816B_ABST
    Figure CN118945816B_ABST
Patent Text Reader

Abstract

The present invention discloses a positioning method and system for a wearable device, the method comprising: the wearable device scanning and acquiring Bluetooth beacons in real time, and calculating the distance between the wearable device and the Bluetooth terminal corresponding to the Bluetooth beacon according to the Bluetooth beacon; sending the scanned Bluetooth beacon and the corresponding distance to a data processing center, and the data processing center compares the number of Bluetooth beacons with a first threshold; when the number of Bluetooth beacons is less than the first threshold, the wearable device scanning and acquiring WiFi AP in real time, and calculating the signal strength of the WiFi AP, and the signal strength and the MAC address of the WiFi AP form a corresponding analysis array; sending the analysis array to the data processing center, and the data processing center compares the number of the analysis array with a second threshold; when the number of the analysis array is less than the second threshold, the final coordinates of the wearable device are located according to the satellite positioning module built into the wearable device. The method can improve positioning accuracy while saving energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of positioning and navigation technology, and in particular to a positioning method and system for a wearable device. Background Art

[0002] Wearable devices usually include smart phones, bracelets, hanging buckles, etc. Wearable devices usually have positioning functions to quickly find the location of wearable devices. In existing wearable devices, continuous positioning is usually performed through satellite positioning systems, but frequent positioning using satellite positioning must continuously use radio to capture signals sent by satellites and receive data packets sent. Then it must decode and process them, perform calculations and analysis results, and in some cases draw a map or data packet to the information application, which makes the application constantly process satellite positioning data in the foreground or background, which increases power consumption and is not conducive to the battery life of wearable devices. At the same time, only using this satellite positioning method, in some indoor environments with poor signals, the accuracy is low and the delay is large. It does not meet the needs of high-precision real-time positioning and navigation, and it will float and deviate everywhere on the map and cannot be accurately positioned. Therefore, there is a need for a positioning system for wearable devices that can save power while improving positioning accuracy. Summary of the invention

[0003] In order to overcome the above-mentioned shortcomings, the object of the present invention is to provide a positioning method and system for a wearable device, which can improve positioning accuracy while saving energy consumption.

[0004] In order to achieve the above purpose, the technical solution adopted by the present invention is: a positioning method for a wearable device, comprising:

[0005] The wearable device scans and acquires the Bluetooth beacon in real time, and calculates the distance between the wearable device and the Bluetooth terminal corresponding to the Bluetooth beacon according to the Bluetooth beacon;

[0006] Sending the scanned Bluetooth beacons and the corresponding distances to a data processing center, and the data processing center comparing the number of the Bluetooth beacons with a first threshold;

[0007] When the number of the Bluetooth beacons is less than the first threshold, the wearable device scans and acquires the WiFi AP in real time, and calculates the signal strength of the WiFi AP, wherein the signal strength and the MAC address of the WiFi AP form a corresponding resolution array;

[0008] sending the parsed array to a data processing center, the data processing center comparing the number of the parsed array with a second threshold;

[0009] When the number of the analysis array is less than the second threshold, the final coordinates of the wearable device are located according to the satellite positioning module built into the wearable device.

[0010] The beneficial effects of the present invention are:

[0011] Bluetooth positioning has a higher priority than WiFi positioning, and WiFi positioning has a higher priority than satellite positioning, so as to save power and reduce the energy consumption of wearable devices. Bluetooth positioning, WiFi positioning and satellite positioning can achieve centimeter-level automatic positioning switching, greatly improving positioning accuracy.

[0012] Further, when the number of the Bluetooth beacons is greater than or equal to the first threshold, the data processing center locates the final coordinates of the wearable device according to the Bluetooth beacons, specifically including:

[0013] Sort the distances and find the Bluetooth beacon with the shortest distance;

[0014] The location coordinates of the Bluetooth terminal of the Bluetooth beacon with the smallest distance are used as the final coordinates of the wearable device.

[0015] Furthermore, the Bluetooth beacon includes an IP address corresponding to the Bluetooth terminal, and a first mapping table of the IP address and the location coordinates of the Bluetooth terminal is stored in the data processing center.

[0016] Further, when the number of the analytical array is greater than or equal to the second threshold, the data processing center locates the final coordinates of the wearable device according to the analytical array, specifically including:

[0017] Sort the signal strengths to find at least three groups of WiFi APs with large signal strengths;

[0018] The average of the position coordinates of at least three groups of WiFi APs with large signal strength is calculated to obtain the final coordinates of the wearable device.

[0019] Furthermore, a second mapping table of the MAC address and the location coordinates of the WiFi AP is stored in the data processing center.

[0020] Further, locating the final coordinates of the wearable device according to the satellite positioning module built into the wearable device specifically includes:

[0021] The satellite positioning module obtains the positioning coordinates of the wearable device in real time and uploads them to the data processing center;

[0022] The data processing center determines whether the distance between the current positioning coordinates and the last positioning coordinates is greater than a third threshold;

[0023] If yes, filter the coordinates and re-acquire the positioning coordinates. If no, the positioning coordinates are the final coordinates of the wearable device.

[0024] When the satellite positioning module locates the final coordinates of the wearable device, a data filtering function is added to prevent abnormal data from affecting the positioning accuracy.

[0025] Furthermore, when the wearable device uses any one of the Bluetooth, WiFi or satellite positioning modules for positioning, the wearable device turns off the other two positioning functions and only retains the positioning function that needs to be used, thereby saving energy consumption.

[0026] Furthermore, when the dwell time of the final coordinates of the wearable device exceeds the set time threshold, the wearable device turns off the Bluetooth, WiFi or satellite positioning module. This means that the wearable device has not moved and the position will not change, so these positioning functions are turned off to save energy and avoid unnecessary power consumption of functional modules.

[0027] Furthermore, after the data processing center locates the final coordinates of the wearable device, the data processing center sends the coordinates to the mobile terminal for display.

[0028] The present invention also discloses a positioning system for a wearable device, comprising:

[0029] A wearable device, the wearable device comprising a Bluetooth module, a wireless module and a satellite positioning module, the Bluetooth module is used to scan and obtain Bluetooth beacons in real time, and calculate the distance between the wearable device and the Bluetooth corresponding to the Bluetooth beacon according to the Bluetooth beacon; the wireless module is used to scan and obtain WiFi AP and calculate the signal strength of the WiFi AP, and the signal strength and the MAC address of the WiFi AP form a corresponding analytical array; the satellite positioning module is used to obtain the positioning coordinates of the wearable device in real time;

[0030] A data processing center, the data processing center is in communication with the wearable device, the data processing center is used to receive the distance, the analytical array and the positioning coordinates sent by the wearable device, and locate the final coordinates of the wearable device according to the distance, the analytical array and the positioning coordinates;

[0031] A mobile terminal is communicatively connected with the data processing center, and the mobile terminal receives and displays the final coordinates. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The process of the first embodiment of the present invention Figure 1 ;

[0033] Figure 2The process of the first embodiment of the present invention Figure 2 ;

[0034] Figure 3 The process of the first embodiment of the present invention Figure 3 ;

[0035] Figure 4 This is a system block diagram of Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0036] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.

[0037] Embodiment 1

[0038] See attached Figure 1 As shown, a positioning method for a wearable device of the present invention includes:

[0039] Step 100: The wearable device scans and obtains the Bluetooth beacon in real time, and calculates the distance between the wearable device and the Bluetooth terminal corresponding to the Bluetooth beacon based on the Bluetooth beacon.

[0040] The wearable device has a built-in Bluetooth module, which can scan the surrounding Bluetooth beacons. In this step, it is only necessary to scan the Bluetooth beacons without connecting to the corresponding Bluetooth terminal. The Bluetooth terminal is arranged in the selected place in advance.

[0041] According to the Bluetooth beacon, the distance between the wearable device and the Bluetooth terminal corresponding to the Bluetooth beacon is calculated according to the following formula:

[0042] d = 10^((ABS(RSSI)-A) / (10*n)), where A is the absolute value of the RSSI value when the distance to the Bluetooth terminal is 1m, abs is the absolute value function, and n is the environmental attenuation factor, which needs to be tested and corrected.

[0043] S200: Send the scanned Bluetooth beacon and the corresponding distance to a data processing center.

[0044] When scanning, the wearable device may scan multiple Bluetooth beacons at the same time, such as: Bluetooth beacons in supermarkets (distance 2m), Bluetooth beacons in hot pot restaurants (distance 10m), Bluetooth beacons in milk tea shops (distance 6m) and Bluetooth beacons in cosmetics stores (distance 20m), etc. All scanned Bluetooth beacons are sent to the data processing center.

[0045] In this embodiment, the data processing center is a private cloud server.

[0046] S300, the data processing center determines whether the number of Bluetooth beacons is less than a first threshold, if so, executes step S400, if not, executes step S401.

[0047] In this embodiment, the first threshold value is 3.

[0048] When the number of Bluetooth beacons is less than the first threshold, it indicates that the scanned Bluetooth beacons are relatively few. At this time, relying on Bluetooth beacons to locate the wearable device may not be accurate enough; when the number of Bluetooth beacons is greater than or equal to the first threshold, it indicates that the scanned Bluetooth beacons meet the requirements.

[0049] S400: The wearable device scans and obtains WiFi AP in real time, and calculates the signal strength of the WiFi AP. The signal strength and the MAC address of the WiFi AP form a corresponding parsing array.

[0050] At this time, the user moves to different floors or buildings, the Bluetooth beacon gradually attenuates, and the scanned Bluetooth beacons are relatively few. At this time, relying on Bluetooth beacons to locate the wearable device may not be accurate enough. Therefore, WiFi is used to locate the position of the wearable device.

[0051] S401, the data processing center locates the final coordinates of the wearable device according to the Bluetooth beacon.

[0052] At this point, the final coordinates of the wearable device can be directly located based on the location of the Bluetooth beacon, and the positioning of the wearable device is completed. Figure 2 As shown, step S401 specifically includes:

[0053] Sort the distances and find the Bluetooth beacon with the shortest distance;

[0054] The location coordinates of the Bluetooth terminal of the Bluetooth beacon with the shortest distance are used as the final coordinates of the wearable device.

[0055] For example, among the Bluetooth beacons of the supermarket (distance 2m), the hot pot restaurant (distance 10m), the milk tea shop (distance 6m), and the cosmetics store (distance 20m), the supermarket’s Bluetooth beacon (distance 2m) has the shortest distance, so the location coordinates of the supermarket are used as the final coordinates of the wearable device.

[0056] The Bluetooth beacon includes the IP address of the corresponding Bluetooth terminal. The data processing center stores a first mapping table of the IP address and the location coordinates of the Bluetooth terminal. Therefore, after determining the Bluetooth beacon of the supermarket, the location coordinates of the Bluetooth terminal in the supermarket can be quickly determined by searching the first mapping table.

[0057] In this embodiment, the wearable device can be positioned via Bluetooth, with a positioning range of about 1-20 m. The final coordinates of the wearable device can be quickly found through the preset first mapping table.

[0058] However, when positioning wearable devices through Bluetooth beacons, the positioning accuracy is higher, not only can the longitude and latitude be located, but also the specific floor number in the building where the device is located. Bluetooth cannot connect across floors, and the first mapping table stores the longitude and latitude of the Bluetooth terminal and the floor number where the device is located. Therefore, when positioning through Bluetooth, in addition to the longitude and latitude, the floor number where the wearable device is located can also be accurately determined.

[0059] S500, sending the parsed array to a data processing center.

[0060] The parsed array includes the signal strength and the MAC address of the WiFi AP. For example, the first parsed data group is: {1A:2B:3C:4D:5E, RSSI:-55}, the second parsed data group is: {7R:2T:6C:9K:3E, RSSI:-57}, the third parsed data group is: {2S:8D:5N:6D:3E, RSSI:-66,}, and the fourth parsed data group is: {2L:4E:8V:9G:5E, RSSI:-83,}.

[0061] S600, the data processing center determines whether the number of parsed arrays is less than a second threshold, if so, execute step S700; if not, execute step S701.

[0062] In this embodiment, the second threshold value is 3.

[0063] When the number of parsed data groups is less than the second threshold, the scanned WiFi APs are too few, and positioning based on WiFi APs is not accurate enough; when the number of parsed data groups is greater than or equal to the second threshold, the number of scanned WiFi APs meets the requirements, and positioning can be performed through WiFi APs.

[0064] S700: Locate the final coordinates of the wearable device according to the satellite positioning module built into the wearable device.

[0065] At this time, too few WiFi APs are scanned, and the satellite positioning module uses satellite positioning to be more accurate. The satellite positioning module uses the Global Navigation Satellite System (GNSS) for longitude and latitude positioning.

[0066] S701. The data processing center locates the final coordinates of the wearable device according to the analytical array.

[0067] At this time, the scanned WiFi AP can meet the positioning requirements, so the wearable device is positioned through the WiFi AP, and the positioning range is about 20-100m.

[0068] See attached Figure 3 As shown, step S701 specifically includes:

[0069] Sort the signal strengths and find at least three groups of WiFi APs with strong signal strengths.

[0070] Such as the three sets of data above: {1A:2B:3C:4D:5E, RSSI:-55}, {7R:2T:6C:9K:3E, RSSI:-57} and {2S:8D:5N:6D:3E, RSSI:-66,}.

[0071] The location coordinates of at least three groups of WiFi APs with large signal strength are averaged to calculate the final coordinates of the wearable device.

[0072] For example, the coordinates of {1A:2B:3C:4D:5E, RSSI:-55}, {7R:2T:6C:9K:3E, RSSI:-57}, and {2S:8D:5N:6D:3E, RSSI:-66,} are (X1, Y1), (X2, Y2), and (X3, Y3), respectively. Then the final coordinates of the wearable device are [(X1+X2+X3) / 3, (Y1+Y2+Y3) / 3].

[0073] In this embodiment, a second mapping table of MAC addresses and location coordinates of WiFi APs is stored in the data processing center. According to the MAC address, the location coordinates of the WiFi AP can be quickly found.

[0074] In this application, Bluetooth positioning has a higher priority than WiFi positioning, and WiFi positioning has a higher priority than satellite positioning, so as to save power and reduce the energy consumption of wearable devices. Bluetooth positioning, WiFi positioning and satellite positioning can achieve centimeter-level automatic positioning switching, greatly improving positioning accuracy.

[0075] In one embodiment, locating the final coordinates of the wearable device according to the satellite positioning module built into the wearable device specifically includes:

[0076] The satellite positioning module obtains the positioning coordinates of the wearable device in real time and uploads them to the data processing center;

[0077] The data processing center determines whether the distance between the current positioning coordinates and the previous positioning coordinates is greater than a third threshold;

[0078] If yes, filter the coordinates and re-acquire the positioning coordinates. If no, the positioning coordinates are the final coordinates of the wearable device.

[0079] When the satellite positioning module locates the final coordinates of the wearable device, a data filtering function is added to prevent abnormal data from affecting the positioning accuracy.

[0080] In one embodiment, when the wearable device uses any one of the Bluetooth, WiFi or satellite positioning modules for positioning, the wearable device turns off the other two positioning functions and only retains the positioning function that needs to be used, thereby saving energy consumption.

[0081] In one embodiment, when the dwell time of the final coordinates of the wearable device exceeds the set time threshold, the wearable device turns off the Bluetooth, WiFi or satellite positioning module. At this time, it means that the wearable device has not moved and the position will not change. Turning off these positioning functions can save energy and avoid unnecessary power consumption of functional modules. When the sensor in the wearable device senses that its speed has changed, the above steps S100-S700 are repeated to realize the real-time positioning of the wearable device again.

[0082] After the data processing center locates the final coordinates of the wearable device, it sends the coordinates to the mobile terminal for display. The mobile terminal can be a mobile phone, tablet, etc., which can view the location of the wearable device. The mobile terminal has a corresponding APP installed, and the location of the wearable device is displayed on the map of the APP.

[0083] Embodiment 2

[0084] The present invention discloses a positioning system for a wearable device, which adopts the positioning method in the first embodiment, see the attached Figure 4 As shown, the system includes a wearable device, a data processing center and a mobile terminal. The wearable device is used to collect signal data, the data processing center is used to process the signal data and obtain the final coordinates of the wearable device, and the mobile terminal is used to display the final coordinates on the map.

[0085] The wearable device includes a Bluetooth module, a wireless module and a satellite positioning module. The Bluetooth module is used to scan and obtain Bluetooth beacons in real time, and calculate the distance between the wearable device and the Bluetooth corresponding to the Bluetooth beacon based on the Bluetooth beacon; the wireless module is used to scan and obtain WiFi AP and calculate the signal strength of WiFi AP. The signal strength and the MAC address of WiFi AP form a corresponding parsing array; the satellite positioning module is used to obtain the positioning coordinates of the wearable device in real time.

[0086] The data processing center is a private cloud server, which is connected to the wearable device for communication. The data processing center is used to receive the distance, analysis array and positioning coordinates sent by the wearable device, and locate the final coordinates of the wearable device based on the distance, analysis array and positioning coordinates.

[0087] The mobile terminal is a mobile phone or a tablet, etc. The mobile terminal is connected to the data processing center for communication, and the mobile terminal receives the final coordinates and displays them.

[0088] In addition, an embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by a processor in the above-mentioned system embodiment, so that the above-mentioned processor can execute the positioning method of the wearable device in the above-mentioned embodiment one.

[0089] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0090] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0091] 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 separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0092] The above implementation modes are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the content of the present invention and implement it, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.

Claims

1. A positioning method for a wearable device, characterized in that: include: The wearable device scans and acquires the Bluetooth beacon in real time, and calculates the distance between the wearable device and the Bluetooth terminal corresponding to the Bluetooth beacon according to the Bluetooth beacon; Sending the scanned Bluetooth beacons and the corresponding distances to a data processing center, and the data processing center comparing the number of the Bluetooth beacons with a first threshold; When the number of the Bluetooth beacons is less than the first threshold, the wearable device scans and acquires the WiFi AP in real time, and calculates the signal strength of the WiFi AP, wherein the signal strength and the MAC address of the WiFi AP form a corresponding resolution array; sending the parsed array to a data processing center, the data processing center comparing the number of the parsed array with a second threshold; When the number of the analysis array is less than the second threshold, the final coordinates of the wearable device are located according to the satellite positioning module built into the wearable device.

2. The positioning method of the wearable device according to claim 1, characterized in that: When the number of the Bluetooth beacons is greater than or equal to a first threshold, the data processing center locates the final coordinates of the wearable device according to the Bluetooth beacons, specifically including: Sort the distances and find the Bluetooth beacon with the shortest distance; The location coordinates of the Bluetooth terminal of the Bluetooth beacon with the smallest distance are used as the final coordinates of the wearable device.

3. The positioning method of the wearable device according to claim 2, characterized in that: The Bluetooth beacon includes an IP address corresponding to the Bluetooth terminal, and a first mapping table between the IP address and the location coordinates of the Bluetooth terminal is stored in the data processing center.

4. The positioning method of a wearable device according to claim 1, characterized in that: When the number of the analytical array is greater than or equal to the second threshold, the data processing center locates the final coordinates of the wearable device according to the analytical array, specifically including: Sort the signal strengths to find at least three groups of WiFi APs with large signal strengths; The average of the position coordinates of at least three groups of WiFi APs with large signal strength is calculated to obtain the final coordinates of the wearable device.

5. The positioning method of the wearable device according to claim 4, characterized in that: The data processing center stores a second mapping table of the MAC address and the location coordinates of the WiFi AP.

6. The positioning method of a wearable device according to claim 1, characterized in that: Locating the final coordinates of the wearable device according to the satellite positioning module built into the wearable device, specifically including: The satellite positioning module obtains the positioning coordinates of the wearable device in real time and uploads them to the data processing center; The data processing center determines whether the distance between the current positioning coordinates and the last positioning coordinates is greater than a third threshold; If yes, filter the coordinates and re-acquire the positioning coordinates. If no, the positioning coordinates are the final coordinates of the wearable device.

7. The positioning method for a wearable device according to any one of claims 1 to 6, characterized in that: When the wearable device uses any one of the Bluetooth, WiFi or satellite positioning modules for positioning, the wearable device turns off the other two positioning functions.

8. The positioning method of a wearable device according to claim 1, characterized in that: When the residence time of the final coordinates of the wearable device exceeds a set time threshold, the wearable device turns off the Bluetooth, WiFi or satellite positioning module.

9. The positioning method for a wearable device according to any one of claims 1 to 6, characterized in that: After the data processing center locates the final coordinates of the wearable device, the data processing center sends the coordinates to the mobile terminal for display.

10. A positioning system for a wearable device, characterized in that: Using the positioning method described in any one of claims 1 to 9, the positioning system comprises: A wearable device, the wearable device comprising a Bluetooth module, a wireless module and a satellite positioning module, the Bluetooth module is used to scan and obtain Bluetooth beacons in real time, and calculate the distance between the wearable device and the Bluetooth corresponding to the Bluetooth beacon according to the Bluetooth beacon; the wireless module is used to scan and obtain WiFi AP and calculate the signal strength of the WiFi AP, and the signal strength and the MAC address of the WiFi AP form a corresponding analytical array; the satellite positioning module is used to obtain the positioning coordinates of the wearable device in real time; A data processing center, the data processing center is in communication with the wearable device, the data processing center is used to receive the distance, the analytical array and the positioning coordinates sent by the wearable device, and locate the final coordinates of the wearable device according to the distance, the analytical array and the positioning coordinates; A mobile terminal is communicatively connected with the data processing center, and the mobile terminal receives and displays the final coordinates.