Multifunctional sleep experiment module control method, device and equipment and storage medium

By combining audio feature analysis and human physiological data, intelligently adjusting the massage, phototherapy and magnetic therapy parameters of the sleep cabin, solving the problem of poor sleep assistive experience in the existing technology, and achieving personalized sleep therapy effects.

CN119055924APending Publication Date: 2024-12-03SPACE INSTITUTE OF SOUTHERN CHINA (SHENZHEN)
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411188374.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing technology cannot provide comprehensive sleep aid and physical therapy functions, the user's sleep assist experience is poor, and the lack of intelligent and personalized design is unable to meet the individual needs of users.

Method used

By obtaining human sign data and real-time audio data in sleep scenarios, using preset audio processing algorithms to perform audio analysis, extracting key audio feature information, and adjusting the parameters related to massage, phototherapy and magnetic therapy based on these information and sign data, to achieve Intelligent sleep-assisted treatment.

Benefits of technology

It provides a more comprehensive and personalized sleep experience, overcomes the shortcomings of the existing technology in functional comprehensiveness, intelligence and personalized design, and provides users with more comprehensive and effective sleep assistance services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119055924A_ABST
    Figure CN119055924A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent sleep experiment cabins, solves the problems that in the prior art, comprehensive sleep aiding and physical therapy functions cannot be provided, and the sleep aiding experience of a user is poor, and provides a multifunctional sleep experiment cabin control method, device and equipment and a storage medium. The method comprises the following steps: acquiring human body sign data and real-time audio data of a target object in a sleep scene; performing audio analysis on the real-time audio data by using a preset audio processing algorithm, and outputting key audio feature information; according to the key audio feature information and the human body sign data, real-time vibration parameters related to massage, real-time illumination parameters related to phototherapy and real-time magnetic field parameters related to magnetic therapy are adjusted, and adjusted target parameters are output; and according to the target parameters, controlling a sleep experiment module to perform massage, phototherapy and magnetic therapy on the target object. According to the invention, more comprehensive and effective sleep assisting service is provided for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent sleep experiment cabins, and in particular to a control method, device, equipment and storage medium for a multifunctional sleep experiment cabin. Background Art

[0002] More and more people are troubled by sleep disorders and body pain. In order to improve these conditions, people are looking for various methods, among which music and massage to help sleep, as well as light therapy and magnetic therapy for physical therapy are widely recognized and adopted options.

[0003] Nevertheless, existing technologies still have some defects in meeting these needs: existing music sleep aids and massage products often lack sufficient personalized options. Users' sleep habits, preferences and physical conditions vary greatly, but the products on the market often provide a "one-size-fits-all" solution that cannot fully meet personalized needs; although some high-end products have begun to integrate intelligent technologies, such as sleep monitoring and automatic adjustment of volume or massage intensity, the intelligence and accuracy of these functions still need to be improved. At the same time, effective sleep aid and relaxation experience often requires interaction between the product and the user, such as adjusting the music or massage mode based on user feedback. Current products are still insufficient in providing a truly interactive experience. Although separate light therapy or magnetic therapy devices are available on the market, there are relatively few products that effectively integrate these therapies with other sleep aids or physical therapy technologies (such as music, massage). Users may need to purchase and use multiple devices to obtain a comprehensive treatment experience, which not only increases costs but also reduces the convenience of use.

[0004] The existing Chinese patent CN218044476U discloses a mattress with a music-aiding sleep function, comprising: an ergonomic mattress body including a coconut palm bed core layer, a basic sponge layer and a fixed cover, the fixed cover wraps the basic sponge layer, the basic sponge layer wraps the coconut palm bed core layer, the ergonomic mattress body is provided with sleep-aiding music pieces on both sides of the head along the distribution of human tissue, the sleep-aiding music pieces are embedded in the interior of the coconut palm bed core layer, the ergonomic mattress body is provided with sleep-aiding massage mechanisms at various parts along the distribution of human tissue, and the sleep-aiding massage mechanisms are embedded in the interior of the coconut palm bed core layer. Although the above design combines the natural support provided by the core layer of the coconut palm bed and the relaxation functions brought by the sleep-aiding music and the sleep-aiding massage mechanism, it still has some potential shortcomings: First, although the above solution provides a music and massage sleep-aiding solution, it lacks magnetic therapy and light therapy, and users need to purchase separate magnetic therapy and light therapy equipment to obtain a comprehensive physical therapy experience; second, although the above solution provides basic music and massage relaxation functions, it lacks intelligence and personalized design for individual users, and cannot provide users with the most optimized sleep assistance experience.

[0005] To this end, how to provide comprehensive sleep-aid and physiotherapy functions to create an intelligent and personalized sleep-aid experience for users is an urgent problem to be solved. Summary of the invention

[0006] In view of this, the present invention provides a multifunctional sleep experiment cabin control method, device, equipment and storage medium to solve the problem that the prior art cannot provide comprehensive sleep-aiding and physiotherapy functions and the user's sleep-aiding experience is poor.

[0007] The technical solution adopted by the present invention is:

[0008] In a first aspect, the present invention provides a method for controlling a multifunctional sleep experiment chamber, the method comprising:

[0009] S1: Acquire the human body sign data and real-time audio data of the target object in the sleeping scene;

[0010] S2: using a preset audio processing algorithm to perform audio analysis on the real-time audio data and output key audio feature information;

[0011] S3: adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters;

[0012] S4: According to the target parameters, the sleep experiment cabin is controlled to perform massage, light therapy and magnetic therapy on the target object.

[0013] Preferably, S2 includes:

[0014] S21: Acquire an electrical signal corresponding to the real-time audio data in a sleeping scene;

[0015] S22: performing short-time Fourier transform on the electrical signal, and outputting a real-time vibration spectrum corresponding to the real-time audio data vibration;

[0016] S23: Compare the real-time vibration spectrum with each standard vibration spectrum in a database, and output the real-time vibration category corresponding to the real-time vibration spectrum as the key audio feature information.

[0017] Preferably, S3 includes:

[0018] S31: adjusting the real-time vibration parameter and the real-time magnetic field parameter according to the key audio feature information, and outputting the adjusted target vibration parameter and target magnetic field parameter;

[0019] S32: Processing the human body sign data to determine the sleep stage and emotional state of the target object;

[0020] S33: adjusting the real-time lighting parameters according to the sleep stage and the emotional state, and outputting the adjusted target lighting parameters.

[0021] Preferably, the S31 includes:

[0022] S311: Obtaining a preset first mapping rule between each standard vibration category and a vibration parameter and a second mapping rule between each standard vibration category and a magnetic field parameter, wherein the vibration parameter includes at least a vibration intensity and a vibration frequency, and the magnetic field parameter includes at least a magnetic field intensity and a magnetic field frequency;

[0023] S312: Matching the real-time vibration category with each standard vibration category to determine the target vibration category corresponding to the real-time vibration spectrum;

[0024] S313: determining vibration parameter intervals corresponding to different vibration categories according to the first mapping rule;

[0025] S314: adjusting the vibration parameter range according to the target vibration category obtained by real-time vibration spectrum matching;

[0026] S315: When the real-time vibration parameter reaches a state matching the target vibration category, outputting the target vibration parameter;

[0027] S316: determining magnetic field parameter intervals corresponding to different vibration categories according to the second mapping rule;

