Intelligent nursing system and method

Through Zigbee network technology and deep learning model, it solves the wireless connection and remote monitoring problems of traditional nursing systems, realizes a flexible, economical and safe intelligent nursing system, and provides real-time monitoring and prediction functions.

CN118823955APending Publication Date: 2024-10-22SICHUAN HONGMEI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410795931.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Due to the limitations of wired connections, traditional care systems are complex to install, have high maintenance costs, have poor flexibility, are difficult to implement remote monitoring, and cannot meet the individual needs of users.

Method used

Using Zigbee network technology, wireless connection and remote monitoring are realized through the cloud control center, Zigbee gateway and various sensors. Human body movement sensors, temperature and humidity sensors and emergency buttons are used for real-time data collection and alarm, and through self-attention mechanism-based Deep learning models for anomaly prediction.

Benefits of technology

It realizes a wirelessly interconnected intelligent care system, reduces installation and maintenance costs, improves the flexibility and reliability of the system, provides remote monitoring and emergency alarm functions, and ensures the safety and health of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118823955A_ABST
    Figure CN118823955A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent nursing system and method. The system comprises a cloud control center, a Zigbee gateway and an equipment network, wherein the equipment network comprises an audible and visual alarm and various sensors; the sensor is used for monitoring a nursed object and an environment where the nursed object is located, periodically reporting monitoring data to the Zigbee gateway, and reporting first alarm information to the Zigbee gateway when the nursed object or the environment where the nursed object is located is abnormal; the Zigbee gateway is used for uploading the monitoring data to the cloud control center, triggering the audible and visual alarm to give an audible and visual alarm when receiving the first alarm information, and reporting the first alarm information to the cloud control center; and the cloud control center is used for displaying the monitoring data on the display page and pushing the first alarm information to the guardian when receiving the first alarm information. By adopting the Zigbee network technology, the system has the characteristics of low power consumption, low cost, ad-hoc network and the like, and has a remote monitoring function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent monitoring technology, and in particular to an intelligent nursing system and method. Background Art

[0002] Traditional nursing systems have many shortcomings, which bring a lot of inconvenience to users. These systems usually need to connect various devices through wired cables. Not only is the installation and wiring process complicated and cumbersome, but it also greatly limits the flexibility and scalability of the system. Once the user needs to readjust the layout or change the location of the equipment, the line needs to be re-laid, which brings a lot of inconvenience to the user. Due to the use of wired deployment and the fact that it is a dedicated system, its construction and maintenance costs are relatively high. Moreover, wired connections are easily interrupted due to line aging, external force damage, etc., and the reliability and continuity of the system cannot be effectively guaranteed. In addition, this type of system is closed and independent, difficult to monitor remotely, and cannot meet the growing personalized needs of users. In general, traditional nursing systems have major shortcomings in many aspects, and they urgently need to be improved to better adapt to the actual needs of users. Summary of the invention

[0003] In order to solve at least one of the above technical problems, an embodiment of the present invention provides an intelligent nursing system and method.

[0004] According to the first aspect, the intelligent nursing system provided by the embodiment of the present invention includes a cloud control center, a Zigbee gateway connected to the cloud control center, and a device network connected to the Zigbee network corresponding to the Zigbee gateway, wherein the device network includes an audible and visual alarm and a variety of sensors; wherein:

[0005] The sensor is used to: monitor the object being cared for and the environment where the object is located, periodically report the monitoring data to the Zigbee gateway, and report the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object is located is abnormal;

[0006] The Zigbee gateway is used to upload the monitoring data periodically uploaded by the sensor to the cloud control center, and trigger the sound and light alarm to sound and light alarm when receiving the first alarm information, and report the first alarm information to the cloud control center;

[0007] The cloud control center is used to: display the monitoring data periodically uploaded by the Zigbee gateway on a display page, and push the first alarm information to the guardian when receiving the first alarm information.

[0008] In one embodiment, the device network further comprises an emergency button, wherein:

[0009] The emergency button is used to: send a second alarm message to the Zigbee gateway when triggered;

[0010] The Zigbee gateway is further configured to: upon receiving the second alarm information, trigger the sound and light alarm to sound and light alarm, and report the second alarm information to the cloud control center;

[0011] The cloud control center is used to push the second alarm information to the guardian upon receiving the second alarm information.

[0012] In one embodiment, the sensor includes a human motion sensor and a temperature and humidity sensor; wherein:

[0013] The human motion sensor is used to: monitor the activity state of the object being cared for; if the activity state of the object being cared for does not change within a preset time period, report the first alarm information to the Zigbee gateway;

[0014] The temperature and humidity sensor is used to: monitor the temperature and humidity of the environment where the object being cared for is located; if the temperature and humidity exceed the temperature and humidity threshold, report the first alarm information to the Zigbee gateway.

