[go: up one dir, main page]

CN115670169A - Intelligent mattress mode setting method and device, intelligent mattress and storage medium - Google Patents

Intelligent mattress mode setting method and device, intelligent mattress and storage medium Download PDF

Info

Publication number
CN115670169A
CN115670169A CN202211355207.1A CN202211355207A CN115670169A CN 115670169 A CN115670169 A CN 115670169A CN 202211355207 A CN202211355207 A CN 202211355207A CN 115670169 A CN115670169 A CN 115670169A
Authority
CN
China
Prior art keywords
partition
mattress
mode
partitions
smart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211355207.1A
Other languages
Chinese (zh)
Inventor
王炳坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
De Rucci Healthy Sleep Co Ltd
Original Assignee
De Rucci Healthy Sleep Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by De Rucci Healthy Sleep Co Ltd filed Critical De Rucci Healthy Sleep Co Ltd
Priority to CN202211355207.1A priority Critical patent/CN115670169A/en
Publication of CN115670169A publication Critical patent/CN115670169A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种智能床垫模式设置方法及装置、智能床垫、存储介质,该方法包括:接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置分区模式,且第一模式设置指令包含智能床垫的分区数目;将智能床垫划分成数量上与分区数目相匹配的分区;获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区;根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型,并输出至智能床垫连接的显示设备进行显示;能够对智能床垫预设分区模式,并针对分区模式进行个性化设置,而且能够将分区调整后的智能床垫以3D呈现直观效果,有利于帮助用户进一步客观调整床垫,满足个人所需。

Figure 202211355207

The embodiment of the present application discloses a smart mattress mode setting method and device, a smart mattress, and a storage medium. The method includes: receiving a first mode setting instruction, and the first mode setting instruction is used to request to change the mode of the smart mattress to Switch to the partition mode and set the partition mode, and the first mode setting instruction includes the partition number of the smart mattress; divide the smart mattress into partitions that match the number of partitions; obtain the sub-adjustment information corresponding to each partition, and Adjust the corresponding partition according to the sub-adjustment information corresponding to the partition; according to all the adjusted partitions, the smart mattress will generate a 3D mattress model in the partition mode, and output it to the display device connected to the smart mattress for display; the smart mattress can be displayed The partition mode is preset, and personalized settings are made for the partition mode, and the smart mattress after the partition adjustment can be presented in 3D, which is beneficial to help users further objectively adjust the mattress to meet personal needs.

Figure 202211355207

Description

一种智能床垫模式设置方法及装置、智能床垫、存储介质A smart mattress mode setting method and device, smart mattress, storage medium

技术领域technical field

本申请涉及智能床垫技术领域,尤其涉及一种智能床垫模式设置方法及装置、智能床垫、存储介质。The present application relates to the technical field of smart mattresses, in particular to a method and device for setting a smart mattress mode, a smart mattress, and a storage medium.

背景技术Background technique

随着生活质量的提高,人们对床垫的功能需求不再局限于用于睡眠的普通模式,进一步还希望能够满足自身的一些个性化需求,可以根据自身条件进行调整,以达到有效缓解身体疲劳,甚至达到有效治疗一些颈腰椎等疾病。因此,本领域技术人员一直在床垫的智能化上不断探索。With the improvement of the quality of life, people's functional requirements for mattresses are no longer limited to the ordinary mode for sleeping, and further hope to meet some of their own individual needs, which can be adjusted according to their own conditions to effectively relieve physical fatigue. , and even achieve effective treatment of some cervical and lumbar diseases. Therefore, those skilled in the art are constantly exploring on the intelligence of mattresses.

发明内容Contents of the invention

本申请实施例公开了一种智能床垫模式设置方法及装置、智能床垫、存储介质,能够对智能床垫的模式进行个性化设置,以满足个人所需。The embodiment of the present application discloses an intelligent mattress mode setting method and device, an intelligent mattress, and a storage medium, which can personalize the mode of the intelligent mattress to meet individual needs.

本申请实施例第一方面公开了一种智能床垫模式设置方法,可包括:The first aspect of the embodiment of the present application discloses a smart mattress mode setting method, which may include:

接收第一模式设置指令,所述第一模式设置指令用于请求将所述智能床垫的模式切换成分区模式并设置所述分区模式,且所述第一模式设置指令包含所述智能床垫的分区数目;Receive a first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the smart mattress to a partition mode and set the partition mode, and the first mode setting instruction includes the smart mattress the number of partitions;

将所述智能床垫划分成数量上与所述分区数目相匹配的分区;dividing the intelligent mattress into partitions whose number matches the number of partitions;

获取每个所述分区对应的子调整信息,并根据所述分区对应的子调整信息调整对应分区,所述子调整信息包括对应分区的厚度及软硬度;Acquiring sub-adjustment information corresponding to each of the partitions, and adjusting the corresponding partition according to the sub-adjustment information corresponding to the partition, the sub-adjustment information including the thickness and hardness of the corresponding partition;

根据所有调整后的分区,将所述智能床垫生成所述分区模式下的3D床垫模型;According to all the adjusted partitions, generate the 3D mattress model under the partition mode with the smart mattress;

将所述3D床垫模型输出至所述智能床垫连接的显示设备进行显示。The 3D mattress model is output to a display device connected to the smart mattress for display.

作为一种可选的实施方式,在本申请实施例第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present application, the method further includes:

接收第二模式设置指令,所述第二模式设置指令用于请求将所述智能床垫的模式切换成普通模式并设置所述普通模式;Receiving a second mode setting instruction, the second mode setting instruction is used to request to switch the mode of the smart mattress to a normal mode and set the normal mode;

获取所述普通模式的预设调整信息调整所述智能床垫,所述预设调整信息包括所述智能床垫的厚度及软硬度。Acquiring the preset adjustment information of the normal mode to adjust the smart mattress, the preset adjustment information including the thickness and hardness of the smart mattress.

作为一种可选的实施方式,在本申请实施例第一方面中,每个所述分区对应的子调整信息各不相同。As an optional implementation manner, in the first aspect of the embodiments of the present application, the sub-adjustment information corresponding to each partition is different.

作为一种可选的实施方式,在本申请实施例第一方面中,所述将所述3D床垫模型输出至所述智能床垫连接的显示设备进行显示之后,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present application, after outputting the 3D mattress model to the display device connected to the smart mattress for display, the method further includes:

检测是否接收到对目标分区的重调指令,所述重调指令包含所述目标分区的重调信息,所述重调信息包括对所述目标分区的子调整信息重调后获得的厚度及软硬度,所述目标分区为所述智能床垫的所有分区中的任意一个;Detecting whether a readjustment instruction for the target partition is received, the readjustment instruction includes readjustment information of the target partition, and the readjustment information includes the thickness and softness obtained after readjusting the sub-adjustment information of the target partition. Hardness, the target partition is any one of all partitions of the smart mattress;

若是,根据所述重调信息对所述目标分区重新调整,执行所述根据所有调整后的分区,将所述智能床垫生成所述分区模式下的3D床垫模型的步骤。If so, readjust the target partition according to the readjustment information, and execute the step of generating a 3D mattress model in the partition mode for the smart mattress based on all the adjusted partitions.

作为一种可选的实施方式,在本申请实施例第一方面中,所述将所述3D床垫模型输出至所述智能床垫连接的显示设备进行显示,包括:As an optional implementation manner, in the first aspect of the embodiment of the present application, the outputting the 3D mattress model to the display device connected to the smart mattress for display includes:

将所述3D床垫模型以可编辑界面输出至所述智能床垫连接的显示设备进行显示,所述可编辑界面包括显示有所述3D床垫模型的主区域、显示有每个分区分别对应的子调整信息的编辑栏;The 3D mattress model is output to the display device connected to the smart mattress for display with an editable interface, the editable interface includes the main area where the 3D mattress model is displayed, and each partition is displayed corresponding to The edit bar for sub-adjustment information;

所述检测是否接收到对目标分区的重调指令,包括:The detecting whether a readjustment instruction to the target partition is received includes:

检测是否对所述可编辑界面的编辑栏上的目标分区的子调整信息进行调整,若是,检测接收到包括所述重调信息的重调指令。Detecting whether to adjust the sub-adjustment information of the target partition on the edit bar of the editable interface, and if so, detecting that a readjustment instruction including the readjustment information is received.

本申请实施例第二方面公开了一种智能床垫模式设置装置,可包括:The second aspect of the embodiment of the present application discloses an intelligent mattress mode setting device, which may include:

获取模块,用于接收第一模式设置指令,所述第一模式设置指令用于请求将所述智能床垫的模式切换成分区模式并设置所述分区模式,且所述第一模式设置指令包含所述智能床垫的分区数目;An acquisition module, configured to receive a first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the intelligent mattress to a partition mode and set the partition mode, and the first mode setting instruction includes the number of partitions of the intelligent mattress;

分区模块,用于将所述智能床垫划分成数量上与所述分区数目相匹配的分区;A partition module, used to divide the smart mattress into partitions whose number matches the number of partitions;

调整模块,用于获取每个所述分区对应的子调整信息,并根据所述分区对应的子调整信息调整对应分区,所述子调整信息包括对应分区的厚度及软硬度;An adjustment module, configured to acquire sub-adjustment information corresponding to each partition, and adjust the corresponding partition according to the sub-adjustment information corresponding to the partition, where the sub-adjustment information includes the thickness and hardness of the corresponding partition;

生成模块,用于根据所有调整后的分区,将所述智能床垫生成所述分区模式下的3D床垫模型;A generating module, configured to generate a 3D mattress model for the smart mattress in the partition mode according to all adjusted partitions;

