Data acquisition method, device and equipment based on sleep aiding bed and storage medium

By acquiring and matching sleep data in the sleep monitoring device of the sleep aid bed, the problem of difficulty in distinguishing user sleep data in the prior art is solved, and the accurate matching of sleep data and improvement of user experience is achieved.

CN119498803APending Publication Date: 2025-02-25SHANGHAI MOXIN INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411567703.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The prior art is difficult to distinguish the users corresponding to the sleep data when acquiring user sleep data, resulting in data deviations and users cannot accurately obtain their sleep data.

Method used

In the sleep monitoring device of the sleep aid bed, the current vital sign information of the designated area is obtained according to the preset frequency, the current sleep data is generated, and the historical sleep data is matched, the target user is determined, and the data is updated to the history of the target user. in the data.

Benefits of technology

Accurate user distinction between sleep data in designated areas is achieved, avoiding matching deviations and errors in sleep data, and improving the accuracy and user experience of sleep quality monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention provides a data acquisition method, device and equipment based on a sleep aiding bed and a storage medium, the method is applied to the sleep aiding bed, the sleep aiding bed comprises a sleep monitoring device, and the method comprises the steps that current vital sign information of a designated area monitored by the sleep monitoring device is acquired according to a preset frequency; generating current sleep data corresponding to the current vital sign information according to the current vital sign information; the current sleep data is matched with the historical sleep data, a target user corresponding to the current sleep data is determined, the current sleep data is updated to the historical sleep data of the target user, and the historical sleep data of the preset duration and user identifiers corresponding to the historical sleep data are stored in the sleep monitoring device. According to the method, the sleep user in the specified area can be identified, so that the accuracy of monitoring the sleep quality of the user is improved, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data acquisition method, device, equipment and storage medium based on a sleep-aiding bed. Background Art

[0002] The pace of life in modern society is accelerating, work pressure is increasing, and more and more people are facing sleep disorders. Sleep-aid beds can not only help with sleep but also obtain the user's sleep status so that the user can confirm his or her sleep status.

[0003] In the prior art, when acquiring sleep data, it is difficult to distinguish the user corresponding to the sleep data, and data deviation is often caused due to the sleeping position, so that the user cannot accurately know his or her sleep data. Summary of the invention

[0004] The purpose of this application is to provide a data acquisition method, device, equipment and storage medium based on a sleep-aid bed to address the deficiencies in the above-mentioned prior art, so as to solve the problems of being dull and not smart enough when acquiring user sleep data in the prior art.