[0015] In one embodiment, an abnormality prediction model is deployed on the cloud control center, and the abnormality prediction model is trained by using a converter model, and the converter model is a deep learning model based on a self-attention mechanism;

[0016] The cloud control center is also used to: pre-process the monitoring data periodically uploaded by the Zigbee gateway, input the pre-processed monitoring data into the abnormality prediction model, and obtain a prediction result of whether the cared object will have an abnormality within a preset future time period; if the prediction result is that the cared object will have an abnormality within the preset future time period, the prediction result is pushed to the guardian.

[0017] In one embodiment, the anomaly prediction model includes an encoder and a decoder; wherein:

[0018] The encoder is used to encode the monitoring data input to the abnormal prediction model; the encoder includes a plurality of encoding layers connected in sequence, each encoding layer includes a first multi-head attention layer and a first feedforward neural network layer; the first multi-head attention layer is used to perform multi-head attention processing on the data input to the encoding layer to obtain first multi-head attention data; the first feedforward neural network layer is used to perform nonlinear feedforward processing on the first multi-head attention data to obtain the encoding result of the encoding layer;

[0019] The decoder is used to decode the encoding result output by the encoder; the decoder includes multiple decoding layers connected in sequence, each decoding layer includes a second multi-head attention layer and a second feedforward neural network layer; the second multi-head attention layer is used to perform multi-head attention processing on the data input to the decoding layer to obtain second multi-head attention data; the second feedforward neural network layer is used to perform nonlinear feedforward processing on the second multi-head attention data to obtain the decoding result of the decoding layer.

[0020] In one embodiment, the first multi-head attention layer is specifically used to:

[0021] Mapping the data input to the encoding layer into a query vector, a key vector, and a value vector;

[0022] Mapping the query vector, the key vector and the value vector to h subspaces respectively, to obtain mapping results of the query vector, the key vector and the value vector in the h subspaces respectively; wherein h is a positive integer greater than 1;

[0023] Performing correlation calculation on the mapping results of the query vector, the key vector and the value vector in each subspace to obtain an encoding result corresponding to the subspace;

[0024] The encoding results corresponding to the h subspaces are concatenated to obtain the first multi-head attention data.

[0025] In one embodiment, the mapping of the query vector, the key vector, and the value vector to h subspaces in the first multi-head attention layer includes: mapping the query vector, the key vector, and the value vector to the i-th subspace respectively using a first calculation formula, wherein the first calculation formula includes:

[0026] Q i '=QW i Q

[0027] K i '=KW i K

[0028] V i '=VW i V

[0029] Among them, Q i ' is the mapping result of the query vector in the i-th subspace; Q is the query vector; W i Q is the weight matrix corresponding to the query vector in the i-th subspace; K i' is the mapping result of the key vector in the i-th subspace; K is the key vector; W i K is the weight matrix corresponding to the key vector in the ith subspace; V i ' is the mapping result of the value vector in the i-th subspace; V is the value vector; W i V is the weight matrix corresponding to the value vector in the i-th subspace.

[0030] In one embodiment, the correlation calculation of the mapping results of the query vector, the key vector, and the value vector in each subspace in the first multi-head attention layer includes: using a second calculation formula to calculate the encoding result corresponding to the i-th subspace, and the second calculation formula is:

[0031]

[0032] Among them, head i is the encoding result corresponding to the i-th subspace, Q i ' is the mapping result of the query vector in the i-th subspace, K i ' is the mapping result of the key vector in the i-th subspace, V i ' is the mapping result of the value vector in the i-th subspace, T is the transposition symbol, and d is the scaling parameter.

[0033] According to a second aspect, the intelligent nursing method provided by an embodiment of the present invention is implemented based on the intelligent nursing system provided by the first aspect, and the method includes:

[0034] Monitor the object being cared for and the environment where the object is located through sensors, periodically report the monitoring data to the Zigbee gateway, and report the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object is located is abnormal;

[0035] Uploading the monitoring data periodically uploaded by the sensor to the cloud control center through the Zigbee gateway, triggering the sound and light alarm to sound and light alarm when receiving the first alarm information, and reporting the first alarm information to the cloud control center;

[0036] The monitoring data periodically uploaded by the Zigbee gateway is displayed on a display page through the cloud control center, and the first alarm information is pushed to the guardian when the first alarm information is received.

[0037] In one embodiment, the method further comprises:

[0038] Sending a second alarm message to the Zigbee gateway via the emergency button when triggered;

[0039] When the Zigbee gateway receives the second alarm information, the sound and light alarm is triggered to sound and light alarm, and the second alarm information is reported to the cloud control center;

[0040] The cloud control center pushes the second alarm information to the guardian when receiving the second alarm information.