显示模块,用于将所述3D床垫模型输出至所述智能床垫连接的显示设备进行显示。A display module, configured to output the 3D mattress model to a display device connected to the smart mattress for display.

作为一种可选的实施方式,在本申请实施例第二方面中,所述获取模块,还用于接收第二模式设置指令,所述第二模式设置指令用于请求将所述智能床垫的模式切换成普通模式并设置所述普通模式;As an optional implementation manner, in the second aspect of the embodiment of the present application, the acquisition module is further configured to receive a second mode setting instruction, and the second mode setting instruction is used to request that the smart mattress The mode of the mode is switched to the normal mode and the normal mode is set;

所述调整模块,还用于获取所述普通模式的预设调整信息调整所述智能床垫,所述预设调整信息包括所述智能床垫的厚度及软硬度。The adjustment module is further configured to obtain preset adjustment information of the normal mode to adjust the smart mattress, and the preset adjustment information includes the thickness and hardness of the smart mattress.

本申请实施例第三方面公开了一种智能床垫,可包括:The third aspect of the embodiment of the present application discloses a smart mattress, which may include:

包括本申请实施例第二方面所述的智能床垫模式设置装置。It includes the intelligent mattress mode setting device described in the second aspect of the embodiment of the present application.

本申请实施例第四方面公开了一种智能床垫,可包括:The fourth aspect of the embodiment of the present application discloses a smart mattress, which may include:

存储有可执行程序代码的存储器;a memory storing executable program code;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行本申请实施例第一方面公开的一种智能床垫模式设置方法。The processor invokes the executable program code stored in the memory to execute a method for setting a smart mattress mode disclosed in the first aspect of the embodiments of the present application.

本申请实施例第五方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本申请实施例第一方面公开的一种智能床垫模式设置方法。The fifth aspect of the embodiment of the present application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes the computer to execute the method for setting the smart mattress mode disclosed in the first aspect of the embodiment of the present application.

本申请实施例第六方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。The sixth aspect of the embodiments of the present application discloses a computer program product, which, when running on a computer, causes the computer to execute part or all of the steps of any method of the first aspect.

本申请实施例第七方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。The seventh aspect of the embodiments of the present application discloses an application release platform, the application release platform is used to release computer program products, wherein, when the computer program products are run on a computer, the computer is made to execute any Some or all steps of a method.

与现有技术相比,本申请实施例具有以下有益效果:Compared with the prior art, the embodiment of the present application has the following beneficial effects:

在本申请实施例中,接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置该分区模式,该第一模式设置指令包含智能床垫的分区数目,将智能床垫划分成数量上与分区数目相匹配的分区,获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度,根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型,将3D床垫模型输出至智能床垫连接的显示设备进行显示;通过实施本申请实施例,能够对智能床垫预设分区模式,并针对分区模式进行个性化设置,获得自己喜欢的厚度和软硬度,而且能够将分区调整后的智能床垫,以3D呈现直观效果,有利于帮助用户进一步客观调整床垫,满足个人所需。In the embodiment of the present application, the first mode setting instruction is received, and the first mode setting instruction is used to request to switch the mode of the smart mattress to the partition mode and set the partition mode, and the first mode setting instruction includes the smart mattress The number of partitions, divide the smart mattress into partitions whose number matches the number of partitions, obtain the sub-adjustment information corresponding to each partition, and adjust the corresponding partitions according to the sub-adjustment information corresponding to the partitions. The sub-adjustment information includes the thickness of the corresponding partitions And softness, according to all the adjusted partitions, the smart mattress generates a 3D mattress model in the partition mode, and the 3D mattress model is output to the display device connected to the smart mattress for display; by implementing the embodiments of the present application, It is possible to preset the partition mode for the smart mattress, and personalize the partition mode to obtain the thickness and hardness that you like, and the smart mattress that can adjust the partition can present an intuitive effect in 3D, which is beneficial to help users Further objectively adjust the mattress to meet individual needs.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本申请实施例一公开的智能床垫模式设置方法的流程示意图;FIG. 1 is a schematic flow diagram of a method for setting a smart mattress mode disclosed in Embodiment 1 of the present application;

图2为本申请实施例二公开的智能床垫模式设置方法的流程示意图;Fig. 2 is a schematic flow chart of the method for setting the smart mattress mode disclosed in Embodiment 2 of the present application;

图3为本申请实施例三公开的智能床垫模式设置方法的流程示意图;Fig. 3 is a schematic flow chart of a method for setting a smart mattress mode disclosed in Embodiment 3 of the present application;

图4为本申请实施例一公开的智能床垫模式设置装置的结构示意图;Fig. 4 is a schematic structural diagram of the smart mattress mode setting device disclosed in Embodiment 1 of the present application;

图5为本申请实施例二公开的智能床垫模式设置装置的结构示意图;Fig. 5 is a schematic structural diagram of the smart mattress mode setting device disclosed in Embodiment 2 of the present application;

图6为本申请实施例公开的床垫的结构示意图;Fig. 6 is a schematic structural view of a mattress disclosed in an embodiment of the present application;

图7为本申请实施例公开的智能床垫模式设置方法的应用场景示意图;FIG. 7 is a schematic diagram of an application scenario of a method for setting a smart mattress mode disclosed in an embodiment of the present application;

图8为本申请实施例公开的智能床垫的分区示意图。Fig. 8 is a schematic diagram of partitions of the smart mattress disclosed in the embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some, not all, embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

需要说明的是,本申请的说明书和权利要求书中的术语“第一”、“第二”、“第三”及“第四”等是用于区别不同的对象,而不是用于描述特定顺序。本申请实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", "third" and "fourth" in the description and claims of this application are used to distinguish different objects, rather than to describe specific order. The terms "comprising" and "having" and any variations thereof in the embodiments of the present application are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to expressly instead of those steps or elements listed, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

在本申请的一些应用场景中,如图7所示,本申请实施例公开的智能床垫可以包括从上至下依次设置的上层布料层(可以是3D布料层)、床垫本体和下层布料层(可以是3D布料层),智能床垫可以预先设置有普通模式和分区模式,普通模式中整张床垫作为一个整体,不进行分区,对普通模式预设调整信息,预设调整信息包括智能床垫的厚度及软硬度,即普通模式下的智能床垫整张床垫都采用一致的厚度及软硬度。在分区模式下,用户可以自己设置分区的数目,比如设置2个分区,那么智能床垫被划分成2个分区,并可以自己设置每个分区的用于调整厚度及软硬度的子调整信息,智能床垫根据子调整信息调整对应的分区,一个子调整信息对应一个分区,那么一个子调整信息用于调整一个分区,各个子调整信息可以各不相同,也可以是部分相同,比如,分区数目为3个时,可以3个分区的子调整信息都各不相同,也可以有其中2个分区的子调整信息相同,另一个分区与前2个分区的子调整信息不同,从而实现个性化设置,可以满足到躺在每个分区上的用户的具体需求。In some application scenarios of the present application, as shown in Figure 7, the smart mattress disclosed in the embodiment of the present application may include an upper fabric layer (which may be a 3D fabric layer), a mattress body, and a lower fabric layer arranged sequentially from top to bottom. layer (can be a 3D fabric layer), the smart mattress can be pre-set with normal mode and partition mode. In normal mode, the whole mattress is taken as a whole without partitioning. For normal mode, the preset adjustment information includes: The thickness and hardness of the intelligent mattress, that is, the entire mattress of the intelligent mattress in normal mode adopts the same thickness and hardness. In the partition mode, the user can set the number of partitions by himself. For example, if two partitions are set, the smart mattress will be divided into two partitions, and the user can set the sub-adjustment information for each partition to adjust the thickness and hardness. , the smart mattress adjusts the corresponding partition according to the sub-adjustment information, one sub-adjustment information corresponds to one partition, then one sub-adjustment information is used to adjust one partition, and each sub-adjustment information can be different or partly the same, for example, partition When the number is 3, the sub-adjustment information of the three partitions can be different, or the sub-adjustment information of two partitions can be the same, and the sub-adjustment information of the other partition can be different from the first two partitions, so as to realize personalization Settings that can meet the specific needs of users lying on each partition.

智能床垫还可以配备有显示设备,用户通过显示设备可以查看自己前一晚的睡眠参数,用户还可以通过显示设备输入控制指令控制智能床垫,包括输入指令对智能床垫进行分区和厚度、软硬度调整等。The smart mattress can also be equipped with a display device, through which the user can check the sleep parameters of the previous night, and the user can also input control commands through the display device to control the smart mattress, including inputting commands to partition and thickness of the smart mattress, Hardness adjustment, etc.

智能床垫还内置有多个压力传感器,多个压力传感器可以呈矩阵点阵状排布,可以通过压力传感器检测到智能床垫表面的压力信息,然后根据压力信号情况可以获取到用户身体各部位在智能床垫上的分布情况。The smart mattress also has multiple built-in pressure sensors, which can be arranged in a matrix and dot matrix. The pressure information on the surface of the smart mattress can be detected through the pressure sensors, and then various parts of the user's body can be obtained according to the pressure signal. Distribution on smart mattresses.

智能床垫还可以设置麦克风,可以采集语音控制指令,通过语音控制指令来控制智能床垫,包括调整智能床垫的厚度及软硬度,还可以用于控制智能床垫的部分升高或降落等。The smart mattress can also be equipped with a microphone, which can collect voice control commands and control the smart mattress through voice control commands, including adjusting the thickness and hardness of the smart mattress, and can also be used to control the rise or fall of the smart mattress wait.