[0028] S317: adjusting the magnetic field parameter range according to the target vibration category obtained by real-time vibration spectrum matching;

[0029] S318: When the real-time magnetic field parameters reach a state matching the target vibration category, the target magnetic field parameters are output.

[0030] Preferably, the S32 includes:

[0031] S321: Acquire the heart rate and body movement frequency of the target object according to the human body sign data;

[0032] S322: Acquire real-time video data of a preset area in a sleeping scene, and decompose the real-time video data into multiple frames of real-time images;

[0033] S323: using a breathing detection algorithm, processing each frame of real-time image to determine the breathing frequency information of the target object;

[0034] S324: Determine the sleep stage according to the heart rate, body movement frequency and breathing frequency information;

[0035] S325: Analyze the heart rate using biofeedback technology to determine the emotional state.

[0036] Preferably, the S33 includes:

[0037] S331: Acquire real-time initial illumination parameters, wherein the illumination parameters at least include color, illumination intensity, illumination time, and illumination direction;

[0038] S332: performing a primary calibration on the initial illumination parameter according to the sleep stage, and outputting a first illumination parameter;

[0039] S333: Perform secondary correction on the first lighting parameter according to the emotional state, and output the target lighting parameter.

[0040] Preferably, before S3, the method further includes:

[0041] S301: Obtaining a time interval corresponding to time information;

[0042] S302: Acquire target areas corresponding to massage, light therapy and magnetic therapy according to feedback information input by the user;

[0043] S303: Determine initial vibration parameters, initial magnetic field parameters, and initial illumination parameters according to the time interval and the target area.

[0044] In a second aspect, the present invention provides a multifunctional sleep experiment cabin control device, the device comprising:

[0045] A data acquisition module, used to acquire the human body sign data and real-time audio data of the target object in the sleeping scene;

[0046] An audio analysis module, used to perform audio analysis on the real-time audio data using a preset audio processing algorithm, and output key audio feature information;

[0047] A parameter adjustment module, for adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters;

[0048] The experimental chamber control module is used to control the sleep experimental chamber to perform massage, light therapy and magnetic therapy on the target object according to the target parameters.

[0049] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method of the first aspect in the above-mentioned embodiment.

[0050] In a fourth aspect, an embodiment of the present invention further provides a storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method of the first aspect in the above-mentioned embodiment is implemented.

[0051] In summary, the beneficial effects of the present invention are as follows:

[0052] The present invention provides a multifunctional sleep experiment cabin control method, device, equipment and storage medium, the method comprising: obtaining human body sign data and real-time audio data of a target object in a sleep scene; using a preset audio processing algorithm to perform audio analysis on the real-time audio data and output key audio feature information; adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to phototherapy and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters; according to the target parameters, controlling the sleep experiment cabin to perform massage, phototherapy and magnetic therapy on the target object. The present invention realizes a comprehensive sleep treatment function by combining audio feature analysis and human physiological data. First, the system obtains the human body sign data and real-time audio data of the target object, and analyzes them in combination with a preset audio processing algorithm to extract key audio feature information. Subsequently, using these audio feature information and human physiological data, the parameters related to massage, phototherapy and magnetic therapy are intelligently adjusted to achieve targeted sleep auxiliary treatment. This intelligent adjustment makes the treatment process more in line with the user's current state and individual needs, thereby providing a more comprehensive and personalized sleep experience. In this way, the present invention overcomes the deficiencies of the prior art in terms of comprehensive functions, intelligent and personalized design, and provides users with a more comprehensive and effective sleep assistance service. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0054] Figure 1 This is a schematic diagram of the overall working process of the multifunctional sleep experimental cabin control method in Example 1 of the present invention;

[0055] Figure 2 This is a schematic diagram of a process of performing audio analysis on the real-time audio data in Embodiment 1 of the present invention;

[0056] Figure 3 It is a schematic diagram of a process of adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy in Embodiment 1 of the present invention;

[0057] Figure 4 It is a schematic diagram of a process for adjusting the real-time vibration parameters and the real-time magnetic field parameters in Embodiment 1 of the present invention;

[0058] Figure 5 This is a schematic diagram of a process for determining the sleep stage and emotional state of a target object in Embodiment 1 of the present invention;

[0059] Figure 6 This is a schematic diagram of a process for adjusting the real-time illumination parameters in Embodiment 1 of the present invention;

[0060] Figure 7 This is a schematic diagram of a process for determining initial vibration parameters, initial magnetic field parameters, and initial illumination parameters in Embodiment 1 of the present invention;

[0061] Figure 8 This is a structural block diagram of a multifunctional sleep experiment cabin control device in Example 2 of the present invention;

[0062] Fig. 9 It is a schematic diagram of the structure of the electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described in conjunction with the drawings in the embodiment of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. In the absence of further restrictions, the elements defined by the phrase "comprising..." do not exclude the existence of other identical elements in the process, method, article or device comprising the elements. If there is no conflict, the embodiments of the present invention and the various features in the embodiments can be combined with each other, all within the protection scope of the present invention.

[0064] Example 1

[0065] See also Figure 1 Embodiment 1 of the present invention discloses a multifunctional sleeping experiment cabin control method.

[0066] The multifunctional sleeping experiment cabin comprises: a space cabin body; a mattress body; a sensor unit; a pneumatic unit; an auxiliary function unit; and a control operation unit.

[0067] The space capsule body is a main frame, and all units need to be integrated in the space capsule. The space capsule body is independently designed based on actual needs and has good sound insulation effect;

[0068] The sensor unit includes a piezoelectric sensor, an air pressure sensor and a temperature sensor; the air pressure sensor is used to sense the inflation and deflation of the airbag and the airbag pressure changes caused by the user's sleeping posture; the piezoelectric sensor is used to collect the human body sign data of the target object; the temperature sensor is used to detect the real-time temperature;

[0069] The mattress body adopts a supporting structure combined with a hydrophilic layer and a latex layer material, has good air permeability and comfort, and conforms to ergonomic design;

[0070] The pneumatic unit is used to achieve adaptive adjustment of pressure distribution and softness and hardness adaptation;

[0071] The auxiliary function unit is used to assist in intervening in sleep, and to study the sleep quality of people in various states through interventions in the form of magnetic therapy and light therapy, to perform data analysis through the detection data after the intervention, and to improve the sleep intervention method according to the analysis results to improve the sleep quality;

[0072] The control operation unit is used to adjust the multifunctional sleep experiment cabin to improve the user's sleep quality.

[0073] The method comprises:

[0074] S1: Acquire the human body sign data and real-time audio data of the target object in the sleeping scene;

[0075] Specifically, piezoelectric sensors are used to obtain the real-time human heart rate and body movement-related physiological data of the target object in the sleep scene, and the real-time audio data played in the sleep experiment cabin is obtained, providing reliable data support for the user's sleep depth and sleep state judgment. At the same time, the "Alpha Music" downloaded from the professional sleep music research platform is downloaded to the speaker memory card, and played with a one-click sleep command to provide a more comfortable and suitable music atmosphere. In addition, users can also call up and switch "Alpha Sleep Music" through the user mini-program interface or voice commands to achieve a more personalized and autonomous sleep experience. This intelligent music playback and control method effectively combines professional music research and user personalized needs, providing users with a more comfortable and personally tailored sleeping environment.

