Safety warning method and device, water heater, server and storage medium
Patent Information
- Application Number
- CN202210461684.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2042-04-28
AI Technical Summary
[0005]本申请提供一种安全预警方法、装置、热水器、服务器及存储介质,用以解决检测老人摔倒的准确率较低的问题
[0024]本申请提供的安全预警方法、装置、热水器、服务器及存储介质,通过获取状态参数数据,并在状态参数数据变化时,将状态参数数据发送至服务器,从而使服务器能够根据状态参数数据及接收的用户行为数据,确定当前的用户状态,由于在获得用户状态的过程中不只采用了用户行为数据,还采用了状态参数数据,所以可以实现得到更准确的用户状态、提高检测老人摔倒状况准确率的效果。
Smart Images

Figure CN114811961B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of smart home technology, specifically relating to a security early warning method, device, water heater, server, and storage medium. Background Technology
[0002] With the increasing aging of the population, the number of elderly people living alone is also gradually increasing, and their safety has become one of the most urgent issues to be addressed. Falls are a major threat to the lives of the elderly, and preventing falls and providing timely warnings after a fall are the main solutions for addressing falls among the elderly.
[0003] In existing technologies, cameras are usually installed in rooms to detect elderly people falling through image recognition and to issue an alarm after a fall. For locations such as bathrooms where cameras are not suitable for installation, millimeter-wave radar is usually used to detect whether an elderly person has fallen.
[0004] However, the inventors discovered that the existing technology has at least the following technical problems: using millimeter-wave radar alone to monitor whether an elderly person has fallen is prone to misjudgment when the movement is large, resulting in low accuracy. Summary of the Invention
[0005] This application provides a safety early warning method, device, water heater, server, and storage medium to solve the problem of low accuracy in detecting falls in the elderly.
[0006] In a first aspect, the present invention provides a security early warning method, comprising:
[0007] The system continuously acquires status parameter data. When the status parameter data changes, it sends the status parameter data to the server so that the server can determine the current user status based on the status parameter data and user behavior data. When the user status is abnormal, the system sends an alarm message to the first terminal device. The user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status.
[0008] In one possible implementation, before obtaining the state parameter data, the following is also included:
[0009] The system receives a preheating command from the server. The preheating command involves the server continuously acquiring the current time and using the most recent recorded normal bath time as a calibration time. The difference between the current time and the calibration time is calculated to obtain a time difference. When the time difference exceeds a preset value, a bathing reminder message is sent to the first terminal device. The system also receives bathing reservation information sent by the user on the third terminal device based on the bathing reminder message, and heats the water according to the preheating command.
[0010] Secondly, this application provides a security early warning method, including:
[0011] The system receives user behavior data continuously acquired by the motion detection device; it also receives status parameter data sent by the water heater, which is continuously acquired by the water heater and sent when the status parameter data changes; based on the user behavior data and status parameter data, it determines the current user status, which includes normal status and abnormal status; if the user status is abnormal, it sends an alarm message to the first terminal device.
[0012] In one possible implementation, the current user state is determined based on user behavior data and state parameter data, including: performing big data analysis on user behavior data and state parameter data to obtain the current user state.
[0013] In one possible implementation, user behavior data includes one or more of the following: fall status data, inactivity duration, and personnel dwell time; status parameter data includes: water flow data; accordingly, based on the user behavior data and status parameter data, the current user status is determined, including: if the user behavior data includes fall status data, and the change in water flow data within a first preset time period after receiving the fall status data is less than a first threshold, then the current user status is determined to be an abnormal status; if the user behavior data includes fall status data, and the change in water flow data within a first preset time period after receiving the fall status data is greater than a first threshold, then the current user status is determined to be a normal status; if the inactivity duration is greater than a second preset time period, and the change in water flow data within the time period corresponding to the inactivity duration is less than a second threshold, then the current user status is determined to be an abnormal status; if the personnel dwell time is greater than a third preset time period, and the change in water flow data within the time period corresponding to the personnel dwell time is less than a third threshold, then the current user status is determined to be an abnormal status.
[0014] In one possible implementation, after receiving the status parameter data sent by the water heater, the method further includes: determining a duration threshold for judging whether a standard bath has been completed based on the time when the status parameter data is received; if the status parameter data contains hot water discharge status data and the duration of receiving user behavior data exceeds the duration threshold, then a normal bath is recorded.
[0015] In one possible implementation, before receiving the status parameter data sent by the water heater, the method further includes: continuously acquiring the current time and using the recorded time of the most recent normal shower as the calibration time; subtracting the current time from the calibration time to obtain the time difference; and if the time difference is greater than a preset value, sending a shower reminder message to the first terminal device.
[0016] In one possible implementation, after sending the bathing reminder information to the first terminal device, the method further includes: receiving bathing reservation information sent by the user on the second terminal device based on the bathing reminder information, and sending a preheating command to the water heater based on the bathing reservation information, so that the water heater heats the water according to the preheating command.
[0017] In one possible implementation, after receiving the status parameter data sent by the water heater, the process further includes: editing a preset health monitoring report based on the status parameter data, the characteristic information of the status parameter data, the pre-stored historical status parameter data, and the default or preset water usage suggestion information to obtain the target health monitoring report. The preset water usage suggestion information is set according to the setting information sent by the third terminal device in advance.
[0018] Thirdly, this application provides a security early warning device, comprising: an acquisition module for continuously acquiring status parameter data; and a sending module for sending the status parameter data to a server when the status parameter data changes, so that the server can determine the current user status based on the status parameter data and user behavior data, and send an alarm message to a first terminal device when the user status is abnormal, wherein the user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status.
[0019] Fourthly, this application provides a safety early warning device, comprising: a first receiving module for receiving user behavior data continuously acquired by an action detection device; a second receiving module for receiving status parameter data sent by a water heater, wherein the status parameter data is continuously acquired by the water heater and sent when the status parameter data changes; a status determination module for determining the current user status based on the user behavior data and the status parameter data, wherein the user status includes a normal status and an abnormal status; and an information sending module for sending an alarm message to a first terminal device if the user status is an abnormal status.
[0020] Fifthly, this application provides a water heater, including: a data acquisition unit and a data transmission unit communicatively connected to the data acquisition unit; the data acquisition unit is used to continuously acquire status parameter data, and when the status parameter data changes, it sends the status parameter data to the data transmission unit; the data transmission unit is used to send the status parameter data to a server, so that the server performs big data analysis on the status parameter data and user behavior data to obtain the current user status, and sends an alarm message to a first terminal device when the user status is abnormal, wherein the user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status.
[0021] In a sixth aspect, this application provides a server, including: a processor and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, causing the processor to execute the security warning method described in the second aspect above.
[0022] In a seventh aspect, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the security warning method as described in the first or second aspect above.
[0023] Eighthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the security warning method described in the first or second aspect above.
[0024] The safety early warning method, device, water heater, server, and storage medium provided in this application acquire status parameter data and send the status parameter data to the server when the status parameter data changes. This enables the server to determine the current user status based on the status parameter data and the received user behavior data. Since not only user behavior data but also status parameter data are used in the process of obtaining the user status, it can achieve a more accurate user status and improve the accuracy of detecting elderly falls. Attached Figure Description
[0025] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0026] Figure 1 This is a schematic diagram illustrating an application scenario of the security early warning method provided in the embodiments of this application;
[0027] Figure 2 Flowchart of the security early warning method provided in the embodiments of this application Figure 1 ;
[0028] Figure 3 Flowchart of the security early warning method provided in the embodiments of this application Figure 2 ;
[0029] Figure 4 An interactive flowchart of the security warning method provided in the embodiments of this application;
[0030] Figure 5 Schematic diagram of the safety warning device provided in the embodiments of this application Figure 1 ;
[0031] Figure 6 Schematic diagram of the safety warning device provided in the embodiments of this application Figure 2 ;
[0032] Figure 7 This is a schematic diagram of the structure of a water heater provided in an embodiment of this application;
[0033] Figure 8 This is a schematic diagram of the server structure provided in an embodiment of this application. Detailed Implementation
[0034] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0035] With the increasing aging of the population, the number of elderly people living alone is also growing daily, making their safety a growing concern. Falls account for the largest proportion of injuries and deaths among the elderly; therefore, preventing falls and promptly alerting relevant personnel after a fall are the main solutions for addressing falls among the elderly.
[0036] Among the currently feasible methods, cameras can be installed in rooms to detect falls using image recognition. In locations where camera installation is inconvenient, such as bathrooms, millimeter-wave radar can be used to detect falls. However, in existing technologies, using millimeter-wave radar to detect falls is prone to false alarms when people are moving around a lot.
[0037] To address the aforementioned technical problems, the inventors propose the following technical concept: The water heater continuously acquires status parameter data and sends the status parameter data to the server when the status parameter data changes; the motion detection device detects user behavior data in real time and sends the user behavior data to the server; the server determines whether the user's status is abnormal based on the status parameter data and user behavior data, and sends an alarm message to the first terminal device when the user's status is abnormal.
[0038] This application is applied to scenarios involving security alerts. The acquisition, storage, and application of user personal information involved in the technical solution of this application all comply with relevant laws and regulations and do not violate public order and good morals.
[0039] Figure 1 This is a schematic diagram illustrating an application scenario of the security warning method provided in this application embodiment. For example... Figure 1The scenario includes: a water heater 101, a motion detection device 102, a server 103, and a terminal device 104.
[0040] Optionally, the water heater 101 may be a water heater with data monitoring and transmission functions.
[0041] The motion detection device 102 can be the aforementioned millimeter-wave radar, or it can be a combination of millimeter-wave radar and data processing equipment, data transmission unit, etc.
[0042] Server 103 can be implemented using a single server or a cluster of multiple servers with more powerful processing capabilities and higher security. Where possible, it can also be replaced by a computer or laptop with strong computing power.
[0043] Terminal devices 104 may include computers, servers, tablets, mobile phones, PDAs (personal digital assistants), and laptops, and they can receive alarm information.
[0044] The water heater 101, motion detection device 102, and server 103 can be connected by wired means or by communication. The connection between server 103 and terminal device 104 can also be wired or by communication. The aforementioned communication connection can be through a wireless network. The network used for the wireless network connection can include various types of wired and wireless networks, such as, but not limited to: the Internet, local area network, Wireless Fidelity (WIFI), Wireless Local Area Networks (WLAN), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), 2G / 3G / 4G / 5G cellular networks, satellite communication networks, etc.
[0045] In the specific implementation process, the water heater 101 is used to continuously acquire status parameter data, and when the status parameter data changes, it sends the status parameter data to the server 102.
[0046] The motion detection device 102 is used to continuously acquire user behavior data and send the user behavior data to the aforementioned server 102.
[0047] Server 103 is used to determine the user status based on status parameter data and user behavior data, and to send alarm information to terminal device 104 when the user status is abnormal.
[0048] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the security warning method. In other feasible embodiments of this application, the above architecture may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown can be implemented in hardware, software, or a combination of both.
[0049] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0050] Figure 2 Flowchart of the security early warning method provided in the embodiments of this application Figure 1 The execution entity of this application embodiment can be Figure 1 Water heater 101 in the middle. For example... Figure 2 As shown, the method includes:
[0051] S201: Continuously acquire status parameter data. When the status parameter data changes, send the status parameter data to the server so that the server can determine the current user status based on the status parameter data and user behavior data. When the user status is abnormal, send alarm information to the first terminal device. The user behavior data is continuously acquired and sent by the action detection device. The user status includes normal status and abnormal status.
[0052] In this step, status parameter data is acquired using internal sensors, flow meters, or other devices. The processing unit within the water heater detects changes in these status parameter data and, when changes occur, transmits the data to the server via antennas, wires, radio frequency signals, or other means. Status parameter data includes status such as on / off state, water temperature, and flow rate.
[0053] The motion detection device is used to acquire user behavior data in real time. If no user is detected, it is assumed that no user behavior data has been acquired.
[0054] As can be seen from the description of the above embodiments, the embodiments of this application acquire status parameter data and send the status parameter data to the server when the status parameter data changes, so that the server can determine the current user status based on the status parameter data and the received user behavior data. Since not only user behavior data but also status parameter data are used in the process of obtaining the user status, the effect of obtaining a more accurate user status and improving the accuracy of detecting elderly falls can be achieved.
[0055] In one possible implementation, before obtaining the state parameter data in step S201 above, the method further includes:
[0056] S200A: Receives a preheating instruction sent by the server. The preheating instruction is obtained by the server continuously acquiring the current time and using the most recent normal bathing record time as the calibration time. The difference between the current time and the calibration time is calculated to obtain the time difference. When the time difference is greater than a preset value, a bathing reminder message is sent to the first terminal device. The server also receives the bathing reservation information sent by the user on the second terminal device based on the bathing reminder message and sends a message based on the bathing reservation information.
[0057] In this step, the preheating command sent by the server can be received via wired or wireless means.
[0058] The preheating instruction can be a string composed of numbers, symbols, letters, etc.
[0059] S200B: Heats water according to the preheating command.
[0060] In this step, heating the water can be achieved by controlling the heating element in the water heater to heat the water after receiving a preheating command.
[0061] As can be seen from the description of the above embodiments, the embodiments of this application can achieve remote control heating by receiving and according to the preheating command, so as to prepare hot water before the user takes a bath, thus simplifying the hot water operation.
[0062] Figure 3 Flowchart of the security early warning method provided in the embodiments of this application Figure 2 The execution entity of this application embodiment can be Figure 1 The server 103 in this embodiment can also be a computer and / or a mobile phone, etc., and this embodiment does not impose any special restrictions on it. Figure 2 As shown, the method includes:
[0063] S301: Receive user behavior data continuously acquired by the motion detection device.
[0064] In this step, user behavior data can be received via wired or wireless means. User behavior data includes: falls, prolonged inactivity, time spent in the space, and whether any actions were taken. User behavior data can be behavioral data within a defined space.
[0065] S302: Receive status parameter data sent by the water heater. The status parameter data is continuously acquired by the water heater and sent when the status parameter data changes.
[0066] In this step, the method of receiving status parameter data is similar to that in step S301 above, and will not be repeated here.
[0067] S303: Determine the current user status based on user behavior data and status parameter data, where user status includes normal status and abnormal status.
[0068] In one possible implementation, this step determines the current user state based on user behavior data and state parameter data, specifically including: performing big data analysis on user behavior data and state parameter data to obtain the current user state.
[0069] Big data analytics can combine pre-acquired historical user behavior data and historical state parameter data to analyze current user behavior data and state parameter data. Big data analytics can also incorporate the current time. Alternatively, it can input user behavior data and state parameter data into a pre-trained user state model to obtain the user state.
[0070] The user status model can be trained using historical user behavior data and historical status parameter data. During training, the user's geographical location and data reporting time can also be considered. The current time includes the season and whether the data was acquired in the morning, noon, afternoon, or night of the current day.
[0071] S304: If the user's status is abnormal, send an alarm message to the first terminal device.
[0072] In this step, sending alarm information to the first terminal device can be done via wired or wireless means. Abnormal states can be represented by preset numerical values or characters.
[0073] For example, "0" represents a normal user status, "1" represents an abnormal user status, "a" represents a normal user status, and "b" represents an abnormal user status.
[0074] As can be seen from the description of the above embodiments, the embodiments of this application receive user behavior data and status parameter data, combine the two to determine the user status, making the obtained user status more accurate, and sending alarm information to the first terminal device when the user status is abnormal, thereby reducing the occurrence of false alarms.
[0075] In one possible implementation, the aforementioned user behavior data includes one or more of the following: fall status data, inactivity duration, and personnel dwell time; the status parameter data includes: water flow data.
[0076] Accordingly, in step S303 above, determining the current user state based on user behavior data and state parameter data specifically includes:
[0077] S303A: If the user behavior data includes fall status data, and the water flow data changes by less than a first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be an abnormal status.
[0078] In this step, the first preset duration can be 10 minutes, 5 minutes, 3 minutes, etc. The change can be an absolute value. The first threshold can be preset.
[0079] S303B: If the user behavior data includes fall status data, and the water flow data changes by more than a first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be normal.
[0080] In this step, the first preset time is the same as in step S303A above, and can be less than the second and third preset times described below. Other parameters are similar to those in step S303A above, and will not be repeated here.
[0081] S303C: If the duration of no action is greater than the second preset duration, and the change in water flow data within the time period corresponding to the duration of no action is less than the second threshold, then the current user status is determined to be an abnormal status.
[0082] In this step, the second preset duration can be greater than the first preset duration but less than the third preset duration described below. The second threshold can be the same as or different from the first threshold mentioned above. The time period corresponding to the inactivity duration can be derived by working backward from the current time and the inactivity duration. Subtracting the inactivity duration from the current time gives the start time of the inactivity duration, and the corresponding time period is from the start time to the current time.
[0083] S303D: If the time a person stays in the room is longer than the third preset time, and the change in water flow data within the time period corresponding to the time the person stays in the room is less than the third threshold, then the current user status is determined to be an abnormal status.
[0084] In this step, the third preset duration can be greater than the second preset duration and the first preset duration mentioned above. The parameters such as the amount of change are similar to those in step S303A mentioned above, and will not be repeated here.
[0085] As described in the above embodiments, this application determines the user's state based on the specific parameters of the user behavior data and the change in water flow data in the state parameter data. For cases where the user behavior data includes fall status data, the user's state is determined based on the change in water flow data within a first preset time period after receiving the fall status data. For cases where the duration of inactivity exceeds a second preset time, the user's state is determined to be abnormal based on whether the change in water flow data within the corresponding time period of inactivity is less than a second threshold. For cases where the person's dwell time exceeds a third preset time, the user's state is determined to be abnormal based on whether the change in water flow data within the corresponding time period of the person's dwell time is less than a third threshold. Using different judgment methods for different situations can further improve the accuracy of the obtained user state.
[0086] In one possible implementation, after receiving the status parameter data sent by the water heater in step S302, the method further includes:
[0087] S305: Determine the duration threshold for judging whether a standard bath has been completed based on the time when the status parameter data is received.
[0088] In this step, the time when the status parameter data is received can be one or more of the following: season, month, hour, and minute. The duration threshold used to determine whether a standard bath has been completed can be obtained by looking up a preset mapping table between received time and duration threshold.
[0089] The preset mapping table between reception time and duration thresholds contains mapping relationships between multiple time intervals and multiple duration thresholds. This preset mapping table can be created based on users' daily water usage habits, geographical location, and time factors.
[0090] For example, if the status parameter data is received at 20:20 in summer (or June), then based on the time interval where 20:20 in summer (or June) falls, the preset mapping table of receiving time and duration threshold is consulted to obtain the corresponding duration threshold of 30 minutes. If the status parameter data is received at 22:30 in autumn (or October), then based on the time interval where 22:30 in autumn (or October) falls, the preset mapping table of receiving time and duration threshold is consulted to obtain the corresponding duration threshold of 40 minutes.
[0091] S306: If the status parameter data contains hot water discharge status data, and the duration of receiving user behavior data exceeds the duration threshold, then a normal bath is recorded.
[0092] In this step, the duration of user behavior data can be determined by the time difference between the first and last reception of user behavior data.
[0093] As can be seen from the description of the above embodiments, the embodiments of this application determine the duration threshold based on the time of receiving the status parameter data, and determine whether a normal bath has been completed based on whether the status parameter data contains hot water discharge status data and whether the duration of user behavior data exceeds the duration threshold. This can make the duration threshold more consistent with the bathing time in daily life and increase the accuracy of determining whether a normal bath has been completed.
[0094] In one possible implementation, before receiving the status parameter data sent by the water heater in step S302 above, the method further includes:
[0095] S307: Continuously acquire the current time and use the most recent recorded time of normal bathing as the calibration time.
[0096] In this step, the current time can be obtained by obtaining a timestamp.
[0097] S308: Subtract the current time from the calibrated time to obtain the time difference.
[0098] In this step, the time difference can be an absolute value, which is the difference between the current time and the calibration time, or the current time minus the calibration time.
[0099] S309: If the time difference is greater than the preset value, a bathing reminder message is sent to the first terminal device.
[0100] In this step, the first terminal device can be a mobile phone, computer, speaker, wristband, or other device capable of receiving messages and issuing notifications. The notification information can be SMS messages, speaker voice messages, emails, etc.
[0101] As can be seen from the description of the above embodiments, the embodiments of this application obtain the current time and subtract the current time from the time of the most recent normal bath to obtain the time difference. When the time difference is greater than a preset value, a bath reminder message is sent to the first terminal device. This can remind the user to take a bath when the user's bathing frequency is too low, thereby improving the user's health.
[0102] In one possible implementation, after sending the bathing reminder information to the first terminal device in step S309 above, the method further includes:
[0103] S310: Receives bath reservation information sent by the user on the second terminal device according to the bath prompt information, and sends a preheating command to the water heater according to the bath reservation information, so that the water heater heats the water according to the preheating command.
[0104] In this step, the second terminal device may be the same as or different from the first terminal device described above.
[0105] For example, after the first terminal device outputs a prompt message, the second terminal device receives the bath reservation information entered by the user based on the prompt message output by the first terminal device, and sends the bath reservation information to the server. The server then sends a preheating command to the water heater based on the bath reservation information.
[0106] As can be seen from the description of the above embodiments, the embodiments of this application achieve the effect of remotely controlling the water heater to heat water after the user confirms by sending a preheating command to the water heater according to the received bathing reservation information.
[0107] In one possible implementation, after receiving the status parameter data sent by the water heater in step S302 above, the method further includes:
[0108] S311: Based on the status parameter data, the characteristic information of the status parameter data, the pre-stored historical status parameter data, and the default or preset water use suggestion information, edit the preset health monitoring report to obtain the target health monitoring report. The preset water use suggestion information is set according to the setting information sent by the third terminal device in advance.
[0109] In this step, the third terminal device can be the same as or different from the first and second terminal devices mentioned above. The pre-stored historical status parameter data can be acquired and sent by the water heater during historical bathing processes. Editing the preset health monitoring report involves changing the values in the preset health monitoring report based on various characteristic values in the historical status parameter data. When editing the preset health monitoring report, factors such as the user's daily water usage habits, location, and time can also be considered.
[0110] Among them, characteristic values can include the average, median, and maximum values of water consumption, water temperature, and water pressure.
[0111] Figure 4 This is an interactive flowchart illustrating the security warning method provided in an embodiment of this application. Figure 4 As shown, the method includes:
[0112] S401: The motion detection device continuously acquires user behavior data.
[0113] S402: The motion detection device sends user behavior data to the server.
[0114] S403: The water heater continuously acquires status parameter data.
[0115] S404: When the status parameter data of the water heater changes, it sends the status parameter data to the server.
[0116] S405: The server determines the current user status based on user behavior data and status parameter data, whereby the user status includes normal status and abnormal status.
[0117] S406: The server determines the user's status. If the user's status is abnormal, it sends an alarm message to the first terminal device.
[0118] Figure 5 Schematic diagram of the safety warning device provided in the embodiments of this application Figure 1 .like Figure 5 As shown, the safety warning device 500 includes: an acquisition module 501 and a transmission module 502.
[0119] The acquisition module 501 is used to continuously acquire status parameter data;
[0120] The sending module 502 is used to send the status parameter data to the server when the status parameter data changes, so that the server can determine the current user status based on the status parameter data and user behavior data, and send alarm information to the first terminal device when the user status is abnormal. The user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status.
[0121] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0122] Continue to refer to Figure 5 In one possible implementation, the safety warning device 500 further includes:
[0123] The receiving module 503 is used to receive a preheating instruction sent by the server. The preheating instruction is obtained by the server continuously acquiring the current time and using the most recent normal bathing record time as the calibration time. The difference between the current time and the calibration time is calculated to obtain the time difference. When the time difference is greater than a preset value, a bathing reminder message is sent to the first terminal device. The receiving module 503 receives the bathing reservation information sent by the user on the third terminal device according to the bathing reminder message and sends the message according to the bathing reservation information.
[0124] Heating module 504 is used to heat water according to preheating instructions.
[0125] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0126] Figure 6 Schematic diagram of the safety warning device provided in the embodiments of this application Figure 2 .like Figure 6 As shown, the safety warning device 600 includes: a first receiving module 601, a second receiving module 602, a status determination module 603, and an information sending module 604.
[0127] The first receiving module 601 is used to receive user behavior data continuously acquired by the motion detection device.
[0128] The second receiving module 602 is used to receive status parameter data sent by the water heater. The status parameter data is continuously acquired by the water heater and sent when the status parameter data changes.
[0129] The status determination module 603 is used to determine the current user status based on user behavior data and status parameter data, wherein the user status includes normal status and abnormal status.
[0130] The information sending module 604 is used to send alarm information to the first terminal device if the user's status is abnormal.
[0131] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0132] In one possible implementation, the state determination module 603 is specifically used to: perform big data analysis on user behavior data and state parameter data to obtain the current user state.
[0133] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0134] In one possible implementation, user behavior data includes one or more of the following: fall status data, inactivity duration, and personnel dwell time; status parameter data includes: water flow data; and the status determination module 603 is specifically used for:
[0135] If the user behavior data includes fall status data, and the change in water flow data within a first preset time period after receiving the fall status data is less than a first threshold, then the current user status is determined to be an abnormal state. If the user behavior data includes fall status data, and the change in water flow data within a first preset time period after receiving the fall status data is greater than a first threshold, then the current user status is determined to be a normal state. If the duration of inactivity is greater than a second preset time period, and the change in water flow data within the corresponding time period of inactivity is less than a second threshold, then the current user status is determined to be an abnormal state. If the time spent in the user's residence is greater than a third preset time period, and the change in water flow data within the corresponding time period of the time spent in the user's residence is less than a third threshold, then the current user status is determined to be an abnormal state.
[0136] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0137] Continue to refer to Figure 6 In one possible implementation, the security warning device 600 further includes a log recording module 605.
[0138] The logging module 605 is used to determine the duration threshold for judging whether a standard shower has been completed based on the time of receiving the status parameter data. If the status parameter data contains hot water discharge status data, and the duration of receiving user behavior data exceeds the duration threshold, then a normal shower is recorded.
[0139] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0140] Continue to refer to Figure 6 In one possible implementation, the safety warning device 600 further includes a prompt sending module 606.
[0141] The prompt sending module 606 continuously acquires the current time and uses the most recent recorded time of a normal shower as the calibration time. The difference between the current time and the calibration time is calculated to obtain the time difference. If the time difference is greater than a preset value, a shower prompt message is sent to the first terminal device.
[0142] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0143] Continue to refer to Figure 6 In one possible implementation, the safety warning device 600 further includes an instruction sending module 607.
[0144] The instruction sending module 607 is used to receive bath reservation information sent by the user on the second terminal device according to the bath prompt information, and send a preheating instruction to the water heater according to the bath reservation information, so that the water heater heats the water according to the preheating instruction.
[0145] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0146] Continue to refer to Figure 6 In one possible implementation, the safety warning device 600 further includes a report acquisition module 608.
[0147] The report acquisition module 608 is used to edit a preset health monitoring report based on status parameter data, feature information of status parameter data, pre-stored historical status parameter data, and default or preset water use suggestion information to obtain the target health monitoring report. The preset water use suggestion information is set according to the setting information sent by the third terminal device in advance.
[0148] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0149] Figure 7 This is a schematic diagram of the structure of a water heater provided in an embodiment of this application. Figure 7 As shown, the water heater 700 includes: a data acquisition unit 701 and a data transmission unit 702 that is communicatively connected to the data acquisition unit.
[0150] The data acquisition unit 701 is used to continuously acquire status parameter data, and when the status parameter data changes, it sends the status parameter data to the data transmission unit.
[0151] The data transmission unit 702 is used to send status parameter data to the server so that the server can perform big data analysis on the status parameter data and user behavior data to obtain the current user status. When the user status is abnormal, the server sends an alarm message to the first terminal device. The user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status.
[0152] To implement the above embodiments, this application also provides a server.
[0153] refer to Figure 8The diagram illustrates a structural schematic of a server 800 suitable for implementing embodiments of this application. The server 800 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 8 The server shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0154] like Figure 8 As shown, server 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. RAM 803 also stores various programs and data required for the operation of server 800. The processing device 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0155] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows server 800 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 A server 800 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0156] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, it performs the functions defined in the methods of the embodiments of this application.
[0157] It should be noted that the computer-readable storage medium described above in this application can be a computer-readable signal medium or a computer storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0158] The aforementioned computer-readable storage medium may be included in the aforementioned server; or it may exist independently and not assembled into the server.
[0159] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the server, cause the server to perform the method shown in the above embodiments.
[0160] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0161] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0162] The modules described in the embodiments of this application can be implemented in software or in hardware. The name of a unit does not necessarily limit the module itself; for example, a data acquisition unit can also be described as a "state parameter data acquisition unit".
[0163] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0164] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0165] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
[0166] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0167] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A safety early warning method, characterized in that, Applied to water heaters, including: The system continuously acquires status parameter data. When the status parameter data changes, it sends the status parameter data to the server. The server then determines the current user status based on the status parameter data and user behavior data. If the user status is abnormal, the server sends an alarm message to the first terminal device. The user behavior data is continuously acquired and sent by the action detection device. The user status includes normal and abnormal states. The status parameter data consists of water heater operating parameters, including water flow data, continuously acquired by the water heater. The user behavior data includes one or more of the following: fall status data, inactivity duration, and personnel dwell time. The server determines the current user status based on the status parameter data and user behavior data, including: If the user behavior data includes the fall status data, and the water flow data changes by less than a first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be the abnormal status. If the user behavior data includes the fall status data, and the water flow data changes by more than the first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be the normal status. If the duration of inactivity is greater than the second preset duration, and the change in water flow data within the time period corresponding to the duration of inactivity is less than the second threshold, then the current user state is determined to be the abnormal state. If the time a person stays in the room is longer than a third preset time, and the change in water flow data within the time period corresponding to the time the person stays in the room is less than a third threshold, then the current user status is determined to be the abnormal status.
2. The method according to claim 1, characterized in that, Before acquiring the status parameter data, the following is also included: The system receives a preheating instruction sent by the server. The preheating instruction is obtained by the server continuously acquiring the current time and using the most recent normal bathing record time as the calibration time. The difference between the current time and the calibration time is calculated to obtain a time difference. When the time difference is greater than a preset value, the system sends a bathing reminder message to the first terminal device. The system also receives bathing reservation information sent by the user on the third terminal device based on the bathing reminder message and sends a message based on the bathing reservation information. The water is heated according to the preheating command.
3. A safety early warning method, characterized in that, Applied to servers, including: Receive user behavior data continuously acquired by motion detection devices; Receive status parameter data sent by the water heater, wherein the status parameter data is continuously acquired by the water heater and sent when the status parameter data changes; Based on the user behavior data and the status parameter data, the current user status is determined, wherein the user status includes a normal status and an abnormal status. If the user's status is abnormal, an alarm message is sent to the first terminal device; The user behavior data includes one or more of the following: fall status data, inactivity duration, and personnel dwell time; the status parameter data are the water heater operating parameters continuously acquired by the water heater, including water flow data. Accordingly, determining the current user state based on the user behavior data and the state parameter data includes: If the user behavior data includes the fall status data, and the water flow data changes by less than a first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be the abnormal status. If the user behavior data includes the fall status data, and the water flow data changes by more than the first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be the normal status. If the duration of inactivity is greater than the second preset duration, and the change in water flow data within the time period corresponding to the duration of inactivity is less than the second threshold, then the current user state is determined to be the abnormal state. If the time a person stays in the room is longer than a third preset time, and the change in water flow data within the time period corresponding to the time the person stays in the room is less than a third threshold, then the current user status is determined to be the abnormal status.
4. The method according to claim 3, characterized in that, Determining the current user state based on the user behavior data and the state parameter data includes: The current user status is obtained by performing big data analysis on the user behavior data and the status parameter data.
5. The method according to claim 3 or 4, characterized in that, After receiving the status parameter data sent by the water heater, the method further includes: Based on the time of receiving the status parameter data, determine the duration threshold for judging whether a standard bath has been completed; If the status parameter data contains hot water discharge status data, and the duration of receiving the user behavior data exceeds the duration threshold, then a normal bath is recorded.
6. The method according to claim 5, characterized in that, Before receiving the status parameter data sent by the water heater, the method further includes: Continuously acquire the current time and use the time of the most recent normal bath as the calibration time; The time difference is obtained by subtracting the current time from the calibrated time. If the time difference is greater than a preset value, a bathing reminder message is sent to the first terminal device.
7. The method according to claim 6, characterized in that, After sending the bathing reminder information to the first terminal device, the method further includes: The system receives bath reservation information sent by a user on a second terminal device based on the bath prompt information, and sends a preheating command to the water heater based on the bath reservation information, so that the water heater heats the water according to the preheating command.
8. The method according to claim 3 or 4, characterized in that, After receiving the status parameter data sent by the water heater, the method further includes: Based on the status parameter data, the feature information of the status parameter data, the pre-stored historical status parameter data, and the default or preset water usage suggestion information, a preset health monitoring report is edited to obtain the target health monitoring report. The preset water usage suggestion information is set according to the setting information sent by the third terminal device in advance.
9. A safety early warning device, characterized in that, The safety warning device is used to implement the safety warning method according to claim 1 or 2, and the device includes: The acquisition module is used to continuously acquire status parameter data; The sending module is used to send the status parameter data to the server when the status parameter data changes, so that the server can determine the current user status based on the status parameter data and user behavior data, and send alarm information to the first terminal device when the user status is abnormal. The user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status.
10. A safety early warning device, characterized in that, The safety warning device is used to implement the safety warning method according to any one of claims 3-8, and the device includes: The first receiving module is used to receive user behavior data continuously acquired by the motion detection device. The second receiving module is used to receive status parameter data sent by the water heater, wherein the status parameter data is continuously acquired by the water heater and sent when the status parameter data changes; The status determination module is used to determine the current user status based on the user behavior data and the status parameter data, wherein the user status includes a normal status and an abnormal status. The information sending module is used to send alarm information to the first terminal device if the user's status is abnormal.
11. A water heater, characterized in that, include: A data acquisition unit and a data transmission unit communicatively connected to the data acquisition unit; The data acquisition unit is used to continuously acquire status parameter data, and when the status parameter data changes, it sends the status parameter data to the data transmission unit. The data transmission unit is used to send the status parameter data to the server, so that the server can perform big data analysis on the status parameter data and user behavior data to obtain the current user status, and send alarm information to the first terminal device when the user status is abnormal. The user behavior data is continuously acquired and sent by the action detection device, and the user status includes normal status and abnormal status. The status parameter data refers to the water heater operating parameters, including water flow data, continuously acquired by the water heater; the user behavior data includes one or more of the following: fall status data, inaction duration, and personnel dwell time. The server performs big data analysis on the status parameter data and user behavior data to obtain the current user status, including: If the user behavior data includes the fall status data, and the water flow data changes by less than a first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be the abnormal status. If the user behavior data includes the fall status data, and the water flow data changes by more than the first threshold within a first preset time after receiving the fall status data, then the current user status is determined to be the normal status. If the duration of inactivity is greater than the second preset duration, and the change in water flow data within the time period corresponding to the duration of inactivity is less than the second threshold, then the current user state is determined to be the abnormal state. If the time a person stays in the room is longer than a third preset time, and the change in water flow data within the time period corresponding to the time the person stays in the room is less than a third threshold, then the current user status is determined to be the abnormal status.
12. A server, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the security warning method as described in any one of claims 3 to 8.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the security warning method as described in any one of claims 1 to 8.
14. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the security warning method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Water heater system and bathing monitoring method thereof
CN104807201A
Intelligent movable bathing machine
CN104887128A
Intelligent gas water heater with alarming function and alarming control method of intelligent gas water heater
CN110398053A