A positioning method and system for wearable devices
By selecting high-power devices as mobile Bluetooth gateways among campus wearable devices, turning off the 4G communication module of other devices, and using Bluetooth SoC module to upload beacon information, the problems of insufficient campus positioning accuracy and large power consumption are solved, and precise positioning and low-power consumption of wearable devices are realized.
Patent Information
- Application Number
- CN202311600418.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2043-11-28
AI Technical Summary
The existing campus wearable equipment has insufficient positioning accuracy on and off campus, and the continuous operation of the 4G communication module during the disabled call period in the classroom has resulted in large power consumption, affecting the device's battery life.
By selecting high-power devices as mobile Bluetooth gateways among wearable devices, turning off the 4G communication module of other devices, using Bluetooth SoC module to upload beacon information, and performing location updates and security monitoring on the cloud platform to avoid the setting of fixed Bluetooth gateways.
It realizes accurate positioning inside and outside the school, reduces equipment power consumption, extends battery life, and ensures students' safety through real-time location monitoring and early warning functions.
Smart Images

Figure CN117769000B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of campus positioning communication, and in particular to a positioning method and system for wearable devices. Background Art
[0002] Traditional campus wearable devices generally communicate with the outside through Bluetooth. When positioning, the campus wearable device scans the device information of fixed Bluetooth beacons in the school and transmits the scanned Bluetooth beacon data to the data platform for positioning by communicating with the Bluetooth gateway. Once the campus wearable device is located in an area outside the communicable distance of the Bluetooth gateway, it is unable to report the positioning data to the data platform. The application of this method has requirements for the setting and quantity of Bluetooth beacons and Bluetooth gateways, and is limited by the application site.
[0003] With the development of communication technology, 4G communication technology can be applied to campus wearable devices. By setting a positioning module in the campus wearable device and then uploading the positioning data to the data platform in real time through 4G communication, this method is not limited by the application site and can effectively locate the wearable device. Moreover, the campus wearable device can also make calls with family members through 4G communication. However, the positioning of campus wearable devices with only 4G communication modules mostly relies on WiFi and base station positioning in the campus, and cannot perform precise campus positioning like the Bluetooth beacon system, and thus cannot analyze whether the personnel density is overloaded in certain occasions or whether students stay in non-study places, which are campus safety risks. At the same time, when the student is in the campus, the positioning module and 4G communication module keep running, and the 4G communication module is still in communication connection with the data platform during the class time when calls are disabled, resulting in a large amount of ineffective power consumption and reducing the battery life of the device. If the 4G communication module is directly turned off, the position information cannot be interacted with the platform.
[0004] Therefore, there is an urgent need for a positioning and communication method for campus wearable devices that can achieve precise positioning inside and outside the school, ensure that the campus wearable device can make phone calls within the allowed time, and can effectively reduce the power consumption of the device. Summary of the Invention
[0005] To solve the problems existing in the above-mentioned prior art, the purpose of the present application is to provide a positioning method and system for wearable devices.
[0006] The embodiments of the present application can be implemented through the following technical solutions:
[0007] The present application provides a positioning method for wearable devices, which is applied to a network including at least two wearable devices communicating based on 4G communication modules, multiple Bluetooth beacons, and a cloud platform communicatively connected to the wearable devices, and includes the following steps:
[0008] S1. At the start time of entering the preset disabled mode, the Bluetooth SoC module of the first wearable device performs scanning. If it scans the broadcast information sent by the Bluetooth beacon, it proceeds to step S2;
[0009] S2. The first wearable device sends the received Bluetooth beacon information and the first device information containing the power data of the first wearable device to the cloud platform through the 4G communication module;
[0010] S3. The cloud platform verifies whether the Bluetooth beacon is the target Bluetooth beacon associated with the first wearable device. If so, it proceeds to step S4;
[0011] S4. From all the first wearable devices that meet the conditions of step S3, the cloud platform selects a second wearable device with the highest device power data as the mobile Bluetooth gateway according to the sent first device information, and sends the Bluetooth MAC address of the second wearable device to the third wearable device as the target Bluetooth gateway MAC address. The third wearable device is the remaining wearable devices among the first wearable devices that meet the conditions of step S3 excluding the second wearable device;
[0012] S5. Except that the 4G communication module of the second wearable device maintains interactive communication with the cloud platform, the third wearable device instructs its 4G communication module to enter the sleep state; the third wearable device performs Bluetooth broadcast and scanning through the Bluetooth SoC module.
[0013] Preferably, the step further includes S6. The second wearable device scans the broadcast information of the target Bluetooth beacon through the Bluetooth SoC module and interacts with the Bluetooth SoC module of the third wearable device. The second wearable device sends all the received third wearable device information and Bluetooth beacon information to the cloud platform through its 4G communication module, and the cloud platform updates the location information of all the first wearable devices.
[0014] Preferably, the first device information includes user information and device information. The user information includes the wearer's name and classroom information, and the device information includes the IMEI number, Bluetooth MAC address data, and device power data.
[0015] Further, the IMEI numbers of the wearable devices stored on the cloud platform are associated with a target Bluetooth beacon MAC address within a certain time period according to the set class schedule in advance;
[0016] Further, in step S3, the verification process is to verify whether the Bluetooth beacon MAC address received by the first wearable device matches the target Bluetooth beacon MAC address associated with the wearable device stored in the cloud platform.
[0017] Further, in step S1, if not, the Bluetooth SoC module of the first wearable device does not receive the broadcast information sent by the Bluetooth beacon. The first wearable device locates through the positioning module and sends the positioning data to the cloud platform through the 4G communication module.
[0018] Further, in step S5, the Bluetooth SoC module of the third wearable device does not scan the second wearable device acting as a mobile Bluetooth gateway. The third wearable device wakes up its 4G communication module to interact with the cloud platform and sends the positioning information of the third wearable device to the cloud platform.
[0019] Further, if step S3 is not satisfied, the cloud platform calculates the instant position information based on the position information in the received Bluetooth beacon information, and determines whether the instant position information is a set dangerous area. If so, the cloud platform performs a warning operation.
[0020] Preferably, in step S4, if there are multiple cases of the device battery data with the same highest value in the first wearable device, the cloud platform can randomly select one of them as the second wearable device. When the cloud platform receives that the device battery data of the second wearable device is less than the preset minimum value, the cloud platform selects the one with the highest device battery data from the latest stored data of the third wearable device as the new second wearable device and turns on the 4G communication module to interact with the cloud platform, and the 4G communication module of the original second wearable device enters the sleep state.
[0021] Further, for the fourth wearable device that scans the Bluetooth beacon after the start time of the disable mode, it connects to the cloud platform through its 4G communication module to verify whether the scanned Bluetooth beacon is consistent with the associated target Bluetooth beacon stored. If so, the cloud platform sends the Bluetooth MAC address of the mobile Bluetooth gateway to the fourth wearable device, and the fourth wearable device instructs its 4G communication module to enter the sleep state and proceeds to step S6.
[0022] This application also provides a positioning system for wearable devices, including a cloud platform, a Bluetooth beacon, and wearable devices. This positioning system performs communication positioning based on the above method:
[0023] Further, the wearable device includes a main control module, a 4G communication module, a Bluetooth SoC module, and a positioning module;
[0024] Further, the main control module is used to instruct the 4G communication module and the positioning module to turn on or off the sleep state;
[0025] Further, the cloud platform includes a storage unit, a communication unit, and a data processing unit;
[0026] Further, the storage unit is used to store user information and device information of the wearable device, and device information of the Bluetooth beacon;
[0027] Further, the communication unit is used to communicate and connect with the 4G communication module of the wearable device through a wireless network;
[0028] Further, the data processing unit is used to perform logical verification processing;
[0029] Further, when the Bluetooth SoC module of the wearable device scans the broadcast signal of the Bluetooth beacon, the wearable device sends the first device information containing device power data and the Bluetooth beacon information to the cloud platform through the 4G communication module;
[0030] Further, the data processing unit performs verification:
[0031] T1. Verify whether the received Bluetooth beacon information is consistent with the target Bluetooth beacon information associated with the first wearable device corresponding to the storage unit;
[0032] T2. When T1 is satisfied, sort the received device power data, select a second wearable device with the highest device power data as the mobile Bluetooth gateway, and send the Bluetooth MAC address of the second wearable device to a third wearable device as the target Bluetooth gateway MAC address, where the third wearable device is the remaining wearable devices of the first wearable device excluding the second wearable device;
[0033] Further, the third wearable device instructs the 4G communication module and the positioning module to enter the sleep state through the main control module;
[0034] Further, the cloud platform is also used to update the location information of all wearable devices.
[0035] The wearable device positioning method and system provided by the embodiments of the present application have at least the following beneficial effects:
[0036] Through the technical solution provided by the present invention, a device with a relatively high battery level is selected from the campus wearable devices carried by students as a mobile Bluetooth gateway, and the 4G communication module of other campus wearable devices is turned off to reduce the power consumption of the devices. The wearable devices upload the scanned target Bluetooth beacon information to the cloud platform for location update through the Bluetooth SoC module of the mobile Bluetooth gateway device, and in combination with the cloud platform, the location of students is monitored in real time and early warning intervention is carried out on students at risk in a timely manner to ensure the safety of students. Without using an additional Bluetooth gateway, this application enables the location information of other eligible wearable devices within the signal range of campus wearable devices to be interacted with the cloud platform through the campus wearable devices as Bluetooth gateways in a small classroom or venue. By this method, there is no need to limit the location and quantity of Bluetooth gateways, which is applicable to the diversified teaching mode of walking-class teaching. While ensuring accurate positioning, it effectively reduces the power consumption of most wearable devices and improves the battery life of wearable devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 FIG. is a schematic diagram of a wearable device positioning system according to an embodiment of the present application in a disabled mode;
[0038] Figure 2 FIG. is a schematic diagram of a wearable device positioning system according to an embodiment of the present application in a non-disabled mode;
[0039] Figure 3 FIG. shows a schematic diagram of the storage structure of a cloud platform for wearable device positioning;
[0040] Figure 4 FIG. is a flowchart of a method for positioning a wearable device according to an embodiment of the present application;
[0041] Figure 5 FIG. is a schematic diagram of the structure of a wearable device;
[0042] Figure 6 FIG. is a schematic diagram of the structure of a wearable device positioning system according to an embodiment of the present application DETAILED DESCRIPTION OF THE EMBODIMENTS
[0043] Hereinafter, the present application will be further described based on preferred embodiments with reference to the drawings.
[0044] In addition, for the convenience of understanding, various components in the drawings are enlarged or reduced, but this is not intended to limit the protection scope of the present application.
[0045] Singular forms of words also include plural meanings, and vice versa.
[0046] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the scope of protection of this application.
[0047] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0048] In the traditional Bluetooth beacon positioning method, a separate Bluetooth gateway needs to be set up as a data communication transfer station while setting up the Bluetooth beacon. Since the signal range of the Bluetooth gateway is limited and generally fixed and not easy to move, multiple locations need to be set up, and the Bluetooth gateway needs to be kept powered on, resulting in a relatively high device usage cost.
[0049] To solve the above problems, Figure 1 It is a schematic diagram of a positioning system for wearable devices in the disabled mode according to an embodiment of this application;
[0050] Figure 2 It is a schematic diagram of a positioning system for wearable devices in the non-disabled mode according to an embodiment of this application; Figure 3 It shows a schematic diagram of the cloud platform storage structure for positioning wearable devices; as Figure 1 , by selecting wearable devices within the effective area range as mobile Bluetooth gateways to maintain communication connections with the cloud platform, there is no need to set up a separate Bluetooth gateway, and its mobility can achieve the function of a Bluetooth gateway within a small range, improving the efficiency of data upload and effectively saving costs; within the non-effective area, this positioning system will not function, and 4G phone communication will be maintained; it can both flexibly and effectively ensure smooth communication for students inside and outside the school, and can also enable wearable devices on campus to maintain low power consumption and continuous battery life communication within the allowed time.
[0051] [Disabled mode]:
[0052] In some preferred embodiments, on campus, by setting different time periods for the wearable device timer to turn on and off the disable mode, in the disable mode, the wearable device will automatically turn off the call function of the device; specifically, for example, during the class time from 8:00 to 9:00, the communication system enters the disable mode, and students enter classroom A for class. As Figure 1 shown, wearable device 1, wearable device 2, and wearable device 3 enter the area of classroom A for class. Wearable device 1, wearable device 2, and wearable device 3 scan the broadcast information of the first Bluetooth beacon set in classroom A, and send device information containing device power data to the cloud platform through the 4G communication module in the device. Through the verification logic judgment set in the cloud platform, comparing the device power data of wearable device 2 and wearable device 3, 80% > 70%, select wearable device 2 with higher device power as the mobile Bluetooth gateway to maintain communication connection with the cloud platform; the 4G communication module of wearable device 3 enters the sleep state, and the communication of this wearable device interacts with the cloud platform through the mobile Bluetooth gateway.
[0053] As Figure 3 shown, during the class time from 8:00 to 9:00, wearable device 1 sets the associated target Bluetooth beacon device information storage field as the second Bluetooth beacon according to its class schedule, and the classroom is B; that is, the student of wearable device 1 should be in classroom B for class during the class time from 8:00 to 9:00 and should not be in classroom A. The cloud platform compares the first Bluetooth beacon scanned by wearable device 1 with the target Bluetooth beacon device information storage field of this wearable device. The comparison result is inconsistent and does not meet the judgment logic requirements for selecting the mobile Bluetooth gateway. Therefore, wearable device 1 still conducts information interaction with the cloud platform through the 4G communication module.
[0054] Preferably, in this embodiment, it can prevent students from skipping classes and not arriving at the specified classroom for class at the specified time. The cloud platform can count the students whose Bluetooth beacons in the environment where the wearable device is located received in the same classroom during the same class time period are inconsistent with the pre-stored Bluetooth beacon information, or the cloud platform does not receive the first device information sent by the wearable device, and can notify the teacher or parent for further supervision.
[0055] Figure 1 Another specific embodiment is also shown. The target Bluetooth beacon device information associated with wearable device 4 and wearable device 5 on the Figure 3 cloud platform is the same as the Bluetooth beacon in the environment where the wearable device is located, which is the second Bluetooth beacon. The device power data of wearable device 4 is 80% greater than the 70% device power data of wearable device 5. Therefore, wearable device 4 is selected as the mobile Bluetooth gateway, and the 4G communication module of wearable device 5 enters the sleep state.
[0056] [Non - Disabled Mode]:
[0057] As shown according to Figure 1 , wearable device 2 and wearable device 4 interact with the cloud platform as mobile gateways, and the 4G communication modules of wearable device 3 and wearable device 5 enter the sleep state. In Figure 2 the non - disabled mode shown, the 4G communication modules of all wearable devices will be turned on; in some preferred embodiments, when students enter the break time, the 4G communication modules of wearable device 3 and wearable device 5 will be turned on and communicate directly with the cloud platform through the 4G communication modules; wearable device 2 will also cancel its function as a mobile gateway and does not need to scan the wearable devices with 4G modules in the sleep state.
[0058] This application provides a positioning method for wearable devices, which is applied to a network including at least two wearable devices communicating based on 4G communication modules, multiple Bluetooth beacons, and a cloud platform communicatively connected to the wearable devices, and includes the following steps:
[0059] S1. At the start time of the preset disabled mode, the Bluetooth SoC module of the first wearable device scans. If it scans the broadcast information sent by the Bluetooth beacon, it enters step S2;
[0060] S2. The first wearable device sends the received Bluetooth beacon information and the first device information containing the battery power data of the first wearable device to the cloud platform through the 4G communication module;
[0061] S3. The cloud platform verifies whether the Bluetooth beacon is the target Bluetooth beacon associated with the first wearable device. If so, it enters step S4;
[0062] S4. The cloud platform selects a second wearable device with the highest device power data from all the first wearable devices that meet the conditions of step S3 as the mobile Bluetooth gateway, and sends the Bluetooth MAC address of the second wearable device to the third wearable device as the target Bluetooth gateway MAC address. The third wearable device is the remaining wearable devices among the first wearable devices that meet the conditions of step S3 excluding the second wearable device;
[0063] S5. Except that the 4G communication module of the second wearable device maintains interactive communication with the cloud platform, the third wearable device instructs its 4G communication module to enter the sleep state; the third wearable device performs Bluetooth broadcast and scanning through the Bluetooth SoC module.
[0064] In some preferred embodiments, it further includes S6. The second wearable device scans the broadcast information of the target Bluetooth beacon through the Bluetooth SoC module and interacts with the Bluetooth SoC module of the third wearable device. The second wearable device sends all the received third wearable device information and Bluetooth beacon information to the cloud platform through its 4G communication module, and the cloud platform updates the location information of all the first wearable devices.
[0065] Figure 4 It is a flowchart of a positioning method for wearable devices according to an embodiment of the present application. Figure 4 It shows a specific embodiment of the present application: A positioning method for wearable devices is applied to a network including at least two wearable devices communicating based on 4G communication modules, multiple Bluetooth beacons, and a cloud platform communicatively connected to the wearable devices, and includes the following steps:
[0066] In this embodiment, the wearable device is a card-type student ID or a wrist-type student ID. The structural composition of the student ID contains a display screen, buttons, a speaker, a microphone, a vibration motor, etc. Figure 5 It is a schematic diagram of the structure of the wearable device, as Figure 5 shown, the wearable device includes a positioning module, a Bluetooth SoC module, a main control module, and a 4G communication module;
[0067] The first step is that at the start time of the preset disabled mode, the Bluetooth SoC module of the first wearable device scans. If it scans the broadcast information sent by the Bluetooth beacon, it enters the second step;
[0068] In some preferred embodiments, before entering the second step, the main control module of the wearable device instructs the positioning module to enter the sleep state. In this example, the main control module can instruct the positioning module to enter the sleep state by turning off the positioning timer. Since the positioning accuracy of receiving the Bluetooth beacon on campus is higher than that of the positioning module, therefore, by setting the positioning module to sleep, power consumption can be further reduced while ensuring positioning. When the first wearable device cannot receive the Bluetooth beacon broadcast information, the main control module instructs the positioning module to be enabled for positioning.
[0069] Further, the start time of the disabled mode is 1 - 120 seconds at the start of the class disabled mode for each set class. A variable buffer time is set here to ensure that most students enter the classroom before selecting the mobile Bluetooth gateway, avoiding missing a large number of devices during selection.
[0070] If the first wearable device does not receive the broadcast information sent by the Bluetooth beacon, the first wearable device locates through the positioning module and sends the positioning data to the cloud platform through the 4G communication module.
[0071] In this embodiment, the positioning module is a WiFi module, an LBS module, and a satellite positioning module provided in the first wearable device. The WiFi module connects to the WiFi network through a WiFi antenna and sends the coordinate data received through the WiFi network to the main control module. The LBS module is used to obtain the coordinate data of the connected base station and send it to the main control module. The satellite positioning module is used to obtain satellite positioning information and send it to the main control module. The main control module sends the above positioning data to the cloud platform through the 4G communication module for recording the positioning.
[0072] Specifically, after a student wears the campus wearable device and enters the campus, the Bluetooth SoC module of the wearable device is activated. At the start time of the preset classroom disabling mode, after the wearable device enters the preset classroom disabling mode, the device automatically turns off the call function, and the 4G communication module of the wearable device still maintains interaction with the cloud platform.
[0073] In this embodiment, the Bluetooth SoC module of the wearable device can be activated by a timer inside the wearable device according to the set time.
[0074] In this embodiment, the Bluetooth beacons are set in areas on campus where students can set foot, including inside teaching buildings, dining halls, playgrounds, and other public places. Bluetooth beacons have the advantages of low power consumption, accurate positioning, and convenient indoor use. By continuously sending broadcast information, when the first wearable device with a Bluetooth SoC module enters the signal coverage area of the Bluetooth beacon, information sharing can be achieved.
[0075] In the second step, the first wearable device sends the received Bluetooth beacon information and the first device information containing the battery power data of the first wearable device to the cloud platform through the 4G communication module;
[0076] In this embodiment, the Bluetooth beacon information includes the Bluetooth beacon MAC address and the installation location information of the Bluetooth beacon. The Bluetooth beacon MAC address is used to verify whether it is the target Bluetooth beacon associated with the first wearable device, and the installation location information is used to locate the position of the first wearable device.
[0077] In the third step, the cloud platform verifies whether the Bluetooth beacon is the target Bluetooth beacon associated with the first wearable device. If so, it enters the fourth step; if not, the first wearable device keeps the 4G communication module on.
[0078] In some preferred embodiments, the IMEI numbers of the wearable devices stored on the cloud platform are pre-associated with a target Bluetooth beacon MAC address during a certain period according to the set class schedule;
[0079] Specifically, in the cloud platform, according to the class schedule content of the students to whom the wearable devices belong, the IMEI numbers of the wearable devices in different class periods are associated with the target Bluetooth beacons of different activity venues, so that the effective power saving and dormancy of the 4G communication module can be achieved through the method of the present application for most of the time when students are at school, and the dynamic supervision of positioning within the campus can be realized through the positioning communication method carried out in each class, adapting to diverse teaching modes;
[0080] Further, the first device information includes user information and device information. The user information includes the wearer's name and classroom information. The device information includes the IMEI number and Bluetooth MAC address data related to the Internet of Things attributes of the associated device. The cloud platform obtains the MAC address of the target Bluetooth beacon that the device should be associated with during this time period through the received device IMEI number.
[0081] Further, in the third step, the verification process for the cloud platform to verify whether the Bluetooth beacon is the target Bluetooth beacon associated with the first type of wearable device is to verify whether the Bluetooth beacon MAC address received by the first wearable device matches the MAC address of the target Bluetooth beacon associated with the wearable device during this time period stored in the cloud platform;
[0082] In this embodiment, sending a warning reminder to the wearable device includes a sound or vibration reminder. At the same time, the warning operation also includes triggering the SOS automatic alarm function. The first wearable device automatically calls the teacher or family member number set in the cloud platform to facilitate timely intervention and avoid dangerous situations.
[0083] In some preferred embodiments, further, in the third step, if the verification result is negative, the cloud platform calculates the location of the student through the location information of the received Bluetooth beacon. If the location where the student is located is a set dangerous area, the cloud platform performs a warning operation, including sending a warning reminder to the first wearable device, sending a warning prompt to the teacher and parent terminals, and turning on the phone communication function of the first wearable device;
[0084] Fourth step, the cloud platform selects a second wearable device with the highest device power data as the mobile Bluetooth gateway from all the first wearable devices that meet the conditions of the third step, and sends the Bluetooth MAC address of the second wearable device to the third wearable device as the target Bluetooth gateway MAC address. The third wearable device is the remaining wearable devices among the first wearable devices that meet the conditions of the third step excluding the second wearable device;
[0085] In some preferred embodiments, in the fourth step, if there are multiple devices in the first wearable device with the same highest device power data, the cloud platform can randomly select one of them as the second wearable device. When the cloud platform receives that the device power data of the second wearable device is less than the preset minimum value, the cloud platform selects the one with the highest device power data from the latest stored data of the third wearable device as the new second wearable device and activates the 4G communication module to interact with the cloud platform, and the 4G communication module of the original second wearable device enters the sleep state.
[0086] The flexible selection of the startup standby mobile Bluetooth gateway is designed here to ensure the sustainable execution of the positioning method of this application and avoid the situation of power consumption increase and shutdown and communication interruption of relying on the same device as the mobile Bluetooth gateway for a long time.
[0087] In the fifth step, except that the 4G communication module of the second wearable device maintains interactive communication with the cloud platform, the 4G communication module of the third wearable device enters the sleep state; the third wearable device performs Bluetooth broadcast and scanning through the Bluetooth SoC module.
[0088] In this embodiment, the 4G communication module enters the sleep state after receiving the MAC address of the target Bluetooth gateway. The main control module of the third wearable device instructs the 4G communication module to enter the sleep state. By reducing the working time of the 4G communication modules of most wearable devices, the power consumption of the wearable devices is effectively reduced and the battery life is extended.
[0089] Further, the frequency of the Bluetooth broadcast and scanning is 1 time per minute; in some preferred embodiments, the frequency of the Bluetooth broadcast and scanning can also be greater than 1 time per minute. By reducing the scanning frequency, the power consumption of the device can be further reduced.
[0090] In the sixth step, the second wearable device scans the broadcast information of the target Bluetooth beacon and interacts with the Bluetooth SoC module of the third wearable device through the Bluetooth SoC module. The second wearable device sends all the information of the third wearable device and the Bluetooth beacon information received to the cloud platform through the 4G communication module, and the cloud platform updates the location information of all the first wearable devices.
[0091] This application keeps a communication connection with the cloud platform by using the wearable device as a mobile Bluetooth gateway, uploads the target Bluetooth beacon information scanned by the wearable device to the cloud platform, and then monitors the real-time location of the wearable device, so as to realize the accurate analysis of the personnel density in a specific scenario and ensure the safety of students at school.
[0092] In the seventh step, if the Bluetooth SoC module of the third wearable device fails to scan the second wearable device acting as a mobile Bluetooth gateway, the main control module of the third wearable device wakes up its 4G communication module to interact with the cloud platform and sends the location information of the third wearable device to the cloud platform.
[0093] When the third wearable device of the student leaves the signal range of the Bluetooth SoC module of the second wearable device, since there is no mobile Bluetooth gateway for data transfer, in order to obtain the student's current location in a timely manner, the main control module of the third wearable device wakes up its 4G communication module to interact its location information with the cloud platform. If the wearable device scans a Bluetooth beacon within the school, it uploads the information of the Bluetooth beacon to the cloud platform. If the student is in an area within the school without Bluetooth beacons or has left the school and the wearable device cannot scan the Bluetooth beacon within the school, the main control module of the wearable device wakes up its positioning module and uploads the positioning information to the cloud platform. The cloud platform analyzes and processes the obtained location information of the wearable device to ensure the safety of the student.
[0094] In some preferred embodiments, further, for the fourth wearable device that scans a Bluetooth beacon after exceeding the start time, it connects to the cloud platform through its 4G communication module to verify whether the scanned Bluetooth beacon is consistent with the target Bluetooth beacon associated with the storage. If so, the cloud platform sends the Bluetooth MAC address of the mobile Bluetooth gateway to the fourth wearable device, and the fourth wearable device instructs its 4G communication module to enter the sleep state and proceeds to the sixth step.
[0095] Here, it is set for the fourth wearable device that enters the classroom after exceeding the start time of the disabled mode. After verifying the target Bluetooth beacon of the device during this period, the cloud platform instructs its 4G communication module to sleep to save power, and it can also transmit data through the mobile Bluetooth gateway.
[0096] Further, when the wearable device is within the non-classroom disabled mode time period, the main control module instructs the 4G communication module to turn on and sends the location information to the cloud platform through the 4G communication module.
[0097] Here, it is set to ensure that students can use the wearable device for family calls during the break time, and each time the classroom disabled mode is started at the beginning of the course, the communication and positioning method of the present invention is used again to select the mobile Bluetooth gateway, realizing a relatively dynamic balance of device power consumption and avoiding the situation where the power consumption of a single device used as the mobile Bluetooth gateway drops rapidly due to repeated use.
[0098] This application also provides a positioning system for wearable devices, including a cloud platform, Bluetooth beacons, and wearable devices. This positioning system performs communication and positioning based on the above method:
[0099] Figure 6The following is a schematic structural diagram of a positioning system for wearable devices according to an embodiment of the present application, as Figure 6 shown:
[0100] The wearable device includes a main control module, a 4G communication module, a Bluetooth SoC module, and a positioning module;
[0101] The main control module is used to instruct the 4G communication module and the positioning module to turn on or off the sleep state;
[0102] The cloud platform includes a storage unit, a communication unit, and a data processing unit;
[0103] The storage unit is used to store user information and device information of the wearable device, and device information of the Bluetooth beacon;
[0104] The communication unit is used to communicate and connect with the 4G communication module of the wearable device through a wireless network;
[0105] The data processing unit is used to perform logic verification processing;
[0106] The wearable device is used to send the first device information containing device power data and Bluetooth beacon information to the cloud platform through the 4G communication module after the Bluetooth SoC module scans the broadcast signal of the Bluetooth beacon;
[0107] The data processing unit performs verification:
[0108] T1. Verify whether the received Bluetooth beacon information is consistent with the target Bluetooth beacon information associated with the first wearable device corresponding to the storage unit;
[0109] T2. When T1 is satisfied, sort the received device power data, select the second wearable device with the highest device power data as the mobile Bluetooth gateway, and send the Bluetooth MAC address of the second wearable device to the third wearable device as the target Bluetooth gateway MAC address. The third wearable device is the remaining wearable devices of the first wearable device excluding the second wearable device;
[0110] The third wearable device instructs the 4G communication module and the positioning module to enter the sleep state through the main control module;
[0111] The cloud platform is also used to update the location information of all wearable devices.
[0112] The above has introduced the specific implementation manners of the present application in detail. For those skilled in the art of the present technology, without departing from the principle of the present application, several improvements and modifications can still be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.
Claims
1. A positioning method for wearable devices, which is applied to a network including at least two wearable devices communicating based on 4G communication modules, multiple Bluetooth beacons, and a cloud platform communicatively connected to the wearable devices, characterized in that, Including the following steps: S1. At the start time of entering the preset disabled mode, the Bluetooth SoC module of the first wearable device scans. If it scans the broadcast information sent by the Bluetooth beacon, it enters step S2; S2. The first wearable device sends the received Bluetooth beacon information and the first device information containing the power data of the first wearable device to the cloud platform through the 4G communication module; S3. The cloud platform verifies whether the Bluetooth beacon is the target Bluetooth beacon associated with the first wearable device. If so, it enters step S4; S4. From all the first wearable devices that meet the conditions of step S3, the cloud platform selects a second wearable device with the highest device power data as the mobile Bluetooth gateway according to the sent first device information, and sends the Bluetooth MAC address of the second wearable device to the third wearable device as the target Bluetooth gateway MAC address. The third wearable device is the remaining wearable devices among the first wearable devices that meet the conditions of step S3 excluding the second wearable device; S5. Except that the 4G communication module of the second wearable device maintains interactive communication with the cloud platform, the third wearable device instructs its 4G communication module to enter the sleep state; the third wearable device performs Bluetooth broadcast and scanning through the Bluetooth SoC module; S6. The second wearable device scans the broadcast information of the target Bluetooth beacon through the Bluetooth SoC module and interacts with the Bluetooth SoC module of the third wearable device. The second wearable device sends all the received third wearable device information and Bluetooth beacon information to the cloud platform through its 4G communication module, and the cloud platform updates the location information of all the first wearable devices.
2. A positioning method for wearable devices according to claim 1, wherein: The first device information includes user information and device information. The user information includes the wearer's name and classroom information, and the device information includes the IMEI number, Bluetooth MAC address data, and device power data.
3. A positioning method for wearable devices according to claim 2, wherein: The IMEI numbers of the wearable devices stored on the cloud platform are pre-associated with a target Bluetooth beacon MAC address within a certain time period according to the set class schedule; In step S3, the verification process is to verify whether the Bluetooth beacon MAC address received by the first wearable device matches the target Bluetooth beacon MAC address associated with the wearable device stored in the cloud platform.
4. A positioning method for wearable devices according to claim 1, wherein: In step S1, if the Bluetooth SoC module of the first wearable device does not receive the broadcast information sent by the Bluetooth beacon, the first wearable device locates through the positioning module and sends the positioning data to the cloud platform through the 4G communication module.
5. A positioning method for wearable devices according to claim 1, wherein: In step S5, the Bluetooth SoC module of the third wearable device fails to scan the second wearable device acting as a mobile Bluetooth gateway. The third wearable device wakes up its 4G communication module to interact with the cloud platform and sends the location information of the third wearable device to the cloud platform.
6. A positioning method for wearable devices according to claim 1, wherein: If step S3 is negative, the cloud platform calculates the instant location information based on the location information in the received Bluetooth beacon information, and determines whether the instant location information is a set dangerous area. If so, the cloud platform performs a warning operation.
7. A positioning method for wearable devices according to claim 1, wherein: In step S4, if there are multiple cases of the highest device power data in the first wearable device, the cloud platform can randomly select one of them as the second wearable device. When the cloud platform receives that the device power data of the second wearable device is less than the preset minimum value, the cloud platform selects the one with the highest device power data from the latest stored data of the third wearable device as the new second wearable device and activates its 4G communication module to interact with the cloud platform, and the 4G communication module of the original second wearable device enters the sleep state.
8. A positioning method for wearable devices according to claim 1, wherein: For the fourth wearable device that scans a Bluetooth beacon after the start time of the disabled mode, it connects to the cloud platform through its 4G communication module to verify whether the scanned Bluetooth beacon is consistent with the stored associated target Bluetooth beacon. If so, the cloud platform sends the Bluetooth MAC address of the mobile Bluetooth gateway to the fourth wearable device, and the fourth wearable device instructs its 4G communication module to enter the sleep state and proceeds to step S6.
9. A positioning system for wearable devices, comprising a cloud platform, a Bluetooth beacon and wearable devices, wherein: Communication positioning is performed based on the method of claim 1; The wearable device includes a main control module, a 4G communication module, a Bluetooth SoC module, and a positioning module; The main control module is used to instruct the 4G communication module and the positioning module to turn on or off the sleep state; The cloud platform includes a storage unit, a communication unit, and a data processing unit; The storage unit is used to store the user information and device information of the wearable device and the device information of the Bluetooth beacon; The communication unit is used to communicate and connect with the 4G communication module of the wearable device through a wireless network; The data processing unit is used to perform logical verification processing.
Citation Information
Patent Citations
Bluetooth and digital communication positioning technology-based loss prevention system
CN104777451A
Bluetooth wearable device locating method, Bluetooth repeater device and Bluetooth monitor device
CN104780607A