[0041] The intelligent nursing system and method provided by the embodiment of the present invention, the sensor monitors the object being cared for and the environment where the object being cared for is located, and then periodically reports the monitoring data to the Zigbee gateway, and reports the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object being cared for is abnormal. The Zigbee gateway receives and summarizes the monitoring data uploaded periodically by each sensor, and then uploads the summarized monitoring data to the cloud control center. If the first alarm information from the sensor is received, the first alarm information will also be reported to the cloud control center, and the sound and light alarm will also be triggered to alarm, so that the relevant personnel in the nursing environment can know the abnormal situation in time. The cloud control center displays the monitoring data uploaded periodically by the Zigbee gateway for the personnel of the cloud control center to understand the monitoring data. Moreover, when the cloud control center receives the first alarm information from the Zigbee gateway, it will immediately push the first alarm information to the guardian, so that the remote guardian can know the situation in time. The system adopts Zigbee network technology, which has the characteristics of low power consumption, low cost, self-organizing network, etc., and can realize large-scale deployment and flexible expansion. Provide emergency alarm and remote monitoring functions, so that staff and guardians in the care environment can respond and handle emergencies in a timely manner to ensure the safety and health of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the structure of an intelligent nursing system in one embodiment of the present invention;

[0043] Figure 2 Schematic diagram of the process of an intelligent nursing method in one embodiment of the present invention. DETAILED DESCRIPTION

[0044] In a first aspect, an embodiment of the present invention provides an intelligent nursing system. Figure 1 The system includes a cloud control center, a Zigbee gateway connected to the cloud control center, and a device network connected to the Zigbee network corresponding to the Zigbee gateway, wherein the device network includes an audible and visual alarm and a variety of sensors; wherein:

[0045] The sensor is used to: monitor the object being cared for and the environment where the object is located, periodically report the monitoring data to the Zigbee gateway, and report the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object is located is abnormal;

[0046] The Zigbee gateway is used to upload the monitoring data periodically uploaded by the sensor to the cloud control center, and trigger the sound and light alarm to sound and light alarm when receiving the first alarm information, and report the first alarm information to the cloud control center;

[0047] The cloud control center is used to: display the monitoring data periodically uploaded by the Zigbee gateway on a display page, and push the first alarm information to the guardian when receiving the first alarm information.

[0048] Among them, the Zigbee gateway, various sensors, sound and light alarms, and the emergency button mentioned below are all connected to the Zigbee network.

[0049] Among them, the function of the sensor is to monitor the object being cared for and the environment where the object is located, and then periodically report the monitoring data to the Zigbee gateway, and report the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object is located is abnormal.

[0050] The role of the Zigbee gateway is to receive and aggregate the monitoring data periodically uploaded by each sensor, and then upload the aggregated monitoring data to the cloud control center. If the first alarm information is received from the sensor, it will also be reported to the cloud control center, and the sound and light alarm will be triggered to alarm, so that the relevant personnel in the care environment can be informed of the abnormal situation in time.

[0051] The role of the cloud control center is to display the monitoring data uploaded periodically by the Zigbee gateway so that the personnel in the cloud control center can understand the monitoring data. When the cloud control center receives the first alarm information from the Zigbee gateway, it will immediately push the first alarm information to the guardian so that the remote guardian can understand the situation in time.

[0052] In one embodiment, the device network further comprises an emergency button, wherein:

[0053] The emergency button is used to: send a second alarm message to the Zigbee gateway when triggered;

[0054] The Zigbee gateway is further configured to: upon receiving the second alarm information, trigger the sound and light alarm to sound and light alarm, and report the second alarm information to the cloud control center;

[0055] The cloud control center is used to push the second alarm information to the guardian upon receiving the second alarm information.

[0056] If the person being cared for feels unwell, the emergency button can be triggered. If the staff caring for the person being cared for finds that the person being cared for is abnormal, the emergency button can also be triggered.

[0057] In actual scenarios, after the emergency button is triggered, it will send a second alarm message to the Zigbee gateway. When the Zigbee gateway receives the second alarm message, it will trigger the sound and light alarm in the care environment to alarm, so that the staff in the care environment can go to check the situation. The Zigbee gateway will also report the second alarm message to the cloud control center. After receiving the second alarm message, the cloud control center will push the second alarm message to the guardian, so that the remote guardian can understand the abnormal situation.

[0058] Of course, after seeing the second alarm message, the staff of the cloud control center can ask the staff of the care environment for information, confirm whether there is really an abnormality, and provide guidance on how to deal with the abnormal situation.

[0059] In one embodiment, the sensor may include a human motion sensor and a temperature and humidity sensor; wherein:

[0060] The human motion sensor is used to: monitor the activity state of the object being cared for; if the activity state of the object being cared for does not change within a preset time period, report the first alarm information to the Zigbee gateway;