[0076] S2: using a preset audio processing algorithm to perform audio analysis on the real-time audio data and output key audio feature information;

[0077] Specifically, by analyzing real-time audio data with a preset audio processing algorithm, key feature information in the audio can be extracted. The key feature information is used to understand the audio content and identify the audio type. The audio analysis process includes audio feature extraction, feature representation, and feature classification. First, a series of features describing the audio content and structure, such as spectral features, time domain features, and frequency domain features, are extracted from the original audio data through an audio feature extraction algorithm, including short-time Fourier transform; then, after feature representation, the features are subjected to dimensionality reduction processing for subsequent classification and analysis; finally, the extracted and represented features are analyzed and classified to identify the key attributes and features of the audio. Such an audio analysis process can provide support for various application scenarios, including speech recognition, music recommendation, environmental monitoring, etc., providing users with a more intelligent and personalized audio experience.

[0078] In one embodiment, see Figure 2 , said S2 comprises:

[0079] S21: Acquire an electrical signal corresponding to the real-time audio data in a sleeping scene;

[0080] Specifically, in a sleeping scene, an electrical signal corresponding to the sleep-aiding music is obtained. The electrical signal may be an electrical signal obtained by converting vibrations or an electrical signal obtained by converting optical image signals. The vibration signal is continuous and non-stationary. It should be noted that vibrations may be collected by piezoelectric sensors, or vibration information may be obtained by other optical components, such as infrared rays, radar waves, and videos collected by cameras. The electrical signal data may be collected while the sleep-aiding music is playing to ensure that the collected electrical signals are synchronized with the playing of the music for subsequent analysis. The collected electrical signal data may be recorded and stored for subsequent processing and analysis.

[0081] S22: performing short-time Fourier transform on the electrical signal, and outputting a real-time vibration spectrum corresponding to the real-time audio data vibration;

[0082] Specifically, after the acquisition of the electrical signal is completed, the electrical signal is processed to obtain a real-time vibration spectrum, which is achieved through short-time Fourier transform (STFT). The specific steps are as follows: the collected electrical signal is pre-processed by filtering and denoising, and the pre-processed electrical signal is segmented according to a certain time window. The electrical signals in these time windows will be regarded as continuous electrical signal segments; a window function is applied to each signal segment to reduce spectrum leakage and improve the accuracy of the spectrum; a short-time Fourier transform is performed on each signal segment in each window to convert the time domain signal into a frequency domain signal; the transformed frequency domain signal is represented as a real-time vibration spectrum, and the vibration characteristics generated by the sleep-aiding music are reflected through the real-time vibration spectrum.

[0083] S23: Compare the real-time vibration spectrum with each standard vibration spectrum in a database, and output the real-time vibration category corresponding to the real-time vibration spectrum as the key audio feature information.

[0084] Specifically, in different sleep scenarios, a series of standard vibration spectra are collected and sorted, and these spectra correspond to known environmental conditions; the real-time vibration spectrum is compared with the standard vibration spectrum in the database, and the similarity between them is calculated, and the calculation method includes a similarity measurement method, such as Euclidean distance and cosine similarity; according to the similarity calculation result, the real-time vibration spectrum is classified into the category corresponding to the most similar standard vibration spectrum, and this category is the key audio feature information. By comparing the real-time vibration spectrum with the standard vibration spectrum and outputting the corresponding real-time vibration category, the key audio feature information in the sleep scenario is obtained.

[0085] S3: adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters;

[0086] Specifically, according to the key audio feature information and human sign data, combined with the real-time vibration, light and magnetic field parameters of massage, light therapy and magnetic therapy, intelligent adjustment and optimization are achieved. First, the audio feature information and human sign data are used to understand the user's current state and needs, such as sleep quality, emotional state, etc., so as to determine the most suitable adjustment plan; then, the vibration parameters of the massage device, the light parameters of the light therapy device and the magnetic field parameters of the magnetic therapy device are adjusted to provide a personalized treatment experience. For example, if the user is in a tense state, the system may increase the vibration intensity and frequency of the massage device, adjust the light color and brightness of the light therapy device, and increase the magnetic field strength of the magnetic therapy device to help the user relax. Through this intelligent adjustment, the treatment effect and user experience are effectively improved, providing users with more personalized and accurate health management services.

[0087] In one embodiment, see Figure 3 , said S3 comprises:

[0088] S31: adjusting the real-time vibration parameter and the real-time magnetic field parameter according to the key audio feature information, and outputting the adjusted target vibration parameter and target magnetic field parameter;

[0089] Specifically, based on the analysis of key audio feature information, combined with the adjustment of real-time vibration parameters and real-time magnetic field parameters, the user's current emotional state, physical and mental health status, and treatment needs are understood by analyzing audio feature information, so that the frequency, intensity, and mode of the vibration device are adjusted according to this information, as well as the magnetic field strength and direction of the magnetic field device are adjusted to provide target vibration parameters and target magnetic field parameters that meet user needs. For example, if the user is in an anxious or nervous state, the system may adjust the vibration frequency and intensity of the vibration device, and at the same time adjust the magnetic field parameters of the magnetic field device to help the user relax and relieve anxiety. Through this personalized adjustment, the effect of magnetic therapy can be improved, the user's comfort and experience can be enhanced, and the effectiveness and satisfaction of the treatment or relief process can be further improved.

[0090] In one embodiment, see Figure 4 , the S31 comprises:

[0091] S311: Obtaining a preset first mapping rule between each standard vibration category and a vibration parameter and a second mapping rule between each standard vibration category and a magnetic field parameter, wherein the vibration parameter includes at least a vibration intensity and a vibration frequency, and the magnetic field parameter includes at least a magnetic field intensity and a magnetic field frequency;

[0092] Specifically, firstly, a first mapping rule between each preset standard vibration category and vibration parameter and a second mapping rule between each standard vibration category and magnetic field parameter are established. The first mapping rule and the second mapping rule define the relationship between different vibration categories and magnetic field categories and their corresponding vibration parameters and magnetic field parameters. For example, assuming that we have three standard vibration categories: gentle, medium and strong, the vibration intensity and vibration frequency range corresponding to each vibration category are preset, as well as the magnetic field intensity and magnetic field frequency range corresponding to each vibration category; for example, the preset first mapping rule and the second mapping rule are: gentle vibration category: vibration intensity range is 1-3, vibration frequency range is 10-20Hz; magnetic field intensity is low, and magnetic field frequency is 1Hz. Medium vibration category: vibration intensity range is 4-6, vibration frequency range is 20-30Hz; magnetic field intensity is medium, and magnetic field frequency is 20Hz. Strong vibration category: vibration intensity range is 7-10, vibration frequency range is 30-40Hz; magnetic field intensity is high, and magnetic field frequency is 30Hz.

[0093] S312: Matching the real-time vibration category with each standard vibration category to determine the target vibration category corresponding to the real-time vibration spectrum;

