A household equipment linkage method based on smart mattress and related products

By dividing areas on smart mattresses and associating area symbols, users can control home equipment by pressing the area, solving the problem that smart mattress users need to leave the bed to control home equipment, and achieving efficient home equipment control.

CN115128964BActive Publication Date: 2025-02-18DONGGUAN DERUCCI BEDDING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210835966.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2025-02-18
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

Users on smart mattresses need to leave the bed to control home equipment, resulting in low control efficiency of home equipment.

Method used

By dividing several areas on the surface of the smart mattress, each area associated with a regional character, the user can splice the area string by pressing the area, so that the home equipment can be controlled without leaving the bed.

Benefits of technology

It realizes convenient control of home equipment without the need for users to leave the bed, improving the control efficiency of home equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115128964B_ABST
    Figure CN115128964B_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the field of smart home technology, and discloses a method for linking home appliances based on a smart mattress and related products, which are characterized in that: the smart mattress can sequentially splice all the area symbols currently associated with each target area to form a first area string according to the first pressing order of each target area included in the several areas divided into its surface layer, and record the home appliances associated with the first area string by the legitimate user, so that the subsequent smart mattress can sequentially splice all the area symbols randomly re-associated with the above target areas to form a second area string according to the second pressing order of the above target areas detected, and control the home appliances associated with the first area string when verifying that the first area string is the same as the second area string. The implementation of the embodiment of the present application can realize the convenient control of home appliances without the user leaving the bed, thereby improving the control efficiency of home appliances.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a home appliance linkage method based on a smart mattress and related products. Background Art

[0002] Smart mattresses are designed to adjust the hardness of different mattresses based on human sleeping habits and by integrating a variety of high-quality and healthy sleeping materials. Smart mattresses can raise the leg position under the action of motors to allow blood to reflux, which is beneficial to the heart, brain and legs. In addition, smart mattresses can raise the head position, making it convenient for users to read books, watch TV and other leisure and entertainment in bed. Furthermore, smart mattresses can also provide massage services for users, allowing users to relax their bodies, adjust their body and mind, relax their muscles and bones, enjoy the beauty of life, and fully guarantee the quality of sleep for users.

[0003] In practice, it is found that users on smart mattresses sometimes need to leave the bed to control certain home appliances, which is not conducive to improving the control efficiency of home appliances. For example, when a guest comes, users on smart mattresses sometimes have to leave the bed to open the smart door, which is not conducive to improving the opening efficiency of the smart door. Summary of the invention

[0004] The embodiment of the present application discloses a household appliance linkage method based on a smart mattress and related products, which can at least conveniently control household appliances without the user leaving the bed, thereby improving the control efficiency of the household appliances.

[0005] In a first aspect, an embodiment of the present application discloses a method for linking household devices based on a smart mattress, wherein a surface layer of the smart mattress is divided into a plurality of regions, each region is currently associated with a region symbol, the region symbol currently associated with each region is not visible on the surface layer, and any two regions are currently associated with different region symbols, and the method comprises:

[0006] The smart mattress detects a first pressing sequence of each target area included in the plurality of areas; according to the first pressing sequence of each target area, all area symbols currently associated with each target area are sequentially spliced ​​to form a first area symbol string; and the designated device of the legitimate user is recorded as the home device associated with the first area symbol string;

[0007] The smart mattress detects a second pressing sequence of each target area; according to the second pressing sequence of each target area, all the area symbols randomly re-associated with each target area are sequentially spliced ​​to form a second area symbol string;

[0008] The smart mattress checks whether the first area symbol string is the same as the second area symbol string; if so, controls the home appliance associated with the first area symbol string.

[0009] A second aspect of an embodiment of the present application discloses a smart mattress, wherein a surface layer of the smart mattress is divided into a plurality of regions, each region is currently associated with a region symbol, the region symbol currently associated with each region is not visible on the surface layer, and any two regions are currently associated with different region symbols, and the smart mattress comprises:

[0010] A detection unit, used to detect a first pressing sequence of each target area included in the plurality of areas;

[0011] a splicing unit, configured to sequentially splice all the region symbols currently associated with the respective target regions according to the first pressing sequence of the respective target regions to form a first region symbol string;

[0012] A recording unit, used for recording that the designated device of the legal user is the home device associated with the first area string;

[0013] The detection unit is further used to detect a second pressing sequence of each target area;

[0014] The splicing unit is further used to splice all the regional symbols randomly re-associated with the respective target regions in sequence according to the second pressing sequence of the respective target regions to form a second regional symbol string;

[0015] A verification unit, used to verify whether the first region symbol string is identical to the second region symbol string;

[0016] A control unit is used to control the home appliance associated with the first area symbol string when the verification results of the verification unit are the same.

[0017] A third aspect of an embodiment of the present application discloses another smart mattress, wherein a surface layer of the smart mattress is divided into a plurality of regions, each region is currently associated with a region symbol, the region symbol currently associated with each region is not visible on the surface layer, and any two regions are currently associated with different region symbols, and the smart mattress comprises:

[0018] A memory storing executable program code;

[0019] a processor coupled to the memory;

[0020] The processor calls the executable program code stored in the memory to perform the following steps:

[0021] Detecting a first pressing sequence of each target area included in the plurality of areas; splicing all area symbols currently associated with each target area in sequence according to the first pressing sequence of each target area to form a first area symbol string; recording the designated device of the legitimate user as the home device associated with the first area symbol string;

[0022] Detecting a second pressing sequence of each target area; splicing all the area symbols randomly re-associated with each target area in sequence according to the second pressing sequence of each target area to form a second area symbol string;

[0023] Check whether the first area symbol string is the same as the second area symbol string; if so, control the home appliance associated with the first area symbol string.

[0024] The fourth aspect of an embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the household appliance linkage method based on a smart mattress disclosed in the first aspect of the embodiment of the present application are implemented.

[0025] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0026] In an embodiment of the present application, the smart mattress can, according to the first pressing sequence of each target area included in the several areas into which its surface is divided, sequentially splice all the area symbols currently associated with each target area to form a first area symbol string, and record the designated device of the legitimate user as the home appliance associated with the first area symbol string. In this way, the smart mattress can subsequently splice all the area symbols randomly re-associated with the above-mentioned target areas in sequence to form a second area symbol string according to the second pressing sequence detected for the above-mentioned target areas, and when it is verified that the first area symbol string is the same as the second area symbol string, control the home appliance associated with the first area symbol string, thereby realizing convenient control of the home appliance without the user leaving the bed, thereby improving the control efficiency of the home appliance. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 It is a flowchart of a first embodiment of a household appliance linkage method based on a smart mattress disclosed in an embodiment of the present application;

[0029] Figure 2It is a schematic diagram of dividing the surface layer of the smart mattress disclosed in the embodiment of the present application into several areas;

[0030] Figure 3 It is a flow chart of a second embodiment of a household appliance linkage method based on a smart mattress disclosed in an embodiment of the present application;

[0031] Figure 4 It is a flowchart of a third embodiment of the household appliance linkage method based on a smart mattress disclosed in the embodiments of the present application;

