WO2022206880A1 - 枕头高度调节方法、装置、计算机设备和存储介质 - Google Patents
枕头高度调节方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2022206880A1 WO2022206880A1 PCT/CN2022/084309 CN2022084309W WO2022206880A1 WO 2022206880 A1 WO2022206880 A1 WO 2022206880A1 CN 2022084309 W CN2022084309 W CN 2022084309W WO 2022206880 A1 WO2022206880 A1 WO 2022206880A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- height
- pillow
- user
- adjustment
- sleeping position
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004590 computer program Methods 0.000 claims description 9
- 238000000605 extraction Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000036544 posture Effects 0.000 abstract 7
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000037237 body shape Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000003331 infrared imaging Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47G—HOUSEHOLD OR TABLE EQUIPMENT
- A47G9/00—Bed-covers; Counterpanes; Travelling rugs; Sleeping rugs; Sleeping bags; Pillows
- A47G9/10—Pillows
Definitions
- the present application relates to the technical field of smart bedding, and in particular, to a method, device, computer device and storage medium for adjusting the height of a pillow.
- Pillows have evolved and optimized in appearance, physical structure and materials since their invention. Despite the wide variety of pillows currently on the bedding market, including new filling materials or ergonomically shaped products, none of these pillow products can adjust partial or full pillow height to the user's current sleeping position. In order to obtain a comfortable and correct sleeping position, the pillow should provide enough support in the corresponding area of the pillow for different sleeping positions to stabilize the cervical vertebra and the spine in a natural curved state and correct position. At the same time, due to physiological factors such as head circumference, shoulder width, neck length, and body shape, different users have different requirements for the height of the pillow. In addition, when the sleeping position is changed during the sleep cycle, the pillow needs to provide support for the neck and head area. Changes can occur at any time. The existing technical solutions are insufficient to provide reasonable head and neck support for different users in different sleeping positions.
- the purpose of the embodiments of the present application is to provide a method for adjusting the height of a pillow, so as to provide reasonable head or neck support requirements for different sleeping positions of different users.
- the embodiments of the present application provide a method for adjusting the height of a pillow, which adopts the following technical solutions:
- a method for adjusting the height of a pillow comprising the steps of:
- the airbag is adjusted according to the adjusted height to adjust the pillow.
- the method further includes:
- the data of the camera assembly is read at intervals, and when the change amount of the image data obtained by the camera assembly exceeds a preset range, the pillow height adjustment state is entered.
- the step determines the current sleeping position of the user according to the image data, and specifically includes:
- the current sleeping position of the user is determined according to the comparison between the mountain-shaped graph and the preset personal data of the user in different sleeping positions.
- the step determines the adjustment height of the pillow according to the current sleeping position of the user and the previous sleeping position detected by the user in the last adjustment cycle, which specifically includes:
- the adjusted height is determined according to the difference between the target height and the initial height.
- the embodiments of the present application also provide a pillow height adjustment device, which adopts the following technical solutions:
- a pillow height adjustment device comprising:
- the data acquisition module is used to acquire image data corresponding to the user through the camera assembly
- a state determination module which determines the current sleeping position of the user according to the image data
- an adjustment parameter determination module configured to determine the adjustment height of the pillow according to the current sleeping position of the user and the previous sleeping position detected by the user in the last adjustment cycle
- the adjusting module is used for adjusting the airbag according to the adjusting height to adjust the pillow.
- the pillow height adjustment device also includes:
- the monitoring module is used to read the data of the camera assembly at intervals, and when the variation of the image data obtained by the camera assembly exceeds a preset range, the pillow height adjustment state is entered.
- state determination module specifically includes:
- an image extraction submodule for extracting a mountain-shaped map according to the image data
- the sleeping position determination sub-module is configured to determine the current sleeping position of the user according to the mountain-shaped map and the preset comparison of the user's personal data in different sleeping positions.
- the adjustment parameter determination module specifically includes:
- a target height determination submodule used for determining the target height of the pillow adjustment according to the current sleeping position
- an initial height determination submodule for determining the initial height of the pillow according to the previous sleeping position
- An adjustment height determination submodule configured to determine the adjustment height according to the drop difference between the target height and the initial height.
- the embodiment of the present application also provides a computer device, which adopts the following technical solutions:
- a computer device includes a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the steps of the above-described method for adjusting the height of a pillow.
- the embodiments of the present application also provide a computer-readable storage medium, which adopts the following technical solutions:
- a computer-readable storage medium having a computer program stored on the computer-readable storage medium, when the computer program is executed by a processor, implements the steps of the method for adjusting the height of a pillow as described in the description.
- the embodiments of the present application mainly have the following beneficial effects: acquiring image data generated by the user in the process of using the pillow through the camera component, determining the current sleeping position of the user according to the image data, and The input data is used to determine the height of the pillow when the user is in the corresponding sleeping position, and the height of the pillow that needs to be adjusted is determined in combination with the sleeping position of the user measured in the previous cycle, and then the corresponding adjustment is performed.
- the height of the pillow can be adjusted according to the different sleeping positions of the user to meet the support requirements for the user's head or neck.
- Fig. 1 is a flow chart of an embodiment of a pillow height adjustment method according to the present application
- FIG. 2 is a flow chart of step S300 according to FIG. 1 of the accompanying specification of the present application;
- FIG. 3 is a flowchart of step S400 according to FIG. 1 of the accompanying specification of the present application;
- FIG. 4 is a schematic structural diagram of an embodiment of a pillow height adjustment device according to the present application.
- FIG. 5 is a schematic structural diagram of an embodiment of a computer device according to the present application.
- FIGS. 1 to 3 a flowchart of an embodiment of a method for adjusting the height of a pillow according to the present application is shown. Described a kind of pillow height adjustment method, comprises the following steps:
- a method for adjusting the height of a pillow comprising the steps of:
- Step S200 acquiring image data corresponding to the user through the camera assembly
- Step S300 determining the current sleeping position of the user according to the image data
- Step S400 Determine the adjusted height of the pillow according to the current sleeping position of the user and the previous sleeping position detected by the user in the last adjustment cycle;
- Step S500 Adjust the airbag according to the adjusted height to adjust the pillow.
- the image data generated by the user in the process of using the pillow is obtained through the camera component, the current sleeping position of the user is determined according to the image data, and then according to the data pre-entered by the user, it is determined that the pillow should be in the corresponding sleeping position of the user.
- the height of the pillow needs to be adjusted in combination with the sleeping position of the user measured in the previous cycle to determine the height of the pillow that needs to be adjusted, and then adjust accordingly.
- the support needs of the user's head or neck.
- the method further includes:
- Step S100 reading the data of the camera assembly at intervals, and when the change amount of the image data obtained by the camera assembly exceeds a preset range, the pillow height adjustment state is entered.
- the user's sleep state is monitored in real time.
- the image data obtained by the camera component changes significantly, it means that the user has made a relatively large action, and the user's sleeping posture may have changed.
- the pillow height adjustment state is entered to determine whether the height of the pillow needs to be adjusted. This solution can save hardware overhead.
- step S300 determining the current sleeping position of the user according to the image data, which specifically includes:
- Step S301 extracting a mountain-shaped map according to the image data
- Step S302 Determine the current sleeping position of the user by comparing the mountain-shaped graph with preset personal data of the user in different sleeping positions.
- the image data is acquired, and the corresponding mountain-shaped map is extracted, and the mountain-shaped map data information of different sleeping positions preset by the user is matched to determine the current sleeping position of the user.
- the solution is beneficial to accurately determine the current sleeping position of the user.
- step S400 Determine the adjustment height of the pillow according to the current sleeping position of the user and the previous sleeping position detected by the user in the last adjustment cycle, which specifically includes:
- Step S401 Determine the target height of the pillow adjustment according to the current sleeping position
- Step S402 Determine the initial height of the pillow according to the previous sleeping position
- Step S403 Determine the adjusted height according to the drop between the target height and the initial height.
- the initial height of the pillow corresponding to the previous sleeping position is determined according to the previous sleeping position determined by the user in the previous adjustment cycle. This is the pillow before this adjustment.
- the initial height at which it is located, and then according to the current sleeping position determine the target height to which the pillow should be adjusted, and then adjust the pillow higher according to the difference between the initial height and the target height. Adjust the height of the pillow with inflation and deflation. This solution enables precise determination of the adjustment height of the pillow.
- the realization of all or part of the processes in the methods of the above embodiments can be accomplished by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the program is During execution, it may include the processes of the embodiments of the above-mentioned methods.
- the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
- the present application provides an embodiment of a pillow height adjustment device, and the device embodiment corresponds to the method embodiment shown in FIG. 1 .
- a pillow height adjustment device includes:
- the data acquisition module 200 is used for acquiring image data corresponding to the user through the camera assembly;
- the state determination module 300 determines the current sleeping position of the user according to the image data
- the adjustment parameter determination module 400 is used for determining the adjustment height of the pillow according to the current sleeping position of the user and the previous sleeping position detected by the user in the last adjustment cycle;
- the adjusting module 500 is used for adjusting the airbag according to the adjusting height to adjust the pillow.
- the image data generated by the user in the process of using the pillow is obtained through the camera component, the current sleeping position of the user is determined according to the image data, and then according to the data pre-entered by the user, it is determined that the pillow should be in the corresponding sleeping position of the user.
- the height of the pillow needs to be adjusted in combination with the sleeping position of the user measured in the previous cycle to determine the height of the pillow that needs to be adjusted, and then adjust accordingly.
- the support needs of the user's head or neck.
- the pillow height adjustment device also includes:
- the monitoring module 100 is used for reading the data of the camera assembly at intervals, and when the variation of the image data obtained by the camera assembly exceeds a preset range, the pillow height adjustment state is entered.
- state determination module 300 specifically includes:
- An image extraction sub-module 301 used for extracting a mountain-shaped map according to the image data
- the sleeping position determination sub-module 302 is configured to determine the current sleeping position of the user according to the mountain-shaped graph and the preset personal data of the user in different sleeping positions.
- the adjustment parameter determination module 400 specifically includes:
- the target height determination submodule 401 is used for determining the target height of the pillow adjustment according to the current sleeping position
- the adjustment height determination sub-module 403 is used for determining the adjustment height according to the drop difference between the target height and the initial height.
- FIG. 3 is a basic structural block diagram of a computer device according to this embodiment.
- the computer device 6 includes a memory 61 , a processor 62 , and a network interface 63 that communicate with each other through a system bus. It should be pointed out that only the computer device 6 with components 61-63 is shown in the figure, but it should be understood that it is not required to implement all of the shown components, and more or less components may be implemented instead.
- the computer device here is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, special-purpose Integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded equipment, etc.
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- DSP Digital Signal Processor
- embedded equipment etc.
- the computer equipment may be a desktop computer, a notebook computer, a palmtop computer, a cloud server and other computing equipment.
- the computer device can perform human-computer interaction with the user through a keyboard, a mouse, a remote control, a touch pad or a voice control device.
- the memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc.
- the memory 61 may be an internal storage unit of the computer device 6 , such as a hard disk or a memory of the computer device 6 .
- the memory 61 may also be an external storage device of the computer device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
- the memory 61 may also include both the internal storage unit of the computer device 6 and its external storage device.
- the memory 61 is generally used to store the operating system and various application software installed on the computer device 6, for example, a program code of a method for adjusting the height of a pillow.
- the memory 61 can also be used to temporarily store various types of data that have been output or will be output.
- the processor 62 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. This processor 62 is typically used to control the overall operation of the computer device 6 . In this embodiment, the processor 62 is configured to run the program code or process data stored in the memory 61, for example, run the program code of the method for adjusting the height of a pillow.
- CPU Central Processing Unit
- controller central processing unit
- microcontroller a microcontroller
- microprocessor microprocessor
- This processor 62 is typically used to control the overall operation of the computer device 6 .
- the processor 62 is configured to run the program code or process data stored in the memory 61, for example, run the program code of the method for adjusting the height of a pillow.
- the network interface 63 may include a wireless network interface or a wired network interface, and the network interface 63 is generally used to establish a communication connection between the computer device 6 and other electronic devices.
- Another embodiment of the present application is to provide a computer-readable storage medium, where the computer-readable storage medium stores a pillow height adjustment program, and the pillow height adjustment program can be processed by at least one processor Executed, so that the at least one processor executes the steps of the above-mentioned method for adjusting the height of a pillow.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Pulmonology (AREA)
- Bedding Items (AREA)
Abstract
一种枕头高度调节方法、调节装置、计算机设备及存储介质,调节方法包括:通过摄像组件获取和使用者相应的图像数据(S200);根据图像数据确定使用者的当前睡姿(S300);根据使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度(S400);根据调整高度调整气囊,以调整枕头(S500)。根据图像数据确定使用者的当前睡姿及使用者预先录入的数据,确定当前睡姿下枕头应有的高度,再结合之前测定的枕头的使用者睡姿对应枕头高度,确定应对枕头的高度做出的调整,之后进行相应的调整,该方法能够根据使用者不同的睡姿,调整枕头的高度,以适应对使用者头部或颈部的支撑需求。
Description
本申请涉及智能寝具技术领域,尤其涉及枕头高度调节的方法、装置、计算机设备和存储介质。
枕头自发明以来,在外观、物理结构和材料上都不断演变优化。尽管目前寝具市场上出售的枕头种类繁多,包括采用新型填充材料或外形符合人体工程学的产品,但这些枕头产品都无法根据用户当前的睡眠姿势调节部分或整体枕头高度。为了获得舒适和正确的睡眠姿势,枕头应该针对不同的睡姿,在枕头的相应区域提供足够的支撑,以稳定颈椎及脊椎在自然弯曲状态和正确的位置。同时由于头围、肩阔、颈部长度、体型等生理因素,不同使用者对枕头高低的需求是不同的,加上在睡眠周期转换睡姿,枕头对颈部和头部区域需提供的支撑随时会产生变化。现有的技术方案不足以对不同的使用者在不同的睡姿下提供合理的头部和颈部的支撑。
发明内容
本申请实施例的目的在于提出一种枕头高度调节的方法,以针对不同使用者的不同睡姿,提供合理的头部或颈部的支撑需求。
为了解决上述技术问题,本申请实施例提供一种枕头高度调节方法,采用了如下所述的技术方案:
一种枕头高度调节方法,包括下述步骤:
通过摄像组件获取和使用者相应的图像数据;
根据所述图像数据确定使用者的当前睡姿;
根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡 姿,确定枕头的调整高度;
根据所述调整高度调整所述气囊,以调整枕头。
进一步的,所述步骤通过摄像组件获取和使用者相应的使用数据之前,该方法还包括:
间隔的读取摄像组件的数据,当所述摄像组件获取的图像数据变化量超过预设范围,进入枕头高度调节状态。
进一步的,所述步骤根据所述图像数据确定使用者的当前睡姿,具体包括:
根据所述图像数据提取山型图;
根据所述山型图和预设的用户在不同睡姿时的个人数据对比,以确定使用者的当前睡姿。
进一步的,所述步骤根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度,具体包括:
根据所述当前睡姿确定枕头调整的目标高度;
根据所述前次睡姿确定所述枕头的初始高度;
根据所述目标高度和初始高度的落差,确定所述调整高度。
为了解决上述技术问题,本申请实施例还提供一种枕头高度调节装置,采用了如下所述的技术方案:
一种枕头高度调节装置,包括:
数据获取模块,用于通过摄像组件获取和使用者相应的图像数据;
状态确定模块,根据所述图像数据确定使用者的当前睡姿;
调整参数确定模块,用于根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度;
调整模块,用于根据所述调整高度调整所述气囊,以调整枕头。
进一步的,所述枕头高度调节装置还包括:
监控模块,用于间隔的读取摄像组件的数据,当所述摄像组件获取的图像数据变化量超过预设范围,进入枕头高度调节状态。
进一步的,所述状态确定模块具体包括:
图像提取子模块,用于根据所述图像数据提取山型图;
睡姿确定子模块,用于根据所述山型图和预设的用户在不同睡姿时的个人数据对比,以确定使用者的当前睡姿。
进一步的,所述调整参数确定模块具体包括:
目标高度确定子模块,用于根据所述当前睡姿确定枕头调整的目标高度;
初始高度确定子模块,用于根据所述前次睡姿确定所述枕头的初始高度;
调整高度确定子模块,用于根据所述目标高度和初始高度的落差,确定所述调整高度。
为了解决上述技术问题,本申请实施例还提供一种计算机设备,采用了如下所述的技术方案:
一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器执行如上所述的枕头高度调节方法的步骤。
为了解决上述技术问题,本申请实施例还提供一种计算机可读存储介质,采用了如下所述的技术方案:
一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如伤所述的枕头高度调节方法的步骤。
与现有技术相比,本申请实施例主要有以下有益效果:通过摄像组件获取使用者在使用枕头的过程当中产生的图像数据,根据图像数据确定使用者的当前睡姿,之后根据使用者预先录入的数据,确定使用者在相应睡姿下,枕头应有的高度,并且以此结合上一个周期中测定的使用者的睡姿确定需要调整的枕头的高度,之后进行相应的调整,该方法能够根据使用者不同的睡姿,调整枕头的高度,以适应对使用者头部或颈部的支撑需求。
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1根据本申请的一种枕头高度调节方法的一个实施例的流程图;
图2是根据本申请说明书附图图1中步骤S300的流程图;
图3是根据本申请说明书附图图1中步骤S400的流程图;
图4是根据本申请的一种枕头高度调节装置的一个实施例的结构示意图;
图5是根据本申请的计算机设备的一个实施例的结构示意图。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。
参考图1至图3,示出了根据本申请的一种枕头高度调节方法的一个实施例的流程图。所述的一种枕头高度调节方法,包括以下步骤:
一种枕头高度调节方法,包括下述步骤:
步骤S200:通过摄像组件获取和使用者相应的图像数据;
步骤S300:根据所述图像数据确定使用者的当前睡姿;
步骤S400:根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度;
步骤S500:根据所述调整高度调整所述气囊,以调整枕头。
通过摄像组件获取使用者在使用枕头的过程当中产生的图像数据,根据图像数据确定使用者的当前睡姿,之后根据使用者预先录入的数据,确定使用者在相应睡姿下,枕头应有的高度,并且以此结合上一个周期中测定的使用者的睡姿确定需要调整的枕头的高度,之后进行相应的调整,该方法能够根据使用者不同的睡姿,调整枕头的高度,以适应对使用者头部或颈部的支撑需求。
进一步的,所述步骤通过摄像组件获取和使用者相应的使用数据之前,该方法还包括:
步骤S100:间隔的读取摄像组件的数据,当所述摄像组件获取的图像数据变化量超过预设范围,进入枕头高度调节状态。
在使用者睡眠的过程中,实时监测使用者的睡眠状态,当摄像组件获取的图像数据的变化明显发生变化的时候,说明使用者发出了比较大的动作,使用者的睡眠姿态可能产生了变化,此时进入枕头高度调节状态以判断是否需要调整枕头的高度,该方案能够节省硬件开销。
进一步的,所述步骤S300:根据所述图像数据确定使用者的当前睡姿,具体包括:
步骤S301:根据所述图像数据提取山型图;
步骤S302:根据所述山型图和预设的用户在不同睡姿时的个人数据对比,以确定使用者的当前睡姿。
具体,通过红外成像或视频成像等手段,获取图像数据,并且提取出对应的山型图,根据使用者预设不同睡姿的山型图数据信息进行匹配,确定使 用者的当前睡姿,该方案,有利于准确确定使用者的当前睡姿。
进一步的,所述步骤S400:根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度,具体包括:
步骤S401:根据所述当前睡姿确定枕头调整的目标高度;
步骤S402:根据所述前次睡姿确定所述枕头的初始高度;
步骤S403:根据所述目标高度和初始高度的落差,确定所述调整高度。
因为枕头的高度是根据使用者的睡姿确定的,根据使用者在之前的调整周期确定下来的前次睡姿,确定前次睡姿对应的枕头的初始高度,这是此次调整之前,枕头所处的初始高度,之后根据当前睡姿,确定枕头应当调整的目标高度,根据初始高度和目标高度的差确定,将枕头调整高一些,低一些还是保持枕头高度,之后控制气阀开闭,以充放气进行枕头的高度调节。该方案能够精确确定枕头的调整高度。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
进一步参考图4,作为对上述图1所示方法的实现,本申请提供了一种枕 头高度调节装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图2所示,一种枕头高度调节装置,包括:
数据获取模块200,用于通过摄像组件获取和使用者相应的图像数据;
状态确定模块300,根据所述图像数据确定使用者的当前睡姿;
调整参数确定模块400,用于根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度;
调整模块500,用于根据所述调整高度调整所述气囊,以调整枕头。
通过摄像组件获取使用者在使用枕头的过程当中产生的图像数据,根据图像数据确定使用者的当前睡姿,之后根据使用者预先录入的数据,确定使用者在相应睡姿下,枕头应有的高度,并且以此结合上一个周期中测定的使用者的睡姿确定需要调整的枕头的高度,之后进行相应的调整,该方法能够根据使用者不同的睡姿,调整枕头的高度,以适应对使用者头部或颈部的支撑需求。
进一步的,所述枕头高度调节装置还包括:
监控模块100,用于间隔的读取摄像组件的数据,当所述摄像组件获取的图像数据变化量超过预设范围,进入枕头高度调节状态。
进一步的,所述状态确定模块300具体包括:
图像提取子模块301,用于根据所述图像数据提取山型图;
睡姿确定子模块302,用于根据所述山型图和预设的用户在不同睡姿时的个人数据对比,以确定使用者的当前睡姿。
进一步的,所述调整参数确定模块400具体包括:
目标高度确定子模块401,用于根据所述当前睡姿确定枕头调整的目标高度;
初始高度确定子模块402,用于根据所述前次睡姿确定所述枕头的初始高度;
调整高度确定子模块403,用于根据所述目标高度和初始高度的落差,确 定所述调整高度。
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图5,图3为本实施例计算机设备的基本结构框图。
所述计算机设备6包括通过系统总线相互通信连接存储器61、处理器62、网络接口63。需要指出的是,图中仅示出了具有组件61-63的计算机设备6,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。
所述存储器61至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器61可以是所述计算机设备6的内部存储单元,例如该计算机设备6的硬盘或内存。在另一些实施例中,所述存储器61也可以是所述计算机设备6的外部存储设备,例如该计算机设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器61还可以既包括所述计算机设备6的内部存储单元也包括其外部存储设备。本实施例中,所述存储器61通常用于存储安装于所述计算机设备6的操作系统和各类应用软件,例如一种枕头高度调节方法的程序代码等。此外,所述存储器61还 可以用于暂时地存储已经输出或者将要输出的各类数据。
所述处理器62在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器62通常用于控制所述计算机设备6的总体操作。本实施例中,所述处理器62用于运行所述存储器61中存储的程序代码或者处理数据,例如运行所述一种枕头高度调节方法的程序代码。
所述网络接口63可包括无线网络接口或有线网络接口,该网络接口63通常用于在所述计算机设备6与其他电子设备之间建立通信连接。
本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质存储有一种枕头高度调节程序,所述一种枕头高度调节程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述的一种枕头高度调节方法的步骤。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替 换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。
Claims (10)
- 一种枕头高度调节方法,其特征在于,包括下述步骤:通过摄像组件获取和使用者相应的图像数据;根据所述图像数据确定使用者的当前睡姿;根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度;根据所述调整高度调整所述气囊,以调整枕头。
- 根据权利要求1所述的枕头高度调节方法,其特征在于:所述步骤通过摄像组件获取和使用者相应的使用数据之前,该方法还包括:间隔的读取摄像组件的数据,当所述摄像组件获取的图像数据变化量超过预设范围,进入枕头高度调节状态。
- 根据权利要求2所述的枕头高度调节方法,其特征在于:所述步骤根据所述图像数据确定使用者的当前睡姿,具体包括:根据所述图像数据提取山型图;根据所述山型图和预设的用户在不同睡姿时的个人数据对比,以确定使用者的当前睡姿。
- 根据权利要求3所述的枕头高度调节方法,其特征在于:所述步骤根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度,具体包括:根据所述当前睡姿确定枕头调整的目标高度;根据所述前次睡姿确定所述枕头的初始高度;根据所述目标高度和初始高度的落差,确定所述调整高度。
- 一种枕头高度调节装置,其特征在于,包括:数据获取模块,用于通过摄像组件获取和使用者相应的图像数据;状态确定模块,根据所述图像数据确定使用者的当前睡姿;调整参数确定模块,用于根据所述使用者的当前睡姿,和使用者上一调整周期时检测到的前次睡姿,确定枕头的调整高度;调整模块,用于根据所述调整高度调整所述气囊,以调整枕头。
- 根据权利要求5所述的枕头高度调节装置,其特征在于:所述枕头高度调节装置还包括:监控模块,用于间隔的读取摄像组件的数据,当所述摄像组件获取的图像数据变化量超过预设范围,进入枕头高度调节状态。
- 根据权利要求6所述的枕头高度调节装置,其特征在于:所述状态确定模块具体包括:图像提取子模块,用于根据所述图像数据提取山型图;睡姿确定子模块,用于根据所述山型图和预设的用户在不同睡姿时的个人数据对比,以确定使用者的当前睡姿。
- 根据权利要求7所述的枕头高度调节装置,其特征在于:所述调整参数确定模块具体包括:目标高度确定子模块,用于根据所述当前睡姿确定枕头调整的目标高度;初始高度确定子模块,用于根据所述前次睡姿确定所述枕头的初始高度;调整高度确定子模块,用于根据所述目标高度和初始高度的落差,确定所述调整高度。
- 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序,其特征在于:所述处理器执行所述计算机程序时实现如权利要求1至4中任一项所述的枕头高度调节方法的步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的枕头高度调节方法的步骤。
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110354473.1A CN113040578A (zh) | 2021-04-01 | 2021-04-01 | 枕头高度调节方法、装置、计算机设备和存储介质 |
CN202110354473.1 | 2021-04-01 | ||
HK42021037718.0 | 2021-08-27 | ||
HK42021037718 | 2021-08-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022206880A1 true WO2022206880A1 (zh) | 2022-10-06 |
Family
ID=83459971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/084309 WO2022206880A1 (zh) | 2021-04-01 | 2022-03-31 | 枕头高度调节方法、装置、计算机设备和存储介质 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022206880A1 (zh) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104970640A (zh) * | 2015-07-28 | 2015-10-14 | 安徽工程大学 | 一种自动调节枕高的枕头及其使用方法 |
US20160255966A1 (en) * | 2015-03-03 | 2016-09-08 | Sealy Technology, Llc | Real time adaptable body support system and method of operation |
US20170238736A1 (en) * | 2014-10-06 | 2017-08-24 | David Sai Wah HO | Headrest adjusting device and method |
CN208355135U (zh) * | 2017-09-03 | 2019-01-11 | 郭光明 | 一种自动升降的智能颈椎保健枕 |
CN109597319A (zh) * | 2017-09-30 | 2019-04-09 | 乔卓 | 一种枕头高度自动控制方法和系统 |
CN109716387A (zh) * | 2016-09-21 | 2019-05-03 | 株式会社岛津制作所 | 图像处理装置 |
CN111464713A (zh) * | 2019-01-21 | 2020-07-28 | 柯尼卡美能达株式会社 | 图像检查装置、储存有程序的计算机可读取的记录介质、图像处理装置以及图像形成装置 |
CN111657723A (zh) * | 2020-07-17 | 2020-09-15 | 刘浩 | 基于睡姿自适应调节高度的智能枕及其控制方法 |
CN113040578A (zh) * | 2021-04-01 | 2021-06-29 | 快展有限公司 | 枕头高度调节方法、装置、计算机设备和存储介质 |
-
2022
- 2022-03-31 WO PCT/CN2022/084309 patent/WO2022206880A1/zh active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170238736A1 (en) * | 2014-10-06 | 2017-08-24 | David Sai Wah HO | Headrest adjusting device and method |
US20160255966A1 (en) * | 2015-03-03 | 2016-09-08 | Sealy Technology, Llc | Real time adaptable body support system and method of operation |
CN104970640A (zh) * | 2015-07-28 | 2015-10-14 | 安徽工程大学 | 一种自动调节枕高的枕头及其使用方法 |
CN109716387A (zh) * | 2016-09-21 | 2019-05-03 | 株式会社岛津制作所 | 图像处理装置 |
CN208355135U (zh) * | 2017-09-03 | 2019-01-11 | 郭光明 | 一种自动升降的智能颈椎保健枕 |
CN109597319A (zh) * | 2017-09-30 | 2019-04-09 | 乔卓 | 一种枕头高度自动控制方法和系统 |
CN111464713A (zh) * | 2019-01-21 | 2020-07-28 | 柯尼卡美能达株式会社 | 图像检查装置、储存有程序的计算机可读取的记录介质、图像处理装置以及图像形成装置 |
CN111657723A (zh) * | 2020-07-17 | 2020-09-15 | 刘浩 | 基于睡姿自适应调节高度的智能枕及其控制方法 |
CN113040578A (zh) * | 2021-04-01 | 2021-06-29 | 快展有限公司 | 枕头高度调节方法、装置、计算机设备和存储介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180253614A1 (en) | Method and apparatus for recognizing fingerprint | |
WO2018028546A1 (zh) | 一种关键点的定位方法及终端、计算机存储介质 | |
WO2019019255A1 (zh) | 建立预测模型的装置、方法、预测模型建立程序及计算机可读存储介质 | |
KR102240279B1 (ko) | 컨텐트 처리 방법 및 그 전자 장치 | |
WO2020001013A1 (zh) | 图像处理方法、装置、计算机可读存储介质和终端 | |
CN105824383A (zh) | 用于管理电力的电子装置和方法 | |
US20150095833A1 (en) | Method for displaying in electronic device and electronic device thereof | |
WO2020001014A1 (zh) | 图像美化方法、装置及电子设备 | |
KR102500715B1 (ko) | 전자 장치 및 전자 장치 제어 방법 | |
US9355304B2 (en) | Apparatus and method of determining facial expression type | |
KR20150026938A (ko) | 전자 장치 및 전자 장치의 서명 입력 처리 방법 | |
CN113040578A (zh) | 枕头高度调节方法、装置、计算机设备和存储介质 | |
WO2013123810A1 (zh) | 网页的显示方法、装置、浏览器及用户终端 | |
WO2022021650A1 (zh) | 计步方法、计步装置及计算机可读存储介质 | |
JP2018504713A (ja) | 細長い指紋センサを使用する指紋登録 | |
CN107787026A (zh) | 用于识别位置的方法和实现该方法的电子装置 | |
CN107193571A (zh) | 界面推送的方法、移动终端及存储介质 | |
US20150103222A1 (en) | Method for adjusting preview area and electronic device thereof | |
WO2021175020A1 (zh) | 一种人脸图像关键点方法、装置、计算机设备及存储介质 | |
KR20150064354A (ko) | 입력 처리 방법 및 그 전자 장치 | |
US20150220171A1 (en) | Method for processing input and electronic device thereof | |
WO2021056708A1 (zh) | 一种大批量数据导入方法、装置、计算机设备及存储介质 | |
CN110579003A (zh) | 智能空调的控制方法、装置、服务器及存储介质 | |
WO2022206880A1 (zh) | 枕头高度调节方法、装置、计算机设备和存储介质 | |
CN108509137A (zh) | 重新定义屏幕的操控显示区域的方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22779061 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22779061 Country of ref document: EP Kind code of ref document: A1 |