[0061] The temperature and humidity sensor is used to: monitor the temperature and humidity of the environment where the object being cared for is located; if the temperature and humidity exceed the temperature and humidity threshold, report the first alarm information to the Zigbee gateway.

[0062] Among them, the function of the human motion sensor is to detect the activity state of the cared object. If the activity state of the cared object does not change within a certain period of time, it can be considered that the cared object is abnormal, and therefore the first alarm information is reported to the Zigbee gateway.

[0063] Among them, the function of the temperature and humidity sensor is to detect the temperature and humidity of the environment where the cared person is located, for example, the temperature and humidity of the room. If the detected temperature and humidity exceed the temperature and humidity threshold, it means that there is an abnormality in the environment where the cared person is located, so the first alarm information is reported to the Zigbee gateway.

[0064] In one embodiment, an abnormality prediction model is deployed on the cloud control center, and the abnormality prediction model is trained by using a converter model, and the converter model is a deep learning model based on a self-attention mechanism;

[0065] The cloud control center is also used to: pre-process the monitoring data periodically uploaded by the Zigbee gateway, input the pre-processed monitoring data into the abnormality prediction model, and obtain a prediction result of whether the cared object will have an abnormality within a preset future time period; if the prediction result is that the cared object will have an abnormality within the preset future time period, the prediction result is pushed to the guardian.

[0066] Among them, the abnormal prediction model is obtained by training with a converter model, and the converter model is a Transformer model. The Transformer model is a deep learning model based on a self-attention mechanism. The prediction models based on deep learning mainly include convolutional neural networks, recurrent neural networks and Transformers. Convolutional neural networks use structural layers such as convolution kernels and pooling layers to extract features from historical data to complete predictions. Recurrent neural networks make predictions by capturing and utilizing long-term and short-term time dependencies, and have higher prediction accuracy than convolutional neural networks, but they do not perform well in long-series time series prediction tasks, and there are problems of gradient vanishing and gradient explosion during the training process. For this reason, the Transformer model is used in the embodiment of the present invention.

[0067] That is to say, the monitoring data uploaded by the Zigbee gateway is pre-processed by the cloud monitoring center and then input into the abnormal prediction model to obtain the prediction result of whether the object under care will have an abnormality in the preset future time period. If the prediction result is that the object under care will have an abnormality in the preset future time period, the prediction result is pushed to the guardian. When the guardian sees the prediction result, he can remind the staff in the care environment in advance, so that the staff in the care environment pay more attention to the object under care, and troubleshoot the environment where the object under care is located.

[0068] Furthermore, the anomaly prediction model may include an encoder and a decoder; wherein:

[0069] The encoder is used to encode the monitoring data input to the abnormal prediction model; the encoder includes a plurality of encoding layers connected in sequence, each encoding layer includes a first multi-head attention layer and a first feedforward neural network layer; the first multi-head attention layer is used to perform multi-head attention processing on the data input to the encoding layer to obtain first multi-head attention data; the first feedforward neural network layer is used to perform nonlinear feedforward processing on the first multi-head attention data to obtain the encoding result of the encoding layer;

[0070] The decoder is used to decode the encoding result output by the encoder; the decoder includes multiple decoding layers connected in sequence, each decoding layer includes a second multi-head attention layer and a second feedforward neural network layer; the second multi-head attention layer is used to perform multi-head attention processing on the data input to the decoding layer to obtain second multi-head attention data; the second feedforward neural network layer is used to perform nonlinear feedforward processing on the second multi-head attention data to obtain the decoding result of the decoding layer.

[0071] It can be seen that the abnormal prediction model includes an encoder and a decoder. The function of the encoder is to encode the monitoring data input into the abnormal prediction model to obtain an encoding result, and the function of the decoder is to decode the encoding result output by the encoder to obtain a prediction result.

[0072] Specifically, the monitoring data can be encoded after being encoded by multiple encoding layers connected in series to obtain an encoding result. Each encoding layer performs multi-head attention processing and nonlinear feedforward processing on the input data. Multi-head attention processing refers to performing related calculations based on a multi-head attention mechanism. Nonlinear feedforward processing refers to processing using a nonlinear feedforward neural network.

[0073] Specifically, the encoding result output by the encoder is processed by multiple decoding layers connected in series to obtain a decoding result. Each decoding layer performs multi-head attention processing and nonlinear feedforward processing on the input data. Multi-head attention processing refers to related calculations based on the multi-head attention mechanism. Nonlinear feedforward processing refers to processing using a nonlinear feedforward neural network.

[0074] It can be seen that the structures of the decoder and the encoder are similar, but the relevant parameters in the decoding layer and the encoding layer are different, so different processing purposes can be achieved.

[0075] The first multi-head attention layer can be specifically used for:

[0076] A1. Map the data input to the encoding layer into a query vector, a key vector, and a value vector;

