CN108882083A - signal processing method and related product - Google Patents
signal processing method and related product Download PDFInfo
- Publication number
- CN108882083A CN108882083A CN201810496982.6A CN201810496982A CN108882083A CN 108882083 A CN108882083 A CN 108882083A CN 201810496982 A CN201810496982 A CN 201810496982A CN 108882083 A CN108882083 A CN 108882083A
- Authority
- CN
- China
- Prior art keywords
- waveform
- waveform diagram
- user
- sleep
- obtains
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1058—Manufacture or assembly
- H04R1/1075—Mountings of transducers in earphones or headphones
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4815—Sleep quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R25/00—Deaf-aid sets, i.e. electro-acoustic or electro-mechanical hearing aids; Electric tinnitus maskers providing an auditory perception
- H04R25/55—Deaf-aid sets, i.e. electro-acoustic or electro-mechanical hearing aids; Electric tinnitus maskers providing an auditory perception using an external connection, either wireless or wired
Abstract
This application discloses a kind of signal processing method and Related product, for the wearable device for being worn on user's head, the wearable device includes storage and processing circuit, and the sensor with the storage and processing circuit connection, wherein this method includes:Acquire the sensing data of gravity direction;First waveform figure is generated according to the sensing data;Intercept operation is carried out to the first waveform figure, obtains the second waveform diagram, second waveform diagram is the waveform diagram of user's sleep stage;It is analyzed according to second waveform diagram, obtains the sleep quality of user.The sensing data of gravity direction can be acquired using the embodiment of the present application, and is analyzed it, the sleep state of user is obtained, and enrich the function of wireless headset, the user experience is improved.
Description
Technical field
This application involves electronic technology field more particularly to a kind of signal processing methods and Related product.
Background technique
With the maturation of wireless technology, wireless headset connects the scene of the electronic equipments such as mobile phone increasingly by wireless technology
It is more.People can be realized by wireless headset the various functions such as listens to music, makes a phone call.However, the wireless earphone function of target compared with
To be single, therefore, user experience is reduced.
Summary of the invention
The embodiment of the present application provides a kind of signal processing method and Related product, and Analysis of sleeping quality may be implemented, and enriches
The function of wireless headset promotes user experience.
In a first aspect, the embodiment of the present application provides a kind of wearable device, the wearable device is for being worn on user
Head, the wearable device include storage and processing circuit, and the sensor with the storage and processing circuit connection,
In,
The sensor, for acquiring the sensing data of gravity direction;
The storage and processing circuit, for generating first waveform figure according to the sensing data;To the first wave
Shape figure carries out intercept operation, obtains the second waveform diagram, and second waveform diagram is the waveform diagram of user's sleep stage;And foundation
Second waveform diagram is analyzed, and the sleep quality of user is obtained.
Second aspect, the embodiment of the present application provide a kind of signal processing method, are applied to wearable device, described wearable
Equipment is worn on user's head, the method includes:
Acquire the sensing data of gravity direction;
First waveform figure is generated according to the sensing data;
Intercept operation is carried out to the first waveform figure, obtains the second waveform diagram, second waveform diagram is user's sleep
The waveform diagram in stage;
It is analyzed according to second waveform diagram, obtains the sleep quality of user.
The third aspect, the embodiment of the present application provide a kind of signal processing apparatus, are applied to wearable device, described wearable
Equipment is worn on user's head, and described device includes:Acquiring unit, generation unit, interception unit and analytical unit, wherein:
The acquiring unit, for acquiring the sensing data of gravity direction;
The generation unit, for generating first waveform figure according to the sensing data;
The interception unit obtains the second waveform diagram for carrying out intercept operation to the first waveform figure, and described second
Waveform diagram is the waveform diagram of user's sleep stage;
The analytical unit obtains the sleep quality of user for being analyzed according to second waveform diagram.
Fourth aspect, the embodiment of the present application provide a kind of wearable device, including processor, memory, communication interface with
And one or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
Processor executes, and above procedure is included the steps that for executing the instruction in the embodiment of the present application second aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in the embodiment of the present application second aspect either method.
6th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product
Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate
Machine executes the step some or all of as described in the embodiment of the present application second aspect either method.The computer program product
It can be a software installation packet.
As can be seen that signal processing method and Related product described in above-mentioned the embodiment of the present application, are applied to wearable
Equipment, wearable device are worn on user's head, and the sensing data of gravity direction is acquired by sensor, according to sensor number
According to first waveform figure is generated, intercept operation is carried out to first waveform figure, obtains the second waveform diagram, the second waveform diagram is user's sleep
The waveform diagram in stage is analyzed according to the second waveform diagram, the sleep quality of user is obtained, it is thus possible to acquire gravity direction
Sensing data, and analyze it, obtain the sleep state of user, enrich the function of wireless headset, improve use
Family experience.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Figure 1A is a kind of structural schematic diagram of wearable device disclosed in the embodiment of the present application;
Figure 1B is a kind of flow diagram of signal processing method disclosed in the embodiment of the present application;
Fig. 1 C is the demonstration schematic diagram of waveform diagram disclosed in the embodiment of the present application;
Fig. 2 is the flow diagram of another kind signal processing method disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of another kind signal processing method disclosed in the embodiment of the present application;
Fig. 4 is the structural schematic diagram of another kind wearable device disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of signal processing apparatus disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Wearable device may include following at least one:Wireless headset, brain wave collector, augmented reality
(augmented reality, AR)/virtual reality (virtual reality, VR) equipment, intelligent glasses etc., wherein nothing
Line earphone can be realized by following technology and be communicated:Wireless Fidelity (wireless fidelity, Wi-Fi) technology, bluetooth skill
Art, visible light communication technology, black light communication technology (infrared communication technology, ultraviolet communications technology) etc..The application
In embodiment, by taking wireless headset as an example comprising left and right earplug, left earplug can be used as an individual components, and right earplug can also
Using as an individual components.
Optionally, wireless headset can be clip-on type earphone, or PlayGear Stealth, or wear-type ear
Machine, the embodiment of the present application is without limitation.
Wireless headset can be accommodated in Earphone box, and Earphone box may include:Two receiving cavities (the first receiving cavity and second
Receiving cavity), the size and shape of two receiving cavities is designed to receive a pair of of wireless headset (left earplug and right earplug);Setting exists
One or more earphone outer covering magnetic parts in box, said one or multiple earphone outer covering magnetic parts are used for will be a pair of wireless
Earphone magnetic attraction and respectively magnetism are fixed in two receiving cavities.Earphone box can also include ear cap.Wherein, it first receives
The size and shape of chamber is designed to the first wireless headset of reception, and the size and shape of the second receiving cavity is designed to receive second wirelessly
Earphone.
Wireless headset may include earphone outer covering, the recyclable charging being arranged in earphone outer covering battery (for example, lithium is electric
Pond), multiple hard contacts for connecting battery and charging unit, the loudspeaker including actuator unit and direct sound port
Component, wherein actuator unit includes magnet, voice coil and diaphragm, and actuator unit is used to make a sound from direct sound port,
The outer surface of earphone outer covering is arranged in above-mentioned multiple hard contacts.
In one possible implementation, wireless headset can also include Petting Area, which can be located in ear
The outer surface of machine shell is provided at least one touch sensor in Petting Area, for detecting touch operation, touch sensor
It may include capacitance sensor.When user touches Petting Area, at least one capacitance sensor can detecte selfcapacity
Variation is to identify touch operation.
In one possible implementation, wireless headset can also include acceleration transducer and three-axis gyroscope, add
Velocity sensor and three-axis gyroscope can be set in earphone outer covering, acceleration transducer and three-axis gyroscope for identification without
The pick-up of line earphone and remove movement.
In one possible implementation, wireless headset can also include at least one baroceptor, air pressure sensing
Device can be set on the surface of earphone outer covering, for detecting air pressure in ear after wireless headset wearing.Air pressure sensing can be passed through
The wearing elasticity of device detection wireless headset.When detect wireless headset wear it is more loose when, wireless headset can to wireless ear
The electronic device of machine connection sends prompt information, to prompt user's wireless headset to fall risk.
It describes in detail below to the embodiment of the present application.
Figure 1A is please referred to, Figure 1A is a kind of structural schematic diagram of wearable device disclosed in the embodiment of the present application, wearable
Equipment 100 includes storage and processing circuit 110, and the sensor 170 connecting with the storage and processing circuit 110, wherein:
Wearable device 100 may include control circuit, which may include storage and processing circuit 110.It should
Storage and processing circuit 110 can store device, such as hard drive memory, nonvolatile memory (such as flash memory or be used for
Form other electrically programmable read only memories etc. of solid state drive), volatile memory (such as either statically or dynamically deposit at random
Access to memory etc.) etc., the embodiment of the present application is with no restriction.Processing circuit in storage and processing circuit 110 can be used for controlling
The operating of wearable device 100.The processing circuit can microprocessor based on one or more, microcontroller, at digital signal
Manage device, baseband processor, power management unit, audio codec chip, specific integrated circuit, display-driver Ics
Etc. realizing.
Storage and processing circuit 110 can be used for running the software in wearable device 100, such as the Internet browser application journey
Sequence, voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email
Application program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, example
Such as, based on the Image Acquisition of camera, the ambient light measurement based on ambient light sensor, based on proximity sensor close to sensing
Device measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized, based on touch
The touch event of sensor detects, function associated with information is shown on multiple (such as layering) displays, with execution
The associated operation of wireless communication function, operation associated with collecting and generating audio signal, is pressed with collection and treatment button
Other functions etc. in the associated control operation of event data and wearable device 100 are pressed, the embodiment of the present application does not limit
System.
Wearable device 100 can also include input-output circuit 150.Input-output circuit 150 can be used for making to wear
It wears equipment 100 and realizes outputting and inputting for data, that is, allow wearable device 100 from outer equipment receiving data and also permission can
Wearable device 100 exports data to external equipment from wearable device 100.Input-output circuit 150 may further include
Sensor 170.Sensor 170 may include ambient light sensor, the proximity sensor based on light and capacitor, touch sensor
(for example, being based on light touch sensor and/or capacitive touch sensors, wherein touch sensor can be touching display screen
A part can also be used as a touch sensor arrangement and independently use), acceleration transducer, gravity sensor and other biographies
Sensor etc..
Input-output circuit 150 can also include one or more displays, such as display 130.Display 130 can
To include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display, using other aobvious
Show combination one or several kinds of in the display of technology.Display 130 may include touch sensor array (that is, display
130 can be touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO)
Electrode) capacitive touch sensors that array is formed, or it can be the touch sensor formed using other touching techniques, example
Such as sound wave touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Audio component 140 can be used for providing audio input and output function for wearable device 100.Wearable device
Audio component 140 in 100 may include loudspeaker, microphone, buzzer, tone generator and other for generating and examining
Survey the component of sound.
Telecommunication circuit 120 can be used for providing the ability with external device communication for wearable device 100.Telecommunication circuit
120 may include analog- and digital- input-output interface circuit, and based on radiofrequency signal and/or the wireless communication of optical signal electricity
Road.Radio communication circuit in telecommunication circuit 120 may include that radio-frequency transceiver circuitry, power amplifier circuit, low noise are put
Big device, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit 120 may include for passing through hair
Near-field coupling electromagnetic signal is penetrated and received to support the circuit of near-field communication (Near Field Communication, NFC).Example
Such as, telecommunication circuit 120 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 120 can also include honeycomb
Telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Wearable device 100 can further include battery, power management circuitry and other input-output units 160.
Input-output unit 160 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera,
Light emitting diode and other positioning indicators etc..
User can input a command for the operation of control wearable device 100 by input-output circuit 150, and can
It realizes to use the output data of input-output circuit 150 and receives status information from wearable device 100 and other defeated
Out.
Based on wearable device described in above-mentioned Figure 1A, following function can be used to implement:
The sensor 170, for acquiring the sensing data of gravity direction;
The storage and processing circuit 110, for generating first waveform figure according to the sensing data;To described first
Waveform diagram carries out intercept operation, obtains the second waveform diagram, and second waveform diagram is the waveform diagram of user's sleep stage;And according to
It is analyzed according to second waveform diagram, obtains the sleep quality of user.
In a possible example, intercept operation is carried out to the first waveform figure described, obtains the second waveform diagram
Aspect, the storage and processing circuit 110 are specifically used for:
The first waveform figure is divided into multiple segmented waveform figures;
The average energy value for determining each segmented waveform figure in the multiple segmented waveform figure obtains the multiple first average energy
Magnitude;
First the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, obtains multiple the
One target the average energy value;
The corresponding segmented waveform figure of the multiple first object the average energy value is attached according to chronological order,
Obtain second waveform diagram.
In a possible example, is analyzed described according to second waveform diagram, obtain the sleep matter of user
Amount aspect, the storage and processing circuit 110 are specifically used for:
Collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave figure;
To described
The continuous wave figure is divided into multiple section waveform diagrams;
The average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram obtains multiple average values excessively
Rate;
The corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, and obtains multiple sleep shapes
State;
The sleep quality of the user is determined according to the multiple sleep state.
In a possible example, the storage and processing circuit 110 also particularly useful for:
Section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveform figures,
Section waveform diagram and frequency-domain waveform figure correspond;
The average energy value for determining each frequency-domain waveform figure in the multiple frequency-domain waveform figure respectively, it is flat to obtain multiple second
Equal energy value;
In terms of the sleep quality for determining the user according to the multiple sleep state, the storage and processing electricity
Road 110 is specifically used for:
The multiple sleep state is verified according to the multiple second the average energy value, obtains multiple target sleeps
State;
The sleep quality of the user is determined according to the multiple target sleep state.
In a possible example, when each target sleep state is one corresponding in the multiple target sleep state
It is long;
It is described determine the sleep quality of the user according to the multiple target sleep state in terms of, the storage and place
Reason circuit 110 is specifically used for:
The multiple target sleep state is classified, multiclass sleep state is obtained;
Every dormant total duration of one kind in the multiclass sleep state is counted, multiple total durations are obtained;
The sleep quality of the user is determined according to the total duration.
Based on wearable device described in above-mentioned Figure 1A, it can be used for executing a kind of following signal processing method, specifically such as
Under:
The sensor 170 acquires the sensing data of gravity direction;
The storage and processing circuit 110 generates first waveform figure according to the sensing data;To the first waveform
Figure carries out intercept operation, obtains the second waveform diagram, and second waveform diagram is the waveform diagram of user's sleep stage;And according to institute
It states the second waveform diagram to be analyzed, obtains the sleep quality of user.
Figure 1B is please referred to, Figure 1B is a kind of flow diagram of signal processing method disclosed in the embodiment of the present application, application
In wearable device as shown in Figure 1A, which includes the following steps.
101, the sensing data of gravity direction is acquired.
Wherein, wearable device may include gravity sensor or acceleration transducer, can be used for acquiring gravity direction
Sensing data.
102, first waveform figure is generated according to the sensing data.
Wherein, sensing data can be the sensing data in a period of time, therefore, can be raw according to sensing data
At first waveform figure, coordinate system is established, horizontal axis is the time, and the longitudinal axis is the collected gravity acceleration value of sensor.
103, intercept operation is carried out to the first waveform figure, obtains the second waveform diagram, second waveform diagram is user
The waveform diagram of sleep stage.
Wherein, due in first waveform figure may not each section of waveform diagram for belonging to sleep stage, can be to first
Waveform diagram carries out intercept operation, obtains the second waveform diagram, and the second waveform diagram is the waveform diagram of user's sleep stage.
Optionally, above-mentioned steps 103 carry out intercept operation to the first waveform figure, obtain the second waveform diagram, it may include
Following steps:
31, the first waveform figure is divided into multiple segmented waveform figures;
32, the average energy value for determining each segmented waveform figure in the multiple segmented waveform figure, it is flat to obtain multiple first
Equal energy value;
33, first the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, is obtained more
A first object the average energy value;
34, the corresponding segmented waveform figure of the multiple first object the average energy value is connected according to chronological order
It connects, obtains second waveform diagram.
In the specific implementation, above-mentioned preset threshold can be by user's self-setting, alternatively, system default.Wearable device can
First waveform figure is divided into multiple segmented waveform figures, the corresponding time span of each segmented waveform figure can be identical, in turn, really
The average energy value of each segmented waveform figure, obtains multiple first the average energy value in fixed multiple segmented waveform figures, from multiple the
First the average energy value for being less than preset threshold is chosen in one the average energy value, obtains multiple first object the average energy value, is led to
In normal situation, the energy value of sleep stage is smaller, according to this principle, can screen to multiple segmented waveform figures, finally,
The corresponding segmented waveform figure of multiple first object the average energy value can be attached according to chronological order, obtain the second wave
Shape figure.
104, it is analyzed according to second waveform diagram, obtains the sleep quality of user.
Wherein, the second waveform diagram corresponds to the waveform diagram of sleep stage, therefore, can carry out at segmentation to the second waveform diagram
Reason, and each segmentation is analyzed, to analyze the sleep state of each segmentation, sleep state refers to that people shows in sleep
Form, it is opposite with waking state.In the embodiment of the present application, sleep state may include but be not limited only to:Hypnagogic state is shallowly slept
State, deep sleep etc., wherein hypnagogic state is gradually fallen asleep since drowsy, no longer holding waking state.At this moment
Wait, breathe slack-off, muscle tone decline, body slightly loosens, belong to just sleep state at this time, sleeper be easier to by external sound or
Touch is waken up;Shallowly sleep stage or hypophypnosis stage.This stage sleep category is shallowly slept or slightly to moderate sleep state, is slept
Dormancy person has been not easy to be waken up, and muscle further loosens at this time, and electroencephalogram shows fusiform sleep wave;Deep sleep is at this time slept
Person enters deep sleep, and Muscle tensility disappears, and muscle sufficiently relaxes, and sensory function further decreases, and is less susceptible to be waken up.
In the embodiment of the present application, sleep quality can be specific sleep quality assessment value, alternatively, to the second waveform diagram
Analyze result.For sleep quality assessment value, for example, being indicated using hundred-mark system, 100 points are ideal sleep state, and 0 is thorough
Bottom is awake, and 0-60 is poor sleeping quality, 60-80 be it is good, 80-100 is outstanding.For analysis result, for example, t1~t2
Hypnagogic state, t2~t3 shallowly sleep state, t3~t4 deep sleep, in another example, hypnagogic state duration is T1, and shallowly the state of sleeping is held
A length of T2 when continuous, deep sleep duration are T3.
Optionally, above-mentioned steps 104 are analyzed according to second waveform diagram, obtain the sleep quality of user, can be wrapped
Include following steps:
41, the collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave figure;
42, the continuous wave figure is divided into multiple section waveform diagrams;
43, the average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram, obtains multiple excessively average
Value rate;
44, the corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, obtain multiple sleep
Dormancy state;
45, the sleep quality of the user is determined according to the multiple sleep state.
Wherein, since the second waveform diagram can be discrete waveform figure, the second waveform diagram may include multiple collection points, can be by the
Collection point in two waveform diagrams is sequentially connected according to time order and function, and the mode specifically connected can connect for straight line connection or curve
It connects, it is not limited here, obtains continuous wave figure, continuous wave figure is divided into multiple section waveform diagrams, counts multiple sections
The mistake average rate value of each section waveform diagram in waveform diagram obtains multiple average value rates excessively.It can be deposited in advance in wearable device
The mapping relations between average value rate range and sleep state were stored up, in turn, can be determined according to the mapping relations multiple excessively flat
It is each in mean value rate to cross the corresponding sleep state of average value rate, multiple sleep states are obtained, determines and uses according to multiple sleep states
The sleep quality at family.Specifically, the corresponding duration of each sleep state, multiple sleep states can be classified, be obtained
Multiclass sleep state sleeps state shallowly for example, hypnagogic state is one kind for one kind, deep sleep is one kind, further, it is possible to unite
Every dormant total duration of one kind in multiclass sleep state is counted, that is, adds up the duration of every one kind, obtains multiple total durations, foundation
Multiple total durations determine the sleep quality of user, for example, using the specific gravity of deep sleep as the sleep quality of user, in another example,
Can be using multiple total durations as the sleep quality of user, and show user, specifically, can with text mode, histogram,
The form of cake chart shows user, and certainly, there are also other modes, is not limited thereto.
Wherein, a kind of mapping relations crossed between average value rate range and sleep state are provided as follows, it is specific as follows:
Cross average value rate range | Sleep state |
(a1, a2) | Deep sleep |
(a2, a3) | Shallowly sleep state |
(a3, a4) | Hypnagogic state |
Wherein, a1<a2<a3<a4.For any average value rate excessively, it may be determined that its corresponding average value rate range excessively, into
And pass through mapping relationship searching to corresponding sleep state.
In addition, above-mentioned average value rate excessively can be understood as section waveform diagram and pass through the corresponding average value line of the section waveform diagram
Number and siding-to-siding block length between ratio, as shown in Figure 1 C, horizontal axis be time t, the longitudinal axis be acceleration a, Fig. 1 C show appoint
Section waveform diagram between one section [T1, T2], average value line are the mean value pair of the acceleration value of all the points in the waveform diagram of section
One answered is parallel to a line of time shaft, and as shown in Figure 1 C, the number for passing through average value line in Fig. 1 C is 5 times, then excessively flat
Mean value rate=5/ (T2-T1).
Optionally, after above-mentioned steps 42, can also include the following steps:
A1, section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveforms
Figure, section waveform diagram and frequency-domain waveform figure correspond;
A2, the average energy value for determining each frequency-domain waveform figure in the multiple frequency-domain waveform figure respectively obtain multiple
Two the average energy value;
Then, above-mentioned steps 45 determine the sleep quality of the user according to the multiple sleep state, it may include following step
Suddenly:
B11, the multiple sleep state is verified according to the multiple second the average energy value, obtains multiple targets
Sleep state;
B12, the sleep quality that the user is determined according to the multiple target sleep state.
Wherein, above-mentioned frequency domain conversion can use Fourier transformation or Fast Fourier Transform (FFT), in turn, by multiple sections
After each section waveform diagram carries out frequency domain conversion in waveform diagram, multiple frequency-domain waveform figures, section waveform diagram and frequency domain wave are obtained
Shape figure corresponds.The average energy value for determining each frequency-domain waveform figure in multiple frequency-domain waveform figures respectively, obtains multiple second
The average energy value.In the specific implementation, sleep state and energy can be stored in advance with an energy value range in each sleep state
Mapping relations between magnitude range, in turn, according to the mapping relations, multiple second the average energy value to multiple sleep states into
Row verifying, obtains multiple sleep states, the purpose of verifying is further to determine dormant accuracy.Specifically,
Mapping relations can be as follows:
Energy value range | Sleep state |
(E1,E2) | Deep sleep |
(E2,E3) | Shallowly sleep state |
(E3,E4) | Hypnagogic state |
Wherein, E1<E2<E3<E4.In specific verification process, for example, if some section 44 is identified as through the above steps
State is shallowly slept, and its corresponding energy value is greater than E3, then there is erroneous judgement in the section, then it can remove the section, in another example, if certain
A section 44 is identified as hypnagogic state through the above steps, and its corresponding energy value then retains the section at (E3, E4).On
It states step A1, A2 further to identify sleep state in frequency domain dimension, improves accuracy of identification.
Optionally, the corresponding duration of each target sleep state in the multiple target sleep state;Above-mentioned steps 45,
The sleep quality of the user is determined according to the multiple target sleep state, it may include following steps:
B21, the multiple target sleep state is classified, obtains multiclass sleep state;
Every dormant total duration of one kind in B22, the statistics multiclass sleep state, obtains multiple total durations;
B23, the sleep quality that the user is determined according to the total duration.
Wherein, the corresponding duration of each target sleep state in above-mentioned target sleep state.In the specific implementation, can incite somebody to action
Multiple target sleep states are classified, and multiclass sleep state is obtained, and specifically, for example, hypnagogic state is one kind, shallowly sleep state
For one kind, deep sleep is one kind, further, it is possible to count every dormant total duration of one kind in multiclass sleep state, i.e.,
The duration for adding up every one kind, obtains multiple total durations, and the sleep quality of user is determined according to multiple total durations, for example, by sound sleep
Sleep quality of the specific gravity of state as user, in another example, it can be using multiple total durations as the sleep quality of user, and show
To user, specifically, user can be showed in the form of text mode, histogram, cake chart.
As can be seen that signal processing method described in above-mentioned the embodiment of the present application, is applied to wearable device, it is wearable
Equipment is worn on user's head, acquires the sensing data of gravity direction, generates first waveform figure according to sensing data, to the
One waveform diagram carries out intercept operation, obtains the second waveform diagram, the second waveform diagram is the waveform diagram of user's sleep stage, according to second
Waveform diagram is analyzed, and the sleep quality of user is obtained, it is thus possible to by collected sensing data, and it is carried out
Analysis, obtains the sleep state of user, enriches the function of wireless headset, the user experience is improved.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of signal processing method disclosed in the embodiment of the present application, it is applied to
Wearable device as shown in Figure 1A, the signal processing method include the following steps.
201, the sensing data of gravity direction is acquired.
202, first waveform figure is generated according to the sensing data.
203, the first waveform figure is divided into multiple segmented waveform figures.
204, the average energy value for determining each segmented waveform figure in the multiple segmented waveform figure, it is flat to obtain multiple first
Equal energy value.
205, first the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, is obtained more
A first object the average energy value.
206, the corresponding segmented waveform figure of the multiple first object the average energy value is carried out according to chronological order
Connection, obtains the second waveform diagram, and second waveform diagram is the waveform diagram of user's sleep stage.
207, the collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave
Figure.
208, the continuous wave figure is divided into multiple section waveform diagrams.
209, the average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram, obtains multiple excessively average
Value rate.
210, the corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, obtain multiple sleep
Dormancy state.
211, the sleep quality of the user is determined according to the multiple sleep state.
As can be seen that signal processing method described in above-mentioned the embodiment of the present application, is applied to wearable device, it is wearable
Equipment is worn on user's head, acquires the sensing data of gravity direction, generates first waveform figure according to sensing data, by the
One waveform diagram is divided into multiple segmented waveform figures, determines the average energy value of each segmented waveform figure in multiple segmented waveform figures,
Multiple first the average energy value are obtained, the first average energy for being less than preset threshold is chosen from multiple first the average energy value
Value, obtain multiple first object the average energy value, by the corresponding segmented waveform figure of multiple first object the average energy value according to when
Between sequencing be attached, obtain the second waveform diagram, the second waveform diagram is the waveform diagram of user's sleep stage, by the second waveform
Collection point in figure is sequentially connected according to chronological order, obtains continuous wave figure, and continuous wave figure is divided into multiple areas
Between waveform diagram, count each section waveform diagram in multiple section waveform diagrams crosses average value rate, obtain it is multiple cross average value rates, according to
The corresponding sleep state of each section waveform diagram is determined according to multiple average value rates of crossing, and is obtained multiple sleep states, is slept according to multiple
Dormancy state determines the sleep quality of user, in this way, can be by acquiring the sensing data of gravity direction, and it is divided
Analysis, obtains the sleep state of user, enriches the function of wireless headset, the user experience is improved.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram of signal processing method disclosed in the embodiment of the present application, it is applied to
Wearable device as shown in Figure 1A, the signal processing method include the following steps.
301, the sensing data of gravity direction is acquired.
302, first waveform figure is generated according to the sensing data.
303, the first waveform figure is divided into multiple segmented waveform figures.
304, the average energy value for determining each segmented waveform figure in the multiple segmented waveform figure, it is flat to obtain multiple first
Equal energy value.
305, first the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, is obtained more
A first object the average energy value.
306, the corresponding segmented waveform figure of the multiple first object the average energy value is carried out according to chronological order
Connection, obtains the second waveform diagram, and second waveform diagram is the waveform diagram of user's sleep stage.
307, the collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave
Figure.
308, the continuous wave figure is divided into multiple section waveform diagrams.
309, the average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram, obtains multiple excessively average
Value rate.
310, section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveforms
Figure, section waveform diagram and frequency-domain waveform figure correspond.
311, the average energy value for determining each frequency-domain waveform figure in the multiple frequency-domain waveform figure respectively obtains multiple
Two the average energy value.
312, the corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, obtain multiple sleep
Dormancy state.
313, the multiple sleep state is verified according to the multiple second the average energy value, obtains multiple targets
Sleep state.
314, the sleep quality of the user is determined according to the multiple target sleep state.
As can be seen that signal processing method described in above-mentioned the embodiment of the present application, is applied to wearable device, it is wearable
Equipment is worn on user's head, acquires the sensing data of gravity direction, generates first waveform figure according to sensing data, by the
One waveform diagram is divided into multiple segmented waveform figures, determines the average energy value of each segmented waveform figure in multiple segmented waveform figures,
Multiple first the average energy value are obtained, the first average energy for being less than preset threshold is chosen from multiple first the average energy value
Value, obtain multiple first object the average energy value, by the corresponding segmented waveform figure of multiple first object the average energy value according to when
Between sequencing be attached, obtain the second waveform diagram, the second waveform diagram is the waveform diagram of user's sleep stage, by the second waveform
Collection point in figure is sequentially connected according to chronological order, obtains continuous wave figure, and continuous wave figure is divided into multiple areas
Between waveform diagram, count each section waveform diagram in multiple section waveform diagrams crosses average value rate, obtain it is multiple cross average value rates, will
Each section waveform diagram carries out frequency domain conversion in multiple section waveform diagrams, obtains multiple frequency-domain waveform figures, section waveform diagram and frequency
Domain waveform figure corresponds, and determines the average energy value of each frequency-domain waveform figure in multiple frequency-domain waveform figures respectively, obtains multiple
Second the average energy value determines the corresponding sleep state of each section waveform diagram according to multiple average value rates of crossing, obtains multiple sleep
Dormancy state verifies multiple sleep states according to multiple second the average energy value, obtains multiple target sleep states, foundation
Multiple target sleep states determine the sleep quality of user.In this way, can be and right by acquiring the sensing data of gravity direction
It is analyzed, and the sleep state of user is obtained, and enriches the function of wireless headset, the user experience is improved.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another kind wearable device disclosed in the embodiment of the present application, such as Fig. 4 institute
Show, which includes processor, memory, communication interface and one or more programs, wherein said one is more
A program is stored in above-mentioned memory, and is configured to be executed by above-mentioned processor, above procedure include for execute with
The instruction of lower step:
Acquire the sensing data of gravity direction;
First waveform figure is generated according to the sensing data;
Intercept operation is carried out to the first waveform figure, obtains the second waveform diagram, second waveform diagram is user's sleep
The waveform diagram in stage;
It is analyzed according to second waveform diagram, obtains the sleep quality of user.
As can be seen that wearable device described in above-mentioned the embodiment of the present application, which, which is worn on, uses account
Portion acquires the sensing data of gravity direction, generates first waveform figure according to sensing data, intercepts to first waveform figure
Operation obtains the second waveform diagram, and the second waveform diagram is the waveform diagram of user's sleep stage, is analyzed according to the second waveform diagram,
The sleep quality of user is obtained, it is thus possible to acquire sensing data by gravity sensor, and analyzes it, obtains
The sleep state of user enriches the function of wireless headset, and the user experience is improved.
In a possible example, intercept operation is carried out to the first waveform figure described, obtains the second waveform diagram side
Face, above procedure include the instruction for executing following steps:
The first waveform figure is divided into multiple segmented waveform figures;
The average energy value for determining each segmented waveform figure in the multiple segmented waveform figure obtains the multiple first average energy
Magnitude;
First the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, obtains multiple the
One target the average energy value;
The corresponding segmented waveform figure of the multiple first object the average energy value is attached according to chronological order,
Obtain second waveform diagram.
In a possible example, is analyzed described according to second waveform diagram, obtain the sleep quality of user
Aspect, above procedure include the instruction for executing following steps:
Collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave figure;
The continuous wave figure is divided into multiple section waveform diagrams;
The average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram obtains multiple average values excessively
Rate;
The corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, and obtains multiple sleep shapes
State;
The sleep quality of the user is determined according to the multiple sleep state.
In a possible example, above procedure further includes the instruction for executing following steps:
Section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveform figures,
Section waveform diagram and frequency-domain waveform figure correspond;
The average energy value for determining each frequency-domain waveform figure in the multiple frequency-domain waveform figure respectively, it is flat to obtain multiple second
Equal energy value;
In terms of the sleep quality for determining the user according to the multiple sleep state, above procedure includes being used for
Execute the instruction of following steps:
The multiple sleep state is verified according to the multiple second the average energy value, obtains multiple target sleeps
State;
The sleep quality of the user is determined according to the multiple target sleep state.
In a possible example, the corresponding duration of each target sleep state in the multiple target sleep state;
It is described determine the sleep quality of the user according to the multiple target sleep state in terms of, above procedure includes
For executing the instruction of following steps:
The multiple target sleep state is classified, multiclass sleep state is obtained;
Every dormant total duration of one kind in the multiclass sleep state is counted, multiple total durations are obtained;
The sleep quality of the user is determined according to the total duration.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that
, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for wearable device
Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution
Part.Professional technician can specifically realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to wearable device, for example,
The each functional unit of each function division can be corresponded to, it is single that two or more functions can also be integrated in a processing
In member.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.
It should be noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical
There may be another division manner when realization.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of signal processing apparatus disclosed in the embodiment of the present application, it is applied to
Wearable device, the wearable device are worn on user's head, and described device includes:Acquiring unit 501, generation unit 502,
Interception unit 503 and analytical unit 504, wherein:
The acquiring unit 501, for acquiring the sensing data of gravity direction;
The generation unit 502, for generating first waveform figure according to the sensing data;
The interception unit 503, it is described for obtaining the second waveform diagram to first waveform figure progress intercept operation
Second waveform diagram is the waveform diagram of user's sleep stage;
The analytical unit 504 obtains the sleep quality of user for being analyzed according to second waveform diagram.
In a possible example, intercept operation is carried out to the first waveform figure described, obtains the second waveform diagram
Aspect, the interception unit 503 are specifically used for:
The first waveform figure is divided into multiple segmented waveform figures;
The average energy value for determining each segmented waveform figure in the multiple segmented waveform figure obtains the multiple first average energy
Magnitude;
First the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, obtains multiple the
One target the average energy value;
The corresponding segmented waveform figure of the multiple first object the average energy value is attached according to chronological order,
Obtain second waveform diagram.
In a possible example, is analyzed described according to second waveform diagram, obtain the sleep matter of user
Amount aspect, the analytical unit 504 are specifically used for:
Collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave figure;
The continuous wave figure is divided into multiple section waveform diagrams;
The average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram obtains multiple average values excessively
Rate;
The corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, and obtains multiple sleep shapes
State;
The sleep quality of the user is determined according to the multiple sleep state.
In a possible example, the analytical unit 504 also particularly useful for:
Section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveform figures,
Section waveform diagram and frequency-domain waveform figure correspond;And each frequency-domain waveform figure in the multiple frequency-domain waveform figure is determined respectively
The average energy value, obtain multiple second the average energy value;
In terms of the sleep quality for determining the user according to the multiple sleep state, the analytical unit 504
It is specifically used for:
The multiple sleep state is verified according to the multiple second the average energy value, obtains multiple target sleeps
State;
The sleep quality of the user is determined according to the multiple target sleep state.
In a possible example, when each target sleep state is one corresponding in the multiple target sleep state
It is long;
It is described determine the sleep quality of the user according to the multiple target sleep state in terms of, the analytical unit
504 are specifically used for:
The multiple target sleep state is classified, multiclass sleep state is obtained;
Every dormant total duration of one kind in the multiclass sleep state is counted, multiple total durations are obtained;
The sleep quality of the user is determined according to the total duration.
As can be seen that signal processing apparatus described in above-mentioned the embodiment of the present application, is applied to wearable device, it is wearable
Equipment is worn on user's head, acquires the sensing data of gravity direction, generates first waveform figure according to sensing data, to the
One waveform diagram carries out intercept operation, obtains the second waveform diagram, the second waveform diagram is the waveform diagram of user's sleep stage, according to second
Waveform diagram is analyzed, and the sleep quality of user is obtained, it is thus possible to acquire sensing data by gravity sensor, and right
It is analyzed, and the sleep state of user is obtained, and enriches the function of wireless headset, the user experience is improved.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment
Some or all of method step, above-mentioned computer include wearable device.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either record method step in method embodiment.The computer program product can be a software installation
Packet, above-mentioned computer includes wearable device.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific implementation and application range according to the thought of the application
There is change place, to sum up above-mentioned, the contents of this specification should not be construed as limiting the present application.
Claims (13)
1. a kind of wearable device, which is characterized in that the wearable device is described wearable to set for being worn on user's head
Standby includes storage and processing circuit, and the sensor with the storage and processing circuit connection, wherein
The sensor, for acquiring the sensing data of gravity direction;
The storage and processing circuit, for generating first waveform figure according to the sensing data;To the first waveform figure
Intercept operation is carried out, the second waveform diagram is obtained, second waveform diagram is the waveform diagram of user's sleep stage;And according to described
Second waveform diagram is analyzed, and the sleep quality of user is obtained.
2. wearable device according to claim 1, which is characterized in that intercepted described to the first waveform figure
Operation, in terms of obtaining the second waveform diagram, the storage and processing circuit is specifically used for:
The first waveform figure is divided into multiple segmented waveform figures;
The average energy value for determining each segmented waveform figure in the multiple segmented waveform figure obtains multiple first average energies
Value;
First the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, obtains multiple first mesh
Mark the average energy value;
The corresponding segmented waveform figure of the multiple first object the average energy value is attached according to chronological order, is obtained
Second waveform diagram.
3. wearable device according to claim 1 or 2, which is characterized in that it is described according to second waveform diagram into
Row analysis, in terms of obtaining the sleep quality of user, the storage and processing circuit is specifically used for:
Collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave figure;
The continuous wave figure is divided into multiple section waveform diagrams;
The average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram obtains multiple average value rates excessively;
The corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, and obtains multiple sleep states;
The sleep quality of the user is determined according to the multiple sleep state.
4. wearable device according to claim 3, which is characterized in that the storage and processing circuit also particularly useful for:
Section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveform figures, section
Waveform diagram and frequency-domain waveform figure correspond;
The average energy value for determining each frequency-domain waveform figure in the multiple frequency-domain waveform figure respectively obtains the multiple second average energy
Magnitude;
In terms of the sleep quality for determining the user according to the multiple sleep state, the storage and processing circuit tool
Body is used for:
The multiple sleep state is verified according to the multiple second the average energy value, obtains multiple target sleep shapes
State;
The sleep quality of the user is determined according to the multiple target sleep state.
5. wearable device according to claim 4, which is characterized in that each target in the multiple target sleep state
Sleep state corresponds to a duration;
It is described determine the sleep quality of the user according to the multiple target sleep state in terms of, storage and processing electricity
Road is specifically used for:
The multiple target sleep state is classified, multiclass sleep state is obtained;
Every dormant total duration of one kind in the multiclass sleep state is counted, multiple total durations are obtained;
The sleep quality of the user is determined according to the total duration.
6. a kind of signal processing method, which is characterized in that be applied to wearable device, the wearable device, which is worn on, uses account
Portion, the method includes:
Acquire the sensing data of gravity direction;
First waveform figure is generated according to the sensing data;
Intercept operation is carried out to the first waveform figure, obtains the second waveform diagram, second waveform diagram is user's sleep stage
Waveform diagram;
It is analyzed according to second waveform diagram, obtains the sleep quality of user.
7. according to the method described in claim 6, it is characterized in that, it is described to the first waveform figure carry out intercept operation, obtain
To the second waveform diagram, including:
The first waveform figure is divided into multiple segmented waveform figures;
The average energy value for determining each segmented waveform figure in the multiple segmented waveform figure obtains multiple first average energies
Value;
First the average energy value for being less than preset threshold is chosen from the multiple first the average energy value, obtains multiple first mesh
Mark the average energy value;
The corresponding segmented waveform figure of the multiple first object the average energy value is attached according to chronological order, is obtained
Second waveform diagram.
8. method according to claim 6 or 7, which is characterized in that it is described to be analyzed according to second waveform diagram, it obtains
To the sleep quality of user, including:
Collection point in second waveform diagram is sequentially connected according to chronological order, obtains continuous wave figure;
The continuous wave figure is divided into multiple section waveform diagrams;
The average value rate excessively for counting each section waveform diagram in the multiple section waveform diagram obtains multiple average value rates excessively;
The corresponding sleep state of each section waveform diagram is determined according to the multiple average value rate of crossing, and obtains multiple sleep states;
The sleep quality of the user is determined according to the multiple sleep state.
9. according to the method described in claim 8, it is characterized in that, the method also includes:
Section waveform diagram each in the multiple section waveform diagram is subjected to frequency domain conversion, obtains multiple frequency-domain waveform figures, section
Waveform diagram and frequency-domain waveform figure correspond;
The average energy value for determining each frequency-domain waveform figure in the multiple frequency-domain waveform figure respectively obtains the multiple second average energy
Magnitude;
The sleep quality that the user is determined according to the multiple sleep state, including:
The multiple sleep state is verified according to the multiple second the average energy value, obtains multiple target sleep shapes
State;
The sleep quality of the user is determined according to the multiple target sleep state.
10. according to the method described in claim 9, it is characterized in that, each target sleep in the multiple target sleep state
State corresponds to a duration;
The sleep quality that the user is determined according to the multiple target sleep state, including:
The multiple target sleep state is classified, multiclass sleep state is obtained;
Every dormant total duration of one kind in the multiclass sleep state is counted, multiple total durations are obtained;
The sleep quality of the user is determined according to the total duration.
11. a kind of signal processing apparatus, which is characterized in that be applied to wearable device, the wearable device is worn on user
Head, described device include:Acquiring unit, generation unit, interception unit and analytical unit, wherein:
The acquiring unit, for acquiring the sensing data of gravity direction;
The generation unit, for generating first waveform figure according to the sensing data;
The interception unit obtains the second waveform diagram, second waveform for carrying out intercept operation to the first waveform figure
Figure is the waveform diagram of user's sleep stage;
The analytical unit obtains the sleep quality of user for being analyzed according to second waveform diagram.
12. a kind of wearable device, which is characterized in that including processor, memory, communication interface, and one or more journeys
Sequence, one or more of programs are stored in the memory, and are configured to be executed by the processor, described program
Include the steps that for executing such as the instruction in the described in any item methods of claim 6-10.
13. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute such as the described in any item methods of claim 6-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810496982.6A CN108882083B (en) | 2018-05-22 | 2018-05-22 | Signal processing method and Related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810496982.6A CN108882083B (en) | 2018-05-22 | 2018-05-22 | Signal processing method and Related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108882083A true CN108882083A (en) | 2018-11-23 |
CN108882083B CN108882083B (en) | 2019-10-18 |
Family
ID=64333190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810496982.6A Expired - Fee Related CN108882083B (en) | 2018-05-22 | 2018-05-22 | Signal processing method and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108882083B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109876271A (en) * | 2019-03-06 | 2019-06-14 | 赵舜奕 | A kind of long-range controlling and regulating system of wearable device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150374279A1 (en) * | 2014-06-25 | 2015-12-31 | Kabushiki Kaisha Toshiba | Sleep state estimation device, method and storage medium |
CN105380600A (en) * | 2015-11-04 | 2016-03-09 | 北京握奇数据系统有限公司 | Automatic sleep detection method and system based on wearable intelligent equipment |
US20160213308A1 (en) * | 2015-01-23 | 2016-07-28 | Hello Inc. | Room monitoring device and sleep analysis methods |
CN106333676A (en) * | 2016-09-21 | 2017-01-18 | 广州视源电子科技股份有限公司 | Apparatus for marking data type of electroencephalogram at waking state |
CN106667435A (en) * | 2016-12-17 | 2017-05-17 | 复旦大学 | Intelligent sensing mattress for monitoring sleep |
CN106725338A (en) * | 2017-01-06 | 2017-05-31 | 山东诺安诺泰信息系统有限公司 | A kind of sleep quality signal detecting method |
CN107440680A (en) * | 2016-03-24 | 2017-12-08 | 丰田自动车株式会社 | Sleep state estimating device |
CN107638165A (en) * | 2016-07-20 | 2018-01-30 | 平安科技(深圳)有限公司 | A kind of sleep detection method and device |
-
2018
- 2018-05-22 CN CN201810496982.6A patent/CN108882083B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150374279A1 (en) * | 2014-06-25 | 2015-12-31 | Kabushiki Kaisha Toshiba | Sleep state estimation device, method and storage medium |
US20160213308A1 (en) * | 2015-01-23 | 2016-07-28 | Hello Inc. | Room monitoring device and sleep analysis methods |
CN105380600A (en) * | 2015-11-04 | 2016-03-09 | 北京握奇数据系统有限公司 | Automatic sleep detection method and system based on wearable intelligent equipment |
CN107440680A (en) * | 2016-03-24 | 2017-12-08 | 丰田自动车株式会社 | Sleep state estimating device |
CN107638165A (en) * | 2016-07-20 | 2018-01-30 | 平安科技(深圳)有限公司 | A kind of sleep detection method and device |
CN106333676A (en) * | 2016-09-21 | 2017-01-18 | 广州视源电子科技股份有限公司 | Apparatus for marking data type of electroencephalogram at waking state |
CN106667435A (en) * | 2016-12-17 | 2017-05-17 | 复旦大学 | Intelligent sensing mattress for monitoring sleep |
CN106725338A (en) * | 2017-01-06 | 2017-05-31 | 山东诺安诺泰信息系统有限公司 | A kind of sleep quality signal detecting method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109876271A (en) * | 2019-03-06 | 2019-06-14 | 赵舜奕 | A kind of long-range controlling and regulating system of wearable device |
Also Published As
Publication number | Publication date |
---|---|
CN108882083B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810693A (en) | Apparatus control method and Related product | |
CN111970597B (en) | Earphone, method for detecting wearing state of earphone and electronic equipment | |
CN109068206A (en) | Principal and subordinate's earphone method for handover control and Related product | |
CN108958696A (en) | Principal and subordinate's earphone method for handover control and Related product | |
CN108683968A (en) | Display control method and related product | |
CN108769850A (en) | Apparatus control method and Related product | |
CN108737923A (en) | Volume adjusting method and related product | |
CN109583356A (en) | Fingerprint identification method and Related product | |
CN109614865A (en) | Fingerprint identification method and Related product | |
CN108874130A (en) | Control method for playing back and Related product | |
CN109005480A (en) | Information processing method and related product | |
CN109144454A (en) | double-sided screen display control method and related product | |
CN106596394A (en) | Hair detection method, terminal and comb | |
CN109753777A (en) | A kind of personal identification method, device, storage medium and mobile terminal | |
CN110475020A (en) | Apparatus control method and Related product | |
CN109067965A (en) | Interpretation method, translating equipment, wearable device and storage medium | |
CN108683790A (en) | Method of speech processing and Related product | |
CN109754823A (en) | A kind of voice activity detection method, mobile terminal | |
CN110363535A (en) | Pay abnormity prompt method and Related product | |
CN110210395A (en) | Vein image acquisition method and Related product | |
CN108670275A (en) | Signal processing method and related product | |
CN109756818A (en) | Dual microphone noise-reduction method, device, storage medium and electronic equipment | |
CN108769401A (en) | Signal detecting method and related product | |
CN108600886A (en) | UV detection method and Related product | |
CN108388340A (en) | Control method of electronic device and Related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191018 |