A control method and device of an intelligent bed, an electronic device, and a storage medium
By matching and comparing user and owner data of smart beds, unauthorized use can be identified and alerts can be issued, solving the problem that smart beds cannot identify unauthorized use and protecting the health and privacy of bed owners.
Patent Information
- Application Number
- CN202211643527.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2042-12-20
AI Technical Summary
Existing smart beds cannot effectively identify and prevent unauthorized use, affecting the health and privacy of bed users.
By acquiring user and owner data for smart beds, including voiceprints, height, and sleeping posture characteristics, a matching comparison is performed. If a mismatch is found, a reminder strategy is implemented, such as sending a prompt message or adjusting the bed's tilt angle.
It enables timely identification and alerts for unauthorized use of smart beds, protecting the health and privacy of bed owners.
Smart Images

Figure CN116055914B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and particularly relates to a control method and device of intelligent bed, electronic equipment and storage medium. BACKGROUND
[0002] The intelligent bed is a bed with intelligent function, which is a bed controlled and intervened by big data and sensors. The intelligent bed is a product emerging in response to the trend of smart home.
[0003] Due to personal health, living habits and personal privacy, some users may hope that the bed is only used by the bed owner. If the bed is used by others, it may affect the physical and mental health of the bed owner and bring inconvenience to the user. SUMMARY
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a control method and device of intelligent bed, electronic equipment and storage medium.
[0005] In a first aspect, the present application provides a control method of intelligent bed, comprising:
[0006] obtaining user data from a user of the intelligent bed, wherein the user data comprises user characteristics of a current user of the intelligent bed;
[0007] obtaining owner data corresponding to the intelligent bed, wherein the owner data comprises user characteristics of an owner of the intelligent bed;
[0008] determining whether the current user is the owner of the intelligent bed according to the user characteristics in the user data and the user characteristics in the owner data;
[0009] if the current user is not the owner of the intelligent bed, executing a first reminding strategy.
[0010] Optionally, determining whether the current user is the owner of the intelligent bed according to the user characteristics in the user data and the user characteristics in the owner data comprises:
[0011] extracting first voiceprint data and first sleep posture data from the user data, and determining first height data of the current user according to the first sleep posture data;
[0012] extracting second voiceprint data and a plurality of second sleep posture data from the owner data, and determining second height data of the owner according to the second sleep posture data;
[0013] determining whether the first voiceprint data matches the second voiceprint data, determining whether the first height data matches the second height data, and determining whether the first sleep posture data matches any of the second sleep posture data;
[0014] if the first voiceprint data matches the second voiceprint data, if the first height data matches the second height data, and if the first sleep posture data matches any of the second sleep posture data, determining that the current user is the owner of the smart bed.
[0015] Optionally, the determining whether the first voiceprint data matches the second voiceprint data comprises:
[0016] extracting first voiceprint features from the first voiceprint data;
[0017] extracting second voiceprint features from the second voiceprint data;
[0018] comparing the first voiceprint features with the second voiceprint features;
[0019] if a similarity between the first voiceprint features and the second voiceprint features is greater than a first preset threshold, determining that the first voiceprint data matches the second voiceprint data.
[0020] Optionally, the determining whether the first voiceprint data matches the second voiceprint data comprises:
[0021] determining, based on the first voiceprint data, a first breathing frequency of the current user within a first preset time length;
[0022] determining, based on the second voiceprint data, a second breathing frequency of the owner within the first preset time length;
[0023] if a deviation value between the first breathing frequency and the second breathing frequency is less than a second preset threshold, determining that the first voiceprint data matches the second voiceprint data.
[0024] Optionally,
[0025] the determining whether the first sleep posture data matches any of the second sleep posture data comprises:
[0026] determining, based on the first sleep posture data, a first sleep posture of the user;
[0027] determining, based on each of the second sleep posture data, a plurality of second sleep postures;
[0028] if a similarity between the first sleep posture and any of the second sleep postures is greater than a third preset threshold, determining that the first sleep posture data matches any of the second sleep posture data.
[0029] Optionally, determining whether the first altitude data matches the second altitude data includes:
[0030] Compare the first altitude data with the second altitude data;
[0031] If the difference between the first altitude data and the second altitude data is less than a preset fourth threshold, it is determined that the first altitude data and the second altitude data match.
[0032] Optionally, determining whether the current user is the owner of the smart bed based on user characteristics in the user data and user characteristics in the owner data further includes:
[0033] If the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data; or, the first height data does not match the second height data, and the first sleeping posture data does not match any of the second sleeping posture data; or, the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data, the probability of determining that the current user is the owner of the smart bed is low.
[0034] If the first voiceprint data does not match the second voiceprint data, or the first height data does not match the second height data, or the first sleeping posture data does not match any of the second sleeping posture data, the probability of determining that the current user is the owner of the smart bed is medium.
[0035] Secondly, this application provides a control device for a smart bed, comprising:
[0036] The first acquisition module is used to acquire user data from the smart bed, the user data including the user characteristics of the current user of the smart bed;
[0037] The second acquisition module is used to acquire owner data corresponding to the smart bed, wherein the owner data includes user characteristics of the owner of the smart bed;
[0038] The determination module is used to determine whether the current user is the owner of the smart bed based on the user characteristics in the user data and the user characteristics in the owner data;
[0039] The execution module is used to execute a first reminder strategy if the current user is not the owner of the smart bed.
[0040] Optionally, the determining module comprises:
[0041] a first extracting unit configured to extract first voiceprint data and first sleep posture data from the user data, and determine first height data of the current user according to the first sleep posture data;
[0042] a second extracting unit configured to extract second voiceprint data and a plurality of second sleep posture data from the owner data, and determine second height data of the owner according to the second sleep posture data;
[0043] a first determining unit configured to determine whether the first voiceprint data matches the second voiceprint data, whether the first height data matches the second height data, and whether the first sleep posture data matches any of the second sleep posture data;
[0044] a second determining unit configured to determine that the current user is the owner of the smart bed if the first voiceprint data matches the second voiceprint data, if the first height data matches the second height data, and if the first sleep posture data matches any of the second sleep posture data.
[0045] Optionally, the first determining unit is further configured to:
[0046] extract first voiceprint features from the first voiceprint data;
[0047] extract second voiceprint features from the second voiceprint data;
[0048] compare the first voiceprint features with the second voiceprint features;
[0049] if a similarity between the first voiceprint features and the second voiceprint features is greater than a preset first threshold, determine that the first voiceprint data matches the second voiceprint data.
[0050] Optionally, the first determining unit is further configured to:
[0051] determine a first breathing frequency of the current user within a first preset time length based on the first voiceprint data;
[0052] determine a second breathing frequency of the owner within the first preset time length based on the second voiceprint data;
[0053] if a deviation between the first breathing frequency and the second breathing frequency is less than a preset second threshold, determine that the first voiceprint data matches the second voiceprint data.
[0054] Optionally, the first determining unit is further configured to:
[0055] determine a first sleep posture of the user based on the first sleep position data;
[0056] determine a plurality of second sleep postures based on the second sleep position data respectively;
[0057] if the similarity between the first sleep posture and any of the second sleep postures is greater than a preset third threshold, determine that the first sleep position data matches any of the second sleep position data.
[0058] Optionally, the first determining unit is further configured to:
[0059] compare the first height data with the second height data;
[0060] if the difference between the first height data and the second height data is less than a preset fourth threshold, determine that the first height data matches the second height data.
[0061] Optionally, the determining module further comprises:
[0062] a third determining unit, configured to, if two groups of the first voiceprint data and the second voiceprint data, the first height data and the second height data, and the first sleep position data and any of the second sleep position data are not matched, determine that the probability that the current user is the owner of the smart bed is low;
[0063] a fourth determining unit, configured to, if one group of the first voiceprint data and the second voiceprint data, the first height data and the second height data, and the first sleep position data and any of the second sleep position data is not matched, determine that the probability that the current user is the owner of the smart bed is medium.
[0064] In a third aspect, the present application provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
[0065] the memory is used for storing a computer program;
[0066] the processor is used for executing the program stored on the memory, and realizes the control method of the smart bed in any of the first aspect.
[0067] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores the program of the control method of the smart bed, and the program of the control method of the smart bed is executed by the processor to realize the steps of the control method of the smart bed in any of the first aspect.
[0068] The above technical solutions provided by the embodiments of the present application have the following advantages compared with the prior art.
[0069] The embodiments of the present application can determine whether the current user is the owner of the smart bed based on the user data of the current user and the owner data of the owner, and then execute the first reminding strategy, so that the bed owner can discover the situation that the smart bed is illegally used in time, and the user can use conveniently. BRIEF DESCRIPTION OF DRAWINGS
[0070] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application together with the specification.
[0071] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or the prior art description will be briefly introduced as follows. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative labor.
[0072] Figure 1 A flow chart of a control method of a smart bed provided by the embodiments of the present application;
[0073] Figure 2 A structural diagram of a control device of a smart bed provided by the embodiments of the present application;
[0074] Figure 3 A structural diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0075] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.
[0076] Due to the needs of personal health, living habits and personal privacy, some users may want the bed to be used only by the bed owner. If the bed is used by others, it may affect the physical and mental health of the bed owner and bring inconvenience to the user. Therefore, the embodiments of the present application provide a control method and device of a smart bed, an electronic device and a storage medium.
[0077] In the embodiments of the present application, the control method of the intelligent bed can be applied to a server, the server can be in communication connection with the intelligent bed, the intelligent bed can refer to an intelligent mattress, an intelligent blanket, an intelligent mattress pad, or an intelligent bed body and the like for use when a person sleeps, the intelligent bed is provided with a plurality of detection devices, such as a sound pickup, a sleep posture monitoring device, and an ultrasonic measuring device and the like, wherein the sleep posture monitoring device can detect the sleep posture by detecting the pressure applied by the human body to the intelligent bed, or can detect the sleep posture by detecting the infrared image contour of the human body, and the like, Figure 1 A flowchart of a control method of an intelligent bed provided in the embodiments of the present application is shown in Figure 1 The control method of the intelligent bed can include the following steps:
[0078] Step S101, obtaining user data from a user of the intelligent bed;
[0079] In the embodiments of the present application, when the intelligent bed is detected to be used, the plurality of detection devices in the intelligent bed can be automatically started, so that the plurality of detection devices respectively collect user data of the current user from different dimensions, the current user can be the owner (i.e. the bed owner) himself, or can not be the owner (i.e. the bed owner) himself, the user data includes user characteristics of the current user of the intelligent bed, for example, the user characteristics of the current user can include voiceprint characteristics, height characteristics, and sleep posture characteristics and the like, in addition to the data collected during the sleep of the user, the data collected during the non-sleep period is also included, so as to more accurately judge the personal habits of the user.
[0080] After the intelligent bed collects the user data, the user data can be uploaded to the server, so that the server compares the user data of the current user with the owner data of the owner (i.e. the bed owner) of the intelligent bed.
[0081] Step S102, obtaining owner data corresponding to the intelligent bed;
[0082] In the embodiments of the present application, the user can configure the time period when the owner (i.e. the bed owner) uses the intelligent bed in advance through an APP or the like, and then the data of multiple dimensions collected by the plurality of detection devices in the time period is taken as the owner data, the owner data includes user characteristics of the owner of the intelligent bed, the user characteristics of the owner can include voiceprint characteristics, height characteristics, and sleep posture characteristics and the like, in addition to the data collected during the sleep of the user, the data collected during the non-sleep period is also included, so as to more accurately judge the personal habits of the user.
[0083] After the smart bed collects the owner data, the smart bed can upload the owner data to a server, so that the server compares the owner data of the owner of the smart bed with the user data of each user who uses the smart bed subsequently.
[0084] In step S103, whether the current user is the owner of the smart bed is determined according to the user feature in the user data and the user feature in the owner data.
[0085] In this step, the user data of the current user can be matched with the owner data of the owner of the smart bed (i.e. the bed master), if the matching is successful, it can be determined that the current user is the owner of the smart bed, if the matching fails, it is determined that the current user is not the owner of the smart bed.
[0086] In step S104, if the current user is not the owner of the smart bed, a first reminding strategy is executed.
[0087] When the current user is not the owner of the smart bed, in order to timely inform the owner of the smart bed, a prompt message can be sent to the corresponding user terminal, or the smart bed can be controlled to adjust the inclination angle so as to make the current user leave the smart bed.
[0088] In an embodiment of the present application, step S104 executes the first reminding strategy, which includes:
[0089] A prompt message is sent to the user terminal corresponding to the smart bed, the prompt message is used to indicate that the current user of the smart bed is different from the owner of the smart bed, the prompt message can be pushed by APP, or pushed by short message, etc. After receiving the prompt message, the bed master can timely know that there is a person with unknown identity sleeping on the smart bed;
[0090] In another embodiment of the present application, in addition to executing the first reminding strategy, the inclination angle of the smart bed can also be controlled to be adjusted so that the adjusted inclination angle of the smart bed is outside the reference inclination angle range, the reference inclination angle range is determined according to the use habits of a plurality of users, when the smart bed is a smart bed body or a smart mattress, the inclination angle of the smart bed can be adjusted so as to prompt the current user to leave the smart bed product.
[0091] The embodiment of the present application can determine whether the current user is the owner of the smart bed based on the user data of the current user and the owner data of the owner, and then execute the first reminding strategy, so that the bed master can timely find that the smart bed is used illegally, and facilitate the user to use.
[0092] In yet another embodiment of the present application, step S103 determines whether the current user is the owner of the smart bed based on the user features in the user data and the user features in the owner data, comprising:
[0093] Step S201 extracts first voiceprint data and first sleep posture data from the user data, and determines first height data of the current user based on the first sleep posture data;
[0094] In this step, different dimensions of user features can be split to obtain the first voiceprint data and the first sleep posture data. The first height data can refer to the overall height of the current user in the case corresponding to the first sleep posture data. For example, a person with a height of 180 cm has a first height data of 160 in the case corresponding to A sleep posture data, and a first height data of 170 in the case corresponding to B sleep posture data.
[0095] Step S202 extracts second voiceprint data and a plurality of second sleep posture data from the owner data, and determines second height data of the owner based on the second sleep posture data;
[0096] In the embodiments of the present application, the overall height of the owner in the case corresponding to different sleep posture data can be pre-collected, and then the second height data corresponding to each second sleep posture data can be established.
[0097] Step S203 determines whether the first voiceprint data matches the second voiceprint data, whether the first height data matches the second height data, and whether the first sleep posture data matches any of the second sleep posture data;
[0098] In one embodiment of the present application, determining whether the first voiceprint data matches the second voiceprint data comprises:
[0099] extracting first voiceprint features from the first voiceprint data, extracting second voiceprint features from the second voiceprint data, comparing the first voiceprint features with the second voiceprint features, and determining that the first voiceprint data matches the second voiceprint data if the similarity between the first voiceprint features and the second voiceprint features is greater than a preset first threshold.
[0100] The embodiments of the present application can directly compare the voiceprint features. If the similarity between the two voiceprint features is high, it can be determined that the two voiceprint data match.
[0101] In one embodiment of the present application, determining whether the first voiceprint data matches the second voiceprint data comprises:
[0102] determine a first breathing frequency of the current user within a first preset time length based on the first voiceprint data; determine a second breathing frequency of the owner within the first preset time length based on the second voiceprint data; and determine that the first voiceprint data and the second voiceprint data match if a deviation value between the first breathing frequency and the second breathing frequency is less than a preset second threshold value.
[0103] Since the sound of breathing of each person is different during the process of inhaling and exhaling, and thus the voiceprint features during the process of inhaling and exhaling are different, the breathing frequency can be determined according to the voiceprint data, and whether the voiceprint data matches can be determined according to the difference of the breathing frequency, which can reduce the amount of calculation and save system resources.
[0104] In another embodiment of the present application, determining whether the first sleep posture data matches any of the second sleep posture data comprises:
[0105] determining a first sleep posture of the user based on the first sleep posture data; determining a plurality of second sleep postures based on the second sleep posture data respectively; and determining that the first sleep posture data matches any of the second sleep posture data if a similarity between the first sleep posture and any of the second sleep postures is greater than a preset third threshold value.
[0106] Since each person has a relatively habitual sleep posture, the sleep posture of the current user can be compared with the plurality of sleep postures of the owner in the embodiments of the present application, and if the similarity with any of the sleep postures is high, it can be determined that the sleep posture data of the two matches.
[0107] In another embodiment of the present application, determining whether the first height data matches the second height data comprises:
[0108] comparing the first height data with the second height data; and determining that the first height data matches the second height data if a difference between the first height data and the second height data is less than a preset fourth threshold value.
[0109] The embodiments of the present application determine whether the height data of the two matches by calculating the difference between the first height data and the second height data, and if the difference is less than the preset fourth threshold value, it can be determined that the height data of the two matches.
[0110] Step S204, if the first voiceprint data matches the second voiceprint data, if the first height data matches the second height data, and if the first sleep posture data matches any of the second sleep posture data, it is determined that the current user is the owner of the smart bed.
[0111] In the case that the data in the three dimensions all match, it can be determined that the current user is the owner of the smart bed.
[0112] In another embodiment of this application, step S103, which determines whether the current user is the owner of the smart bed based on the user characteristics in the user data and the user characteristics in the owner data, further includes:
[0113] Step S205: If the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data; or, the first height data does not match the second height data, and the first sleeping posture data does not match any of the second sleeping posture data; or, the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data, the probability of determining that the current user is the owner of the smart bed is low. If two of the three dimensions do not match, the probability of determining that the current user is the owner of the smart bed is low. In this case, the bed owner can also be notified via mobile app push or SMS that a suspected stranger is sleeping on the bed (the user can be differentiated by the level of prompt).
[0114] Step S206: If the first voiceprint data does not match the second voiceprint data, or the first height data does not match the second height data, or the first sleeping posture data does not match any of the second sleeping posture data, the probability that the current user is the owner of the smart bed is considered medium. In the case where one of the three dimensions does not match, the probability that the current user is the owner of the smart bed is considered medium. At this time, a reminder record can be stored in the cloud data so that the user can view the data when needed.
[0115] In another embodiment of this application, a control device for a smart bed is also provided, such as... Figure 2 As shown, it includes:
[0116] The first acquisition module 11 is used to acquire user data from the smart bed, the user data including user characteristics of the current user of the smart bed;
[0117] The second acquisition module 12 is used to acquire owner data corresponding to the smart bed, the owner data including user characteristics of the owner of the smart bed;
[0118] The determining module 13 is used to determine whether the current user is the owner of the smart bed based on the user characteristics in the user data and the user characteristics in the owner data;
[0119] The execution module 14 is used to execute a first reminder strategy if the current user is not the owner of the smart bed.
[0120] Optionally, the determining module comprises:
[0121] a first extracting unit configured to extract first voiceprint data and first sleep posture data from the user data, and determine first height data of the current user according to the first sleep posture data;
[0122] a second extracting unit configured to extract second voiceprint data and a plurality of second sleep posture data from the owner data, and determine second height data of the owner according to the second sleep posture data;
[0123] a first determining unit configured to determine whether the first voiceprint data matches the second voiceprint data, whether the first height data matches the second height data, and whether the first sleep posture data matches any of the second sleep posture data;
[0124] a second determining unit configured to determine that the current user is the owner of the smart bed if the first voiceprint data matches the second voiceprint data, if the first height data matches the second height data, and if the first sleep posture data matches any of the second sleep posture data.
[0125] Optionally, the first determining unit is further configured to:
[0126] extract first voiceprint features from the first voiceprint data;
[0127] extract second voiceprint features from the second voiceprint data;
[0128] compare the first voiceprint features with the second voiceprint features;
[0129] if a similarity between the first voiceprint features and the second voiceprint features is greater than a preset first threshold, determine that the first voiceprint data matches the second voiceprint data.
[0130] Optionally, the first determining unit is further configured to:
[0131] determine a first breathing frequency of the current user within a first preset time length based on the first voiceprint data;
[0132] determine a second breathing frequency of the owner within the first preset time length based on the second voiceprint data;
[0133] if a deviation value between the first breathing frequency and the second breathing frequency is less than a preset second threshold, determine that the first voiceprint data matches the second voiceprint data.
[0134] Optionally, the first determining unit is further configured to:
[0135] determine a first sleep posture of the user based on the first sleep position data;
[0136] determine a plurality of second sleep postures based on the second sleep position data respectively;
[0137] if the similarity between the first sleep posture and any of the second sleep postures is greater than a preset third threshold, determine that the first sleep position data matches any of the second sleep position data.
[0138] Optionally, the first determining unit is further configured to:
[0139] compare the first height data with the second height data;
[0140] if the difference between the first height data and the second height data is less than a preset fourth threshold, determine that the first height data matches the second height data.
[0141] Optionally, the determining module further comprises:
[0142] a third determining unit configured to, if the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data, or the first height data does not match the second height data, and the first sleep position data does not match any of the second sleep position data, or the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data, determine that the probability that the current user is the owner of the smart bed is low.
[0143] a fourth determining unit configured to, if the first voiceprint data does not match the second voiceprint data, or the first height data does not match the second height data, or the first sleep position data does not match any of the second sleep position data, determine that the probability that the current user is the owner of the smart bed is medium.
[0144] In another embodiment of the present application, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
[0145] the memory is configured to store a computer program;
[0146] the processor is configured to execute the program stored on the memory, and implement the control method of the smart bed according to any of the method embodiments.
[0147] The electronic device provided by the embodiment of the present application can determine whether the current user is the owner of the smart bed based on the user data of the current user and the owner data of the owner by executing the program stored on the memory, and further execute the first reminding strategy, so that the bed owner can discover the situation that the smart bed is illegally used in time, and the user can use conveniently.
[0148] The communication bus 1140 mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 3 Only one thick line is used to represent the bus in the middle, but it does not mean that there is only one bus or only one type of bus.
[0149] The communication interface 1120 is used for communication between the electronic device and other devices.
[0150] The memory 1130 can include a Random Access Memory (RAM) and can also include a non-volatile memory, such as at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.
[0151] The processor 1110 mentioned above can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0152] In another embodiment of the present application, a computer readable storage medium is also provided, and the computer readable storage medium stores a program of a control method of a smart bed. The program of the control method of the smart bed is executed by a processor to implement the steps of the control method of the smart bed according to any one of the method embodiments.
[0153] It has to be noted that, in the present document, relational terms are intended only to convey a possible relationship between elements or
[0154] The foregoing is considered as illustrative only of the principles of the application. Numerous modifications and changes will readily occur to those skilled in the art, which modifications and changes are to be understood as intended to be encompassed by the general scope of the application. Accordingly, the application is not to be limited to the above described or illustrated embodiments, but is intended to encompass all embodiments consistent with the principles of the application.
Claims
1. A control method for an intelligent bed, characterized in that, The smart bed is equipped with a sleeping posture detection device, which detects sleeping posture by detecting the outline of a human body in an infrared image, including: Acquire user data from the smart bed, the user data including user characteristics of the current user of the smart bed; Obtain the owner data corresponding to the smart bed, the owner data including the user characteristics of the owner of the smart bed; Based on the user characteristics in the user data and the user characteristics in the owner data, determine whether the current user is the owner of the smart bed; Determining whether the current user is the owner of the smart bed based on user characteristics in the user data and user characteristics in the owner data includes: Extract the first voiceprint data and the first sleeping posture data from the user data, and determine the first height data of the current user based on the first sleeping posture data. The first height data refers to the overall height of the current user under the condition corresponding to the first sleeping posture data. The first voiceprint data is the voiceprint features of the current user's exhalation and inhalation. Extract the second voiceprint data and multiple second sleeping position data from the owner data, and determine the second height data of the owner based on the second sleeping position data. The second voiceprint data is the voiceprint features of the owner's exhalation and inhalation. Determine whether the first voiceprint data matches the second voiceprint data, determine whether the first height data matches the second height data, and determine whether the first sleeping posture data matches any of the second sleeping posture data; Determining whether the first voiceprint data matches the second voiceprint data includes: The first number of breaths of the current user within a first preset duration is determined based on the first voiceprint data; The second number of breaths of the owner within the first preset duration is determined based on the second voiceprint data; If the deviation between the first number of breaths and the second number of breaths is less than a preset second threshold, it is determined that the first voiceprint data and the second voiceprint data match. If the first voiceprint data matches the second voiceprint data, if the first height data matches the second height data, and if the first sleeping posture data matches any of the second sleeping posture data, then the current user is determined to be the owner of the smart bed. If the current user is not the owner of the smart bed, the first reminder policy is executed.
2. The method according to claim 1, characterized in that, Determining whether the first voiceprint data matches the second voiceprint data includes: Extract the first voiceprint feature from the first voiceprint data; Extract the second voiceprint feature from the second voiceprint data; Compare the first voiceprint feature and the second voiceprint feature; If the similarity between the first voiceprint feature and the second voiceprint feature is greater than a preset first threshold, it is determined that the first voiceprint data and the second voiceprint data match.
3. The method according to claim 1, characterized in that, Determining whether the first sleeping position data matches any of the second sleeping position data includes: The user's first sleeping posture is determined based on the first sleeping posture data; Multiple second sleep postures are determined based on the data of each second sleep posture; If the similarity between the first sleep posture and any second sleep posture is greater than a preset third threshold, it is determined that the first sleep posture data matches any second sleep posture data.
4. The method according to claim 1, characterized in that, Determining whether the first altitude data matches the second altitude data includes: Compare the first altitude data with the second altitude data; If the difference between the first altitude data and the second altitude data is less than a preset fourth threshold, it is determined that the first altitude data and the second altitude data match.
5. The method according to claim 1, characterized in that, Determining whether the current user is the owner of the smart bed based on user characteristics in the user data and user characteristics in the owner data further includes: If the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data; or, the first height data does not match the second height data, and the first sleeping posture data does not match any of the second sleeping posture data; or, the first voiceprint data does not match the second voiceprint data, and the first height data does not match the second height data, the probability of determining that the current user is the owner of the smart bed is low. If the first voiceprint data does not match the second voiceprint data, or the first height data does not match the second height data, or the first sleeping posture data does not match any of the second sleeping posture data, the probability of determining that the current user is the owner of the smart bed is medium.
6. A control device for an intelligent bed, characterized in that, The smart bed is equipped with a sleeping posture detection device, which detects sleeping posture by detecting the outline of a human body in an infrared image, including: The first acquisition module is used to acquire user data from the smart bed, the user data including the user characteristics of the current user of the smart bed; The second acquisition module is used to acquire owner data corresponding to the smart bed, wherein the owner data includes user characteristics of the owner of the smart bed; The determination module is used to determine whether the current user is the owner of the smart bed based on the user characteristics in the user data and the user characteristics in the owner data; The determining module includes: The first extraction unit is used to extract first voiceprint data and first sleeping posture data from the user data, and determine the first height data of the current user based on the first sleeping posture data. The first height data refers to the overall height of the current user under the condition corresponding to the first sleeping posture data, and the first voiceprint data is the voiceprint features of the current user's exhalation and inhalation. The second extraction unit is used to extract second voiceprint data and multiple second sleeping position data from the owner data, and to determine the owner's second height data based on the second sleeping position data. The second voiceprint data is the voiceprint features of the owner's exhalation and inhalation. A first determining unit is configured to determine whether the first voiceprint data matches the second voiceprint data, whether the first height data matches the second height data, and whether the first sleeping posture data matches any of the second sleeping posture data. Determining whether the first voiceprint data matches the second voiceprint data includes: determining the first number of breaths of the current user within a first preset duration based on the first voiceprint data; determining the second number of breaths of the owner within the first preset duration based on the second voiceprint data; and determining that the first voiceprint data and the second voiceprint data match if the deviation between the first number of breaths and the second number of breaths is less than a preset second threshold. The second determining unit is configured to determine that the current user is the owner of the smart bed if the first voiceprint data matches the second voiceprint data, if the first height data matches the second height data, and the first sleeping posture data matches any of the second sleeping posture data. The execution module is used to execute a first reminder strategy if the current user is not the owner of the smart bed.
7. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor, when executing a program stored in the memory, implements the control method for the intelligent bed according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program for a control method of an intelligent bed, which, when executed by a processor, implements the steps of the control method of the intelligent bed according to any one of claims 1-5.
Citation Information
Patent Citations
Voiceprint identification method and device
CN106503513A
Data monitoring methods and equipment
CN107347097A
System and method for user sleep personalized service of intelligent soft and hard adjustable mattress
CN108523524A