[0077] A2. Map the query vector, the key vector, and the value vector to h subspaces respectively, to obtain mapping results of the query vector, the key vector, and the value vector in the h subspaces respectively; wherein h is a positive integer greater than 1;

[0078] A3. performing correlation calculation on the mapping results of the query vector, the key vector and the value vector in each subspace to obtain the encoding result corresponding to the subspace;

[0079] A4. Concatenate the encoding results corresponding to the h subspaces to obtain the first multi-head attention data.

[0080] It can be seen that the data input to a coding layer is mapped into three vectors, and then each vector is mapped into h subspaces to obtain h mapping results corresponding to this vector. Then the mapping results of the three vectors in the same subspace are correlated to obtain the encoding result corresponding to this subspace. The encoding results of the h subspaces are then concatenated to obtain the first multi-head attention data of this coding layer.

[0081] The mapping of the query vector, the key vector, and the value vector to h subspaces in the first multi-head attention layer may include: mapping the query vector, the key vector, and the value vector to the i-th subspace using a first calculation formula, wherein the first calculation formula includes:

[0082] Q i '=QW i Q

[0083] K i '=KW i K

[0084] V i '=VW i V

[0085] Among them, Q i ' is the mapping result of the query vector in the i-th subspace; Q is the query vector; W i Q is the weight matrix corresponding to the query vector in the i-th subspace; K i ' is the mapping result of the key vector in the i-th subspace; K is the key vector; W i K is the weight matrix corresponding to the key vector in the ith subspace; V i ' is the mapping result of the value vector in the i-th subspace; V is the value vector; W i Vis the weight matrix corresponding to the value vector in the i-th subspace.

[0086] The calculation of the correlation of the mapping results of the query vector, the key vector and the value vector in each subspace in the first multi-head attention layer may include: calculating the encoding result corresponding to the i-th subspace using a second calculation formula, where the second calculation formula is:

[0087]

[0088] Among them, head i is the encoding result corresponding to the i-th subspace, Q i ' is the mapping result of the query vector in the i-th subspace, K i ' is the mapping result of the key vector in the i-th subspace, V i ' is the mapping result of the value vector in the i-th subspace, T is the transposition symbol, and d is the scaling parameter.

[0089] The scaling parameter d is to prevent Q i '(K i ') T The matrix product of is too large, so scaling it is beneficial to update the parameters better.

[0090] Then, the encoding results corresponding to the h subspaces are concatenated, and the concatenated results are subjected to nonlinear feedforward processing to obtain the decoding result of the decoding layer:

[0091] Concat(head1, head2,..., head h )W o

[0092] Among them, Concat() is the concatenation function, W O It is a nonlinear feedforward neural network.

[0093] Among them, Zigbee, as an advanced low-power wireless communication technology, has many unique advantages and broad application prospects in the field of nursing systems. First of all, Zigbee uses the 2.4GHz wireless frequency band for data transmission, without the need for complex wired wiring, which greatly simplifies the installation and deployment process of the system and improves flexibility and portability. Secondly, Zigbee itself is a low-power design, and each node device can rely on batteries or small power supplies to fully meet the requirements of long-term unattended reliable operation. More importantly, Zigbee supports mesh network topology, and each node can flexibly serve as a router to transmit data to each other, which not only expands the coverage range, but also improves the fault tolerance of the overall system. In addition, the low-cost characteristics of Zigbee chips and modules are conducive to the large-scale deployment and popularization of nursing systems. In addition, without the need for wiring, the overall construction cost is more economical. At the same time, the Zigbee network itself has good openness and scalability. Various intelligent sensor devices can be seamlessly integrated with the system through the Zigbee protocol to achieve diversified monitoring functions. In general, Zigbee is very suitable for use in home and community care due to its many advantages such as low power consumption, low cost, mesh topology, and scalability. It will greatly improve the system's performance and user experience, and usher in broad development prospects.

[0094] The embodiment of the present invention aims to provide all-round life safety monitoring for special groups such as the elderly, children, and the disabled. The system consists of a cloud control center, a Zigbee gateway, an audible and visual alarm, an emergency button, and other devices, and realizes wireless interconnection through a Zigbee network. The intelligent care system does not require complex wiring, is easy to install and flexible, and can be widely used in various care scenarios such as homes, nursing homes, and kindergartens. It uses advanced Internet of Things technology to pay attention to the life safety of the caregivers around the clock, create a safe, caring, and intelligent living environment for them, relieve the worries of their families, and improve their quality of life.

[0095] Among them, the activity monitoring of the object of care is realized based on the human motion sensor, and the monitoring of the environment is realized based on the temperature and humidity sensor, so as to monitor the activity status of the object of care and the changes in the surrounding environment in real time. The emergency button can realize automatic alarm in emergency situations. The alarm signal can be sent to the local alarm through the sound and light alarm, and can also be pushed to the mobile terminal or cloud platform of the guardian to realize 7x24 hours remote monitoring.