基于上述介绍的智能床垫,本申请实施例公开了一种智能床垫模式设置方法及装置、智能床垫、存储介质,能够对智能床垫的模式进行个性化设置,以满足个人所需。Based on the smart mattress described above, the embodiment of the present application discloses a smart mattress mode setting method and device, a smart mattress, and a storage medium, which can personalize the smart mattress mode to meet individual needs.

请参阅图1,图1为本申请实施例一公开的智能床垫模式设置方法的流程示意图;如图1所示,该智能床垫模式设置方法可包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for setting a smart mattress mode disclosed in Embodiment 1 of the present application; as shown in FIG. 1, the method for setting a smart mattress mode may include:

101、接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置分区模式,且第一模式设置指令包含智能床垫的分区数目。101. Receive a first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the smart mattress to a partition mode and set the partition mode, and the first mode setting instruction includes the number of partitions of the smart mattress.

其中,本申请实施例的执行主体为智能床垫,该智能床垫预先设置有普通模式和分区模式,普通模式中整张床垫作为一个整体,不进行分区,对普通模式预设调整信息,该预设调整信息包括智能床垫的厚度及软硬度,即普通模式下的智能床垫整张床垫都采用一致的厚度及软硬度。在本申请实施例中,用户也可以选择切换成分区模式,在分区模式下可以进行个性化设置。Among them, the execution subject of the embodiment of the present application is a smart mattress, and the smart mattress is preset with a normal mode and a partition mode. In the normal mode, the entire mattress is taken as a whole, and no partition is performed. The preset adjustment information includes the thickness and firmness of the intelligent mattress, that is, the entire mattress of the intelligent mattress in the normal mode adopts a consistent thickness and firmness. In the embodiment of the present application, the user can also choose to switch to the partition mode, and can perform personalized settings in the partition mode.

可选的,上述接收第一模式设置指令可以包括以下步骤:Optionally, the above-mentioned receiving of the first mode setting instruction may include the following steps:

通过智能床垫的麦克风采集语音指令,检测该语音指令是否包含有指示切换成分区模式的指令以及分区数目,若有,确定检测到第一模式设置指令;通过该实施方式,能够实现智能床垫的语音控制,通过语音控制智能床垫切换成分区模式并设置分区数目。Collect voice instructions through the microphone of the smart mattress, detect whether the voice instructions include an instruction to switch to partition mode and the number of partitions, and if so, determine that the first mode setting instruction has been detected; through this embodiment, the smart mattress can be realized Voice control, switch the smart mattress to partition mode and set the number of partitions through voice control.

另一可选的,上述接收第一模式设置指令可以包括以下步骤:Alternatively, the above-mentioned receiving of the first mode setting instruction may include the following steps:

检测用户在显示设备上输入的第一模式设置指令,通过该实施方式,用户可以通过显示设备去触发输入第一模式设置指令,以将智能床垫模式切换至分区模式,利用显示设备可以更加直观且便于操作。Detect the first mode setting command input by the user on the display device. Through this embodiment, the user can trigger the input of the first mode setting command through the display device to switch the smart mattress mode to the partition mode. Using the display device can be more intuitive And easy to operate.

其中,显示设备可以为触摸屏,检测用户对“设置”虚拟按键的触压操作,选择进入设置界面,进一步检测用户对设置界面中的“分区模式”虚拟按键的触压操作,进入分区模式的设置界面,在分区模式的设置界面中输入分区数目,显示设备将分区数目反馈给智能床垫,对于智能床垫而言,确定接收到第一模式设置指令,在该实施方式中,可以利用显示设备的触摸屏实现便捷的模式设置。Wherein, the display device may be a touch screen, which detects the user's touch operation on the "settings" virtual key, selects to enter the setting interface, further detects the user's touch operation on the "partition mode" virtual key in the setting interface, and enters the setting of the partition mode interface, enter the number of partitions in the partition mode setting interface, and the display device will feed back the number of partitions to the smart mattress. For the smart mattress, it is determined that the first mode setting instruction has been received. In this embodiment, the display device can be used The unique touch screen realizes convenient mode setting.

102、将智能床垫划分成数量上与分区数目相匹配的分区。102. Divide the smart mattress into partitions whose number matches the number of partitions.

在本申请实施例中,智能床垫在接收到第一模式设置指令后,若智能床垫的当前模式为普通模式,将智能床垫的模式从普通模式切换成分区模式,若智能床垫的当前模式为分区模式,保持智能床垫的模式在分区模式。然后在分区模式下,将智能床垫划分成数量上与分区数目相匹配的分区,比如,当分区数目为2时,将智能床垫划分成2个分区。In the embodiment of the present application, after the smart mattress receives the first mode setting instruction, if the current mode of the smart mattress is the normal mode, switch the mode of the smart mattress from the normal mode to the partition mode, if the smart mattress The current mode is the partition mode, keep the mode of the smart mattress in the partition mode. Then in the partition mode, the smart mattress is divided into partitions whose number matches the number of partitions. For example, when the number of partitions is 2, the smart mattress is divided into 2 partitions.

可选的,将智能床垫按照从床头至床尾的方向划分成数量上与分区数目相匹配的分区,贴合智能床垫本身设置的睡眠方向,将智能床垫从床头至床尾的方向进行划分。Optionally, divide the smart mattress into partitions whose number matches the number of partitions according to the direction from the head of the bed to the end of the bed. to divide.

进一步的,智能床垫可以先获取每个分区对应的用户的身高和体重,根据身高和体重计算每个分区用户所需要分区的大小,当计算出的所需要分区的实际大小都小于智能床垫平均划分后的分区大小时,智能床垫平均划分成与分区数目数量相等的分区,当计算得到某一个分区所需的实际大小大于智能床垫平均划分后的分区大小时,但其他分区的实际大小小于平均划分后的分区大小时,可以在确保满足其他分区的实际大小的基础上,将富余的空间划分部分或者全部给上述某一个分区,以确保某一个分区的大小能够尽可能地满足所需要的实际大小。通过该实施方式,用户可以根据身高和体重进行分区大小的灵活调整,以提供最舒适的睡眠分区给到各个用户。Further, the smart mattress can first obtain the height and weight of the user corresponding to each partition, and calculate the size of the partition required by the user for each partition according to the height and weight. When the calculated actual size of the required partition is smaller than the smart mattress When the average partition size is obtained, the smart mattress is divided into partitions equal to the number of partitions. When the calculated actual size of a certain partition is greater than the average partition size of the smart mattress, the actual size of other partitions When the size is smaller than the average partition size, you can allocate part or all of the surplus space to one of the above partitions on the basis of ensuring that the actual size of other partitions is met, so as to ensure that the size of a certain partition can meet all partitions as much as possible. Actual size required. Through this embodiment, the user can flexibly adjust the partition size according to the height and weight, so as to provide the most comfortable sleeping partition for each user.

可选的,在步骤101中,若第一模式设置指令为显示设备检测并反馈给智能床垫,进而,在步骤102中,智能床垫根据第一模式设置指令包含的分区数目,将智能床垫划分成分区数目对应的分区后,对每个分区进行ID或编号设置,还可以以平面图形式表示智能床垫,并在智能床垫上标注左右方向及利用ID或编号对每个分区进行标识,然后将平面图发送给显示设备,有利于用户直观确认分区是否正确,以及有利于用户后续的操作。Optionally, in step 101, if the first mode setting command is detected by the display device and fed back to the smart mattress, then, in step 102, the smart mattress sets the smart bed according to the number of partitions included in the first mode setting command. After the mattress is divided into partitions corresponding to the number of partitions, set the ID or number for each partition. You can also represent the smart mattress in the form of a plan, and mark the left and right directions on the smart mattress and use the ID or number to identify each partition. , and then send the floor plan to the display device, which is beneficial to the user to visually confirm whether the partition is correct, and to facilitate the user's subsequent operations.

103、获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度。103. Obtain sub-adjustment information corresponding to each partition, and adjust the corresponding partition according to the sub-adjustment information corresponding to the partition, where the sub-adjustment information includes the thickness and hardness of the corresponding partition.

在本申请实施例中,智能床垫根据用户的第一模式设置指令切换成分区模式,并将智能床垫划分成分区数目相等的分区后,进一步获取到每一个分区对应的子调整信息,然后根据子调整信息调整对应分区,以使每个分区都能获得对应用户各自所需要的厚度及软硬度,可以满足多个用户睡在一个床上且能各自获得不同厚度及软硬度的睡眠区域。In the embodiment of the present application, the smart mattress is switched to partition mode according to the user's first mode setting instruction, and after the smart mattress is divided into partitions with the same number of partitions, the sub-adjustment information corresponding to each partition is further obtained, and then Adjust the corresponding partitions according to the sub-adjustment information, so that each partition can obtain the thickness and hardness required by the corresponding user, which can satisfy multiple users sleeping on one bed and can obtain sleeping areas with different thicknesses and hardness. .

可选的,每个分区对应的子调整信息各不相同,也可以部分相同,从而实现各个分区的个性化设置,满足每个分区的用户的个性需求。Optionally, the sub-adjustment information corresponding to each partition is different, or may be partly the same, so as to realize the personalized setting of each partition and meet the individual needs of the users of each partition.

可选的,步骤103中的获取每个分区对应的子调整信息可包括:Optionally, obtaining sub-adjustment information corresponding to each partition in step 103 may include:

接收显示设备发送的分区的ID或编号以及对应的子调整信息,其中,智能床垫将标识智能床垫的平面图(步骤102中所介绍)发送给显示设备,显示设备检测用户对平面图上标识了ID或编号的分区进行的触压选择操作,从而确定当前需要设置的分区,进一步检测用户输入的针对该分区的子调整信息,显示设备将分区的ID或编号及子调整信息关联发送给智能床垫,通过该实施方式,可以利用显示设备实现分区设置的便利操作。Receiving the ID or number of the partition and the corresponding sub-adjustment information sent by the display device, wherein the smart mattress sends the plan (introduced in step 102) identifying the smart mattress to the display device, and the display device detects that the user has marked the plan on the plan. Touch and select the ID or numbered partition to determine the current partition that needs to be set, and further detect the sub-adjustment information for the partition entered by the user, and the display device will associate the ID or number of the partition with the sub-adjustment information and send it to the smart bed Pad, through this embodiment, the display device can be used to realize the convenient operation of partition setting.

可选的,根据分区对应的子调整信息调整对应分区可包括:根据分区对应的子调整信息对对应分区进行调整,以使该分区获得该子调整信息对应的厚度及柔软度,示例性的,若智能床垫的床垫本体包括气囊层,可以通过对气囊层的对应分区进行充放气来调整,以获得子调整信息对应的厚度及柔软度。Optionally, adjusting the corresponding partition according to the sub-adjustment information corresponding to the partition may include: adjusting the corresponding partition according to the sub-adjustment information corresponding to the partition, so that the partition obtains the thickness and softness corresponding to the sub-adjustment information. Exemplarily, If the mattress body of the smart mattress includes an airbag layer, it can be adjusted by inflating and deflating the corresponding partitions of the airbag layer to obtain the thickness and softness corresponding to the sub-adjustment information.

104、根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型。104. Generate the smart mattress into a 3D mattress model in a partition mode according to all the adjusted partitions.

可选的,智能床垫中可以预先保存有智能床垫的3D虚拟模型,在根据每个分区的子调整信息进行分区调整后,智能床垫还可以同步在3D虚拟模型上划分成与分区数目数量相等的分区,并根据分区的子调整信息调整对应的分区,从而获得3D床垫模型,即对智能床垫所进行的所有操作,同步在3D虚拟模型上进行,从而获得3D床垫模型,获得的3D床垫模型准确指示出当前智能床垫的状态;在该实施方式中,利用智能床垫的3D床垫模型,同步呈现用户对智能床垫调整后的状态,调整效果一目了然,使用体验感较高。Optionally, the 3D virtual model of the smart mattress can be pre-stored in the smart mattress. After the partition adjustment is performed according to the sub-adjustment information of each partition, the smart mattress can also be divided into the number of partitions on the 3D virtual model synchronously. The number of partitions is equal, and the corresponding partitions are adjusted according to the sub-adjustment information of the partitions to obtain a 3D mattress model, that is, all operations on the smart mattress are performed on the 3D virtual model synchronously to obtain a 3D mattress model. The obtained 3D mattress model accurately indicates the current status of the smart mattress; in this embodiment, the 3D mattress model of the smart mattress is used to simultaneously present the adjusted status of the smart mattress by the user, the adjustment effect is clear at a glance, and the user experience higher sense.

105、将3D床垫模型输出至智能床垫连接的显示设备进行显示。105. Output the 3D mattress model to a display device connected to the smart mattress for display.

在本申请实施例中,将3D床垫模型输出至显示设备进行显示,用户可以通过显示设备的3D床垫模型来直观了解到自己的调整效果,从而能够在进行个性化分区设置智能床垫后,还能以3D呈现直观效果,有利于帮助用户进一步客观调整智能床垫,满足个人所需。In the embodiment of this application, the 3D mattress model is output to the display device for display, and the user can intuitively understand the adjustment effect of himself through the 3D mattress model of the display device, so that after setting the smart mattress in personalized partition , It can also present intuitive effects in 3D, which is beneficial to help users further objectively adjust the smart mattress to meet personal needs.

可选的,在执行完步骤105之后,或者在执行本申请实施例的过程中,智能床垫接收第二模式设置指令,该第二模式设置指令用于请求将智能床垫的模式切换成普通模式并设置普通模式;以及,获取普通模式的预设调整信息调整智能床垫,该预设调整信息包括智能床垫的厚度及软硬度,在该实施方式中,切换至普通模式时,获取预先设置的预设调整信息调整智能床垫,将智能床垫恢复至普通模式的效果,即在普通模式下整个智能床垫的厚度及软硬度相同。需要说明的是,预设调整信息包括的厚度及软硬度一般与分区模式下各个分区所设置的厚度及软硬度不同。Optionally, after step 105 is executed, or during the execution of the embodiment of the present application, the smart mattress receives a second mode setting instruction, and the second mode setting instruction is used to request to switch the mode of the smart mattress to normal mode and set the normal mode; and, obtain the preset adjustment information of the normal mode to adjust the smart mattress, the preset adjustment information includes the thickness and hardness of the smart mattress, in this embodiment, when switching to the normal mode, obtain The pre-set preset adjustment information adjusts the smart mattress, and restores the smart mattress to the effect of the normal mode, that is, the thickness and hardness of the whole smart mattress are the same in the normal mode. It should be noted that the thickness and hardness included in the preset adjustment information are generally different from the thickness and hardness set for each partition in the partition mode.

进一步的,上述智能床垫接收第二模式设置指令可以包括以下步骤:Further, the above-mentioned intelligent mattress receiving the second mode setting instruction may include the following steps:

通过智能床垫的麦克风采集语音指令,检测该语音指令是否包含有指示切换成普通模式的指令,若有,确定检测到第二模式设置指令;通过该实施方式,能够实现智能床垫的语音控制,通过语音控制智能床垫切换成普通模式。Collect voice commands through the microphone of the smart mattress, and detect whether the voice commands include an instruction to switch to the normal mode, and if so, determine that the second mode setting command has been detected; through this embodiment, the voice control of the smart mattress can be realized , switch the intelligent mattress to normal mode through voice control.

另一可选的,上述接收第二模式设置指令可以包括以下步骤:Alternatively, the above-mentioned receiving the second mode setting instruction may include the following steps:

检测用户在显示设备上输入的第二模式设置指令,通过该实施方式,用户可以通过显示设备去触发输入第二模式设置指令,以将智能床垫模式切换至普通模式,利用显示设备可以更加直观且便于操作。Detect the second mode setting command input by the user on the display device. Through this embodiment, the user can trigger the input of the second mode setting command through the display device to switch the smart mattress mode to the normal mode. Using the display device can be more intuitive And easy to operate.

其中,显示设备可以为触摸屏,检测用户对“设置”虚拟按键的触压操作,选择进入设置界面,进一步检测用户对设置界面中的“普通模式”虚拟按键的触压操作,选择普通模式,显示设备将用户选择切换成普通模式的操作信息反馈给智能床垫,对于智能床垫而言,确定接收到第二模式设置指令,在该实施方式中,可以利用显示设备的触摸屏实现便捷的模式设置。Wherein, the display device may be a touch screen, which detects the user's touch operation on the "settings" virtual key, selects to enter the setting interface, further detects the user's touch operation on the "normal mode" virtual key in the setting interface, selects the normal mode, and displays The device feeds back the operation information that the user chooses to switch to the normal mode to the smart mattress. For the smart mattress, it is determined that the second mode setting instruction has been received. In this embodiment, the touch screen of the display device can be used to realize convenient mode setting .

可见,实施上述实施例,接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置该分区模式,该第一模式设置指令包含智能床垫的分区数目,将智能床垫划分成数量上与分区数目相匹配的分区,获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度,根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型,将3D床垫模型输出至智能床垫连接的显示设备进行显示;通过实施本申请实施例,能够对智能床垫预设分区模式,并针对分区模式进行个性化设置,获得自己喜欢的厚度和软硬度,而且能够将分区调整后的智能床垫,以3D呈现直观效果,有利于帮助用户进一步客观调整床垫,满足个人所需。It can be seen that, implementing the above-mentioned embodiment, the first mode setting instruction is received, and the first mode setting instruction is used to request to switch the mode of the intelligent mattress to the partition mode and set the partition mode, and the first mode setting instruction includes the smart mattress. The number of partitions, divide the smart mattress into partitions whose number matches the number of partitions, obtain the sub-adjustment information corresponding to each partition, and adjust the corresponding partitions according to the sub-adjustment information corresponding to the partitions. The sub-adjustment information includes the thickness of the corresponding partitions And softness, according to all the adjusted partitions, the smart mattress generates a 3D mattress model in the partition mode, and the 3D mattress model is output to the display device connected to the smart mattress for display; by implementing the embodiments of the present application, It is possible to preset the partition mode for the smart mattress, and personalize the partition mode to obtain the thickness and hardness that you like, and the smart mattress that can adjust the partition can present an intuitive effect in 3D, which is beneficial to help users Further objectively adjust the mattress to meet individual needs.

请参阅图2,图2为本申请实施例二公开的智能床垫模式设置方法的流程示意图;如图2所示,该智能床垫模式设置方法可包括:Please refer to Fig. 2, Fig. 2 is a schematic flow chart of the smart mattress mode setting method disclosed in the second embodiment of the present application; as shown in Fig. 2, the smart mattress mode setting method may include:

201、接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置分区模式,且第一模式设置指令包含智能床垫的分区数目。201. Receive a first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the smart mattress to a partition mode and set the partition mode, and the first mode setting instruction includes the number of partitions of the smart mattress.

其中,本申请实施例的执行主体为智能床垫,该智能床垫预先设置有普通模式和分区模式,普通模式中整张床垫作为一个整体,不进行分区,对普通模式预设调整信息,该预设调整信息包括智能床垫的厚度及软硬度,即普通模式下的智能床垫整张床垫都采用一致的厚度及软硬度。在本申请实施例中,用户也可以选择切换成分区模式,在分区模式下可以进行个性化设置。Among them, the execution subject of the embodiment of the present application is a smart mattress, and the smart mattress is preset with a normal mode and a partition mode. In the normal mode, the entire mattress is taken as a whole, and no partition is performed. The preset adjustment information includes the thickness and firmness of the intelligent mattress, that is, the entire mattress of the intelligent mattress in the normal mode adopts a consistent thickness and firmness. In the embodiment of the present application, the user can also choose to switch to the partition mode, and can perform personalized settings in the partition mode.