[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, an embodiment of the present application provides a data acquisition method based on a sleep-aiding bed, which is applied to the sleep-aiding bed, wherein the sleep-aiding bed comprises: a sleep monitoring device, wherein the sleep monitoring device is used to monitor sleep data of a designated area of ​​the sleep-aiding bed, and the method comprises:

[0007] Acquiring current vital sign information of the designated area monitored by the sleep monitoring device according to a preset frequency;

[0008] generating current sleep data corresponding to the current vital sign information according to the current vital sign information;

[0009] The current sleep data is matched with the historical sleep data to determine the target user corresponding to the current sleep data, and the current sleep data is updated to the historical sleep data of the target user, wherein the sleep monitoring device stores historical sleep data of a preset duration and user identifiers corresponding to the historical sleep data.

[0010] In a possible implementation, the sleep monitoring device includes: a plurality of single-channel sleep monitoring units, or a multi-channel sleep monitoring unit; wherein each of the single-channel sleep monitoring units is used to monitor vital sign information of a designated area, and each subunit in the multi-channel sleep monitoring unit is used to monitor vital sign information of a designated area;

[0011] The obtaining, at a preset frequency, current vital sign information of the designated area monitored by the sleep monitoring device includes:

[0012] The current vital sign information of each designated area is obtained according to the preset frequency.

[0013] In a possible implementation, matching the current sleep data with the historical sleep data, determining a target user corresponding to the current sleep data, and updating the current sleep data to the historical sleep data of the target user includes:

[0014] If the current sleep data does not match the corresponding historical sleep data, it is stored as the sleep data of an unknown user;

[0015] Sending a mismatch prompt message to the terminal device;

[0016] The receiving terminal device receives the target user's feedback based on the unmatched prompt information, and updates the current sleep data to the historical sleep data of the target user.

[0017] In a possible implementation, after matching the current sleep data with the historical sleep data to determine the target user corresponding to the current sleep data, the method further includes:

[0018] According to preset rules, data calibration is performed on all historical sleep data stored in the sleep monitoring device.

[0019] In a possible implementation, matching the current sleep data with the historical sleep data, determining the target user corresponding to the current sleep data, and updating the current sleep data to the historical sleep data of the target user, includes:

[0020] According to the target user, reading historical sleep data corresponding to the identifier of the target user;

[0021] Generate a sleep report in a preset format according to the historical sleep data corresponding to the identifier of the target user;

[0022] Send the sleep report to the terminal device.

[0023] In a possible implementation, the method further includes:

[0024] If no vital sign information is obtained within the preset time period, it is determined as out of bed state, and the sleep monitoring function is turned off or dormant.

[0025] In a possible implementation, the current vital sign information includes at least one of the following: weight, breathing frequency, breathing amplitude, sound, heart rate, blood oxygen, and blood pressure; and generating current sleep data corresponding to the current vital sign information according to the current vital sign information includes:

[0026] The current sleep data corresponding to the current vital sign information is calculated and generated according to the current vital sign information and the data algorithm corresponding to each vital sign information.

[0027] In a second aspect, another embodiment of the present application provides a data acquisition device based on a sleep-aiding bed, which is applied to the sleep-aiding bed. The sleep-aiding bed includes: a sleep monitoring device, which is used to monitor sleep data of a designated area of ​​the sleep-aiding bed. The device includes:

[0028] An acquisition module, used for acquiring current vital sign information of the designated area monitored by the sleep monitoring device according to a preset frequency;

[0029] A generating module, used for generating current sleep data corresponding to the current vital sign information according to the current vital sign information;

[0030] A matching update module is used to match the current sleep data with the historical sleep data, determine the target user corresponding to the current sleep data, and update the current sleep data to the historical sleep data of the target user, wherein the sleep monitoring device stores historical sleep data of a preset duration and user identifiers corresponding to the historical sleep data.

[0031] In a possible implementation, the sleep monitoring device includes: a plurality of single-channel sleep monitoring units, or a multi-channel sleep monitoring unit; wherein each of the single-channel sleep monitoring units is used to monitor vital sign information of a specified area, and each subunit in the multi-channel sleep monitoring unit is used to monitor vital sign information of a specified area; the acquisition module is specifically used to:

[0032] The current vital sign information of each designated area is obtained according to the preset frequency.

[0033] In a possible implementation, the matching update module is specifically configured to:

[0034] If the current sleep data does not match the corresponding historical sleep data, it is stored as the sleep data of an unknown user;

[0035] Sending a mismatch prompt message to the terminal device;

[0036] The receiving terminal device receives the target user's feedback based on the unmatched prompt information, and updates the current sleep data to the historical sleep data of the target user.

[0037] In a possible implementation, after the matching update module, it further includes: a calibration module;

[0038] The calibration module is used for:

[0039] According to preset rules, data calibration is performed on all historical sleep data stored in the sleep monitoring device.

[0040] In a possible implementation, after the matching update module, it further includes: a reading module;

[0041] The reading module is used for:

[0042] According to the target user, reading historical sleep data corresponding to the identifier of the target user;

[0043] Generate a sleep report in a preset format according to the historical sleep data corresponding to the identifier of the target user;

[0044] Send the sleep report to the terminal device.

[0045] In a possible implementation, the method further includes: a closing module, wherein the closing module is configured to:

[0046] If no vital sign information is obtained within the preset time period, it is determined as out of bed state, and the sleep monitoring function is turned off or dormant.

[0047] In a possible implementation, the current vital sign information includes at least one of the following: weight, breathing frequency, breathing amplitude, sound, heart rate, blood oxygen, and blood pressure; the generating module is specifically used to:

[0048] The current sleep data corresponding to the current vital sign information is calculated and generated according to the current vital sign information and the data algorithm corresponding to each vital sign information.

[0049] In the third aspect, another embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.

[0050] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.

[0051] The beneficial effects of the present application are: by obtaining the current vital sign information of the designated area monitored by the sleep monitoring device according to a preset frequency, and generating current sleep data corresponding to the current vital sign information based on the current vital sign information, the current sleep data can be matched with the historical sleep data, and the target user corresponding to the current sleep data can be determined, and the current sleep data can be updated to the historical sleep data of the target user, so that the users corresponding to the sleep data of the designated area can be distinguished, so that the sleeping users in the designated area can be identified, and then the sleep data can be matched to the correct users, avoiding matching deviations and errors in the user's sleep data, thereby improving the accuracy of sleep quality monitoring of the user and improving the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 A schematic diagram of a sleep monitoring device in a sleep-aiding bed provided in an embodiment of the present application;

[0054] Figure 2 A schematic diagram of a flow chart of a method for acquiring data based on a sleep-aiding bed provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of the structure of a sleep-aiding bed provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of a process for updating current sleep data into historical sleep data of a target user in a data acquisition method based on a sleep-aiding bed provided in an embodiment of the present application;

[0057] Figure 5 A schematic diagram of an interface of a terminal device in a method for acquiring data based on a sleep-aiding bed provided in an embodiment of the present application;

[0058] Figure 6 Another schematic diagram of a flow chart of a method for acquiring data based on a sleep-aiding bed provided in an embodiment of the present application;

[0059] Figure 7A schematic diagram of a data acquisition device based on a sleep-aiding bed provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0062] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0063] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0064] In the prior art, when obtaining the sleep data of a user, if there are multiple users of the sleep-aiding bed, when the sleeping positions of the multiple users change, it is difficult to distinguish the users corresponding to the sleep data, so that the users cannot accurately know their sleep data.

[0065] Based on the above problems, an embodiment of the present application proposes a data acquisition method based on a sleep-aid bed, which is applied to a sleep-aid bed including a sleep monitoring device. The method obtains the current vital sign information of a designated area monitored by the sleep monitoring device at a preset frequency, and generates current sleep data corresponding to the current vital sign information based on the current vital sign information, so that the current sleep data can be matched with the historical sleep data, and the target user corresponding to the current sleep data can be determined. The current sleep data is updated to the historical sleep data of the target user, and the users corresponding to the sleep data of the designated area can be distinguished, so that the sleeping users in the designated area can be identified, and the sleep data can be matched to the correct users, thereby avoiding matching deviations and errors in the user's sleep data, thereby improving the accuracy of sleep quality monitoring of the user and improving the user's usage experience.