[0096] In actual scenarios, a specific APP is used to connect the Zigbee gateway to the network and establish a binding relationship with the cloud control center. As the core component of the system, the Zigbee gateway is responsible for managing the entire Zigbee network and receiving and processing monitoring data from various sensors.

[0097] The initialization process of the system is as follows: when the system starts, a specific APP allows the Zigbee gateway to access the network, and at the same time allows the Zigbee gateway to establish a connection with the cloud control center, prepare data upload and command receiving channels, and at the same time, the Zigbee gateway acts as a coordinator to establish a Zigbee network and wait for other devices to join the network. Then let the devices network, and various sensors, emergency buttons, sound and light alarms and other devices establish connections with the Zigbee gateway through the Zigbee network protocol. The Zigbee gateway assigns network addresses and stores device information. After each device is powered on, it will automatically join the Zigbee network, and the networking process will be automatically completed. After the networking is completed, it enters the working state.

[0098] In summary, the system provided by the embodiment of the present invention has the following beneficial effects:

[0099] (1) It adopts Zigbee network technology, which has the characteristics of low power consumption, low cost, and self-organizing network, and can achieve large-scale deployment and flexible expansion.

[0100] (2) Each sensor, sound and light alarm, and emergency button are connected to the Zigbee network and managed by the Zigbee gateway. They can also interact remotely with the cloud control center to form a complete monitoring system that can monitor the user's health and safety status from all angles.

[0101] (3) Provide emergency alarm and remote monitoring functions so that staff and guardians in the care environment can respond and handle emergencies in a timely manner to ensure the safety and health of users.

[0102] In a second aspect, an embodiment of the present invention provides an intelligent nursing method, which is implemented based on the intelligent nursing system provided in the first aspect, see Figure 2 , the method includes S110 to S130:

[0103] S110, monitoring the object being cared for and the environment where the object is located through sensors, periodically reporting monitoring data to the Zigbee gateway, and reporting first alarm information to the Zigbee gateway when an abnormality occurs to the object being cared for or the environment where the object is located;

[0104] S120, uploading the monitoring data periodically uploaded by the sensor to the cloud control center through the Zigbee gateway, triggering the sound and light alarm to sound and light alarm when receiving the first alarm information, and reporting the first alarm information to the cloud control center;

[0105] S130. Display the monitoring data periodically uploaded by the Zigbee gateway on a display page through the cloud control center, and push the first alarm information to the guardian when the first alarm information is received.

[0106] In one embodiment, the device network further includes an emergency button, wherein: the emergency button is used to: send a second alarm message to the Zigbee gateway when triggered; the Zigbee gateway is also used to: trigger the sound and light alarm to sound and light alarm when receiving the second alarm message, and report the second alarm message to the cloud control center; the cloud control center is used to: push the second alarm message to the guardian when receiving the second alarm message;

[0107] Correspondingly, the method further includes:

[0108] Sending a second alarm message to the Zigbee gateway via the emergency button when triggered;

[0109] When the Zigbee gateway receives the second alarm information, the sound and light alarm is triggered to sound and light alarm, and the second alarm information is reported to the cloud control center;

[0110] The cloud control center pushes the second alarm information to the guardian when receiving the second alarm information.

[0111] In one embodiment, the sensor includes a human motion sensor and a temperature and humidity sensor; wherein: the human motion sensor is used to: monitor the activity status of the cared object; if the activity status of the cared object does not change within a preset time period, the first alarm information is reported to the Zigbee gateway; the temperature and humidity sensor is used to: monitor the temperature and humidity of the environment where the cared object is located; if the temperature and humidity exceed the temperature and humidity threshold, the first alarm information is reported to the Zigbee gateway.

[0112] In one embodiment, an abnormality prediction model is deployed on the cloud control center, and the abnormality prediction model is obtained by training with a converter model, and the converter model is a deep learning model based on a self-attention mechanism; the cloud control center is also used to: pre-process the monitoring data periodically uploaded by the Zigbee gateway, input the pre-processed monitoring data into the abnormality prediction model, and obtain a prediction result of whether the cared object will have an abnormality within a preset future time period; if the prediction result is that the cared object will have an abnormality within the preset future time period, the prediction result is pushed to the guardian;

[0113] Correspondingly, the method further includes:

[0114] The monitoring data periodically uploaded by the Zigbee gateway is preprocessed by the cloud control center, and the preprocessed monitoring data is input into the abnormality prediction model to obtain a prediction result of whether the cared object will have an abnormality within a preset future time period; if the prediction result is that the cared object will have an abnormality within the preset future time period, the prediction result is pushed to the guardian.

[0115] In one embodiment, the anomaly prediction model includes an encoder and a decoder; wherein:

[0116] The encoder is used to encode the monitoring data input to the abnormal prediction model; the encoder includes a plurality of encoding layers connected in sequence, each encoding layer includes a first multi-head attention layer and a first feedforward neural network layer; the first multi-head attention layer is used to perform multi-head attention processing on the data input to the encoding layer to obtain first multi-head attention data; the first feedforward neural network layer is used to perform nonlinear feedforward processing on the first multi-head attention data to obtain the encoding result of the encoding layer;

[0117] The decoder is used to decode the encoding result output by the encoder; the decoder includes multiple decoding layers connected in sequence, each decoding layer includes a second multi-head attention layer and a second feedforward neural network layer; the second multi-head attention layer is used to perform multi-head attention processing on the data input to the decoding layer to obtain second multi-head attention data; the second feedforward neural network layer is used to perform nonlinear feedforward processing on the second multi-head attention data to obtain the decoding result of the decoding layer.

[0118] In one embodiment, the first multi-head attention layer is specifically used to:

[0119] Mapping the data input to the encoding layer into a query vector, a key vector, and a value vector;

[0120] Mapping the query vector, the key vector and the value vector to h subspaces respectively, to obtain mapping results of the query vector, the key vector and the value vector in the h subspaces respectively; wherein h is a positive integer greater than 1;

[0121] Performing correlation calculation on the mapping results of the query vector, the key vector and the value vector in each subspace to obtain an encoding result corresponding to the subspace;

[0122] The encoding results corresponding to the h subspaces are concatenated to obtain the first multi-head attention data.

[0123] In one embodiment, the mapping of the query vector, the key vector, and the value vector to h subspaces in the first multi-head attention layer includes: mapping the query vector, the key vector, and the value vector to the i-th subspace respectively using a first calculation formula, wherein the first calculation formula includes:

[0124] Q i '=QW i Q

[0125] K i '=KW i K

[0126] V i '=VW i V

[0127] Among them, Q i ' is the mapping result of the query vector in the i-th subspace; Q is the query vector; W i Q is the weight matrix corresponding to the query vector in the i-th subspace; K i ' is the mapping result of the key vector in the i-th subspace; K is the key vector; W i K is the weight matrix corresponding to the key vector in the ith subspace; V i ' is the mapping result of the value vector in the i-th subspace; V is the value vector; W i V is the weight matrix corresponding to the value vector in the i-th subspace.

[0128] In one embodiment, the correlation calculation of the mapping results of the query vector, the key vector, and the value vector in each subspace in the first multi-head attention layer includes: using a second calculation formula to calculate the encoding result corresponding to the i-th subspace, and the second calculation formula is:

[0129]

[0130] Among them, head i is the encoding result corresponding to the i-th subspace, Q i ' is the mapping result of the query vector in the i-th subspace, K i ' is the mapping result of the key vector in the i-th subspace, V i ' is the mapping result of the value vector in the i-th subspace, T is the transposition symbol, and d is the scaling parameter.

[0131] It is understandable that the explanation of the relevant contents, specific implementation methods, beneficial effects, examples, etc. in the method provided in the embodiment of the present invention can be found in the corresponding parts of the system provided in the first aspect, and will not be repeated here.

[0132] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0133] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0134] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. An intelligent nursing system, characterized in that: It includes a cloud control center, a Zigbee gateway connected to the cloud control center, and a device network connected to the Zigbee network corresponding to the Zigbee gateway, wherein the device network includes an audible and visual alarm and a variety of sensors; wherein: The sensor is used to: monitor the object being cared for and the environment where the object is located, periodically report the monitoring data to the Zigbee gateway, and report the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object is located is abnormal; The Zigbee gateway is used to upload the monitoring data periodically uploaded by the sensor to the cloud control center, and trigger the sound and light alarm to sound and light alarm when receiving the first alarm information, and report the first alarm information to the cloud control center; The cloud control center is used to: display the monitoring data periodically uploaded by the Zigbee gateway on a display page, and push the first alarm information to the guardian when receiving the first alarm information.

2. The system according to claim 1, characterized in that The device network also includes an emergency button, wherein: The emergency button is used to: send a second alarm message to the Zigbee gateway when triggered; The Zigbee gateway is further configured to: upon receiving the second alarm information, trigger the sound and light alarm to sound and light alarm, and report the second alarm information to the cloud control center; The cloud control center is used to push the second alarm information to the guardian upon receiving the second alarm information.

3. The system according to claim 1, characterized in that The sensors include a human motion sensor and a temperature and humidity sensor; wherein: The human motion sensor is used to: monitor the activity state of the object being cared for; if the activity state of the object being cared for does not change within a preset time period, report the first alarm information to the Zigbee gateway; The temperature and humidity sensor is used to: monitor the temperature and humidity of the environment where the object being cared for is located; if the temperature and humidity exceed the temperature and humidity threshold, report the first alarm information to the Zigbee gateway.