202、将智能床垫划分成数量上与分区数目相匹配的分区。202. Divide the smart mattress into partitions whose number matches the number of partitions.

可选的,第一模式设置指令还可以包括每个分区的大小、形状以及所有分区形成的形状等,智能床垫基于所有分区形成的形状在智能床垫上进一步根据每个分区的大小及形状进行每个分区的划分,此时,所有分区加起来的面积可能小于或等于整张智能床垫的面积,如图8所示,长度2.2米,宽度为2米的智能床垫上,分区数目为4个,每个分区的形状为圆形,半径为50厘米,4个分区组成的形状为大圆形,基于此种分区方式,可以适用于4个用户一起在床上玩游戏的场景,比如,4个朋友一起在床上玩扑克牌,各自坐在一个方向的位置上,4个朋友围成一个圆形。Optionally, the first mode setting instruction may also include the size and shape of each partition and the shapes formed by all partitions, etc., and the smart mattress is further based on the shape of each partition on the smart mattress according to the size and shape of each partition. Divide each partition. At this time, the combined area of all partitions may be less than or equal to the area of the entire smart mattress. As shown in Figure 8, on a smart mattress with a length of 2.2 meters and a width of 2 meters, the number of partitions There are 4 partitions, each partition is circular in shape with a radius of 50 cm, and the shape of the 4 partitions is a large circle. Based on this partition method, it can be applied to the scene where 4 users play games together on the bed, such as , 4 friends play poker on the bed together, each sitting in a position in one direction, and the 4 friends form a circle.

进一步的,智能床垫将分区后的智能床垫以平面图形式输出至显示设备,且在平面图中以ID或编号标识每个分区,并标识智能床垫的左右方向,对于显示设备而言,检测用户对每个分区的移动调整指令,在所显示的平面图上随着用户的移动调整指令将对应分区移动至指定位置,直至分区位置调整结束后,将调整后的平面图再反馈给智能床垫,智能床垫接收到反馈的平面图后,对智能床垫的分区位置进行调整,以在智能床垫上获得用户喜欢的各个分区的位置,通过该实施方式,用户可以调整每个分区在床垫上的位置。Further, the smart mattress outputs the partitioned smart mattress to the display device in the form of a plan, and identifies each partition with an ID or number in the plan, and identifies the left and right directions of the smart mattress. For the display device, detection The user's movement adjustment instructions for each partition will move the corresponding partition to the designated position on the displayed floor plan along with the user's movement adjustment instructions. After the partition position adjustment is completed, the adjusted floor plan will be fed back to the smart mattress. After the smart mattress receives the feedback floor plan, it adjusts the partition position of the smart mattress to obtain the position of each partition that the user likes on the smart mattress. Through this implementation, the user can adjust each partition on the mattress s position.

203、获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度。203. Obtain sub-adjustment information corresponding to each partition, and adjust the corresponding partition according to the sub-adjustment information corresponding to the partition, where the sub-adjustment information includes the thickness and hardness of the corresponding partition.

结合步骤202中的说明,获取每个分区对应的子调整信息,此时分区是用于坐,而不是躺,每个分区的用户可以根据自己的喜好设置每个分区的厚度及软硬度。Combined with the description in step 202, the sub-adjustment information corresponding to each partition is obtained. At this time, the partition is used for sitting instead of lying down. Users of each partition can set the thickness and hardness of each partition according to their own preferences.

204、根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型。204. Generate the smart mattress into a 3D mattress model in a partition mode according to all the adjusted partitions.

205、将3D床垫模型输出至智能床垫连接的显示设备进行显示。205. Output the 3D mattress model to a display device connected to the smart mattress for display.

206、检测是否接收到对目标分区的重调指令,该重调指令包含目标分区的重调信息,该重调信息包括对目标分区的子调整信息重调后获得的厚度及软硬度,目标分区为智能床垫的所有分区中的任意一个;在接收到重调指令时,转向步骤207,反之,结束本流程。206. Detect whether a readjustment instruction for the target partition is received. The readjustment instruction includes readjustment information of the target partition, and the readjustment information includes the thickness and hardness obtained after readjusting the sub-adjustment information of the target partition. The partition is any one of all the partitions of the smart mattress; when a readjustment instruction is received, turn to step 207, otherwise, end this process.

在本申请实施例中,智能床垫将3D床垫模型输出至显示设备显示后,用户可以通过3D床垫模型所呈现的调整效果,确定是否需要调整,在需要调整时,可以从所有分区中选择出目标分区,然后输入重调指令,该重调指令包含对目标分区的重调信息,该重调信息包括目标分区的厚度及软硬度,重调信息的厚度及软硬度与原来的子调整信息的厚度及软硬度不一样,比如,某一个分区原来的子调整信息的厚度为H1,软硬度为R1,后面重调时厚度改为H2,软硬度为R2,H1不等于H2,R1不等于R2。In the embodiment of this application, after the smart mattress outputs the 3D mattress model to the display device for display, the user can determine whether adjustment is required through the adjustment effect presented by the 3D mattress model. Select the target partition, and then input the readjustment command. The readjustment command includes the readjustment information of the target partition. The readjustment information includes the thickness and hardness of the target partition. The thickness and hardness of the readjustment information are different from the original The thickness and softness of the sub-adjustment information are different. For example, the thickness of the original sub-adjustment information of a certain partition is H1, and the softness is R1. When readjusting later, the thickness is changed to H2, and the softness is R2. Equal to H2, R1 is not equal to R2.

对于智能床垫而言,可选的,智能床垫可以在分区后,对分区进行ID或编号分配,并在3D床垫模型利用ID或编号标识各个分区,智能床垫可以通过检测输入的语音获得目标分区,具体可以是获得目标分区的ID或编号,从而从所有分区中选择出目标分区,然后进一步检测语音输入的重调信息,进入步骤207。For smart mattresses, optional, smart mattresses can assign IDs or numbers to partitions after partitioning, and use IDs or numbers to identify each partition on the 3D mattress model. Smart mattresses can detect input voice Obtaining the target partition may specifically obtain the ID or number of the target partition, so as to select the target partition from all partitions, and then further detect the retune information of the voice input, and enter step 207 .

可选的,显示设备为可触屏显示屏,显示设备检测用户对3D床垫模型上的分区的触及操作,根据触及操作所在的位置确定出目标分区,显示设备显示用于获取目标分区的重调信息的指示信息,并检测用户输入的重调信息,然后将重调信息反馈给智能床垫;通过该实施方式,智能床垫可以利用显示设备来实现用户对目标分区的重调。Optionally, the display device is a touch screen display, and the display device detects the user's touch operation on the partition on the 3D mattress model, and determines the target partition according to the location of the touch operation, and the display device displays the weight used to obtain the target partition. The instruction information of the adjustment information, and detect the readjustment information input by the user, and then feed back the readjustment information to the smart mattress; through this embodiment, the smart mattress can use the display device to realize the user's readjustment of the target partition.

207、根据重调信息对目标分区重新调整,转向步骤204。207. Readjust the target partition according to the readjustment information, and turn to step 204.

在本申请实施例中,根据重调信息对目标分区重新调整后,转向步骤204,重新根据所有调整后的分区,更新3D床垫模型。In the embodiment of the present application, after the target partition is readjusted according to the readjustment information, the process turns to step 204, and the 3D mattress model is updated again according to all the adjusted partitions.

实施上述实施例,接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置该分区模式,该第一模式设置指令包含智能床垫的分区数目,将智能床垫划分成数量上与分区数目相匹配的分区,获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度,根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型,将3D床垫模型输出至智能床垫连接的显示设备进行显示,如果进一步接收到对目标分区的重调指令,那么根据重调指令包含的重调信息,对目标分区进行重调,获得进一步更新的3D床垫模型,直至调整获得满意的调整效果;通过实施本申请实施例,能够对智能床垫预设分区模式,并针对分区模式进行个性化设置,获得自己喜欢的厚度和软硬度,而且能够将分区调整后的智能床垫,以3D呈现直观效果,有利于帮助用户进一步客观调整床垫,满足个人所需。Implement the above embodiment, receive the first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the intelligent mattress to the partition mode and set the partition mode, the first mode setting instruction includes the number of partitions of the intelligent mattress , divide the smart mattress into partitions whose number matches the number of partitions, obtain the sub-adjustment information corresponding to each partition, and adjust the corresponding partitions according to the sub-adjustment information corresponding to the partitions. The sub-adjustment information includes the thickness and softness of the corresponding partitions. Hardness, according to all the adjusted partitions, the smart mattress will generate a 3D mattress model in the partition mode, and the 3D mattress model will be output to the display device connected to the smart mattress for display. According to the readjustment information contained in the readjustment instruction, the target partition is readjusted to obtain a further updated 3D mattress model until the adjustment obtains a satisfactory adjustment effect; by implementing the embodiment of the present application, the intelligent mattress can be adjusted Preset the partition mode, and personalize the partition mode to obtain the thickness and hardness you like, and the smart mattress that can adjust the partition can present an intuitive effect in 3D, which is conducive to helping users further adjust the mattress objectively , to meet individual needs.