[0094] Specifically, the real-time vibration category is matched with each standard vibration category. In the process of matching the real-time vibration category and determining the target vibration parameters, the real-time vibration spectrum is deeply analyzed and processed. First, the vibration spectrum is the representation of the vibration signal collected by the sensor in the frequency domain. It reflects the energy distribution of the vibration signal at different frequencies. Therefore, when analyzing the real-time vibration spectrum, spectrum analysis is required, including analysis of the amplitude, frequency distribution, and spectrum shape of the spectrum; secondly, when matching with the preset standard vibration category, the characteristic differences between different categories need to be taken into account. For example, a gentle vibration category may have a lower frequency and a smaller vibration amplitude, while a strong vibration category has a higher frequency and a larger vibration amplitude. Therefore, when matching, the characteristics of the real-time vibration spectrum in frequency and amplitude, as well as the characteristic range of the preset standard vibration category, are comprehensively considered. After determining the target vibration category corresponding to the real-time vibration spectrum, further determine the target vibration parameters, which include the intensity, frequency, and duration of the vibration; select a suitable parameter value from a preset vibration parameter range according to the matched target vibration category, for example, for the matched gentle vibration category, a lower vibration intensity and frequency can be selected to achieve a gentle vibration effect; the matching method includes using pattern recognition technology, such as support vector machine (SVM) or deep learning model, to classify the real-time vibration spectrum, first, extract relevant frequency domain features from the real-time vibration spectrum, such as spectrum energy distribution and frequency peak; then , using these features as input, a classifier model is trained, which can classify the real-time vibration spectrum into preset standard vibration categories, such as gentle, medium and strong; in the matching process, the real-time vibration spectrum is input into the trained classifier model, and the model will classify it into the most matching vibration category according to the combination of features. For example, if the energy distribution and frequency peak of the real-time vibration spectrum are similar to the characteristics of the gentle vibration category, the model will match it into the gentle vibration category. In this way, accurate matching of the real-time vibration spectrum is achieved, and then the target vibration category is determined, and the vibration parameters are adjusted accordingly, thereby realizing intelligent control and optimization.

[0095] S313: determining vibration parameter intervals corresponding to different vibration categories according to the first mapping rule;

[0096] S314: adjusting the vibration parameter range according to the target vibration category obtained by real-time vibration spectrum matching;

[0097] S315: When the real-time vibration parameters reach a state matching the target vibration category, the target vibration parameters are output; specifically, first, according to the preset first mapping rule, the vibration parameter ranges or values ​​corresponding to different vibration categories have been determined, and then, in combination with the target vibration category obtained by matching the real-time vibration spectrum, these vibration parameter ranges or values ​​are adjusted so that the real-time vibration parameters reach a state matching the target vibration category. This process includes adjusting the control parameters of the vibration device, such as adjusting the voltage, frequency, and pulse width of the vibration device; for example, assuming that we have three standard vibration categories: gentle, medium and strong, and corresponding vibration parameter ranges, according to the first mapping rule, the vibration intensity range of the gentle vibration category is 1-3, and the frequency range is 10-20Hz; the vibration intensity range of the medium vibration category is 4-6, and the frequency range is 20-30Hz; the vibration intensity range of the strong vibration category is 7-10, and the frequency range is 30-40Hz. Now, through real-time vibration spectrum matching, the target vibration category is determined to be gentle. Then, according to the first mapping rule, we adjust the real-time vibration parameters to the vibration parameter range of the gentle vibration category, for example, the vibration intensity is controlled at level 2 and the frequency is controlled at 15Hz. In this way, the output target vibration parameters are vibration intensity 2 and frequency 15Hz, which match the gentle vibration category. By combining the first mapping rule and the real-time vibration category, the real-time vibration parameters are intelligently adjusted to be consistent with the target vibration category, thereby providing a vibration experience that better meets user needs.

[0098] S316, determining magnetic field parameter intervals corresponding to different vibration categories according to the second mapping rule;

[0099] S317: adjusting the magnetic field parameter range according to the target vibration category obtained by real-time vibration spectrum matching;

[0100] S318: When the real-time magnetic field parameters reach a state matching the target vibration category, the target magnetic field parameters are output.

[0101] Specifically, first, according to the preset second mapping rule, the magnetic field parameter ranges or values ​​corresponding to different vibration categories are determined, and then, in combination with the target vibration category obtained by real-time vibration spectrum matching, these magnetic field parameter ranges or values ​​are adjusted so that the real-time magnetic field parameters reach a state matching the target vibration category. This is achieved by adjusting the control parameters of the magnetic therapy equipment, such as adjusting the intensity, frequency, direction, etc. of the magnetic field. For example, suppose we have three standard vibration categories: gentle, medium and strong, and the corresponding magnetic field parameter ranges. According to the second mapping rule, the magnetic field strength range of the gentle vibration category is 1-3Tes la, and the frequency range is 10-20Hz; the magnetic field strength range of the medium vibration category is 4-6Tes la, and the frequency range is 20-30Hz; the magnetic field strength range of the strong vibration category is 7-10Tes la, and the frequency range is 30-40Hz. Now, through real-time vibration spectrum matching, the target vibration category is determined to be gentle. Then, according to the second mapping rule, the real-time magnetic field parameters are adjusted to the magnetic field parameter range of the gentle vibration category, for example, the magnetic field strength is controlled at 2Tes la and the frequency is controlled at 15Hz. In this way, the output target magnetic field parameters are 2Tes la and 15Hz, and these parameters match the gentle vibration category. By combining the second mapping rule and the real-time vibration category, the real-time magnetic field parameters are intelligently adjusted to be consistent with the target vibration category, thereby providing a magnetic therapy experience that better meets user needs.

[0102] S32: Processing the human body sign data to determine the sleep stage and emotional state of the target object;

[0103] Specifically, the human body sign data is processed to determine the target object's sleep stage and emotional state by collecting and analyzing the individual's physiological parameters to identify its current sleep state and emotional state. This process involves a variety of physiological data, such as heart rate, respiratory rate, and body movement. First, these human body sign data are collected using sensors or monitoring equipment, and the human body sign data are analyzed using signal processing and machine learning techniques to determine multiple sleep stages, including wakefulness, falling asleep, light sleep, and deep sleep. For emotional states, the emotional state of the individual, such as happiness, anxiety, and tension, is identified by analyzing data such as sound, voice, and facial expressions; by processing and analyzing human body sign data, the target object's sleep stage and emotional state are accurately judged, providing an effective reference for subsequent regulation and control.

[0104] In one embodiment, see Figure 5 , the S32 comprises:

[0105] S321: Acquire the heart rate and body movement frequency of the target object according to the human body sign data;

[0106] Specifically, it is first necessary to collect the target object's physiological data, including heart rate and body movement frequency. The heart rate is obtained through a heart rate monitoring device or sensor, usually calculated by monitoring the heartbeat signal or pulse. The body movement frequency can be detected by an acceleration sensor or a motion sensor to detect the target object's movement activities, such as turning over and swinging in bed. After these data are collected, the heart rate and body movement frequency are analyzed and extracted to obtain the target object's physiological indicators during sleep.

[0107] S322: Acquire real-time video data of a preset area in a sleeping scene, and decompose the real-time video data into multiple frames of real-time images;