[0066] First, the sleep-aiding bed provided in the embodiment of the present application is exemplarily described.

[0067] It can be understood that the sleep-aiding bed can be an intelligent sleep-aiding bed with data acquisition, processing and communication functions, and the sleep-aiding bed at least includes an input device and a sleep monitoring device.

[0068] The sleep monitoring device is used to monitor the sleep data of the designated area of ​​the sleep-aiding bed and execute the data acquisition method based on the sleep-aiding bed provided in the embodiment of the present application. The input device can be a device for receiving user input, such as a mobile terminal, including a mobile phone or a remote control, etc., and can be a mobile application on a mobile phone. The input device and the sleep monitoring device are in communication connection.

[0069] Optionally, Figure 1 A schematic diagram of a sleep monitoring device in a sleep-aiding bed provided in an embodiment of the present application, referring to Figure 1 As shown, the sleep monitoring device may include a controller and a monitoring device.

[0070] For example, continue to refer to Figure 1 As shown, the monitoring device is used to monitor the sleep data of the designated area of ​​the sleep-aid bed. The monitoring device includes sensors or sensing devices that monitor different vital signs information, such as: a weight collection device arranged in the mattress, a sound collection device arranged near the head of the bed, a respiratory monitoring device arranged around the sleep-aid bed, an electrocardiogram monitoring device, and a blood oxygen monitoring device, etc. It can be flexibly adjusted according to specific monitoring needs and product functions, and is not limited here.

[0071] Exemplarily, the controller is used to interact with the monitoring device and the input device to execute the data acquisition method based on the sleep-aiding bed provided in the embodiment of the present application. In addition, the controller can also interact with the cloud server to realize cloud storage of sleep data.

[0072] It is understood that the settings or arrangements of the monitoring devices and controllers in the sleep monitoring device can be adjusted according to the actual application situation. Figure 1 This is just an example and the present application is not specifically limited thereto.

[0073] The data acquisition method based on the sleep-aiding bed provided in the embodiment of the present application is described in detail below in combination with multiple embodiments.

[0074] Figure 2 A flow chart of a method for acquiring data based on a sleep aid bed provided in an embodiment of the present application, referring to Figure 2 As shown, the method is applied to the above-mentioned sleep-aiding bed, and specifically, can be applied to the controller in the above-mentioned sleep monitoring device. The method includes:

[0075] S201. Acquire current vital sign information of a designated area monitored by a sleep monitoring device according to a preset frequency.

[0076] Optionally, when a user is sleeping on the sleep-aid bed, the sleep monitoring device in the sleep-aid bed can monitor the current vital sign information of the designated area continuously or at a certain frequency when it detects that a user is using the designated area of ​​the sleep-aid bed, and send the monitored current vital sign information of the designated area to the controller of the sleep monitoring device at a preset frequency.

[0077] The designated area may be an area within the monitoring range of the monitoring device of the sleep monitoring apparatus. The current vital signs information may be obtained by monitoring the weight collection device, the sound collection device, the respiratory monitoring device, the electrocardiogram monitoring device, and the blood oxygen monitoring device in the monitoring device. The current vital signs information may include weight, respiratory frequency, respiratory amplitude, sound, heart rate, blood oxygen, blood pressure heart rate, body temperature, blood oxygen saturation, and heart rate waveform data.

[0078] S202: Generate current sleep data corresponding to the current vital sign information according to the current vital sign information.

[0079] Optionally, after obtaining the current vital sign information, the controller of the sleep monitoring device may perform processing steps such as data screening, cleaning, and feature processing on the current vital sign information to generate current sleep data corresponding to the current vital sign information.

[0080] Among them, the current sleep data may include characteristic data corresponding to the current vital signs information such as weight, breathing frequency, breathing amplitude, sound, heart rate, blood oxygen, blood pressure and heart rate, body temperature, blood oxygen saturation and heart rate waveform data. For example, taking sound as an example, the current vital signs information may be a recording file of the user during sleep, and the current sleep data may be the voiceprint information corresponding to the recording file of the user during sleep. Specifically, it may include snoring characteristic data, teeth grinding characteristic data and sleep talking characteristic data, etc.

[0081] S203: Match the current sleep data with the historical sleep data, determine the target user corresponding to the current sleep data, and update the current sleep data into the historical sleep data of the target user.

[0082] It should be noted that the sleep-aiding bed in the embodiment of the present application may include one or more designated areas, and each designated area may be used to monitor the sleep data of a user. Taking a double bed as an example, there may be a designated area on each side, which is recorded as the first area and the second area. In some scenarios, if user A and user B use a double bed, under normal conditions, user A uses the first area, then the first area collects the sleep data of user A, but in some scenarios, user A may switch to the second area to sleep, or user C may use the first area one day, which may cause the output sleep data to match the user corresponding to the sleep data incorrectly, for example: record the sleep data of user A as the sleep data of user B, or record the sleep data of user C as the sleep data of user A. Then, in this embodiment, historical sleep data can be used for matching, and changes in users can be discovered in time, so as to correctly match the sleep data of the designated area to which user it belongs, so as to make the sleep data of each user more accurate in long-term monitoring.