请参阅图3,图3为本申请实施例三公开的智能床垫模式设置方法的流程示意图;如图3所示,该智能床垫模式设置方法可包括:Please refer to Fig. 3, Fig. 3 is a schematic flow chart of the smart mattress mode setting method disclosed in Embodiment 3 of the present application; as shown in Fig. 3, the smart mattress mode setting method may include:

301、接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置分区模式,且第一模式设置指令包含智能床垫的分区数目。301. Receive a first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the smart mattress to a partition mode and set the partition mode, and the first mode setting instruction includes the number of partitions of the smart mattress.

其中,本申请实施例的执行主体为智能床垫。Among them, the executive subject of the embodiment of the present application is a smart mattress.

302、将智能床垫划分成数量上与分区数目相匹配的分区。302. Divide the smart mattress into partitions whose number matches the number of partitions.

303、获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度。303. Obtain sub-adjustment information corresponding to each partition, and adjust the corresponding partition according to the sub-adjustment information corresponding to the partition, where the sub-adjustment information includes the thickness and hardness of the corresponding partition.

304、根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型。304. Generate the smart mattress into a 3D mattress model in a partition mode according to all the adjusted partitions.

305、将3D床垫模型以可编辑界面输出至智能床垫连接的显示设备进行显示,该可编辑界面包括显示有3D床垫模型的主区域、显示有每个分区分别对应的子调整信息的编辑栏。305. Output the 3D mattress model to the display device connected to the smart mattress for display in an editable interface, the editable interface includes the main area where the 3D mattress model is displayed, and the sub-adjustment information corresponding to each partition is displayed edit bar.

在步骤305中,智能床垫生成3D床垫模型后,输出至显示设备的3D床垫模型是以可编辑界面形式呈现的,比如,可以在3D的可编辑软件中打开3D床垫模型,然后输出至显示设备进行显示,可编辑界面的主区域显示3D床垫模型,且边缘区域还显示有编辑栏,编辑栏上显示分区及对应的子调整信息,能够直观呈现给用户并提供直接的可编辑界面给到用户,可以简化用户操作流程。In step 305, after the smart mattress generates the 3D mattress model, the 3D mattress model output to the display device is presented in the form of an editable interface, for example, the 3D mattress model can be opened in 3D editable software, and then It is output to the display device for display. The main area of the editable interface displays the 3D mattress model, and the edge area also displays an edit bar. The edit bar displays partitions and corresponding sub-adjustment information, which can be intuitively presented to the user and provide direct user experience. The editing interface is given to the user, which can simplify the user operation process.

306、检测是否对可编辑界面的编辑栏上的目标分区的子调整信息进行调整,若是,转向步骤307,若否,结束本流程。306. Detect whether the sub-adjustment information of the target partition on the edit bar of the editable interface is adjusted, if yes, go to step 307, if not, end this process.

在步骤306中,如果检测到用户对可编辑界面的编辑栏上的目标分区的子调整信息进行了调整,获得重调信息。In step 306, if it is detected that the user has adjusted the sub-adjustment information of the target partition on the edit bar of the editable interface, readjustment information is obtained.

307、检测接收到包括重调信息的重调指令,获得重调信息。307. Detect that a retune instruction including retune information is received, and obtain the retune information.

308、根据重调信息对目标分区重新调整,转向步骤304。308. Readjust the target partition according to the readjustment information, and go to step 304.

实施上述实施例,接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置该分区模式,该第一模式设置指令包含智能床垫的分区数目,将智能床垫划分成数量上与分区数目相匹配的分区,获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度,根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型,将3D床垫模型以可编辑界面输出至智能床垫连接的显示设备进行显示,检测用户直接在可编辑界面上对目标分区的调整,从而获得重调信息,对目标分区进行重调,获得进一步更新的3D床垫模型,直至调整获得满意的调整效果;通过实施本申请实施例,能够对智能床垫预设分区模式,并针对分区模式进行个性化设置,获得自己喜欢的厚度和软硬度,而且能够将分区调整后的智能床垫,以3D呈现直观效果,有利于帮助用户进一步客观调整床垫,满足个人所需。Implement the above embodiment, receive the first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the intelligent mattress to the partition mode and set the partition mode, the first mode setting instruction includes the number of partitions of the intelligent mattress , divide the smart mattress into partitions whose number matches the number of partitions, obtain the sub-adjustment information corresponding to each partition, and adjust the corresponding partitions according to the sub-adjustment information corresponding to the partitions. The sub-adjustment information includes the thickness and softness of the corresponding partitions. Hardness, according to all the adjusted partitions, the smart mattress generates a 3D mattress model in the partition mode, and the 3D mattress model is output to the display device connected to the smart mattress with an editable interface for display. Adjust the target partition on the editing interface to obtain readjustment information, readjust the target partition, and obtain a further updated 3D mattress model until the adjustment obtains a satisfactory adjustment effect; by implementing the embodiment of the application, the intelligent bed can be adjusted. The mattress presets the partition mode, and personalizes the partition mode to obtain the thickness and hardness that you like, and the smart mattress that can adjust the partition can present an intuitive effect in 3D, which is conducive to helping users further adjust the bed objectively. Pads to meet individual needs.

请参阅图4,图4为本申请实施例一公开的智能床垫模式设置装置的结构示意图;如图4所示,该智能床垫模式设置装置可包括:Please refer to Fig. 4, Fig. 4 is a schematic structural diagram of the smart mattress mode setting device disclosed in Embodiment 1 of the present application; as shown in Fig. 4, the smart mattress mode setting device may include:

获取模块401,用于接收第一模式设置指令,该第一模式设置指令用于请求将智能床垫的模式切换成分区模式并设置分区模式,且第一模式设置指令包含智能床垫的分区数目;The acquisition module 401 is used to receive a first mode setting instruction, the first mode setting instruction is used to request to switch the mode of the smart mattress to a partition mode and set the partition mode, and the first mode setting instruction includes the number of partitions of the smart mattress ;

分区模块402,用于将智能床垫划分成数量上与分区数目相匹配的分区;The partition module 402 is used to divide the smart mattress into partitions whose number matches the number of partitions;

调整模块403,用于获取每个分区对应的子调整信息,并根据分区对应的子调整信息调整对应分区,该子调整信息包括对应分区的厚度及软硬度;An adjustment module 403, configured to obtain sub-adjustment information corresponding to each partition, and adjust the corresponding partition according to the sub-adjustment information corresponding to the partition, the sub-adjustment information including the thickness and hardness of the corresponding partition;

生成模块404,用于根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型;A generating module 404, configured to generate a 3D mattress model in the partition mode for the smart mattress according to all adjusted partitions;

显示模块405,用于将3D床垫模型输出至智能床垫连接的显示设备进行显示。The display module 405 is configured to output the 3D mattress model to a display device connected to the smart mattress for display.

可选的,上述获取模块401用于接收第一模式设置指令的方式具体为:Optionally, the manner in which the acquisition module 401 is used to receive the first mode setting instruction is specifically:

通过智能床垫的麦克风采集语音指令,检测该语音指令是否包含有指示切换成分区模式的指令以及分区数目,若有,确定检测到第一模式设置指令;通过该实施方式,能够实现智能床垫的语音控制,通过语音控制智能床垫切换成分区模式并设置分区数目。Collect voice instructions through the microphone of the smart mattress, detect whether the voice instructions include an instruction to switch to partition mode and the number of partitions, and if so, determine that the first mode setting instruction has been detected; through this embodiment, the smart mattress can be realized Voice control, switch the smart mattress to partition mode and set the number of partitions through voice control.

另一可选的,上述获取模块401用于接收第一模式设置指令的方式具体为:Alternatively, the manner in which the acquisition module 401 is used to receive the first mode setting instruction is specifically:

检测用户在显示设备上输入的第一模式设置指令,通过该实施方式,用户可以通过显示设备去触发输入第一模式设置指令,以将智能床垫模式切换至分区模式,利用显示设备可以更加直观且便于操作。Detect the first mode setting command input by the user on the display device. Through this embodiment, the user can trigger the input of the first mode setting command through the display device to switch the smart mattress mode to the partition mode. Using the display device can be more intuitive And easy to operate.

可选的,生成模块404用于根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型的方式具体为:Optionally, the generation module 404 is used to generate a 3D mattress model in the partition mode for the smart mattress according to all adjusted partitions, specifically as follows:

智能床垫中可以预先保存有智能床垫的3D虚拟模型,在根据每个分区的子调整信息进行分区调整后,生成模块404还可以同步在3D虚拟模型上划分成与分区数目数量相等的分区,并根据分区的子调整信息调整对应的分区,从而获得3D床垫模型,即对智能床垫所进行的所有操作,同步在3D虚拟模型上进行,从而获得3D床垫模型,获得的3D床垫模型准确指示出当前智能床垫的状态。The 3D virtual model of the smart mattress can be stored in advance in the smart mattress, and after the partition adjustment is performed according to the sub-adjustment information of each partition, the generating module 404 can also divide the 3D virtual model into partitions equal to the number of partitions , and adjust the corresponding partition according to the sub-adjustment information of the partition, so as to obtain the 3D mattress model, that is, all the operations on the smart mattress are performed on the 3D virtual model synchronously, thereby obtaining the 3D mattress model and the obtained 3D bed The mattress model accurately indicates the current state of the smart mattress.

通过上述实施例,能够对智能床垫预设分区模式,并针对分区模式进行个性化设置,获得自己喜欢的厚度和软硬度,而且能够将分区调整后的智能床垫采用3D虚拟,获得3D床垫模型,以3D呈现直观效果,有利于帮助用户进一步客观调整床垫,满足个人所需。Through the above-mentioned embodiment, it is possible to preset the partition mode for the smart mattress, and perform personalized settings for the partition mode to obtain the thickness and hardness that you like, and the smart mattress after the partition adjustment can be 3D virtual to obtain 3D The mattress model presents an intuitive effect in 3D, which helps users to further objectively adjust the mattress to meet personal needs.

