CN108600886A - UV detection method and Related product - Google Patents
UV detection method and Related product Download PDFInfo
- Publication number
- CN108600886A CN108600886A CN201810361916.8A CN201810361916A CN108600886A CN 108600886 A CN108600886 A CN 108600886A CN 201810361916 A CN201810361916 A CN 201810361916A CN 108600886 A CN108600886 A CN 108600886A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- wireless headset
- uitraviolet intensity
- sensor
- wearing state
- 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
- 238000000825 ultraviolet detection Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 38
- 238000001514 detection method Methods 0.000 claims abstract description 36
- 230000015654 memory Effects 0.000 claims description 30
- 238000004891 communication Methods 0.000 claims description 25
- 230000037072 sun protection Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000013497 data interchange Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 16
- 230000009471 action Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000011871 bio-impedance analysis Methods 0.000 description 2
- MRNHPUHPBOKKQT-UHFFFAOYSA-N indium;tin;hydrate Chemical compound O.[In].[Sn] MRNHPUHPBOKKQT-UHFFFAOYSA-N 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003834 intracellular effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 239000002574 poison Substances 0.000 description 1
- 231100000614 poison Toxicity 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 208000017520 skin disease Diseases 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
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/1041—Mechanical or electronic switches, or control elements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/42—Photometry, e.g. photographic exposure meter using electric radiation detectors
- G01J1/429—Photometry, e.g. photographic exposure meter using electric radiation detectors applied to measurement of ultraviolet light
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The embodiment of the present application discloses a kind of UV detection method and Related product, method therein include:The wearing state of wearable device is obtained based on proximity sensor, the wearing state is used to indicate whether user wears the wearable device;When wearing state instruction user wears the wearable device, the uitraviolet intensity of the environment residing for the wearable device is detected based on UV sensor;When the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request, the uitraviolet intensity of the detection is sent to the electronic equipment.The embodiment of the present application is conducive to provide to the user more accurate local uitraviolet intensity data, enables users to be properly protected measure according to practical uitraviolet intensity.
Description
Technical field
This application involves wearable device technical fields, and in particular to a kind of UV detection method and Related product.
Background technology
The spectrum of sunlight can be divided into infrared ray, visible light and ultraviolet light according to the difference of wavelength, and sunlight passes through air
The earth is reached after the filtration of layer, the light middle-ultraviolet lamp for reaching earth surface accounts for about 7%, and ultraviolet light is divided into as short wavelength UV
Line (UVC), ultraviolet B radiation (UVB) and long wave ultraviolet (UVA), research has shown that, appropriate ultraviolet light irradiation, which can sterilize, to disappear
Poison, can be with treatment part skin disease, but the irradiation of excessive ultraviolet light can damage skin and eyes, change the structure of matter
With destructiveness, such as causes intracellular DNA and change, lead to skin canceration, damage health.
Therefore, when people go on a journey, protection preparation is carried out generally according to the uitraviolet intensity in weather forecast, to avoid body
It is injured by the improper irradiation of ultraviolet light.However, usually weather forecast is subregion forecast domain, belong to the same region differently
Point shares the same Weather information, and the ultraviolet index in weather forecast is generally by the medium-and-large-sized ultraviolet light in weather station
Monitoring device monitors uitraviolet intensity, and what is monitored is range-restricted larger, therefore, in the weather forecast that people actually look at
The uitraviolet intensity in place of the uitraviolet intensity often and residing for itself has deviation.
Invention content
An embodiment of the present invention provides a kind of UV detection method and Related products, more accurate to provide to the user
Local uitraviolet intensity data enable users to be properly protected measure according to practical uitraviolet intensity.
In a first aspect, the embodiment of the present application provides a kind of wearable device, including proximity sensor, UV sensor,
Communication interface and processor, wherein:
The proximity sensor, the wearing state for obtaining wearable device, the wearing state are used to indicate user
Whether the wearable device is worn;
The UV sensor, for when wearing state instruction user wears the wearable device, detecting
The uitraviolet intensity of environment residing for the wearable device;
The communication interface, for detecting that it is ultraviolet that the electronic equipment being wirelessly connected with the wearable device is sent
When line intensity obtains request, the uitraviolet intensity of the detection is sent to the electronic equipment.
Second aspect, the embodiment of the present application provide a kind of UV detection method, including:
The wearing state of wearable device is obtained based on proximity sensor, the wearing state is used to indicate whether user wears
Wear the wearable device;
When wearing state instruction user wears the wearable device, being based on can described in UV sensor detection
The uitraviolet intensity of environment residing for wearable device;
When the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request,
The uitraviolet intensity of the detection is sent to the electronic equipment.
The third aspect, the embodiment of the present application provide a kind of ultraviolet detecting apparatus, including:
Acquiring unit, the wearing state for being obtained wearable device based on proximity sensor, the wearing state are used for
Whether instruction user wears the wearable device;
Detection unit, for when wearing state instruction user wears the wearable device, being passed based on ultraviolet light
Sensor detects the uitraviolet intensity of the environment residing for the wearable device;
When the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request,
The uitraviolet intensity of the detection is sent to the electronic equipment.
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 includes the instruction for executing the step 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 computer is readable
Computer program of the storage medium storage for electronic data interchange, wherein above computer program makes computer execute 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 computer program product
Non-transient computer readable storage medium including storing computer program, above computer program are operable to make calculating
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.
UV detection method provided by the embodiments of the present application is can be seen that, wearable device is obtained based on proximity sensor
The wearing state of wearable device, the wearing state is taken to be used to indicate whether user wears the wearable device, described
When wearing state indicates that user wears the wearable device, detected residing for the wearable device based on UV sensor
The uitraviolet intensity of environment is detecting that the uitraviolet intensity that the electronic equipment being wirelessly connected with the wearable device is sent obtains
When taking request, the uitraviolet intensity of the detection is sent to the electronic equipment.As it can be seen that can by implementing the embodiment of the present application
To provide more accurate local uitraviolet intensity data to the user, enables users to be properly protected according to practical uitraviolet intensity and arrange
It applies.
Description of the drawings
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the network architecture schematic diagram that a kind of electronic equipment disclosed in the embodiment of the present application is communicated with wearable device;
Fig. 2 is a kind of structural schematic diagram of wearable device disclosed in the embodiment of the present application;
Fig. 3 is a kind of flow diagram of UV detection method disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another UV detection method disclosed in the embodiment of the present application;
Fig. 5 is the flow diagram of another UV detection method disclosed in the embodiment of the present application;
Fig. 6 is the flow diagram of another UV detection method disclosed in the embodiment of the present application;
Fig. 7 is a kind of unit composition frame chart of ultraviolet detecting apparatus disclosed in the embodiment of the present application;
Fig. 8 is a kind of structural schematic diagram of wearable device disclosed in the embodiment of the present application;
Fig. 9 is a kind of structural schematic diagram of wearable device disclosed in the embodiment of the present application.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap
It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.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.
Electronic equipment may include various handheld device, mobile unit, computing device or company with wireless communication function
Other processing equipments and various forms of user equipmenies (User Equipment, UE) of radio modem are connected to, are moved
Dynamic platform (Mobile Station, MS), terminal device (terminal device) etc..It is above-mentioned to set for convenience of description
It is standby to be referred to as electronic equipment.
Wearable device in the embodiment of the present application, which may include any type, directly to be worn or be integrated into
The clothes or the portable electronic product in accessory of user.For example, wireless headset, glasses, sunglasses, smartwatch, intelligent hand
Ring etc..
Term " wearing " used in this application and " wearing state " can be used for referring to allow using wearable technology
One or more modes have user's body wearable technology or otherwise various modes associated therewith.
Referring to Fig. 1, the network structure that Fig. 1 is a kind of electronic equipment disclosed in the embodiment of the present application to be communicated with wearable device
Frame schematic diagram.May include wearable device 9000 and wearable device 200 in network architecture shown in Fig. 1.Wherein, originally
Apply in embodiment, for wearable device wireless headset.Wireless headset 200 can be by wireless network (for example, bluetooth, red
Outside line or WiFi) it is communicated to connect with wearable device 9000.It should be noted that the quantity of wireless headset 200 can be one
Or two, the embodiment of the present application is not construed as limiting.The network that wearable device 9000 shown in Fig. 1 is communicated with wireless headset 200
In framework, wireless headset 200 is described wireless based on UV sensor detection when detecting that user wears the wireless headset
The uitraviolet intensity of environment residing for earphone connects within the scope of wireless headset 200 and 9000 certain distance of wearable device
After work(, when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wireless headset is sent obtains request, by institute
The uitraviolet intensity for stating detection is sent to the electronic equipment.
In order to be best understood from a kind of UV detection method and Related product disclosed in the embodiment of the present application, below to this Shen
Please embodiment describe in detail.
It please refers to shown in Fig. 2, Fig. 2 is a kind of structural schematic diagram of wearable device provided by the embodiments of the present application, such as Fig. 2
Shown, the wearable device in the embodiment of the present application includes proximity sensor 201, UV sensor 202, communication interface 203
And processor 204, wherein:
The proximity sensor 201, the wearing state for obtaining wearable device, the wearing state are used to indicate use
Whether the wearable device is worn in family;
The UV sensor 202, for when wearing state instruction user wears the wearable device, examining
Survey the uitraviolet intensity of the environment residing for the wearable device;
The communication interface 203, for detecting what the electronic equipment being wirelessly connected with the wearable device was sent
When uitraviolet intensity obtains request, the uitraviolet intensity of the detection is sent to the electronic equipment.
In the embodiment of the present application, wearable device may include wireless headset.
The proximity sensor 201 can be any quantity and appoint for detecting when wireless headset is placed in the ear of user
The sensor of what type.For example, the proximity sensor 201 may include optical proximity sensor, pressure sensor, heat sensing
Any or all in device, moisture transducer etc..In addition, the proximity sensor 201 can be single type or multiple classes
Type.
UV sensor 202 is one kind of sensor, can pass through photovoltaic mode and guided optical mode using light-sensitive element
Ultraviolet light signal is converted into measurable electric signal.
Wherein, communication interface 203 includes but not limited to antenna, amplifier, transceiver, coupler, LNA (Low Noise
Amplifier, low-noise amplifier), duplexer etc..Memory 802 includes following at least one:It is random access memory (RAM), non-
Volatile memory and external memory.
Although being not shown, wireless headset 200 can further include:Audio output, memory, battery and Mike
Wind etc..In the embodiment of the present application, wireless headset can be a wireless headset, can also be coupled with shape with another wireless headset
Wireless wireless headset in a pair.In some cases, one coupled in wireless headset plays main function, and couples wireless ear
Another in machine plays booster action, wherein the former can be known as to main wireless headset, and can be known as assisting by the latter
Wireless headset.Main wireless headset can execute multiple actions, including:(i) it is matched with mobile electronic device;(ii) from mobile electricity
Sub- equipment receives audio data;(iii) audio data is transmitted to auxiliary wireless headset;(iv) it is received in ear from auxiliary wireless headset
Status information;And it (v) is sent to mobile electronic device about state in the ear of main wireless headset and/or auxiliary wireless headset
Data.
Wearable device provided by the embodiments of the present application is can be seen that, wearable device is obtained based on proximity sensor
Wearing state, the wearing state are used to indicate whether user wears the wearable device, indicate to use in the wearing state
When the wearable device is worn at family, the ultraviolet light that the environment residing for the wearable device is detected based on UV sensor is strong
Degree, when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request, by institute
The uitraviolet intensity for stating detection is sent to the electronic equipment.As it can be seen that can be provided to the user by implementing the embodiment of the present application
More accurate locality uitraviolet intensity data enable users to be properly protected measure according to practical uitraviolet intensity.
In one embodiment, the wireless headset includes the first wireless headset and the second wireless headset, the ultraviolet light
Sensor 202 includes the first UV sensor and the second UV sensor;First UV sensor is configured at institute
It states on the first wireless headset, the first uitraviolet intensity is obtained for detecting;Second UV sensor is configured at second nothing
On line earphone, the second uitraviolet intensity is obtained for detecting;
The processor 204, for detecting that first uitraviolet intensity is purple with described second within a preset period of time
When the ratio that the outside line intensity inconsistent time accounts for the preset time period is greater than or equal to predetermined threshold value, the first prompt letter is generated
Breath.
As it can be seen that the first uitraviolet intensity and the second wireless ear that wireless headset can detect on the first wireless headset
When the second uitraviolet intensity detected on machine is inconsistent for a long time, user is reminded.On the one hand the function of wireless headset is expanded,
It improves the recognition accuracy of the intelligent and special scenes of the UV detection based on wireless headset and on the other hand facilitates user
Can properly protect measure according to the practical uitraviolet intensity of different location, promote the comprehensive of protection, promote user experience.
Processor 204 is the control centre of wireless headset 200, is set using various interfaces and the entire mobile electron of connection
Standby various pieces execute the various functions and processing data of wireless headset 200, to carry out whole prison to wireless headset 200
Control.Optionally, processor 204 can integrate application processor and modem processor, wherein application processor mainly handles behaviour
Make system, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned
Modem processor can not also be integrated into processor.
In one embodiment, the processor 204 is additionally operable to obtain the currently playing song mark of the wireless headset
Know;Historical record based on the song identity and the wireless headset playback of songs to prestore, determines current geographical location
With system time, wherein the historical record of the wireless headset playback of songs includes song identity and system time and geographical position
The mapping relations set;Determine that the current geographical location meets preset condition with system time.
Specifically, wireless headset is recorded according to the playback of songs in a period of time, statistics song identity and the broadcasting song
System time and geographical location mapping relations.The song identity and the system time and geographical location for playing the song
Mapping relations can speculate the geography where current system time and wireless headset based on a song identity for wireless headset
Position.Determining the specific implementation that the current geographical location meets preset condition with system time can be:Determine nothing
The current geographical location of line earphone is outdoor (such as park, playground, road etc.), and system time is the preset time period on daytime
(such as 9:00 to 16:00).When wireless headset determines that current geographical location meets preset condition with system time, just hold
Row detects the operation of the uitraviolet intensity of the environment residing for the wireless headset based on UV sensor, and then saves wireless ear
The power consumption of machine extends the cruise duration of wireless headset.
In one embodiment, the wearable device further includes biosensor 205;
The biosensor 205, the skin parameters for obtaining the user's skin contacted with the wearable device,
In, the skin parameters include the moisture and oil of skin surface;
The processor 204 is additionally operable to determine the sun protection factor of user's skin based on the skin parameters;Detecting
When stating sun protection factor with uitraviolet intensity mismatch, the second prompt message is generated.
In the embodiment of the present application, biosensor 205 may include humidity sensor, Bioelectrical impedance analysis (BIA) biography
Sensor, and then realize moisture and oil under detection user's skin surface.Specifically, wireless headset 200 can pass through bioelectricity
Impedance analysis (BIA) sensor detects the impedance value of current skin, and the wireless headset 200 can be previously stored with the resistance of skin
The various correspondences of anti-value and skin quality index, wherein skin quality index includes the moisture value of skin, oil value and bullet
Property value, the impedance value of current skin that detection obtains is compared wireless headset 200 with pre-stored data, to obtain
The moisture value and oil value of current skin are obtained, and then the sun-proof of user's skin is determined according to the moisture value of current skin and oil value
Coefficient.
In one embodiment, the processor 204 is additionally operable to obtain containing for the ultraviolet light of the wearable device reception
Amount;Determine the ultraviolet light numerical intervals that the content of the ultraviolet light is fallen into;Generate the ultraviolet light numerical intervals pair with the determination
The prompt message answered.
In one embodiment, the ultraviolet light that the communication interface 203 can also receive the wearable device 200
Content is sent to electronic equipment, so that electronic equipment determines the ultraviolet light numerical intervals that the content of the ultraviolet light is fallen into, and it is raw
At prompt message corresponding with the ultraviolet light numerical intervals of the determination, and then user is reminded to reach default threshold in ultraviolet light content
The timely just safeguard procedures of value.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram of UV detection method provided by the embodiments of the present application, such as Fig. 3
Shown, the UV detection method in the embodiment of the present application includes the following steps:
S301, wearable device obtain the wearing state of wearable device based on proximity sensor, and the wearing state is used
The wearable device whether is worn in instruction user;
S302, the wearing state instruction user wear the wearable device when, wearable device be based on ultraviolet light
Sensor detects the uitraviolet intensity of the environment residing for the wearable device;
S303, it is asked in the uitraviolet intensity acquisition for detecting the electronic equipment being wirelessly connected with wearable device transmission
When asking, the uitraviolet intensity of the detection is sent to the electronic equipment by wearable device.
In one embodiment, the wearable device includes wireless headset, and the wireless headset includes the first wireless ear
Machine and the second wireless headset, in the wearing state, instruction user wears first wireless headset and second wireless headset
When, the uitraviolet intensity that the environment residing for the wireless headset is detected based on UV sensor, including:
The first UV sensor based on first wireless headset configuration detects to obtain the first uitraviolet intensity;
The second UV sensor based on second wireless headset configuration detects to obtain the second uitraviolet intensity;
The method further includes:
Detect within a preset period of time first uitraviolet intensity and second uitraviolet intensity it is inconsistent when
Between account for the preset time period ratio be greater than or equal to predetermined threshold value when, generate the first prompt message.
In one embodiment, the ultraviolet light that the environment residing for the wireless headset is detected based on UV sensor
Before intensity, the method further includes:
Obtain the currently playing song identity of the wireless headset;
Historical record based on the song identity and the wireless headset playback of songs to prestore, determines current geography
Position and system time, wherein the historical record of the wireless headset playback of songs includes song identity and system time and ground
Manage the mapping relations of position;
Determine that the current geographical location meets preset condition with system time.
In one embodiment, described that the ultraviolet of the environment residing for the wearable device is detected based on UV sensor
After line intensity, the method further includes:
The skin parameters of the user's skin contacted with the wearable device are obtained based on biosensor, wherein described
Skin parameters include the moisture and oil of skin surface;
The sun protection factor of user's skin is determined based on the skin parameters;
When detecting that the sun protection factor is mismatched with the uitraviolet intensity, the second prompt message is generated.
In one embodiment, the ultraviolet light that the environment residing for the wearable device is detected based on UV sensor is strong
After degree, the method further includes:
Obtain the content for the ultraviolet light that the wearable device receives;
Determine the ultraviolet light numerical intervals that the content of the ultraviolet light is fallen into;
Generate prompt message corresponding with the ultraviolet light numerical intervals of the determination.
UV detection method provided by the embodiments of the present application is can be seen that, wearable device is obtained based on proximity sensor
The wearing state of wearable device, the wearing state is taken to be used to indicate whether user wears the wearable device, described
When wearing state indicates that user wears the wearable device, detected residing for the wearable device based on UV sensor
The uitraviolet intensity of environment is detecting that the uitraviolet intensity that the electronic equipment being wirelessly connected with the wearable device is sent obtains
When taking request, the uitraviolet intensity of the detection is sent to the electronic equipment.As it can be seen that can by implementing the embodiment of the present application
To provide more accurate local uitraviolet intensity data to the user, enables users to be properly protected according to practical uitraviolet intensity and arrange
It applies.
It is consistent with above-mentioned embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application another purple
The flow diagram of outer line detecting method.As shown in figure 4, the UV detection method in the embodiment of the present application includes following step
Suddenly:
S401, wireless headset obtain the currently playing song identity of the wireless headset.
Wireless headset in the embodiment of the present application includes the first wireless headset and the second wireless headset.
The historical record of S402, wireless headset based on the song identity and the wireless headset playback of songs to prestore,
Determine current geographical location and system time, wherein the historical record of the wireless headset playback of songs includes song identity
With the mapping relations of system time and geographical location;
S403, wireless headset determine that the current geographical location and system time meet preset condition.
S404, wireless headset obtain the wearing state of the first wireless headset and the second wireless headset based on proximity sensor,
The wearing state is used to indicate whether user wears first wireless headset and second wireless headset;
S405, first wireless headset is worn in wearing state instruction user and when second wireless headset,
The first UV sensor based on first wireless headset configuration detects to obtain the first uitraviolet intensity, is based on described second
Second UV sensor of wireless headset configuration detects to obtain the second uitraviolet intensity;
Wherein, wireless headset can synchronize after executing the step S405 and execute step S406 and S407.
S406, it asks detecting that uitraviolet intensity that the electronic equipment being wirelessly connected with the wireless headset is sent obtains
When, the first uitraviolet intensity of the detection and second uitraviolet intensity are sent to the electronic equipment by wireless headset.
S407, detect that first uitraviolet intensity and second uitraviolet intensity are inconsistent within a preset period of time
Time account for the preset time period ratio be greater than or equal to predetermined threshold value when, wireless headset generate the first prompt message.
UV detection method provided by the embodiments of the present application is can be seen that, wireless headset is obtained based on proximity sensor
The wearing state of wireless headset, the wearing state are used to indicate whether user wears the wireless headset, in the wearing shape
When state indicates that user wears the wireless headset, the ultraviolet of the environment residing for the wireless headset is detected based on UV sensor
Line intensity will when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wireless headset is sent obtains request
The uitraviolet intensity of the detection is sent to the electronic equipment, while the first ultraviolet light detected in the first wireless headset
User is prompted when intensity and the second uitraviolet intensity that the second wireless headset detects inconsistent for a long time.As it can be seen that passing through reality
More accurate local uitraviolet intensity data can be provided to the user by applying the embodiment of the present application, be enabled users to according to practical ultraviolet light
Intensity properly protects measure.
It is consistent with above-mentioned Fig. 3 or shown in Fig. 4 embodiments, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application another
A kind of flow diagram of UV detection method.As shown in figure 5, the UV detection method in the embodiment of the present application include with
Lower step:
S501, wireless headset obtain the currently playing song identity of the wireless headset;
The historical record of S502, wireless headset based on the song identity and the wireless headset playback of songs to prestore,
Determine current geographical location and system time, wherein the historical record of the wireless headset playback of songs includes song identity
With the mapping relations of system time and geographical location;
S503, wireless headset determine that the current geographical location and system time meet preset condition.
S504, wireless headset obtain the wearing state of wireless headset based on proximity sensor, and the wearing state is for referring to
Show whether user wears the wireless headset;
S505, the wearing state instruction user wear the wireless headset when, wireless headset be based on ultraviolet light sensing
Device detects the uitraviolet intensity of the environment residing for the wireless headset;
Wherein, wireless headset can execute step S506 after executing the step S505, can also execute step S507
To S509.
S506, it asks detecting that uitraviolet intensity that the electronic equipment being wirelessly connected with the wireless headset is sent obtains
When, the uitraviolet intensity of the detection is sent to the electronic equipment by wireless headset.
S507, wireless headset obtain the skin ginseng of the user's skin contacted with the wireless headset based on biosensor
Number, wherein the skin parameters include the moisture and oil of skin surface;
S508, wireless headset determine the sun protection factor of user's skin based on the skin parameters;
S509, when detecting that the sun protection factor and the uitraviolet intensity mismatch, wireless headset generates second and carries
Show information.
UV detection method provided by the embodiments of the present application is can be seen that, wireless headset is obtained based on proximity sensor
The wearing state of wireless headset, the wearing state are used to indicate whether user wears the wireless headset, in the wearing shape
When state indicates that user wears the wireless headset, the ultraviolet of the environment residing for the wireless headset is detected based on UV sensor
Line intensity will when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wireless headset is sent obtains request
The uitraviolet intensity of the detection is sent to the electronic equipment, while in the sun protection factor and ultraviolet light for detecting user's skin
When Strength mis match, user is prompted.As it can be seen that by implement the embodiment of the present application can provide to the user it is more accurate local ultraviolet
Line intensity data enables users to be properly protected measure according to practical uitraviolet intensity.
It is consistent to embodiment shown in fig. 5 with above-mentioned Fig. 3, referring to Fig. 6, Fig. 6 is provided by the embodiments of the present application another
A kind of flow diagram of UV detection method.As shown in fig. 6, the UV detection method in the embodiment of the present application include with
Lower step:
S601, wireless headset obtain the currently playing song identity of the wireless headset;
The historical record of S602, wireless headset based on the song identity and the wireless headset playback of songs to prestore,
Determine current geographical location and system time, wherein the historical record of the wireless headset playback of songs includes song identity
With the mapping relations of system time and geographical location;
S603, wireless headset determine that the current geographical location and system time meet preset condition.
S604, wireless headset obtain the wearing state of wireless headset based on proximity sensor, and the wearing state is for referring to
Show whether user wears the wireless headset;
S605, the wearing state instruction user wear the wireless headset when, wireless headset be based on ultraviolet light sensing
Device detects the uitraviolet intensity of the environment residing for the wireless headset;
Wherein, wireless headset can execute step S606 after executing the step S505, can also execute step S607
To S609.
S606, it asks detecting that uitraviolet intensity that the electronic equipment being wirelessly connected with the wireless headset is sent obtains
When, the uitraviolet intensity of the detection is sent to the electronic equipment by wireless headset.
S607, wireless headset obtain the content for the ultraviolet light that the wireless headset receives;
S608, wireless headset determine the ultraviolet light numerical intervals that the content of the ultraviolet light is fallen into;
S609, wireless headset generate prompt message corresponding with the ultraviolet light numerical intervals of the determination.
UV detection method provided by the embodiments of the present application is can be seen that, wireless headset is obtained based on proximity sensor
The wearing state of wireless headset, the wearing state are used to indicate whether user wears the wireless headset, in the wearing shape
When state indicates that user wears the wireless headset, the ultraviolet of the environment residing for the wireless headset is detected based on UV sensor
Line intensity will when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wireless headset is sent obtains request
The uitraviolet intensity of the detection is sent to the electronic equipment, while generating difference according to the ultraviolet light content of different receptions
Prompt message.As it can be seen that can provide more accurate local uitraviolet intensity data to the user by implementing the embodiment of the present application,
It enables users to be properly protected measure according to practical uitraviolet intensity.
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 appreciated that
, for electronic device in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software mould
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, and depend on the specific application and design constraint item of technical solution
Part.Professional technician specifically can 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 electronic device according to the above method example division of functional unit, for example, can
Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit
In.The form that hardware had both may be used in above-mentioned integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs
It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing the method for the present invention embodiment
Method.Referring to Fig. 7, Fig. 7 is a kind of unit composition frame chart of ultraviolet detecting apparatus disclosed in the embodiment of the present application, such as scheme
Shown in 7, which may include acquiring unit 701, detection unit 702 and transmission unit 703, wherein:
Acquiring unit 701, the wearing state for being obtained wearable device based on proximity sensor, the wearing state are used
The wearable device whether is worn in instruction user;
Detection unit 702, for when wearing state instruction user wears the wearable device, being based on ultraviolet light
Sensor detects the uitraviolet intensity of the environment residing for the wearable device;
Transmission unit 703, for detecting that it is ultraviolet that the electronic equipment being wirelessly connected with the wearable device is sent
When line intensity obtains request, the uitraviolet intensity of the detection is sent to the electronic equipment.
In one embodiment, the wearable device includes wireless headset, and the wireless headset includes the first wireless ear
Machine and the second wireless headset, in the wearing state, instruction user wears first wireless headset and second wireless headset
When, the detection unit 702 is specifically used for:
The first UV sensor based on first wireless headset configuration detects to obtain the first uitraviolet intensity;
The second UV sensor based on second wireless headset configuration detects to obtain the second uitraviolet intensity;
Described device further includes:
First prompt unit 704, for detecting first uitraviolet intensity and described second within a preset period of time
When the ratio that the uitraviolet intensity inconsistent time accounts for the preset time period is greater than or equal to predetermined threshold value, the first prompt is generated
Information.
In one embodiment, described device further includes:
Determination unit 705, the song identity currently playing for obtaining the wireless headset;Based on the song identity with
The historical record of the wireless headset playback of songs to prestore, determines current geographical location and system time, wherein the nothing
The historical record of line earphone playback of songs includes the mapping relations of song identity and system time and geographical location;Work as described in determination
Preceding geographical location meets preset condition with system time.
In one embodiment, described device further includes:
Second prompt unit 706, for obtaining the user's skin contacted with the wearable device based on biosensor
Skin parameters, wherein the skin parameters include the moisture and oil of skin surface;User is determined based on the skin parameters
The sun protection factor of skin;When detecting that the sun protection factor is mismatched with the uitraviolet intensity, the second prompt message is generated.
In one embodiment, described device further includes:
Third prompt unit 707, the content for obtaining the ultraviolet light that the wearable device receives;It determines described ultraviolet
The ultraviolet light numerical intervals that the content of line is fallen into;Generate prompt message corresponding with the ultraviolet light numerical intervals of the determination.
Specifically, the specific implementation of above-mentioned each unit can refer to retouching for correlation step in Fig. 3 to Fig. 6 corresponding embodiments
It states, this will not be repeated here.
It should be noted that ultraviolet detecting apparatus described in apparatus of the present invention embodiment is in the form of functional unit
It presents.Term " unit " used herein above should be understood as meaning as widest as possible, be retouched for realizing each " unit "
The object for stating function for example can be integrated circuit ASIC, single circuit, for executing one or more softwares or firmware program
Processor (shared, dedicated or chipset) and memory, combinational logic circuit, and/or provide and realize above-mentioned function
Other suitable components.
For example, above-mentioned acquiring unit 701 obtains the function of the wearing state of wearable device based on proximity sensor
Wearable device that can be as shown in Figure 8 realizes, specifically can by processor 801 by call in memory 802 can
Program code is executed, the wearing state of wearable device is obtained based on proximity sensor.
Ultraviolet detecting apparatus provided by the embodiments of the present application is can be seen that, wearable set is obtained based on proximity sensor
Standby wearing state, the wearing state are used to indicate whether user wears the wearable device, refer in the wearing state
When showing that user wears the wearable device, the ultraviolet of the environment residing for the wearable device is detected based on UV sensor
Line intensity, when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request,
The uitraviolet intensity of the detection is sent to the electronic equipment, at the same the sun protection factor for detecting user's skin with it is ultraviolet
When line Strength mis match, user is prompted.As it can be seen that more accurate local purple can be provided to the user by implementing the embodiment of the present application
Outside line intensity data enables users to be properly protected measure according to practical uitraviolet intensity.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another wearable device 800 disclosed in the embodiment of the present application.It can wear
It includes processor 801, memory 802, communication interface 803 and one or more programs to wear equipment 800, wherein said one
Or multiple programs are stored in above-mentioned memory 802, and be configured to be executed by above-mentioned processor 801, in described program
Instruction is for performing the following operations:
The wearing state of wearable device is obtained based on proximity sensor, the wearing state is used to indicate whether user wears
Wear the wearable device;
When wearing state instruction user wears the wearable device, being based on can described in UV sensor detection
The uitraviolet intensity of environment residing for wearable device;
When the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request,
The uitraviolet intensity of the detection is sent to the electronic equipment.
In one embodiment, the wearable device includes wireless headset, and the wireless headset includes first wireless
Earphone and the second wireless headset, in the wearing state, instruction user wears first wireless headset and the second wireless ear
When machine, in terms of the uitraviolet intensity for detecting the environment residing for the wireless headset based on UV sensor, in described program
Instruction be specifically used for executing following operation:
The first UV sensor based on first wireless headset configuration detects to obtain the first uitraviolet intensity;
The second UV sensor based on second wireless headset configuration detects to obtain the second uitraviolet intensity;
Described program further includes instructions for performing the following operations:
Detect within a preset period of time first uitraviolet intensity and second uitraviolet intensity it is inconsistent when
Between account for the preset time period ratio be greater than or equal to predetermined threshold value when, generate the first prompt message.
In one embodiment, described program further includes instructions for performing the following operations:
Obtain the currently playing song identity of the wireless headset;
Historical record based on the song identity and the wireless headset playback of songs to prestore, determines current geography
Position and system time, wherein the historical record of the wireless headset playback of songs includes song identity and system time and ground
Manage the mapping relations of position;
Determine that the current geographical location meets preset condition with system time.
In one embodiment, described program further includes instructions for performing the following operations:
The skin parameters of the user's skin contacted with the wearable device are obtained based on biosensor, wherein described
Skin parameters include the moisture and oil of skin surface;
The sun protection factor of user's skin is determined based on the skin parameters;
When detecting that the sun protection factor is mismatched with the uitraviolet intensity, the second prompt message is generated.
In one embodiment, described program further includes instructions for performing the following operations:
Obtain the content for the ultraviolet light that the wearable device receives;
Determine the ultraviolet light numerical intervals that the content of the ultraviolet light is fallen into;
Generate prompt message corresponding with the ultraviolet light numerical intervals of the determination.
Wherein, communication interface 803 includes but not limited to antenna, amplifier, transceiver, coupler, LNA (Low Noise
Amplifier, low-noise amplifier), duplexer etc..Memory 802 includes following at least one:It is random access memory (RAM), non-
Volatile memory and external memory.
Specifically, the specific implementation of above-mentioned each unit can refer to retouching for correlation step in Fig. 3 to Fig. 6 corresponding embodiments
It states, this will not be repeated here.
Wearable device provided by the embodiments of the present application is can be seen that, wearable device is obtained based on proximity sensor
Wearing state, the wearing state are used to indicate whether user wears the wearable device, indicate to use in the wearing state
When the wearable device is worn at family, the ultraviolet light that the environment residing for the wearable device is detected based on UV sensor is strong
Degree, when the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request, by institute
The uitraviolet intensity for stating detection is sent to the electronic equipment, while strong in the sun protection factor and ultraviolet light for detecting user's skin
When degree mismatches, user is prompted.As it can be seen that more accurate local ultraviolet light can be provided to the user by implementing the embodiment of the present application
Intensity data enables users to be properly protected measure according to practical uitraviolet intensity.
As shown in figure 9, Fig. 9 is the structural schematic diagram of another wearable device 900 disclosed in the embodiment of the present application.It can wear
It may include control circuit to wear equipment 900, which may include storage and processing circuit 30.The storage and processing circuit
30 can be with memory, such as hard drive memory, and nonvolatile memory (such as flash memory or is used to form solid state drive
Other electrically programmable read only memories etc.), volatile memory (such as either statically or dynamically random access memory etc.) etc., this
Application embodiment is not restricted.Processing circuit in storage and processing circuit 30 can be used for controlling the fortune of wearable device 900
Turn.The processing circuit can microprocessor based on one or more, microcontroller, digital signal processor, baseband processor, work(
Rate administrative unit, audio codec chip, application-specific integrated circuit, display-driver Ics etc. are realized.
Storage and processing circuit 30 can be used for running the software in wearable device 900, 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, the Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, based on proximity sensor close to sensing
Device measures, 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 900 are pressed, the embodiment of the present application does not limit
System.
Wearable device 900 can also include input-output circuit 42.Input-output circuit 42 can be used for making wearable
Equipment 900 realizes outputting and inputting for data, that is, wearable device 900 is allowed to allow to wear from outer equipment receiving data and also
Equipment 900 is worn by data from the output of wearable device 900 to external equipment.Input-output circuit 42 may further include biography
Sensor 32.Sensor 32 may include ambient light sensor, the proximity sensor based on light and capacitance, touch sensor (for example,
Based on light touch sensor and/or capacitive touch sensors, wherein touch sensor can be one of touching display screen
Point, can also be used as a touch sensor arrangement and independently use), acceleration transducer and other sensors etc..
Input-output circuit 42 can also include one or more displays, such as display 14.Display 14 can wrap
Include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display uses other display skills
One or several kinds of combination in the display of art.Display 14 may include touch sensor array (that is, display 14 can be with
It is touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) battle array
The capacitive touch sensors formed are arranged, or can be the touch sensor formed using other touching techniques, such as sound wave
Touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is not restricted.
Wearable device 900 can also include audio component 36.Audio component 36 can be used for carrying for wearable device 900
For audio input and output function.Audio component 36 in wearable device 900 may include loud speaker, microphone, buzzer,
Tone generator and other components for generating and detecting sound.
Telecommunication circuit 38 can be used for providing the ability with external device communication for wearable device 900.Telecommunication circuit 38
May include analog- and digital- input-output interface circuit, and the radio communication circuit based on radiofrequency signal and/or optical signal.
Radio communication circuit in telecommunication circuit 38 may include radio-frequency transceiver circuitry, power amplifier circuit, low-noise amplifier,
Switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit 38 may include for by emitting and connecing
Near-field coupling electromagnetic signal is received to support the circuit of near-field communication (Near Field Communication, NFC).For example, logical
Believe that circuit 38 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 38 can also include that cellular phone is received and dispatched
Device and antenna, wireless lan transceiver circuit and antenna etc..
Wearable device 900 can further include battery, power management circuitry and other input-output units 40.
Input-output unit 40 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, hair
Optical diode and other positioning indicators etc..
User can input a command for the operation of control wearable device 900 by input-output circuit 42, and can be with
Using the output data of input-output circuit 42 status information and other outputs from wearable device 900 are received to realize.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of any type UV detection method described in method embodiment step.
The embodiment of the present application also provides a kind of computer storage media, wherein the computer storage media can be stored with journey
Sequence, the program include some or all of any type UV detection method described in above method embodiment step when executing
Suddenly.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
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, it may refer to the associated description of other embodiment.
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, for example, the unit division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component 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 by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer-readable access to memory.Based on this understanding, technical scheme of the present invention 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 the method for the present invention
Step.And memory above-mentioned includes:USB flash disk, read-only memory (read-only memory, ROM), random access memory
The various media that can store program code such as (random access memory, RAM), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory
May include:Flash disk, read-only memory (read-only memory, ROM), random access device (random access
Memory, 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 present invention and
Embodiment is expounded, and the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;
Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications
There is change place, in conclusion the content of the present specification should not be construed as limiting the invention.
Claims (13)
1. a kind of wearable device, which is characterized in that including proximity sensor, UV sensor, communication interface and processing
Device, wherein:
Whether the proximity sensor, the wearing state for obtaining wearable device, the wearing state are used to indicate user
Wear the wearable device;
The UV sensor is used for when wearing state instruction user wears the wearable device, described in detection
The uitraviolet intensity of environment residing for wearable device;
The communication interface, for detecting that the ultraviolet light that the electronic equipment being wirelessly connected with the wearable device is sent is strong
When degree obtains request, the uitraviolet intensity of the detection is sent to the electronic equipment.
2. wearable device as described in claim 1, which is characterized in that the wearable device includes wireless headset, described
Wireless headset include the first wireless headset and the second wireless headset, the UV sensor include the first UV sensor and
Second UV sensor;First UV sensor is configured on first wireless headset, and the is obtained for detecting
One uitraviolet intensity;Second UV sensor is configured on second wireless headset, and the second ultraviolet light is obtained for detecting
Intensity;
The processor, for detecting first uitraviolet intensity and second uitraviolet intensity within a preset period of time
When the ratio that the inconsistent time accounts for the preset time period is greater than or equal to predetermined threshold value, the first prompt message is generated.
3. wearable device as claimed in claim 2, which is characterized in that
The processor is additionally operable to obtain the currently playing song identity of the wireless headset;Based on the song identity and in advance
The historical record for the wireless headset playback of songs deposited, determines current geographical location and system time, wherein described wireless
The historical record of earphone playback of songs includes the mapping relations of song identity and system time and geographical location;It determines described current
Geographical location and system time meet preset condition.
4. wearable device as described in any one of claims 1 to 3, which is characterized in that the wearable device further includes life
Object sensor;
The biosensor, the skin parameters for obtaining the user's skin contacted with the wearable device, wherein described
Skin parameters include the moisture and oil of skin surface;
The processor is additionally operable to determine the sun protection factor of user's skin based on the skin parameters;It is described sun-proof detecting
When coefficient is mismatched with the uitraviolet intensity, the second prompt message is generated.
5. such as Claims 1-4 any one of them wearable device, which is characterized in that
The processor is additionally operable to obtain the content for the ultraviolet light that the wearable device receives;Determine containing for the ultraviolet light
Measure the ultraviolet light numerical intervals fallen into;Generate prompt message corresponding with the ultraviolet light numerical intervals of the determination.
6. a kind of UV detection method, which is characterized in that including:
The wearing state of wearable device is obtained based on proximity sensor, the wearing state is used to indicate whether user wears institute
State wearable device;
When wearing state instruction user wears the wearable device, detected based on UV sensor described wearable
The uitraviolet intensity of environment residing for equipment;
When the uitraviolet intensity for detecting that the electronic equipment being wirelessly connected with the wearable device is sent obtains request, by institute
The uitraviolet intensity for stating detection is sent to the electronic equipment.
7. method as claimed in claim 6, which is characterized in that the wearable device includes wireless headset, the wireless ear
Machine includes the first wireless headset and the second wireless headset, wearing state instruction user wear first wireless headset and
When second wireless headset, the ultraviolet light that the environment residing for the wireless headset is detected based on UV sensor is strong
Degree, including:
The first UV sensor based on first wireless headset configuration detects to obtain the first uitraviolet intensity;
The second UV sensor based on second wireless headset configuration detects to obtain the second uitraviolet intensity;
The method further includes:
Detect that first uitraviolet intensity time inconsistent with second uitraviolet intensity accounts within a preset period of time
When the ratio of the preset time period is greater than or equal to predetermined threshold value, the first prompt message is generated.
8. the method for claim 7, which is characterized in that described to detect the wireless headset institute based on UV sensor
Before the uitraviolet intensity of the environment at place, the method further includes:
Obtain the currently playing song identity of the wireless headset;
Historical record based on the song identity and the wireless headset playback of songs to prestore, determines current geographical location
With system time, wherein the historical record of the wireless headset playback of songs includes song identity and system time and geographical position
The mapping relations set;
Determine that the current geographical location meets preset condition with system time.
9. such as claim 6 to 8 any one of them method, which is characterized in that described based on described in UV sensor detection
After the uitraviolet intensity of environment residing for wearable device, the method further includes:
The skin parameters of the user's skin contacted with the wearable device are obtained based on biosensor, wherein the skin
Parameter includes the moisture and oil of skin surface;
The sun protection factor of user's skin is determined based on the skin parameters;
When detecting that the sun protection factor is mismatched with the uitraviolet intensity, the second prompt message is generated.
10. such as claim 6 to 9 any one of them method, which is characterized in that described wireless based on UV sensor detection
After the uitraviolet intensity of environment residing for earphone, the method further includes:
Obtain the content for the ultraviolet light that the wearable device receives;
Determine the ultraviolet light numerical intervals that the content of the ultraviolet light is fallen into;
Generate prompt message corresponding with the ultraviolet light numerical intervals of the determination.
11. a kind of ultraviolet detecting apparatus, which is characterized in that including:
Acquiring unit, the wearing state for being obtained wearable device based on proximity sensor, the wearing state are used to indicate
Whether user wears the wearable device;
Detection unit, for when wearing state instruction user wears the wearable device, being based on UV sensor
Detect the uitraviolet intensity of the environment residing for the wearable device;
Transmission unit, for detecting that the uitraviolet intensity that the electronic equipment being wirelessly connected with the wearable device is sent obtains
When taking request, the uitraviolet intensity of the detection is sent to the electronic equipment.
12. a kind of wearable device, which is characterized in that including processor, memory, communication interface and one or more journeys
Sequence, wherein one or more of programs are stored in the memory, and are configured to be executed by the processor, institute
It includes that the instruction of the step in 6 to 10 any one methods is required for perform claim to state program.
13. a kind of computer readable storage medium, which is characterized in that it stores the computer program for electronic data interchange,
Wherein, the computer program makes computer execute the method as described in any one of claim 6 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810361916.8A CN108600886B (en) | 2018-04-20 | 2018-04-20 | Ultraviolet detection method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810361916.8A CN108600886B (en) | 2018-04-20 | 2018-04-20 | Ultraviolet detection method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108600886A true CN108600886A (en) | 2018-09-28 |
CN108600886B CN108600886B (en) | 2020-01-14 |
Family
ID=63614425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810361916.8A Active CN108600886B (en) | 2018-04-20 | 2018-04-20 | Ultraviolet detection method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108600886B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110292358A (en) * | 2019-06-27 | 2019-10-01 | Oppo广东移动通信有限公司 | Electronic device, information-pushing method and Related product |
CN111225320A (en) * | 2019-12-31 | 2020-06-02 | 歌尔股份有限公司 | Earphone wearing state detection method, earphone and readable storage medium |
CN112750515A (en) * | 2019-10-31 | 2021-05-04 | Oppo广东移动通信有限公司 | Health prompting method and related product |
DE102020208682A1 (en) | 2020-07-10 | 2022-01-13 | Robert Bosch Gesellschaft mit beschränkter Haftung | Method for determining a wearing condition of an earphone and earphone system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140133670A1 (en) * | 2012-11-12 | 2014-05-15 | Powertech Industrial Co., Ltd. | Headphone device |
CN205092946U (en) * | 2015-10-15 | 2016-03-16 | 歌尔声学股份有限公司 | Headset |
CN105721010A (en) * | 2016-03-30 | 2016-06-29 | 深圳还是威健康科技有限公司 | Ultraviolet early-warning system and wearing device |
CN106454592A (en) * | 2016-10-20 | 2017-02-22 | 天津大学 | Necklace type intelligent earphone based on mobile phone |
CN107577795A (en) * | 2017-09-19 | 2018-01-12 | 广州酷狗计算机科技有限公司 | A kind of methods, devices and systems for recommending song |
-
2018
- 2018-04-20 CN CN201810361916.8A patent/CN108600886B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140133670A1 (en) * | 2012-11-12 | 2014-05-15 | Powertech Industrial Co., Ltd. | Headphone device |
CN205092946U (en) * | 2015-10-15 | 2016-03-16 | 歌尔声学股份有限公司 | Headset |
CN105721010A (en) * | 2016-03-30 | 2016-06-29 | 深圳还是威健康科技有限公司 | Ultraviolet early-warning system and wearing device |
CN106454592A (en) * | 2016-10-20 | 2017-02-22 | 天津大学 | Necklace type intelligent earphone based on mobile phone |
CN107577795A (en) * | 2017-09-19 | 2018-01-12 | 广州酷狗计算机科技有限公司 | A kind of methods, devices and systems for recommending song |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110292358A (en) * | 2019-06-27 | 2019-10-01 | Oppo广东移动通信有限公司 | Electronic device, information-pushing method and Related product |
CN112750515A (en) * | 2019-10-31 | 2021-05-04 | Oppo广东移动通信有限公司 | Health prompting method and related product |
CN111225320A (en) * | 2019-12-31 | 2020-06-02 | 歌尔股份有限公司 | Earphone wearing state detection method, earphone and readable storage medium |
DE102020208682A1 (en) | 2020-07-10 | 2022-01-13 | Robert Bosch Gesellschaft mit beschränkter Haftung | Method for determining a wearing condition of an earphone and earphone system |
WO2022008146A1 (en) | 2020-07-10 | 2022-01-13 | Robert Bosch Gmbh | Method for determining a wearing state of an earphone, and earphone system |
Also Published As
Publication number | Publication date |
---|---|
CN108600886B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105078409B (en) | Approaches to IM and electronic device | |
CN108600886A (en) | UV detection method and Related product | |
CN108958696A (en) | Principal and subordinate's earphone method for handover control and Related product | |
CN108541080A (en) | First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian | |
CN109144454A (en) | double-sided screen display control method and related product | |
CN108737923A (en) | Volume adjusting method and related product | |
CN110210395B (en) | Vein image acquisition method and related product | |
CN104000580A (en) | Method and mouse device for testing human health information | |
CN107566604A (en) | The control method and user terminal of a kind of prompting message | |
CN109561420A (en) | A kind of method and relevant device of emergency help | |
CN110443769A (en) | Image processing method, image processing apparatus and terminal device | |
CN109348528A (en) | Display control method and Related product | |
CN110579978A (en) | Method and device for adjusting household appliance and storage medium | |
CN109376700A (en) | Fingerprint identification method and Related product | |
CN108921541A (en) | Method of payment and Related product | |
CN110475020A (en) | Apparatus control method and Related product | |
CN108777741A (en) | antenna switching control method and related product | |
CN101702738A (en) | Body temperature measuring cell phone and use method thereof | |
CN105554218B (en) | A kind of Headphone volume adjusting method and relevant device | |
CN110221696A (en) | Eyeball tracking method and Related product | |
CN108668018A (en) | Mobile terminal, method for controlling volume and Related product | |
CN109032344A (en) | Location processing method and Related product | |
CN108965583A (en) | Proximity test method and relevant device | |
CN107314815B (en) | Ultraviolet intensity monitoring method and system and mobile terminal | |
CN110378263B (en) | Fingerprint identification method 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 |