[0083] It can be understood that the controller of the sleep monitoring device or the cloud server can store the sleep data of all users in the historical period, that is, the historical sleep data. After obtaining the current sleep data, the controller of the sleep monitoring device can match the current sleep data according to the historical sleep data, so as to determine the target user corresponding to the current sleep data. At the same time, the current sleep data can also be updated to the historical sleep data of the target user.

[0084] Optionally, after generating the current sleep data, the controller of the sleep monitoring device can obtain the historical sleep data of all users from the sleep monitoring device, and match the current sleep data with the historical sleep data, thereby determining the target user corresponding to the current sleep data and the user ID of the target user, and updating the current sleep data to the historical sleep data of the target user according to the user ID of the target user, thereby obtaining the sleep data of the target user. The sleep monitoring device stores historical sleep data of a preset duration and the user IDs corresponding to the historical sleep data.

[0085] Exemplarily, after obtaining the current sleep data, the controller of the sleep monitoring device can traverse all the historical sleep data, and use a preset algorithm to match the traversed current historical sleep data. For example, the error between the current historical sleep data and the current sleep data can be calculated. If the error between the current historical sleep data and the current sleep data is less than a preset error threshold, it can be determined that the current sleep data matches the corresponding historical sleep data. If the error between the current historical sleep data and the current sleep data is greater than the preset error threshold, it can be determined that the current sleep data does not match the traversed current historical sleep data, and the traversal can continue.

[0086] Wherein, calculating the error between the current historical sleep data and the current sleep data may be respectively calculating the error between each feature data in the current historical sleep data and each feature data in the current sleep data. If the error between each feature data in the current sleep data and each feature data in the current historical sleep data meets the preset error quantity requirement, it can be determined that the current historical sleep data matches the current sleep data. For example: taking voiceprint information as an example, the error between the snoring feature data in the current historical sleep data and the snoring feature data in the current sleep data may be respectively calculated. If the error between the snoring feature data in the current historical sleep data and the snoring feature data in the current sleep data is less than a preset snoring error threshold, it can be determined that the snoring feature data in the current historical sleep data matches the snoring feature data in the current sleep data. Wherein, the error between the snoring feature data in the current historical sleep data and the snoring feature data in the current sleep data may be determined by image matching and comparison, waveform comparison, and the like.

[0087] For example, continuing with the double bed as an example, assuming that the current sleep data is monitored in the first area, the controller of the sleep monitoring device can first match the current sleep data with the user in the first area under normal circumstances, that is, match the current sleep data with all historical sleep data of user A. If the current sleep data matches the historical sleep data of user A, it can be determined that the target user corresponding to the current sleep data is user A, and the current sleep data can be updated to the historical sleep data of user A.

[0088] In this embodiment, by acquiring the current vital sign information of the designated area monitored by the sleep monitoring device at a preset frequency, and generating current sleep data corresponding to the current vital sign information based on the current vital sign information, the current sleep data can be matched with the historical sleep data, and the target user corresponding to the current sleep data can be determined. The current sleep data is updated to the historical sleep data of the target user, and the users corresponding to the sleep data of the designated area can be distinguished, so that the sleeping users in the designated area can be identified, and the sleep data can be matched to the correct users, avoiding matching deviations and errors in the user's sleep data, thereby improving the accuracy of sleep quality monitoring for the user and improving the user's experience.

[0089] Figure 3 A schematic diagram of the structure of a sleep-aiding bed provided in an embodiment of the present application.

[0090] In one possible implementation, referring to Figure 3 As shown, the sleep monitoring device includes: a plurality of single-channel sleep monitoring units, or a multi-channel sleep monitoring unit.

[0091] Each single-channel sleep monitoring unit is used to monitor the vital sign information of a designated area, and each sub-unit in the multi-channel sleep monitoring unit is used to monitor the vital sign information of a designated area.

[0092] Specifically, the single-channel sleep monitoring unit may have an interface for connecting to the outside, and the single-channel sleep monitoring unit is connected to the input device through the interface. The multi-channel sleep monitoring unit may have multiple interfaces for connecting to the outside, and the multi-channel sleep monitoring unit is connected to the input device through multiple interfaces respectively.

[0093] Optionally, the single-channel sleep monitoring unit and the designated area monitored by the single-channel sleep monitoring unit may be configured in advance to enable monitoring of multiple designated areas by multiple single-channel sleep monitoring units.

[0094] Exemplarily, the single-channel sleep monitoring unit can be the above-mentioned monitoring device. Taking a double bed as an example, continue to refer to Figure 3 As shown, two single-channel sleep monitoring units may be provided in the sleep monitoring device, the first single-channel sleep monitoring unit is used to monitor the first area, and the second single-channel sleep monitoring unit is used to monitor the second area.

[0095] Optionally, the multiple designated areas monitored by each sub-unit in the multi-channel sleep monitoring unit may be pre-configured respectively, so as to realize monitoring of the multiple designated areas by one multi-channel sleep monitoring unit.

[0096] Exemplarily, the multi-channel sleep monitoring unit may include a plurality of the above-mentioned monitoring devices, and each monitoring device may be used to monitor a plurality of designated areas.