[0108] Specifically, first, it is necessary to use surveillance cameras or other visual devices to obtain real-time video data. These devices are usually installed around the sleep scene to capture the target object's activity status, sleeping posture and other information in the sleep experiment cabin. Once the video data is collected, it will be transmitted as a continuous video stream. Next, the continuous video stream is decomposed, that is, it is decomposed into a series of static image frames. This process divides the continuous video stream into several discrete image frames, each frame represents a moment in the video stream, and the decomposed image frames retain various details and dynamic changes in the sleep scene, such as the posture, movement, and breathing of the target object; this decomposition operation provides a basis for subsequent sleep analysis, because static image frames can be more conveniently used for respiratory detection and analysis, such as using these image frames to identify the target object's respiratory movement, monitor the rise and fall of the chest or abdomen, etc., so as to obtain respiratory frequency information. In addition, these image frames can also be used for posture analysis, sleep quality assessment, etc., to fully understand the target object's sleep state and performance. Therefore, processing real-time video data into multiple frames of real-time images provides an important data basis for subsequent sleep monitoring and analysis.

[0109] S323: using a breathing detection algorithm, processing each frame of real-time image to determine the breathing frequency information of the target object;

[0110] Specifically, in the step of using a breathing detection algorithm to process each frame of real-time image to determine the breathing frequency information of the target object, first, a Gaussian pyramid corresponding to each consecutive frame of the target image is established. This step aims to extract the spatial information of the image for subsequent motion detection and analysis. By establishing a Gaussian pyramid, the image is decomposed into versions of different scales, so that weak motion information can be captured at different resolutions; then, according to the pixel value of each pixel in each level of the Gaussian pyramid, the target pixel points belonging to weak motion are screened out. This step uses the difference method to identify the weak motion area. By comparing the pixel values ​​of the pixel points of each frame of the image, the pixel value difference between the pixel points is determined, and compared with the preset threshold value, the target pixel points of weak motion are determined. These target pixel points represent the image. The target Laplace pyramid image is used to detect the slight movement in the image, such as the chest rise and fall caused by breathing; then, according to the target pixel point, the corresponding layers of the Laplace pyramid are established, which involves the establishment and adjustment of the Laplace pyramid to ensure the integrity and accuracy of the weak motion area. By adjusting the pixel value, the pixel value of the weak motion area presents non-uniform or non-gradual changes, avoiding the disappearance of the pixel value of the area or the appearance of holes after the Laplace transform. The adjusted target Laplace pyramid image will be used for the subsequent respiratory frequency analysis; after obtaining the target Laplace pyramid image, it is superimposed with the continuous frames of the target image to obtain the target video for data enhancement of the image data of the weak motion. This step is to improve the recognition speed and accuracy of the weak motion, so that the subsequent respiratory frequency analysis is more accurate and reliable. Finally, according to the duration of the target video and the number of weak motion movements, the respiratory frequency is calculated as the respiratory frequency information of the target object. By studying the band corresponding to the weak motion, the motion frequency of the weak motion can be determined, so as to accurately obtain the respiratory frequency information of the target object.

[0111] S324: Determine the sleep stage according to the heart rate, body movement frequency and breathing frequency information;

[0112] Specifically, the sleep stage is determined according to the heart rate, body movement number and breathing rate information. For example, the heart rate is 75bpm, the body movement number is 10 times / hour, and the breathing rate is 15 times / minute. These indicators indicate that the user is in an awake state, with a high heart rate, a large number of body movements, and a fast breathing rate, which are consistent with an awake state; the user's heart rate drops to 70bpm, the body movement number decreases to 8 times / hour, and the breathing rate drops to 14 times / minute. This change indicates that the user is gradually entering the sleep stage, the heart rate and body movement number gradually decrease, and the breathing rate also begins to slow down; the heart rate further drops to 65bpm, the body movement number decreases to 5 times / hour, and the breathing rate drops to 13 times / minute, which indicates that the user has entered the light sleep stage, the heart rate and breathing rate further decrease, and the body movement number also decreases accordingly; the heart rate stabilizes at around 60bpm, the body movement number is only 2 times / hour, and the breathing rate drops to 12 times / minute, which indicates that the user has entered the deep sleep stage, the heart rate and breathing rate reach the lowest level, and the body movement number is very small. In summary, through comprehensive analysis of heart rate, body movement rate and breathing rate, the sleep stages of participants, including wakefulness, falling asleep, light sleep and deep sleep, can be accurately determined, which provides an important basis for the evaluation and improvement of sleep quality.

[0113] S325: Analyze the heart rate using biofeedback technology to determine the emotional state.

[0114] Specifically, biofeedback technology, especially heart rate variability (HRV) monitoring, is used to determine the user's emotional state. First, it is necessary to collect and analyze heart rate variability data. Heart rate variability refers to the change in the heartbeat interval. This change reflects the ability of the autonomic nervous system to regulate the internal and external environment of the body. By monitoring and analyzing heart rate variability, important clues about the user's emotional state are obtained; for example, a heart rate sensor and related HRV monitoring equipment are used to continuously monitor the user's heart rate and heart rate variability. Over a period of time, the user's heart rate and heart rate variability data are recorded and associated with the emotional state. When the heart rate variability is low, it means that the user is in a state of anxiety or tension, because this indicates that the autonomic nervous system is in an over-excited state. On the contrary, when the heart rate variability is high, it may indicate that the user is relatively calm and relaxed. Through continuous monitoring and analysis of heart rate variability data, an emotional state model is established. The model can identify the user's emotional state based on the characteristics of heart rate variability. For example, based on indicators such as the amplitude, frequency and pattern of heart rate variability, it can be judged whether the user is in a state of anxiety, stress or relaxation. Once the user's emotional state is determined, the light therapy system can adjust the parameters of the light therapy treatment accordingly to help the user relieve anxiety and improve mood. For example, when the user is monitored to be in an anxious state, the system can automatically adjust the color and light intensity of the light therapy device. Based on the heart rate variability data, the system may choose to use soft blue light and adjust the brightness and color temperature of the light to promote relaxation and emotional balance in the user. Therefore, by utilizing the heart rate variability monitoring in biofeedback technology, combined with the adjustment of the light therapy system, a personalized method of emotion management and relaxation can be provided to the user, which can not only be adjusted according to the user's actual situation, but also monitor the user's emotional state in real time and take corresponding measures to provide more effective emotion regulation and mental health support.

[0115] S33: adjusting the real-time lighting parameters according to the sleep stage and the emotional state, and outputting the adjusted target lighting parameters.

[0116] Specifically, according to the monitoring results of the sleep stage and emotional state, the real-time lighting parameters are intelligently adjusted to optimize the user's sleep quality and emotional state. For example, when the user is in a deep sleep stage, the light intensity and color temperature are reduced to create a dimmer and more comfortable environment, which helps to promote the user's deep sleep; on the other hand, if the user's emotional state is anxious or nervous, soft colors and lights such as blue or green are used, and the light intensity is adjusted to create a relaxing and soothing atmosphere. By intelligently adjusting the lighting parameters according to the changes in the sleep stage and emotional state, a personalized light therapy experience is provided to help users better manage their emotions and improve sleep quality.

[0117] In one embodiment, see Figure 6 , the S33 comprises:

[0118] S331: Acquire real-time initial illumination parameters, wherein the illumination parameters at least include color, illumination intensity, illumination time, and illumination direction;

[0119] Specifically, obtaining real-time initial lighting parameters involves collecting relevant information about the current light in the environment so that the system can make subsequent lighting adjustments. Lighting parameters include color, light intensity, lighting time, and lighting direction. Color refers to the hue of the light in the environment, which can be warm or cold. Light intensity indicates the brightness of the light, that is, the strength of the light. Light time refers to the duration of light exposure. Light direction indicates the direction of light or the direction of light exposure, for example, whether the light comes from a natural light source or an artificial light source, and the angle of incidence of the light. By obtaining these real-time initial lighting parameters, the system can more accurately understand the lighting conditions of the current environment and provide basic data for subsequent lighting adjustments.

[0120] S332: performing a primary calibration on the initial illumination parameter according to the sleep stage, and outputting a first illumination parameter;

[0121] Specifically, according to the sleep stage, the initial correction of the initial lighting parameters means that according to the user's current sleep state and corresponding lighting needs, the initial set lighting parameters are automatically adjusted by the intelligent system to provide a lighting environment that is more suitable for the user's current sleep stage. This process is intended to optimize the user's sleep experience and promote healthier and more comfortable sleep. For example, when it is detected that the user is in a deep sleep stage, the lighting parameters are adjusted to create a darker and more comfortable sleeping environment. In this case, the lighting parameters will be adjusted to a lower light intensity and a softer color temperature to avoid stimulating the user's visual perception and help the user maintain a deep sleep state; on the contrary, if the user enters a light sleep or rapid eye movement (REM) sleep stage, the lighting parameters will be gradually adjusted to increase the light intensity and change the color temperature to simulate the sunrise effect to help the user wake up naturally or enter a more relaxed sleep state. Through this intelligent adjustment, the lighting parameters can be adjusted in real time according to the user's sleep stage, providing users with a personalized lighting experience, which helps to improve sleep quality and promote a healthier lifestyle.

[0122] S333: Perform secondary correction on the first lighting parameter according to the emotional state, and output the target lighting parameter.

[0123] Specifically, according to the emotional state, the secondary correction of the first lighting parameter means that according to the current emotional state of the user, by monitoring biofeedback data such as heart rate variability, the lighting parameters that have been preliminarily corrected are automatically adjusted to provide a lighting environment that better meets the user's emotional needs. This process is intended to use light therapy technology to regulate the user's emotional state and provide emotional relaxation and soothing effects. For example, when it is monitored that the user is in an anxious or stressed emotional state, the lighting parameters are automatically adjusted according to emotional feedback to create a more soothing and quiet lighting environment. In this case, the lighting parameters are adjusted to soft colors such as blue or green, and lower light intensity to help users relieve anxiety and stress and promote emotional relaxation; on the contrary, if the user's emotional state is relatively calm or pleasant, the lighting parameters are appropriately adjusted to increase the brightness of the light and the vividness of the color to enhance the user's pleasure and vitality. Through this emotion-aware light therapy response, the lighting parameters are adjusted in real time according to the user's current emotional state, providing users with personalized emotional management and relaxation experiences, which helps to improve emotional states and promote mental health.

[0124] S4: According to the target parameters, the sleep experiment cabin is controlled to perform massage, light therapy and magnetic therapy on the target object.

[0125] Specifically, according to the target parameters, controlling the sleep experiment cabin to massage, phototherapy and magnetic therapy the target object means intelligently controlling the massage device, phototherapy equipment and magnetic therapy device in the sleep experiment cabin according to the previously acquired target vibration parameters, lighting parameters and magnetic field parameters to provide personalized sleep assistance services. Specifically, according to the target vibration parameters, the massage device will adjust the intensity, frequency and mode of the vibration to meet the user's massage needs. At the same time, according to the target lighting parameters, the phototherapy device will adjust the color, intensity and duration of the light to provide the user with a suitable light therapy environment. In addition, according to the target magnetic field parameters, the magnetic therapy device will adjust the intensity, frequency and mode of the magnetic field to provide a magnetic therapy treatment effect. For example, assuming that according to the user's personal preferences and sleep needs, the target vibration parameters determine that the massage device should provide medium intensity and frequency vibration to promote relaxation and soothe muscles. At the same time, according to the target lighting parameters, the phototherapy device is adjusted to warm yellow light to create a comfortable atmosphere. Finally, according to the target magnetic field parameters, the magnetic therapy device provides a low frequency and moderate intensity magnetic field to enhance sleep quality and promote physical recovery. Through intelligent control of the massage, light therapy and magnetic therapy devices in the sleep experiment cabin, precise sleep assistance services are provided according to the user's personalized needs and target parameters, helping users achieve a more comfortable, relaxed and effective sleep state.

[0126] In one embodiment, see Figure 7 , the S3 previously includes:

[0127] S301: Obtaining a time interval corresponding to time information;

[0128] Specifically, the current time interval is determined based on the acquired time information. For example, the current time information is acquired through the internal clock of the sleep experiment cabin or by using the time indicator in the user's voice input, and the time information is analyzed to identify day and night. Through these methods, the current time can be accurately determined, providing the necessary time information for subsequent steps.

[0129] S302: Acquire target areas corresponding to massage, light therapy and magnetic therapy according to feedback information input by the user;

[0130] Specifically, the target areas for massage, light therapy, and magnetic therapy are determined based on the feedback information provided by the user, which may include the user's health status, the location of physical discomfort, and personal preferences. This information is received through a user interface or other input methods. For example, users can select specific parts of their body that they want to massage through an application or a control panel, or specify the area of ​​the body where they feel discomfort. For light therapy and magnetic therapy, users may provide the body parts or health goals they want to be treated. Based on this feedback information, the system will develop personalized massage, light therapy, and magnetic therapy plans for each user.

[0131] S303: Determine initial vibration parameters, initial magnetic field parameters, and initial illumination parameters according to the time interval and the target area.

[0132] Specifically, combined with the previously determined time interval and target area, initial parameters are set for massage, light therapy and magnetic therapy. These initial parameters include vibration parameters (for massage), magnetic field parameters and light parameters. For example, in the morning time interval, the system will gradually increase the light intensity to simulate the natural sunrise effect to help users wake up naturally; for the massage function, the intensity and frequency of the vibration are set according to the target area selected by the user and personal health needs. For magnetic therapy, the parameters of the magnetic field are designed according to the user's health goals and sleep cycle to promote the body's natural recovery process; taking into account time information and user needs, a personalized massage, light therapy and magnetic therapy experience is provided to users.

[0133] Example 2

[0134] With the increase of stress in modern life, more and more people suffer from sleep disorders. In order to solve this problem, based on Example 1, the embodiment of the present invention also provides adaptive airbag pressure regulation, temperature regulation, air purification technology and bioelectricity and far infrared regulation combined technology to comprehensively perform sleep aid and physical therapy.

[0135] The adaptive airbag pressure regulation includes:

[0136] Arrange airbag units covering various parts of the user's body according to the preset standard sleeping posture and force distribution information of the human body;

[0137] Specifically, first of all, the most ideal human sleeping position and force distribution model is preset according to the results of ergonomics and sleep medicine research. This model includes the ideal pressure distribution map of the human body in different sleeping positions (such as supine and side lying), ensuring that all parts of the human body can obtain proper support and decompression; based on this model, an airbag unit layout plan is designed to cover all parts of the user's body. These airbag units are precisely arranged in various areas of the mattress, such as the head, shoulders, waist, legs, etc., to ensure that the body can be fully and evenly supported according to different sleeping positions.

[0138] Use air pressure sensors to monitor the pressure value of each airbag unit in real time and collect real-time pressure distribution data of the user in each real-time sleeping position;

[0139] Specifically, the built-in air pressure sensor is used to monitor the pressure value of each airbag unit in real time. The air pressure sensor can accurately capture the changes in pressure distribution caused by the user's changing sleeping position during sleep. Whenever the user turns over or changes his sleeping position, the pressure sensor collects data in real time and provides it to the central processing unit (CPU) for analysis.

[0140] The real-time pressure distribution data is analyzed, and the inflation volume of the airbag is adjusted according to the analysis result.

[0141] Specifically, after receiving the data from each air pressure sensor, the central processing unit conducts an in-depth analysis of the real-time pressure distribution data, and intelligently determines the ideal pressure value required for each airbag unit, taking into account the user's weight, preferred sleeping position, and real-time pressure distribution; based on the analysis results, the inflation volume of each airbag unit is automatically adjusted. If the pressure in a certain part is too high, the inflation volume of the airbag in that area is reduced to relieve the pressure; on the contrary, if the pressure in a certain part is too low, the inflation volume is increased to provide sufficient support. This dynamic adjustment process is carried out in real time to ensure that the user maintains the best sleeping position and pressure distribution throughout the sleep cycle. Through the above steps, it is ensured that the user gets personalized sleep support and comfort adjustment, thereby improving sleep quality, especially playing an important role in increasing the duration of the deep sleep stage. It not only has a significant effect on improving sleep quality for ordinary users, but also provides an effective solution for people with special sleep needs (such as patients with long-term back pain).

[0142] The temperature regulation includes:

[0143] Acquire real-time temperature data of each preset part and a preset sleep temperature threshold, wherein the preset parts at least include: waist and feet;

[0144] The real-time temperature data is compared with the sleep temperature threshold, and according to the comparison result, the heating plate is controlled to heat each preset part.

[0145] Specifically, the real-time temperature data of each preset part is obtained and immediately compared with the preset sleep temperature threshold. This process takes into account the individual differences of each user, including natural fluctuations in body temperature, seasonal changes, and personal preferences; if the comparison result shows that the current temperature is lower than the preset threshold, the heating unit, such as the heating pads on the waist and feet, is automatically started for heating until the temperature reaches or slightly exceeds the preset threshold; once the preset threshold is reached, the heating intensity is adjusted according to the real-time monitoring results to maintain the target temperature, avoid overheating or temperature drop, and ensure the user's comfort all night. During the whole process, the temperature of the heating pad is strictly monitored to prevent discomfort or safety hazards caused by overheating. If an abnormal temperature is detected, the system will immediately reduce the heating intensity or stop heating to ensure safe use.

[0146] The air purification technology includes:

[0147] Obtain key parameter information related to air quality in the intelligent sleep experiment cabin, wherein the key parameter information at least includes: PM2.5, CO2, and ambient temperature and humidity information;

[0148] Specifically, the PM2.5 concentration, CO2 level, and environmental temperature and humidity in the air are monitored in real time. The key parameter information is the key indicator for evaluating air quality and is essential for maintaining a healthy sleeping environment. The collected data is transmitted to the central processing unit in real time via a wireless network, providing instant data support for subsequent analysis and processing.

[0149] Comparing the key parameter information with the cleaning parameter information corresponding to the preset cleaning standard, and outputting the comparison result;

[0150] According to the comparison result and the preset cleaning interval information, the air in the experimental cabin is purified through a preset cleaning strategy corresponding to the comparison result.

[0151] Specifically, cleaning parameter information is preset according to healthy and comfortable indoor environmental standards, including PM2.5, CO2 concentration, and ideal temperature and humidity ranges. The real-time monitored environmental parameters are compared with the preset cleaning standards to analyze the current air quality status. If any of the monitored parameters exceeds the preset healthy range, a warning will be triggered and the corresponding purification process will be started. According to different pollution types and levels, a variety of air purification strategies are preset, including but not limited to increasing the wind speed of the purifier and starting a specific purification mode (such as dust removal, deodorization or sterilization); once it is detected that the air quality is not up to standard, the air purifier will be started immediately and the air will be purified according to the corresponding cleaning strategy until all monitored parameters return to the preset healthy range; according to the preset cleaning interval, the air purification process is started regularly, even if the current air quality is within an acceptable range, the air can be preventively kept fresh, and even after completing a purification cycle, the system will continue to monitor the air quality.

[0152] The bioelectricity and far infrared ray regulation combined technology includes:

[0153] Obtaining preset initial adjustment parameters, wherein the initial adjustment parameters at least include initial electrical stimulation frequency, initial electrical stimulation intensity and far infrared target wavelength;

[0154] Specifically, preset initial adjustment parameters are obtained, which are suitable for the initial electrical stimulation frequency, electrical stimulation intensity and target wavelength of far infrared rays for most users. These parameters are based on extensive research and clinical trials and are intended to provide a suitable starting point for most users.

[0155] According to the initial electrical stimulation frequency, initial electrical stimulation intensity and far-infrared target wavelength, the user is electrically stimulated and the far-infrared light is adjusted to obtain real-time feedback information from the user;

[0156] According to the real-time feedback information, the initial adjustment parameters are corrected and the target adjustment parameters are output;

[0157] According to the target adjustment parameters, the user is subjected to electrical stimulation and far infrared adjustment.

[0158] Specifically, according to the acquired initial adjustment parameters, the user is subjected to slight electrical stimulation and appropriate far-infrared irradiation. The user's response to electrical stimulation and far-infrared irradiation is collected in real time through sensors and user feedback mechanisms, including physiological responses (such as skin temperature changes, heart rate changes, etc.) and subjective feelings of the user (such as feedback submitted through the user interface). The collected real-time feedback information is analyzed to determine whether the initial adjustment parameters have achieved the expected effect, or whether they need to be adjusted to better meet the needs of the user. Based on the feedback information, the system corrects the initial adjustment parameters and generates target adjustment parameters, which involves adjusting the frequency and intensity of electrical stimulation, or changing the wavelength and intensity of far-infrared irradiation; according to the corrected target adjustment parameters, the user is subjected to precise electrical stimulation and far-infrared adjustment, in order to achieve a more personalized and optimized sleep promotion effect; throughout the use process, the system continuously monitors the user's response and further fine-tunes the adjustment parameters as needed to ensure that the user can maintain the best physiological state throughout the sleep cycle, thereby improving sleep quality. This dynamic adjustment process ensures that the system can adapt to the individual differences and changing needs of users and realize personalized sleep improvement solutions.

[0159] Example 3

[0160] See also Figure 8 Embodiment 3 of the present invention further provides a multifunctional sleep experiment cabin control device, the device comprising:

[0161] A data acquisition module, used to acquire the human body sign data and real-time audio data of the target object in the sleeping scene;

[0162] An audio analysis module, used to perform audio analysis on the real-time audio data using a preset audio processing algorithm, and output key audio feature information;

[0163] A parameter adjustment module, for adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters;

[0164] The experimental chamber control module is used to control the sleep experimental chamber to perform massage, light therapy and magnetic therapy on the target object according to the target parameters.

