Linkage control method combining virtual reality and mattress, electronic equipment and storage medium
By obtaining the user's physiological parameters and adjusting the output information of the mattress and virtual reality equipment, it solves the problem that existing mattresses cannot provide an immersive relaxing environment, realizes effective linkage between the mattress and virtual reality equipment, and improves the user experience.
Patent Information
- Application Number
- CN202410790446.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
AI Technical Summary
Existing mattresses cannot provide an immersive relaxing environment, have poor user experience, and cannot be effectively linked with virtual reality devices.
By obtaining the user's physiological parameters, such as heart rate and breathing frequency, the output information of the mattress and virtual reality device is adjusted to ensure the linkage between the two to generate an immersive relaxing environment suitable for the human body.
Through the linkage between the mattress and the virtual reality device, the human body can quickly enter a relaxed state and improve the user experience.
Smart Images

Figure CN118614729A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mattress adjustment, and in particular to a linkage control method combining virtual reality and a mattress, an electronic device and a storage medium. Background Art
[0002] Virtual reality technology is relatively mature now, but it lacks interactive functions with smart mattresses with adjustment functions. Through the linkage between smart mattresses and virtual reality devices, users can relax in an immersive environment.
[0003] Existing mattresses usually have a complete magnetic therapy layer or vibration massage layer embedded in the mattress, which relaxes the human body by electromagnetic therapy or vibration massage through electromagnetic waves, but cannot allow users to enter an immersive relaxation environment, resulting in a poor user experience. Summary of the invention
[0004] The present invention provides a linkage control method of a virtual reality device and a mattress, an electronic device and a storage medium, so as to solve the technical problem that the existing mattress cannot provide an immersive relaxation environment and has a poor user experience.
[0005] According to one aspect of the present invention, a method for linkage control of a virtual reality device and a mattress is provided, comprising:
[0006] Acquiring physiological parameters of the user; the physiological parameters include heart rate and / or breathing rate;
[0007] Determining the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters;
[0008] The actual fluctuation pattern of the mattress is adjusted according to the demand fluctuation pattern, and the actual output information of the virtual reality device is adjusted according to the demand output information.
[0009] Optionally, determining a mattress demand fluctuation pattern according to the physiological parameter comprises:
[0010] Determining a required airbag fluctuation frequency and / or a required airbag fluctuation amplitude of an airbag in a mattress according to the physiological parameters;
[0011] Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes:
[0012] adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude;
[0013] Determining the required output information of the virtual reality device according to the physiological parameters includes:
[0014] Determining the required wave fluctuation frequency and / or required wave fluctuation amplitude of the wave image displayed by the virtual reality device according to the physiological parameters;
[0015] Adjusting actual output information of the virtual reality device according to the required output information includes:
[0016] The actual wave fluctuation frequency of the wave image displayed by the virtual reality device is adjusted according to the required wave fluctuation frequency, and / or the actual wave fluctuation amplitude of the wave image displayed by the virtual reality device is adjusted according to the required wave fluctuation amplitude.
[0017] Optionally, the demand airbag fluctuation frequency is positively correlated with the demand wave fluctuation frequency, and the demand airbag fluctuation amplitude is positively correlated with the demand wave fluctuation amplitude.
[0018] Optionally, determining a mattress demand fluctuation pattern according to the physiological parameter comprises:
[0019] Determining a required airbag fluctuation frequency and / or a required airbag fluctuation amplitude of an airbag in a mattress according to the physiological parameters;
[0020] Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes:
[0021] adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude;
[0022] Determining the required output information of the virtual reality device according to the physiological parameters includes:
[0023] Determining the required sound loudness and / or required sound timbre of the sound output by the virtual reality device according to the physiological parameters;
[0024] Adjusting actual output information of the virtual reality device according to the required output information includes:
[0025] The actual sound loudness of the wave image of the sound output by the virtual reality device is adjusted according to the required sound loudness, and / or the actual sound timbre of the sound output by the virtual reality device is adjusted according to the required sound timbre.
[0026] Optionally, determining a mattress demand fluctuation pattern according to the physiological parameter comprises:
[0027] Determining a required airbag fluctuation frequency and / or a required airbag fluctuation amplitude of an airbag in a mattress according to the physiological parameters;
[0028] Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes:
[0029] adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude;
[0030] Determining the required output information of the virtual reality device according to the physiological parameters includes:
[0031] Determining the required refresh frequency of the image displayed by the virtual reality device according to the physiological parameters;
[0032] Adjusting actual output information of the virtual reality device according to the required output information includes:
[0033] The actual refresh frequency of the image displayed by the virtual reality device is adjusted according to the required refresh frequency.
[0034] Optionally, the mattress includes a plurality of independently arranged air bags;
[0035] Determining the required airbag fluctuation frequency of the airbag in the mattress according to the physiological parameters includes:
[0036] adjusting the inflation interval of each airbag in the mattress according to the physiological parameters;
[0037] Determining the required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters includes:
[0038] The inflation amount of each airbag in the mattress is adjusted according to the physiological parameters.
[0039] Optionally, determining the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters includes:
[0040] When the physiological parameter satisfies a first preset parameter range, determining that the demand fluctuation mode of the mattress is a first demand fluctuation mode, and the demand output information of the virtual reality device is first demand output information;
[0041] When the physiological parameter satisfies the second preset parameter range, the demand fluctuation mode of the mattress is determined to be the second demand fluctuation mode, and the demand output information of the virtual reality device is the second demand output information; wherein, the parameter in the first preset parameter range is greater than the parameter in the second preset parameter range, the fluctuation parameter in the first demand fluctuation mode is greater than the fluctuation parameter in the second demand fluctuation mode, and the output parameter in the first demand output information is greater than the output parameter in the second demand output information.
[0042] Optionally, adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern comprises:
[0043] Determining a fluctuation parameter adjustment step value according to the fluctuation parameter in the demand fluctuation mode and the fluctuation parameter in the current fluctuation mode;
[0044] Adjust the actual fluctuation mode of the mattress to the required fluctuation mode by adjusting the step value according to the fluctuation parameter;
[0045] Adjusting actual output information of the virtual reality device according to the required output information includes:
[0046] Determine the output parameter adjustment step value according to the output parameter in the required output information and the output parameter in the current output mode;
[0047] The actual output mode of the virtual reality device is adjusted to the required output mode according to the output parameter adjustment step value.
[0048] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0049] at least one processor; and
[0050] a memory communicatively connected to the at least one processor; wherein,
[0051] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute any of the linkage control methods described above.
[0052] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement any of the above-mentioned linkage control methods when executed.
[0053] The technical solution of the embodiment of the present invention obtains the physiological parameters of the user, determines the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters, adjusts the actual fluctuation pattern of the mattress according to the demand fluctuation pattern, and adjusts the actual output information of the virtual reality device according to the demand output information. By linking the mattress with the virtual reality device, an immersive relaxation environment suitable for the current state of the human body is generated, which is conducive to the human body quickly entering a relaxation state and improving the user experience.
[0054] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0056] Figure 1 is a flow chart of a first method for linkage control of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0057] Figure 2 is a flow chart of a second method for linkage control of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0058] Figure 3 is a flow chart of a third method for linkage control of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0059] Figure 4 is a flow chart of a fourth method for linkage control of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0060] Figure 5 is a flow chart of a fifth method for linkage control of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0061] Figure 6 is a flow chart of a sixth method for linkage control of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0062] Figure 7 is a structural schematic diagram of a linkage control device of a virtual reality device and a mattress provided according to an embodiment of the present invention;
[0063] Figure 8 The present invention is a schematic diagram of the structure of an electronic device for implementing the linkage control method between a virtual reality device and a mattress according to an embodiment of the present invention. DETAILED DESCRIPTION
[0064] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0065] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, any variation of the terms "including" and "having" is intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0066] Figure 1 1 is a flow chart of a first method for controlling the linkage between a virtual reality device and a mattress according to an embodiment of the present invention. This embodiment can be applied to the linkage between a virtual reality device and a mattress to provide a relaxing environment for users. Figure 1 As shown, the method includes:
[0067] S110, obtaining physiological parameters of the user; the physiological parameters include heart rate and / or breathing rate.
[0068] Specifically, physiological parameters refer to various indicators used to monitor and describe normal life activities of the human body. Physiological parameters that reflect the state of the human body may include heart rate and / or respiratory rate, where heart rate refers to the number of heart beats per minute and respiratory rate refers to the number of breaths per minute. It should be noted that physiological parameters are collected through the mattress and sent to the virtual reality device processor.
[0069] S120: Determine the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters.
[0070] Specifically, a mattress is a piece of furniture for people to lie down and sleep. Its main function is to provide support and comfort to help people get a healthy and comfortable sleeping experience. The fluctuation mode of the mattress can be adjusted to make the surface of the mattress fluctuate to relax the human body. The required fluctuation mode of the mattress refers to the fluctuation mode required to adjust the current human body state to a relaxed state.
[0071] Virtual reality equipment is a device that can provide an immersive experience. It uses computer technology to simulate a three-dimensional virtual world, allowing users to feel as if they are actually there. Virtual reality equipment outputs information to put the human body into a state of relaxation and concentration. The required output information of virtual reality equipment refers to the information that the virtual reality equipment needs to output in order to adjust the human body to a relaxed state.
[0072] For example, when the heart rate and breathing frequency are fast, it means that the human body is in an excited state. To adjust the user in the excited state to a relaxed state, the mattress can be made to fluctuate more violently while the virtual reality device needs to output more intense information to match the user's current state; when the heart rate and breathing frequency are slow, it means that the human body is in a stable state. To adjust the user in the stable state to a relaxed state, the mattress can be made to fluctuate more steadily while the virtual reality device outputs information that tends to be smooth.
[0073] S130: adjusting the actual fluctuation pattern of the mattress according to the required fluctuation pattern, and adjusting the actual output information of the virtual reality device according to the required output information.
[0074] Specifically, the mattress is a smart mattress, including multiple air bags that can be inflated and deflated as needed. The actual fluctuation pattern of the mattress is controlled by the air pressure data of the air bags. The air pressure inside the air bags is adjusted according to the required fluctuation pattern to make the mattress fluctuate. The actual output information of the virtual reality device is controlled according to the parameters of the image displayed by the virtual reality device. The parameters of the image displayed by the virtual reality device are adjusted according to the required output information to make the virtual reality device simulate a three-dimensional virtual image.
[0075] The technical solution of the embodiment of the present invention obtains the physiological parameters of the user, determines the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters, adjusts the actual fluctuation pattern of the mattress according to the demand fluctuation pattern, and adjusts the actual output information of the virtual reality device according to the demand output information. By linking the mattress with the virtual reality device, an immersive relaxation environment suitable for the current state of the human body is generated, which is conducive to the human body quickly entering a relaxation state and improving the user experience.
[0076] Optionally, Figure 2 FIG. 1 is a flow chart of a second method for controlling a virtual reality device and a mattress in linkage with each other according to an embodiment of the present invention. Figure 2 As shown, the method includes:
[0077] S210: Acquire physiological parameters of the user.
[0078] S220, determining the required airbag fluctuation frequency and / or required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters, and determining the required wave fluctuation frequency and / or required wave fluctuation amplitude of the wave image displayed by the virtual reality device according to the physiological parameters.
[0079] Specifically, the airbag fluctuation frequency refers to how fast the airbag pressure changes, and the airbag fluctuation amplitude refers to the amount of air in the airbag. Based on physiological parameters, only the required airbag fluctuation frequency or only the required airbag fluctuation amplitude can be determined. The airbag fluctuation frequency and fluctuation amplitude can also be determined simultaneously based on physiological parameters.
[0080] Optionally, the mattress includes multiple independently arranged air bags; determining the demand air bag fluctuation frequency of the air bags in the mattress according to physiological parameters, including: adjusting the inflation interval time of each air bag in the mattress according to the physiological parameters; determining the demand air bag fluctuation amplitude of the air bags in the mattress according to physiological parameters, including: adjusting the inflation amount of each air bag in the mattress according to the physiological parameters.
[0081] Specifically, the airbag fluctuation frequency reflects the speed of the airbag fluctuation. The airbag fluctuation frequency is adjusted by adjusting the inflation interval time of each airbag. For example, the shorter the inflation interval time, the faster the airbag pressure changes, and the corresponding airbag fluctuation frequency is higher. Conversely, the longer the inflation interval time, the slower the airbag pressure changes, and the corresponding fluctuation frequency is lower.
[0082] The airbag fluctuation amplitude reflects the height of the airbag fluctuation, and the fluctuation amplitude is adjusted by adjusting the inflation volume of each airbag. For example, the larger the inflation volume, the greater the height change of the airbag, and the greater the fluctuation amplitude of the corresponding airbag. Conversely, the smaller the inflation volume, the smaller the height change of the airbag, and the smaller the fluctuation amplitude of the corresponding airbag.
[0083] The fluctuation frequency of the airbag is adjusted by controlling the inflation time of each airbag, and the fluctuation amplitude of the airbag is adjusted by controlling the inflation amount of the airbag. The fluctuation mode of the mattress is accurately adjusted to further improve the user experience.
[0084] The virtual reality device can simulate the image of wave fluctuations. The wave fluctuation frequency reflects the speed of wave fluctuations, and the wave fluctuation amplitude reflects the height of wave fluctuations. While determining the required airbag fluctuation frequency and / or required airbag fluctuation amplitude of the airbag in the mattress according to physiological parameters, only the required wave fluctuation frequency or only the required wave fluctuation amplitude can be determined according to physiological parameters. The required wave fluctuation frequency and the required wave fluctuation amplitude can also be determined simultaneously according to physiological parameters.
[0085] Exemplarily, when the heart rate and / or breathing rate is faster, it can be determined that the demand airbag fluctuation frequency is high and the demand airbag fluctuation amplitude is large; when the heart rate and / or breathing rate is slower, it can be determined that the demand airbag fluctuation frequency is low and the demand airbag fluctuation amplitude is small.
[0086] When the heart rate and / or breathing frequency is fast, it can be determined that the demand wave fluctuation frequency is high and the demand wave fluctuation amplitude is large; when the heart rate and / or breathing frequency is slow, it can be determined that the demand wave fluctuation frequency is low and the demand wave fluctuation amplitude is small.
[0087] S230. Adjust the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjust the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude; adjust the actual wave fluctuation frequency of the wave image displayed by the virtual reality device according to the required wave fluctuation frequency, and / or adjust the actual wave fluctuation amplitude of the wave image displayed by the virtual reality device according to the required wave fluctuation amplitude.
[0088] Specifically, after the required airbag fluctuation frequency and / or the required airbag fluctuation amplitude are determined, the actual airbag fluctuation frequency can be adjusted only according to the required airbag fluctuation frequency, or the actual airbag fluctuation amplitude can be adjusted only according to the required airbag fluctuation amplitude, or the actual airbag fluctuation frequency and the actual airbag fluctuation amplitude can be adjusted according to both the required airbag fluctuation frequency and the required airbag fluctuation amplitude.
[0089] After the required wave fluctuation frequency and / or the required wave fluctuation amplitude are determined, the actual wave fluctuation frequency can be determined only according to the required wave fluctuation frequency, or the actual wave fluctuation amplitude can be determined only according to the required wave fluctuation amplitude, and the actual wave fluctuation frequency and the actual wave fluctuation amplitude can also be adjusted simultaneously according to the required wave fluctuation frequency and the required wave fluctuation amplitude.
[0090] The embodiment of the present invention adjusts the fluctuation frequency and / or fluctuation amplitude of the mattress airbags and the fluctuation frequency and / or fluctuation amplitude of the wave image simulated by the virtual reality device according to the physiological parameters, and generates an immersive relaxation environment suitable for the current state of the human body through the linkage between the mattress and the virtual reality device, which is conducive to the relaxation of the human body and improves the user experience.
[0091] Optionally, the demand airbag fluctuation frequency is positively correlated with the demand wave fluctuation frequency, and the demand airbag fluctuation amplitude is positively correlated with the demand wave fluctuation amplitude.
[0092] Specifically, positive correlation means that there is a change relationship in the same direction between two variables, that is, when one variable increases, the other variable also tends to increase, and vice versa. For example, when the heart rate and / or breathing rate is fast, deep adjustment is needed at this time, and the required airbag fluctuation frequency is larger at this time, and the corresponding required wave fluctuation frequency is also larger; when the heart rate and / or breathing rate is slow, the required airbag fluctuation frequency is smaller at this time, and the corresponding required wave fluctuation frequency is also smaller; when the heart rate and / or breathing rate is fast, deep adjustment is needed at this time, and the required airbag fluctuation amplitude is larger, and the corresponding required wave fluctuation amplitude is also larger; when the heart rate and / or breathing rate is slow, the required airbag fluctuation amplitude is smaller, and the corresponding required wave fluctuation amplitude is also smaller.
[0093] The embodiment of the present invention sets the demand airbag fluctuation frequency to be positively correlated with the demand wave fluctuation frequency, and the demand airbag fluctuation amplitude to be positively correlated with the demand wave fluctuation amplitude, and adjusts the mattress airbag fluctuation to cooperate with the fluctuation of the wave image displayed by the virtual reality device, thereby further enabling the human body to enter a relaxation state faster and improving the user experience.
[0094] Figure 3 FIG. 1 is a flow chart of a third method for controlling a virtual reality device and a mattress in linkage with each other according to an embodiment of the present invention. Figure 3 As shown, the method includes:
[0095] S310: Acquire physiological parameters of the user.
[0096] S320, determining the required airbag fluctuation frequency and / or required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters, and determining the required sound loudness and / or required sound timbre of the sound output by the virtual reality device according to the physiological parameters;
[0097] Specifically, the sound output by the virtual reality device can be white noise. The loudness of the sound refers to the strength or size of the sound perceived by the human ear. The timbre of the sound refers to the unique texture of the sound, which is determined by the vibration characteristics of the sound-emitting body. The timbre includes a smooth timbre and an intense timbre. A smooth timbre sounds softer, and an intense timbre sounds harder.
[0098] The virtual reality device can output the sound of ocean waves. While determining the required airbag fluctuation frequency and / or required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters, only the required sound loudness of the sound output by the virtual reality device can be determined according to the physiological parameters, or only the timbre of the required sound can be determined according to the physiological parameters, and both the required sound loudness and the timbre of the required sound can also be determined according to the physiological parameters.
[0099] For example, when the heart rate and / or breathing rate is fast, it can be determined that the required airbag fluctuation frequency is high frequency, the required airbag fluctuation amplitude is large amplitude, and the loudness of the required sound is large loudness, and the timbre of the required sound is intense; when the heart rate and / or breathing rate is slow, it can be determined that the required airbag fluctuation frequency is low frequency, the required airbag fluctuation amplitude is small amplitude, and the loudness of the required sound is small loudness, and the timbre of the required sound is gentle.
[0100] S330, adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude; adjusting the actual sound loudness of the wave image of the sound output by the virtual reality device according to the required sound loudness, and / or adjusting the actual sound timbre of the sound output by the virtual reality device according to the required sound timbre.
[0101] Specifically, after the required airbag fluctuation frequency and / or the required airbag fluctuation amplitude are determined, the actual airbag fluctuation frequency can be adjusted only according to the required airbag fluctuation frequency, or the actual airbag fluctuation amplitude can be adjusted only according to the required airbag fluctuation amplitude, or the actual airbag fluctuation frequency and the actual airbag fluctuation amplitude can be adjusted according to both the required airbag fluctuation frequency and the required airbag fluctuation amplitude.
[0102] After the required sound loudness and / or required sound timbre is determined, the actual sound loudness may be adjusted only according to the required sound loudness, or the actual sound timbre may be adjusted only according to the required sound timbre, or the actual sound loudness and the actual sound timbre may be determined according to the required sound loudness and the required sound timbre.
[0103] The embodiment of the present invention adjusts the fluctuation frequency and / or fluctuation amplitude of the mattress airbag and the loudness and / or sound timbre of the virtual reality device output according to the physiological parameters. Through the linkage between the mattress and the virtual reality device, the wave fluctuations simulated by the mattress fluctuations and the wave sounds output by the virtual reality device cooperate with each other to generate an immersive relaxation environment suitable for the current state of the human body, further enabling the human body to quickly relax and improve the user experience.
[0104] Optionally, Figure 4 FIG. 4 is a flow chart of a fourth method for controlling a virtual reality device and a mattress in linkage with each other according to an embodiment of the present invention. Figure 4 As shown, the method includes:
[0105] S410: Acquire physiological parameters of the user.
[0106] S420: Determine the required airbag fluctuation frequency and / or required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters, and determine the required refresh frequency of the image displayed by the virtual reality device according to the physiological parameters.
[0107] Specifically, the refresh rate refers to the number of times the image is updated within one second. A suitable refresh rate can reduce visual fatigue and help the human body relax. The image can be a wave image. While determining the required airbag fluctuation frequency and / or required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters, the required refresh rate of the image displayed by the virtual reality device can be determined according to the physiological parameters.
[0108] For example, when the heart rate and / or breathing rate is fast, it can be determined that the required airbag fluctuation frequency is high, the required airbag fluctuation amplitude is large, and the required refresh frequency can be determined to be high; when the heart rate and / or breathing rate is slow, it can be determined that the required airbag fluctuation frequency is low, the required airbag fluctuation amplitude is small, and the required refresh frequency can be determined to be low.
[0109] S430, adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude; adjusting the actual refresh frequency of the image displayed by the virtual reality device according to the required refresh frequency.
[0110] Specifically, after the required airbag fluctuation frequency and / or required airbag fluctuation amplitude is determined, the actual airbag fluctuation frequency can be adjusted only according to the required airbag fluctuation frequency or the actual airbag fluctuation amplitude can be adjusted only according to the required airbag fluctuation amplitude, or the actual airbag fluctuation frequency and the actual airbag fluctuation amplitude can be adjusted according to the required airbag fluctuation frequency and the required airbag fluctuation amplitude at the same time. At the same time, after determining the appropriate required refresh frequency according to the physiological parameters, the actual refresh frequency of the image displayed by the virtual reality device is adjusted according to the required refresh frequency.
[0111] The embodiment of the present invention adjusts the fluctuation frequency and / or fluctuation amplitude of the mattress airbags and the refresh frequency of the image displayed by the virtual reality device according to the physiological parameters. Through the linkage between the mattress and the virtual reality device, the fluctuation of the mattress and the refresh frequency of the image displayed by the virtual reality device cooperate with each other to generate an immersive relaxation environment suitable for the current state of the human body, further enabling the human body to quickly relax and improve the user experience.
[0112] Figure 5 FIG. 4 is a flow chart of a fifth method for controlling a virtual reality device and a mattress in linkage with each other according to an embodiment of the present invention. Figure 5 As shown, the method comprises the following steps:
[0113] S510: Acquire physiological parameters of the user.
[0114] S520: When the physiological parameter satisfies the first preset parameter range, determining that the demand fluctuation mode of the mattress is the first demand fluctuation mode, and the demand output information of the virtual reality device is the first demand output information.
[0115] Specifically, the first preset parameter range may be an excited state with a heart rate greater than 100 beats per minute. At this time, the first demand fluctuation mode may be a violent fluctuation mode, and the first demand output information may be intense output information.
[0116] S530. When the physiological parameters satisfy the second preset parameter range, determine that the demand fluctuation mode of the mattress is the second demand fluctuation mode, and the demand output information of the virtual reality device is the second demand output information; wherein, the parameters in the first preset parameter range are greater than the parameters in the second preset parameter range, the fluctuation parameters in the first demand fluctuation mode are greater than the fluctuation parameters in the second demand fluctuation mode, and the output parameters in the first demand output information are greater than the output parameters in the second demand output information.
[0117] Specifically, the second preset parameter range may be a stable state where the heart rate is less than 100 and greater than 80 beats per minute. At this time, the first demand fluctuation mode may be a stable fluctuation mode, and the first demand output information may be a smooth output information.
[0118] S540: adjusting the actual fluctuation pattern of the mattress according to the required fluctuation pattern, and adjusting the actual output information of the virtual reality device according to the required output information.
[0119] The embodiment of the present invention determines a suitable demand fluctuation pattern and suitable demand output information in different physiological parameter preset parameter ranges, and generates an immersive relaxation environment suitable for the current state of the human body through linkage between a mattress and a virtual reality device, which is conducive to relaxation of the human body and improves user experience.
[0120] It should be noted that the above embodiment is described by taking two demand fluctuation modes and two output information as examples, and it can also be three or more. For example, when the heart rate is less than 70 times per minute, the human body enters a relaxed state, and at this time, the mattress and the virtual reality device display image can be adjusted through the third demand fluctuation mode and the third demand output information. Among them, the parameters in the third demand fluctuation mode are smaller than the fluctuation parameters in the second demand fluctuation mode, and the output parameters in the third demand output information are smaller than the output parameters in the second demand output information.
[0121] Figure 6 FIG. 6 is a flow chart of a sixth method for controlling a virtual reality device and a mattress in linkage with each other according to an embodiment of the present invention. Figure 6 As shown, the method comprises the following steps:
[0122] S610: Acquire physiological parameters of the user.
[0123] S620: When the physiological parameter satisfies the first preset parameter range, determining that the demand fluctuation mode of the mattress is the first demand fluctuation mode, and the demand output information of the virtual reality device is the first demand output information.
[0124] S630: When the physiological parameter satisfies the second preset parameter range, determining that the demand fluctuation mode of the mattress is the second demand fluctuation mode, and the demand output information of the virtual reality device is the second demand output information.
[0125] S640, determining a fluctuation parameter adjustment step value according to fluctuation parameters in the required fluctuation mode and fluctuation parameters in the current fluctuation mode, and adjusting the actual fluctuation mode of the mattress to the required fluctuation mode according to the fluctuation parameter adjustment step value; determining an output parameter adjustment step value according to output parameters in the required output information and output parameters in the current output mode; and adjusting the actual output mode of the virtual reality device to the required output mode according to the output parameter adjustment step value.
[0126] Specifically, the determination of the step value can make the parameter increase or decrease by the same value during the adjustment process to achieve progressive adjustment. Taking the mattress fluctuation frequency as an example, the step value can be determined to be 5 according to the required fluctuation frequency and the actual fluctuation frequency, wherein the actual fluctuation frequency is 100Hz and the required frequency is 80Hz. At this time, the step value can be decreased according to the same step value, from 100Hz to 95Hz, 90Hz, 85Hz, and 80Hz in sequence.
[0127] The embodiment of the present invention gradually adjusts the actual mode to the required mode by determining the step value, thereby achieving seamless adjustment, avoiding discomfort to the user caused by sudden parameter changes, and improving the user experience.
[0128] Figure 7 FIG. 1 is a schematic diagram of a structure of a linkage control device for a virtual reality device and a mattress according to an embodiment of the present invention. Figure 7 As shown, the device comprises:
[0129] The acquisition module 710 is used to acquire the physiological parameters of the user; the physiological parameters include heart rate and / or breathing rate;
[0130] A determination module 720, for determining a demand fluctuation pattern of a mattress and demand output information of a virtual reality device according to physiological parameters;
[0131] The adjustment module 730 is used to adjust the actual fluctuation pattern of the mattress according to the required fluctuation pattern, and adjust the actual output information of the virtual reality device according to the required output information.
[0132] The linkage control device for a virtual reality device and a mattress provided in the embodiment of the present invention can execute the linkage control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0133] Figure 8 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0134] like Figure 8As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0135] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0136] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the linkage control method of the virtual reality device and the mattress.
[0137] In some embodiments, the method for controlling the linkage between the virtual reality device and the mattress may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for controlling the linkage between the virtual reality device and the mattress described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for controlling the linkage between the virtual reality device and the mattress in any other appropriate manner (e.g., by means of firmware).
[0138] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0139] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0140] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0141] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0142] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0143] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0144] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0145] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A linkage control method for a virtual reality device and a mattress, characterized in that: include: Obtaining the user's physiological parameters; The physiological parameters include heart rate and / or respiratory rate; Determining the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters; The actual fluctuation pattern of the mattress is adjusted according to the demand fluctuation pattern, and the actual output information of the virtual reality device is adjusted according to the demand output information.
2. The linkage control method according to claim 1, characterized in that: Determining a mattress demand fluctuation pattern based on the physiological parameters includes: Determining a required airbag fluctuation frequency and / or a required airbag fluctuation amplitude of an airbag in a mattress according to the physiological parameters; Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes: adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude; Determining the required output information of the virtual reality device according to the physiological parameters includes: Determining the required wave fluctuation frequency and / or required wave fluctuation amplitude of the wave image displayed by the virtual reality device according to the physiological parameters; Adjusting actual output information of the virtual reality device according to the required output information includes: The actual wave fluctuation frequency of the wave image displayed by the virtual reality device is adjusted according to the required wave fluctuation frequency, and / or the actual wave fluctuation amplitude of the wave image displayed by the virtual reality device is adjusted according to the required wave fluctuation amplitude.
3. The control method according to claim 2, characterized in that: The demand airbag fluctuation frequency is positively correlated with the demand wave fluctuation frequency, and the demand airbag fluctuation amplitude is positively correlated with the demand wave fluctuation amplitude.
4. The linkage control method according to claim 1, characterized in that: Determining a mattress demand fluctuation pattern based on the physiological parameters includes: Determining a required airbag fluctuation frequency and / or a required airbag fluctuation amplitude of an airbag in a mattress according to the physiological parameters; Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes: adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude; Determining the required output information of the virtual reality device according to the physiological parameters includes: Determining the required sound loudness and / or required sound timbre of the sound output by the virtual reality device according to the physiological parameters; Adjusting actual output information of the virtual reality device according to the required output information includes: The actual sound loudness of the wave image of the sound output by the virtual reality device is adjusted according to the required sound loudness, and / or the actual sound timbre of the sound output by the virtual reality device is adjusted according to the required sound timbre.
5. The linkage control method according to claim 1, characterized in that: Determining a mattress demand fluctuation pattern based on the physiological parameters includes: Determining a required airbag fluctuation frequency and / or a required airbag fluctuation amplitude of an airbag in a mattress according to the physiological parameters; Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes: adjusting the actual airbag fluctuation frequency of the airbag in the mattress according to the required airbag fluctuation frequency, and / or adjusting the actual airbag fluctuation amplitude of the airbag in the mattress according to the required airbag fluctuation amplitude; Determining the required output information of the virtual reality device according to the physiological parameters includes: Determining the required refresh frequency of the image displayed by the virtual reality device according to the physiological parameters; Adjusting actual output information of the virtual reality device according to the required output information includes: The actual refresh frequency of the image displayed by the virtual reality device is adjusted according to the required refresh frequency.
6. The linkage control method according to claim 2, 4 or 5, characterized in that: The mattress includes a plurality of independently arranged air bags; Determining the required airbag fluctuation frequency of the airbag in the mattress according to the physiological parameters includes: adjusting the inflation interval of each airbag in the mattress according to the physiological parameters; Determining the required airbag fluctuation amplitude of the airbag in the mattress according to the physiological parameters includes: The inflation amount of each airbag in the mattress is adjusted according to the physiological parameters.
7. The linkage control method according to claim 1, characterized in that: Determining the demand fluctuation pattern of the mattress and the demand output information of the virtual reality device according to the physiological parameters includes: When the physiological parameter satisfies a first preset parameter range, determining that the demand fluctuation mode of the mattress is a first demand fluctuation mode, and the demand output information of the virtual reality device is first demand output information; When the physiological parameter satisfies the second preset parameter range, the demand fluctuation mode of the mattress is determined to be the second demand fluctuation mode, and the demand output information of the virtual reality device is the second demand output information; wherein, the parameter in the first preset parameter range is greater than the parameter in the second preset parameter range, the fluctuation parameter in the first demand fluctuation mode is greater than the fluctuation parameter in the second demand fluctuation mode, and the output parameter in the first demand output information is greater than the output parameter in the second demand output information.
8. The linkage control method according to claim 7, characterized in that: Adjusting the actual fluctuation pattern of the mattress according to the demand fluctuation pattern includes: Determining a fluctuation parameter adjustment step value according to the fluctuation parameter in the demand fluctuation mode and the fluctuation parameter in the current fluctuation mode; Adjust the actual fluctuation mode of the mattress to the required fluctuation mode by adjusting the step value according to the fluctuation parameter; Adjusting actual output information of the virtual reality device according to the required output information includes: Determine the output parameter adjustment step value according to the output parameter in the required output information and the output parameter in the current output mode; The actual output mode of the virtual reality device is adjusted to the required output mode according to the output parameter adjustment step value.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the linkage control method as described in any one of claims 1-8.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the linkage control method as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Environment self-adaptive intelligent sleep aiding device and method
CN106730238A
Psychology auxiliary hypnosis equipment based on multi-dimensional perception principle
CN114366984A
Touch control method and device, wearable equipment and storage medium
CN115840503A
Intelligent bed control method and device, electronic equipment and storage medium
CN116224813A
Sofa-based emotion adjustment method and device, electronic equipment and storage medium
CN116763089A