可选的,上述获取模块401,还用于接收第二模式设置指令,该第二模式设置指令用于请求将智能床垫的模式切换成普通模式并设置普通模式;Optionally, the above acquisition module 401 is also used to receive a second mode setting instruction, the second mode setting instruction is used to request to switch the mode of the smart mattress to the normal mode and set the normal mode;

上述调整模块403,还用于获取普通模式的预设调整信息调整智能床垫,该预设调整信息包括智能床垫的厚度及软硬度。The above-mentioned adjustment module 403 is also used to acquire the preset adjustment information of the normal mode to adjust the smart mattress, and the preset adjustment information includes the thickness and hardness of the smart mattress.

可选的,上述获取模块401还用于接收第二模式设置指令的方式具体为:Optionally, the manner in which the acquisition module 401 is further configured to receive the second mode setting instruction is specifically:

通过智能床垫的麦克风采集语音指令,检测该语音指令是否包含有指示切换成普通模式的指令,若有,确定检测到第二模式设置指令;通过该实施方式,能够实现智能床垫的语音控制,通过语音控制智能床垫切换成普通模式。Collect voice commands through the microphone of the smart mattress, and detect whether the voice commands include an instruction to switch to the normal mode, and if so, determine that the second mode setting command has been detected; through this embodiment, the voice control of the smart mattress can be realized , switch the intelligent mattress to normal mode through voice control.

另一可选的,上述获取模块401还用于接收第二模式设置指令的方式具体为:Alternatively, the manner in which the acquisition module 401 is further configured to receive the second mode setting instruction is specifically:

检测用户在显示设备上输入的第二模式设置指令,通过该实施方式,用户可以通过显示设备去触发输入第二模式设置指令,以将智能床垫模式切换至普通模式,利用显示设备可以更加直观且便于操作。Detect the second mode setting command input by the user on the display device. Through this embodiment, the user can trigger the input of the second mode setting command through the display device to switch the smart mattress mode to the normal mode. Using the display device can be more intuitive And easy to operate.

可选的,第一模式设置指令还可以包括每个分区的大小、形状以及所有分区形成的形状等,分区模块402还用于基于所有分区形成的形状在智能床垫上进一步根据每个分区的大小及形状进行每个分区的划分,此时,所有分区加起来的面积可能小于或等于整张智能床垫的面积,如图8所示,长度2.2米,宽度为2米的智能床垫上,分区数目为4个,每个分区的形状为圆形,半径为50厘米,4个分区组成的形状为大圆形,基于此种分区方式,可以适用于4个用户一起在床上玩游戏的场景,比如,4个朋友一起在床上玩扑克牌,各自坐在一个方向的位置上,4个朋友围成一个圆形。Optionally, the first mode setting instruction may also include the size and shape of each partition, and the shapes formed by all partitions, etc., and the partition module 402 is also used to further base on the smart mattress according to the shape of each partition based on the shapes formed by all partitions. Size and shape are used to divide each partition. At this time, the combined area of all partitions may be less than or equal to the area of the entire smart mattress. As shown in Figure 8, a smart mattress with a length of 2.2 meters and a width of 2 meters , the number of partitions is 4, and the shape of each partition is a circle with a radius of 50 cm. The shape of the 4 partitions is a large circle. Based on this partition method, it is suitable for 4 users to play games together on the bed. Scene, for example, 4 friends are playing poker together on the bed, each sitting in a position in the same direction, and the 4 friends form a circle.

进一步的,显示模块405还用于将分区后的智能床垫以平面图形式输出至显示设备,且在平面图中以ID或编号标识每个分区,并标识智能床垫的左右方向,对于显示设备而言,检测用户对每个分区的移动调整指令,在所显示的平面图上随着用户的移动调整指令将对应分区移动至指定位置,直至分区位置调整结束后,将调整后的平面图再反馈给智能床垫,智能床垫接收到反馈的平面图后,分区模块402对智能床垫的分区位置进行调整,以在智能床垫上获得用户喜欢的各个分区的位置,通过该实施方式,用户可以调整每个分区在床垫上的位置。Further, the display module 405 is also used to output the partitioned smart mattress to the display device in the form of a plan view, and identify each partition with an ID or number in the plan view, and identify the left and right direction of the smart mattress. For the display device In other words, it detects the user's movement adjustment command for each partition, and moves the corresponding partition to the specified position on the displayed floor plan along with the user's movement adjustment instruction. After the partition position adjustment is completed, the adjusted floor plan is fed back to the smart Mattress, after the smart mattress receives the feedback plan, the partition module 402 adjusts the partition position of the smart mattress to obtain the user's favorite partition position on the smart mattress. Through this embodiment, the user can adjust the location of each partition The position of each partition on the mattress.

请参阅图5,图5为本申请实施例二公开的智能床垫模式设置装置的结构示意图;图5所示的智能床垫模式设置装置是在图4所示的智能床垫模式设置装置的基础上进行优化得到的,图5所示的智能床垫模式设置装置还包括:Please refer to Fig. 5. Fig. 5 is a schematic structural view of the smart mattress mode setting device disclosed in Embodiment 2 of the present application; the smart mattress mode setting device shown in Fig. 5 is the smart mattress mode setting device shown in Fig. 4 Based on the optimization obtained, the smart mattress mode setting device shown in Figure 5 also includes:

检测模块501,用于在显示模块405将3D床垫模型输出至智能床垫连接的显示设备进行显示之后,检测是否接收到对目标分区的重调指令,该重调信息包括对目标分区的子调整信息重调后获得的厚度及软硬度,重调信息包括目标分区的厚度及软硬度,目标分区为智能床垫的所有分区中的任意一个;The detection module 501 is used to detect whether a readjustment instruction to the target partition is received after the display module 405 outputs the 3D mattress model to the display device connected to the smart mattress for display, and the readjustment information includes the subregion of the target partition. The thickness and hardness obtained after the adjustment information is readjusted, the readjustment information includes the thickness and hardness of the target partition, and the target partition is any one of all the partitions of the smart mattress;

上述调整模块403,还用于根据重调信息对目标分区重新调整,执行所根据所有调整后的分区,将智能床垫生成分区模式下的3D床垫模型的步骤。The above-mentioned adjustment module 403 is also used to readjust the target partition according to the readjustment information, and perform the step of generating a 3D mattress model in the partition mode for the smart mattress according to all the adjusted partitions.

可选的,智能床垫可以在分区后,对分区进行ID或编号分配,并在3D床垫模型利用ID或编号标识各个分区,调整模块403可以通过检测输入的语音获得目标分区,具体可以是获得目标分区的ID或编号,从而从所有分区中选择出目标分区,然后进一步检测语音输入的重调信息。Optionally, after partitioning, the smart mattress can assign IDs or numbers to the partitions, and use IDs or numbers to identify each partition on the 3D mattress model. The adjustment module 403 can obtain the target partition by detecting the input voice, which can be specifically The ID or number of the target partition is obtained, so that the target partition is selected from all partitions, and then the retune information of the voice input is further detected.

可选的,显示设备为可触屏显示屏,显示设备检测用户对3D床垫模型上的分区的触及操作,根据触及操作所在的位置确定出目标分区,显示设备显示用于获取目标分区的重调信息的指示信息,并检测用户输入的重调信息,然后将重调信息反馈给智能床垫,从而调整模块403获得重调信息;通过该实施方式,智能床垫可以利用显示设备来实现用户对目标分区的重调。Optionally, the display device is a touch screen display, and the display device detects the user's touch operation on the partition on the 3D mattress model, and determines the target partition according to the location of the touch operation, and the display device displays the weight used to obtain the target partition. Adjustment information indication information, and detect the readjustment information input by the user, and then feed back the readjustment information to the smart mattress, so that the adjustment module 403 obtains the readjustment information; through this embodiment, the smart mattress can use the display device to realize user Resizing of the target partition.

可选的,上述显示模块405用于将3D床垫模型输出至智能床垫连接的显示设备进行显示的方式具体为:Optionally, the above-mentioned display module 405 is used to output the 3D mattress model to the display device connected to the smart mattress for display, specifically as follows:

将3D床垫模型以可编辑界面输出至智能床垫连接的显示设备进行显示,可编辑界面包括显示有3D床垫模型的主区域、显示有每个分区分别对应的子调整信息的编辑栏;The 3D mattress model is output to the display device connected to the smart mattress for display in an editable interface. The editable interface includes a main area displaying the 3D mattress model and an editing bar displaying sub-adjustment information corresponding to each partition;

上述检测模块501用于检测是否接收到对目标分区的重调指令的方式具体为:The above detection module 501 is used to detect whether the readjustment instruction for the target partition is received specifically as follows:

检测是否对可编辑界面的编辑栏上的目标分区的子调整信息进行调整,若是,检测接收到包括重调信息的重调指令。Detect whether the sub-adjustment information of the target partition on the editing bar of the editable interface is adjusted, and if so, detect that a readjustment instruction including readjustment information is received.

上述实施方式,能够直观呈现给用户并提供直接的可编辑界面给到用户,可以简化用户操作流程。The above implementation manner can intuitively present to the user and provide a direct editable interface to the user, which can simplify the user operation process.

请参阅图6,图6为本申请实施例公开的床垫的结构示意图;图6所示的床垫可包括:Please refer to Fig. 6, Fig. 6 is a schematic structural diagram of the mattress disclosed in the embodiment of the present application; the mattress shown in Fig. 6 may include:

存储有可执行程序代码的存储器601;A memory 601 storing executable program codes;

与存储器601耦合的处理器602;a processor 602 coupled to the memory 601;

其中,处理器602调用存储器601中存储的可执行程序代码,执行图1至图3任意一种床垫模式设置方法的部分步骤或者全部步骤。Wherein, the processor 602 invokes the executable program code stored in the memory 601 to execute some or all steps of any one of the mattress mode setting methods shown in FIG. 1 to FIG. 3 .

本申请实施例还公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行图1至图3公开的一种床垫模式设置方法。The embodiment of the present application also discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes the computer to execute a mattress mode setting method disclosed in FIGS. 1 to 3 .

本申请实施例还公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行图1至图3公开的任意一种方法的部分或全部步骤。The embodiment of the present application also discloses a computer program product. When the computer program product is run on a computer, the computer is made to execute some or all steps of any one of the methods disclosed in FIG. 1 to FIG. 3 .

本申请实施例还公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行图1至图3公开的任意一种方法的部分或全部步骤。The embodiment of the present application also discloses an application publishing platform, the application publishing platform is used for publishing computer program products, wherein, when the computer program products run on the computer, the computer is made to execute the information disclosed in Fig. 1 to Fig. 3 . Some or all steps of any method.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.

以上对本申请实施例公开的一种智能床垫模式设置方法及装置、智能床垫、存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction to a smart mattress mode setting method and device, smart mattress, and storage medium disclosed in the embodiments of the present application. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The above embodiments The description is only used to help understand the method of the present application and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. In summary, As stated above, the contents of this specification should not be construed as limiting the application.

Claims (10)

1. An intelligent mattress mode setting method is characterized by comprising the following steps:
receiving a first mode setting instruction for requesting switching of a mode of the smart mattress to a partition mode and setting the partition mode, and the first mode setting instruction including the number of partitions of the smart mattress;
dividing the smart mattress into a number of partitions matching the number of partitions;
acquiring sub-adjustment information corresponding to each partition, and adjusting the corresponding partition according to the sub-adjustment information corresponding to the partition, wherein the sub-adjustment information comprises the thickness and the hardness of the corresponding partition;
generating a 3D mattress model under the partition mode by the intelligent mattress according to all the adjusted partitions;
and outputting the 3D mattress model to display equipment connected with the intelligent mattress for display.
2. The method of claim 1, further comprising:
receiving a second mode setting instruction, wherein the second mode setting instruction is used for requesting to switch the mode of the intelligent mattress into a common mode and setting the common mode;
and acquiring preset adjustment information of the common mode to adjust the intelligent mattress, wherein the preset adjustment information comprises the thickness and the hardness of the intelligent mattress.
3. The method according to claim 1 or 2, wherein the sub-adjustment information for each of the partitions is different.
4. The method of claim 1, wherein after outputting the 3D mattress model to the smart mattress connected display device for display, the method further comprises:
detecting whether a readjustment instruction for a target partition is received, wherein the readjustment instruction comprises readjustment information of the target partition, the readjustment information comprises thickness and hardness obtained after readjustment of sub-adjustment information of the target partition, and the target partition is any one of all partitions of the intelligent mattress;
and if so, readjusting the target partition according to the readjustment information, executing the step of generating the intelligent mattress into the 3D mattress model in the partition mode according to all adjusted partitions.
5. The method of claim 4, wherein outputting the 3D mattress model to a display device connected to the smart mattress for display comprises:
outputting the 3D mattress model to a display device connected with the intelligent mattress for display through an editable interface, wherein the editable interface comprises a main area displaying the 3D mattress model and an edit bar displaying sub-adjustment information corresponding to each sub-area;
the detecting whether a readjustment instruction for the target partition is received includes:
and detecting whether sub-adjustment information of the target partition on the editing bar of the editable interface is adjusted, and if so, detecting that a readjustment instruction comprising the readjustment information is received.
6. An intelligent mattress mode setting device, comprising:
the acquisition module is used for receiving a first mode setting instruction, the first mode setting instruction is used for requesting to switch the mode of the intelligent mattress into a partition mode and setting the partition mode, and the first mode setting instruction comprises the partition number of the intelligent mattress;
the partition module is used for dividing the intelligent mattress into partitions matched with the partition number in quantity;
the adjusting module is used for acquiring sub-adjusting information corresponding to each partition, and adjusting the corresponding partition according to the sub-adjusting information corresponding to the partition, wherein the sub-adjusting information comprises the thickness and the hardness of the corresponding partition;
the generating module is used for generating the intelligent mattress into a 3D mattress model in the partition mode according to all the adjusted partitions;
and the display module is used for outputting the 3D mattress model to display equipment connected with the intelligent mattress for display.
7. The apparatus of claim 6, wherein:
the acquisition module is further configured to receive a second mode setting instruction, where the second mode setting instruction is used to request to switch the mode of the intelligent mattress to a normal mode and set the normal mode;
the adjusting module is further used for obtaining preset adjusting information of the common mode to adjust the intelligent mattress, and the preset adjusting information comprises the thickness and the hardness of the intelligent mattress.
8. An intelligent mattress, comprising:
comprising the intelligent mattress mode setting means of claim 6 or 7.
9. An intelligent mattress, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the intelligent mattress mode setting method of any one of claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202211355207.1A 2022-11-01 2022-11-01 Intelligent mattress mode setting method and device, intelligent mattress and storage medium Pending CN115670169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211355207.1A CN115670169A (en) 2022-11-01 2022-11-01 Intelligent mattress mode setting method and device, intelligent mattress and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211355207.1A CN115670169A (en) 2022-11-01 2022-11-01 Intelligent mattress mode setting method and device, intelligent mattress and storage medium

Publications (1)

Publication Number Publication Date
CN115670169A true CN115670169A (en) 2023-02-03

Family

ID=85047601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211355207.1A Pending CN115670169A (en) 2022-11-01 2022-11-01 Intelligent mattress mode setting method and device, intelligent mattress and storage medium

Country Status (1)

Country Link
CN (1) CN115670169A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848450A (en) * 1996-03-05 1998-12-15 L&P Property Management Company Air bed control
US20180027988A1 (en) * 2012-04-30 2018-02-01 Xsensor Technology Corporation Bedding System with a CNN Based Machine Vision Process
CN111513512A (en) * 2020-04-26 2020-08-11 深圳市三分之一睡眠科技有限公司 Personalized mattress system and mattress customization method
CN113413037A (en) * 2021-07-21 2021-09-21 深圳市自然梦家具有限公司 Intelligent mattress and use method thereof
CN113951674A (en) * 2021-09-27 2022-01-21 杭州顾家寝具有限公司 Control method of intelligent mattress, system and storage medium
CN115191791A (en) * 2022-08-30 2022-10-18 慕思健康睡眠股份有限公司 Control method of intelligent mattress, intelligent mattress and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848450A (en) * 1996-03-05 1998-12-15 L&P Property Management Company Air bed control
US20180027988A1 (en) * 2012-04-30 2018-02-01 Xsensor Technology Corporation Bedding System with a CNN Based Machine Vision Process
CN111513512A (en) * 2020-04-26 2020-08-11 深圳市三分之一睡眠科技有限公司 Personalized mattress system and mattress customization method
CN113413037A (en) * 2021-07-21 2021-09-21 深圳市自然梦家具有限公司 Intelligent mattress and use method thereof
CN113951674A (en) * 2021-09-27 2022-01-21 杭州顾家寝具有限公司 Control method of intelligent mattress, system and storage medium
CN115191791A (en) * 2022-08-30 2022-10-18 慕思健康睡眠股份有限公司 Control method of intelligent mattress, intelligent mattress and storage medium

Similar Documents

Publication Publication Date Title
KR101703923B1 (en) Apparatus of capsule for personalized healing based on virtual reality
US9855005B2 (en) Wearable posture advisory system
US20070203421A1 (en) Method for providing contents and electronic device having function therefor
JP6330056B2 (en) Information processing apparatus, information processing system, control method, and program
CN105159166A (en) Adjustment method of cushion body, adjustment device of cushion body and terminal
KR20060003044A (en) Massager
US20230249599A1 (en) Interactive adjustable seat with multiple modes of operation
WO2019163260A1 (en) Information processing apparatus, information processing method, and program
US20170007480A1 (en) Ergonomic system for an adjustable bed system
KR102358870B1 (en) Managing system of massage apparatus for providing personalised and customised massage according to customer's preferences and method thereof
AU2022219374A1 (en) Body support system for emitting ultra-low radio frequency energy and associated systems and methods
CN115670169A (en) Intelligent mattress mode setting method and device, intelligent mattress and storage medium
CN115024614B (en) Mattress softness and hardness adjusting method and device, mattress and storage medium
US11679054B2 (en) User-customized delivery of streamed multi-sensory media to a vibroacoustic therapy bed
CN109741089A (en) A kind of beddo mattress experience recommended method and system
JP7274165B2 (en) Sitting Posture Determining Device, Chair, Sitting Posture Determining Method, and Program
KR20220016338A (en) Massage apparatus for modifying the massage mode in realtime
CN118542550A (en) Zero gravity mode adjustment method and device, related products, storage medium
JP7006570B2 (en) User interface system
US12045865B2 (en) Personalized mattress system and mattress customization method
US11844908B2 (en) Generating a multi-sensory media experience in a vibroacoustic therapy bed based on user-selected clips
CN104800062A (en) Male massager and touch induction method
CN111712779B (en) Information processing device, information processing method, and program
CN117234334A (en) Sofa-based virtual reality interaction method and device, electronic equipment and storage medium
CN117414274A (en) Self-adaptive sofa massage system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination