Alarm method, device, equipment and product
By receiving the broadcast information of the smart watch and waking up the alarm application to make alarm judgments, the problem of not being able to alarm when the APP is not opened is solved, and timely alarms are achieved in case of emergency and user safety is improved.
Patent Information
- Application Number
- CN202510270161.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-05-23
AI Technical Summary
The emergency help function of existing smart watches cannot alarm normally when the APP of the communication device is not turned on, especially when the user is inactive or the mobile phone cannot be operated due to accidents.
By receiving the broadcast information sent by the smart watch, wake up the alarm application and make alarm judgments through the application. If an alarm is determined to be called, an alarm information is generated and sent to the cloud server, and the cloud server will issue an emergency alarm.
It solves the problem that the communication device cannot alarm when the watch application is not opened, improves the efficiency of alarm and user safety, and ensures that help can be obtained in an emergency.
Smart Images

Figure CN120032472A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart watches, and in particular to an alarm method, device, equipment and product. Background Art
[0002] The emergency help function of smart watches is a technology that has developed rapidly in recent years with the advancement of wearable technology. These functions are designed to improve the safety of users in emergency situations. As people's habits of outdoor activities and exercising alone become more and more common, the risk of encountering accidents also increases. In outdoor activities, it becomes particularly important to get help quickly.
[0003] However, existing technologies require that the APP corresponding to the watch in the communication device is in running state to trigger an alarm. Under normal circumstances, when the user is exercising, the APP is often killed by the mobile phone system due to the long time, which may cause the APP to be unable to send out the emergency help signal in time. In addition, during the user's exercise, if the user falls and the mobile phone falls, and the user is unable to get the mobile phone due to serious injuries, even if the watch automatically triggers the emergency help function, the emergency help information cannot be sent because the APP is not opened.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide an alarm method, device, equipment and product, aiming to solve the technical problem that the communication device cannot alarm when the watch application is not opened.
[0006] To achieve the above purpose, the present application proposes an alarm method, which is applied to a user terminal and includes:
[0007] Receiving broadcast information sent by the watch, waking up the alarm application according to the broadcast information, and performing alarm judgment on the broadcast information through the alarm application to obtain a judgment result;
[0008] When the judgment result indicates that an alarm is required, an alarm message is generated and sent to a cloud server, and the cloud server issues an emergency alarm based on the alarm message.
[0009] In one embodiment, before the step of receiving the broadcast information sent by the wristwatch, waking up the alarm application according to the broadcast information, and making an alarm judgment on the broadcast information by the alarm application to obtain the judgment result, the method further includes:
[0010] Enable location permission for the alarm application;
[0011] Sending a Bluetooth pairing request to the watch through the alarm application, and the watch responding to the Bluetooth pairing request to obtain a pairing result;
[0012] The pairing result is received, and the application unique identifier and the watch Bluetooth unique identifier in the pairing result are stored in an identifier cache.
[0013] In one embodiment, the step of performing alarm determination on the broadcast information by the alarm application to obtain a determination result comprises:
[0014] Parsing the broadcast information to obtain a first universal unique identifier, and parsing the broadcast information through the alarm application according to the first universal unique identifier to obtain a second universal unique identifier;
[0015] In the case where the first universal unique identifier is the same as the second universal unique identifier, recording the signal strength value and the reception time of the broadcast information by the alarm application;
[0016] Time series data is generated according to the signal strength value and the receiving time, and an alarm judgment is performed through the generated time series data to obtain the judgment result.
[0017] In one embodiment, the step of generating time series data according to the signal strength value and the receiving time, and performing alarm judgment by using the generated time series data to obtain the judgment result includes:
[0018] Calculating the average value of the time series data to obtain several groups of average signal strength values;
[0019] Determine a signal value threshold value by using the plurality of groups of average signal strength values;
[0020] Performing power analysis on the plurality of groups of average signal strength values by using the signal value threshold to obtain low-power signals and high-power signals;
[0021] Determine whether the low-power signal and the high-power signal meet an alarm triggering condition to obtain the determination result.
[0022] In addition, to achieve the above purpose, the present application also proposes an alarm method, which is applied to a wristwatch and includes:
[0023] The sensor detects the user's motion and sends a broadcast message to the user terminal when the user falls. The user terminal wakes up the alarm application according to the broadcast message, and the alarm application performs an alarm judgment on the broadcast message to obtain a judgment result;
[0024] When the judgment result indicates that an alarm is required, the user terminal generates an alarm message and sends the alarm message to the cloud server, and the cloud server issues an emergency alarm based on the alarm message.
[0025] In one embodiment, the step of detecting the motion of the user by using a sensor and sending broadcast information to the user terminal when detecting that the user falls comprises:
[0026] When it is detected that the user enters a motion state, the sensor detects the user in real time to obtain motion data of the user;
[0027] Performing fall detection on the motion data by using a fall algorithm to obtain a fall detection result;
[0028] When the fall detection result is that the user has fallen, analyzing the connection status between the wristwatch and the alarm application;
[0029] If the connection state is disconnected, the broadcast information is sent to the user terminal.
[0030] In addition, to achieve the above purpose, the present application also proposes an alarm method, which is applied to a cloud server and includes:
[0031] Receiving alarm information sent by a user terminal, wherein the alarm information is obtained by the user terminal waking up an alarm application according to broadcast information sent by a wristwatch, and the alarm application judges the broadcast information;
[0032] Make an emergency alarm according to the alarm information.
[0033] In addition, to achieve the above purpose, the present application also proposes an alarm device, which is applied to a user end and includes:
[0034] A judgment module, used for receiving broadcast information sent by the wristwatch, waking up the alarm application according to the broadcast information, and performing alarm judgment on the broadcast information through the alarm application to obtain a judgment result;
[0035] The alarm module is used to generate alarm information when the judgment result is that an alarm is needed, and send the alarm information to the cloud server, and the cloud server will make an emergency alarm based on the alarm information.
[0036] In addition, to achieve the above objectives, the present application also proposes an alarm device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the alarm method described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the alarm method described above are implemented.
[0038] One or more technical solutions proposed in this application have at least the following technical effects:
[0039] The embodiment of the present application proposes an alarm method, device, equipment and product, which receives broadcast information sent by a watch, wakes up an alarm application according to the broadcast information, and uses the alarm application to make an alarm judgment on the broadcast information to obtain a judgment result; if the judgment result is that an alarm is needed, an alarm message is generated, and the alarm message is sent to a cloud server, and the cloud server makes an emergency alarm according to the alarm message. Therefore, after receiving the broadcast information sent by the smart watch, the user end makes an alarm judgment on the broadcast information, determines whether the current user's situation requires an alarm, and generates an alarm message when it is determined that the user needs an alarm, and sends it to the cloud server to complete the alarm, which solves the problem that the communication device cannot make an alarm when the watch application is not opened, and improves the efficiency of the alarm. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0042] Figure 1 A flowchart of the first embodiment of the alarm method of the present application is provided;
[0043] Figure 2 A brief flowchart of the alarm method provided in Example 2 of the present application;
[0044] Figure 3 A flowchart of the second embodiment of the alarm method of the present application is provided;
[0045] Figure 4 A flowchart of the second embodiment of the alarm method of this application is provided;
[0046] Figure 5 This is a schematic diagram of the module structure of the alarm device according to an embodiment of the present application;
[0047] Figure 6 It is a schematic diagram of the device structure of the hardware operating environment involved in the alarm method in the embodiment of the present application.
[0048] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] The main solution of the embodiment of the present application is: open the positioning permission of the alarm application; send a Bluetooth pairing application to the watch through the alarm application, and the watch responds to the Bluetooth pairing application to obtain the pairing result; receive the pairing result, and store the application unique identifier and the watch Bluetooth unique identifier in the pairing result to the identifier cache. Parse the broadcast information to obtain the first universal unique identifier, and parse the broadcast information through the alarm application according to the first universal unique identifier to obtain the second universal unique identifier; when the first universal unique identifier and the second universal unique identifier are the same, record the signal strength value and the receiving time of the broadcast information through the alarm application; generate time series data according to the signal strength value and the receiving time, and make an alarm judgment by generating the time series data to obtain the judgment result. Calculate the average value of the time series data to obtain several groups of average signal strength values; determine the signal value threshold through several groups of average signal strength values; perform power analysis on several groups of average signal strength values through the signal value threshold to obtain low-power signals and high-power signals; judge whether the low-power signal and the high-power signal meet the alarm triggering conditions to obtain the judgment result. The user's motion is detected by the sensor. When the user falls, a broadcast message is sent to the user end. The user end wakes up the alarm application according to the broadcast message, and the alarm application makes an alarm judgment on the broadcast message to obtain the judgment result; when the judgment result is that an alarm is required, the user end generates an alarm message and sends the alarm message to the cloud server, and the cloud server makes an emergency alarm according to the alarm message. When the user is detected to be in a motion state, the user is detected in real time by the sensor to obtain the user's motion data; the motion data is fall-detected by the fall algorithm to obtain the fall detection result; when the fall detection result is that the user falls, the connection status between the watch and the alarm application is analyzed; if the connection status is not connected, a broadcast message is sent to the user end. The alarm message sent by the user end is received. The alarm message is obtained by the user end waking up the alarm application according to the broadcast message sent by the watch, and the alarm application judges the broadcast message; an emergency alarm is made according to the alarm message. Thus, the problem that the communication device cannot make an alarm when the watch application is not opened is solved, the alarm when the user falls is realized, and the efficiency of the alarm is improved. Based on the scheme of the present invention, an alarm method is designed based on the problem that the alarm of a smart watch in reality requires a communication device to ensure that the APP is in a running state to be triggered, but the background of the mobile phone may be automatically closed by the system, so that the alarm cannot be triggered. The effectiveness of the alarm method of the present invention is verified in the event of an accidental alarm, and finally the efficiency of the alarm is significantly improved through the method of the present invention.
[0052] In this embodiment, for the convenience of description, the following description is made with the alarm device as the execution subject.
[0053] Since the emergency help function of smart watches in the prior art is a technology that has developed rapidly in recent years with the advancement of wearable technology, these functions are designed to improve the safety of users in emergency situations. As people's habits of outdoor activities and exercising alone become more and more common, the risk of encountering accidents also increases. In outdoor activities, it is particularly important to get help quickly. However, the existing alarm requires the APP to remain running and connected to the sports watch. After receiving the emergency help signal from the watch, the APP sends an emergency help request to the server. Then, after receiving the request, the server sends a text message to the pre-set emergency contact, thereby completing the entire emergency help process. When the system runs for too long or the battery is low, the APP is often killed by the mobile phone system, which may cause the emergency help signal to fail to be sent in time.
[0054] The present application provides a solution, which receives the broadcast information sent by the watch on the user side, makes alarm judgment based on the obtained broadcast information, and sends it to the cloud server to complete the alarm judgment when judgment is required. At the same time, the smart watch will send specific information based on the connection status with the user side APP, providing users with better service.
[0055] It can be seen from the above embodiments that the present application receives the broadcast information sent by the watch, wakes up the alarm application according to the broadcast information, and uses the alarm application to make an alarm judgment on the broadcast information to obtain a judgment result; if the judgment result is that an alarm is required, an alarm message is generated, and the alarm message is sent to the cloud server, and the cloud server makes an emergency alarm based on the alarm message. Therefore, after receiving the broadcast information sent by the smart watch, the user end makes an alarm judgment on the broadcast information, determines whether the current user's situation requires an alarm, and generates an alarm message when it is determined that the user needs an alarm, and sends it to the cloud server to complete the alarm, which solves the problem that the alarm cannot be made when the communication device does not open the watch application, and improves the efficiency of the alarm.
[0056] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, an alarm device, etc. The following takes an alarm device as an example to illustrate this embodiment and the following embodiments.
[0057] Based on this, the present application embodiment provides an alarm method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the alarm method of the present application.
[0058] In this embodiment, the alarm method includes steps S04 to S05:
[0059] Step S04, receiving the broadcast information sent by the watch, waking up the alarm application according to the broadcast information, and performing alarm judgment on the broadcast information through the alarm application to obtain a judgment result;
[0060] Before starting to explain this embodiment, it should be clear that the emergency help function of smart watches is a technology that has developed rapidly in recent years with the advancement of wearable technology. These functions are designed to improve the safety of users in emergency situations. As people's habits of outdoor activities and exercising alone become more and more common, the risk of encountering accidents also increases. In outdoor activities, it becomes particularly important to get help quickly.
[0061] However, existing technologies require that the APP corresponding to the watch in the communication device is in running state to trigger an alarm. Under normal circumstances, when the user is exercising, the APP is often killed by the mobile phone system due to the long time, which may cause the APP to be unable to send out the emergency help signal in time. In addition, during the user's exercise, if the user falls and the mobile phone falls, and the user cannot get the mobile phone due to serious injuries, even if the watch automatically triggers the emergency help function, the emergency help information cannot be sent because the APP is not opened.
[0062] The occurrence of the above situation will result in the user being unable to be alarmed for special situations such as falling down when using the watch for exercise, and being unable to protect the user's safety. Therefore, in this embodiment, the broadcast information sent by the watch is received by the user end, and then the broadcast information is alarmed and judged through the alarm application to obtain the judgment result. Among them, the user end in this embodiment refers to the communication device used by the user, such as mobile phones, tablets, mobile computers and other devices, the watch can be a sports watch for recording the user's exercise data, and the alarm application is an application that interacts with the watch, which can be used for users to view, record and change the dial of exercise data.
[0063] Step S05, when the judgment result is that an alarm is needed, an alarm message is generated and sent to the cloud server, and the cloud server makes an emergency alarm based on the alarm message.
[0064] When the user determines that the broadcast information currently received from the watch requires an alarm, an alarm message is generated and sent to the cloud server, which then makes an emergency alarm based on the alarm message. It should be clear that the cloud server includes the alarm method and emergency contacts set by the user, so that timely alarms can be issued in the event of an accident to ensure the safety of the user.
[0065] In this embodiment, through the multi-party linkage of the user terminal, the watch and the cloud server, timely alarm is achieved when the user encounters an unexpected situation during exercise.
[0066] Specifically, before the above step S04, receiving the broadcast information sent by the watch, waking up the alarm application according to the broadcast information, and making an alarm judgment on the broadcast information through the alarm application, and obtaining the judgment result, the method also includes:
[0067] Step S01, enable the location permission of the alarm application;
[0068] Step S02, sending a Bluetooth pairing request to the watch through the alarm application, and the watch responds to the Bluetooth pairing request to obtain a pairing result;
[0069] Step S03, receiving the pairing result, and storing the application unique identifier and the watch Bluetooth unique identifier in the pairing result into an identifier cache library.
[0070] In this embodiment, the user opens the APP, agrees that the APP obtains location permissions and selects to always allow the acquisition of geographic location;
[0071] Then, the user makes sure that the Bluetooth of the mobile phone is turned on, and uses the APP to start pairing the watch. During the pairing process, the APP can obtain the watch UUID and cache the watch UUID locally for storage.
[0072] At the same time, the APP obtains the device type and sends the device type to the watch, for example,
[0073] The UUID of this watch obtained by the APP is:
[0074] 6871AED7-3ACE-3230-93BF-C440E046CDB7, referred to as UUID = 68B7, the package name of the APP is com.wanbao.watch, where (UUID is the unique identifier of the watch Bluetooth, and the APP package name is the unique identifier of the APP);
[0075] In this embodiment, the device type refers to whether the mobile phone type is Apple or Android.
[0076] More specifically, the above step S04, the step of performing alarm determination on the broadcast information through the alarm application and obtaining the determination result includes:
[0077] Step S041, parsing the broadcast information to obtain a first universal unique identifier, and parsing the broadcast information through an alarm application according to the first universal unique identifier to obtain a second universal unique identifier;
[0078] Step S042, when the first universal unique identifier and the second universal unique identifier are the same, recording the signal strength value and the receiving time of the broadcast information through the alarm application;
[0079] Step S043, generating time series data according to the signal strength value and the receiving time, and performing alarm judgment by generating the time series data to obtain a judgment result.
[0080] After the mobile phone Bluetooth module receives the iBeacon broadcast data, it parses the received broadcast data to determine whether the broadcast data contains the UUID monitored by the APP. For example, the UUID parsed from the iBeacon broadcast data is 68B7. The mobile phone operating system finds the corresponding APP com.wanbao.watch based on 68B7. The mobile phone operating system wakes up the APP and sends the 68B7 data to the APP.
[0081] The APP receives the data and parses it to determine whether the parsed UUID is the same as the previously saved watch UUID. For example, the UUID of the data received by the APP after parsing is 68B7. When the UUID cached by the APP in the above is 68B7, the two UUIDs are the same. If they are the same, the APP records the RSSI value and reception time of each broadcast to form a set of time series data. When all the time series data are generated, the generated time series data can be used to determine whether to alarm and obtain the final judgment result.
[0082] Furthermore, in the above step S043, the time series data is generated according to the signal strength value and the receiving time, and the alarm judgment is performed by generating the time series data, and the step of obtaining the judgment result includes:
[0083] Step S0431, calculating the average value of the time series data to obtain several groups of average signal strength values;
[0084] Step S0432, determining a signal value threshold through a plurality of groups of average signal strength values;
[0085] Step S0433, performing power analysis on a plurality of groups of average signal strength values by using a signal value threshold to obtain low power signals and high power signals;
[0086] Step S0434, judging whether the low power signal and the high power signal meet the alarm triggering condition, and obtaining the judgment result.
[0087] Time series data in this example:
[0088] Data = {(RSSI1, t1), (RSSI2, t2), ..., (RSSIn, tn)}, where Data1 is the data of the first broadcast segment, Data2 is the data of the second broadcast segment, DataN is the data of the Nth broadcast segment, and RSSI is the received signal strength indication, so the Data shown above includes the radio frequency signal power strength 1 (RSSI1) of the t1 period, the radio frequency signal power strength 2 (RSSI2) of the t2 period, ..., the radio frequency signal power strength n (RSSIn) of the tn period;
[0089] In order to cope with the fluctuation of the signal strength received by the APP outdoors, each segment of Data is averaged to obtain the average signal strength value averageRSSIN of each segment of broadcast. For example, averageRSSI1 is the average signal strength value of the first segment of broadcast data, and averageRSSI2 is the average signal strength value of the second segment of broadcast data.
[0090] Will (averageRSSI1+averageRSSI2+averageRSSI3+averageRSSI4+…
[0091] AverageRSSI10) is divided by 10 to obtain a threshold value. The threshold value in this embodiment separates the interval of high-power signal strength RSSI from the interval of low-power signal strength RSSI (e.g., -30dBm is the dividing point).
[0092] If averageRSSI1 is greater than the threshold, it is considered that the signal strength is received under high-power broadcasting. Then the corresponding data1 data is taken out to determine whether tn-t1 is equal to 5 seconds. If it is equal to 5 seconds, it is considered that the high-power broadcast is received for 5 seconds.
[0093] Then, determine whether averageRSSI2 is less than the threshold. If so, it is considered that the signal strength is received under low-power broadcasting. Then, take out the corresponding data2 data and determine whether tn-t1 is equal to 5 seconds. If it is equal to 5 seconds, it is considered that low-power broadcasting is received for 5 seconds. Then, determine whether averageRSSI3 is greater than the threshold. If so, it is considered that the signal strength is received under high-power broadcasting. Then, take out the corresponding data3 data and determine whether tn-t1 is equal to 5 seconds. If it is equal to 5 seconds, it is considered that high-power broadcasting is received for 5 seconds.
[0094] In this embodiment, the power of iBeacon broadcast is set to two gears, high power and low power. Within one hour, high power broadcast is sent for 5 seconds, paused for 3 seconds, followed by low power broadcast for 5 seconds, paused for 3 seconds, then high power broadcast is sent for 5 seconds, paused for 3 seconds, low power broadcast is sent for 5 seconds, paused for 3 seconds, and then low power broadcast is sent for 5 seconds, paused for 3 seconds, and then the cycle is repeated. If it exceeds 1 hour, the broadcast is stopped.
[0095] In this embodiment, the power of the iBeacon broadcast sent by the watch is dynamically adjusted and regular. This is because the regular dynamic adjustment of the broadcast power not only allows the APP to be awakened when receiving the broadcast, but also allows the APP to identify the specific intention of the broadcast to prevent misjudgment, so as to correctly perform the corresponding operation. For example, if the APP needs to send an emergency alarm message to the server, it can determine the specific intention of the broadcast by parsing the unique identifier (UUID) in the broadcast and the broadcast signal strength. Once it is confirmed that the broadcast signal strength meets the preset sending rules, the application can reliably trigger the emergency alarm process and transmit the relevant alarm information to the server. The relationship formula between the Bluetooth signal strength and the distance is as follows:
[0096] Pr=Pt+Gt+Gr-Lp
[0097] Among them, Pr refers to the received signal strength (dBm), that is, RSSI, Pt refers to the transmit power (dBm), Gt and Gr refer to the gains of the transmitting antenna and the receiving antenna (dBi), and Lp refers to the path loss (dB). The free space path loss formula is as follows: Lp = 20log10(d) + 20log10(f) -147.55, d refers to the distance between the transmitting and receiving devices (meters), f refers to the frequency (MHz), and the frequency of Bluetooth broadcast is 2400MHz.
[0098] From this we can see that the greater the power of the iBeacon broadcast sent by the watch, the greater the signal strength RSSI received by the APP.
[0099] The overall flow chart of this embodiment is as follows Figure 2 As shown, the smart watch performs corresponding motion detection when the user is doing running, marathon, fitness and other sports, and then automatically or manually triggers emergency assistance according to the user's actual situation;
[0100] When an accident occurs to the user, such as falling, the data will be received and analyzed directly through the APP when it is connected. If the APP is not connected, the APP will be woken up and the data will be analyzed. Based on the data obtained, it will be determined whether to seek emergency help. If it is determined that emergency help is needed, the alarm information will be sent to the server, which will receive and analyze the data and send an emergency alarm to the emergency contact.
[0101] This embodiment can improve the response speed of the emergency help signal. Even when the user cannot directly operate the mobile phone, the smart watch can regularly and dynamically adjust the broadcast power to ensure that the emergency help signal can be sent in time. In addition, this embodiment can also enhance security, that is, when the user encounters an emergency, even if the user cannot operate the mobile phone, the normal operation of the emergency help function can be ensured, thereby improving security. This method can also improve the user experience, that is, the user does not have to worry about the problem of the emergency help function failing due to the application being closed by the system, thereby improving the reliability of the product and user confidence. Finally, this embodiment simplifies the specific operating process so that the user does not need to manually open the APP to receive the emergency help signal, reducing the operating steps and making the emergency help function more convenient.
[0102] This embodiment adopts the above scheme, specifically by receiving the broadcast information sent by the watch, waking up the alarm application according to the broadcast information, and making an alarm judgment on the broadcast information through the alarm application to obtain the judgment result; if the judgment result is that an alarm is needed, an alarm message is generated, and the alarm message is sent to the cloud server, and the cloud server makes an emergency alarm according to the alarm message. Therefore, after receiving the broadcast information sent by the smart watch, the user end makes an alarm judgment on the broadcast information, determines whether the current user's situation requires an alarm, and generates an alarm message when it is determined that the user needs an alarm, and sends it to the cloud server to complete the alarm, which solves the problem that the alarm cannot be made when the communication device does not open the watch application, and improves the efficiency of the alarm.
[0103] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 The alarm method is applied to a wristwatch, and the method further comprises steps S06 to S07:
[0104] Step S06, detecting the user's motion through the sensor, and sending a broadcast message to the user terminal when detecting the user's fall, and the user terminal wakes up the alarm application according to the broadcast message, and the alarm application performs an alarm judgment on the broadcast message to obtain a judgment result;
[0105] Step S07, when the judgment result is that an alarm is needed, the user terminal generates an alarm message and sends the alarm message to the cloud server, and the cloud server issues an emergency alarm based on the alarm message.
[0106] The watch in this embodiment integrates high-precision sensors such as temperature, acceleration, humidity, and GPS, and supports sports such as indoor running, outdoor running, indoor walking, outdoor walking, outdoor cycling, indoor swimming, outdoor swimming, triathlon, hiking, mountaineering, cross-country running, elliptical machine, rowing machine, rope skipping, indoor cycling, mountain climbing machine, compound exercise, outdoor rowing, boxing, dumbbells, aerobic exercise, yoga, tennis, strength training, skiing, snowboarding, cross-country skiing, paddle boarding, kayaking, and marathon. This embodiment takes the user wearing the smart watch during running and other sports as an example;
[0107] The user clicks on the APP to turn on the fall detection function, and the APP sends a command to the watch to turn on the fall detection function. After receiving the command, the watch turns on the fall detection function. The watch also returns a command to tell the APP that the fall detection function has been turned on. The user can also turn on the fall detection on the watch, and the watch will also send a command to tell the APP that the fall detection function has been turned on.
[0108] The user's motion is then detected through sensors. If the user is detected to have fallen, a broadcast message is sent to the user end, which then makes an alarm judgment on the broadcast message through an alarm application. If it is determined that an alarm is needed, the user end generates an alarm message and sends it to the cloud server, which then issues an emergency alarm based on the alarm message.
[0109] Specifically, the above step S06, detecting the motion of the user by using a sensor, and sending broadcast information to the user terminal when detecting that the user falls, includes:
[0110] Step S061, when it is detected that the user enters a motion state, the user is detected in real time through a sensor to obtain the user's motion data;
[0111] Step S062, performing fall detection on the motion data by using a fall algorithm to obtain a fall detection result;
[0112] Step S063, when the fall detection result is that the user has fallen, analyzing the connection status between the watch and the alarm application;
[0113] Step S064: If the connection state is not connected, broadcast information is sent to the user terminal.
[0114] After the watch detects that the user is exercising or the user turns on the exercise function on his own, the watch will detect the user's exercise status;
[0115] When the user falls during exercise, the watch detects the user's fall through its own fall algorithm and determines whether it is connected to the APP. If it is connected, it sends an emergency help command to the APP. If it is disconnected, if it is an iOS phone, the watch will continue to send iBeacon broadcasts within a preset time. If it is an Android phone, the watch will continue to send Eddystone broadcasts. The power of the broadcast sent by the watch is dynamically adjusted and regular.
[0116] In this embodiment, before the user performs motion detection, the user clicks to turn on the fall monitoring function on the APP, the APP registers for iBeacon broadcast signal monitoring, and explains to monitor the iBeacon broadcast signal of the Bluetooth device with UUID equal to 68B7, and binds the APP package name and UUID one by one. The mobile phone system will intelligently scan the iBeacon broadcast package in the background. For example, the APP registers to monitor the iBeacon broadcast signal of 68B7, and matches com.wanbao.watch with 68B7 one by one. Subsequently, the mobile phone system can find the corresponding matching APP of 68B7 as com.wanbao.watch based on the iBeacon broadcast signal monitored by 68B7, and can send broadcast information to the corresponding user end.
[0117] This embodiment uses the above scheme to specifically detect the user's motion through sensors. When the user falls, a broadcast message is sent to the user end. The user end wakes up the alarm application according to the broadcast message, and uses the alarm application to make an alarm judgment on the broadcast message to obtain a judgment result. When the judgment result is that an alarm is required, the user end generates an alarm message and sends the alarm message to the cloud server, and the cloud server makes an emergency alarm according to the alarm message. Therefore, after receiving the broadcast message sent by the smart watch, the user end makes an alarm judgment on the broadcast message, determines whether the current user's situation requires an alarm, and generates an alarm message when it is determined that the user needs an alarm, and sends it to the cloud server to complete the alarm, which solves the problem that the alarm cannot be made when the communication device does not open the watch application, and improves the efficiency of the alarm.
[0118] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned second embodiment can refer to the above introduction, and will not be repeated in the following. Figure 4 The alarm method is applied to the cloud server, and the method also includes steps S08 to S09:
[0119] Step S08, receiving the alarm information sent by the user end, the alarm information is obtained by the user end waking up the alarm application according to the broadcast information sent by the watch, and the alarm application judges the broadcast information;
[0120] Step S09: Make an emergency alarm according to the alarm information.
[0121] It should be clear that the cloud server in this embodiment adopts a microservice architecture design for the server backend, which parses the JSON format data (i.e., alarm information) uploaded by the App, queries the emergency contact phone number that has been set by the APP in the server, and sends text messages to the emergency contact.
[0122] Therefore, in this embodiment, after receiving the emergency help request (alarm information) sent by the user, the cloud server sends a help text message or phone call to the emergency contact to complete the emergency alarm.
[0123] This embodiment uses the above scheme to specifically receive the alarm information sent by the user end. The alarm information is obtained by waking up the alarm application according to the broadcast information sent by the watch, and the alarm application judges the broadcast information; an emergency alarm is issued according to the alarm information. Therefore, after receiving the broadcast information sent by the smart watch, the user end makes an alarm judgment on the broadcast information, determines whether the current user's situation requires an alarm, and generates an alarm information when it is determined that the user needs to alarm, and the cloud server completes the alarm, which solves the problem that the alarm cannot be issued when the communication device does not open the watch application, and improves the efficiency of the alarm.
[0124] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the alarm method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0125] This application also provides an alarm device, please refer to Figure 5 , the alarm device includes:
[0126] The judgment module 10 is used to receive the broadcast information sent by the watch, wake up the alarm application according to the broadcast information, and make an alarm judgment on the broadcast information through the alarm application to obtain a judgment result;
[0127] The alarm module 20 is used to generate alarm information when the judgment result is that an alarm is needed, and send the alarm information to the cloud server, and the cloud server will issue an emergency alarm based on the alarm information.
[0128] The alarm device provided by the present application adopts the alarm method in the above embodiment, which can solve the technical problem that the communication device cannot alarm when the watch application is not opened. Compared with the prior art, the beneficial effects of the alarm device provided by the present application are the same as the beneficial effects of the alarm method provided by the above embodiment, and other technical features in the alarm device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0129] The present application provides an alarm device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the alarm method in the above-mentioned embodiment one.
[0130] Reference below Figure 6 , which shows a schematic diagram of the structure of an alarm device suitable for implementing the embodiment of the present application. The alarm device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The alarm device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0131] like Figure 6 As shown, the alarm device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the alarm device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the alarm device to communicate with other devices wirelessly or by wire to exchange data. Although the alarm device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0132] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0133] The alarm device provided by the present application adopts the alarm method in the above embodiment, which can solve the technical problem that the communication device cannot alarm when the watch application is not opened. Compared with the prior art, the beneficial effects of the alarm device provided by the present application are the same as the beneficial effects of the alarm method provided by the above embodiment, and the other technical features in the alarm device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0134] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0135] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0136] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the alarm method in the above-mentioned embodiment.
[0137] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0138] The computer-readable storage medium may be included in the alarm device; or may exist independently without being assembled into the alarm device.
[0139] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the alarm device, the alarm device: receives the broadcast information sent by the watch, wakes up the alarm application according to the broadcast information, and performs an alarm judgment on the broadcast information through the alarm application to obtain a judgment result; when the judgment result is that an alarm is needed, generates alarm information, and sends the alarm information to the cloud server, and the cloud server makes an emergency alarm based on the alarm information.
[0140] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0141] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0142] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0143] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned alarm method, and can solve the technical problem that the communication device cannot alarm when the watch application is not opened. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the alarm method provided by the above-mentioned embodiment, and will not be repeated here.
[0144] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned alarm method when executed by a processor.
[0145] The computer program product provided by the present application can solve the technical problem that the communication device cannot alarm when the watch application is not opened. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the alarm method provided by the above embodiment, which will not be repeated here.
[0146] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. An alarm method, characterized in that: The method is applied to a user terminal, and the method comprises: Receiving broadcast information sent by the watch, waking up the alarm application according to the broadcast information, and performing alarm judgment on the broadcast information through the alarm application to obtain a judgment result; When the judgment result indicates that an alarm is required, an alarm message is generated and sent to a cloud server, and the cloud server issues an emergency alarm based on the alarm message.
2. The method according to claim 1, characterized in that Before the step of receiving the broadcast information sent by the wristwatch, waking up the alarm application according to the broadcast information, and making an alarm judgment on the broadcast information by the alarm application to obtain the judgment result, the method further includes: Enable location permission for the alarm application; Sending a Bluetooth pairing request to the watch through the alarm application, and the watch responding to the Bluetooth pairing request to obtain a pairing result; The pairing result is received, and the application unique identifier and the watch Bluetooth unique identifier in the pairing result are stored in an identifier cache.
3. The method according to claim 1, characterized in that The step of performing alarm judgment on the broadcast information through the alarm application to obtain the judgment result comprises: Parsing the broadcast information to obtain a first universal unique identifier, and parsing the broadcast information through the alarm application according to the first universal unique identifier to obtain a second universal unique identifier; In the case where the first universal unique identifier is the same as the second universal unique identifier, recording the signal strength value and the reception time of the broadcast information by the alarm application; Time series data is generated according to the signal strength value and the receiving time, and an alarm judgment is performed through the generated time series data to obtain the judgment result.
4. The method according to claim 3, characterized in that The step of generating time series data according to the signal strength value and the receiving time, and performing alarm judgment by using the generated time series data to obtain the judgment result comprises: Calculating the average value of the time series data to obtain several groups of average signal strength values; Determine a signal value threshold value by using the plurality of groups of average signal strength values; Performing power analysis on the plurality of groups of average signal strength values by using the signal value threshold to obtain low-power signals and high-power signals; Determine whether the low-power signal and the high-power signal meet an alarm triggering condition to obtain the determination result.
5. An alarm method, characterized in that: The method is applied to a wristwatch, and comprises: The sensor detects the user's motion and sends a broadcast message to the user terminal when the user falls. The user terminal wakes up the alarm application according to the broadcast message, and the alarm application performs an alarm judgment on the broadcast message to obtain a judgment result; When the judgment result indicates that an alarm is required, the user terminal generates an alarm message and sends the alarm message to the cloud server, and the cloud server issues an emergency alarm based on the alarm message.
6. The method according to claim 5, characterized in that The step of detecting the motion of the user by using a sensor and sending broadcast information to the user terminal when detecting that the user falls comprises: When it is detected that the user enters a motion state, the sensor detects the user in real time to obtain motion data of the user; Performing fall detection on the motion data by using a fall algorithm to obtain a fall detection result; When the fall detection result is that the user has fallen, analyzing the connection status between the wristwatch and the alarm application; If the connection state is disconnected, the broadcast information is sent to the user terminal.
7. An alarm method, characterized in that: The method is applied to a cloud server, and the method comprises: Receiving alarm information sent by a user terminal, wherein the alarm information is obtained by the user terminal waking up an alarm application according to broadcast information sent by a wristwatch, and the alarm application judges the broadcast information; Make an emergency alarm according to the alarm information.
8. An alarm device, characterized in that: The device is applied to a user terminal, and comprises: A judgment module, used for receiving broadcast information sent by the wristwatch, waking up the alarm application according to the broadcast information, and performing alarm judgment on the broadcast information through the alarm application to obtain a judgment result; The alarm module is used to generate alarm information when the judgment result is that an alarm is needed, and send the alarm information to the cloud server, and the cloud server will make an emergency alarm based on the alarm information.
9. An alarm device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the alarm method according to any one of claims 1 to 7.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the alarm method according to any one of claims 1 to 7 are implemented.