[0165] Specifically, the multifunctional sleep experiment cabin control device provided by the embodiment of the present invention is adopted, and the device includes: a data acquisition module, which is used to acquire the human body sign data and real-time audio data of the target object in the sleep scene; an audio analysis module, which is used to perform audio analysis on the real-time audio data using a preset audio processing algorithm, and output key audio feature information; a parameter adjustment module, which is used to adjust the real-time vibration parameters related to massage, the real-time illumination parameters related to phototherapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and output the adjusted target parameters; an experiment cabin control module, which is used to control the sleep experiment cabin to perform massage, phototherapy and magnetic therapy on the target object according to the target parameters. This device realizes a comprehensive sleep treatment function by combining audio feature analysis and human physiological data. First, the system obtains the human body sign data and real-time audio data of the target object, and analyzes them in combination with a preset audio processing algorithm to extract key audio feature information. Subsequently, the audio feature information and human physiological data are used to intelligently adjust the parameters related to massage, light therapy and magnetic therapy to achieve targeted sleep-aiding treatment. This intelligent adjustment makes the treatment process more suitable for the user's current state and individual needs, thus providing a more comprehensive and personalized sleep experience. In this way, the device overcomes the shortcomings of the existing technology in terms of comprehensive functions and intelligent and personalized design, and provides users with a more comprehensive and effective sleep-aiding service.

[0166] Example 4

[0167] In addition, combined Figure 1 The multifunctional sleeping experiment chamber control method of the embodiment 1 of the present invention described above can be implemented by an electronic device. Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in Embodiment 4 of the present invention is shown.

[0168] The electronic device may include a processor and a memory storing computer program instructions.

[0169] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

[0170] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory may be inside or outside a data processing device. In a specific embodiment, the memory is a non-volatile solid-state memory. In a specific embodiment, the memory includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0171] The processor implements any one of the multifunctional sleeping experiment cabin control methods in the above embodiments by reading and executing computer program instructions stored in the memory.

[0172] In one example, the electronic device may further include a communication interface and a bus. Fig. 9 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.

[0173] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.

[0174] The bus includes hardware, software or both, and the parts of the device are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, the bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0175] Example 5

[0176] In addition, in combination with the multifunctional sleep experiment cabin control method in the above embodiment 1, embodiment 5 of the present invention can also provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any multifunctional sleep experiment cabin control method in the above embodiments is implemented.

[0177] In summary, the embodiments of the present invention provide a method, device, equipment and storage medium for controlling a multifunctional sleep experiment cabin.

[0178] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0179] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0180] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0181] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0182] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A multifunctional sleep experiment cabin control method, characterized in that: The method comprises: S1: Acquire the human body sign data and real-time audio data of the target object in the sleeping scene; S2: using a preset audio processing algorithm to perform audio analysis on the real-time audio data and output key audio feature information; S3: adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters; S4: According to the target parameters, the sleep experiment cabin is controlled to perform massage, light therapy and magnetic therapy on the target object.

2. The multifunctional sleep experiment cabin control method according to claim 1, characterized in that: The S2 includes: S21: Acquire an electrical signal corresponding to the real-time audio data in a sleeping scene; S22: performing short-time Fourier transform on the electrical signal, and outputting a real-time vibration spectrum corresponding to the real-time audio data vibration; S23: Compare the real-time vibration spectrum with each standard vibration spectrum in a database, and output the real-time vibration category corresponding to the real-time vibration spectrum as the key audio feature information.

3. The multifunctional sleep experiment cabin control method according to claim 1, characterized in that: The S3 includes: S31: adjusting the real-time vibration parameter and the real-time magnetic field parameter according to the key audio feature information, and outputting the adjusted target vibration parameter and target magnetic field parameter; S32: Processing the human body sign data to determine the sleep stage and emotional state of the target object; S33: adjusting the real-time lighting parameters according to the sleep stage and the emotional state, and outputting the adjusted target lighting parameters.

4. The multifunctional sleep experiment cabin control method according to claim 3, characterized in that: The S31 includes: S311: Obtaining a preset first mapping rule between each standard vibration category and a vibration parameter and a second mapping rule between each standard vibration category and a magnetic field parameter, wherein the vibration parameter includes at least a vibration intensity and a vibration frequency, and the magnetic field parameter includes at least a magnetic field intensity and a magnetic field frequency; S312: Matching the real-time vibration category with each standard vibration category to determine the target vibration category corresponding to the real-time vibration spectrum; S313: determining vibration parameter intervals corresponding to different vibration categories according to the first mapping rule; S314: adjusting the vibration parameter range according to the target vibration category obtained by real-time vibration spectrum matching; S315: When the real-time vibration parameter reaches a state matching the target vibration category, outputting the target vibration parameter; S316: determining magnetic field parameter intervals corresponding to different vibration categories according to the second mapping rule; S317: adjusting the magnetic field parameter range according to the target vibration category obtained by real-time vibration spectrum matching; S318: When the real-time magnetic field parameters reach a state matching the target vibration category, the target magnetic field parameters are output.

5. The multifunctional sleep experiment cabin control method according to claim 3, characterized in that: The S32 includes: S321: Acquire the heart rate and body movement frequency of the target object according to the human body sign data; S322: Acquire real-time video data of a preset area in a sleeping scene, and decompose the real-time video data into multiple frames of real-time images; S323: using a breathing detection algorithm, processing each frame of real-time image to determine the breathing frequency information of the target object; S324: Determine the sleep stage according to the heart rate, body movement frequency and breathing frequency information; S325: Analyze the heart rate using biofeedback technology to determine the emotional state.

6. The multifunctional sleep experiment cabin control method according to claim 3, characterized in that: The S33 includes: S331: Acquire real-time initial illumination parameters, wherein the illumination parameters at least include color, illumination intensity, illumination time, and illumination direction; S332: performing a primary calibration on the initial illumination parameter according to the sleep stage, and outputting a first illumination parameter; S333: Perform secondary correction on the first lighting parameter according to the emotional state, and output the target lighting parameter.

7. The multifunctional sleep experiment cabin control method according to claim 1, characterized in that: Before the S3, it also includes: S301: Obtaining a time interval corresponding to time information; S302: Acquire target areas corresponding to massage, light therapy and magnetic therapy according to feedback information input by the user; S303: Determine initial vibration parameters, initial magnetic field parameters, and initial illumination parameters according to the time interval and the target area.

8. A multifunctional sleep experiment cabin control device, characterized in that: The device comprises: A data acquisition module, used to acquire the human body sign data and real-time audio data of the target object in the sleeping scene; An audio analysis module, used to perform audio analysis on the real-time audio data using a preset audio processing algorithm, and output key audio feature information; A parameter adjustment module, for adjusting the real-time vibration parameters related to massage, the real-time illumination parameters related to light therapy, and the real-time magnetic field parameters related to magnetic therapy according to the key audio feature information and the human body sign data, and outputting the adjusted target parameters; The experimental chamber control module is used to control the sleep experimental chamber to perform massage, light therapy and magnetic therapy on the target object according to the target parameters.

9. An electronic device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.

10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Emotion prediction regulation and control system and storage medium

    CN119964733A

  • Multi-dimensional health data collaborative analysis method and device and storage medium

    CN121122769A

  • Intelligent control method and device of phototherapy equipment and electronic equipment

    CN121197689A

  • Intelligent control methods, devices, and electronic equipment for phototherapy devices

    CN121197689B