[0097] In a possible implementation, when obtaining the current vital sign information of the designated area monitored by the sleep monitoring device according to the preset frequency in the above step S201, it includes:

[0098] The current vital sign information of each designated area is obtained according to the preset frequency.

[0099] Optionally, multiple single-channel sleep monitoring units or a multi-channel sleep monitoring unit can continuously or at a certain frequency monitor the current vital signs information of the designated area when it detects that a user is using the corresponding designated area of ​​the sleep-aid bed, and send the monitored current vital signs information of the designated area to the controller of the sleep monitoring device at a preset frequency.

[0100] For example, taking a double bed as an example, continue to refer to Figure 3 As shown, when a user uses the first area, the first single-channel sleep monitoring unit continuously or at a certain frequency monitors the current vital sign information of the first area, and sends the monitored current vital sign information of the first area to the controller of the sleep monitoring device at a preset frequency.

[0101] By monitoring the vital signs information of multiple designated areas through multiple single-channel sleep monitoring units, or a multi-channel sleep monitoring unit, and obtaining the current vital signs information of each designated area according to a preset frequency, the comprehensiveness and accuracy of monitoring the user's vital signs information can be improved, which helps to improve the accuracy of monitoring the user's sleep quality and improves the user experience.

[0102] Figure 4 A schematic diagram of a flow chart of updating current sleep data into historical sleep data of a target user in a data acquisition method based on a sleep-aiding bed provided in an embodiment of the present application.

[0103] In one possible implementation, referring to Figure 4 As shown, in the above step S203, the current sleep data is matched with the historical sleep data, the target user corresponding to the current sleep data is determined, and the current sleep data is updated to the historical sleep data of the target user, including:

[0104] S401: If the current sleep data does not match the corresponding historical sleep data, it is stored as sleep data of an unknown user.

[0105] Optionally, after obtaining the current sleep data, the controller of the sleep monitoring device matches all historical sleep data with the current sleep data. Specifically, it can traverse the historical sleep data, and for the traversed current historical sleep data, calculate the error between the current historical sleep data and the current sleep data. If the error between the current historical sleep data and the current sleep data is greater than a preset error threshold, it can be determined that the current sleep data does not match the traversed current historical sleep data, and the traversal can continue.

[0106] Specifically, all historical sleep data can be understood as all historical sleep data stored in the sleep monitoring device, wherein the historical sleep data can be stored in the original data form of the acquired sleep data, or in the form of feature data after feature processing corresponding to the acquired sleep data. When the controller matches all historical sleep data with the current sleep data, it can match the historical sleep data with the current sleep data, or it can match the feature data corresponding to the historical sleep data with the feature data corresponding to the current sleep data. The present application does not impose any restrictions on this.

[0107] Optionally, after all historical sleep data are traversed, if the current sleep data does not match the corresponding historical sleep data, it can be determined that the user corresponding to the current sleep data is an unknown user, and the current sleep data can be stored as sleep data of an unknown user.

[0108] For example, continuing with the double bed as an example, assuming that the current sleep data is monitored in the first area, the controller of the sleep monitoring device can first match the current sleep data with the user in the first area under normal circumstances, that is, match the current sleep data with all historical sleep data of user C. If the current sleep data cannot be matched with all historical sleep data of user C, the current sleep data can be matched with the historical sleep data of all other users. If the current sleep data cannot be matched with the historical sleep data of all other users, it can be determined that the user corresponding to the current sleep data is an unknown user, and the current sleep data can be stored as sleep data of the unknown user.

[0109] S402: Send a mismatch prompt message to the terminal device.

[0110] Optionally, when determining that the current sleep data is sleep data of an unknown user, the controller of the sleep monitoring device may send a non-matching prompt message to the terminal device, wherein the terminal device may be the above-mentioned input device, for example, a mobile application on a mobile phone. The non-matching prompt message is exemplarily used to prompt the user to identify the unknown user.

[0111] For example, Figure 5This is a schematic diagram of an interface of a terminal device in the data acquisition method based on the sleep aid bed provided in an embodiment of the present application, referring to Figure 5 As shown, the controller of the sleep monitoring device can send a mismatch prompt message to the terminal device, so that the user can edit the unknown user corresponding to the current sleep data.

[0112] Exemplarily, continuing with the double bed as an example, the user can edit the unknown user corresponding to the current sleep data in the terminal device. For example, when user C uses the sleep-aid bed for the first time, the terminal device receives the unmatched prompt message and confirms that the data belongs to user C. Then, the identification of user C, such as name or nickname, is entered to mark user C as the user corresponding to the current sleep data, and the data is fed back to the sleep monitoring device.

[0113] S403: receiving the target user fed back by the terminal device according to the unmatched prompt information, and updating the current sleep data into the historical sleep data of the target user.

[0114] Optionally, the user can edit the user information of the unknown user on the terminal device, so that the terminal device can send the target user edited by the user to the controller of the sleep monitoring device.

[0115] Optionally, after receiving the target user's feedback from the terminal device based on the unmatched prompt information, the controller of the sleep monitoring device may update the current sleep data to the historical sleep data of the target user for storage.

[0116] For example, continuing with the double bed as an example, after receiving the identification of user C as the target user fed back by the terminal device based on the unmatched prompt information, the controller of the sleep monitoring device can record user C as a new user and update the current sleep data to the historical sleep data of user C for storage.