4. The system according to claim 1, characterized in that An abnormality prediction model is deployed on the cloud control center. The abnormality prediction model is trained by using a converter model. The converter model is a deep learning model based on a self-attention mechanism. The cloud control center is also used to: pre-process the monitoring data periodically uploaded by the Zigbee gateway, input the pre-processed monitoring data into the abnormality prediction model, and obtain a prediction result of whether the cared object will have an abnormality within a preset future time period; if the prediction result is that the cared object will have an abnormality within the preset future time period, the prediction result is pushed to the guardian.

5. The system according to claim 4, characterized in that The abnormal prediction model includes an encoder and a decoder; wherein: The encoder is used to encode the monitoring data input to the abnormal prediction model; the encoder includes a plurality of encoding layers connected in sequence, each encoding layer includes a first multi-head attention layer and a first feedforward neural network layer; the first multi-head attention layer is used to perform multi-head attention processing on the data input to the encoding layer to obtain first multi-head attention data; the first feedforward neural network layer is used to perform nonlinear feedforward processing on the first multi-head attention data to obtain the encoding result of the encoding layer; The decoder is used to decode the encoding result output by the encoder; the decoder includes multiple decoding layers connected in sequence, each decoding layer includes a second multi-head attention layer and a second feedforward neural network layer; the second multi-head attention layer is used to perform multi-head attention processing on the data input to the decoding layer to obtain second multi-head attention data; the second feedforward neural network layer is used to perform nonlinear feedforward processing on the second multi-head attention data to obtain the decoding result of the decoding layer.

6. The system according to claim 5, characterized in that The first multi-head attention layer is specifically used for: Mapping the data input to the encoding layer into a query vector, a key vector, and a value vector; Mapping the query vector, the key vector and the value vector to h subspaces respectively, to obtain mapping results of the query vector, the key vector and the value vector in the h subspaces respectively; wherein h is a positive integer greater than 1; Performing correlation calculation on the mapping results of the query vector, the key vector and the value vector in each subspace to obtain an encoding result corresponding to the subspace; The encoding results corresponding to the h subspaces are concatenated to obtain the first multi-head attention data.

7. The system according to claim 6, characterized in that The mapping of the query vector, the key vector, and the value vector to h subspaces in the first multi-head attention layer includes: mapping the query vector, the key vector, and the value vector to the i-th subspace respectively using a first calculation formula, wherein the first calculation formula includes: Q i '=QW i Q K i '=KW i K V i '=VW i V Among them, Q i ' is the mapping result of the query vector in the i-th subspace; Q is the query vector; W i Q is the weight matrix corresponding to the query vector in the i-th subspace; K i ' is the mapping result of the key vector in the i-th subspace; K is the key vector; W i K is the weight matrix corresponding to the key vector in the ith subspace; V i ' is the mapping result of the value vector in the i-th subspace; V is the value vector; W i V is the weight matrix corresponding to the value vector in the i-th subspace.

8. The system according to claim 6, characterized in that The first multi-head attention layer performs correlation calculation on the mapping results of the query vector, the key vector, and the value vector in each subspace, including: using a second calculation formula to calculate the encoding result corresponding to the i-th subspace, and the second calculation formula is: Among them, head i is the encoding result corresponding to the i-th subspace, Q i ' is the mapping result of the query vector in the i-th subspace, K i ' is the mapping result of the key vector in the i-th subspace, V i ' is the mapping result of the value vector in the i-th subspace, T is the transposition symbol, and d is the scaling parameter.

9. An intelligent nursing method, characterized in that: The method is implemented based on the intelligent nursing system according to any one of claims 1 to 8, and the method comprises: Monitor the object being cared for and the environment where the object is located through sensors, periodically report the monitoring data to the Zigbee gateway, and report the first alarm information to the Zigbee gateway when the object being cared for or the environment where the object is located is abnormal; Uploading the monitoring data periodically uploaded by the sensor to the cloud control center through the Zigbee gateway, triggering the sound and light alarm to sound and light alarm when receiving the first alarm information, and reporting the first alarm information to the cloud control center; The monitoring data periodically uploaded by the Zigbee gateway is displayed on a display page through the cloud control center, and the first alarm information is pushed to the guardian when the first alarm information is received.

10. The method according to claim 9, characterized in that The system is the system according to claim 2, and the method further comprises: Sending a second alarm message to the Zigbee gateway via the emergency button when triggered; When the Zigbee gateway receives the second alarm information, the sound and light alarm is triggered to sound and light alarm, and the second alarm information is reported to the cloud control center; The cloud control center pushes the second alarm information to the guardian when receiving the second alarm information.