[0032] Figure 5 It is a structural schematic diagram of the first embodiment of the smart mattress disclosed in the embodiments of the present application;

[0033] Figure 6 is a structural schematic diagram of a second embodiment of the smart mattress disclosed in the embodiments of the present application;

[0034] Figure 7 It is a structural schematic diagram of the third embodiment of the smart mattress disclosed in the embodiments of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0036] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] The embodiment of the present application discloses a household appliance linkage method based on a smart mattress and related products, which can conveniently control household appliances without the user leaving the bed, thereby improving the control efficiency of household appliances. The following is a detailed description with reference to the accompanying drawings.

[0038] See also Figure 1-2 , Figure 1 is a flow chart of a first embodiment of a method for linking household appliances based on a smart mattress disclosed in an embodiment of the present application, Figure 2 FIG. 1 is a schematic diagram showing that the surface layer of the smart mattress disclosed in the embodiment of the present application is divided into several areas. Figure 2As shown, in the embodiment of the present application, the surface of the smart mattress is divided into several areas (such as area 1 to area 15), each area is currently associated with a region symbol, the region symbol currently associated with each area is not visible on the surface of the smart mattress, and any two areas are currently associated with different region symbols. It can be understood that the positions of the several areas on the surface of the smart mattress are fixed. For example, area 1 is currently associated with an area symbol a, area 2 is currently associated with an area symbol b, area 3 is currently associated with an area symbol c, area 4 is currently associated with an area symbol d, area 5 is currently associated with an area symbol e, area 6 is currently associated with an area symbol f, area 7 is currently associated with an area symbol g, area 8 is currently associated with an area symbol h, area 9 is currently associated with an area symbol i, area 10 is currently associated with an area symbol j, area 11 is currently associated with an area symbol k, area 12 is currently associated with an area symbol m, area 13 is currently associated with an area symbol n, area 14 is currently associated with an area symbol o, and area 15 is currently associated with an area symbol p; wherein, area symbols a, b, c, d, e, f, g, h, i, j, k, m, n, o, and p are not visible on the surface of the smart mattress. Figure 1 As shown, the household equipment linkage method based on the smart mattress may include the following steps:

[0039] 101. The smart mattress detects a first pressing sequence of each target area included in the plurality of areas; and according to the first pressing sequence of each target area, all area symbols currently associated with each target area are sequentially spliced ​​to form a first area symbol string.

[0040] For example, assuming Figure 2 The nine areas 7, area 5, area 3, area 2, area 1, area 6, area 8, area 9 and area 4 are pressed in sequence; accordingly, the smart mattress can use these nine areas as nine target areas, and detect through the sensor that the first pressing order of the nine target areas is area 7, area 5, area 3, area 2, area 1, area 6, area 8, area 9, area 4; further, the smart mattress can, according to the above-mentioned first pressing order, splice all the area symbols currently associated with the nine target areas in sequence to form a first area symbol string of gecbafhid.

[0041] 102. The smart mattress records that the designated device of the legitimate user is a home device associated with the first area string.

[0042] In some implementations, the smart mattress may include the following steps to record the designated device of the legitimate user as the home device associated with the first area string:

[0043] Step A: The smart mattress scans the device identifications of several household devices in the surrounding area; wherein the device identifications of any two household devices among the several household devices are different.

[0044] Exemplarily, the device identifications of the plurality of household devices may include, but are not limited to, device names of the plurality of household devices.

[0045] Step B: The smart mattress sends the device identifications and the first area string of the plurality of household devices to the designated device of the legal user.

[0046] Step C: The smart mattress identifies the association between the device identification of the selected household device sent by the designated device of the legitimate user and the first area string; wherein the device identification of the selected household device is any one or more of the device identifications of the multiple household devices.

[0047] Step D: The smart mattress records the home device to which the device identification of the selected home device belongs as the home device associated with the first area string.

[0048] Among them, implementing the above steps A to D can enable legitimate users to flexibly and conveniently configure the selected home appliances associated with the first area string for the first area string, thereby improving the flexibility and convenience of configuring the selected home appliances associated with the first area string for the first area string.

[0049] In some implementations, the designated device of the legal user may be a wrist-type electronic device (such as a smart watch) worn on a wrist of the legal user. Accordingly, the smart mattress sending the device identifications and the first area string of the plurality of household devices to the designated device of the legal user may include the following steps:

[0050] The smart mattress verifies whether the unique ID of the wrist-type electronic device worn on the wrist connected to the palm is detected when each target area in the above target areas is pressed by a palm of a legitimate user (such as a palm connected to the wrist wearing the wrist-type electronic device); if so, the wrist-type electronic device is used as a designated device of the legitimate user;

[0051] Furthermore, the smart mattress determines whether a communication connection has been established between the smart mattress and the designated device of the legal user; if a communication connection has been established, the device identifications and the first area string of the plurality of household devices are directly sent to the designated device of the legal user through the communication connection.

[0052] Among them, by implementing the above implementation, the smart mattress can accurately determine the designated device of the legitimate user from all the devices currently connected to it, thereby improving the accuracy of sending the device identification and the first area string of the multiple home devices to the designated device of the legitimate user.

[0053] In other embodiments, if the smart mattress determines that the smart mattress has not established a communication connection with the designated device of the legitimate user, the smart mattress reads the recorded target distance value between the designated terminal and the first antenna module set at the head of the bed frame where the smart mattress is located when a palm of the legitimate user (such as a palm connected to the wrist wearing the wrist-type electronic device) presses the last target area among the above target areas; illustratively, the first antenna module (such as a first UWB antenna module) set at the head of the bed frame where the smart mattress is located, when a palm of the legitimate user (such as a palm connected to the wrist wearing the wrist-type electronic device) presses the last target area among the above target areas, the smart mattress can control the first antenna module to measure the instantaneous distance value between the first antenna module and the second antenna module (such as the second UWB antenna module) of the designated terminal as the target distance value between the first antenna module and the designated terminal;

[0054] And, the smart mattress broadcasts an interactive message including a unique mattress identifier of the smart mattress, a unique ID of the wrist-type electronic device, and the target distance value;

[0055] And, the designated terminal of the legitimate user receives the interactive message, and when recognizing that the unique ID of the wrist-type electronic device belongs to the unique ID of the designated terminal itself, determines the distance value set between the designated terminal and the first antenna module set at the head of the bed frame where the smart mattress is located according to the mattress unique identifier of the smart mattress, and verifies whether the distance value set contains the target distance value; if it does, obtains the key character transfer quantity n that is proportional to the target distance value; wherein, when the target distance value is larger, the key character transfer quantity n is larger; conversely, when the target distance value is smaller, the key character transfer quantity n is smaller;

[0056] And, the designated terminal of the legal user starts from the head end of the initial access key string configured for the mobile hotspot of the designated terminal, and shifts the key characters included in the initial access key string one by one to the tail end opposite to the head end, until the number of transferred key characters is equal to the key character transfer number, and stops transferring the key characters included in the initial access key string, so as to obtain the legal access key x1 of the mobile hotspot;