[0117] Of course, there are also cases where the user's vital signs may have changed due to illness, exercise, etc. For example, user A's weight changes significantly due to special reasons, resulting in failure to match user A's historical data and thus being identified as data of an unknown user. After receiving the unmatched prompt message, the user can also edit the current sleep data as user A's sleep data for storage according to the reminder.

[0118] By storing the current sleep data as the sleep data of an unknown user when the current sleep data does not match the corresponding historical sleep data, the loss or overwriting of the sleep data can be avoided, thereby protecting the integrity of the sleep data. By sending an unmatched prompt message to the terminal device and receiving the target user's feedback based on the unmatched prompt message from the terminal device, and updating the current sleep data to the historical sleep data of the target user, the user can be promptly informed of the situation where the current sleep data is not matched, and the user can be promptly reminded to update the information or add a new user, thereby improving the user's experience and improving the flexibility and accuracy of the sleep data acquisition process.

[0119] In a possible implementation, after matching the current sleep data with the historical sleep data in the above step S203 and determining the target user corresponding to the current sleep data, the data acquisition method based on the sleep aid bed provided in the embodiment of the present application further includes:

[0120] According to preset rules, all historical sleep data stored in the sleep monitoring device are calibrated.

[0121] It can be understood that historical sleep data is used to match current sleep data. In order to improve the accuracy of matching user sleep data, the historical sleep data stored in the sleep monitoring device can be calibrated to remove any unreasonable sleep data that may exist in the history stored in the sleep monitoring device.

[0122] Optionally, all historical sleep data stored in the sleep monitoring device can be calibrated according to preset data cleaning and calibration rules in combination with preset parameter thresholds, thereby ensuring the accuracy of the historical sleep data, helping to improve the accuracy of sleep quality monitoring for users, and improving the user experience.

[0123] Optionally, data feature calibration processing can be performed on the feature data corresponding to all historical sleep data stored in the sleep monitoring device according to preset data cleaning and calibration rules and combined with preset parameter thresholds, thereby ensuring the accuracy of the historical sleep data, helping to improve the accuracy of sleep quality monitoring of users, and improving the user experience.

[0124] Figure 6 Another flowchart of the data acquisition method based on the sleep-aiding bed provided in an embodiment of the present application.

[0125] In one possible implementation, referring to Figure 6As shown, after matching the current sleep data with the historical sleep data in the above step S203, determining the target user corresponding to the current sleep data, and updating the current sleep data to the historical sleep data of the target user, the data acquisition method based on the sleep aid bed provided in the embodiment of the present application further includes:

[0126] S601 : Read historical sleep data corresponding to an identifier of a target user according to the target user.

[0127] Optionally, after updating the current sleep data to the historical sleep data of the target user, the controller of the sleep monitoring device may read all historical sleep data corresponding to the identifier of the target user in the controller of the sleep monitoring device or the cloud server or the sleep monitoring device.

[0128] For example, assuming that user A wants to view his / her historical sleep data, the controller of the sleep monitoring device may read all historical sleep data corresponding to user A.

[0129] S602: Generate a sleep report in a preset format according to the historical sleep data corresponding to the identifier of the target user.

[0130] Optionally, after reading all historical sleep data corresponding to the identification of the target user, the controller of the sleep monitoring device may generate a sleep report in a preset format according to all historical sleep data corresponding to the identification of the target user.

[0131] Exemplarily, the controller of the sleep monitoring device may generate a sleep report of user A in a preset format after reading all historical sleep data corresponding to user A.

[0132] S603: Send a sleep report to the terminal device.

[0133] Optionally, after generating a sleep report in a preset format, the controller of the sleep monitoring device may send the sleep report to a terminal device so that the user can view the sleep status.

[0134] Through the target user, the historical sleep data corresponding to the target user's identification is read, and a sleep report in a preset format is generated based on the historical sleep data corresponding to the target user's identification, and the sleep report is sent to the terminal device. This can provide the user with personalized sleep suggestions, ensure the user's health, and at the same time, enhance the user experience.

[0135] In a possible implementation, the data acquisition method based on the sleep-aiding bed provided in the embodiment of the present application further includes:

[0136] If no vital sign information is obtained within the preset time period, it is determined as out of bed state, and the sleep monitoring function is turned off or dormant.

[0137] Optionally, the controller of the sleep monitoring device can determine the time of obtaining the current vital sign information and the interval between multiple current vital sign information. If no vital sign information is obtained within a first preset time period, it is determined to be an out-of-bed state, and the controller of the sleep monitoring device turns off or hibernates the sleep monitoring function.

[0138] Optionally, the controller of the sleep monitoring device can continue to monitor through the sleep monitoring device after determining that the user is out of bed. If no vital sign information is obtained within a second preset time period, it is determined to be an alarm state. The controller of the sleep monitoring device can send an alarm message to the terminal device to enable the user's safety to be determined, thereby enhancing the user experience and avoiding the occurrence of emergencies.

[0139] Optionally, it can be determined by some of the vital signs information, such as confirming whether there is someone in the designated area by weight or pressure. Of course, in order to avoid errors, for example, sometimes the user may place heavy objects or pets, etc., it can also be combined with other vital signs information to determine whether the designated area needs to be monitored.

