Early warning method and electronic equipment
The predictive warning method for divers uses data analysis to alert them of hazardous underwater conditions, preventing entry into unsafe zones and enhancing safety by utilizing an electronic device that monitors pressure, depth, and heart rate data.
Patent Information
- Application Number
- CN202311290651.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
Existing underwater rescue systems cannot prevent divers from entering potentially hazardous water areas, as they only provide rescue measures after danger is detected, not preventing entry into unsafe zones.
A predictive warning method using an electronic device that collects and analyzes pressure, depth, heart rate, and movement data to detect anomalies in the underwater environment, alerting divers to leave the area before entering hazardous conditions.
The method effectively warns divers of impending hazards by analyzing multiple parameters, enhancing safety by preventing entry into dangerous areas, thereby reducing the risk of accidents.
Smart Images

Figure CN119723808A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an early warning method and electronic equipment. Background Art
[0002] With the improvement of living standards, more and more people like diving. However, due to the openness of diving waters, large water areas, and the impact of climate change, even if the diving routes are designated in advance, there will be some diving areas with potential safety hazards, and divers are prone to danger when diving in such diving areas.
[0003] In the related art, the smart rescue bracelet device in water areas can release the life-saving device in dangerous situations. However, this method cannot prevent divers from entering dangerous diving areas. Summary of the invention
[0004] The present application provides an early warning method and electronic equipment, which can remind divers to leave the current water area when the diving water area is abnormal, so as to prevent divers from entering dangerous diving areas.
[0005] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:
[0006] In a first aspect, the present application provides an early warning method, which includes: obtaining first data; the first data includes a change value of a first parameter per unit time; the first parameter includes a pressure value, a diving depth, and a user movement speed; judging whether the diving water area is abnormal based on the first data, and issuing an early warning prompt when the diving water area is abnormal.
[0007] In this way, divers (users) can be reminded to leave the current waters before entering dangerous waters. And judging whether the diving waters are abnormal is based on the change values of multiple parameters in a unit time, not just based on the instantaneous values of multiple parameters. The judgment result obtained by the method of the embodiment of the present application is more accurate.
[0008] In a possible implementation, the method further includes: obtaining heart rate data; and providing an early warning according to the first data and the heart rate data. In this way, whether the diving water area is abnormal can be determined according to the change of the user's heart rate data, and the obtained determination result is more accurate.
[0009] In one possible implementation, the pressure is associated with the diving attitude.
[0010] Exemplarily, when the diving posture is forward diving, the pressure value received by the smart bracelet increases.
[0011] In a possible implementation, issuing an early warning prompt based on the first data includes: calculating the second data based on the first data; issuing an early warning prompt based on the second data, the change value of the user's movement speed per unit time, and the change value of the pressure difference per unit time.
[0012] Optionally, the second data is a constant. When the diver dives, the smart bracelet obtains the change value of the user's movement speed per unit time and the change value of the pressure difference per unit time, and determines whether the diving water area is abnormal based on the second data, the change value of the user's movement speed per unit time and the change value of the pressure difference per unit time. When the diving water area is abnormal, an early warning prompt is issued.
[0013] In a possible implementation, an early warning is given based on the second data, the change value of the user's movement speed within a unit time, and the change value of the pressure difference within a unit time, including: when the change value of the pressure difference within a unit time is greater than a first threshold value and / or the pressure value within a unit time is greater than a second threshold value, an early warning is given. In this way, whether the diving water area is abnormal can be judged based on the change in the pressure value, and the judgment result obtained is more accurate.
[0014] For example, when the pressure value continues to increase over a period of time and the change in the pressure difference per unit time is greater than a first threshold, the diving water area may be abnormal and an early warning prompt is required.
[0015] As another example, when the pressure value suddenly increases within a period of time and the pressure value per unit time is greater than the second threshold, the diving water area may be abnormal and an early warning prompt is required.
[0016] In a possible implementation, issuing an early warning prompt based on the first data and the heart rate data includes issuing an early warning prompt when the change value of the heart rate data per unit time is greater than a third threshold value and / or the heart rate data per unit time is greater than a fourth threshold value. In this way, judging whether the diving water area is abnormal based on the change of the user's heart rate data, the judgment result obtained is more accurate.
[0017] For example, when the heart rate data continues to increase over a period of time and the change value of the heart rate data per unit time is greater than a first threshold, the diving water area may be abnormal and an early warning prompt is required.
[0018] As another example, when the heart rate data suddenly increases within a period of time and the heart rate data per unit time is greater than a second threshold, the diving water area may be abnormal and an early warning prompt is required.
[0019] In a possible implementation, the second data is calculated based on the first data, including: when the pressure value of the first depth of the diving water area is the first value, the second data is the second value; when the pressure value of the first depth of the diving water area is the third value, the second data is the fourth value; the first value is different from the third value; the second value is different from the fourth value. In this way, the second data of different diving water areas are different, which further improves the accuracy of the judgment result.
[0020] In a possible implementation, the diving posture includes at least one of: paddling forward, paddling backward, paddling upward, paddling downward, and being still.
[0021] In a possible implementation, the warning prompt includes at least one of a vibration reminder, a ringtone reminder, a voice reminder, and a text reminder.
[0022] In the second aspect, the present application provides an early warning device, including: an acquisition module: used to obtain first data; the first data includes a change value of a first parameter per unit time; the first parameter includes a pressure value, a diving depth, and a user movement speed; a processing module, used to issue an early warning prompt based on the first data.
[0023] In a third aspect, the present application provides a computer-readable storage medium, which includes a computer program or instructions. When the computer program or instructions are executed on a business processing device, the business processing device executes the method described in the first aspect.
[0024] In a fourth aspect, the present application provides a chip system comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor, and when the at least one processor executes the instructions, the at least one processor executes a method as described in any one of the above-mentioned first aspects.
[0025] In a fifth aspect, the present application also provides a computer program product, comprising instructions, which, when executed on a computer, enables the computer to execute the method as described in any one of the first aspects.
[0026] In a sixth aspect, an embodiment of the present application provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute the method of the first aspect or any one of the implementations of the first aspect.
[0027] In the seventh aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code comprising computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method of the first aspect or any one of the implementations of the first aspect.
[0028] The technical effects corresponding to the second to seventh aspects and any one of the implementation methods of the second to seventh aspects can be referred to the technical effects corresponding to the above-mentioned first aspect and any one of the implementation methods of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a structural diagram of an early warning system provided in an embodiment of the present application.
[0030] Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0031] Figure 3 It is a module schematic diagram of an early warning system provided in an embodiment of the present application.
[0032] Figure 4 It is a method flow chart of an early warning method provided in an embodiment of the present application.
[0033] Figure 5 It is a schematic diagram of an interface provided in an embodiment of the present application.
[0034] Figure 6 It is a structural schematic diagram of an electronic equipment device provided in an embodiment of the present application.
[0035] Figure 7 It is a structural schematic diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0037] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0038] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more. The "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0039] In one embodiment, when it is detected that a diver is in danger, the life-saving device is released. The life-saving device is composed of an inflatable gas cylinder, an airbag, an airbag box and a watch strap. The airbag is usually retracted and installed in the airbag box. The inflatable gas cylinder and the airbag box are installed on the watch strap through a connecting device, forming a wrist-worn mode on the wrist of the user. After the life-saving device is released, the inflatable gas cylinder port in the life-saving device is directly opened to inflate the airbag, thereby ensuring the safety of the diver. However, this method can only rescue the diver when he is in danger, and cannot prevent the diver from entering a dangerous diving area.
[0040] To solve the above problems, an embodiment of the present application proposes an early warning method, which can determine whether the current water area is abnormal based on changes in pressure data, diving rate, and diver's heart rate data during the diving process. If the current water area is abnormal, the diver can be reminded to leave the current water area.
[0041] In a possible implementation, the embodiment of the present application can be applied to an electronic device. Optionally, the electronic device can be a smart watch, a smart bracelet, a smart helmet, smart glasses, smart shoes, a mobile phone, and the like. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.
[0042] For example, Figure 1 As shown, the embodiments of the present application can be applied in a smart bracelet.
[0043] Figure 2 The figure shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. The electronic device includes at least one processor 201, a communication line 202, a memory 203 and at least one communication interface 204. The memory 203 may also be included in the processor 201.
[0044] Figure 2 The figure shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. The electronic device includes at least one processor 201, a memory 203 and at least one communication interface 204. The memory 203 may also be included in the processor 201. Optionally, the electronic device may also include a communication line.
[0045] The processor 201 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0046] Optionally, the communication link may include a pathway for transmitting information between the above-mentioned components.
[0047] Optionally, the communication interface 204 is used to communicate with other devices. In the embodiment of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver or other device capable of realizing a communication function, and is used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver, which is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information, and the embodiment of the present application does not limit the specific implementation of the transceiver.
[0048] The memory 203 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM) and direct rambus RAM (DR RAM) or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but not limited thereto. The memory can be independent and connected to the processor 201 via the communication line 202. The memory 203 can also be integrated with the processor 201.
[0049] The memory 203 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 201. The processor 201 is used to execute the computer-executable instructions stored in the memory 203, thereby implementing the early warning method provided in the following embodiments of the present application.
[0050] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer program or other names, which are not specifically limited in the embodiments of the present application.
[0051] In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as Figure 1 CPU0 and CPU1 in.
[0052] In a specific implementation, as an embodiment, the electronic device may include multiple processors, such as Figure 2 201 and processor 205 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0053] The above-mentioned electronic device may be a general device or a special device, and the embodiment of the present application does not limit the type of the electronic device.
[0054] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device. In other embodiments of the present application, the first electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0055] like Figure 3 As shown, it is a structural schematic diagram of the early warning system of an embodiment of the present application, and the early warning system includes an electrocardiogram (ECG) heart rate data measurement module 301, a pressure sensor module 302, a barometer module 303, a gyroscope module 304, a positioning module 305, a data fusion module 306 and an early warning prompt module 307.
[0056] The ECG heart rate data measurement module 301 is used to measure the heart rate data of the diver and send the heart rate data to the data fusion module 306 .
[0057] The pressure sensor module 302 is used to measure the pressure data of the electronic device and send the pressure data to the data fusion module 306 .
[0058] The barometer module 303 is used to measure the diving depth data of the diver and send the diving depth data to the data fusion module 306 .
[0059] The gyroscope module 304 is used to determine the diving posture information of the diver and send the diving posture information to the data fusion module 306 .
[0060] The positioning module 305 is used to determine the location information of the diver and send the location information to the data fusion module 306. Optionally, the positioning module 305 can be positioned by the global positioning system (GPS) or the Beidou navigation satellite system (BDS). The positioning module 305 can also be positioned by other positioning systems, which is not specifically limited in the embodiment of the present application.
[0061] Optionally, the embodiment of the present application may be introduced by taking the positioning module 305 positioning by GPS as an example.
[0062] The data fusion module 306 is used to receive the heart rate data from the ECG heart rate data measurement module 301, the pressure data from the pressure sensor module 302, the diving depth data from the barometer module 303, the diving posture information from the gyroscope module 304, and the position information from the positioning module 305, and perform calculations based on this information to determine whether the current diving water area is abnormal. The data fusion module 306 is also used to send the judgment result to the early warning prompt module 307.
[0063] The early warning module 307 is used to receive the judgment result from the data fusion module 306 and issue an early warning signal according to the judgment result.
[0064] Optionally, before diving, the diver checks the smart bracelet to ensure that the ECG heart rate data measurement module 301, the pressure sensor module 302, the barometer module 303, the gyroscope module 304, the positioning module 305, the data fusion module 306 and the early warning prompt module 307 are operating normally.
[0065] Optionally, the embodiment of the present application is introduced by taking the electronic device as a smart bracelet as an example.
[0066] The specific process of the embodiment of the present application is described in detail as follows. Figure 4 FIG. 1 is a flowchart of an early warning method provided in an embodiment of the present application, the method comprising steps S101-S102:
[0067] S101. The smart bracelet obtains first data.
[0068] Optionally, the first data includes a change value of the first parameter per unit time; the first parameter includes user heart rate data, pressure, diving depth, diving posture, user movement speed (diving speed), etc.
[0069] Optionally, the first data includes heart rate data change data of the diver per unit time, pressure change data per unit time, diving depth, diving posture, and movement speed of the diver.
[0070] Optionally, the smart bracelet can measure the diver's heart rate data through an ECG heart rate data module. Exemplarily, within 1 minute, the diver's heart rate data varies between 70bpm and 85bpm.
[0071] Optionally, when the diver's heart rate data continues to increase for a period of time, the current diving waters may be abnormal and the diver may be entering dangerous waters. For example, when the diver's heart rate data changes between 70bpm-85bpm in the first minute, and the diver's heart rate data changes between 85bpm-120bpm in the second minute, and the diving speed does not change, the current diving waters may be abnormal and the diver may be entering dangerous waters.
[0072] Optionally, the smart bracelet can measure the pressure value through a pressure sensor. Exemplarily, within 1 minute, the pressure value changes between 30kPa-60kPa.
[0073] Optionally, when the pressure value continues to increase over a period of time, the current diving waters may be abnormal and the diver may be entering dangerous waters. For example, when the pressure value changes between 30kPa-60kPa in the first minute and between 60kPa-120kPa in the second minute, and the diving depth does not change, the current diving waters may be abnormal and the diver may be entering dangerous waters.
[0074] Optionally, the smart bracelet can determine the diving posture through a gyroscope. The diving posture may include forward paddling, backward paddling, upward paddling, downward paddling, stillness, and the like.
[0075] Optionally, the diving posture has a certain influence on the pressure value. Optionally, the pressure sensor can be Figure 1 At the position of the screen shown, when the arm moves forward, the pressure value detected by the pressure sensor increases, and when the arm moves backward, the pressure value detected by the pressure sensor decreases.
[0076] For example, when the diver paddles forward, the pressure value will increase, for example, increase to 60 kPa. Although the pressure value is relatively large at this time, the increase in pressure value is caused by the diver paddling forward, which is a normal phenomenon and the diving environment is safe.
[0077] As another example, when the diver paddles downward, the diving depth increases and the pressure value increases, for example, increases to 80 kPa. Although the pressure value is relatively large at this time, the increase in pressure value is caused by the diver paddling downward, which is a normal phenomenon and the diving environment is safe.
[0078] Optionally, the smart bracelet can determine the diving depth through a barometer. Exemplarily, the current diving depth is 8 meters.
[0079] Optionally, the safety pressure value ranges corresponding to different diving depths are different. For example, when the diving depth is 8 meters, the safety pressure value range is between 30kPa-60kPa. When the diving depth is 20 meters, the safety pressure value range is between 180kPa-250kPa.
[0080] Optionally, the smart bracelet can determine the diving speed through GPS. Specifically, the smart bracelet can calculate the diving speed based on the position of the previous minute and the current position. For example, if the distance between the position of the previous minute and the current position is 10m, the diving speed is 10m / min.
[0081] S102: The smart bracelet issues an early warning prompt based on the first data.
[0082] Optionally, the smart bracelet can calculate the second data based on the first data of the safety data, and then issue an early warning prompt based on the second data and the first data collected by the smart bracelet during diving.
[0083] Optionally, the pressure value and speed of the safe diving water area within a period of time may be detected first, and the pressure value and speed satisfy formula (1):
[0084]
[0085] Among them, F0 is the current pressure value detected by the smart watch, ΔF is the pressure difference within Δt time, t represents the diving time, δ represents the viscosity coefficient of the current water area, h represents the diving depth, V0 represents the diving speed, and a represents the diving acceleration. Optionally, according to formula (1), formula (2) can be simplified to:
[0086]
[0087] Wherein, k0 is a constant and H0 is a constant. When formula (2) is greater than 0, it means that the current diving water area is abnormal and the diver may be entering dangerous waters. An early warning is required to remind the diver to leave the current water area.
[0088] Optionally, formula (2) can be simplified to obtain formula (3):
[0089]
[0090] Wherein, k (second data) is a constant. When formula (3) is greater than 0, it indicates that the current diving water area is abnormal and the diver may be entering dangerous waters. An early warning is required to remind the diver to leave the current water area. When formula (3) is less than 0, it indicates that the current diving water area is a safe water area.
[0091] Optionally, when a diver is diving, the smart bracelet can detect the diving speed and pressure value over a period of time, and bring them into the above formula (3). When formula (3) is greater than 0, it means that the current diving water area is abnormal, and the diver may be entering dangerous waters. An early warning prompt is required to remind the diver to leave the current water area.
[0092] Optionally, when the pressure at the first depth of the diving water area is a first value, the second data k is a second value; when the pressure at the first depth of the diving water area is a third value, the second data k is a fourth value. That is, the k values of different diving water areas may be different.
[0093] For example, when the diving water area is sea water, the pressure value detected by the smart bracelet when the diving water area is 8m is 60kPa, and the second data k is k1; when the diving water area is fresh water, the pressure value detected by the smart bracelet when the diving water area is 8m is 50kPa, and the second data k is k2; k1 is different from k2.
[0094] Optionally, when the diver's speed and pressure difference continue to increase over a period of time, and the speed increase rate does not match the pressure difference increase rate, the current diving waters may be abnormal, the diver may be entering dangerous waters, and f0 is greater than 0.
[0095] Optionally, under normal circumstances, the diving speed increases slowly, that is, the diving acceleration is small. Therefore, when the change in pressure difference per unit time is greater than the first threshold and / or the pressure value per unit time is greater than the second threshold, the current diving water area may be abnormal, the diver may be entering dangerous waters, and f0 is greater than 0.
[0096] Exemplarily, the first threshold value may be 80 kPa, the initial speed of the diver is 2 km / h, the pressure value is 50 kPa, the diving depth is 8 m, and then the diver accelerates downward, and the speed after one minute is 2.5 km / h, the pressure value is 180 kPa, and the diving depth is 14 m. Among them, the pressure difference is 180-50=120 kPa. At this time, relative to the change in the speed and diving depth of the diver, the pressure difference under normal circumstances is generally 80 kPa. However, the increase in the diver's pressure difference is greater than the first threshold value, the current diving waters may be abnormal, and the diver may be entering dangerous waters, and f0 is greater than 0.
[0097] For another example, the first threshold may be 220 kPa, the diver's initial speed is 2 km / h, the pressure value is 50 kPa, the diving depth is 8 m, and then the diver accelerates downward, and after one minute the speed is 2.5 km / h, the pressure value is 180 kPa, and the diving depth is 14 m. In one minute, the pressure value rises to 250 kPa, which is greater than the second threshold. The current diving waters may be abnormal, and the diver may be entering dangerous waters, and f0 is greater than 0.
[0098] In one embodiment, the smart bracelet can also obtain the user's heart rate data and issue an early warning prompt based on the first data and the heart rate data.
[0099] Optionally, when the diver's speed, heart rate data, and pressure difference continue to increase over a period of time, and the speed increase rate does not match the heart rate data and pressure difference increase rate, the current diving waters may be abnormal, the diver may be entering dangerous waters, and f0 is greater than 0.
[0100] For example, the diver's initial speed is 2km / h, the pressure value is 50kPa, the heart rate data is 70bpm, and the diving depth is 8m. Then the diver accelerates downward, and one minute later the speed is 2.5km / h, the pressure value is 180kPa, the heart rate data is 130bpm, and the diving depth is 14m. Among them, the pressure difference is 180-50=120kPa, and the heart rate data increases by 130-70=60bpm. At this time, relative to the changes in the diver's speed and diving depth, the pressure difference under normal circumstances is generally 80kPa, and the heart rate data generally increases by 30bpm. However, the increase in the diver's pressure difference and heart rate data is higher than normal. The current diving waters may be abnormal, and the diver may be entering dangerous waters, and f0 is greater than 0.
[0101] Optionally, when the diver's speed and heart rate data continue to increase over a period of time and the pressure difference remains unchanged, the current diving waters may be abnormal, the diver may be entering dangerous waters, and f0 is greater than 0.
[0102] Optionally, under normal circumstances, the diving speed increases slowly, that is, the diving acceleration is small. Therefore, when the change in the heart rate data per unit time is greater than the third threshold and / or the heart rate data per unit time is greater than the fourth threshold, the current diving waters may be abnormal, the diver may be entering dangerous waters, and f0 is greater than 0.
[0103] For example, the third threshold is 30bpm, the diver's initial speed is 2km / h, the pressure value is 50kPa, the heart rate data is 70bpm, the diving depth is 8m, and then the diver accelerates to the horizontal. One minute later, the speed is 2.5km / h, the pressure value is 50kPa, the heart rate data is 120bpm, and the diving depth is 8m. Among them, the speed increased by 0.5km / h, and the heart rate data increased by 120-70=50bpm. At this time, relative to the change in the speed of the diver's increase, the heart rate data under normal circumstances generally increases by 30bpm. However, the increase in the diver's heart rate data is greater than the third threshold, the current diving waters may be abnormal, and the diver may be entering dangerous waters, and f0 is greater than 0.
[0104] For another example, the fourth threshold is 120bpm, the diver's initial speed is 2km / h, the pressure value is 50kPa, the heart rate data is 70bpm, and the diving depth is 8m. He then accelerates to dive forward horizontally. One minute later, the speed is 2.5km / h, the pressure value is 50kPa, and the heart rate data is 100bpm. During one minute, the heart rate data fluctuates greatly and rises to 150bpm, which is greater than the fourth threshold. The current diving waters may be abnormal, and the diver may be entering dangerous waters. f0 is greater than 0.
[0105] Optionally, when the pressure difference and heart rate data of the diver continue to increase over a period of time without changing speed, the current diving water area may be abnormal, the diver may be entering dangerous waters, and f0 is greater than 0.
[0106] For example, the diver's initial speed is 2km / h, the pressure value is 50kPa, the heart rate data is 70bpm, and the diving depth is 8m. Then he dives horizontally. One minute later, the speed is 2km / h, the pressure value is 120kPa, the heart rate data is 120bpm, and the diving depth is 8m. Among them, the pressure difference is 120-50=70kPa, and the heart rate data increases by 120-70=50bpm. At this time, relative to the increase in the diver's exercise time, the pressure difference under normal circumstances is generally unchanged, and the heart rate data generally increases by 30bpm. However, the increase in the diver's pressure difference and heart rate data is higher than normal. The current diving waters may be abnormal, and the diver may be entering dangerous waters, and f0 is greater than 0.
[0107] Optionally, when the current diving waters may be abnormal and the diver may be entering dangerous waters, the smart bracelet can issue an early warning to prompt the diver to leave the current waters.
[0108] Optionally, the smart bracelet can remind the diver to leave the current waters through vibration reminders, ringtone reminders, voice reminders, text reminders, etc.
[0109] For example, the smart bracelet vibrates for 5 seconds to remind the diver to leave the current waters.
[0110] As another example, the smart bracelet issues a voice prompt "You are about to enter dangerous waters, please leave" to remind the diver to leave the current waters.
[0111] For example, Figure 5 As shown, the smart bracelet interface displays a text prompt of "Please leave the current waters" to remind divers to leave the current waters.
[0112] It should be understood that some operations in the processes of the above-mentioned method embodiments are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps. There may be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. A person of ordinary skill in the art will think of a variety of ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this invention are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.
[0113] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment.
[0114] Furthermore, the above method embodiments may be implemented separately or in combination.
[0115] Some other embodiments of the present application provide a device, which may be the above-mentioned electronic device or a component in the electronic device (such as a chip system).
[0116] The device may include: a display screen, a memory, and one or more processors. The display screen, the memory, and the processor are coupled. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device may execute the various functions or steps executed by the mobile phone in the above method embodiment.
[0117] Among them, the core structure of the electronic device can be expressed as Figure 6 As shown in the structure, the electronic device includes: a processing module 151, a storage module 152, a display module 153 and a communication module 154.
[0118] The processing module 151 may include at least one of a central processing unit (CPU), an application processor (AP) or a communication processor (CP). The processing module 151 may perform operations or data processing related to the control and / or communication of at least one of other elements of the user electronic device. Optionally, the processing module 151 is used to support the electronic device to provide an early warning prompt based on the first data.
[0119] The storage module 152 may include a volatile memory and / or a non-volatile memory. The storage module is used to store at least one instruction or data related to other modules of the user terminal device. Optionally, the storage module 152 is used for the electronic device 10 to store the first data.
[0120] The display module 153 may include, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a micro-electromechanical system (MEMS) display, or an electronic paper display. It is used to display content (e.g., text, images, videos, icons, symbols, etc.) that a user can view. Optionally, the display module 153 is used to display content such as Figure 4 The prompt interface shown.
[0121] The communication module 154 is used to support the personal terminal to communicate with other personal terminals (through the communication network). For example, the communication module can be connected to the network via wireless communication or wired communication to communicate with other personal terminals or network servers. Wireless communication can adopt at least one of cellular communication protocols, such as long-term evolution (LTE), advanced long-term evolution (LTE-A), code division multiple access (CDMA), wideband code division multiple access (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro) or global mobile communication system (GSM). Wireless communication may include, for example, short-range communication. Short-range communication may include at least one of wireless fidelity (Wi-Fi), Bluetooth, near field communication (NFC), magnetic stripe transmission (MST) or GNSS. Optionally, the communication module 154 is used to support electronic devices to communicate with other electronic devices.
[0122] Figure 6 The device shown may also include more or fewer components, or split some components, or have other ways of arranging components, which is not limited in the embodiments of the present application.
[0123] The present application also provides a chip system, such as Figure 7As shown, the chip system includes at least one processor 161 and at least one interface circuit 162. The processor 161 and the interface circuit 162 can be interconnected via lines. For example, the interface circuit 162 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 162 can be used to send signals to other devices (such as the processor 161). Exemplarily, the interface circuit 162 can read instructions stored in the memory and send the instructions to the processor 161. When the instructions are executed by the processor 161, the electronic device can execute the various steps in the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0124] An embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the mobile phone in the above-mentioned method embodiment.
[0125] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the mobile phone in the above method embodiment.
[0126] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and module described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0127] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0131] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An early warning method, characterized in that: include: Acquire first data; the first data includes a change value of a first parameter per unit time; The first parameters include pressure value, diving depth, and user movement speed; Issue an early warning based on the first data.
2. The method according to claim 1, characterized in that Also includes: Get heart rate data; An early warning is given based on the first data and the heart rate data.
3. The method according to claim 1 or 2, characterized in that: The pressure is associated with the diving attitude.
4. The method according to any one of claims 1 to 3, characterized in that: The providing of an early warning prompt according to the first data includes: Calculate the second data according to the first data; An early warning is issued based on the second data, the change in the user's movement speed per unit time, and the change in the pressure difference per unit time.
5. The method according to claim 4, characterized in that The providing of an early warning prompt according to the second data, the change value of the user's motion speed per unit time, and the change value of the pressure difference per unit time includes: When the change value of the pressure difference within the unit time is greater than the first threshold value and / or the pressure value within the unit time is greater than the second threshold value, an early warning prompt is issued.
6. The method according to any one of claims 2 to 5, characterized in that: The providing of an early warning prompt according to the first data and the heart rate data includes: When the change value of the heart rate data per unit time is greater than the third threshold value and / or the heart rate data per unit time is greater than the fourth threshold value, an early warning prompt is issued.
7. The method according to claims 4-6, characterized in that: The step of calculating the second data according to the first data includes: When the pressure value of the first depth of the diving water area is a first value, the second data is a second value; When the pressure value of the first depth of the diving water area is a third value, the second data is a fourth value; the first value is different from the third value; and the second value is different from the fourth value.
8. The method according to claim 3, characterized in that The diving posture includes at least one of: paddling forward, paddling backward, paddling upward, paddling downward, and being still.
9. The method according to any one of claims 1 to 8, characterized in that: The warning prompt includes: at least one of a vibration reminder, a ringtone reminder, a voice reminder, and a text reminder.
10. An early warning device, characterized in that: include: Acquisition module: used to acquire first data; the first data includes a change value of a first parameter per unit time; The first parameters include pressure value, diving depth, and user movement speed; The processing module is used to issue an early warning prompt according to the first data.
11. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1-9.
12. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 9.