[0057] And, the designated terminal of the legal user sends a mobile hotspot access prompt message including the hotspot identifier of the mobile hotspot, the mattress unique identifier of the smart mattress and the initial access key string;

[0058] And, after the smart mattress receives the mobile hotspot access prompt message and identifies the mattress unique identifier of the smart mattress included in the mobile hotspot access prompt message, the key character transfer quantity n that is proportional to the target distance value is obtained;

[0059] And, the smart mattress starts from the head end of the initial access key string, shifts the key characters contained in the initial access key string to the tail end opposite to the head end one by one, and stops transferring the key characters contained in the initial access key string when the number of transferred key characters is equal to the key character transfer number, so as to obtain the access key to be verified;

[0060] And, the smart mattress broadcasts a mobile hotspot access request including the hotspot identifier of the mobile hotspot and the access key x2 to be verified;

[0061] And, the designated terminal of the legal user receives the mobile hotspot access request and verifies whether the access key x2 to be verified is consistent with the legal access key x1. If they are consistent, the smart mattress is allowed to access the mobile hotspot of the designated terminal, thereby realizing the communication connection between the smart mattress and the designated terminal of the legal user;

[0062] And, the smart mattress sends the device identifications and the first area string of the plurality of household devices to the designated device of the legitimate user through a communication connection.

[0063] Among them, the implementation of the above embodiment allows the key that allows the smart mattress to access the mobile hotspot of the designated terminal of the legitimate user to dynamically change according to the target distance value between the designated terminal and the first antenna module set at the head of the bed frame where the smart mattress is located when a palm of the legitimate user (such as a palm connected to the wrist wearing the wrist-type electronic device) presses the last target area among the above target areas. This can help improve the reliability of the smart mattress when accessing the mobile hotspot of the designated terminal, help reduce the number of devices accessing the mobile hotspot of the designated terminal, and thus help reduce the power consumption of the designated terminal.

[0064] 103. The smart mattress detects a second pressing sequence of each of the target areas; according to the second pressing sequence of each of the target areas, all of the area symbols randomly re-associated with each of the target areas are sequentially spliced ​​to form a second area symbol string.

[0065] 104. The smart mattress checks whether the symbol string in the first area is the same as the symbol string in the second area; if so, execute step 105; if not, end this process.

[0066] 105. The smart mattress controls the home appliances associated with the symbol string in the first area.

[0067] Exemplarily, the smart mattress controls the home appliances associated with the first area symbol string, including:

[0068] The smart mattress identifies the instant status of the home appliance associated with the first area symbol string;

[0069] If the smart mattress recognizes that the real-time status of the home appliance associated with the first area symbol string is in the off state, the smart mattress controls the real-time status of the home appliance associated with the first area symbol string to switch to the on state;

[0070] Alternatively, if the smart mattress recognizes that the current state of the home appliance associated with the first area symbol string is on, the smart mattress controls the home appliance associated with the first area symbol string to switch to an off state.

[0071] For example, the home appliance associated with the first area symbol string is a smart door. The real-time status of the smart door generally has only two states: open and closed. The smart mattress can identify the real-time status of the smart door associated with the first area symbol string. If it is identified that the real-time status of the smart door associated with the first area symbol string is closed, then the real-time status of the smart door associated with the first area symbol string can be controlled to switch to an open state; or, if it is identified that the real-time status of the smart door associated with the first area symbol string is open, then the smart door associated with the first area symbol string can be controlled to switch to a closed state.

[0072] For another example, the home appliances associated with the first area symbol string are multiple smart lights, among which some smart lights may be in the on state while others are in the off state. Then the smart mattress can identify the real-time status of the multiple smart lights associated with the first area symbol string. If the real-time status of a smart light is identified as the off state, the real-time status of the smart light can be controlled to switch to the on state; if the real-time status of another smart door associated with the first area symbol string is identified as the on state, the smart door can be controlled to switch to the closed state.

[0073] exist Figure 1 In the household appliance linkage method shown, the smart mattress can, according to the first pressing sequence of each target area included in the several areas into which its surface is divided, sequentially splice all the area symbols currently associated with each target area to form a first area symbol string, and record the designated device of the legitimate user as the household appliance associated with the first area symbol string. In this way, the subsequent smart mattress can, according to the second pressing sequence of each target area detected, sequentially splice all the area symbols randomly re-associated with the above-mentioned target areas to form a second area symbol string, and when it is verified that the first area symbol string is the same as the second area symbol string, control the household appliance associated with the first area symbol string, thereby realizing convenient control of the household appliance without the user leaving the bed, thereby improving the control efficiency of the household appliance.