[0140] In addition, taking a double bed as an example, for a sleep-aid bed that includes multiple designated areas, if after turning on sleep monitoring, it is detected that there is someone only in the first area, then the monitoring of the second area can be turned off to save energy.

[0141] Optionally, the controller of the sleep monitoring device can also judge the current vital signs information received in combination with a preset human vital signs range. If the current vital signs information received is significantly different from the preset human vital signs range, it can be determined as non-human sleep data, and the current vital signs information can be deleted as abnormal data.

[0142] Optionally, the controller of the sleep monitoring device can also judge the current vital signs information received in combination with a preset animal vital signs range. If the current vital signs information received is slightly different from the preset animal vital signs range, it can be determined as animal data and the current vital signs information can be stored as animal data.

[0143] In a possible implementation, the current vital sign information includes at least one of the following: weight, breathing frequency, breathing amplitude, sound, heart rate, blood oxygen, and blood pressure. In the above step S202, when generating the current sleep data corresponding to the current vital sign information according to the current vital sign information, it includes:

[0144] According to the current vital sign information and the data algorithm corresponding to each vital sign information, the current sleep data corresponding to the current vital sign information is calculated and generated.

[0145] Optionally, data processing may be performed on the current vital sign information according to a data algorithm corresponding to each vital sign information to calculate and obtain current sleep data corresponding to the current vital sign information.

[0146] Exemplarily, the data algorithms corresponding to each vital sign information may include a heart rate algorithm, a breathing algorithm, and a snoring algorithm.

[0147] For example, the interference data other than the heart rate waveform can be filtered out by the mean filter in the heart rate algorithm, and then the heart rate characteristic values ​​can be retained through algorithms such as peak detection, and the heart rate characteristic values ​​can be added to the current sleep data corresponding to the current vital sign information.

[0148] Exemplarily, the respiratory receiving sensor in the respiratory algorithm can receive characteristic respiratory data: respiratory frequency and respiratory amplitude, and the interference data can be filtered out through the filter equipped in the hardware device, and the retained respiratory characteristic data can be added to the current sleep data corresponding to the current vital sign information.

[0149] For example, the received snoring sound may retain data on characteristics such as the frequency of the snoring sound, the volume of the snoring sound, and the regularity of the sound, and add the data to the current sleep data corresponding to the current vital sign information.

[0150] By using the current vital signs information and the data algorithms corresponding to each vital signs information, the current sleep data corresponding to the current vital signs information is calculated and generated, which can provide users with more accurate current sleep data, thereby improving the accuracy of sleep quality monitoring of users and improving the user experience.

[0151] Based on the same inventive concept, the embodiment of the present application also provides a data acquisition device based on a sleep-aid bed corresponding to the data acquisition method based on a sleep-aid bed. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned data acquisition method based on the sleep-aid bed in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0152] Figure 7 A schematic diagram of a data acquisition device based on a sleep-aiding bed provided in an embodiment of the present application, referring to Figure 7 As shown, the device is applied to a sleep-aiding bed, which includes: a sleep monitoring device, which is used to monitor sleep data of a designated area of ​​the sleep-aiding bed, and the device includes: an acquisition module 701, a generation module 702, and a matching update module 703;

[0153] An acquisition module 701 is used to acquire current vital sign information of a designated area monitored by a sleep monitoring device according to a preset frequency;

[0154] A generating module 702, for generating current sleep data corresponding to the current vital sign information according to the current vital sign information;

[0155] The matching update module 703 is used to match the current sleep data with the historical sleep data, determine the target user corresponding to the current sleep data, and update the current sleep data to the historical sleep data of the target user, wherein the sleep monitoring device stores historical sleep data of a preset duration and user identifiers corresponding to the historical sleep data.

[0156] In a possible implementation, the sleep monitoring device includes: a plurality of single-channel sleep monitoring units, or a multi-channel sleep monitoring unit; wherein each single-channel sleep monitoring unit is used to monitor vital sign information of a specified area, and each subunit in the multi-channel sleep monitoring unit is used to monitor vital sign information of a specified area; an acquisition module 701 is specifically used to:

[0157] The current vital sign information of each designated area is obtained according to the preset frequency.

[0158] In a possible implementation, the matching update module 703 is specifically configured to:

[0159] If the current sleep data does not match the corresponding historical sleep data, it is stored as the sleep data of an unknown user;

[0160] Sending a mismatch prompt message to the terminal device;

[0161] The receiving terminal device receives the target user's feedback based on the unmatched prompt information, and updates the current sleep data to the target user's historical sleep data.

[0162] In a possible implementation, after the matching update module 703, a calibration module is further included; the calibration module is used to:

[0163] According to preset rules, all historical sleep data stored in the sleep monitoring device are calibrated.

[0164] In a possible implementation, after the matching update module 703, a reading module is further included; the reading module is used to:

[0165] According to the target user, read the historical sleep data corresponding to the identifier of the target user;

[0166] Generate a sleep report in a preset format according to the historical sleep data corresponding to the target user's identification;

[0167] Send a sleep report to the terminal device.

[0168] In a possible implementation, the method further includes: a closing module, wherein the closing module is used to:

[0169] If no vital sign information is obtained within the preset time period, it is determined as out of bed state, and the sleep monitoring function is turned off or dormant.

