Mattress control method and device, electronic equipment and computer readable storage medium
By obtaining object characteristics or attribute information and adjusting the hardness and support of the mattress, the problem that traditional mattress design cannot adapt to it is solved, and a personalized sleep experience and comfort is achieved.
Patent Information
- Application Number
- CN202411090965.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
AI Technical Summary
Traditional mattress design lacks flexibility and adaptability, cannot adaptively adjust according to individual differences, and it is difficult to meet the sleep needs and body curves of different users.
By obtaining the characteristic information or attribute information of the object, identifying identity or attributes, and obtaining mattress adjustment data based on environmental parameters and sleep scenes, adjusting the hardness and support of the mattress to achieve personalized support and fit.
It realizes adaptive adjustment of the mattress, adapts to the physical information of different users, improves sleep experience and comfort, and provides personalized support and fit.
Smart Images

Figure CN119002303A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent furniture, and in particular to a mattress control method, device, electronic device and computer-readable storage medium. Background Art
[0002] A common limitation of the existing technology is that the specifications and designs of mattresses tend to be standardized and fixed, lacking sufficient flexibility and adaptability. Although this design method is convenient for production and sales, everyone's body shape and sleeping habits are different, so it is difficult to meet the diverse needs and preferences of different users.
[0003] In summary, there is currently a problem that traditional mattresses cannot be adaptively adjusted according to individual differences. Summary of the invention
[0004] In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art and to provide a mattress control method, device, electronic device and computer-readable storage medium for controlling the mattress to perform adaptive adjustments according to different objects, thereby optimizing the comfort and support of the mattress to adapt to the sleep needs and body curves of different people.
[0005] The present invention provides the following technical solutions:
[0006] In a first aspect, the present invention provides a mattress control method, the method comprising:
[0007] Obtaining object feature information of an object in a preset area where the mattress to be adjusted is located, and identifying the object according to the object feature information;
[0008] When the identity information is recognized, the environmental parameters of the preset area are obtained, and the mattress to be adjusted is adjusted based on the identity information and the environmental parameters;
[0009] When the identity information is not recognized, object attribute information of the object is acquired, and the mattress to be adjusted is adjusted based on the object attribute information.
[0010] In one embodiment, adjusting the mattress to be adjusted based on the identity information and the environmental parameters includes:
[0011] Determine the current sleep scene of the preset area according to the environmental parameters;
[0012] Get mattress adjustment data based on current sleep scenario and identity information;
[0013] Adjust the mattress to be adjusted according to the mattress adjustment data.
[0014] In one embodiment, obtaining mattress adjustment data according to the current sleeping scene and identity information includes:
[0015] Obtaining a mapping relationship set, the mapping relationship set including mapping relationships between preset sleep scenes, preset identity information, and preset mattress adjustment data;
[0016] The mattress adjustment data is determined according to the current sleeping scene, identity information and mapping relationship set.
[0017] In one embodiment, adjusting the mattress to be adjusted according to the mattress adjustment data includes:
[0018] determining a target spring member of a mattress to be adjusted according to the mattress adjustment data;
[0019] Adjust the target spring according to the mattress adjustment data.
[0020] In one embodiment, adjusting the mattress to be adjusted based on the object attribute information includes:
[0021] determining target mattress adjustment data according to the object attribute information;
[0022] Adjust the mattress to be adjusted according to the target mattress adjustment data.
[0023] In one embodiment, determining target mattress adjustment data according to object attribute information includes:
[0024] The preset coefficient and object attribute information are integrated to obtain the mattress hardness index;
[0025] The mattress hardness index is mapped to obtain the target mattress adjustment data.
[0026] In one embodiment, obtaining object feature information of an object within a preset area where the mattress to be adjusted is located includes:
[0027] Obtaining target operation information of an object in a preset area where the mattress to be adjusted is located;
[0028] Object feature information is obtained based on the target operation information.
[0029] In a second aspect, the present invention provides a mattress control device, the device comprising:
[0030] An acquisition module, used to acquire object feature information of an object in a preset area where the mattress to be adjusted is located, and to identify the object according to the object feature information;
[0031] A first adjustment module, for obtaining environmental parameters of a preset area when the identity information is recognized, and adjusting the mattress to be adjusted based on the identity information and the environmental parameters;
[0032] The second adjustment module is used to obtain object attribute information of the object when the identity information is not recognized, and adjust the mattress to be adjusted based on the object attribute information.
[0033] In a third aspect, the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the mattress control method of the first aspect is implemented.
[0034] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which implements the mattress control method of the first aspect when the computer program is executed by a processor.
[0035] The mattress control method, device, electronic device and computer-readable storage medium disclosed in the present invention obtain object feature information of an object in a preset area where a mattress to be adjusted is located, and identify the object according to the object feature information; when the identity information is identified, the environmental parameters of the preset area are obtained, and the mattress to be adjusted is adjusted based on the identity information and the environmental parameters; when the identity information is not identified, the object attribute information of the object is obtained, and the mattress to be adjusted is adjusted based on the object attribute information. Since the present application can obtain the mattress adjustment data corresponding to the mattress to be adjusted through the feature information or object attribute information of the object, and perform adaptive adjustment of the mattress according to the individual differences based on the mattress adjustment data, the adjusted mattress can be adapted to the body information of the sleeping object, so that the mattress can automatically provide personalized support for different objects, fit the body curves of different objects, and then make the user feel like being hugged, so as to improve the mattress usage experience of the object. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solution of the present invention, the following will briefly introduce the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.
[0037] Figure 1 A schematic diagram of a process of a mattress control method proposed by the present invention is shown;
[0038] Figure 2 Another schematic diagram of the process of the mattress control method proposed by the present invention is shown;
[0039] Figure 3 Another schematic diagram of the process of the mattress control method proposed by the present invention is shown;
[0040] Figure 4 A schematic structural diagram of a mattress to be adjusted proposed by the present invention is shown;
[0041] Figure 5 A structural schematic diagram of a mattress control device proposed by the present invention is shown;
[0042] Figure 6 A schematic structural diagram of an electronic device proposed by the present invention is shown.
[0043] Figure identifier: 401 - mattress base; 402 - spring kit; 500 - mattress control device; 501 - acquisition module; 502 - first adjustment module; 503 - second adjustment module. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0045] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0046] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.
[0047] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0048] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. Terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.
[0049] Example 1
[0050] The disclosed embodiment provides a mattress control method for controlling a mattress to perform adaptive adjustments according to different objects, thereby optimizing the comfort and support of the mattress to adapt to the sleeping needs and body curves of different people.
[0051] See also Figure 1 The mattress control method includes steps S101 to S103, and each step is described in detail below.
[0052] Step S101, obtaining object feature information of an object in a preset area where a mattress to be adjusted is located, and performing identity recognition on the object according to the object feature information.
[0053] In this embodiment, when the user object needs to lie on the mattress to rest, the mattress may need to be adjusted. First, it is necessary to obtain the object feature information of the user object in the preset area where the mattress to be adjusted is located, and then identify the user object according to the object feature information, so as to determine whether the database has the mattress adjustment data of the user object.
[0054] For example, the object feature information of the object in the preset area where the mattress to be adjusted is located can be collected by an information collection device; wherein the information collection device includes but is not limited to at least one of an image collection device and a fingerprint collection device.
[0055] The object feature information may be information indicating the features of an object, and the user object may be identified through the uniqueness of the object feature information; for example, the object feature information may be a facial image, a motion image, or fingerprint information of the object.
[0056] For example, when the object feature information is a face image or an action image, the face image of the object can be collected by an image collection device, and the face image can be used as the object feature information. For another example, when the object feature information is fingerprint information, the fingerprint information of the object can be collected by a fingerprint collection device, and the fingerprint information can be used as the object feature information.
[0057] It should be noted that the object is a sleeping object who needs to rest on the mattress to be adjusted, and the preset area can be a pre-set area range where the information acquisition device can collect the object's characteristic information; specifically, for example, the preset area can refer to the area range where the image acquisition device can track and capture the object's characteristic information. The mattress adjustment data is used to adjust the hardness of the mattress to be adjusted.
[0058] Step S102, when the identity information is recognized, the environmental parameters of the preset area are obtained, and the mattress to be adjusted is adjusted based on the identity information and the environmental parameters.
[0059] In this embodiment, if the identity information of the user object is identified based on the object feature information, it can be known that the cloud has stored the relevant adjustment information of the user object, so the environmental parameters of the preset area where the mattress to be adjusted is located are continued to be obtained, and the mattress to be adjusted is adjusted according to the identity information of the user object and the current environmental parameters. Among them, the environmental parameters are parameters that affect the physical comfort of the human body. It should be noted that the current environmental parameters of the preset area can be detected by sensors or other detection equipment. Environmental parameters may include temperature, humidity and light brightness, and in other embodiments may also include parameters such as air flow rate, noise, air quality, etc., which are not limited in this embodiment. Therefore, environmental parameters can affect the sleep quality of the user object, so it is necessary to adjust the mattress to be adjusted in combination with the environmental parameters and the personal identity information of the user object, so as to meet the user object's demand for mattress hardness.
[0060] Step S103: when the identity information is not recognized, the object attribute information of the object is obtained, and the mattress to be adjusted is adjusted based on the object attribute information.
[0061] In this embodiment, if the identity information of the user object cannot be identified according to the object feature information, it can be known that the cloud does not store the relevant mattress adjustment information of the user object, so the object attribute information of the user object is directly obtained, and the mattress to be adjusted is adjusted according to the object attribute information of the user object. The user object can provide the object attribute information through voice prompts, and the user object can also input its own object attribute information to the electronic device through voice recognition.
[0062] Exemplarily, the voice information provided by the object may be analyzed and recognized to obtain the object attribute information of the user object; or the object attribute information directly entered by the user object on the electronic device may be directly obtained.
[0063] It should be noted that the object feature information and object attribute information of the present application are information obtained based on the individual consent of the object.
[0064] It should be noted that the object attribute information may be relevant physical characteristic information used to adjust the hardness of the mattress, such as height and weight, etc. Therefore, even if the identity information of the user object cannot be identified, the mattress to be adjusted can be adaptively adjusted according to the user object's personal object attribute information, thereby improving the user's experience of using the mattress.
[0065] In a specific embodiment, obtaining object feature information of an object in a preset area where the mattress to be adjusted is located includes: obtaining target operation information of the object; and obtaining object feature information based on the target operation information.
[0066] In this embodiment, before obtaining the object feature information of the object in the preset area to be adjusted, the user object can perform a target operation in the preset area, collect a target operation image of the user object performing the target operation through a camera or other image acquisition device, and obtain the target operation information of the user object based on the target operation image, thereby obtaining the object feature information of the user object on the premise that the user object performs the target operation. The target operation can be a specific gesture action or a trigger button or other behavior.
[0067] For example, the target operation image can be used as the target operation information; or the target operation image can be analyzed to obtain the target operation information of the object. Specifically, a feature extraction model can be used to extract features from the target operation image to obtain operation image features, and the operation image features can be used as the target operation information. The feature extraction model can be a self-attention neural network model, a CNN neural network model, or an image encoder.
[0068] Exemplarily, if the target operation is a specific gesture action, when the user object walks into the room where the mattress to be adjusted is located, the specific gesture action image of the user object is captured by the camera in the room; when the specific gesture image is obtained, the image is analyzed to obtain the specific gesture information in the specific gesture action image, that is, the target operation information; the electronic device turns on the sleep mode based on the target operation information, and controls the camera to continue to obtain the face image of the user object, so that the object feature information of the user object can be identified according to the face image. Among them, the specific gesture can be a gesture representing a number such as "1", "2", "3", or an "OK" gesture, which is not limited in this embodiment, and can also be other gestures in other embodiments.
[0069] See also Figure 2 In a specific embodiment, with respect to step S102, the mattress to be adjusted is adjusted based on the identity information and the environmental parameters, including steps S1021 to S1023, and each step is described in detail below.
[0070] Step S1021, determining the current sleeping scene of the preset area according to the environmental parameters.
[0071] In this embodiment, after obtaining the current environmental parameters of the preset area where the mattress to be adjusted is located, the current sleep scene of the preset area is further determined according to the environmental parameters and the scene classification standard. Among them, the sleep scenes are divided into ideal sleep scenes and undesirable sleep scenes. In this way, by distinguishing between ideal sleep scenes suitable for rest and undesirable sleep scenes not suitable for rest, a mattress hardness condition that is more conducive to sleep can be provided to the user in a targeted manner.
[0072] It should be noted that the electronic device can determine the scene type of the current sleep scene by judging whether the current environmental parameters meet the scene classification criteria of the ideal sleep scene; when any of the temperature, humidity and light brightness included in the environmental parameters does not meet the scene classification criteria of the ideal sleep scene, the sleep scene is determined to be an undesirable sleep scene; when the temperature, humidity and light brightness included in the environmental parameters all meet the scene classification criteria, the sleep scene is determined to be an ideal sleep scene.
[0073] For example, the scene classification standard for an ideal sleep scene is: temperature between 20℃-26℃; humidity between 40% and 70%; light brightness below 3000K color temperature, or completely dark. If the temperature in the current environmental parameters is 18℃, the humidity is 50%; and the light brightness is completely dark, it can be seen that the temperature of 18℃ in the current environmental parameters does not meet the temperature standard of 20℃-26℃ in the scene classification standard. Therefore, the sleep scene corresponding to the current environmental parameters should be an undesirable sleep scene.
[0074] Step S1022, obtaining mattress adjustment data according to the current sleeping scene and identity information.
[0075] In this embodiment, mattress adjustment data that fits the body curve of the user object and conforms to the current sleeping scene is obtained based on the personal identity information of the user object and the current sleeping scene of the preset area, thereby providing different mattress hardness conditions for the user object in different sleeping scenes. The mattress adjustment data may include adjustment data of the support part of the mattress, which is used to adjust the hardness of the mattress to be adjusted.
[0076] Exemplarily, the mattress adjustment data may be obtained by calculating a prediction function based on the current user object identity information and the current sleep scene, or the identity information and the sleep scene may be matched in an existing set containing mattress adjustment data and its corresponding identity information and sleep scene to obtain appropriate mattress adjustment data.
[0077] Step S1023, adjusting the mattress to be adjusted according to the mattress adjustment data.
[0078] In this embodiment, the mattress to be adjusted within the preset area is adjusted according to the matched mattress adjustment data, so that the mattress is accurately adjusted.
[0079] See also Figure 3 In a specific embodiment, step S1022 includes steps S201 to S202, and each step is described in detail below.
[0080] Step S201, obtaining a mapping relationship set, where the mapping relationship set includes mapping relationships among preset sleeping scenes, preset identity information, and preset mattress adjustment data.
[0081] In this embodiment, the mapping relationship set includes corresponding mapping relationships between preset sleep scenes, preset mattress adjustment data, and preset identity information. The mapping relationship set can be stored in the cloud or stored locally in the electronic device. When the mapping relationship set can be stored in the cloud, the electronic device can send a data request to the cloud so that the cloud returns the mapping relationship set to the electronic device based on the data request; the electronic device receives the mapping relationship set.
[0082] Generally speaking, the spring stiffness coefficient required for an ideal sleeping scene may be greater than the spring stiffness coefficient required for an undesirable sleeping scene; therefore, a preset identity information may correspond to at least two preset mattress adjustment data, and the two preset mattress adjustment data correspond to different preset sleeping scenes (ideal sleeping scene and undesirable sleeping scene).
[0083] It should be noted that the mapping relationship can be generated based on the preset identity information, preset mattress adjustment data and preset sleep scenarios stored by the user in the cloud, or it can be predicted and set based on the intelligent model. The intelligent model uses machine learning algorithms and big data analysis technology to conduct in-depth learning of the user's historical data, sleep scenarios and mattress usage records. Through continuous learning and optimization, the intelligent model can predict the mattress adjustment data that is most suitable for the user in different sleep scenarios.
[0084] Step S202: determining mattress adjustment data according to the current sleeping scene, identity information and mapping relationship set.
[0085] In this embodiment, the current sleeping scene and the current identity information are matched in a mapping set to find the preset identity information that is the same as the current identity information, and the preset sleeping scene that is the same as the current sleeping scene under the preset identity information, and the preset mattress adjustment data corresponding to the preset sleeping scene is used as the mattress adjustment data of the current user object, thereby obtaining the mattress adjustment data that is most suitable for the user object in the preset area at this time.
[0086] In a specific embodiment, adjusting the mattress to be adjusted based on the object attribute information includes: determining target mattress adjustment data according to the object attribute information; and adjusting the mattress to be adjusted according to the target mattress adjustment data.
[0087] In this embodiment, when the identity information of the user object is not recognized, suitable target mattress adjustment data can be determined according to the object attribute information provided by the user object, and the mattress to be adjusted can be adjusted according to the target mattress adjustment data. At this time, the target mattress adjustment data is calculated according to the personal attribute information of the user object, including the adjustment data of the support part of the mattress, which can meet the basic sleeping hardness requirements of the user object.
[0088] In a specific embodiment, determining the target mattress adjustment data according to the object attribute information includes: fusing the preset coefficient and the object attribute information to obtain the mattress hardness index; and mapping the mattress hardness index to obtain the target mattress adjustment data.
[0089] In this embodiment, the user object's height, weight and other object attribute information are integrated through a preset function to obtain a mattress hardness index, and then mapped according to the mattress hardness index to obtain target mattress adjustment data. The preset function is: MHI = a × log (w) + b × h + c, where MHI is the mattress hardness index, w is the user object's weight, h is the user object's height, a, b, c are coefficients pre-set according to mattress design, ergonomic research and market research, respectively, to balance the effects of weight and height. Alternatively, a trained artificial intelligence model is used to predict based on the user object's height, weight and other object attribute information and sleeping scenes to obtain appropriate recommended mattress adjustment data. In this way, the target mattress adjustment data obtained based on the object attribute information such as height and weight can meet the basic comfort requirements of the user object.
[0090] Step S105, controlling the mattress to be adjusted to be adjusted according to the target mattress adjustment data.
[0091] In this embodiment, the cloud controls the mattress to be adjusted in the user's room according to the target mattress adjustment data. In this way, it can be ensured that the mattress on which the user sleeps is personalized to adapt to the user's personal situation and the current sleeping scene in the user's room, thereby improving the user's sleeping experience.
[0092] In a specific embodiment, adjusting the mattress to be adjusted according to the mattress adjustment data includes: determining a target spring component of the mattress to be adjusted according to the mattress adjustment data; and adjusting the target spring component according to the mattress adjustment data.
[0093] In this embodiment, after the identity information of the user object is recognized and the corresponding mattress adjustment data is obtained, the target spring of the support part in the mattress to be adjusted is determined according to the mattress adjustment data, and the target spring is adjusted according to the mattress adjustment data.
[0094] Correspondingly, when the identity information of the user object is not recognized and the corresponding target mattress adjustment data is obtained, the target spring member of the support part in the mattress to be adjusted is determined according to the target mattress adjustment data, and then the target spring member is adjusted according to the target mattress adjustment data.
[0095] For example, see Figure 4 The overall structure of the mattress to be adjusted includes a mattress base 401, a spring kit 402 (carbon fiber spring) and a cushion. The spring kit 402 is installed on the mattress base 401, and the cushion is laid on the spring kit. Figure 4 Not yet shown.
[0096] Exemplarily, when the mattress to be adjusted is adjusted according to the mattress adjustment data or the target mattress adjustment data, if a rotating mechanism is provided in the mattress to be adjusted, and a plurality of spring kits 402 of different specifications are stored on the rotating mechanism, the adjustment of the target spring member can be completed by controlling the rotating mechanism. First, the rotating mechanism is controlled to move downward, then rotated to the target spring member, and then the rotating mechanism is controlled to move upward, so that the rotating mechanism brings the target spring member to the correct position, thus completing the assembly of the target spring member and setting the target spring member as the current spring kit.
[0097] Alternatively, the spring kit uses an air spring. When adjusting the mattress, the inflation data of the target spring can be determined through the mattress adjustment data or the target mattress adjustment data, and the inflation degree of the air spring can be adjusted based on the inflation data. It should be noted that if the hardness or support force of the mattress does not match the user's needs, it may cause the user to feel discomfort or pain. By controlling the mattress to be adjusted before the user lies on the mattress, such discomfort can be effectively avoided, ensuring that the user can enjoy high-quality sleep.
[0098] The mattress control method proposed in this embodiment obtains the object characteristic information of the object in the preset area where the mattress to be adjusted is located, and identifies the object according to the object characteristic information; when the identity information is identified, the environmental parameters of the preset area are obtained, and the mattress to be adjusted is adjusted based on the identity information and the environmental parameters; when the identity information is not identified, the object attribute information of the object is obtained, and the mattress to be adjusted is adjusted based on the object attribute information. Since the present application can obtain the mattress adjustment data corresponding to the mattress to be adjusted through the characteristic information or object attribute information of the object, and perform adaptive adjustment of the mattress according to the individual differences based on the mattress adjustment data, the adjusted mattress can be adapted to the body information of the sleeping object, so that the mattress can automatically provide personalized support for different objects, fit the body curves of different objects, and then make the user feel like being hugged, so as to improve the mattress usage experience of the object.
[0099] Example 2
[0100] In addition, the present disclosure provides a mattress control device 500, see Figure 5 , the device comprises:
[0101] An acquisition module 501 is used to acquire object feature information of an object in a preset area where the mattress to be adjusted is located, and to identify the object according to the object feature information;
[0102] The first adjustment module 502 is used to obtain environmental parameters of a preset area when the identity information is recognized, and adjust the mattress to be adjusted based on the identity information and the environmental parameters;
[0103] The second adjustment module 503 is used to obtain object attribute information of the object when the identity information is not recognized, and adjust the mattress to be adjusted based on the object attribute information.
[0104] Optionally, the first adjustment module 502 is used to determine the current sleeping scene of the preset area according to the environmental parameters; obtain mattress adjustment data according to the current sleeping scene and identity information; and adjust the mattress to be adjusted according to the mattress adjustment data.
[0105] Optionally, the first adjustment module 502 is used to obtain a mapping relationship set, the mapping relationship set including mapping relationships between preset sleep scenes, preset identity information and preset mattress adjustment data; and determine the mattress adjustment data according to the current sleep scene, identity information and the mapping relationship set.
[0106] Optionally, the first adjustment module 502 is configured to determine a target spring component of a mattress to be adjusted according to mattress adjustment data; and adjust the target spring component according to the mattress adjustment data.
[0107] Optionally, the second adjustment module 503 is used to determine target mattress adjustment data according to the object attribute information; and adjust the mattress to be adjusted according to the target mattress adjustment data.
[0108] Optionally, the second adjustment module 503 is used to fuse the preset coefficient and the object attribute information to obtain a mattress hardness index; and map the mattress hardness index to obtain target mattress adjustment data.
[0109] Optionally, the acquisition module 501 is used to acquire target operation information of an object in a preset area where the mattress to be adjusted is located; and acquire object feature information based on the target operation information.
[0110] The device provided in the embodiment of the present disclosure can execute the steps of the mattress control method provided in Example 1, which will not be described again to avoid repetition.
[0111] The mattress control device proposed in this embodiment obtains the object characteristic information of the object in the preset area where the mattress to be adjusted is located, and identifies the object according to the object characteristic information; when the identity information is identified, the environmental parameters of the preset area are obtained, and the mattress to be adjusted is adjusted based on the identity information and the environmental parameters; when the identity information is not identified, the object attribute information of the object is obtained, and the mattress to be adjusted is adjusted based on the object attribute information. Since the present application can obtain the mattress adjustment data corresponding to the mattress to be adjusted through the characteristic information or object attribute information of the object, and perform adaptive adjustment of the mattress according to the individual differences based on the mattress adjustment data, the adjusted mattress can be adapted to the body information of the sleeping object, so that the mattress can automatically provide personalized support for different objects, fit the body curves of different objects, and then make the user feel like being hugged, so as to improve the mattress usage experience of the object.
[0112] Example 3
[0113] In one embodiment, an electronic device is provided. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The electronic device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store object attribute information, object feature information, identity information, and mattress adjustment data. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a mattress adjustment method is implemented.
[0114] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0115] Example 4
[0116] The embodiment of the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the mattress control method of the embodiment 1 is implemented.
[0117] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0118] The computer-readable storage medium provided in this embodiment can implement the mattress control method provided in Embodiment 1, and will not be described again here to avoid repetition.
[0119] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.
[0120] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0121] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention.
Claims
1. A mattress control method, characterized in that: The method comprises: Acquire object feature information of an object in a preset area where the mattress to be adjusted is located, and identify the object according to the object feature information; When the identity information is identified, the environmental parameters of the preset area are acquired, and the mattress to be adjusted is adjusted based on the identity information and the environmental parameters; When the identity information is not recognized, object attribute information of the object is obtained, and the mattress to be adjusted is adjusted based on the object attribute information.
2. The mattress control method according to claim 1, characterized in that: The step of adjusting the mattress to be adjusted based on the identity information and the environmental parameters includes: determining a current sleeping scene of the preset area according to the environmental parameters; Acquiring the mattress adjustment data according to the current sleeping scene and the identity information; The mattress to be adjusted is adjusted according to the mattress adjustment data.
3. The mattress control method according to claim 2, characterized in that: The obtaining of the mattress adjustment data according to the current sleeping scene and the identity information includes: Acquire a mapping relationship set, wherein the mapping relationship set includes mapping relationships between preset sleep scenes, preset identity information, and preset mattress adjustment data; The mattress adjustment data is determined according to the current sleeping scene, the identity information and the mapping relationship set.
4. The mattress control method according to claim 2, characterized in that: The step of adjusting the mattress to be adjusted according to the mattress adjustment data comprises: Determining a target spring member of the mattress to be adjusted according to the mattress adjustment data; The target spring member is adjusted according to the mattress adjustment data.
5. The mattress control method according to claim 1, characterized in that: The step of adjusting the mattress to be adjusted based on the object attribute information includes: determining target mattress adjustment data according to the object attribute information; The mattress to be adjusted is adjusted according to the target mattress adjustment data.
6. The mattress control method according to claim 5, characterized in that: The step of determining target mattress adjustment data according to the object attribute information includes: The preset coefficient and the object attribute information are integrated to obtain a mattress hardness index; The mattress hardness index is mapped to obtain the target mattress adjustment data.
7. The mattress control method according to claim 1, characterized in that: The step of obtaining object feature information of an object within a preset area where the mattress to be adjusted is located includes: Acquire target operation information of an object in a preset area where the mattress to be adjusted is located; The object feature information is acquired based on the target operation information.
8. A mattress control device, characterized in that: The device comprises: An acquisition module, used to acquire object feature information of an object in a preset area where the mattress to be adjusted is located, and to identify the object according to the object feature information; A first adjustment module, configured to obtain environmental parameters of the preset area when the identity information is identified, and adjust the mattress to be adjusted based on the identity information and the environmental parameters; The second adjustment module is used to obtain object attribute information of the object when the identity information is not recognized, and adjust the mattress to be adjusted based on the object attribute information.
9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the mattress control method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: It stores a computer program, and when the computer program is executed by a processor, the mattress control method according to any one of claims 1 to 7 is implemented.
