WO2020140913A1 - Data processing method and apparatus, electronic device and storage medium - Google Patents

Data processing method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2020140913A1
WO2020140913A1 PCT/CN2019/130837 CN2019130837W WO2020140913A1 WO 2020140913 A1 WO2020140913 A1 WO 2020140913A1 CN 2019130837 W CN2019130837 W CN 2019130837W WO 2020140913 A1 WO2020140913 A1 WO 2020140913A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
sleep
target user
model
light
Prior art date
Application number
PCT/CN2019/130837
Other languages
French (fr)
Chinese (zh)
Inventor
郑智民
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2020140913A1 publication Critical patent/WO2020140913A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M21/02Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0044Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the sight sense
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/33Controlling, regulating or measuring
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2230/00Measuring parameters of the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • G06F2218/10Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Definitions

  • the present disclosure relates to the field of information technology but is not limited to the field of information technology, in particular to a data processing method and device, electronic equipment, and storage medium.
  • the biological effects of light on people can be divided into visual effects and non-visual effects.
  • the visual effect is mainly composed of cone cells in the retina, which senses the luminosity and color;
  • the non-visual effect is mainly composed of the pineal cells of the pineal gland, which senses the light, generates bioelectricity, affects the sympathetic nerves, and innervates the pineal gland cells to release melatonin
  • hormone secretion decreases, metabolism slows down, and natural sleep is induced.
  • Embodiments of the present disclosure are expected to provide a data processing method and device, electronic equipment, and storage medium.
  • the technical solution of the present disclosure is implemented as follows:
  • a first aspect of an embodiment of the present disclosure provides a data processing method, including:
  • controlling the light emission of the light-emitting device includes: controlling the light-emitting device to emit light that promotes the sleep of the target user, or controlling the light-emitting device to suppress the emission The light that the target user sleeps.
  • the selection of a regular sleep model or an irregular sleep model as the target model according to the current sleep state of the target user includes at least one of the following:
  • the irregular sleep model is selected as the target model
  • the regular sleep model is selected as the target model.
  • the method further includes:
  • the target model is a non-sleep regular model, acquire irregular sleep data of the target user
  • the environmental data, the characteristic data and the irregular sleep data are input into the irregular sleep model to obtain the lighting control parameters.
  • the irregular sleep data includes at least one of the following:
  • Time zone deviation data of the target user's time zone
  • the acquiring environmental data includes at least one of the following:
  • the acquiring the dynamic feature data of the user includes at least one of the following:
  • the method further includes:
  • the third characteristic data and the environment data are input to the target model of the target user to obtain the lighting control parameter.
  • the parsing the second feature data to obtain third feature data characterizing the state of the target user includes:
  • time-domain feature data includes: a characteristic curve corresponding to the second feature data in the time domain Peak data and/or trough data;
  • Parsing the second feature data extracting the frequency domain feature data of the target user from the second feature data; wherein, the frequency domain feature data includes: a characteristic curve corresponding to the second feature data in the frequency domain Peak data and/or trough data.
  • the first noise data includes: jitter data with a jitter frequency of the acquisition device outside the preset frequency range, electromagnetic interference data with an electromagnetic frequency outside the preset frequency range, and electromagnetic frequency Magnetic field noise outside the set range;
  • the second noise data includes: jitter data whose jitter frequency of the acquisition device is within the preset frequency range.
  • the inputting of the environmental data and the characteristic data into the selected target model to obtain lighting control parameters includes:
  • the dimensionality reduction processing strategy performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension
  • performing the dimensionality reduction processing on the third feature data and the environmental data according to the dimensionality reduction processing strategy to obtain input data of a preset dimension includes:
  • If the target user is in an action state determine whether the target user is in the first type of partial static state according to the action feature data
  • the target user's action feature data is sampled according to the target user's current action state to obtain sampling feature data as the input data.
  • performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension further including:
  • the determination of whether the target user is in the first type of partial static state and the second type of partial static state is stopped;
  • the determination of whether the target user is in the second type of local stationary state is stopped.
  • the method further includes:
  • the effect data includes: at least one of the target user's sleep effect data, sleep activity data, and non-sleep activity data;
  • the regular sleep model and/or the irregular sleep model are optimized.
  • a second aspect of an embodiment of the present disclosure provides a data processing apparatus, including:
  • the first obtaining module is configured to obtain environmental data
  • the second obtaining module is configured to obtain the current state data and characteristic data of the target user
  • a selection module configured to select a regular sleep model or an irregular sleep model as the target model based on the current state data
  • a third acquisition module configured to input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters
  • the control module is configured to use the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes the sleep of the target user, or controlling the light emission The device emits light that suppresses the sleep of the target user.
  • a third aspect of the embodiments of the present disclosure provides an electronic device, including:
  • a processor connected to the memory, is configured to implement the data processing method provided by the foregoing one or more technical solutions by executing computer-executable instructions located on the memory.
  • a fourth aspect of an embodiment of the present disclosure provides a computer storage medium that stores computer-executable instructions; after the computer-executable instructions are executed, the data processing method provided by the foregoing one or more technical solutions can be provided.
  • the technical solution provided by the embodiments of the present disclosure will acquire environmental data, current state data and characteristic data of the target user, and first determine whether to use the regular sleep model or the irregular sleep model as the target model according to the current state data to form the light control parameters , In this way, the lights can be controlled according to whether the user is currently sleeping regularly or irregularly, thereby providing better light control that is beneficial to inhibit or promote sleep, regardless of whether the current target user's sleep is regular or irregular , Can achieve accurate light control, when the target user needs to promote sleep to emit light that promotes sleep, and needs to suppress the emission of light that suppresses sleep during sleep, in order to use light to accurately adjust the target user's sleep.
  • FIG. 1 is a schematic flowchart of a first data processing method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a second data processing method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a data processing device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of a third data processing method provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of a method for providing sleep adjustment for irregular sleep according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an electronic device provided by implementation of the present disclosure.
  • FIG. 7 is a schematic diagram of an irregular sleep model provided by an embodiment of the present disclosure to control a light emitting device to emit light.
  • N1 light sleep stage (1200-7000 Lux, N4 before auto-awakening, 2500-10000lux at the REM stage
  • melatonin with circadian rhythm, secrete up to midnight Peak
  • melatonin helps to deepen the depth of sleep (the proportion of REM and N4), change the sleep-wake rhythm, adjust the physiological clock, and adjust the quality of sleep.
  • genetic studies have shown that non-visual effects are maximum at 480-485nm, and visible light is different
  • the sensitivity of the wavelength is also inconsistent, it has the highest sensitivity to yellow-green light, but the sensitivity to red light, blue light, and violet light is very low.
  • the three colors of red, green, and blue light respectively suppress the melatonin under the irradiation of 1000 lx
  • the red light is very small, the green light is the largest, and the blue light is slightly lower.
  • the irradiation of light will significantly increase the heart rate.
  • Humans are most sensitive to light between 480 and 485 nm. Different people are affected by the yellow pigment in the central macula area of the human eye. With age, the visual crystals turn yellow, which will cause individual differences. However, people with different ages and sleep constitutions may enter different sleep stages at different times.
  • the sensitivity of light is also different, only according to the time when the general population enters each sleep stage, setting the same sleep aid light adjustment mechanism for everyone. It may instead affect sleep, such as elderly people who sleep lightly, and do not enter light sleep at 24:00, may instead Sleep is affected.
  • the intensity required for irregular sleep and normal sleep is not the same, the individual differences between irregular sleep and normal sleep, such as how many consecutive hours of irregular sleep, the length of irregular sleep, irregular sleep The recent appearance of ratings, etc., is also an important consideration for training differential models.
  • Step S110 Acquire environmental data
  • Step S120 Obtain the current state data and characteristic data of the target user
  • Step S130 Select a regular sleep model or an irregular sleep model as the target model according to the current state data
  • Step S140 Input the environmental data and the characteristic data into the selected target model, and the regular sleep model and the irregular sleep model obtain the light control parameters;
  • Step S150 Using the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes the sleep of the target user, or controlling the light emitting device to emit Suppressing the light of sleep of the target user.
  • the data processing method provided in this embodiment can be applied to various electronic devices, for example, user equipment or a home gateway.
  • the user equipment may be: a user's mobile phone, tablet computer or wearable device. After obtaining the light control parameters, these devices control the light-emitting devices to emit light, or control themselves to emit light.
  • the light-emitting device may be various devices capable of emitting light, and may be the user device itself, or a light-emitting device at a location of a target user such as a bedroom or a living room.
  • the electronic device first obtains environmental data, which represents the environmental conditions of the space where the target user is currently located. For example, collecting environmental data through environmental sensors.
  • the characteristic data of the target user is obtained, and the characteristic data may constitute an individual static portrait of the target user, an individual dynamic portrait of the target user, a sign portrait of the target user, an emotional portrait of the target user, and so on.
  • the user feature data may include: feature data that is collected, and also feature data that is dynamically collected, for example, feature data that is dynamically collected using a physiological sensor, and the sign data includes but is not limited to: the heartbeat data of the target user, the target user’s Brain wave data, pulse data of target users, etc.
  • the current state parameter may at least represent whether the target user is currently in a sleep state or a non-sleep state.
  • the current state parameter can also be used to characterize the sleep stage or sleep depth of the target user in the sleep state; the current state parameter can also be used to characterize the degree of awake of the target user in the non-sleep state, etc. parameter.
  • a target user corresponds to two models, namely a regular sleep model and an irregular sleep model.
  • the regular sleep model may be used to form the light control parameter when the target user's current sleep state is regular sleep; the irregular sleep model may be used to form the light control parameter when the target user's current sleep state is irregular sleep.
  • step S140 corresponding light control parameters can be formed according to whether the current sleep state of the target user is regular sleep, so as to achieve precise control of the light.
  • the environmental data and characteristic data are used as the input of the target model, which can be
  • the light control parameters are obtained and used to control the light emission of the light emitting device.
  • the light control parameter includes at least one of the following:
  • the color control parameter of the light is used to control the color of the light.
  • the color control parameter may include: a light emitting wavelength, and different wavelengths correspond to different colors of light;
  • the brightness control parameter of the light is used to control the brightness of the light emitting device.
  • the brightness control parameter may include: a light value.
  • the brightness of the light changes control parameters.
  • the brightness of the light changes to promote user sleep or inhibit user sleep. For example, in the morning, the light may be getting brighter and brighter; when falling asleep at night, the brightness of the light is getting darker and darker; and the color of the light may need to change from warm tones when it is necessary to wake up the target user
  • the lights gradually switch to cool-tone lights; and you may need to gradually switch from cool-tone lights to warm-tone lights before falling asleep.
  • the lighting angle control parameter of the light is used to control the lighting angle of the light; if the light is directly irradiated to the target user's field of view, it may inhibit sleep, and the side illumination may help the user to sleep, so the light control parameter also includes illumination Angle control parameters.
  • the environmental data and the characteristic data are input to the regular sleep model and the irregular sleep model set by the target user.
  • the light control parameters of the target user are obtained;
  • the lighting control is performed for each user, thereby ensuring the lighting control that meets the user's personality.
  • the step S130 may include at least one of the following:
  • the irregular sleep model is selected as the target model
  • the regular sleep model is selected as the target model.
  • the target user at the current time should be in a sleep state, but the target user of the current state data is still in a non-sleep state, indicating that it is currently suitable to use an irregular sleep model to form the light control parameter.
  • the current time is the user's sleep time but the time zone of the target user has changed. It can also be considered that it does not conform to the sleep rule corresponding to the regular sleep model. It is necessary to select the non-sleep rule as The target model.
  • the irregular sleep model is selected as the target model, otherwise the regular sleep model is selected as the target model.
  • the method further includes:
  • the target model is a non-sleep regular model, acquire irregular sleep data of the target user
  • the step S140 may include: inputting the environmental data, the characteristic data, and the irregular sleep data into the irregular sleep model to obtain the light control parameter.
  • the irregular sleep data may include various data representing the difference between the irregular sleep state and the regular sleep state.
  • the irregular sleep model can combine irregular sleep data to determine whether it is necessary to suppress sleep or promote sleep.
  • the irregular sleep model can combine the environmental data and the characteristic data to determine the specific lighting control parameters required to promote sleep or inhibit sleep.
  • the irregular sleep data includes at least one of the following:
  • Sleep time deviation data into sleep for example, the target user usually falls asleep at 10:00 pm, the current time is already 1:15 the next day, the target user has not yet entered sleep, the time difference between the two, 2:15 can be used as One of the time deviation data;
  • Time zone deviation data of the target user's time zone for example, the target user is flying from Beijing to London. Due to the difference between Beijing's time zone and London's time zone, the time zone deviation data can also be used as irregular sleep data in China;
  • Continuous state data of this irregular sleep may include at least one of the following: duration of the target user's irregular sleep, duration of the target user's irregularly maintained non-sleep state, and target user's irregularly maintained sleep state The length of time
  • the frequency of occurrence of irregular sleep may include at least one of the following: the number and/or frequency of occurrence of irregular sleep within a preset period such as the last half month or a month.
  • the irregular sleep model After these irregular sleep data are input to the irregular sleep model, it is convenient for the irregular sleep model to determine whether to promote sleep or suppress sleep.
  • the non-sleep data can also be used together with environmental data and characteristic data to generate light control parameters that promote sleep or suppress sleep.
  • irregular sleep data or irregular sleep factors, for example, sleep time deviation data when entering sleep, time zone deviation data of the time zone where the target user is located, irregular One or more of the occurrence frequency data of sleep and the continuous state data of this irregular sleep.
  • the step S110 may include at least one of the following:
  • Different seasons have different temperatures, different sunshine, and different sleep durations and/or deeper and lower sleep required by the target user.
  • the environmental data may further include: humidity data, and different humidity has different effects on the sleep of the target user.
  • the step S120 may include:
  • the static feature data may include: data corresponding to the user's static personal portrait, for example, the age, gender, and/or personal sleep characteristics of the target user.
  • HRV heart rate variability
  • the acquiring dynamic characteristic data of the user includes at least one of the following:
  • Collect the current motion feature data of the target user for example, hand motion data, foot motion data, head motion data and/or torso motion data;
  • Collect current physical characteristic data of the target user for example, heart rate data, blood oxygenation data, and/or HRV data, etc.
  • the method further includes:
  • Step S101 Perform a first denoising process on the feature data, remove the first noise data outside the preset frequency range, and obtain the first feature data;
  • Step S102 Perform correlation analysis filtering on the first feature data, remove second noise data located in the preset frequency range, and obtain second feature data;
  • Step S103 Analyze the second feature data to obtain third feature data characterizing the state of the target user
  • the step S130 may include: inputting the third characteristic data and the environment data to the target model of the target user to obtain the lighting control parameter.
  • the feature data in order to reduce the influence of the noise data input into the regular sleep model and the irregular sleep model on the accuracy of the light control parameters, in this embodiment, the feature data will be first denoised.
  • denoising in order to remove the noise data in the feature data as much as possible, denoising will be performed twice. For example, through the first denoising process, the first noise data outside the preset frequency range where the feature data is located can be removed, and then through correlation analysis, the second noise data within the preset frequency range where the feature data is located can be removed.
  • the user's movement characteristics and/or signs will show a certain regularity, but the second noise data may not show such a regularity, this regularity may be a variational law in the time domain, and/or, a variational law in the frequency domain,
  • this regularity may be a variational law in the time domain, and/or, a variational law in the frequency domain
  • the user's heartbeat data has a certain periodicity, which is a change law in the time domain.
  • the user's brain waves may switch between waves of different frequencies, but they may all be between specific frequency points. This law is the law of change in the frequency domain.
  • the correlation analysis may be: judging whether the separated signals satisfy the change rule of the target user's characteristics in the time and/or frequency domain, and filtering out changes that do not meet the target user's time and/or frequency domain Regular second noise data.
  • this is only an example, and the specific implementation is not limited to this.
  • the step S103 may include:
  • time-domain feature data includes: a characteristic curve corresponding to the second feature data in the time domain Peak data and/or trough data;
  • Parsing the second feature data extracting the frequency domain feature data of the target user from the second feature data; wherein, the frequency domain feature data includes: a characteristic curve corresponding to the second feature data in the frequency domain Peak data and/or trough data.
  • the action curve can be drawn in the time or frequency domain by collecting the action feature data.
  • the peak value and/or the trough value of the action curve may be very large data that characterize the user's action, so
  • peak data and/or trough data of the action curve in the time domain and/or the action curve in the frequency domain may be extracted as the characteristic data and input into the individual's sleep portrait. For example, from the second data, parameters such as the action amplitude, action intensity, maximum action amplitude and/or action intensity at each action frequency when extracting action peaks and troughs are extracted.
  • the user's sign data can also draw corresponding sign curves in the time domain and/or frequency domain. According to the sign curves, the peak data and/or trough data in the second characteristic parameters can be extracted for processing.
  • the first noise data includes: jitter data with a jitter frequency of the acquisition device outside the preset frequency range, electromagnetic interference data with an electromagnetic frequency outside the preset frequency range, and electromagnetic frequency The magnetic field noise outside the preset range;
  • the second noise data includes: jitter data whose jitter frequency of the acquisition device is within the preset frequency range.
  • the vibration of the device will affect the user's movement characteristic data, and the electromagnetic interference noise and/or magnetic field noise will affect the user's brain wave data.
  • the step S130 may include:
  • the dimensionality reduction processing strategy performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension
  • a high-latitude vector and/or matrix After actually combining the environmental data and the characteristic data according to a predetermined combination method, a high-latitude vector and/or matrix will be formed, but some of these data may not contribute much to the lighting control parameters. Or, some data combination will affect the lighting control parameters.
  • dimensionality reduction processing will be performed on the data using a dimensionality reduction processing strategy, for example, through dimensionality reduction processing of environmental parameters and feature data, only M pieces of data are obtained as the human sleep portrait model Input data; the M can be a value of 6, 9, or 12, and the specific value can be set dynamically according to demand.
  • performing dimensionality reduction processing on the third feature data and environment data according to a dimensionality reduction processing strategy to obtain input data of a predetermined dimension includes:
  • If the target user is in an action state determine whether the target user is in the first type of partial static state according to the action feature data
  • the target user's action feature data is sampled according to the target user's current action state to obtain sampling feature data as the input data.
  • the human body posture data in the motion feature data can be used as a judgment as to whether the entire body is in a stationary state. If the entire body is in a stationary state as a whole, it may indicate that the target user is currently in a sleep state or a sleep enter state.
  • the target user is in an overall still state as a whole, for example, the user's hand motion data and foot motion data are used to determine whether the target user is in an overall still state.
  • the user's hand movement data indicates that the target user's hand movements are slight
  • the foot movement data indicates that the foot movements are slight.
  • the target user may be considered to be in an overall static state, otherwise, the target user may be considered to be in an action state. If the target user is in an action state, it is necessary to further determine whether the target user is in a partial action state.
  • the target user may lie down or sit down but still play a mobile phone, the target user is in a hand action state, rather than a stationary hand status.
  • the first type of local static state and the second type of local static state are different static states, and the difference may be reflected in at least one of the following:
  • local stationary states such as local translational stationary states and local rotational stationary states
  • the part corresponding to the first partial static state is larger than the part corresponding to the second partial static state.
  • the part corresponding to the first partial static state may be the entire upper limb; the part corresponding to the second partial static state may be a finger.
  • performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension further including:
  • the determination of whether the target user is in the first type of partial static state and the second type of partial static state is stopped;
  • the determination of whether the target user is in the second type of local stationary state is stopped.
  • the method further includes:
  • effect data includes: the target user's sleep effect data and/or non-sleep activity data;
  • the regular sleep model or the irregular sleep model is optimized.
  • the regular sleep model may be trained using regular sleep data and regular sleep effect data of the regular sleep model.
  • the training data of the irregular sleep model may include:
  • Irregular sleep data lighting control data, and irregular sleep effect data.
  • the regular sleep data, light control data and regular sleep effect data are introduced into the training of irregular sleep models.
  • the model training can be performed according to the regular sleep data, light control data, and irregular sleep effect data, thereby making irregular sleep
  • the model has further improved the accuracy of lighting control parameters.
  • the sleep effect data of the user will also be collected, for example, the sleep effect data may represent the promotion and/or inhibition of the light after the controlled adjustment on the user's sleep, which is adopted in this embodiment. Obtain the effect data, you can know the effect after the current light adjustment.
  • the effect achieves the expected effect
  • the corresponding light control parameters can be used as regular sleep model and irregular sleep model to further optimize the training sample data, and perform deep optimization of the regular sleep model and irregular sleep model, so that the regular sleep
  • this embodiment also provides a data processing apparatus, including:
  • the first obtaining module 110 is configured to obtain environmental data
  • the second obtaining module 120 is configured to obtain the current state data and characteristic data of the target user
  • the selection module 130 is configured to select a regular sleep model or an irregular sleep model as the target model according to the current state data;
  • the third obtaining module 140 is configured to input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters;
  • the control module 150 is configured to use the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes sleep of the target user, or, controlling the The light emitting device emits light that suppresses the sleep of the target user.
  • the first acquisition module 110, the second acquisition module 120, the selection module 130, the third acquisition module 140, and the control module 150 may all be program modules, which can be implemented after being executed by the processor Acquisition of the aforementioned various data, and lighting control of the lighting device.
  • the first acquisition module 110, the second acquisition module 120, the selection module 130, the third acquisition module 140, and the control module 150 may all be soft-hard combination modules.
  • the soft-hard combination module may include: A programmable array, for example, a field programmable array or a complex programmable array.
  • the first acquisition module 110, the second acquisition module 120, the selection module 130, the third acquisition module 140, and the control module 150 may all be pure hardware modules, and the pure hardware modules may include: dedicated integrated circuit.
  • the selection module is configured to perform at least one of the following: if the current state data indicates that the current sleep state of the target user does not conform to the sleep rule corresponding to the regular sleep model, select the The irregular sleep model is the target model; if the current state data indicates that the current sleep state of the target user conforms to the sleep rule corresponding to the regular sleep model, the regular sleep model is selected as the target model.
  • the device further includes:
  • An irregular sleep data module configured to obtain irregular sleep data of the target user if the target model is an irregular sleep model
  • the third obtaining module is configured to input the environment data, the characteristic data and the irregular sleep data into the irregular sleep model to obtain the light control parameter.
  • the irregular sleep data includes at least one of the following:
  • Time zone deviation data of the target user's time zone
  • the first obtaining module 110 is configured to perform at least one of the following:
  • the second obtaining module 120 is configured to obtain the static characteristic data of the user; and obtain the dynamic characteristic data of the user.
  • the second acquisition module 120 is configured to perform at least one of the following:
  • the device further includes:
  • a first denoising module configured to perform a first denoising process on the feature data, remove the first noise data outside the preset frequency range and obtain the first feature data
  • a second denoising module configured to perform correlation analysis filtering on the first feature data, remove second noise data located in the preset frequency range, and obtain second feature data
  • An analysis module configured to analyze the second characteristic data to obtain third characteristic data characterizing the state of the target user
  • the third obtaining module is configured to input the third characteristic data and the environment data to the regular sleep model and irregular sleep model of the target user to obtain the light control parameter.
  • the parsing module is configured to parse the second feature data and extract the time-domain feature data of the target user from the second feature data, where the time-domain feature data includes: Peak data and/or trough data of the characteristic curve corresponding to the second feature data in the time domain; peak data and/or trough data of the target user's action curve or sign change curve;
  • the frequency domain feature data includes: the second feature data location in the frequency domain The peak data and/or trough data of the corresponding characteristic curve.
  • the first noise data includes: jitter data with a jitter frequency of the acquisition device outside the preset frequency range, electromagnetic interference data with an electromagnetic frequency outside the preset frequency range, and electromagnetic frequency Magnetic field noise outside the preset range; and/or, the second noise data includes: jitter data of a jitter frequency of the acquisition device within the preset frequency range.
  • the third acquiring module 140 is configured to perform dimension reduction processing on the third feature data and environment data according to a dimension reduction processing strategy to obtain input data of a preset dimension; Input data to the regular sleep model and the irregular sleep model to obtain the light control parameters.
  • the third acquiring module 140 is configured to determine whether the target user is in an overall still state based on the first preset condition and the action characteristic data of the target user; if the target user is in action State, determine whether the target user is in the first type of local static state according to the action feature data; if the target user is not in the first type of local static state, determine whether the target user is based on the action feature data In the second type of local static state; if the target user is in an action state, the target user's action feature data is sampled according to the target user's current action state to obtain the sampling feature as the input data data.
  • the third acquiring module 140 is configured to stop whether the target user is in the first type of partial static state and the second type of partial static state if the target user is in the overall static state Determination; and/or, if the target user is in the first type of local stationary state, stop determining whether the target user is in the second type of local stationary state.
  • the device further includes:
  • the fourth obtaining module is configured to obtain the effect data of the light control after the use of the light control parameter to control the light emission of the light emitting device, wherein the effect data includes: the sleep effect data of the target user and/or Sleep activity data;
  • the optimization module is used to optimize the regular sleep model and the irregular sleep model according to the effect data.
  • the present disclosure collects the user's movements and heart rate through a smart bracelet, performs color light adjustment projection through a smart projection mobile phone or gateway and other smart devices, and adaptively improves the learning and working environment.
  • the corresponding portrait model in the overall crowd is used to predict the most suitable color sleep adjustment model for each person, and the individual sleep effect evaluation model based on the heart rate and movement changes caused by the bracelet detection is supervised. Learning, so as to establish a regular sleep model or an irregular sleep model that is most suitable for the individual's color sleep adjustment, and it is continuously revised according to the genetic algorithm.
  • the opposite direction of promoting sleep at the same time is to suppress sleep, so that this awake state suppresses sleep.
  • a test sample of a first-level label is obtained, the test sample is imported into the demand model, and the accuracy rate of the demand model is obtained according to the output result of the demand model;
  • the demand model here may be Including the aforementioned regular sleep model and irregular sleep model.
  • the influence weight of each of the influence factors in the training sample and the modification of the training sample are modified;
  • the modified training sample is used to train the demand model until the accuracy rate of the obtained demand model meets the preset accuracy rate requirement.
  • the step of obtaining a general model matching a first-level tag from a plurality of general models in a database includes:
  • a general model consistent with the configuration of the next-level tag of the first-level tag is selected from the found general models according to the configuration of the next-level tag in the first-level tag.
  • each of the impact factors includes multiple features
  • the step of preprocessing the training sample includes:
  • the general model is constructed based on a neural network.
  • the neural network includes an input layer, an output layer, and a hidden layer.
  • the input layer, the output layer, and the hidden layer include multiple neurons, respectively.
  • the step of modifying the connection weight value of the neurons between the input layer, the output layer, and the hidden layer during the reverse return process to gradually reduce the final output error signal includes: :
  • W ij represents the connection weight value between the i-th neuron of the input layer to the j-th upgrade of the hidden layer
  • X P represents the i-th input value of the P-th training sample in the input layer
  • the step of modifying the influence weight of each influence factor in the training sample and modifying the training sample according to the accuracy rate of the demand model includes:
  • the accuracy rate of the current demand model is higher than the accuracy rate of more than half of the demand model obtained in the history, the current training sample is retained, and the impact weight of each of the impact factors is modified;
  • the method further includes:
  • the method further includes:
  • the information to be tested carries a plurality of different influence factors, and each of the influence factors carries corresponding influence weights;
  • the method further includes:
  • An embodiment of the present disclosure also provides a data processing apparatus.
  • the data processing apparatus includes:
  • the general model acquisition module is used to obtain a general model matching a first-level tag from multiple general models in the database;
  • the training sample acquisition module is used to obtain a training sample of a first-level label, the training sample carries a plurality of different influence factors, each of the influence factors carries a corresponding influence weight, and the training sample includes the Staff characteristics and medical resource deployment information;
  • a demand model obtaining module which is used to preprocess the training samples, import the preprocessed training samples into the general model, and train the general model to obtain the demand model corresponding to the first-level label;
  • An accuracy rate obtaining module used to obtain test samples of first-level tags, import the test samples into the demand model, and obtain the accuracy rate of the demand model according to the output result of the demand model;
  • a modification module configured to modify the influence weight of each influence factor in the training sample and modify the training sample according to the accuracy rate of the demand model when the accuracy rate does not meet the preset accuracy rate requirement;
  • the training module is used for training the demand model using the modified training samples until the accuracy rate of the obtained demand model meets the preset accuracy rate requirement.
  • a supervised classification algorithm is used, with environmental data as the input layer and individual sleep quality score as the output layer.
  • the quality of individual evaluation is used as a training supervision factor, preferably 1 and worse 0.
  • the forward propagation of the working signal During this period, the weights and thresholds of the neurons in the network remain unchanged. Each layer of neurons only affects the input and state of the next layer of neurons. If the desired output is not obtained at the output The output value, the network is transferred to the back propagation process of the error signal. The back propagation of the error signal, the error signal starts to be transmitted back layer by layer from the output end. In this propagation process, the weights and thresholds of the neurons of the network are adjusted by error feedback according to certain rules. The above two stages are carried out alternately and cyclically, and each time it is completed, it is corrected by genetic algorithm.
  • the individual as a new input factor of the corresponding group portrait population in the overall population, SVM genetic modification of the overall population corresponding portrait crowd environment model, the corresponding sleeping environment user portraits are constantly clear and refined.
  • SVM classifier fitness function f(x i ) min(1-g(x i )), Divide the correct rate of the samples for the SVM classifier. As the sample size increases, if the correct rate is higher than the historical best model, the model replaces the original best model, so as the sample size increases, the model is continuously optimized and perfected. .
  • the adaptive improvement of the model may include: With the increase of the sample size, the SVM classifier can continuously optimize and improve the adaptive.
  • SVM classifier fitness function f(x i ) min(1-g(x i )), The accuracy of dividing samples for SVM classifier includes:
  • the boundary condition here is the classification boundary of the SVM classifier.
  • melatonin with circadian rhythm, midnight secretion up to Peak
  • REM 2500-10000lux helps to deepen the depth of sleep (the proportion of REM and N4), change the sleep-wake rhythm, adjust the physiological clock, and adjust the quality of sleep.
  • this example provides a data processing method for sleep adjustment, especially sleep adjustment for irregular sleep, specifically including:
  • the irregular sleep model is used to combine the collected environmental parameters, characteristic data and current state data for lighting control.
  • the data processing method provided in this example may include the following steps when adjusting for irregular sleep:
  • control the light emitting device to emit light that inhibits sleep
  • the sleep time range may be the insomnia time range of regular sleep of the target user throughout the day;
  • control the light emitting device to emit lights that promote sleep
  • the light-emitting device is controlled to emit light that promotes sleep within a predetermined time, and after the light that emits sleep is equal to the predetermined time, the light-emitting device is controlled to emit light to suppress sleep;
  • the light emitting device is controlled to emit a light that suppresses sleep.
  • this embodiment provides an electronic device, including:
  • Memory used for information storage
  • the electronic device further includes: a communication interface and/or a human-machine interaction interface.
  • the communication interface may include: a transceiver antenna and/or a network interface, which may be used for information interaction with other electronic devices.
  • the human-computer interaction interface may be used to interact with humans, and the human-computer interaction interface may include: physical buttons and/or touch screens.
  • This embodiment provides a computer storage medium for storing computer-executable instructions; after the computer-executable instructions are executed by a processor, the method provided by one or more of the foregoing technical solutions can be implemented, for example, One or more of the methods shown in FIGS. 1, 2, 4, and 5.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between the displayed or discussed components may be through some interfaces, and the indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms of.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the functional units in the embodiments of the present disclosure may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Anesthesiology (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Hematology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Psychology (AREA)
  • Pain & Pain Management (AREA)
  • Acoustics & Sound (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A data processing method and apparatus, an electronic device and a storage medium. The method comprises: acquiring environmental data (S110); acquiring current state data and feature data of a target user (S120); selecting, according to the current state data, a regular sleep model or an irregular sleep model as a target model (S130); inputting the environmental data and the feature data into the selected target model, and obtaining light control parameters by means of the regular sleep model and the irregular sleep model (S140); and using the light control parameters to control the light emission of a light-emitting device (S150), wherein the step of controlling the light emission of the light-emitting device comprises controlling the light-emitting device to emit light that improves sleep of the target user, or controlling the light-emitting device to emit light that inhibits sleep of the target user.

Description

数据处理方法及装置、电子设备及存储介质Data processing method and device, electronic equipment and storage medium
相关申请的交叉引用Cross-reference of related applications
本公开基于申请号为201910002765.1、申请日为2019年01月02日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容通过引用结合在本公开中。This disclosure is based on a Chinese patent application with an application number of 201910002765.1 and an application date of January 2, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated by reference in this disclosure.
技术领域Technical field
本公开涉及信息技术领域但不限于信息技术领域,尤其涉及一种数据处理方法及装置、电子设备及存储介质。The present disclosure relates to the field of information technology but is not limited to the field of information technology, in particular to a data processing method and device, electronic equipment, and storage medium.
背景技术Background technique
光对人的生物效应可分为视觉效应和非视觉效应。视觉效应主要由视网膜的锥状细胞构成,感觉光度和色彩;非视觉效应主要由松果体的杆状细胞构成,感知光度,产生生物电,影响交感神经,支配松果体细胞释放褪黑素到流动的血液中,荷尔蒙分泌减少,新陈代谢减慢,诱导自然睡眠。The biological effects of light on people can be divided into visual effects and non-visual effects. The visual effect is mainly composed of cone cells in the retina, which senses the luminosity and color; the non-visual effect is mainly composed of the pineal cells of the pineal gland, which senses the light, generates bioelectricity, affects the sympathetic nerves, and innervates the pineal gland cells to release melatonin In the flowing blood, hormone secretion decreases, metabolism slows down, and natural sleep is induced.
目前出现了一些通过灯光调节睡眠的技术方案,但是发现调节效果并不佳,尤其针对睡眠不是很规律的用户调节效果更差。At present, there are some technical solutions for adjusting sleep through light, but it is found that the adjustment effect is not good, especially for users who have irregular sleep.
发明内容Summary of the invention
本公开实施例期望提供一种数据处理方法及装置、电子设备及存储介质。本公开的技术方案是这样实现的:Embodiments of the present disclosure are expected to provide a data processing method and device, electronic equipment, and storage medium. The technical solution of the present disclosure is implemented as follows:
本公开实施例第一方面提供一种数据处理方法,包括:A first aspect of an embodiment of the present disclosure provides a data processing method, including:
获取环境数据;Obtain environmental data;
获取目标用户的当前状态数据和特征数据;Obtain the current status data and characteristic data of the target user;
根据所述当前状态数据,选择规律睡眠模型或非规律睡眠模型作为目标模型;According to the current state data, select a regular sleep model or an irregular sleep model as the target model;
将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数;Input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters;
利用所述灯光控制参数,控制发光设备的发光,其中,所述控制发光设备的发光包括:控制所述发光设备发射促进所述目标用户睡眠的光线,或,控制所述发光设备发射抑制所述目标用户睡眠的光线。Using the light control parameters to control the light emission of the light-emitting device, wherein controlling the light emission of the light-emitting device includes: controlling the light-emitting device to emit light that promotes the sleep of the target user, or controlling the light-emitting device to suppress the emission The light that the target user sleeps.
基于上述方案,所述根据所述目标用户的当前睡眠状态选择规律睡眠模型或非规律睡眠模型作为目标模型,包括以下至少之一:Based on the above solution, the selection of a regular sleep model or an irregular sleep model as the target model according to the current sleep state of the target user includes at least one of the following:
若所述当前状态数据表明所述目标用户的当前睡眠状态不符合所述规律睡眠模型所对应的睡眠规律,选择所述非规律睡眠模型为所述目标模型;If the current state data indicates that the current sleep state of the target user does not conform to the sleep rule corresponding to the regular sleep model, the irregular sleep model is selected as the target model;
若所述当前状态数据表明所述目标用户的当前睡眠状态符合所述规律睡眠模型所对应的睡眠规律,选择所述规律睡眠模型为所述目标模型。If the current state data indicates that the current sleep state of the target user conforms to the sleep rule corresponding to the regular sleep model, the regular sleep model is selected as the target model.
基于上述方案,所述方法还包括:Based on the above solution, the method further includes:
若所述目标模型为非睡眠规律模型,获取所述目标用户的非规律睡眠数据;If the target model is a non-sleep regular model, acquire irregular sleep data of the target user;
所述将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数,包括:The inputting the environmental data and the characteristic data into the selected target model to obtain the lighting control parameters includes:
将所述环境数据、所述特征数据及所述非规律舒睡眠数据输入到所述非规律睡眠模型中,获得所述灯光控制参数。The environmental data, the characteristic data and the irregular sleep data are input into the irregular sleep model to obtain the lighting control parameters.
基于上述方案,所述非规律睡眠数据包括以下至少之一:Based on the above solution, the irregular sleep data includes at least one of the following:
进入睡眠的睡眠时间偏差数据;Sleep time deviation data into sleep;
目标用户所在时区的时区偏差数据;Time zone deviation data of the target user's time zone;
本次非规律睡眠的持续状态数据;Continuous state data of this irregular sleep;
非规律睡眠的出现频次数据。Data on the frequency of irregular sleep.
基于上述方案,所述获取环境数据包括以下至少之一:Based on the above solution, the acquiring environmental data includes at least one of the following:
获取当前季节数据;Get current season data;
获取当前目标用户所在空间的光照数据;Obtain the lighting data of the space where the current target user is located;
获取当前目标用户所在空间的温度数据;Obtain the temperature data of the space where the current target user is located;
和/或,and / or,
所述获取目标用户的特征数据,包括:The acquiring characteristic data of the target user includes:
获取所述用户的静态特征数据;Obtaining the static characteristic data of the user;
获取所述用户的动态特征数据。Obtain the dynamic feature data of the user.
基于上述方案,所述获取所述用户的动态特征数据,包括以下至少之一:Based on the above solution, the acquiring the dynamic feature data of the user includes at least one of the following:
采集所述目标用户当前的动作特征数据;Collecting current motion feature data of the target user;
采集所述目标用户当前的体征特征数据。Collect the current physical characteristic data of the target user.
基于上述方案,所述方法还包括:Based on the above solution, the method further includes:
对所述特征数据进行第一去噪处理,去除预设频率范围以外的第一噪声数据并得到第一特征数据;Performing a first denoising process on the feature data, removing the first noise data outside the preset frequency range and obtaining the first feature data;
对所述第一特征数据进行相关性分析滤波,去除位于所述预设频率范围内的第二噪声数据并得到第二特征数据;Performing correlation analysis filtering on the first feature data to remove second noise data located in the preset frequency range and obtain second feature data;
解析所述第二特征数据获得表征所述目标用户状态的第三特征数据;Parsing the second characteristic data to obtain third characteristic data characterizing the state of the target user;
所述将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数,包括:The inputting the environmental data and the characteristic data into the selected target model to obtain the lighting control parameters includes:
将所述第三特征数据及所述环境数据输入到所述目标用户的目标模型,得到所述灯光控制参数。The third characteristic data and the environment data are input to the target model of the target user to obtain the lighting control parameter.
基于上述方案,所述解析所述第二特征数据获得表征所述目标用户状态的第三特征数据,包括:Based on the above solution, the parsing the second feature data to obtain third feature data characterizing the state of the target user includes:
解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的 时域特征数据,其中,所述时域特征数据包括:时域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据;Parsing the second feature data, and extracting time-domain feature data of the target user from the second feature data, wherein the time-domain feature data includes: a characteristic curve corresponding to the second feature data in the time domain Peak data and/or trough data;
所述目标用户的动作曲线或体征变化曲线的波峰数据和/或波谷数据;Peak data and/or trough data of the target user's action curve or sign change curve;
和/或,and / or,
解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的频域特征数据;其中,所述频域特征数据包括:频域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据。Parsing the second feature data, extracting the frequency domain feature data of the target user from the second feature data; wherein, the frequency domain feature data includes: a characteristic curve corresponding to the second feature data in the frequency domain Peak data and/or trough data.
基于上述方案,所述第一噪声数据包括:采集设备的抖动频率位于所述预设频率范围外的抖动数据、电磁频率位于所述预设频率范围外的电磁干扰数据及电磁频率位于所述预设范围外的磁场噪声;Based on the above solution, the first noise data includes: jitter data with a jitter frequency of the acquisition device outside the preset frequency range, electromagnetic interference data with an electromagnetic frequency outside the preset frequency range, and electromagnetic frequency Magnetic field noise outside the set range;
和/或,and / or,
所述第二噪声数据包括:采集设备的抖动频率位于所述预设频率范围内的抖动数据。The second noise data includes: jitter data whose jitter frequency of the acquisition device is within the preset frequency range.
基于上述方案,所述将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数,包括:Based on the above solution, the inputting of the environmental data and the characteristic data into the selected target model to obtain lighting control parameters includes:
按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据;According to the dimensionality reduction processing strategy, performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension;
将预设维度的输入数据输入到所述目标模型,得到所述灯光控制参数。Inputting input data of a preset dimension into the target model to obtain the lighting control parameter.
基于上述方案,所述按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据,包括:Based on the above solution, performing the dimensionality reduction processing on the third feature data and the environmental data according to the dimensionality reduction processing strategy to obtain input data of a preset dimension includes:
基于第一预设条件结合所述目标用户的动作特征数据,确定所述目标用户是否处于整体静止状态;Determine whether the target user is in an overall static state based on the first preset condition and the motion feature data of the target user;
若所述目标用户处于动作状态,根据所述动作特征数据确定所述目标用户是否处于第一类局部静止状态;If the target user is in an action state, determine whether the target user is in the first type of partial static state according to the action feature data;
若所述目标用户不处于所述第一类局部静止状态,根据所述动作特征 数据确定所述目标用户是否处于第二类局部静止状态;If the target user is not in the first type of local stationary state, determine whether the target user is in the second type of local stationary state according to the motion feature data;
若所述目标用户处于动作状态,则根据所述目标用户当前所处的动作状态对所述目标用户的动作特征数据进行抽样,获得作为所述输入数据的抽样特征数据。If the target user is in an action state, the target user's action feature data is sampled according to the target user's current action state to obtain sampling feature data as the input data.
基于上述方案,所述按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据,还包括:Based on the above solution, according to the dimensionality reduction processing strategy, performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension, further including:
若所述目标用户处于整体静止状态,则停止所述目标用户是否处于第一类局部静止状态和所述第二类局部静止状态的确定;If the target user is in the overall static state, the determination of whether the target user is in the first type of partial static state and the second type of partial static state is stopped;
和/或,and / or,
若所述目标用户处于所述第一类局部静止状态,则停止所述目标用户是否处于所述第二类局部静止状态的确定。If the target user is in the first type of local stationary state, the determination of whether the target user is in the second type of local stationary state is stopped.
基于上述方案,在所述利用所述灯光控制参数,控制发光设备的发光之后,所述方法还包括:Based on the above solution, after using the light control parameters to control the light emission of the light emitting device, the method further includes:
获得灯光控制的效果数据,其中,所述效果数据包括:所述目标用户的睡眠效果数据、睡眠活动数据及非睡眠活动数据的至少其中之一;Obtain lighting control effect data, wherein the effect data includes: at least one of the target user's sleep effect data, sleep activity data, and non-sleep activity data;
根据所述效果数据,优化所述规律睡眠模型和/或非规律睡眠模型。According to the effect data, the regular sleep model and/or the irregular sleep model are optimized.
本公开实施例第二方面提供一种数据处理装置,包括:A second aspect of an embodiment of the present disclosure provides a data processing apparatus, including:
第一获取模块,配置为获取环境数据;The first obtaining module is configured to obtain environmental data;
第二获取模块,配置为获取目标用户的当前状态数据和特征数据;The second obtaining module is configured to obtain the current state data and characteristic data of the target user;
选择模块,配置为根据所述当前状态数据,选择规律睡眠模型或非规律睡眠模型作为目标模型A selection module configured to select a regular sleep model or an irregular sleep model as the target model based on the current state data
第三获取模块,配置为将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数;A third acquisition module configured to input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters;
控制模块,配置为利用所述灯光控制参数,控制发光设备的发光,其中,所述控制发光设备的发光包括:控制所述发光设备发射促进所述目标 用户睡眠的光线,或,控制所述发光设备发射抑制所述目标用户睡眠的光线。规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型规律睡眠模型和非规律睡眠模型The control module is configured to use the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes the sleep of the target user, or controlling the light emission The device emits light that suppresses the sleep of the target user. Regular sleep model and irregular sleep model Regular sleep model and irregular sleep model Regular sleep model and irregular sleep model Regular sleep model and irregular sleep model Regular sleep model and irregular sleep model Regular sleep model and irregular sleep model Model and irregular sleep model Regular sleep model and irregular sleep model Regular sleep model and irregular sleep model
本公开实施例第三方面提供一种电子设备,包括:A third aspect of the embodiments of the present disclosure provides an electronic device, including:
存储器;Memory
处理器,与所述存储器连接,用于通过执行位于所述存储器上的计算机可执行指令,实现前述一个或多个技术方案提供的数据处理方法。A processor, connected to the memory, is configured to implement the data processing method provided by the foregoing one or more technical solutions by executing computer-executable instructions located on the memory.
本公开实施例第四方面提供一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被执行后,能够前述一个或多个技术方案提供的数据处理方法。A fourth aspect of an embodiment of the present disclosure provides a computer storage medium that stores computer-executable instructions; after the computer-executable instructions are executed, the data processing method provided by the foregoing one or more technical solutions can be provided.
本公开实施例提供的技术方案,会获取环境数据、目标用户的当前状态数据和特征数据,首先根据当前状态数据确定出是利用规律睡眠模型还是非规律睡眠模型作为目标模型,来形成灯光控制参数,如此,可以有针对性根据用户当前是规律睡眠还是非规律睡眠来控制灯光,从而提供更好的有利于抑制或促进睡眠的灯光控制,从而不管目前目标用户的睡眠是规律的还是非规律的,都能够实现精确的灯光控制,在目标用户需要促进睡眠时发射促进睡眠的灯光,需要抑制睡眠时发射抑制睡眠的灯光,以实现利用灯光精确的调节目标用户的睡眠。The technical solution provided by the embodiments of the present disclosure will acquire environmental data, current state data and characteristic data of the target user, and first determine whether to use the regular sleep model or the irregular sleep model as the target model according to the current state data to form the light control parameters , In this way, the lights can be controlled according to whether the user is currently sleeping regularly or irregularly, thereby providing better light control that is beneficial to inhibit or promote sleep, regardless of whether the current target user's sleep is regular or irregular , Can achieve accurate light control, when the target user needs to promote sleep to emit light that promotes sleep, and needs to suppress the emission of light that suppresses sleep during sleep, in order to use light to accurately adjust the target user's sleep.
附图说明BRIEF DESCRIPTION
图1为本公开实施例提供的第一种数据处理方法的流程示意图;FIG. 1 is a schematic flowchart of a first data processing method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的第二种数据处理方法的流程示意图;2 is a schematic flowchart of a second data processing method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种数据处理装置的结构示意图;3 is a schematic structural diagram of a data processing device according to an embodiment of the present disclosure;
图4为本公开实施例提供的第三种数据处理方法的流程示意图;4 is a schematic flowchart of a third data processing method provided by an embodiment of the present disclosure;
图5为本公开实施例提供针对非规律睡眠的睡眠调剂方法的流程示意图;FIG. 5 is a schematic flowchart of a method for providing sleep adjustment for irregular sleep according to an embodiment of the present disclosure;
图6为本公开实施提供的一种电子设备的结构示意图;6 is a schematic structural diagram of an electronic device provided by implementation of the present disclosure;
图7为本公开实施例提供的一种非规律睡眠模型控制发光设备发光的示意图。7 is a schematic diagram of an irregular sleep model provided by an embodiment of the present disclosure to control a light emitting device to emit light.
具体实施方式detailed description
以下结合说明书附图及具体实施例对本公开的技术方案做进一步的详细阐述。The technical solutions of the present disclosure will be further elaborated below with reference to the drawings and specific embodiments of the specification.
研究发现:倒时差、工厂三班倒的人、医护人员,时差的颠倒最容易导致慢性生物钟失衡,容易引发胃部不适到溃疡与心脏病等。交感神经的兴奋度与达到松果体的光色和光照强度相关。部分厂商推出蓝光照射,可改善非规律睡眠状况。助眠灯适当的光照(N1浅睡眠阶段(1200-7000Lux、自动觉醒前N4、REM阶段接受2500-10000lux),会增加机体内褪黑激素的生成,褪黑激素(具有昼夜节律,午夜分泌达高峰)有助于加深睡眠的深度(REM和N4的比重),改变睡眠-觉醒节律,调节生理时钟,调节睡眠质量。例如:遗传学的研究表明非视觉效应在480~485nm为最大,可见光不同波长的敏感度也不一致,它对黄绿光的灵敏度最高,而对红光和蓝光、紫光的敏感度则很低。红、绿、蓝3种色光分别在1000lx的照射下,对褪黑色激素的抑制率,红光很小,绿光最大,蓝光稍低,光的照射会明显增加心率,波长越短越显著,年轻人比老年人明显。人类在波长在480~485nm之间的光线最为敏感,不同人不同,受到人眼视网膜中央黄斑区黄色素影响,随着年龄的增加,视觉晶体变黄,会造成个体差异。但是,不同年龄、睡眠体质的人进入各睡眠阶段的时间可能不同、对光线的敏感程度也不同,仅根据一般人群进入各睡眠阶段的时间、设置每个人一样的助眠光照调节机制。可能反而影响睡眠,如老人睡眠浅,24:00还未进入浅睡,可能反 而睡眠受到影响。另外,非规律睡眠与平时睡眠所需要的强度也不相同,非规律睡眠与平时睡眠的个体差异情况,如连续多少个小时未规律睡眠、非规律睡眠的时长、非规律睡眠的近期出现评率等,也是训练差分模型需要重点考虑的内容。The study found that people who fall in jet lag, three shifts in the factory, and medical staff are most likely to cause chronic circadian clock imbalance, which can easily cause stomach upset to ulcers and heart disease. Sympathetic excitability is related to the color and intensity of light reaching the pineal gland. Some manufacturers have introduced blue light irradiation, which can improve irregular sleep. Appropriate illumination of the sleep aid lamp (N1 light sleep stage (1200-7000 Lux, N4 before auto-awakening, 2500-10000lux at the REM stage), will increase the production of melatonin in the body, melatonin (with circadian rhythm, secrete up to midnight Peak) helps to deepen the depth of sleep (the proportion of REM and N4), change the sleep-wake rhythm, adjust the physiological clock, and adjust the quality of sleep. For example: genetic studies have shown that non-visual effects are maximum at 480-485nm, and visible light is different The sensitivity of the wavelength is also inconsistent, it has the highest sensitivity to yellow-green light, but the sensitivity to red light, blue light, and violet light is very low. The three colors of red, green, and blue light respectively suppress the melatonin under the irradiation of 1000 lx The red light is very small, the green light is the largest, and the blue light is slightly lower. The irradiation of light will significantly increase the heart rate. The shorter the wavelength, the more obvious, young people are more obvious than the elderly. Humans are most sensitive to light between 480 and 485 nm. Different people are affected by the yellow pigment in the central macula area of the human eye. With age, the visual crystals turn yellow, which will cause individual differences. However, people with different ages and sleep constitutions may enter different sleep stages at different times. The sensitivity of light is also different, only according to the time when the general population enters each sleep stage, setting the same sleep aid light adjustment mechanism for everyone. It may instead affect sleep, such as elderly people who sleep lightly, and do not enter light sleep at 24:00, may instead Sleep is affected. In addition, the intensity required for irregular sleep and normal sleep is not the same, the individual differences between irregular sleep and normal sleep, such as how many consecutive hours of irregular sleep, the length of irregular sleep, irregular sleep The recent appearance of ratings, etc., is also an important consideration for training differential models.
有鉴于此,考虑到规律睡眠和非规律睡眠时,用户所需的促进或抑制睡眠的灯光需求是不一致的,提出了如图1所示的数据处理方法,包括:In view of this, considering the regular sleep and irregular sleep, the light requirements of the user to promote or inhibit sleep are inconsistent, and the data processing method shown in Figure 1 is proposed, including:
步骤S110:获取环境数据;Step S110: Acquire environmental data;
步骤S120:获取目标用户的当前状态数据和特征数据;Step S120: Obtain the current state data and characteristic data of the target user;
步骤S130:根据所述当前状态数据,选择规律睡眠模型或非规律睡眠模型作为目标模型;Step S130: Select a regular sleep model or an irregular sleep model as the target model according to the current state data;
步骤S140:将所述环境数据及所述特征数据输入到选择的目标模型中,规律睡眠模型和非规律睡眠模型获得灯光控制参数;Step S140: Input the environmental data and the characteristic data into the selected target model, and the regular sleep model and the irregular sleep model obtain the light control parameters;
步骤S150:利用所述灯光控制参数,控制发光设备的发光,其中,所述控制发光设备的发光包括:控制所述发光设备发射促进所述目标用户睡眠的光线,或,控制所述发光设备发射抑制所述目标用户睡眠的光线。Step S150: Using the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes the sleep of the target user, or controlling the light emitting device to emit Suppressing the light of sleep of the target user.
本实施例提供的数据处理方法可应用于各种电子设备中,例如,可以应用于用户设备或者家庭网关中。所述用户设备可为:用户手机、平板电脑或可穿戴设备中。这些设备获得所述灯光控制参数之后,控制发光设备发光,或者控制自身发光。The data processing method provided in this embodiment can be applied to various electronic devices, for example, user equipment or a home gateway. The user equipment may be: a user's mobile phone, tablet computer or wearable device. After obtaining the light control parameters, these devices control the light-emitting devices to emit light, or control themselves to emit light.
所述发光设备可为各种能够发光的设备,可以是所述用户设备本身,也可以是卧室或客厅等目标用户所在位置的发光设备。The light-emitting device may be various devices capable of emitting light, and may be the user device itself, or a light-emitting device at a location of a target user such as a bedroom or a living room.
在本实施例中,电子设备会首先获取环境数据,该环境数据表征了目标用户当前所在空间的环境状况。例如,通过环境传感器采集环境数据。In this embodiment, the electronic device first obtains environmental data, which represents the environmental conditions of the space where the target user is currently located. For example, collecting environmental data through environmental sensors.
不同的环境对用户的睡眠活动和非睡眠活动都有不同的影响。例如,在过亮或过暗的情况下,都不利用目标用户的睡眠。在本实施例中,希望 可以通过灯光来辅助睡眠活动或非睡眠活动。在本实施例中,获取所述目标用户的特征数据,该特征数据可以组成目标用户的个体静态画像、目标用户的个体动态画像、目标用户的体征画像、目标用户的情绪画像等。Different environments have different effects on users' sleep activities and non-sleep activities. For example, in the case of too bright or too dark, none of the target user's sleep is utilized. In this embodiment, it is expected that lights can be used to assist sleep activities or non-sleep activities. In this embodiment, the characteristic data of the target user is obtained, and the characteristic data may constitute an individual static portrait of the target user, an individual dynamic portrait of the target user, a sign portrait of the target user, an emotional portrait of the target user, and so on.
所述用户特征数据可包括:实现采集的特征数据,也包括动态采集的特征数据,例如,利用生理传感器动态采集的特征数据,该体征数据包括但不限于:目标用户的心跳数据、目标用户的脑电波数据、目标用户的脉搏数据等。The user feature data may include: feature data that is collected, and also feature data that is dynamically collected, for example, feature data that is dynamically collected using a physiological sensor, and the sign data includes but is not limited to: the heartbeat data of the target user, the target user’s Brain wave data, pulse data of target users, etc.
所述当前状态参数至少可以表征目标用户当前是处于睡眠状态还是非睡眠状态。The current state parameter may at least represent whether the target user is currently in a sleep state or a non-sleep state.
在一些实施例中,所述当前状态参数还可以用于表征目标用户处于睡眠状态下的睡眠分期或者睡眠深度;所述当前状态参数还可以用于表征目标用户处于非睡眠状态下的清醒程度等参数。In some embodiments, the current state parameter can also be used to characterize the sleep stage or sleep depth of the target user in the sleep state; the current state parameter can also be used to characterize the degree of awake of the target user in the non-sleep state, etc. parameter.
在本实施例中,一个目标用户对应了两个模型,分别是规律睡眠模型和非规律睡眠模型。In this embodiment, a target user corresponds to two models, namely a regular sleep model and an irregular sleep model.
规律睡眠模型可以用于在目标用户的当前睡眠状态为规律睡眠时,形成所述灯光控制参数;非规律睡眠模型可以用于在目标用户的当前睡眠状态为非规律睡眠时,形成灯光控制参数。The regular sleep model may be used to form the light control parameter when the target user's current sleep state is regular sleep; the irregular sleep model may be used to form the light control parameter when the target user's current sleep state is irregular sleep.
如此,在步骤S140中可以根据目标用户的当前睡眠状态是否为规律睡眠来形成对应的灯光控制参数,以实现灯光的精准控制。In this way, in step S140, corresponding light control parameters can be formed according to whether the current sleep state of the target user is regular sleep, so as to achieve precise control of the light.
由于灯光的颜色和/或灯光的亮度,对人的情绪和体征都以有一定的促进或抑制影响,在本实施例中,利用环境数据和特征数据,作为目标模型的输入,该目标模型可以得到灯光控制参数,用于控制发光设备的发光。Due to the color of the light and/or the brightness of the light, there is a certain promotion or suppression effect on human emotions and signs. In this embodiment, the environmental data and characteristic data are used as the input of the target model, which can be The light control parameters are obtained and used to control the light emission of the light emitting device.
例如,所述灯光控制参数包括以下至少之一:For example, the light control parameter includes at least one of the following:
灯光的颜色控制参数,用于控制光线的颜色,例如,该颜色控制参数可包括:发光波长,不同的波长对应了不同颜色的光线;The color control parameter of the light is used to control the color of the light. For example, the color control parameter may include: a light emitting wavelength, and different wavelengths correspond to different colors of light;
灯光的亮度控制参数,用于控制发光设备的发光亮度,例如,该亮度控制参数可包括:光线值。The brightness control parameter of the light is used to control the brightness of the light emitting device. For example, the brightness control parameter may include: a light value.
灯光的颜色变化控制参数,Control parameters of the color change of the light,
灯光的亮度变化控制参数,在一些情况下,灯光亮度变化的来促进用户睡眠或抑制用户睡眠。例如,在晨起的时候,灯光可能是要越来越亮;在晚边入睡的时候,灯光的亮度是要越来越暗;而灯光的颜色在需要唤醒目标用户时,可能需要从暖色调的灯光逐步切换到冷色调的灯光;而在入睡前可能需要从冷色调的灯光逐步切换到暖色调的灯光。The brightness of the light changes control parameters. In some cases, the brightness of the light changes to promote user sleep or inhibit user sleep. For example, in the morning, the light may be getting brighter and brighter; when falling asleep at night, the brightness of the light is getting darker and darker; and the color of the light may need to change from warm tones when it is necessary to wake up the target user The lights gradually switch to cool-tone lights; and you may need to gradually switch from cool-tone lights to warm-tone lights before falling asleep.
灯光的照射角度控制参数,用于控制灯光照射角度;若灯光直接照射到目标用户的视野范围内可能会抑制睡眠,而从侧面照射可能有助于用户睡眠,故所述灯光控制参数还包括照射角度控制参数。The lighting angle control parameter of the light is used to control the lighting angle of the light; if the light is directly irradiated to the target user's field of view, it may inhibit sleep, and the side illumination may help the user to sleep, so the light control parameter also includes illumination Angle control parameters.
总之,在本实施例中,所述环境数据和特征数据,输入的是目标用户自设的规律睡眠模型和非规律睡眠模型,如此,得到的是该目标用户个体的灯光控制参数;如此,区分了不同年龄、不同睡眠习惯、不同性别的目标用户的提供灯光控制参数,以针对每一个用户来进行灯光控制,从而确保满足用户个性的灯光控制。In short, in this embodiment, the environmental data and the characteristic data are input to the regular sleep model and the irregular sleep model set by the target user. In this way, the light control parameters of the target user are obtained; In order to provide lighting control parameters for target users of different ages, different sleeping habits, and different genders, the lighting control is performed for each user, thereby ensuring the lighting control that meets the user's personality.
所述步骤S130可包括以下至少之一:The step S130 may include at least one of the following:
若所述当前状态数据表明所述目标用户的当前睡眠状态不符合所述规律睡眠模型所对应的睡眠规律,选择所述非规律睡眠模型为所述目标模型;If the current state data indicates that the current sleep state of the target user does not conform to the sleep rule corresponding to the regular sleep model, the irregular sleep model is selected as the target model;
若所述当前状态数据表明所述目标用户的当前睡眠状态符合所述规律睡眠模型所对应的睡眠规律,选择所述规律睡眠模型为所述目标模型。If the current state data indicates that the current sleep state of the target user conforms to the sleep rule corresponding to the regular sleep model, the regular sleep model is selected as the target model.
例如,按照规律睡眠的睡眠规律,则当前时间目标用户应该处于睡眠状态,但是所述当前状态数据目标用户依然处于非睡眠状态,表明当前适合采用非规律睡眠模型形成所述灯光控制参数。For example, according to the sleep rule of regular sleep, the target user at the current time should be in a sleep state, but the target user of the current state data is still in a non-sleep state, indicating that it is currently suitable to use an irregular sleep model to form the light control parameter.
再例如,按照规律睡眠的睡眠规律,当前时间是用户的睡眠时间但是 目标用户所在的时区发生了变化,同样可认为是不符合规律睡眠模型所对应的睡眠规律的,是需要选择非睡眠规律作为所述目标模型的。As another example, according to the sleep rule of regular sleep, the current time is the user's sleep time but the time zone of the target user has changed. It can also be considered that it does not conform to the sleep rule corresponding to the regular sleep model. It is necessary to select the non-sleep rule as The target model.
总之,若睡眠时间和睡眠时区(目标用户所在时区)任意一个不满足规律睡眠模型所对应的睡眠规律时,选择非规律睡眠模型作为目标模型,否则选择规律睡眠模型作为目标模型。In short, if any of the sleep time and sleep time zone (the time zone where the target user is located) does not satisfy the sleep rule corresponding to the regular sleep model, the irregular sleep model is selected as the target model, otherwise the regular sleep model is selected as the target model.
在另一些实施例中,所述方法还包括:In other embodiments, the method further includes:
若所述目标模型为非睡眠规律模型,获取所述目标用户的非规律睡眠数据;If the target model is a non-sleep regular model, acquire irregular sleep data of the target user;
所述步骤S140可包括:将所述环境数据、所述特征数据及所述非规律舒睡眠数据输入到所述非规律睡眠模型中,获得所述灯光控制参数。The step S140 may include: inputting the environmental data, the characteristic data, and the irregular sleep data into the irregular sleep model to obtain the light control parameter.
非规律睡眠数据可包括:各种表征非规律睡眠状态与规律睡眠状态之间的差异数据等。如此,非规律睡眠模型可以结合非规律睡眠数据、确定是需要抑制睡眠还是促进睡眠。与此同时,非规律睡眠模型可以结合所述环境数据和特征数据,确定促进睡眠或抑制睡眠所需的具体的灯光控制参数。The irregular sleep data may include various data representing the difference between the irregular sleep state and the regular sleep state. In this way, the irregular sleep model can combine irregular sleep data to determine whether it is necessary to suppress sleep or promote sleep. At the same time, the irregular sleep model can combine the environmental data and the characteristic data to determine the specific lighting control parameters required to promote sleep or inhibit sleep.
在一些实施例中,如图7所示,所述非规律睡眠数据包括以下至少之一:In some embodiments, as shown in FIG. 7, the irregular sleep data includes at least one of the following:
进入睡眠的睡眠时间偏差数据,例如,目标用户平常晚上10:00入睡,当前时间已经是第二天的1:15了,目标用户还未进入睡眠,这两者的时间差,2:15可以作为所述时间偏差数据的一种;Sleep time deviation data into sleep, for example, the target user usually falls asleep at 10:00 pm, the current time is already 1:15 the next day, the target user has not yet entered sleep, the time difference between the two, 2:15 can be used as One of the time deviation data;
目标用户所在时区的时区偏差数据;例如,目标用户从北京飞往伦敦,由于北京所在时区和伦敦所在时区的差异,可以将时区偏差数据也作为非规律睡眠数据的以中国;Time zone deviation data of the target user's time zone; for example, the target user is flying from Beijing to London. Due to the difference between Beijing's time zone and London's time zone, the time zone deviation data can also be used as irregular sleep data in China;
本次非规律睡眠的持续状态数据;例如,持续状态数据可包括以下至少之一:目标用户持续非规律睡眠的时长、目标用户非规律保持非睡眠状 态的时长、目标用户非规律的保持睡眠状态的时长;Continuous state data of this irregular sleep; for example, the continuous state data may include at least one of the following: duration of the target user's irregular sleep, duration of the target user's irregularly maintained non-sleep state, and target user's irregularly maintained sleep state The length of time
非规律睡眠的出现频次数据;例如,非规律睡眠的出现频次数据可包括以下至少之一:最近半个月或一个月等预设周期内,非规律睡眠的出现次数和/或频率。The frequency of occurrence of irregular sleep; for example, the frequency of occurrence of irregular sleep may include at least one of the following: the number and/or frequency of occurrence of irregular sleep within a preset period such as the last half month or a month.
这些非规律睡眠数据输入到非规律睡眠模型之后,方便非规律睡眠模型确定是促进睡眠还是抑制睡眠。此外,该非睡眠数据还可以与环境数据和特征数据一起用于促进睡眠或抑制睡眠的灯光控制参数的生成。After these irregular sleep data are input to the irregular sleep model, it is convenient for the irregular sleep model to determine whether to promote sleep or suppress sleep. In addition, the non-sleep data can also be used together with environmental data and characteristic data to generate light control parameters that promote sleep or suppress sleep.
从图7可知,在图7中对于非规律睡眠模型引入了很多非规律睡眠数据(或称非规律睡眠因子,例如,进入睡眠的睡眠时间偏差数据、目标用户所在时区的时区偏差数据、非规律睡眠的出现频次数据及本次非规律睡眠的持续状态数据中的一个或多个。As can be seen from FIG. 7, a lot of irregular sleep data (or irregular sleep factors, for example, sleep time deviation data when entering sleep, time zone deviation data of the time zone where the target user is located, irregular One or more of the occurrence frequency data of sleep and the continuous state data of this irregular sleep.
在一些实施例中,所述步骤S110可包括以下至少之一:In some embodiments, the step S110 may include at least one of the following:
获取当前季节数据;Get current season data;
获取当前目标用户所在空间的光照数据;Obtain the lighting data of the space where the current target user is located;
获取当前目标用户所在空间的温度数据。Get the temperature data of the space where the current target user is located.
不同的季节温度不同、日照不同、目标用户所需的睡眠时长和/或深浅睡眠不同。Different seasons have different temperatures, different sunshine, and different sleep durations and/or deeper and lower sleep required by the target user.
在一些实施例中,所述环境数据还可包括:湿度数据,不同的湿度对目标用户的睡眠影响也是不同的。In some embodiments, the environmental data may further include: humidity data, and different humidity has different effects on the sleep of the target user.
和/或,and / or,
所述步骤S120可包括:The step S120 may include:
获取所述用户的静态特征数据;Obtaining the static characteristic data of the user;
获取所述用户的动态特征数据。Obtain the dynamic feature data of the user.
所述静态特征数据可包括:用户的静态个人画像所对应的数据,例如,目标用户的年纪、性别和/或个人睡眠特点等。The static feature data may include: data corresponding to the user's static personal portrait, for example, the age, gender, and/or personal sleep characteristics of the target user.
所述动态特征数据包括但不限于以下至少之一:The dynamic characteristic data includes but is not limited to at least one of the following:
目标用户的肢体动作数据;Physical movement data of the target user;
目标用户的心率数据;Target user's heart rate data;
目标用户的心率变异性(HRV)数据等。HRV表征了目标用户的交感神经和副交感申请的活跃程度,交感神经越活跃,用户的情绪越亢奋,越不宜睡眠。Target user's heart rate variability (HRV) data, etc. HRV characterizes the active level of the sympathetic nerve and parasympathetic application of the target user. The more active the sympathetic nerve, the more excited the user's emotions and the less suitable for sleep.
在一些实施例中,所述获取所述用户的动态特征数据,包括以下至少之一:In some embodiments, the acquiring dynamic characteristic data of the user includes at least one of the following:
采集所述目标用户当前的动作特征数据;例如,手部动作数据、脚部动作数据、头部动作数据和/或躯干部分动作数据;Collect the current motion feature data of the target user; for example, hand motion data, foot motion data, head motion data and/or torso motion data;
采集所述目标用户当前的体征特征数据,例如,心率数据、血氧量数据和/或HRV数据等。Collect current physical characteristic data of the target user, for example, heart rate data, blood oxygenation data, and/or HRV data, etc.
在一些实施例中,如图2所示,所述方法还包括:In some embodiments, as shown in FIG. 2, the method further includes:
步骤S101:对所述特征数据进行第一去噪处理,去除预设频率范围以外的第一噪声数据并得到第一特征数据;Step S101: Perform a first denoising process on the feature data, remove the first noise data outside the preset frequency range, and obtain the first feature data;
步骤S102:对所述第一特征数据进行相关性分析滤波,去除位于所述预设频率范围内的第二噪声数据并得到第二特征数据;Step S102: Perform correlation analysis filtering on the first feature data, remove second noise data located in the preset frequency range, and obtain second feature data;
步骤S103:解析所述第二特征数据获得表征所述目标用户状态的第三特征数据;Step S103: Analyze the second feature data to obtain third feature data characterizing the state of the target user;
所述步骤S130可包括:将所述第三特征数据及所述环境数据输入到所述目标用户的目标模型,得到所述灯光控制参数。The step S130 may include: inputting the third characteristic data and the environment data to the target model of the target user to obtain the lighting control parameter.
在本实施例中为了减少输入到规律睡眠模型和非规律睡眠模型中的噪声数据,对灯光控制参数的精确度的影响,在本实施例中会首先对特征数据进行去噪处理。在本实施例中,为了尽可能的去除特征数据中的噪声数据,会进行两次去噪处理。例如,通过第一去噪处理,可以去除特征数据 所在的预设频率范围外的第一噪声数据,再通过相关性分析,可以去除特征数据所在的预设频率范围内的第二噪声数据。用户的动作特征和/或体征都是会呈现一定的规律的,但是第二噪声数据可能不呈现这样的规律,这种规律可以为时域内的变化规律,和/或,频域内的变化规律,例如,用户的心跳数据是成一定周期性的,该周期性即为一种时域内的变化规律,用户的脑电波可能在不同频率的波之间切换,但是可能都在特定频点之间,这种规律为频域内的变化规律。所述相关性分析可为:通过分离出的各个信号是否满足目标用户的特征在时域和/或频域的变化规律的判断,过滤掉不符合目标用户在时与和/或频域的变化规律的第二噪声数据。当然此处仅是举例,具体的实现不局限于此。In this embodiment, in order to reduce the influence of the noise data input into the regular sleep model and the irregular sleep model on the accuracy of the light control parameters, in this embodiment, the feature data will be first denoised. In this embodiment, in order to remove the noise data in the feature data as much as possible, denoising will be performed twice. For example, through the first denoising process, the first noise data outside the preset frequency range where the feature data is located can be removed, and then through correlation analysis, the second noise data within the preset frequency range where the feature data is located can be removed. The user's movement characteristics and/or signs will show a certain regularity, but the second noise data may not show such a regularity, this regularity may be a variational law in the time domain, and/or, a variational law in the frequency domain, For example, the user's heartbeat data has a certain periodicity, which is a change law in the time domain. The user's brain waves may switch between waves of different frequencies, but they may all be between specific frequency points. This law is the law of change in the frequency domain. The correlation analysis may be: judging whether the separated signals satisfy the change rule of the target user's characteristics in the time and/or frequency domain, and filtering out changes that do not meet the target user's time and/or frequency domain Regular second noise data. Of course, this is only an example, and the specific implementation is not limited to this.
在一些实施例中,所述步骤S103可包括:In some embodiments, the step S103 may include:
解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的时域特征数据,其中,所述时域特征数据包括:时域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据;Parsing the second feature data, and extracting time-domain feature data of the target user from the second feature data, wherein the time-domain feature data includes: a characteristic curve corresponding to the second feature data in the time domain Peak data and/or trough data;
所述目标用户的动作曲线或体征变化曲线的波峰数据和/或波谷数据;Peak data and/or trough data of the target user's action curve or sign change curve;
和/或,and / or,
解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的频域特征数据;其中,所述频域特征数据包括:频域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据。Parsing the second feature data, extracting the frequency domain feature data of the target user from the second feature data; wherein, the frequency domain feature data includes: a characteristic curve corresponding to the second feature data in the frequency domain Peak data and/or trough data.
若目标用户在动作,则通过采集的动作特征数据可以在时域或频域绘制出动作曲线,动作曲线的波峰值和/或波谷值有非常大的可能是表征了用户动作特点的数据,故在本实施例中,可以从时域的动作曲线和/或频域的动作曲线的波峰数据和/或波谷数据提取出来,作为所述特征数据,输入到个体睡眠画像中。例如,从第二数据中提取动作波峰和波谷时的动作幅度、动作力度、各动作频率下的最大动作幅度和/或动作力度等参数。If the target user is moving, the action curve can be drawn in the time or frequency domain by collecting the action feature data. The peak value and/or the trough value of the action curve may be very large data that characterize the user's action, so In this embodiment, peak data and/or trough data of the action curve in the time domain and/or the action curve in the frequency domain may be extracted as the characteristic data and input into the individual's sleep portrait. For example, from the second data, parameters such as the action amplitude, action intensity, maximum action amplitude and/or action intensity at each action frequency when extracting action peaks and troughs are extracted.
用户的体征数据,也可以在时域和/或频域绘制出对应的体征曲线,可以根据体征曲线,可以提取出第二特征参数中波峰数据和/或波谷数据进行处理。The user's sign data can also draw corresponding sign curves in the time domain and/or frequency domain. According to the sign curves, the peak data and/or trough data in the second characteristic parameters can be extracted for processing.
在一些实施例中,所述第一噪声数据包括:采集设备的抖动频率位于所述预设频率范围外的抖动数据、电磁频率位于所述预设频率范围外的电磁干扰数据及电磁频率位于所述预设范围外的磁场噪声;In some embodiments, the first noise data includes: jitter data with a jitter frequency of the acquisition device outside the preset frequency range, electromagnetic interference data with an electromagnetic frequency outside the preset frequency range, and electromagnetic frequency The magnetic field noise outside the preset range;
和/或,and / or,
所述第二噪声数据包括:采集设备的抖动频率位于所述预设频率范围内的抖动数据。The second noise data includes: jitter data whose jitter frequency of the acquisition device is within the preset frequency range.
设备的抖动会影响用户的动作特征数据,电磁干扰噪声和/或磁场噪声会影响用户的脑电波数据。The vibration of the device will affect the user's movement characteristic data, and the electromagnetic interference noise and/or magnetic field noise will affect the user's brain wave data.
在一些实施例中,所述步骤S130可包括:In some embodiments, the step S130 may include:
按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据;According to the dimensionality reduction processing strategy, performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension;
将预设维度的输入数据输入到所述目标,得到所述灯光控制参数。Input the input data of a preset dimension to the target to obtain the light control parameter.
实际获得的所述环境数据及所述特征数据按照预定组合方式组合后,会形成一个高纬度的向量和/或矩阵,但是这些数据中有一些数据可能对灯光控制参数的得到是没有特别多贡献的,或者,有些数据组合之后才会度灯光控制参数造成影响。为了减少数据处理量,在本实施例中,会利用降维处理策略对数据进行降维处理,例如,通过环境参数和特征数据的降维处理,仅获得M个数据作为所述人体睡眠画像模型的输入数据;所述M可为6、9或12等取值,具体的取值可以根据需求动态设置。After actually combining the environmental data and the characteristic data according to a predetermined combination method, a high-latitude vector and/or matrix will be formed, but some of these data may not contribute much to the lighting control parameters. Or, some data combination will affect the lighting control parameters. In order to reduce the amount of data processing, in this embodiment, dimensionality reduction processing will be performed on the data using a dimensionality reduction processing strategy, for example, through dimensionality reduction processing of environmental parameters and feature data, only M pieces of data are obtained as the human sleep portrait model Input data; the M can be a value of 6, 9, or 12, and the specific value can be set dynamically according to demand.
在一些实施例中,所述按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据,包括:In some embodiments, performing dimensionality reduction processing on the third feature data and environment data according to a dimensionality reduction processing strategy to obtain input data of a predetermined dimension includes:
基于第一预设条件结合所述目标用户的动作特征数据,确定所述目标 用户是否处于整体静止状态;Determine whether the target user is in an overall static state based on the first preset condition in combination with the target user's motion feature data;
若所述目标用户处于动作状态,根据所述动作特征数据确定所述目标用户是否处于第一类局部静止状态;If the target user is in an action state, determine whether the target user is in the first type of partial static state according to the action feature data;
若所述目标用户不处于所述第一类局部静止状态,根据所述动作特征数据确定所述目标用户是否处于第二类局部静止状态;If the target user is not in the first type of local stationary state, determine whether the target user is in the second type of local stationary state according to the motion feature data;
若所述目标用户处于动作状态,则根据所述目标用户当前所处的动作状态对所述目标用户的动作特征数据进行抽样,获得作为所述输入数据的抽样特征数据。If the target user is in an action state, the target user's action feature data is sampled according to the target user's current action state to obtain sampling feature data as the input data.
例如,动作特征数据中的人体姿态数据可以作为整个身体是否处于静止状态的判断,若整个身体处于整体上处于静止状态,可能表示目标用户当前处于睡眠状态或者睡眠进入状态。For example, the human body posture data in the motion feature data can be used as a judgment as to whether the entire body is in a stationary state. If the entire body is in a stationary state as a whole, it may indicate that the target user is currently in a sleep state or a sleep enter state.
再例如,根据动作特征数据中各个部分的动作特征数据,整体上判断目标用户是否处于整体静止状态,例如,通过用户的手部动作数据和脚部动作数据整体判断目标用户是否处于整体静止状态,例如,用户手部动作数据表征目标用户的手部动作轻微,且脚部动作数据都表征脚步动作轻微,可认为目标用户处于整体静止状态,否则可认为目标用户处于动作状态。若目标用户处于动作状态,则需要进一步判断目标用户是否是局部动作状态,例如,目标用户可能躺下或坐下了但还在玩手机,则目标用户处于手部动作状态,而非手部静止状态。在本实施例中,还会判断用户是否处于局部静止状态,若目标用户某一个局部处于静止状态,则可能该局部的动作状态数据可以去除,不用作为输入数据;或者,需要作为数据。在本实施例中,第一类局部静止状态和第二类局部静止状态为不同的静止状态,差异可以体现在以下至少之一:For another example, based on the motion feature data of each part in the motion feature data, it is determined whether the target user is in an overall still state as a whole, for example, the user's hand motion data and foot motion data are used to determine whether the target user is in an overall still state. For example, the user's hand movement data indicates that the target user's hand movements are slight, and the foot movement data indicates that the foot movements are slight. The target user may be considered to be in an overall static state, otherwise, the target user may be considered to be in an action state. If the target user is in an action state, it is necessary to further determine whether the target user is in a partial action state. For example, if the target user may lie down or sit down but still play a mobile phone, the target user is in a hand action state, rather than a stationary hand status. In this embodiment, it is also determined whether the user is in a local static state. If a target user is in a local static state, the local action state data may be removed and not used as input data; or, it is required as data. In this embodiment, the first type of local static state and the second type of local static state are different static states, and the difference may be reflected in at least one of the following:
例如,不同类型的局部静止状态,例如,局部平动静止状态和局部转动静止状态;For example, different types of local stationary states, such as local translational stationary states and local rotational stationary states;
再例如,第一局部静止状态所对应的局部大于第二类局部静止状态的所对应的局部。例如,第一局部静止状态所对应的局部可为整个上肢;所述第二类局部静止状态所对应的局部可能为手指。For another example, the part corresponding to the first partial static state is larger than the part corresponding to the second partial static state. For example, the part corresponding to the first partial static state may be the entire upper limb; the part corresponding to the second partial static state may be a finger.
为了减少不必要的数据处理,所述按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据,还包括:In order to reduce unnecessary data processing, according to the dimensionality reduction processing strategy, performing dimensionality reduction processing on the third feature data and environment data to obtain input data of a preset dimension, further including:
若所述目标用户处于整体静止状态,则停止所述目标用户是否处于第一类局部静止状态和所述第二类局部静止状态的确定;If the target user is in the overall static state, the determination of whether the target user is in the first type of partial static state and the second type of partial static state is stopped;
和/或,and / or,
若所述目标用户处于所述第一类局部静止状态,则停止所述目标用户是否处于所述第二类局部静止状态的确定。If the target user is in the first type of local stationary state, the determination of whether the target user is in the second type of local stationary state is stopped.
通过及时的停止不同静止状态的判断,可以减少所需的计算量,提升处理速率。By stopping the judgment of different static states in time, the amount of calculation required can be reduced and the processing rate can be improved.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
获得灯光控制的效果数据,其中,所述效果数据包括:所述目标用户的睡眠效果数据和/或非睡眠活动数据;Obtain lighting control effect data, wherein the effect data includes: the target user's sleep effect data and/or non-sleep activity data;
根据所述效果数据,优化所述规律睡眠模型或非规律睡眠模型。According to the effect data, the regular sleep model or the irregular sleep model is optimized.
在本实施例中,所述规律睡眠模型可以采用规律睡眠模型的规律睡眠数据和规律睡眠效果数据进行训练。In this embodiment, the regular sleep model may be trained using regular sleep data and regular sleep effect data of the regular sleep model.
所述非规律睡眠模型的训练数据可包括:The training data of the irregular sleep model may include:
规律睡眠数据、灯光控制数据及规律睡眠效果数据;Regular sleep data, lighting control data and regular sleep effect data;
非规律睡眠数据、灯光控制数据、及非规律睡眠效果数据。Irregular sleep data, lighting control data, and irregular sleep effect data.
此处的非规律睡眠数据的具体内容可以参见前述实施例,此处就不再展开论述了。The specific content of the irregular sleep data here can be referred to the foregoing embodiment, and will not be discussed here.
在规律睡眠数据、灯光控制数据及规律睡眠效果数据引入到非规律睡眠模型的训练中,如此,可以比照规律睡眠数据、灯光控制数据、及非规 律睡眠效果数据进行模型训练,从而使得非规律睡眠模型在灯光控制参数的精确度上得到进一步提升。控制所述发光设备发光之后,还会采集用户的睡眠效果数据,例如,该睡眠效果数据可以表征受控调整之后的光线对用户的睡眠的促进作用和/或抑制作用,在本实施例中通过效果数据的获得,可以知道当前灯光调整之后的效果。利用效果是否达到预期效果,以及对应的灯光控制参数可以作为规律睡眠模型和非规律睡眠模型进一步优化训练的样本数据,进行所述规律睡眠模型和非规律睡眠模型的深度优化,从而使得该规律睡眠模型和非规律睡眠模型越用就越能够表征目标用户的个人特点,从而能够输出满足该目标用户个性特点的灯光控制参数,来调节灯光;以进一步提升扥光对用户睡眠阶段和/或非睡眠阶段的灯光控制。The regular sleep data, light control data and regular sleep effect data are introduced into the training of irregular sleep models. In this way, the model training can be performed according to the regular sleep data, light control data, and irregular sleep effect data, thereby making irregular sleep The model has further improved the accuracy of lighting control parameters. After controlling the light-emitting device to emit light, the sleep effect data of the user will also be collected, for example, the sleep effect data may represent the promotion and/or inhibition of the light after the controlled adjustment on the user's sleep, which is adopted in this embodiment. Obtain the effect data, you can know the effect after the current light adjustment. Whether the effect achieves the expected effect, and the corresponding light control parameters can be used as regular sleep model and irregular sleep model to further optimize the training sample data, and perform deep optimization of the regular sleep model and irregular sleep model, so that the regular sleep The more the model and the irregular sleep model are used, the more they can characterize the personal characteristics of the target user, so that they can output light control parameters that meet the personal characteristics of the target user to adjust the light; to further improve the sleep stage and/or non-sleep of the user Stage lighting control.
如图3所示,本实施例还提供一种数据处理装置,包括:As shown in FIG. 3, this embodiment also provides a data processing apparatus, including:
第一获取模块110,配置为获取环境数据;The first obtaining module 110 is configured to obtain environmental data;
第二获取模块120,配置为获取目标用户的当前状态数据和特征数据;The second obtaining module 120 is configured to obtain the current state data and characteristic data of the target user;
选择模块130,配置为根据所述当前状态数据,选择规律睡眠模型或非规律睡眠模型作为目标模型;The selection module 130 is configured to select a regular sleep model or an irregular sleep model as the target model according to the current state data;
第三获取模块140,配置为将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数;The third obtaining module 140 is configured to input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters;
控制模块150,配置为利用所述灯光控制参数,控制发光设备的发光,其中,所述控制发光设备的发光包括:控制所述发光设备发射促进所述目标用户睡眠的光线,或,控制所述发光设备发射抑制所述目标用户睡眠的光线。The control module 150 is configured to use the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes sleep of the target user, or, controlling the The light emitting device emits light that suppresses the sleep of the target user.
在一些实施例中,所述第一获取模块110、第二获取模块120、选择模块130、第三获取模块140及控制模块150均可为程序模块,该程序模块被处理器执行后,能够实现前述各种数据的获取,及发光设备的发光控制。In some embodiments, the first acquisition module 110, the second acquisition module 120, the selection module 130, the third acquisition module 140, and the control module 150 may all be program modules, which can be implemented after being executed by the processor Acquisition of the aforementioned various data, and lighting control of the lighting device.
在一些实施例中,所述第一获取模块110、第二获取模块120、选择模 块130、第三获取模块140及控制模块150均可为软硬结合模块,该软硬结合模块可包括:各种可编程阵列,例如,现场可编程阵列或复杂可编程阵列。In some embodiments, the first acquisition module 110, the second acquisition module 120, the selection module 130, the third acquisition module 140, and the control module 150 may all be soft-hard combination modules. The soft-hard combination module may include: A programmable array, for example, a field programmable array or a complex programmable array.
在还有一些实施例中,所述第一获取模块110、第二获取模块120、选择模块130、第三获取模块140及控制模块150均可为纯硬件模块,该纯硬件模块可包括:专用集成电路。In still other embodiments, the first acquisition module 110, the second acquisition module 120, the selection module 130, the third acquisition module 140, and the control module 150 may all be pure hardware modules, and the pure hardware modules may include: dedicated integrated circuit.
在一些实施例中,所述选择模块,配置为执行以下至少之一:若所述当前状态数据表明所述目标用户的当前睡眠状态不符合所述规律睡眠模型所对应的睡眠规律,选择所述非规律睡眠模型为所述目标模型;若所述当前状态数据表明所述目标用户的当前睡眠状态符合所述规律睡眠模型所对应的睡眠规律,选择所述规律睡眠模型为所述目标模型。In some embodiments, the selection module is configured to perform at least one of the following: if the current state data indicates that the current sleep state of the target user does not conform to the sleep rule corresponding to the regular sleep model, select the The irregular sleep model is the target model; if the current state data indicates that the current sleep state of the target user conforms to the sleep rule corresponding to the regular sleep model, the regular sleep model is selected as the target model.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
非规律睡眠数据模块,配置为若所述目标模型为非睡眠规律模型,获取所述目标用户的非规律睡眠数据;An irregular sleep data module configured to obtain irregular sleep data of the target user if the target model is an irregular sleep model;
所述第三获得模块,配置为将所述环境数据、所述特征数据及所述非规律舒睡眠数据输入到所述非规律睡眠模型中,获得所述灯光控制参数。The third obtaining module is configured to input the environment data, the characteristic data and the irregular sleep data into the irregular sleep model to obtain the light control parameter.
在一些实施例中,所述非规律睡眠数据包括以下至少之一:In some embodiments, the irregular sleep data includes at least one of the following:
进入睡眠的睡眠时间偏差数据;Sleep time deviation data into sleep;
目标用户所在时区的时区偏差数据;Time zone deviation data of the target user's time zone;
本次非规律睡眠的持续状态数据;Continuous state data of this irregular sleep;
非规律睡眠的出现频次数据。Data on the frequency of irregular sleep.
在一些实施例中,所述第一获取模块110,配置为执行以下至少之一:In some embodiments, the first obtaining module 110 is configured to perform at least one of the following:
获取当前季节数据;Get current season data;
获取当前目标用户所在空间的光照数据;Obtain the lighting data of the space where the current target user is located;
获取当前目标用户所在空间的温度数据;Obtain the temperature data of the space where the current target user is located;
和/或,and / or,
在一些实施例中,所述第二获取模块120,配置为获取所述用户的静态特征数据;获取所述用户的动态特征数据。In some embodiments, the second obtaining module 120 is configured to obtain the static characteristic data of the user; and obtain the dynamic characteristic data of the user.
在一些实施例中观,所述第二获取模块120,配置为执行以下至少之一:In some embodiments, the second acquisition module 120 is configured to perform at least one of the following:
采集所述目标用户当前的动作特征数据;Collecting current motion feature data of the target user;
采集所述目标用户当前的体征特征数据。Collect the current physical characteristic data of the target user.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第一去噪模块,配置为对所述特征数据进行第一去噪处理,去除预设频率范围以外的第一噪声数据并得到第一特征数据;A first denoising module, configured to perform a first denoising process on the feature data, remove the first noise data outside the preset frequency range and obtain the first feature data;
第二去噪模块,配置为对所述第一特征数据进行相关性分析滤波,去除位于所述预设频率范围内的第二噪声数据并得到第二特征数据;A second denoising module configured to perform correlation analysis filtering on the first feature data, remove second noise data located in the preset frequency range, and obtain second feature data;
解析模块,配置为解析所述第二特征数据获得表征所述目标用户状态的第三特征数据;An analysis module configured to analyze the second characteristic data to obtain third characteristic data characterizing the state of the target user;
所述第三获得模块,配置为将所述第三特征数据及所述环境数据输入到所述目标用户的规律睡眠模型和非规律睡眠模型,得到所述灯光控制参数。The third obtaining module is configured to input the third characteristic data and the environment data to the regular sleep model and irregular sleep model of the target user to obtain the light control parameter.
在一些实施例中,所述解析模块,配置为解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的时域特征数据,其中,所述时域特征数据包括:时域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据;所述目标用户的动作曲线或体征变化曲线的波峰数据和/或波谷数据;In some embodiments, the parsing module is configured to parse the second feature data and extract the time-domain feature data of the target user from the second feature data, where the time-domain feature data includes: Peak data and/or trough data of the characteristic curve corresponding to the second feature data in the time domain; peak data and/or trough data of the target user's action curve or sign change curve;
和/或,解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的频域特征数据;其中,所述频域特征数据包括:频域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据。And/or, parse the second feature data, and extract frequency domain feature data of the target user from the second feature data; wherein, the frequency domain feature data includes: the second feature data location in the frequency domain The peak data and/or trough data of the corresponding characteristic curve.
在一些实施例中,所述第一噪声数据包括:采集设备的抖动频率位于 所述预设频率范围外的抖动数据、电磁频率位于所述预设频率范围外的电磁干扰数据及电磁频率位于所述预设范围外的磁场噪声;和/或,所述第二噪声数据包括:采集设备的抖动频率位于所述预设频率范围内的抖动数据。In some embodiments, the first noise data includes: jitter data with a jitter frequency of the acquisition device outside the preset frequency range, electromagnetic interference data with an electromagnetic frequency outside the preset frequency range, and electromagnetic frequency Magnetic field noise outside the preset range; and/or, the second noise data includes: jitter data of a jitter frequency of the acquisition device within the preset frequency range.
在还有一些实施例中,所述第三获取模块140,配置为按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据;将预设维度的输入数据输入到所述规律睡眠模型和非规律睡眠模型,得到所述灯光控制参数。In still other embodiments, the third acquiring module 140 is configured to perform dimension reduction processing on the third feature data and environment data according to a dimension reduction processing strategy to obtain input data of a preset dimension; Input data to the regular sleep model and the irregular sleep model to obtain the light control parameters.
在一些实施例中,所述第三获取模块140,配置为基于第一预设条件结合所述目标用户的动作特征数据,确定所述目标用户是否处于整体静止状态;若所述目标用户处于动作状态,根据所述动作特征数据确定所述目标用户是否处于第一类局部静止状态;若所述目标用户不处于所述第一类局部静止状态,根据所述动作特征数据确定所述目标用户是否处于第二类局部静止状态;若所述目标用户处于动作状态,则根据所述目标用户当前所处的动作状态对所述目标用户的动作特征数据进行抽样,获得作为所述输入数据的抽样特征数据。In some embodiments, the third acquiring module 140 is configured to determine whether the target user is in an overall still state based on the first preset condition and the action characteristic data of the target user; if the target user is in action State, determine whether the target user is in the first type of local static state according to the action feature data; if the target user is not in the first type of local static state, determine whether the target user is based on the action feature data In the second type of local static state; if the target user is in an action state, the target user's action feature data is sampled according to the target user's current action state to obtain the sampling feature as the input data data.
在一些实施例中,所述第三获取模块140,配置为若所述目标用户处于整体静止状态,则停止所述目标用户是否处于第一类局部静止状态和所述第二类局部静止状态的确定;和/或,若所述目标用户处于所述第一类局部静止状态,则停止所述目标用户是否处于所述第二类局部静止状态的确定。In some embodiments, the third acquiring module 140 is configured to stop whether the target user is in the first type of partial static state and the second type of partial static state if the target user is in the overall static state Determination; and/or, if the target user is in the first type of local stationary state, stop determining whether the target user is in the second type of local stationary state.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第四获得模块,配置为在所述利用所述灯光控制参数,控制发光设备的发光之后,获得灯光控制的效果数据,其中,所述效果数据包括:所述目标用户的睡眠效果数据和/或睡眠活动数据;The fourth obtaining module is configured to obtain the effect data of the light control after the use of the light control parameter to control the light emission of the light emitting device, wherein the effect data includes: the sleep effect data of the target user and/or Sleep activity data;
优化模块,用于根据所述效果数据,优化所述规律睡眠模型和非规律睡眠模型。The optimization module is used to optimize the regular sleep model and the irregular sleep model according to the effect data.
以下结合上述任意实施例提供几个具体示例:The following provides some specific examples in combination with any of the above embodiments:
示例1:Example 1:
本公开通过智能手环采集使用者的动作、心率,通过智能投影手机或网关等智能设备进行色彩光线调节投影,自适应改善学习、工作的环境。结合不同波长光线、季节、个人体征情况,通过整体人群中对应画像模型预测每个人最适合的色彩睡眠调节模型,根据引起手环检测的心率和动作变化建立的个体睡眠效果评价模型,进行有监督的学习,从而建立最适合个体的色彩睡眠调节的规律睡眠模型或非规律睡眠模型,根据遗传算法不断修正。同时促进睡眠的相反方向是抑制睡眠,使得该清醒的状态抑制睡眠。The present disclosure collects the user's movements and heart rate through a smart bracelet, performs color light adjustment projection through a smart projection mobile phone or gateway and other smart devices, and adaptively improves the learning and working environment. Combined with different wavelengths of light, seasons, and personal signs, the corresponding portrait model in the overall crowd is used to predict the most suitable color sleep adjustment model for each person, and the individual sleep effect evaluation model based on the heart rate and movement changes caused by the bracelet detection is supervised. Learning, so as to establish a regular sleep model or an irregular sleep model that is most suitable for the individual's color sleep adjustment, and it is continuously revised according to the genetic algorithm. The opposite direction of promoting sleep at the same time is to suppress sleep, so that this awake state suppresses sleep.
在一些实施例中,获得一级标签的测试样本,将所述测试样本导入至所述需求模型中,根据所述需求模型的输出结果得到所述需求模型的准确率;此处的需求模型可包括前述的规律睡眠模型和非规律睡眠模型。In some embodiments, a test sample of a first-level label is obtained, the test sample is imported into the demand model, and the accuracy rate of the demand model is obtained according to the output result of the demand model; the demand model here may be Including the aforementioned regular sleep model and irregular sleep model.
在所述准确率不满足预设准确率要求时,根据所述需求模型的准确率对所述训练样本中各所述影响因子的影响权重以及对所述训练样本进行修改;When the accuracy rate does not meet the requirement of the preset accuracy rate, according to the accuracy rate of the demand model, the influence weight of each of the influence factors in the training sample and the modification of the training sample are modified;
利用修改后的训练样本对所述需求模型进行训练,直至得到的需求模型的准确率满足所述预设准确率要求为止。The modified training sample is used to train the demand model until the accuracy rate of the obtained demand model meets the preset accuracy rate requirement.
在一些实施例中,所述从数据库的多个通用模型中获得与一级标签匹配的通用模型的步骤,包括:In some embodiments, the step of obtaining a general model matching a first-level tag from a plurality of general models in a database includes:
根据一级标签的人群类型从所述数据库的多个通用模型中查找到与所述一级标签的人群类型匹配的通用模型;Find a general model matching the crowd type of the first-level tag from the multiple general models of the database according to the crowd type of the first-level tag;
根据所述一级标签中的下一级标签构成情况从查找到的通用模型中选择出与所述一级标签的下一级标签构成情况一致的通用模型。A general model consistent with the configuration of the next-level tag of the first-level tag is selected from the found general models according to the configuration of the next-level tag in the first-level tag.
在一些实施例中,各所述影响因子包括多个特征,所述对所述训练样 本进行预处理的步骤,包括:In some embodiments, each of the impact factors includes multiple features, and the step of preprocessing the training sample includes:
检测所述训练样本中的所述多个影响因子的综合输出幅值是否处于预设范围内;Detecting whether the integrated output amplitude of the multiple influence factors in the training sample is within a preset range;
若未处于所述预设范围内,则分别计算各所述影响因子相对于所述通用模型中的影响因子的综合输出幅值的方差值;If it is not within the preset range, then calculate the variance values of the comprehensive output amplitude of each of the impact factors relative to the impact factors in the general model;
检测各所述影响因子对应的方差值是否大于预设阈值,若大于所述预设阈值,则从所述多个影响因子中随机抽取预设数量的影响因子,对抽取出的影响因子中的各所述影响因子的特征进行归一化处理以简化各所述影响因子的数据量。Detecting whether the variance value corresponding to each of the impact factors is greater than a preset threshold, and if it is greater than the preset threshold, a preset number of impact factors are randomly selected from the multiple impact factors, and among the extracted impact factors The characteristics of each of the impact factors are normalized to simplify the data volume of each of the impact factors.
在一些实施例中,所述通用模型基于神经网络所构建,所述神经网络包括输入层、输出层及隐含层,所述输入层、输出层及隐含层分别包括多个神经元,所述输入层、输出层及隐含层之间的神经元具有连接权重值,所述将预处理后的训练样本导入至所述通用模型对所述通用模型进行训练的步骤,包括:In some embodiments, the general model is constructed based on a neural network. The neural network includes an input layer, an output layer, and a hidden layer. The input layer, the output layer, and the hidden layer include multiple neurons, respectively. The neurons between the input layer, the output layer and the hidden layer have connection weight values, and the step of importing the pre-processed training samples into the general model to train the general model includes:
将预处理后的训练样本导入至所述神经网络的输入层,经过所述隐含层的训练后,从所述输出层输出;Import the pre-processed training samples to the input layer of the neural network, and after the training of the hidden layer, output from the output layer;
检测所述输出层输出的结果是否达到预期结果,若未达到预期结果,则根据所述输出的结果和所述预期结果得到误差信号,并进入反向传播阶段;Detecting whether the output result of the output layer reaches the expected result, and if the expected result is not reached, an error signal is obtained according to the output result and the expected result, and enters the back propagation stage;
将所述误差信号作为反向传播阶段的输入信号以从所述输出层向所述输入层反向回传,在反向回传的过程中,修正所述输入层、输出层和隐含层之间的神经元的连接权重值以逐渐减少最终输出的误差信号。Use the error signal as the input signal in the backward propagation stage to reversely return from the output layer to the input layer, and in the process of reverse return, correct the input layer, output layer, and hidden layer The weight value of the connection between neurons is to gradually reduce the final output error signal.
在一些实施例中,所述在反向回传的过程中,修正所述输入层、输出层和隐含层之间的神经元的连接权重值以逐渐减少最终输出的误差信号的步骤,包括:In some embodiments, the step of modifying the connection weight value of the neurons between the input layer, the output layer, and the hidden layer during the reverse return process to gradually reduce the final output error signal includes: :
在反向回传的过程中,利用如下公式修改所述输入层、输出层和隐含层之间的神经元的连接权重值以逐渐减少最终输出的误差信号:In the process of reverse transmission, the following formula is used to modify the connection weight values of the neurons between the input layer, the output layer and the hidden layer to gradually reduce the final output error signal:
Figure PCTCN2019130837-appb-000001
Figure PCTCN2019130837-appb-000001
其中,W ij表示输入层第i个神经元到隐含层第j个升级之间的连接权重值,X P表示第P个训练样本在输入层的第i个输入值,
Figure PCTCN2019130837-appb-000002
表示隐含层第j个神经元的阈值。
Among them, W ij represents the connection weight value between the i-th neuron of the input layer to the j-th upgrade of the hidden layer, and X P represents the i-th input value of the P-th training sample in the input layer,
Figure PCTCN2019130837-appb-000002
Represents the threshold of the jth neuron in the hidden layer.
在一些实施例中,所述根据所述需求模型的准确率对所述训练样本中各所述影响因子的影响权重以及对所述训练样本进行修改的步骤,包括:In some embodiments, the step of modifying the influence weight of each influence factor in the training sample and modifying the training sample according to the accuracy rate of the demand model includes:
将当前得到的需求模型的准确率与历史次数中所得到的需求模型的准确率进行比对;Compare the accuracy rate of the current demand model with the accuracy rate of the demand model obtained in the historical times;
若当前得到的需求模型的准确率高于历史次数中得到的一半以上的需求模型的准确率,则保留当前的训练样本,并对各所述影响因子的影响权重进行修改;If the accuracy rate of the current demand model is higher than the accuracy rate of more than half of the demand model obtained in the history, the current training sample is retained, and the impact weight of each of the impact factors is modified;
若当前得到的需求模型的准确率低于历史次数中得到的一半以上的需求模型的准确率,则将所述训练样本中的部分训练样本删除,并添加新的训练样本。If the accuracy rate of the currently obtained demand model is lower than the accuracy rate of more than half of the demand model obtained in the historical times, part of the training samples in the training samples are deleted, and new training samples are added.
在一些实施例中,所述根据所述需求模型的准确率对所述训练样本中各所述影响因子的影响权重以及对所述训练样本进行修改的步骤之后,所述方法还包括:In some embodiments, after the step of modifying the influence weight of each influence factor in the training sample and modifying the training sample according to the accuracy rate of the demand model, the method further includes:
建立适应度函数以评估修改后的训练样本中各所述训练样本的适应度值,利用遗传算法的选择机制选择出适应度值最高的训练样本;Establish an fitness function to evaluate the fitness value of each of the training samples in the modified training samples, and use the selection mechanism of the genetic algorithm to select the training sample with the highest fitness value;
利用遗传算法的交叉机制从多个训练样本中随机选择任意两个训练样本进行交叉,以得到下一代的训练样本;Use the cross mechanism of genetic algorithm to randomly select any two training samples from multiple training samples to cross to obtain the next generation of training samples;
利用所述适应度函数计算出所述下一代的训练样本中适应度值最高的 训练样本;Using the fitness function to calculate the training sample with the highest fitness value among the next-generation training samples;
检测所述下一代的训练样本的适应度值是否低于上一代的训练样本的适应度值,若低于,则利用遗传算法的变异机制引入变异因子以对所述下一代的训练样本进行变异操作,再计算变异操作后的训练样本的适应度值;Detecting whether the fitness value of the next generation of training samples is lower than the fitness value of the previous generation of training samples, and if it is lower, a mutation factor is introduced using the mutation mechanism of the genetic algorithm to mutate the next generation of training samples Operation, and then calculate the fitness value of the training sample after the mutation operation;
根据训练样本的适应度值对训练样本进行再次修改。Modify the training sample again according to the fitness value of the training sample.
在一些实施例中,所述利用修改后的训练样本对所述需求模型进行训练,直至得到的需求模型的准确率满足所述预设准确率要求为止的步骤之后,所述方法还包括:In some embodiments, after the step of training the demand model using the modified training samples until the accuracy rate of the obtained demand model meets the preset accuracy rate requirement, the method further includes:
接收当前输入的待测信息,所述待测信息携带有多个不同的影响因子,各所述影响因子携带有对应的影响权重;Receiving currently input information to be tested, the information to be tested carries a plurality of different influence factors, and each of the influence factors carries corresponding influence weights;
将所述待测信息导入至所述需求模型进行预测,以得到预测结果;Import the information to be tested into the demand model for prediction to obtain a prediction result;
接收用户输入的对所述需求模型的预测结果的反馈信息;Receiving feedback information on the prediction result of the demand model input by the user;
根据所述反馈信息对所述需求模型的模型参数进行调整。Adjust the model parameters of the demand model according to the feedback information.
在一些实施例中,所述直至得到的需求模型的准确率满足预设要求为止的步骤之后,所述方法还包括:In some embodiments, after the step until the accuracy rate of the obtained demand model meets the preset requirements, the method further includes:
将得到的满足预设准确率要求的需求模型存入所述数据库中,以对所述数据库中的数据进行更新。Storing the obtained demand model that meets the requirements of the preset accuracy rate in the database to update the data in the database.
本公开实施例还提供一种数据处理装置,该数据处理装置包括:An embodiment of the present disclosure also provides a data processing apparatus. The data processing apparatus includes:
通用模型获取模块,用于从数据库的多个通用模型中获得与一级标签匹配的通用模型;The general model acquisition module is used to obtain a general model matching a first-level tag from multiple general models in the database;
训练样本获取模块,用于获得一级标签的训练样本,所述训练样本携带多个不同的影响因子,各所述影响因子携带有对应的影响权重,所述训练样本包括所述一级标签的员工特性及医疗资源调配信息;The training sample acquisition module is used to obtain a training sample of a first-level label, the training sample carries a plurality of different influence factors, each of the influence factors carries a corresponding influence weight, and the training sample includes the Staff characteristics and medical resource deployment information;
需求模型获得模块,用于对所述训练样本进行预处理,将预处理后的训练样本导入至所述通用模型对所述通用模型进行训练,以得到所述一级 标签对应的需求模型;A demand model obtaining module, which is used to preprocess the training samples, import the preprocessed training samples into the general model, and train the general model to obtain the demand model corresponding to the first-level label;
准确率获得模块,用于获得一级标签的测试样本,将所述测试样本导入至所述需求模型中,根据所述需求模型的输出结果得到所述需求模型的准确率;An accuracy rate obtaining module, used to obtain test samples of first-level tags, import the test samples into the demand model, and obtain the accuracy rate of the demand model according to the output result of the demand model;
修改模块,用于在所述准确率不满足预设准确率要求时,根据所述需求模型的准确率对所述训练样本中各所述影响因子的影响权重以及对所述训练样本进行修改;A modification module, configured to modify the influence weight of each influence factor in the training sample and modify the training sample according to the accuracy rate of the demand model when the accuracy rate does not meet the preset accuracy rate requirement;
训练模块,用于利用修改后的训练样本对所述需求模型进行训练,直至得到的需求模型的准确率满足所述预设准确率要求为止。The training module is used for training the demand model using the modified training samples until the accuracy rate of the obtained demand model meets the preset accuracy rate requirement.
使用通过有监督分类算法,以环境数据作为输入层,以个体睡眠质量评分作为输出层。通过与上一次环境数据输入形成的模型(历史最佳环境数据)作为对比,个体评价质量好坏作为训练监督因子,更好为1,更差为0。A supervised classification algorithm is used, with environmental data as the input layer and individual sleep quality score as the output layer. By comparison with the model (historical best environmental data) formed by the last environmental data input, the quality of individual evaluation is used as a training supervision factor, preferably 1 and worse 0.
工作信号的正向传播,在此期间,网络各神经元的权值和阀值保持不变,每一层神经元只影响下一层神经元的输入和状态,如果在输出端没有得到期望的输出值,网络即转入误差信号的反向传播过程。误差信号的反向传播,误差信号由输出端开始逐层回传,在此传播过程中,网络各神经元的权值和阀值由误差反馈按照一定的规则得以调整。以上两个阶段交替循环进行,每完成一次,用遗传算法进行修正。The forward propagation of the working signal. During this period, the weights and thresholds of the neurons in the network remain unchanged. Each layer of neurons only affects the input and state of the next layer of neurons. If the desired output is not obtained at the output The output value, the network is transferred to the back propagation process of the error signal. The back propagation of the error signal, the error signal starts to be transmitted back layer by layer from the output end. In this propagation process, the weights and thresholds of the neurons of the network are adjusted by error feedback according to certain rules. The above two stages are carried out alternately and cyclically, and each time it is completed, it is corrected by genetic algorithm.
同时个体作为整体人群中,对应群体画像人群的一个新输入因子,用SVM遗传修正整体人群对应画像人群环境模型,其对应人群的睡眠环境用户画像不断清晰细化。SVM分类器适应度函数f(x i)=min(1-g(x i)),
Figure PCTCN2019130837-appb-000003
为SVM分类器对样本划分正确率,随着样本量的增加,如果正确率高于历史最佳模型,则该模型取代原有最佳模型,从而随着样本量的增加模型自适应不断优化完善。
At the same time, the individual as a new input factor of the corresponding group portrait population in the overall population, SVM genetic modification of the overall population corresponding portrait crowd environment model, the corresponding sleeping environment user portraits are constantly clear and refined. SVM classifier fitness function f(x i )=min(1-g(x i )),
Figure PCTCN2019130837-appb-000003
Divide the correct rate of the samples for the SVM classifier. As the sample size increases, if the correct rate is higher than the historical best model, the model replaces the original best model, so as the sample size increases, the model is continuously optimized and perfected. .
模型的自适应完善,可包括:随着样本量的增加,SVM分类器能够自适应不断优化完善。The adaptive improvement of the model may include: With the increase of the sample size, the SVM classifier can continuously optimize and improve the adaptive.
SVM分类器适应度函数f(x i)=min(1-g(x i)),
Figure PCTCN2019130837-appb-000004
为SVM分类器对样本划分正确率包括:
SVM classifier fitness function f(x i )=min(1-g(x i )),
Figure PCTCN2019130837-appb-000004
The accuracy of dividing samples for SVM classifier includes:
进行3D建模;3D modeling;
设定边界条件;Set the boundary conditions;
非定常计算;Unsteady calculation;
判断边界条件改变?Judging the change of boundary conditions?
若否,判断结果为定常?若否,设定照相机的角度及行进路径及渲染效果;若是,返回非定常计算;If not, the judgment result is steady? If not, set the camera angle, travel path and rendering effect; if yes, return to unsteady calculation;
若是,返回设定边界条件。If yes, return to setting boundary conditions.
此处的边界条件为SVM分类器的分类的边界。The boundary condition here is the classification boundary of the SVM classifier.
助眠灯适当的光照(N1浅睡眠阶段(1200-7000Lux、自动觉醒前N4、REM阶段接受2500-10000lux),会增加机体内褪黑激素的生成,褪黑激素(具有昼夜节律,午夜分泌达高峰)有助于加深睡眠的深度(REM和N4的比重),改变睡眠-觉醒节律,调节生理时钟,调节睡眠质量。Appropriate illumination of the sleep aid lamp (N1 light sleep stage (1200-7000Lux, N4 before auto-awakening, REM 2500-10000lux) will increase the production of melatonin in the body, melatonin (with circadian rhythm, midnight secretion up to Peak) helps to deepen the depth of sleep (the proportion of REM and N4), change the sleep-wake rhythm, adjust the physiological clock, and adjust the quality of sleep.
遗传学的研究表明非视觉效应在480~485nm为最大,可见光不同波长的敏感度也不一致,它对黄绿光的灵敏度最高,而对红光和蓝光、紫光的敏感度则很低。红、绿、蓝3种色光分别在1000lx的照射下,对褪黑色激素的抑制率,红光很小,绿光最大,蓝光稍低,光的照射会明显增加心率,波长越短越显著,年轻人比老年人明显。人类在波长在480~485nm之间的光线最为敏感,不同人不同,受到人眼视网膜中央黄斑区黄色素影响,随着年龄的增加,视觉晶体变黄,会造成个体差异。Genetic research shows that the non-visual effect is the largest at 480-485nm, and the sensitivity of different wavelengths of visible light is also inconsistent. It has the highest sensitivity to yellow-green light, but very low sensitivity to red, blue, and purple light. The three kinds of red, green and blue light under 1000lx irradiation, the inhibition rate of melatonin, red light is very small, green light is the largest, blue light is slightly lower, the light irradiation will significantly increase the heart rate, the shorter the wavelength, the more significant, Young people are more obvious than old people. Humans are most sensitive to light between 480 and 485 nm. Different people are different, affected by the yellow pigment in the central macula area of the human eye's retina. With age, the visual crystals turn yellow, which can cause individual differences.
不同年龄、睡眠体质的人进入各睡眠阶段的时间可能不同、对光线 的敏感程度也不同,仅根据一般人群进入各睡眠阶段的时间、设置每个人一样的助眠光照调节机制。可能反而影响睡眠,如老人睡眠浅,24:00还未进入浅睡,可能反而睡眠受到影响。People of different ages and sleep physiques may enter different sleep stages at different times and have different levels of sensitivity to light. Only according to the time when the general population enters each sleep stage, the same sleep-assisted light adjustment mechanism is set for everyone. It may affect sleep on the contrary, for example, the old man sleeps lightly, and has not entered light sleep at 24:00, but may be affected.
示例2:Example 2:
如图4所示,本示例提供一种睡眠调节的数据处理方法,尤其是针对非规律睡眠的睡眠调节,具体包括:As shown in FIG. 4, this example provides a data processing method for sleep adjustment, especially sleep adjustment for irregular sleep, specifically including:
检测目标用户的当前状态数据;Detect the current status data of the target user;
根据所述当前状态数据判断当前用户的睡眠是否为规律睡眠;Determine whether the current user's sleep is regular sleep according to the current state data;
若是,则利用规律睡眠模型结合采集的环境数据和目标用户的特征数据进行灯光控制;If it is, then use regular sleep model combined with the collected environmental data and target user's characteristic data to control the light;
若否,则利用非规律睡眠模型结合采集的环境参数、特征数据及当前状态数据进行灯光控制。If not, the irregular sleep model is used to combine the collected environmental parameters, characteristic data and current state data for lighting control.
进一步地,如图5所示,本示例提供的数据处理方法在针对非规律睡眠进行调节时可包括如下步骤:Further, as shown in FIG. 5, the data processing method provided in this example may include the following steps when adjusting for irregular sleep:
根据所述当前状态数据,确定目标用户是否处于睡眠缺少状态;According to the current state data, determine whether the target user is in a state of lack of sleep;
若否,控制发光设备发射抑制睡眠的灯光;If not, control the light emitting device to emit light that inhibits sleep;
若是,根据所述目标用户所在位置确定目标用户当前所在时区是否处于睡眠时间范围内;睡眠时间范围内可为目标用户一天内规律睡眠的失眠时间范围;If yes, determine whether the current time zone of the target user is within the sleep time range according to the location of the target user; the sleep time range may be the insomnia time range of regular sleep of the target user throughout the day;
若是,控制发光设备发射促进睡眠的灯光;If so, control the light emitting device to emit lights that promote sleep;
若否,确定睡眠缺少的缺觉等级是否大于预定等级;If not, determine whether the level of sleeplessness is greater than the predetermined level;
若大于预定等级,控制发光设备在预定时长内发射促进睡眠的灯光,并在发射促进睡眠的灯光等于所述预定时长后,控制发光设备发射抑制睡眠的灯光;If it is greater than the predetermined level, the light-emitting device is controlled to emit light that promotes sleep within a predetermined time, and after the light that emits sleep is equal to the predetermined time, the light-emitting device is controlled to emit light to suppress sleep;
若不大于预定等级,控制发光设备发射抑制睡眠的灯光。If it is not greater than the predetermined level, the light emitting device is controlled to emit a light that suppresses sleep.
确定目标用户睡眠缺少的缺觉等级大于预定等级,可以根据目标用户连续未睡觉的时长是否达到预定等级所对应的时长;或者,目标用户的当前状态表征其缺少睡眠的体征状态不良于所述预定等级对应的体征状态等。总之,确定所述目标用户睡眠缺少的缺觉等级是否大于预定等级的方式有很多种,具体不限于上述任意一种。如图6所示,本实施例提供一种电子设备,包括:Determine that the level of lack of sleep of the target user is greater than the predetermined level, according to whether the duration of the target user's continuous non-sleep has reached the length corresponding to the predetermined level; or, the current state of the target user is characterized by the lack of sleep. The sign status corresponding to the level. In short, there are many ways to determine whether the target user's lack of sleep level is greater than a predetermined level, which is not limited to any of the above. As shown in FIG. 6, this embodiment provides an electronic device, including:
存储器,用于信息存储;Memory, used for information storage;
处理器,与所述存储器连接,用于通过执行所述存储器存储的计算机可执行指令,实现前述一个或多个技术方案提供的方法,例如,图1、图2、图4、图及图5所示方法中的一个或多个。在一些实施例中,所述电子设备还包括:通信接口和/或人机交互接口,所述通信接口可包括:收发天线和/或网络接口,可以用于与其他电子设备进行信息交互。所述人机交互接口可用于与人进行交互,该人机交互接口可包括:实体按键和/或触控屏。A processor, connected to the memory, for implementing the method provided by one or more of the foregoing technical solutions by executing computer-executable instructions stored in the memory, for example, FIG. 1, FIG. 2, FIG. 4, FIG. 5, and FIG. 5 One or more of the methods shown. In some embodiments, the electronic device further includes: a communication interface and/or a human-machine interaction interface. The communication interface may include: a transceiver antenna and/or a network interface, which may be used for information interaction with other electronic devices. The human-computer interaction interface may be used to interact with humans, and the human-computer interaction interface may include: physical buttons and/or touch screens.
本实施例提供一种计算机存储介质,所述计算机存储介质用于存储计算机可执行指令;所述计算机可执行指令被处理器执行后,能够实现前述一个或多个技术方案提供的方法,例如,图1、图2、图4及图5所示方法中的一个或多个。This embodiment provides a computer storage medium for storing computer-executable instructions; after the computer-executable instructions are executed by a processor, the method provided by one or more of the foregoing technical solutions can be implemented, for example, One or more of the methods shown in FIGS. 1, 2, 4, and 5.
在本公开所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present disclosure, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a division of logical functions. In actual implementation, there may be other divisions, for example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling or direct coupling or communication connection between the displayed or discussed components may be through some interfaces, and the indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the embodiments of the present disclosure may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art may understand that all or part of the steps to implement the above method embodiments may be completed by program instructions related hardware. The foregoing program may be stored in a computer-readable storage medium, and when the program is executed, Including the steps of the above method embodiments; and the aforementioned storage media include: mobile storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. A medium that can store program codes.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the scope of protection of the present disclosure is not limited to this, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present disclosure. It should be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (16)

  1. 一种数据处理方法,其中,包括:A data processing method, including:
    获取环境数据;Obtain environmental data;
    获取目标用户的当前状态数据和特征数据;Obtain the current status data and characteristic data of the target user;
    根据所述当前状态数据,选择规律睡眠模型或非规律睡眠模型作为目标模型;According to the current state data, select a regular sleep model or an irregular sleep model as the target model;
    将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数;Input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters;
    利用所述灯光控制参数,控制发光设备的发光,其中,所述控制发光设备的发光包括:控制所述发光设备发射促进所述目标用户睡眠的光线,或,控制所述发光设备发射抑制所述目标用户睡眠的光线。Using the light control parameters to control the light emission of the light-emitting device, wherein controlling the light emission of the light-emitting device includes: controlling the light-emitting device to emit light that promotes the sleep of the target user, or controlling the light-emitting device to suppress the emission The light that the target user sleeps.
  2. 根据权利要求1所述的方法,其中,所述根据所述目标用户的当前睡眠状态选择规律睡眠模型或非规律睡眠模型作为目标模型,包括以下至少之一:The method according to claim 1, wherein the selecting a regular sleep model or an irregular sleep model as the target model according to the current sleep state of the target user includes at least one of the following:
    若所述当前状态数据表明所述目标用户的当前睡眠状态不符合所述规律睡眠模型所对应的睡眠规律,选择所述非规律睡眠模型为所述目标模型;If the current state data indicates that the current sleep state of the target user does not conform to the sleep rule corresponding to the regular sleep model, the irregular sleep model is selected as the target model;
    若所述当前状态数据表明所述目标用户的当前睡眠状态符合所述规律睡眠模型所对应的睡眠规律,选择所述规律睡眠模型为所述目标模型。If the current state data indicates that the current sleep state of the target user conforms to the sleep rule corresponding to the regular sleep model, the regular sleep model is selected as the target model.
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    若所述目标模型为非睡眠规律模型,获取所述目标用户的非规律睡眠数据;If the target model is a non-sleep regular model, acquire irregular sleep data of the target user;
    所述将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数,包括:The inputting the environmental data and the characteristic data into the selected target model to obtain the lighting control parameters includes:
    将所述环境数据、所述特征数据及所述非规律舒睡眠数据输入到所述 非规律睡眠模型中,获得所述灯光控制参数。The environmental data, the characteristic data and the irregular sleep data are input into the irregular sleep model to obtain the lighting control parameters.
  4. 根据权利要求3所述的方法,其中,所述非规律睡眠数据包括以下至少之一:The method of claim 3, wherein the irregular sleep data includes at least one of the following:
    进入睡眠的睡眠时间偏差数据;Sleep time deviation data into sleep;
    目标用户所在时区的时区偏差数据;Time zone deviation data of the target user's time zone;
    本次非规律睡眠的持续状态数据;Continuous state data of this irregular sleep;
    非规律睡眠的出现频次数据。Data on the frequency of irregular sleep.
  5. 根据权利要求1所述的方法,其中,The method according to claim 1, wherein
    所述获取环境数据包括以下至少之一:The acquiring environment data includes at least one of the following:
    获取当前季节数据;Get current season data;
    获取当前目标用户所在空间的光照数据;Obtain the lighting data of the space where the current target user is located;
    获取当前目标用户所在空间的温度数据;Obtain the temperature data of the space where the current target user is located;
    和/或,and / or,
    所述获取目标用户的特征数据,包括:The acquiring characteristic data of the target user includes:
    获取所述用户的静态特征数据;Obtaining the static characteristic data of the user;
    获取所述用户的动态特征数据。Obtain the dynamic feature data of the user.
  6. 根据权利要求5所述的方法,其中,所述获取所述用户的动态特征数据,包括以下至少之一:The method according to claim 5, wherein the acquiring dynamic characteristic data of the user includes at least one of the following:
    采集所述目标用户当前的动作特征数据;Collecting current motion feature data of the target user;
    采集所述目标用户当前的体征特征数据。Collect the current physical characteristic data of the target user.
  7. 根据权利要求1或2所述的方法,其中,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    对所述特征数据进行第一去噪处理,去除预设频率范围以外的第一噪声数据并得到第一特征数据;Performing a first denoising process on the feature data, removing the first noise data outside the preset frequency range and obtaining the first feature data;
    对所述第一特征数据进行相关性分析滤波,去除位于所述预设频率范围内的第二噪声数据并得到第二特征数据;Performing correlation analysis filtering on the first feature data to remove second noise data located in the preset frequency range and obtain second feature data;
    解析所述第二特征数据获得表征所述目标用户状态的第三特征数据;Parsing the second characteristic data to obtain third characteristic data characterizing the state of the target user;
    所述将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数,包括:The inputting the environmental data and the characteristic data into the selected target model to obtain the lighting control parameters includes:
    将所述第三特征数据及所述环境数据输入到所述目标用户的目标模型,得到所述灯光控制参数。The third characteristic data and the environment data are input to the target model of the target user to obtain the lighting control parameter.
  8. 根据权利要求7所述的方法,其中,所述解析所述第二特征数据获得表征所述目标用户状态的第三特征数据,包括:The method according to claim 7, wherein the parsing the second feature data to obtain third feature data characterizing the target user state includes:
    解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的时域特征数据,其中,所述时域特征数据包括:时域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据;Parsing the second feature data, and extracting time-domain feature data of the target user from the second feature data, wherein the time-domain feature data includes: a characteristic curve corresponding to the second feature data in the time domain Peak data and/or trough data;
    所述目标用户的动作曲线或体征变化曲线的波峰数据和/或波谷数据;Peak data and/or trough data of the target user's action curve or sign change curve;
    和/或,and / or,
    解析所述第二特征数据,从所述第二特征数据提取出所述目标用户的频域特征数据;其中,所述频域特征数据包括:频域内所述第二特征数据所对应的特征曲线的波峰数据和/或波谷数据。Parsing the second feature data, extracting the frequency domain feature data of the target user from the second feature data; wherein, the frequency domain feature data includes: a characteristic curve corresponding to the second feature data in the frequency domain Peak data and/or trough data.
  9. 根据权利要求7所述的方法,其中,The method according to claim 7, wherein
    所述第一噪声数据包括:采集设备的抖动频率位于所述预设频率范围外的抖动数据、电磁频率位于所述预设频率范围外的电磁干扰数据及电磁频率位于所述预设范围外的磁场噪声;The first noise data includes: jitter data of the acquisition device whose jitter frequency is outside the preset frequency range, electromagnetic interference data whose electromagnetic frequency is outside the preset frequency range, and electromagnetic frequency data outside the preset frequency range Magnetic field noise
    和/或,and / or,
    所述第二噪声数据包括:采集设备的抖动频率位于所述预设频率范围内的抖动数据。The second noise data includes: jitter data whose jitter frequency of the acquisition device is within the preset frequency range.
  10. 根据权利要求7所述的方法,其中,所述将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数,包括:The method according to claim 7, wherein the inputting the environmental data and the characteristic data into the selected target model to obtain the light control parameters includes:
    按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得 到预设维度的输入数据;According to the dimensionality reduction processing strategy, performing dimensionality reduction processing on the third feature data and the environmental data to obtain input data of a preset dimension;
    将预设维度的输入数据输入到所述目标模型,得到所述灯光控制参数。Inputting input data of a preset dimension into the target model to obtain the lighting control parameter.
  11. 根据权利要求10所述的方法,其中,所述按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据,包括:The method according to claim 10, wherein the performing dimension reduction processing on the third feature data and environment data according to the dimension reduction processing strategy to obtain input data of a preset dimension includes:
    基于第一预设条件结合所述目标用户的动作特征数据,确定所述目标用户是否处于整体静止状态;Determine whether the target user is in an overall static state based on the first preset condition and the motion feature data of the target user;
    若所述目标用户处于动作状态,根据所述动作特征数据确定所述目标用户是否处于第一类局部静止状态;If the target user is in an action state, determine whether the target user is in the first type of partial static state according to the action feature data;
    若所述目标用户不处于所述第一类局部静止状态,根据所述动作特征数据确定所述目标用户是否处于第二类局部静止状态;If the target user is not in the first type of local stationary state, determine whether the target user is in the second type of local stationary state according to the motion feature data;
    若所述目标用户处于动作状态,则根据所述目标用户当前所处的动作状态对所述目标用户的动作特征数据进行抽样,获得作为所述输入数据的抽样特征数据。If the target user is in an action state, the target user's action feature data is sampled according to the target user's current action state to obtain sampling feature data as the input data.
  12. 根据权利要求11所述的方法,其中,所述按照降维处理策略,对所述第三特征数据及环境数据进行降维处理得到预设维度的输入数据,还包括:The method according to claim 11, wherein said performing dimension reduction processing on said third feature data and environment data according to a dimension reduction processing strategy to obtain input data of a preset dimension, further comprising:
    若所述目标用户处于整体静止状态,则停止所述目标用户是否处于第一类局部静止状态和所述第二类局部静止状态的确定;If the target user is in the overall static state, the determination of whether the target user is in the first type of partial static state and the second type of partial static state is stopped;
    和/或,and / or,
    若所述目标用户处于所述第一类局部静止状态,则停止所述目标用户是否处于所述第二类局部静止状态的确定。If the target user is in the first type of local stationary state, the determination of whether the target user is in the second type of local stationary state is stopped.
  13. 根据权利要求1或2所述的方法,其中,在所述利用所述灯光控制参数,控制发光设备的发光之后,所述方法还包括:The method according to claim 1 or 2, wherein after the use of the light control parameter to control the light emission of the light emitting device, the method further comprises:
    获得灯光控制的效果数据,其中,所述效果数据包括:所述目标用户 的睡眠效果数据、睡眠活动数据及非睡眠活动数据的至少其中之一;Obtain lighting control effect data, wherein the effect data includes: at least one of the target user's sleep effect data, sleep activity data, and non-sleep activity data;
    根据所述效果数据,优化所述规律睡眠模型和/或非规律睡眠模型。According to the effect data, the regular sleep model and/or the irregular sleep model are optimized.
  14. 一种数据处理装置,其中,包括:A data processing device, including:
    第一获取模块,配置为获取环境数据;The first obtaining module is configured to obtain environmental data;
    第二获取模块,配置为获取目标用户的当前状态数据和特征数据;The second obtaining module is configured to obtain the current state data and characteristic data of the target user;
    选择模块,配置为根据所述当前状态数据,选择规律睡眠模型或非规律睡眠模型作为目标模型;A selection module configured to select a regular sleep model or an irregular sleep model as the target model based on the current state data;
    第三获取模块,配置为将所述环境数据及所述特征数据输入到选择的目标模型中,获得灯光控制参数;A third acquisition module configured to input the environmental data and the characteristic data into the selected target model to obtain lighting control parameters;
    控制模块,配置为利用所述灯光控制参数,控制发光设备的发光,其中,所述控制发光设备的发光包括:控制所述发光设备发射促进所述目标用户睡眠的光线,或,控制所述发光设备发射抑制所述目标用户睡眠的光线。The control module is configured to use the light control parameters to control the light emission of the light emitting device, wherein the controlling the light emission of the light emitting device includes: controlling the light emitting device to emit light that promotes the sleep of the target user, or controlling the light emission The device emits light that suppresses the sleep of the target user.
  15. 一种电子设备,其中,包括:An electronic device, including:
    存储器;Memory
    处理器,与所述存储器连接,用于通过执行位于所述存储器上的计算机可执行指令,实现权利要求1至13任一项提供的数据处理方法。A processor, connected to the memory, is configured to implement the data processing method provided in any one of claims 1 to 13 by executing computer-executable instructions located on the memory.
  16. 一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被执行后,能够实现权利要求1至13任一项提供的数据处理方法。A computer storage medium storing computer-executable instructions; after being executed, the computer-executable instructions can implement the data processing method provided in any one of claims 1 to 13.
PCT/CN2019/130837 2019-01-02 2019-12-31 Data processing method and apparatus, electronic device and storage medium WO2020140913A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910002765.1 2019-01-02
CN201910002765.1A CN111460850B (en) 2019-01-02 2019-01-02 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020140913A1 true WO2020140913A1 (en) 2020-07-09

Family

ID=71407277

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/130837 WO2020140913A1 (en) 2019-01-02 2019-12-31 Data processing method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN111460850B (en)
WO (1) WO2020140913A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799572A (en) * 2021-01-28 2021-05-14 维沃移动通信有限公司 Control method, control device, electronic equipment and storage medium
CN114675556A (en) * 2022-03-29 2022-06-28 浙江想能睡眠科技股份有限公司 Personalized sleep-aiding intelligent pillow device and control method
CN114767910A (en) * 2022-04-13 2022-07-22 山东浪潮新基建科技有限公司 Disinfection control method and controller
CN116095922A (en) * 2023-03-13 2023-05-09 广州易而达科技股份有限公司 Lighting lamp control method and device, lighting lamp and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116490885A (en) * 2020-09-21 2023-07-25 西门子股份公司 Control method and device for industrial device
CN114977741B (en) * 2022-06-06 2023-05-26 北京芯格诺微电子有限公司 Switching period self-adaptive control method applied to switching power supply
CN116115878A (en) * 2023-02-22 2023-05-16 王华虎 Intelligent rapid hypnotizing method and device for creating trapping atmosphere by scene
CN116170915B (en) * 2023-04-23 2023-08-08 深圳市帝狼光电有限公司 Eye-protection lamp control method, eye-protection lamp system and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104121515A (en) * 2014-06-27 2014-10-29 河海大学常州校区 Sleep adjusting lamp and method
CN105517302A (en) * 2016-01-29 2016-04-20 宇龙计算机通信科技(深圳)有限公司 Lamp control method and device
US20170065792A1 (en) * 2015-09-03 2017-03-09 Withings Method and System to Optimize Lights and Sounds For Sleep
CN107743331A (en) * 2017-10-18 2018-02-27 普联技术有限公司 Light source control method, device and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012146256A2 (en) * 2011-04-28 2012-11-01 Lighten Aps A lighting system and a method for locally changing light conditions
WO2017101111A1 (en) * 2015-12-18 2017-06-22 苏州大学 Biological rhythm adjustment system and biological rhythm adjustment method
CN106913313B (en) * 2015-12-28 2020-07-10 中国移动通信集团公司 Sleep monitoring method and system
CN105873319A (en) * 2016-04-25 2016-08-17 乐视控股(北京)有限公司 Light control method and terminal equipment
CN107817686A (en) * 2016-09-13 2018-03-20 深圳市迈迪加科技发展有限公司 Sleep control system, the control method of sleeping device and processing equipment
CN106879133B (en) * 2016-12-29 2019-12-20 固安翌光科技有限公司 Method and device for controlling light during sleep
CN108201435A (en) * 2017-12-06 2018-06-26 深圳和而泰数据资源与云技术有限公司 Sleep stage determines method, relevant device and computer-readable medium
CN109084432A (en) * 2018-08-20 2018-12-25 广东美的暖通设备有限公司 The regulation method and air conditioner of sleep environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104121515A (en) * 2014-06-27 2014-10-29 河海大学常州校区 Sleep adjusting lamp and method
US20170065792A1 (en) * 2015-09-03 2017-03-09 Withings Method and System to Optimize Lights and Sounds For Sleep
CN105517302A (en) * 2016-01-29 2016-04-20 宇龙计算机通信科技(深圳)有限公司 Lamp control method and device
CN107743331A (en) * 2017-10-18 2018-02-27 普联技术有限公司 Light source control method, device and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799572A (en) * 2021-01-28 2021-05-14 维沃移动通信有限公司 Control method, control device, electronic equipment and storage medium
CN114675556A (en) * 2022-03-29 2022-06-28 浙江想能睡眠科技股份有限公司 Personalized sleep-aiding intelligent pillow device and control method
CN114675556B (en) * 2022-03-29 2023-12-26 浙江想能睡眠科技股份有限公司 Personalized sleep-aiding intelligent pillow device and control method
CN114767910A (en) * 2022-04-13 2022-07-22 山东浪潮新基建科技有限公司 Disinfection control method and controller
CN116095922A (en) * 2023-03-13 2023-05-09 广州易而达科技股份有限公司 Lighting lamp control method and device, lighting lamp and storage medium
CN116095922B (en) * 2023-03-13 2023-08-18 广州易而达科技股份有限公司 Lighting lamp control method and device, lighting lamp and storage medium

Also Published As

Publication number Publication date
CN111460850B (en) 2023-05-12
CN111460850A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2020140913A1 (en) Data processing method and apparatus, electronic device and storage medium
US20170312476A1 (en) Sleep Inducing Device and Sleep Management System Including Same
CN108310587A (en) A kind of sleep control device and method
CN110163371B (en) Dimming optimization method for sleep environment
CN110706816B (en) Method and equipment for sleep environment regulation and control based on artificial intelligence
CN105592777A (en) Method and system for sleep management
CN106415556A (en) Glycemic urgency assessment and alerts interface
CN110049714A (en) System and method for promoting awakening
JP2006061270A (en) Sleeping state managing device, and sleeping state managing method
US20220370757A1 (en) Personalized sleep wellness score for treatment and/or evaluation of sleep conditions
CN108543193A (en) A kind of User Status interference method and device
CN108717873A (en) A kind of space luminous environment AI regulating systems based on unsupervised learning technology
CN113598722A (en) Sleep environment illumination condition identification method
CN113951837A (en) Reading surface light measuring method in sleeping environment
JP7423759B2 (en) Cluster-based sleep analysis method, monitoring device and sleep improvement system for sleep improvement
WO2021064557A1 (en) Systems and methods for adjusting electronic devices
US20220167916A1 (en) Intelligent diet, sleep and stress management
US20220375572A1 (en) Iterative generation of instructions for treating a sleep condition
JP2020116304A (en) Information processing method, information processing program and information processing system
CN105854147A (en) Intelligent home environment regulation system and method
KR101912860B1 (en) Smart jewelry system for depression cognitive and care
CN115779227A (en) Method and system for improving deep sleep quality and pleasure feeling in closed-loop manner
US20230329631A1 (en) Systems and methods involving sleep management
Kuo et al. An EOG-based sleep monitoring system and its application on on-line sleep-stage sensitive light control
US20230277106A1 (en) Hot flash multi-sensor circuit system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19907169

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 15.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19907169

Country of ref document: EP

Kind code of ref document: A1