[0170] In a possible implementation, the current vital sign information includes at least one of the following: weight, breathing frequency, breathing amplitude, sound, heart rate, blood oxygen, and blood pressure; the generating module 702 is specifically used to:

[0171] According to the current vital sign information and the data algorithm corresponding to each vital sign information, the current sleep data corresponding to the current vital sign information is calculated and generated.

[0172] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0173] The present application also provides an electronic device, such as Figure 8 As shown, Figure 8 The structural diagram of the electronic device provided in the embodiment of the present application includes: a processor 801, a memory 802, and optionally, a bus 803. The memory 802 stores machine-readable instructions executable by the processor 801 (for example, Figure 7 In the device, the acquisition module 701, the generation module 702, the matching update module 703 and other execution instructions correspond to the execution instructions, when the electronic device 800 is running, the processor 801 communicates with the memory 802 through the bus 803, and when the machine-readable instructions are executed by the processor 801, the steps of the data acquisition method based on the sleep-aid bed are performed.

[0174] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned data acquisition method based on the sleep-aiding bed are executed.

[0175] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0176] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or part of the technical solution that contributes to the prior art or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0177] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.

Claims

1. A data acquisition method based on a sleep-aiding bed, characterized in that: Applied to a sleep-aiding bed, the sleep-aiding bed comprises: a sleep monitoring device, the sleep monitoring device is used to monitor the sleep data of a designated area of ​​the sleep-aiding bed, the method comprises: Acquiring current vital sign information of the designated area monitored by the sleep monitoring device according to a preset frequency; generating current sleep data corresponding to the current vital sign information according to the current vital sign information; The current sleep data is matched with the historical sleep data to determine the target user corresponding to the current sleep data, and the current sleep data is updated to the historical sleep data of the target user, wherein the sleep monitoring device stores historical sleep data of a preset duration and user identifiers corresponding to the historical sleep data.

2. The data acquisition method based on the sleep-aiding bed according to claim 1, characterized in that: The sleep monitoring device comprises: a plurality of single-channel sleep monitoring units, or a multi-channel sleep monitoring unit; wherein each of the single-channel sleep monitoring units is used to monitor vital sign information of a designated area, and each subunit in the multi-channel sleep monitoring unit is used to monitor vital sign information of a designated area; The obtaining, at a preset frequency, current vital sign information of the designated area monitored by the sleep monitoring device includes: The current vital sign information of each designated area is obtained according to the preset frequency.

3. The data acquisition method based on the sleep-aiding bed according to claim 1, characterized in that: The matching of the current sleep data with the historical sleep data, determining a target user corresponding to the current sleep data, and updating the current sleep data to the historical sleep data of the target user includes: If the current sleep data does not match the corresponding historical sleep data, it is stored as the sleep data of an unknown user; Sending a mismatch prompt message to the terminal device; The receiving terminal device receives the target user's feedback based on the unmatched prompt information, and updates the current sleep data to the historical sleep data of the target user.

4. The data acquisition method based on the sleep-aiding bed according to claim 1, characterized in that: After matching the current sleep data with the historical sleep data to determine the target user corresponding to the current sleep data, the method further includes: According to preset rules, data calibration is performed on all historical sleep data stored in the sleep monitoring device.

5. The data acquisition method based on the sleep-aiding bed according to claim 1, characterized in that: After matching the current sleep data with the historical sleep data, determining the target user corresponding to the current sleep data, and updating the current sleep data to the historical sleep data of the target user, the method includes: According to the target user, reading historical sleep data corresponding to the identifier of the target user; Generate a sleep report in a preset format according to the historical sleep data corresponding to the identifier of the target user; Send the sleep report to the terminal device.

6. The data acquisition method based on the sleep-aiding bed according to claim 1, characterized in that: Also includes: If no vital sign information is obtained within the preset time period, it is determined as out of bed state, and the sleep monitoring function is turned off or dormant.

7. The data acquisition method based on the sleep-aiding bed according to claim 1, characterized in that: The current vital sign information includes at least one of the following: weight, breathing rate, breathing amplitude, sound, heart rate, blood oxygen, and blood pressure; The step of generating current sleep data corresponding to the current vital sign information according to the current vital sign information includes: The current sleep data corresponding to the current vital sign information is calculated and generated according to the current vital sign information and the data algorithm corresponding to each vital sign information.

8. A data acquisition device based on a sleep-aiding bed, characterized in that: Applied to a sleep-aiding bed, the sleep-aiding bed comprises: a sleep monitoring device, the sleep monitoring device is used to monitor the sleep data of a designated area of ​​the sleep-aiding bed, the device comprises: An acquisition module, used for acquiring current vital sign information of the designated area monitored by the sleep monitoring device according to a preset frequency; A generating module, used for generating current sleep data corresponding to the current vital sign information according to the current vital sign information; A matching update module is used to match the current sleep data with the historical sleep data, determine the target user corresponding to the current sleep data, and update the current sleep data to the historical sleep data of the target user, wherein the sleep monitoring device stores historical sleep data of a preset duration and user identifiers corresponding to the historical sleep data.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to perform the steps of the data acquisition method based on the sleep-aiding bed as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data acquisition method based on the sleep-aiding bed as claimed in any one of claims 1 to 7 are executed.

Citation Information

Cited By

  • Intelligent bed sleep data tracing method and system

    CN120893005A