[0074] See also Figure 3 , Figure 3is a flow chart of a second embodiment of a method for linking household appliances based on a smart mattress disclosed in an embodiment of the present application. In the embodiment of the present application, the surface layer of the smart mattress is divided into several areas (such as Figure 2 Each region is currently associated with a region symbol, and the region symbol currently associated with each region is not visible on the surface of the smart mattress, and the region symbols currently associated with any two regions are different. Figure 3 As shown, the household equipment linkage method based on the smart mattress may include the following steps:

[0075] 301. The smart mattress detects a first pressing sequence of each target area included in the plurality of areas; and according to the first pressing sequence of each target area, all area symbols currently associated with each target area are sequentially spliced ​​to form a first area symbol string.

[0076] For example, assuming Figure 2 The nine areas 7, area 5, area 3, area 2, area 1, area 6, area 8, area 9 and area 4 are pressed in sequence; accordingly, the smart mattress can use these nine areas as nine target areas, and detect through the sensor that the first pressing order of the nine target areas is area 7, area 5, area 3, area 2, area 1, area 6, area 8, area 9, area 4; further, the smart mattress can, according to the above-mentioned first pressing order, splice all the area symbols currently associated with the nine target areas in sequence to form a first area symbol string of gecbafhid.

[0077] 302. The smart mattress records that the designated device of the legitimate user is a home device associated with the first area string.

[0078] The implementation of step 302 may refer to step 102 in the previous embodiment and will not be described in detail here.

[0079] 303. The smart mattress randomly re-associates all the area symbols currently associated with the above target areas with each target area one by one, and sends the area symbol randomly re-associated with each target area to the designated device of the legal user.

[0080] As previously assumed, the smart mattress detects that nine areas, namely area 7, area 5, area 3, area 2, area 1, area 6, area 8, area 9 and area 4, are pressed in sequence, and the first pressing order of the nine target areas is area 7, area 5, area 3, area 2, area 1, area 6, area 8, area 9 and area 4; then, the smart mattress can sequentially splice all the area symbols currently associated with the nine target areas according to the above-mentioned first pressing order to form the first area symbol string gecbafhid. Correspondingly, in step 103, the smart mattress can randomly re-associate the nine area symbols currently associated with the nine target areas with each target area one-to-one. Exemplarily, the smart mattress can reassociate the area symbol d with area 1, reassociate the area symbol i with area 3, reassociate the area symbol h with area 2, reassociate the area symbol f with area 5, reassociate the area symbol a with area 7, reassociate the area symbol b with area 9, reassociate the area symbol c with area 8, reassociate the area symbol e with area 4, and reassociate the area symbol g with area 6, and send the area symbol reassociated with each target area to the designated device of the legitimate user in the form shown in Table 1.

[0081] Table 1

[0082] area Re-associated zone character 1 d 2 h 3 i 4 e 5 f 6 g 7 a 8 c 9 b

[0083] Usually, the area symbol re-associated with each target area in the above target areas is only known by the legitimate user himself.

[0084] 304. The smart mattress detects a second pressing sequence of each of the target areas; and according to the second pressing sequence of each of the target areas, all the area symbols re-associated with each of the target areas are sequentially spliced ​​to form a second area symbol string.

[0085] For example, assuming Figure 2 The second pressing order of the nine target areas, area 1 to area 9, is area 6, area 4, area 8, area 9, area 7, area 5, area 2, area 3, and area 1; accordingly, the smart mattress can, according to the above-mentioned second pressing order, splice all the area symbols re-associated with the nine target areas in sequence to form a second area symbol string of gecbafhid.

[0086] 305. The smart mattress checks whether the symbol string in the first area is the same as the symbol string in the second area; if so, execute step 306; if not, end this process.

[0087] 306. The smart mattress controls the home appliances associated with the first area symbol string.

[0088] exist Figure 3In the household appliance linkage method shown, the smart mattress can, according to the first pressing sequence of each target area included in the several areas into which its surface is divided, sequentially splice all the area symbols currently associated with each target area to form a first area symbol string, and record the designated device of the legitimate user as the household appliance associated with the first area symbol string. In this way, the subsequent smart mattress can, according to the second pressing sequence of each target area detected, sequentially splice all the area symbols re-associated with the above-mentioned target areas to form a second area symbol string, and when it is verified that the first area symbol string is the same as the second area symbol string, control the household appliance associated with the first area symbol string, thereby realizing convenient control of the household appliance without the user leaving the bed, thereby improving the control efficiency of the household appliance.

[0089] Further, in Figure 3 In the household appliance linkage method shown, after recording the household appliance associated with the first area symbol string for the legitimate user and before detecting the second pressing sequence of each target area, the smart mattress can also randomly re-associate all the area symbols currently associated with the above-mentioned target areas one-to-one with each target area, and send the area symbol re-associated with each target area to the legitimate user, so that the legitimate user can accurately determine the second pressing sequence of each target area according to the area symbol re-associated with each target area, and then control the household appliance associated with the first area symbol string only when it is verified that the first area symbol string is the same as the second area symbol string formed by splicing the second pressing sequence of each target area, thereby effectively improving the reliability of controlling the household appliance.

[0090] See also Figure 4 , Figure 4 FIG. 1 is a flow chart of a third embodiment of a method for linking household appliances based on a smart mattress disclosed in an embodiment of the present application. In the embodiment of the present application, the surface of the smart mattress is divided into several areas (such as Figure 2 Each region is currently associated with a region symbol, and the region symbol currently associated with each region is not visible on the surface of the smart mattress, and the region symbols currently associated with any two regions are different. Figure 4 As shown, the household equipment linkage method based on the smart mattress may include the following steps:

[0091] 401. The smart mattress detects a first pressing sequence of each target area included in the plurality of areas; and according to the first pressing sequence of each target area, all area symbols currently associated with each target area are sequentially spliced ​​to form a first area symbol string.

[0092] 402. The smart mattress scans device identifications of several household appliances in the surrounding area; the device identifications of any two household appliances among the several household appliances are different; and the device identifications of the several household appliances and the first area string are sent to a designated device of a legitimate user.

[0093] The implementation method of the smart mattress sending the device identifications of the plurality of household devices and the first area string to the designated device of the legitimate user has been described in detail in the previous embodiment, and will not be described in detail here.

[0094] 403. The smart mattress identifies the association between the device identification of the selected household appliance sent by the designated device of the legal user and the first area string; wherein the device identification of the selected household appliance is any one or more of the device identifications of the multiple household appliances.

[0095] 404. The smart mattress records the home appliance to which the device identifier of the selected home appliance belongs as the home appliance associated with the first area string.

[0096] Among them, by implementing the above steps 402 to 404, the smart mattress can record the designated device of the legal user as the home device associated with the first regional string. In addition, by implementing the above steps 402 to 404, the legal user can flexibly and conveniently configure the selected home device associated with the first regional string for the first regional string, thereby improving the flexibility and convenience of configuring the selected home device associated with the first regional string for the first regional string.

[0097] 405. The smart mattress counts the number of areas in each of the above target areas.

[0098] Exemplarily, when the above-mentioned target areas are areas 1 to 9, the smart mattress may count the number of areas of the above-mentioned target areas as 9.

[0099] 406. The smart mattress segments the preset complete access key corresponding to the hotspot of the smart mattress according to the counted number of the areas to obtain a first key segment and a second key segment; wherein the character length of the first key segment is directly proportional to the number of the areas, and when the character length of the first key segment is longer, the character length of the second key segment is shorter.

[0100] In some embodiments, the number of characters contained in the preset complete access key corresponding to the hotspot of the smart mattress is greater than the number of the above-mentioned several areas into which the surface layer of the smart mattress is divided (e.g. Figure 2 15 areas shown).

[0101] 407. The smart mattress establishes a correspondence between the first key segment, the hotspot of the smart mattress, and the home appliance associated with the first area string, and sends the second key segment to the designated device of the legitimate user, so that the legitimate user inputs the second key segment received by the designated device of the legitimate user into the home appliance associated with the first area string, and the home appliance associated with the first area string sends a hotspot access request including the second key segment to the smart mattress.

[0102] 408. The smart mattress receives a hotspot access request sent by a home appliance associated with the first regional string, determines a first key segment from the above correspondence, and concatenates the first key segment and the second key segment included in the hotspot access request to form a key to be verified.

[0103] 409. The smart mattress verifies whether the key to be verified is the same as the preset complete access key. If so, the home appliance associated with the first area string is allowed to access the hotspot of the smart mattress, thereby achieving communication connection between the home appliance associated with the first area string and the smart mattress.

[0104] Among them, when implementing the above steps 405 to 409, when the number of areas of the above target areas is larger, the character length of the above second key segment is shorter, so that the efficiency of the legitimate user inputting the above second key segment to the home appliance associated with the first area string is faster, thereby improving the efficiency of the home appliance associated with the first area string in establishing a communication connection with the smart mattress.

[0105] 410. The smart mattress randomly re-associates all the region symbols currently associated with the above target regions with each target region one-to-one, and sends the region symbols randomly re-associated with each target region to the legal user.

[0106] The smart mattress sends the area symbol randomly reassociated with each target area to the legal user, that is, the smart mattress sends the area symbol randomly reassociated with each target area to the designated terminal of the legal user.

[0107] 411. The smart mattress detects a second pressing sequence of each of the target areas; according to the second pressing sequence of each of the target areas, all of the area symbols randomly re-associated with each of the target areas are sequentially spliced ​​to form a second area symbol string.

[0108] 412. The smart mattress checks whether the symbol string in the first area is the same as the symbol string in the second area; if so, execute step 413; if not, end this process.

[0109] 413. The smart mattress controls the home appliances associated with the symbol string in the first area.

[0110] Exemplarily, the home appliance associated with the first area symbol string is a cleaning robot in the indoor environment where the smart mattress is located. Accordingly, the smart mattress controls the home appliance associated with the first area symbol string, including:

[0111] The smart mattress detects a certain area among the above-mentioned areas into which its surface layer is divided, which is designated by a legitimate user (e.g., designated by a finger);

[0112] The smart mattress determines a floor area to be cleaned in the indoor environment where the smart mattress is located, which is mapped to a certain area designated by a legitimate user;

[0113] The smart mattress controls the cleaning robot to move to the floor area to be cleaned, and controls the cleaning robot to perform cleaning operations on the floor area to be cleaned.

[0114] Exemplarily, the indoor environment where the smart mattress is located may be a suite with multiple rooms (such as a hotel suite) where the smart mattress is located, and the smart mattress is located in a room in the suite (such as a hotel suite); accordingly, the smart mattress determines the floor area to be cleaned in the indoor environment where the smart mattress is located that is mapped to a certain area designated by a legitimate user, including: the smart mattress determines the floor area to be cleaned in the suite that is mapped to a certain area designated by a legitimate user (such as a Figure 2 The target room may be the room where the smart mattress is located or may not be the room where the smart mattress is located;

[0115] Accordingly, the smart mattress controls the cleaning robot to perform the cleaning operation on the floor area to be cleaned in the target room by performing the following steps:

[0116] The smart mattress identifies whether the target room is the room where the smart mattress is located, and if so, sends a first cleaning instruction to the cleaning robot; wherein the cleaning robot receives the first cleaning instruction and performs a cleaning operation on the floor area to be cleaned of the target room (i.e., the room where the smart mattress is located) according to the first cleaning instruction;

[0117] On the contrary, if the smart mattress recognizes that the target room is not the room where the smart mattress is located, a second cleaning instruction including the number of the several target areas is sent to the cleaning robot; wherein, the cleaning robot receives the second cleaning instruction and determines a resolution change according to the number of the several target areas; wherein, the resolution change is directly proportional to the number of the several target areas; and, calculates the sum of a default resolution of the front-end shooting module of the cleaning robot and the resolution change as a designated resolution; and, performs cleaning operations on the floor area to be cleaned in the target room according to the second cleaning instruction; and, controls the front-end shooting module to shoot real-time video images of the cleaning robot performing cleaning operations on the floor area to be cleaned in the target room according to the designated resolution, and transmits the real-time video images to the smart mattress.

[0118] Correspondingly, the smart mattress controls the light projection module above it to project the real-time video image toward a certain area designated by the legal user (such as designated by a finger) among the above-mentioned several areas for the legal user to watch.

[0119] Among them, when implementing the above-mentioned embodiment, when the number of the several target areas is larger, the legitimate user can view a clearer real-time video picture of the cleaning robot performing a cleaning operation on a designated area among the several areas into which the surface of the smart mattress is divided, when the cleaning robot performs a cleaning operation on the floor area to be cleaned in a room mapped to the designated area. This not only improves the intelligence level of the smart mattress, but also improves the experience of the legitimate user using the smart mattress to control the cleaning robot to perform cleaning operations.

[0120] The above-mentioned light projection module may be a well-known laser projection module, and the embodiments of the present application will not be described in detail herein.

[0121] It can be seen that the implementation Figure 4 The home linkage method shown can realize convenient control of home appliances without the user leaving the bed, thereby improving the control efficiency of home appliances. Figure 4 The home linkage method shown can also effectively improve the reliability of controlling home appliances.

[0122] See also Figure 5 , Figure 5 is a schematic diagram of the structure of the first embodiment of the smart mattress disclosed in the embodiment of the present application. In the embodiment of the present application, the surface layer of the smart mattress is divided into several areas (such as Figure 2 Each region is currently associated with a region symbol, and the region symbol currently associated with each region is not visible on the surface of the smart mattress, and the region symbols currently associated with any two regions are different. Figure 5 As shown, the smart mattress includes:

[0123] A detection unit 501 is used to detect a first pressing sequence of each target area included in the plurality of areas;

[0124] A concatenation unit 502 is used to concatenate all the region symbols currently associated with the above-mentioned target regions in sequence according to the first pressing sequence of the above-mentioned target regions to form a first region symbol string;

[0125] A recording unit 503, used to record that the designated device of the legal user is a home device associated with the first area string;

[0126] The detection unit 501 is further used to detect a second pressing sequence of each of the target areas;

[0127] The splicing unit 502 is further used to splice all the region symbols randomly re-associated with the target regions in sequence according to the second pressing sequence of the target regions to form a second region symbol string;

[0128] A verification unit 504, used to verify whether the first region symbol string is identical to the second region symbol string;

[0129] The control unit 505 is used to control the home appliance associated with the first area symbol string when the verification result of the verification unit 504 is the same.

[0130] In some embodiments, Figure 5 As shown, the smart mattress also includes:

[0131] The association unit 506 is used for, after the recording unit 503 records that the designated device of the legal user is the home device associated with the first regional string, and before the splicing unit 502 randomly re-associates all the regional symbols currently associated with each of the target areas one by one with each target area according to the second pressing sequence of each of the target areas;

[0132] The interaction unit 507 is used to send the area symbol re-associated with each target area to the designated device of the legal user.

[0133] In some implementations, the recording unit 503 records that the designated device of the legal user is the home device associated with the first area string in the following manner:

[0134] Scanning device identifications of several household devices in the surrounding area; wherein the device identifications of any two household devices among the several household devices are different;

[0135] Sending the device identifications and the first area string of the plurality of household devices to a designated device of a legitimate user;

[0136] Identify the association between the device identification of the selected home device sent by the designated device of the legal user and the first area string; wherein the device identification of the selected home device is any one or more of the device identifications of the plurality of home devices;

[0137] The home device to which the device identification of the selected home device belongs is recorded as the home device associated with the first area string.

[0138] The implementation method of the recording unit 503 sending the device identifications of the plurality of household devices and the first area string to the designated device of the legal user can be described with reference to the previous embodiment, which will not be described in detail here.

[0139] Among them, implementation Figure 5 The smart mattress shown can realize convenient control of home appliances without the user leaving the bed, thereby improving the control efficiency of home appliances. Figure 4 The smart mattress shown can also effectively improve the reliability of controlling home appliances.

[0140] Please also read Figure 6 , Figure 6 : is a schematic diagram of the structure of the second embodiment of the smart mattress disclosed in the embodiment of the present application. Figure 6 The smart mattress shown is made of Figure 5 The smart mattress shown is optimized. Figure 5 Compared with the smart mattress shown, Figure 6 The smart mattress shown may also include:

[0141] A counting unit 508, configured to count the number of regions of each of the above target regions after the recording unit 503 records the household device to which the device identification of the selected household device belongs as the household device associated with the first regional string and before the control unit 505 controls the household device associated with the first regional string;

[0142] The segmentation unit 509 is used to segment the preset complete access key corresponding to the hotspot of the smart mattress according to the counted number of the areas, and obtain a first key segment and a second key segment; wherein the character length of the first key segment is in direct proportion to the number of the areas, and when the character length of the first key segment is longer, the character length of the second key segment is shorter;

[0143] The first processing unit 510 is used to establish a correspondence between the first key segment, the hotspot of the smart mattress, and the home device associated with the first area string, and send the second key segment to the designated device of the legal user, so that the legal user inputs the second key segment received by the legal user into the home device associated with the first area string, and the home device associated with the first area string sends a hotspot access request including the second key segment to the smart mattress;

[0144] The second processing unit 511 is used to receive a hotspot access request sent by a home appliance associated with the first area string, determine the first key segment from the corresponding relationship, and splice the first key segment and the second key segment to form a key to be verified, and when it is verified that the key to be verified is the same as the preset complete access key, allow the home appliance associated with the first area string to access the hotspot of the smart mattress, thereby realizing the communication connection between the home appliance associated with the first area string and the smart mattress.

[0145] In some implementations, the control unit 505 controls the home appliance associated with the first area symbol string in the following manner:

[0146] Identify the current status of the home appliance associated with the first area symbol string;

[0147] If it is identified that the real-time state of the home appliance associated with the first area symbol string is in the off state, control the real-time state of the home appliance associated with the first area symbol string to switch to the on state;

[0148] Alternatively, if it is identified that the current state of the home appliance associated with the first area symbol string is an on state, the home appliance associated with the first area symbol string is controlled to switch to an off state.

[0149] In other embodiments, the household appliance associated with the first area symbol string is a cleaning robot in the indoor environment where the smart mattress is located, and the control unit 505 controls the household appliance associated with the first area symbol string in the following manner:

[0150] Detecting an area designated by a legitimate user among the above-mentioned areas;

[0151] Determine a floor area to be cleaned in the indoor environment where the smart mattress is located, which is mapped to a certain area designated by a legitimate user;

[0152] The cleaning robot is controlled to move to the ground area to be cleaned, and the cleaning robot is controlled to perform cleaning operations on the ground area to be cleaned.

[0153] Exemplarily, the indoor environment where the smart mattress is located may be a suite with multiple rooms (such as a hotel suite) where the smart mattress is located, and the smart mattress is located in a room in the suite (such as a hotel suite); accordingly, the control unit 505 determines the floor area to be cleaned in the indoor environment where the smart mattress is located that is mapped to a certain area specified by a legitimate user, including: determining the floor area in the suite that is mapped to a certain area specified by a legitimate user (such as Figure 2 The target room may be the room where the smart mattress is located or may not be the room where the smart mattress is located;

[0154] Accordingly, the control unit 505 controls the cleaning robot to perform the cleaning operation on the floor area to be cleaned in the target room by performing the following steps:

[0155] Identify whether the target room is the room where the smart mattress is located, and if so, send a first cleaning instruction to the cleaning robot; wherein the cleaning robot receives the first cleaning instruction and performs a cleaning operation on the floor area to be cleaned of the target room (i.e., the room where the smart mattress is located) according to the first cleaning instruction;

[0156] On the contrary, if the smart mattress recognizes that the target room is not the room where the smart mattress is located, a second cleaning instruction including the number of the several target areas is sent to the cleaning robot; wherein, the cleaning robot receives the second cleaning instruction and determines a resolution change according to the number of the several target areas; wherein, the resolution change is directly proportional to the number of the several target areas; and, calculates the sum of a default resolution of the front-end shooting module of the cleaning robot and the resolution change as a designated resolution; and, performs cleaning operations on the floor area to be cleaned in the target room according to the second cleaning instruction; and, controls the front-end shooting module to shoot real-time video images of the cleaning robot performing cleaning operations on the floor area to be cleaned in the target room according to the designated resolution, and transmits the real-time video images to the smart mattress.

[0157] Correspondingly, the control unit 505 may also perform the following steps: control the light projection module above it to project the real-time video image toward an area designated by the legal user (such as designated by a finger) among the above-mentioned several areas for the legal user to watch.

[0158] Among them, when implementing the above-mentioned embodiment, when the number of the several target areas is larger, the legitimate user can view a clearer real-time video picture of the cleaning robot performing a cleaning operation on a designated area among the several areas into which the surface of the smart mattress is divided, when the cleaning robot performs a cleaning operation on the floor area to be cleaned in a room mapped to the designated area. This not only improves the intelligence level of the smart mattress, but also improves the experience of the legitimate user using the smart mattress to control the cleaning robot to perform cleaning operations.

[0159] In addition, implementation Figure 6 When the smart mattress is shown, if the number of the target areas is larger, the character length of the second key segment is shorter, so that the efficiency of the legitimate user inputting the second key segment into the home appliance associated with the first area string is faster, thereby improving the efficiency of establishing a communication connection between the home appliance associated with the first area string and the smart mattress.

[0160] See also Figure 7 , Figure 7 is a schematic diagram of the structure of the third embodiment of the smart mattress disclosed in the embodiment of the present application. In the embodiment of the present application, the surface layer of the smart mattress is divided into several areas (such as Figure 2 Each region is currently associated with a region symbol, and the region symbol currently associated with each region is not visible on the surface of the smart mattress, and the region symbols currently associated with any two regions are different. Figure 7 As shown, the smart mattress includes:

[0161] A memory 701 storing executable program codes;

[0162] a processor 702 coupled to a memory;

[0163] The processor 702 calls the executable program code stored in the memory 701 to perform the following steps:

[0164] Detecting a first pressing sequence of each target area included in the plurality of areas; splicing all area symbols currently associated with each target area in sequence according to the first pressing sequence of each target area to form a first area symbol string; recording the designated device of the legitimate user as the home device associated with the first area symbol string;

[0165] Detecting a second pressing sequence of each of the target areas; splicing all the area symbols randomly newly associated with each of the target areas in sequence according to the second pressing sequence of each of the target areas to form a second area symbol string;

[0166] Check whether the first area symbol string is the same as the second area symbol string; if so, control the home appliance associated with the first area symbol string; otherwise, do not control the home appliance associated with the first area symbol string.

[0167] In some implementations, after recording the designated device of the legitimate user as the home device associated with the first area string and before detecting the second pressing sequence of each target area, the processor 702 further performs the following steps:

[0168] All the area symbols currently associated with the above target areas are randomly re-associated with each target area one by one, and the area symbol re-associated with each target area is sent to the designated device of the legal user.

[0169] In some implementations, the processor 702 may record the home device associated with the legitimate user as the first area string in the following manner:

[0170] Scanning device identifications of several household devices in the surrounding area; wherein the device identifications of any two household devices among the several household devices are different;

[0171] Sending device identifications and first area strings of the plurality of household devices to a legitimate user;

[0172] Identify the association between the device identification of the selected home device sent by the designated device of the legal user and the first area string; wherein the device identification of the selected home device is any one or more of the device identifications of the plurality of home devices;

[0173] The home device to which the device identification of the selected home device belongs is recorded as the home device associated with the first area string.

[0174] In some other implementations, after the processor 702 records the home device to which the device identification of the selected home device belongs as the home device associated with the first area string and before controlling the home device associated with the first area string, it further performs the following steps:

[0175] Count the number of regions in each of the above target areas;

[0176] According to the number of regions, the preset complete access key corresponding to the hotspot of the smart mattress is segmented to obtain a first key segment and a second key segment; wherein the character length of the first key segment is in direct proportion to the number of regions, and when the character length of the first key segment is longer, the character length of the second key segment is shorter;

[0177] Establish a correspondence between the first key segment, the hotspot of the smart mattress, and the home appliance associated with the first area string, and send the second key segment to the designated device of the legal user, so that the legal user inputs the second key segment received by the designated device of the legal user into the home appliance associated with the first area string, and the home appliance associated with the first area string sends a hotspot access request including the second key segment to the smart mattress;

[0178] A hotspot access request is received from a home appliance associated with a first area string, and a first key segment is determined from the corresponding relationship. The first key segment and the second key segment are concatenated to form a key to be verified, and when it is verified that the key to be verified is the same as the preset complete access key, the home appliance associated with the first area string is allowed to access the hotspot of the smart mattress, thereby realizing a communication connection between the home appliance associated with the first area string and the smart mattress.

[0179] In some other implementations, the processor 702 may control the home appliance associated with the first area symbol string in the following manner:

[0180] Identify the current status of the home appliance associated with the first area symbol string;

[0181] If it is identified that the real-time state of the home appliance associated with the first area symbol string is in the off state, control the real-time state of the home appliance associated with the first area symbol string to switch to the on state;

[0182] Alternatively, if it is identified that the current state of the home appliance associated with the first area symbol string is an on state, the home appliance associated with the first area symbol string is controlled to switch to an off state.

[0183] In other embodiments, the household device associated with the first area symbol string is a cleaning robot in the indoor environment where the smart mattress is located, and the processor 702 controls the household device associated with the first area symbol string in the following manner:

[0184] Detecting an area designated by a legitimate user among the above-mentioned areas;

[0185] Determine a floor area to be cleaned in the indoor environment where the smart mattress is located, which is mapped to a certain area designated by a legitimate user;

[0186] The cleaning robot is controlled to move to the floor area to be cleaned, and the cleaning robot is controlled to perform a cleaning operation on the floor area to be cleaned.

[0187] Exemplarily, the indoor environment where the smart mattress is located may be a suite with multiple rooms (such as a hotel suite) where the smart mattress is located, and the smart mattress is located in a room in the suite (such as a hotel suite); accordingly, the processor 702 determines the floor area to be cleaned in the indoor environment where the smart mattress is located that is mapped to a certain area specified by a legitimate user, including: determining the floor area in the suite that is mapped to a certain area specified by a legitimate user (such as Figure 2 The target room may be the room where the smart mattress is located or may not be the room where the smart mattress is located;

[0188] Accordingly, the processor 702 controls the cleaning robot to perform the cleaning operation on the floor area to be cleaned in the target room by executing the following steps:

[0189] Identify whether the target room is the room where the smart mattress is located, and if so, send a first cleaning instruction to the cleaning robot; wherein the cleaning robot receives the first cleaning instruction and performs a cleaning operation on the floor area to be cleaned of the target room (i.e., the room where the smart mattress is located) according to the first cleaning instruction;

[0190] On the contrary, if the smart mattress recognizes that the target room is not the room where the smart mattress is located, a second cleaning instruction including the number of the several target areas is sent to the cleaning robot; wherein, the cleaning robot receives the second cleaning instruction and determines a resolution change according to the number of the several target areas; wherein, the resolution change is directly proportional to the number of the several target areas; and, calculates the sum of a default resolution of the front-end shooting module of the cleaning robot and the resolution change as a designated resolution; and, performs cleaning operations on the floor area to be cleaned in the target room according to the second cleaning instruction; and, controls the front-end shooting module to shoot real-time video images of the cleaning robot performing cleaning operations on the floor area to be cleaned in the target room according to the designated resolution, and transmits the real-time video images to the smart mattress.

[0191] Correspondingly, the processor 702 may also execute the following steps: controlling the light projection module above it to project the real-time video image toward an area designated by the legal user (such as designated by a finger) among the above-mentioned several areas for the legal user to watch.

[0192] Among them, when implementing the above-mentioned embodiment, when the number of the several target areas is larger, the legitimate user can view a clearer real-time video picture of the cleaning robot performing a cleaning operation on a designated area among the several areas into which the surface of the smart mattress is divided, when the cleaning robot performs a cleaning operation on the floor area to be cleaned in a room mapped to the designated area. This not only improves the intelligence level of the smart mattress, but also improves the experience of the legitimate user using the smart mattress to control the cleaning robot to perform cleaning operations.

[0193] It should be noted that the processor 702 may also execute other steps described in the previous embodiments, which will not be described in detail here.

[0194] Among them, implementation Figure 7 The smart mattress shown can realize convenient control of home appliances without the user leaving the bed, thereby improving the control efficiency of home appliances. Figure 6 The smart mattress shown can also effectively improve the reliability of controlling home appliances.

[0195] The embodiment of the present application further discloses a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the household appliance linkage method based on a smart mattress described in the previous embodiment are implemented.

[0196] The above is a detailed introduction to a household appliance linkage method based on a smart mattress and related products disclosed in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. For general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the application.

Claims

1. A method for linking household appliances based on a smart mattress, characterized in that: The surface layer of the smart mattress is divided into a plurality of regions, each region is currently associated with a region symbol, the region symbol currently associated with each region is not visible on the surface layer, and the region symbols currently associated with any two regions are different, and the method includes: The smart mattress detects a first pressing sequence of each target area included in the plurality of areas; according to the first pressing sequence of each target area, all area symbols currently associated with each target area are sequentially spliced ​​to form a first area symbol string; and the designated device of the legitimate user is recorded as the home device associated with the first area symbol string; The smart mattress detects a second pressing sequence of each target area; according to the second pressing sequence of each target area, all the area symbols randomly re-associated with each target area are sequentially spliced ​​to form a second area symbol string; The smart mattress verifies whether the first area symbol string is the same as the second area symbol string; if so, controls the home appliance associated with the first area symbol string; After the smart mattress records the designated device of the legitimate user as the home device associated with the first area string, and before the smart mattress detects the second pressing sequence of each target area, the method further includes: The smart mattress randomly re-associates all the area symbols currently associated with each target area with each target area one by one, and sends the area symbol randomly re-associated with each target area to the designated device of the legal user.

2. The household equipment linkage method according to claim 1, characterized in that: The smart mattress records that the designated device of the legitimate user is the home device associated with the first regional string, including: The smart mattress scans device identifications of several household devices in the surrounding area; the device identifications of any two household devices among the several household devices are different; The smart mattress sends the device identifications of the plurality of household devices and the first area string to a designated device of a legitimate user; The smart mattress identifies the association between the device identification of the selected household device sent by the designated device of the legal user and the first area string; the device identification of the selected household device is any one or more of the device identifications of the plurality of household devices; The smart mattress records the household device to which the device identification of the selected household device belongs as the household device associated with the first area string.

3. The household equipment linkage method according to claim 2, characterized in that: After the smart mattress records the home device to which the device identification of the selected home device belongs as the home device associated with the first area string, and before controlling the home device associated with the first area string, the method further includes: The smart mattress counts the number of areas in each target area; The smart mattress segments the preset complete access key corresponding to the hotspot of the smart mattress according to the number of the areas to obtain a first key segment and a second key segment; wherein the character length of the first key segment is in direct proportion to the number of the areas, and when the character length of the first key segment is longer, the character length of the second key segment is shorter; The smart mattress establishes a correspondence between the first key segment, the hotspot of the smart mattress, and the home device associated with the first area string, and sends the second key segment to the designated device of the legal user, so that the legal user inputs the second key segment received by the designated device of the legal user into the home device associated with the first area string, and the home device associated with the first area string sends a hotspot access request including the second key segment to the smart mattress; The smart mattress receives the hotspot access request sent by the home appliance associated with the first area string, determines the first key segment from the corresponding relationship, and splices the first key segment and the second key segment to form a key to be verified, and when it is verified that the key to be verified is the same as the preset complete access key, allows the home appliance associated with the first area string to access the hotspot of the smart mattress, thereby realizing the communication connection between the home appliance associated with the first area string and the smart mattress.

4. The household device linkage method according to claim 3, characterized in that: The smart mattress controls the home appliance associated with the first area symbol string, including: The smart mattress identifies the real-time status of the household equipment associated with the first area symbol string; If the smart mattress recognizes that the real-time status of the home appliance associated with the first area symbol string is in the off state, the smart mattress controls the real-time status of the home appliance associated with the first area symbol string to switch to the on state; Alternatively, if the smart mattress recognizes that the current state of the home appliance associated with the first area symbol string is on, the smart mattress controls the home appliance associated with the first area symbol string to switch to an off state.

5. A smart mattress, characterized in that: The surface layer of the smart mattress is divided into a plurality of regions, each region is currently associated with a region symbol, the region symbol currently associated with each region is not visible on the surface layer, and the region symbols currently associated with any two regions are different. The smart mattress comprises: A detection unit, used to detect a first pressing sequence of each target area included in the plurality of areas; a splicing unit, configured to sequentially splice all the region symbols currently associated with the respective target regions according to the first pressing sequence of the respective target regions to form a first region symbol string; A recording unit, used for recording that the designated device of the legal user is the home device associated with the first area string; The detection unit is further used to detect a second pressing sequence of each target area; The splicing unit is further used to splice all the regional symbols randomly re-associated with the respective target regions in sequence according to the second pressing sequence of the respective target regions to form a second regional symbol string; A verification unit, used to verify whether the first region symbol string is identical to the second region symbol string; A control unit, configured to control the home appliance associated with the first area symbol string when the verification result of the verification unit is the same; The smart mattress also includes: an associating unit, configured to randomly re-associate all the area symbols currently associated with each target area with each target area one-to-one after the recording unit records the designated device of the legal user as the home device associated with the first area symbol string and before the splicing unit performs the second pressing sequence of each target area according to the second pressing sequence of each target area; The interaction unit is used to send the area symbol re-associated with each target area to the designated device of the legal user.

6. A smart mattress, characterized in that: The surface layer of the smart mattress is divided into a plurality of regions, each region is currently associated with a region symbol, the region symbol currently associated with each region is not visible on the surface layer, and the region symbols currently associated with any two regions are different. The smart mattress comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to perform the following steps: Detecting a first pressing sequence of each target area included in the plurality of areas; splicing all area symbols currently associated with each target area in sequence according to the first pressing sequence of each target area to form a first area symbol string; recording the designated device of the legitimate user as the home device associated with the first area symbol string; Detecting a second pressing sequence of each target area; splicing all the area symbols re-associated with each target area in sequence according to the second pressing sequence of each target area to form a second area symbol string; Verify whether the first area symbol string is the same as the second area symbol string; if so, control the home device associated with the first area symbol string; After recording the designated device of the legitimate user as the home device associated with the first area string and before detecting the second pressing sequence of each target area, the processor further performs the following steps: All the area symbols currently associated with the target areas are randomly re-associated with each target area one by one, and the area symbol randomly re-associated with each target area is sent to the designated device of the legal user.

7. The smart mattress according to claim 6, characterized in that: The processor records the designated device of the legitimate user as the home device associated with the first area string in the following manner: Scanning device identifications of several household devices in the surrounding area; the device identifications of any two household devices among the several household devices are different; Sending the device identifications of the plurality of household devices and the first area string to a designated device of a legitimate user; Identify the association between the device identification of the selected household device sent by the designated device of the legal user and the first area string; the device identification of the selected household device is any one or more of the device identifications of the plurality of household devices; The household device to which the device identification of the selected household device belongs is recorded as the household device associated with the first area string.

8. The smart mattress according to claim 7, characterized in that: After the processor records the household device to which the device identification of the selected household device belongs as the household device associated with the first regional symbol string and before controlling the household device associated with the first regional symbol string, the processor further performs the following steps: Counting the number of regions in each target region; According to the number of regions, the preset complete access key corresponding to the hotspot of the smart mattress is segmented to obtain a first key segment and a second key segment; wherein the character length of the first key segment is in direct proportion to the number of regions, and when the character length of the first key segment is longer, the character length of the second key segment is shorter; Establishing a correspondence between the first key segment, the hotspot of the smart mattress, and the home device associated with the first area string, and sending the second key segment to the designated device of the legal user, so that the legal user inputs the second key segment received by the designated device of the legal user into the home device associated with the first area string, and the home device associated with the first area string sends a hotspot access request including the second key segment to the smart mattress; The hotspot access request sent by the home appliance associated with the first area string is received, and the first key segment is determined from the corresponding relationship, and the first key segment and the second key segment are spliced ​​to form a key to be verified, and when it is verified that the key to be verified is the same as the preset complete access key, the home appliance associated with the first area string is allowed to access the hotspot of the smart mattress, thereby realizing the communication connection between the home appliance associated with the first area string and the smart mattress.

9. The smart mattress according to claim 8, characterized in that: The processor controls the home appliance associated with the first regional symbol string in the following manner: Identifying the current status of the home appliance associated with the first regional symbol string; If it is identified that the real-time state of the home appliance associated with the first area symbol string is in the off state, control the real-time state of the home appliance associated with the first area symbol string to switch to the on state; Alternatively, if it is identified that the current state of the home appliance associated with the first area symbol string is an on state, the home appliance associated with the first area symbol string is controlled to switch to an off state.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the steps in the household device linkage method based on the smart mattress are implemented as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Function-linked intelligent mattress and control method

    CN112586931A

  • Intelligent mattress control method and device, electronic equipment and storage medium

    CN114652131A