CN107655567A - Ultraviolet early warning method and device, wearable device and storage medium - Google Patents

Ultraviolet early warning method and device, wearable device and storage medium Download PDF

Info

Publication number
CN107655567A
CN107655567A CN201710847962.4A CN201710847962A CN107655567A CN 107655567 A CN107655567 A CN 107655567A CN 201710847962 A CN201710847962 A CN 201710847962A CN 107655567 A CN107655567 A CN 107655567A
Authority
CN
China
Prior art keywords
value
user
skin
harm
ultraviolet
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.)
Pending
Application number
CN201710847962.4A
Other languages
Chinese (zh)
Inventor
杨婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710847962.4A priority Critical patent/CN107655567A/en
Publication of CN107655567A publication Critical patent/CN107655567A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/429Photometry, e.g. photographic exposure meter using electric radiation detectors applied to measurement of ultraviolet light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • G01J3/50Measurement of colour; Colour measuring devices, e.g. colorimeters using electric radiation detectors

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an ultraviolet early warning method, an ultraviolet early warning device, wearing equipment and a storage medium. The method comprises the following steps: acquiring an ultraviolet intensity value of a current environment and an image of the skin of a user; determining a skin tone value of a user according to the image; determining a target damage value of ultraviolet rays to the skin of the user according to the ultraviolet ray intensity value and the skin color value; and when the target hazard value is larger than a set hazard threshold value, sending alarm information. The embodiment of the invention can determine different hazard values aiming at different skin colors, so that the early warning has pertinence and the skin of a user is prevented from being harmed.

Description

A kind of ultraviolet method for early warning, device, wearable device and storage medium
Technical field
The present embodiments relate to optical detection technique, more particularly to a kind of ultraviolet method for early warning, device, wearable device and deposit Storage media.
Background technology
Ultraviolet refers to the general name that electromagnetic spectrum medium wavelength radiates from 10nm~400nm, and ultraviolet will not cause people Vision.Research has shown that a small amount of ultraviolet is beneficial to human body, can be with sterilizing, the vitamin D for producing needed by human body etc.. But the irradiation of excessive ultraviolet can make skin lose activity when long, the resistance of skin declines, and triggers anaphylaxis skin quality, and The irradiation of excessive ultraviolet can also stimulate melanocyte to produce melanin when long, cause color spot, obscure, skin photoage, coarse, Even cutaneum carcinoma.With the intelligent development of Wearable, Wearable is used by increasing user.Wearable device Conveniently it can be worn in the wrist of user, user can detect uitraviolet intensity by wearable device.
However, current wearable device only realizes detection uitraviolet intensity, and obtained intensity level displaying will be detected It is relatively simple to the function of user, function of detecting ultraviolet light.
The content of the invention
The embodiment of the present invention provides a kind of ultraviolet method for early warning, device, wearable device and storage medium, can be directed to difference The colour of skin determine different harm values, make early warning that there is specific aim, avoid user's skin from being compromised.
In a first aspect, the embodiments of the invention provide a kind of ultraviolet method for early warning, including:
Obtain the uitraviolet intensity value of current environment and the image of user's skin;
The skin tone value of user is determined according to described image;
According to the uitraviolet intensity value and the skin tone value, determine that ultraviolet is endangered the target of user's skin Value;
When the target harm value is more than the harm threshold value of setting, warning message is sent.
Second aspect, the embodiment of the present invention, which additionally provides a kind of ultraviolet prior-warning device, to be included:
Acquisition module, for obtaining the uitraviolet intensity value of current environment and the image of user's skin;
Skin tone value determining module, for determining the skin tone value of user according to described image;
Harm value determining module, for according to the uitraviolet intensity value and the skin tone value, determining ultraviolet to institute State the target harm value of user's skin;
Alarm module, for when the target harm value is more than the harm threshold value set, sending warning message.
The third aspect, the embodiment of the present invention additionally provide a kind of wearable device, and the wearable device includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes above-mentioned involved any described ultraviolet method for early warning.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable storage medium, are stored thereon with computer program, The program realizes above-mentioned involved any described ultraviolet method for early warning when being executed by processor.
The embodiment of the present invention determines ultraviolet pair by the skin tone value according to user and the uitraviolet intensity of current environment The harm value of user's skin, and the alert when harm value is more than the harm threshold value of setting, can be directed to different skins Color determines different harm values, early warning is had specific aim, avoids user's skin from being compromised.
Brief description of the drawings
Fig. 1 is a kind of flow chart for ultraviolet method for early warning that the embodiment of the present invention one provides.
Fig. 2 is a kind of flow chart for ultraviolet method for early warning that the embodiment of the present invention two provides.
Fig. 3 is a kind of flow chart for ultraviolet method for early warning that the embodiment of the present invention three provides.
Fig. 4 is a kind of schematic diagram for ultraviolet prior-warning device that the embodiment of the present invention four provides.
Fig. 5 is the structured flowchart of the gray value acquisition module in Fig. 4.
Fig. 6 is a kind of schematic diagram for wearable device that the embodiment of the present invention five provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart for ultraviolet method for early warning that the embodiment of the present invention one provides, and the present embodiment has been applicable to In the environment of ultraviolet irradiation, this method is performed by ultraviolet prior-warning device, and the device can be realized by software and/or hardware, It can typically be integrated in wearable device, this method comprises the following steps:
Step 110, the uitraviolet intensity value of current environment and the image of user's skin are obtained.
In one embodiment of the invention, optionally, the uitraviolet intensity value and user's skin of current environment are obtained Image, can include:When detecting that UV sensor is opened, control camera is opened;Sensed by the ultraviolet Device obtains the uitraviolet intensity value of current environment;The image of user's skin is obtained by the camera.
When wearable device is in external environment condition, user can open the ultraviolet warning function of wearable device.Work as wearing When equipment receives the instruction for opening ultraviolet warning function, UV sensor is opened.When UV sensor is opened, control Camera is opened simultaneously, detects uitraviolet intensity by UV sensor, while gather user's skin image by camera.Its In, UV sensor is the optoelectronic sensor that ultraviolet signal is converted to electric signal using light-sensitive element, is had very strong Visible ray noiseproof feature.Camera can be placed in wearable device side, contact user's skin inner surface or with The relative outer surface of inner surface.After function of detecting ultraviolet light is opened, arm can be moved to the side of wearable device by user Or upper surface, skin image is gathered by camera, or user's skin is directly obtained by the camera for contacting user's inner skin surface Skin image.
Step 120, the skin tone value of user is determined according to described image.
In one embodiment of the invention, optionally, the skin tone value of user is determined according to described image, can be included: Obtain the gray value of described image;According to the gray value of described image, and the gray value and the corresponding relation of skin tone value it is true Determine the skin tone value of user.
Specifically, the image of acquisition can be carried out into pixel division, the rgb value of each pixel is obtained, so as to calculate Obtain the gray value of pixel, can by the gray value phase adduction of each pixel divided by the number of pixel, so as to obtain average value, Gray value using the average value as described image.Wherein, the scope of gray value is 0-255, and white is 255, black 0, skin The range set of colour is 0.5-1, and gray value is mapped as into skin tone value, the corresponding skin tone value 0.5 of gray value 0, the correspondence of gray value 255 Skin tone value 1, the other values in gray value are mapped as skin tone value.Wherein, the calculation formula of skin tone value can be 0.5+0.5n/ 256, wherein, n is the gray value of image.For example, if the gray value of image is 2, corresponding skin tone value is 0.5+1/256.And And the corresponding relation of skin tone value and gray value, other forms are can also be, for example, gray value is entered into line range division, by gray scale Value scope is that to correspond to skin tone value be 0.5 to 0-50 images, is that skin tone value corresponding to 51-100 image is 0.6 by intensity value ranges Deng.
It should be noted that the embodiment of the present invention is exemplary skin tone value is limited to 0.5 to 1 between, but the present invention is only Only be a kind of example, in other embodiments of the invention, the scope of skin tone value can also be other scopes, for example, 1-10 it Between etc..
The skin tone value of user is obtained according to above-mentioned corresponding relation and gray value, by the depth degree of user's skin color Quantize, the different colours of skin that can be directed to user obtain corresponding ultraviolet harm value.
Step 130, according to the uitraviolet intensity value and the skin tone value, determine ultraviolet to user's skin Target harm value.
In embodiments of the present invention, increase for same user, target harm value with the increase of uitraviolet intensity value.Pin To different users, when uitraviolet intensity value is constant, target harm value increases with the increase of skin tone value.Optionally, it is ultraviolet Line can be target harm value=uitraviolet intensity value × skin tone value to the computational methods of the target harm value of user's skin.Its In, the span of uitraviolet intensity value is 0-15, and the span of skin tone value is 0.5-1.And the calculating of target harm value Mode is not limited to above-mentioned mode, can also be other modes.
Step 140, when the target harm value is more than the harm threshold value of setting, warning message is sent.
In embodiments of the present invention, when target harm value be more than it is default endanger threshold value when, send warning message, with remind User can take corresponding sun-proof measure.
Wherein, the threshold value that endangers of setting can be fixed value, or can also be entered according to the skin tone value of the user of acquisition Row determines that the skin tone value of different users can correspond to different harm threshold values.It is smaller that threshold value is endangered corresponding to skin tone value is bigger. When the skin tone value of user is larger, user's skin color is shallower, higher to the susceptibility of ultraviolet, it is corresponding endanger threshold value compared with It is small.In addition, warning message can be specifically audible alarm prompting or bright light warning reminding, or it can also be and pass through Display screen display alarm is reminded.
The embodiment of the present invention determines ultraviolet pair by the skin tone value according to user and the uitraviolet intensity of current environment The harm value of user's skin, and the alert when harm value is more than the harm threshold value of setting, can be directed to different skins Color determines different harm values, early warning is had specific aim, avoids user's skin from being compromised.
On the basis of above-mentioned technical proposal, optionally, methods described also includes:According to target harm value selection pair The sun-proof advisory information answered;And the target harm value and the sun-proof advisory information are shown.
Wherein, according to the target harm value, the sun-proof recommendation letter for the target harm value stored in advance is chosen Breath.The target harm value and the sun-proof advisory information can be shown by display screen simultaneously;Microphone can also be passed through Play default sun-proof advisory information voice.By sun-proof suggestion corresponding to target harm value selection and user is reminded, is made Obtaining user can obtain with targetedly sun-proof suggestion to reduce the harm of ultraviolet.
On the basis of above-described embodiment, optionally, methods described also includes:
The target harm value and the sun-proof advisory information are sent to mobile terminal so that the target harm value And the sun-proof advisory information is shown in the mobile terminal.
Wherein, wearable device can also be sent out the target harm value and the sun-proof advisory information by communication module Mobile terminal is delivered to, sun-proof suggestion is finally listed by the client on mobile terminal in detail.Mobile terminal can be smart mobile phone Deng.Harm value of the ultraviolet that so user can obtain to itself, while can also obtain more targetedly and more detailed Sun-proof measure, so as to select suitable sun-proof measure, reduce the harm of ultraviolet.
Embodiment two
Fig. 2 is a kind of flow chart for ultraviolet method for early warning that the embodiment of the present invention two provides, and this method comprises the following steps:
Step 210, the uitraviolet intensity value of current environment and the image of user's skin are obtained.
Step 220, described image is subjected to pixel division, and obtains the gray value of each pixel in described image.
In embodiments of the present invention, when image is carried out into pixel division, the mark of pixel division can be adjusted as needed Standard, when the number of the pixel of division is more, image intensity value determines more accurate.
Step 230, maximum gradation value and minimum gradation value are chosen in the gray value of each pixel.
Step 240, if the difference of the maximum gradation value and the minimum gradation value exceeds the first setting value, user's skin is determined Stain on skin be present.
Wherein, the color of stain differs larger with skin complexion.When stain on skin be present, the maximum gray scale of pixel Value and minimum gradation value difference are larger, if the difference of maximum gradation value and minimum gradation value exceeds the first setting value, it is determined that user Stain on skin be present, otherwise, it determines stain is not present on user's skin.Wherein, the first setting value be by largely testing and The numerical value of acquisition.
Step 250, gray value is more than or equal to the minimum gradation value, and and the difference of the minimum gradation value be less than the The pixel of two setting values removes, and the gray value based on residual pixel point determines the skin tone value of user.
Wherein, gray value is more than or equal to the minimum gradation value, and is appreciated that less than the pixel of the second setting value User's skin color, and the pixel with stain are deeper than for color.Wherein, the second setting value, for by the picture with stain Vegetarian refreshments and made a distinction without the pixel of stain.
For example, setting the first setting value as 15, the second setting value is 10.Drawn when by the image pixel of user's skin of acquisition Timesharing, the maximum gradation value of obtained pixel is 130, minimum gradation value 80, then corresponding maximum gradation value and minimum ash The difference of angle value is 50, is 15 more than the first setting value, so that it is determined that stain on the skin of user be present.At this time, it may be necessary to there will be The pixel of stain removes, then gray value is more than or equal into minimum gradation value, and and minimum gradation value difference less than second The pixel of setting value removes.Gray value is more than or equal to 80, and the pixel less than 90 removes.Based on remaining pixel The gray value of point determines the skin tone value of user.
Thus, the interference of non-skin pixel, the skin of user can be excluded by removing the pixel with stain in image It is more accurate that colour determines.
Step 260, according to the uitraviolet intensity value and the skin tone value, determine ultraviolet to user's skin Target harm value.
Step 270, when the target harm value is more than the harm threshold value of setting, warning message is sent.
The technical scheme of the present embodiment, the pixel of stain is carried in image by removing, can remove influences skin value The disturbing factor of calculating so that the skin value being calculated is more accurate, so as to obtain more accurate target harm value, reduces The ultraviolet harm that user's skin is subject to.
Embodiment three
Fig. 3 is a kind of flow chart for ultraviolet method for early warning that the embodiment of the present invention three provides, and this method comprises the following steps:
Step 310, the uitraviolet intensity value of current environment and the image of user's skin are obtained.
Step 320, the skin tone value of user is determined according to described image.
Step 330, according to the uitraviolet intensity value and the skin tone value, determine ultraviolet to user's skin Target harm value.
Step 340, when receiving when entering the operating instructions of user, age of user information and/or gender information are inputted.
In embodiments of the present invention, the age of user and/or gender information can be by way of pre-entering.User will The age and/or gender information of oneself are input in wearable device, and wearable device receives entering the operating instructions for user, input The age information of user and/or gender information.User can select to input oneself age information and/or gender information.
Step 350, the target harm value is modified according to the age information and/or gender information.
When wearable device receives age information and/or the gender information of user, target harm value is modified.Children And the elderly is more than adult to the susceptibility of ultraviolet, and women is more than male to the susceptibility of ultraviolet.Can basis Different age levels and/or different sexes set different ultraviolet-sensitive coefficients, and correct the target harm value.Its side Method can be:Ultraviolet-sensitive coefficient is determined according to age information and/or gender information, based on the target harm value before amendment with Ultraviolet-sensitive coefficient determines revised target harm value.Specifically, before revised target harm value can be equal to amendment Target harm value and ultraviolet-sensitive coefficient product.
For example, when being modified according to age information to target harm value, revised target harm value calculation formula Can be X=xy, wherein, X is revised target harm value, and x is the target harm value before amendment, and y is all ages and classes stage The sensitivity coefficient of corresponding ultraviolet.Wherein it is possible to set 12 years old and following and 60 years old and the above user's ultraviolet-sensitive system Number is 1.6;User's ultraviolet-sensitive coefficient between 13-24 year is 1.4;User's ultraviolet-sensitive coefficient between 25-40 year For 1;User's ultraviolet-sensitive coefficient between 41-50 year is 1.2;User's ultraviolet-sensitive coefficient between 51-60 year is 1.4.If the age of user is 21 years old, the target harm value before amendment is 6, then revised target harm value is 8.4.
And for example, when being modified according to gender information to target harm value, revised target harm value calculation formula Can be X=xz, wherein, X is revised target harm value, and x is the target harm value before amendment, and z is purple corresponding to sex The sensitivity coefficient of outside line.Wherein it is possible to the ultraviolet-sensitive coefficient of women is set as 1.2, and the ultraviolet-sensitive coefficient of male For 1.If the sex of user is women, the target harm value before amendment is 6, then revised target harm value is 7.2.
And for example, when being modified according to age information and gender information to target harm value, revised target harm Value calculation formula can be X=xyz.Wherein, the sensitivity coefficient to ultraviolet of different age group and different sexes and above-mentioned phase Together.If user is the women of 21 years old, the target harm value before amendment is 6, then revised target harm value is 10.08.
Wherein, when being modified according to age information and gender information to target harm value, revised target harm Value can also use other calculations, for example, can be by ultraviolet-sensitive coefficient and different sexes corresponding to different age group Corresponding ultraviolet-sensitive coefficient assigns different weights respectively, and the calculation formula of revised target harm value can be:X= X (ym+zn), wherein, m is the weights of ultraviolet-sensitive coefficient corresponding to all ages and classes, and n is that ultraviolet corresponding to different sexes is quick Feel the weights of coefficient.It is ultraviolet corresponding to different sexes if being 0.3 by the weights of ultraviolet-sensitive coefficient corresponding to different age group The weights of line sensitivity coefficient are 0.7, if user is the women of 21 years old, the target harm value before amendment is 6, then revised target Harm value is 6 × (1.4 × 0.3+1.2 × 0.7)=7.56.
It should be noted that the embodiment of the present invention is exemplary using purple corresponding to all ages and classes information and/or gender information Outside line sensitivity coefficient is modified to target harm value, but the present embodiment is only a kind of example of the present invention, in the present invention Other embodiment in, when being modified based on age information and/or gender information to target harm value, can also be other Mode.The age information and/or gender information inputted by user is modified to target harm value, mesh of the ultraviolet to user It is more targeted to mark harm value, more accurately.
Step 360, when the target harm value is more than the harm threshold value of setting, warning message is sent.
The technical scheme of the present embodiment, by user input age information and/or gender information target harm is worth into Row amendment, and when revised target harm value is more than and endangers threshold value, issue the user with ultraviolet warning information, so obtain Target harm value of the ultraviolet to user is more targeted, more accurately, so as to reduce the ultraviolet danger that user's skin is subject to Evil.
Example IV
Fig. 4 is a kind of schematic diagram for ultraviolet prior-warning device that the embodiment of the present invention four provides, and it is any real to can perform the present invention The ultraviolet method for early warning that example is provided is applied, possesses the corresponding functional module of execution method and beneficial effect, the present embodiment is applicable In the environment for thering is ultraviolet to irradiate.
Described device includes:
Acquisition module 410, for obtaining the uitraviolet intensity value of current environment and the image of user's skin.
Skin tone value determining module 420, for determining the skin tone value of user according to described image.
Harm value determining module 430, for according to the uitraviolet intensity value and the skin tone value, determining ultraviolet pair The target harm value of user's skin.
Alarm module 440, for when the target harm value is more than the harm threshold value set, sending warning message.
Wherein, alarm module 440 can include microphone, for reminding user with speech form;Flash lamp can be included, For reminding user in the form of light flash;Or also include display screen, for reminding user with written form.
The technical scheme of the present embodiment, determined by the uitraviolet intensity of the skin tone value according to user and current environment purple Harm value of the outside line to user's skin, and the alert when harm value is more than the harm threshold value of setting, can be directed to not The same colour of skin determines different harm values, early warning is had specific aim, avoids user's skin from being compromised.
In one embodiment of the invention, optionally, acquisition module 410 includes:Camera control module 411, is used for When detecting that UV sensor is opened, control camera is opened;Uitraviolet intensity value acquisition module 412, for passing through State the uitraviolet intensity value that UV sensor obtains current environment;Skin image acquisition module 413, for passing through the shooting Head obtains the image of user's skin.
In one embodiment of the invention, optionally, skin tone value determining module 420 includes:Gray value acquisition module 421, for obtaining the gray value of described image;Skin tone value acquisition module 422, for according to the gray value, and the ash The corresponding relation of angle value and skin tone value determines the skin tone value of user.
In one embodiment of the invention, optionally, gray value acquisition module 421 includes:Grey scale pixel value obtains mould Block 510, for described image to be carried out into pixel division, and obtain the gray value of each pixel in described image;Pixel grey scale Value is most worth acquisition module 520, for choosing maximum gradation value and minimum gradation value in the gray value of each pixel;Stain is true Cover half block 530, if exceeding the first setting value for the difference of the maximum gradation value and the minimum gradation value, determine user's skin On stain be present;Stain removes module 540, for gray value to be more than or equal into the minimum gradation value, and with the minimum The pixel that the difference of gray value is less than the second setting value removes, and the gray value based on residual pixel point determines the colour of skin of user Value.
On the basis of above-described embodiment, optionally, described device also includes:MIM message input module, received for working as When entering the operating instructions of user, input age of user information and/or gender information;Correcting module, for according to the age Information and/or gender information are modified to the target harm value.
On the basis of above-described embodiment, optionally, described device also includes:Sun-proof suggestion module, for according to Sun-proof advisory information corresponding to the selection of target harm value;Display module, for by the target harm value and described sun-proof building View information is shown.
On the basis of above-described embodiment, optionally, described device also includes:Communication module, for the target to be endangered Do harm to value and the sun-proof advisory information is sent to mobile terminal so that the target harm value and the sun-proof advisory information Shown in the mobile terminal.
Above-mentioned ultraviolet prior-warning device can perform the ultraviolet method for early warning that any embodiment of the present invention is provided, and possess the side of execution The corresponding functional module of method and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the present invention is any The ultraviolet method for early warning that embodiment provides.
Embodiment five
Fig. 6 is a kind of structural representation for wearable device that the embodiment of the present invention five provides.Fig. 6 shows real suitable for being used for The block diagram of the wearable device 612 of existing embodiment of the present invention.The wearable device 612 that Fig. 6 is shown is only an example, should not be right The function and use range of the embodiment of the present invention bring any restrictions.
As shown in fig. 6, wearable device 612 is showed in the form of universal computing device.The component of wearable device 612 can wrap Include but be not limited to:One or more processor 616, storage device 628, connection different system component (including storage device 628 With processor 616) bus 618.
Bus 618 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Wearable device 612 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that wearable device 612 accesses, including volatibility and non-volatile media, moveable and immovable medium.
Storage device 628 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 630 and/or cache memory 632.Wearable device 612 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 634 can be used for read-write not Movably, non-volatile magnetic media (Fig. 6 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 6, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 618.Storage device 628 can include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform this hair The function of bright each embodiment.
Program 636 with one group of (at least one) program module 626, it can be stored in such as storage device 628, this The program module 626 of sample includes but is not limited to operating system, one or more application program, other program modules and program Data, the realization of network environment may be included in each or certain combination in these examples.Program module 626 generally performs Function and/or method in embodiment described in the invention.
Wearable device 612 can also be (such as keyboard, sensing equipment, camera, aobvious with one or more external equipments 614 Show device 624 etc.) communication, it can also enable a user to the equipment communication interacted with the wearable device 612 with one or more, and/ Or (such as network interface card is adjusted with enabling any equipment that the wearable device 612 communicated with one or more of the other computing device Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 622.Also, wearable device 612 Network adapter 620 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As illustrated, network adapter 620 passes through bus 618 and other moulds of wearable device 612 Block communicates.It should be understood that although not shown in the drawings, can combine wearable device 612 use other hardware and/or software module, Including but not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive Dynamic device and data backup storage system etc..
Processor 616 is stored in the program in storage device 628 by operation, so as to perform various function application and number According to processing, such as realize the ultraviolet method for early warning that the above embodiment of the present invention is provided.
By the wearable device, user can determine ultraviolet according to the uitraviolet intensity of its skin tone value and current environment Harm value of the line to autologous skin, and the alert when harm value is more than the harm threshold value of setting, can be directed to difference The colour of skin determine different harm values, make early warning that there is specific aim, avoid user's skin from being compromised.
Embodiment six
The embodiment of the present invention six also provides a kind of computer-readable storage medium for storing computer program, the computer program When being performed by computer processor for performing any described ultraviolet method for early warning of the above embodiment of the present invention.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language --- such as " C " language or similar programming language.Program code can Fully to perform on the user computer, partly perform, performed as an independent software kit on the user computer, Part performs or performed completely on remote computer or server on the remote computer on the user computer for part. In the situation of remote computer is related to, remote computer can pass through the network of any kind --- including LAN (LAN) Or wide area network (WAN)-subscriber computer is connected to, or, it may be connected to outer computer (such as utilize Internet service Provider passes through Internet connection).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. ultraviolet method for early warning, it is characterised in that including:
    Obtain the uitraviolet intensity value of current environment and the image of user's skin;
    The skin tone value of user is determined according to described image;
    According to the uitraviolet intensity value and the skin tone value, target harm value of the ultraviolet to user's skin is determined;
    When the target harm value is more than the harm threshold value of setting, warning message is sent.
  2. 2. according to the method for claim 1, it is characterised in that obtain the uitraviolet intensity value and user's skin of current environment The image of skin, including:
    When detecting that UV sensor is opened, control camera is opened;
    The uitraviolet intensity value of current environment is obtained by the UV sensor;
    The image of user's skin is obtained by the camera.
  3. 3. according to the method for claim 1, it is characterised in that the skin tone value of user is determined according to described image, including:
    Obtain the gray value of described image;
    The skin tone value of user is determined according to the gray value of described image, and gray value and the corresponding relation of skin tone value.
  4. 4. according to the method for claim 1, it is characterised in that the skin tone value that user is determined according to described image, bag Include:
    Described image is subjected to pixel division, and obtains the gray value of each pixel in described image;
    Maximum gradation value and minimum gradation value are chosen in the gray value of each pixel;
    If the difference of the maximum gradation value and the minimum gradation value exceeds the first setting value, determine dirt on user's skin be present Mark;
    Gray value is more than or equal to the minimum gradation value, and and the difference of the minimum gradation value be less than the picture of the second setting value Vegetarian refreshments removes, and the gray value based on residual pixel point determines the skin tone value of user.
  5. 5. according to the method for claim 1, it is characterised in that also include:
    When receiving when entering the operating instructions of user, age of user information and/or gender information are inputted;
    The target harm value is modified according to the age information and/or gender information.
  6. 6. according to the method for claim 1, it is characterised in that also include:
    The sun-proof advisory information according to corresponding to being chosen the target harm value;
    And the target harm value and the sun-proof advisory information are shown.
  7. 7. according to the method for claim 6, it is characterised in that also include:
    The target harm value and the sun-proof advisory information are sent to mobile terminal so that the target harm value and The sun-proof advisory information is shown in the mobile terminal.
  8. A kind of 8. ultraviolet prior-warning device, it is characterised in that including:
    Acquisition module, for obtaining the uitraviolet intensity value of current environment and the image of user's skin;
    Skin tone value determining module, for determining the skin tone value of user according to described image;
    Harm value determining module, for according to the uitraviolet intensity value and the skin tone value, determining ultraviolet to the use The target harm value of family skin;
    Alarm module, for when the target harm value is more than the harm threshold value set, sending warning message.
  9. 9. a kind of wearable device, it is characterised in that the equipment includes:
    One or more processors;
    Storage device, for storing one or more programs;
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now ultraviolet method for early warning as described in any in claim 1-7.
  10. 10. a kind of computer-readable storage medium, is stored thereon with computer program, it is characterised in that the program is executed by processor Ultraviolet method for early warning of the Shi Shixian as described in any in claim 1-7.
CN201710847962.4A 2017-09-19 2017-09-19 Ultraviolet early warning method and device, wearable device and storage medium Pending CN107655567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710847962.4A CN107655567A (en) 2017-09-19 2017-09-19 Ultraviolet early warning method and device, wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710847962.4A CN107655567A (en) 2017-09-19 2017-09-19 Ultraviolet early warning method and device, wearable device and storage medium

Publications (1)

Publication Number Publication Date
CN107655567A true CN107655567A (en) 2018-02-02

Family

ID=61130816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710847962.4A Pending CN107655567A (en) 2017-09-19 2017-09-19 Ultraviolet early warning method and device, wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN107655567A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108344526A (en) * 2018-02-27 2018-07-31 深圳还是威健康科技有限公司 A kind of temperature monitoring method and device
CN110312033A (en) * 2019-06-17 2019-10-08 Oppo广东移动通信有限公司 Electronic device, information-pushing method and Related product
CN110487400A (en) * 2019-08-21 2019-11-22 京东方科技集团股份有限公司 A kind of ultraviolet light prior-warning device and wearable device
CN111081157A (en) * 2019-12-24 2020-04-28 维沃移动通信有限公司 Display module, screen assembly, electronic equipment, prompting method and shooting method
CN112750515A (en) * 2019-10-31 2021-05-04 Oppo广东移动通信有限公司 Health prompting method and related product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090080727A1 (en) * 2007-09-20 2009-03-26 Astron Clinica Limited Methods and apparatus for quantifying photo-damage
CN103729624A (en) * 2013-12-25 2014-04-16 厦门美图移动科技有限公司 Photometry method and system based on skin color recognition
US20150102208A1 (en) * 2013-10-02 2015-04-16 The Joan & Irwin Jacobs Technion-Cornell Innovation Institute (Jacobs Institute) Wearable system and method to measure and monitor ultraviolet, visible light, and infrared radiations in order to provide personalized medical recommendations, prevent diseases, and improve disease management
CN104732195A (en) * 2013-12-19 2015-06-24 国际商业机器公司 Mining social media for ultraviolet light exposure analysis
CN106875391A (en) * 2017-03-02 2017-06-20 深圳可思美科技有限公司 The recognition methods of skin image and electronic equipment
CN107064038A (en) * 2017-04-10 2017-08-18 杭州紫元科技有限公司 Monitoring method and device of a kind of ultraviolet radiation to skin effects

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090080727A1 (en) * 2007-09-20 2009-03-26 Astron Clinica Limited Methods and apparatus for quantifying photo-damage
US20150102208A1 (en) * 2013-10-02 2015-04-16 The Joan & Irwin Jacobs Technion-Cornell Innovation Institute (Jacobs Institute) Wearable system and method to measure and monitor ultraviolet, visible light, and infrared radiations in order to provide personalized medical recommendations, prevent diseases, and improve disease management
CN104732195A (en) * 2013-12-19 2015-06-24 国际商业机器公司 Mining social media for ultraviolet light exposure analysis
CN103729624A (en) * 2013-12-25 2014-04-16 厦门美图移动科技有限公司 Photometry method and system based on skin color recognition
CN106875391A (en) * 2017-03-02 2017-06-20 深圳可思美科技有限公司 The recognition methods of skin image and electronic equipment
CN107064038A (en) * 2017-04-10 2017-08-18 杭州紫元科技有限公司 Monitoring method and device of a kind of ultraviolet radiation to skin effects

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108344526A (en) * 2018-02-27 2018-07-31 深圳还是威健康科技有限公司 A kind of temperature monitoring method and device
CN110312033A (en) * 2019-06-17 2019-10-08 Oppo广东移动通信有限公司 Electronic device, information-pushing method and Related product
CN110487400A (en) * 2019-08-21 2019-11-22 京东方科技集团股份有限公司 A kind of ultraviolet light prior-warning device and wearable device
CN112750515A (en) * 2019-10-31 2021-05-04 Oppo广东移动通信有限公司 Health prompting method and related product
CN111081157A (en) * 2019-12-24 2020-04-28 维沃移动通信有限公司 Display module, screen assembly, electronic equipment, prompting method and shooting method

Similar Documents

Publication Publication Date Title
CN107655567A (en) Ultraviolet early warning method and device, wearable device and storage medium
Langlotz et al. ChromaGlasses: Computational glasses for compensating colour blindness
CN110443747B (en) Image processing method, device, terminal and computer readable storage medium
EP2496196B1 (en) Representing visual images by alternative senses
US9501704B2 (en) Drowsiness estimation device, drowsiness estimation method, and computer-readable non-transient recording medium
US10346601B2 (en) Biometric information acquisition method and device for same
US20150379896A1 (en) Intelligent eyewear and control method thereof
KR101952804B1 (en) Emotion recognition interface apparatus
CN111062891A (en) Image processing method, device, terminal and computer readable storage medium
Ananto et al. Color transformation for color blind compensation on augmented reality system
EP2869235A1 (en) Lens unit
US11914692B2 (en) Information processing apparatus and information processing method
EP3528690B1 (en) Accessory device and imaging device
JP2019028731A (en) Information processing device and program
CN108140362B (en) Display method, display device, electronic equipment and computer program product
CN110801229A (en) Eyesight protection monitoring method, system, equipment and storage medium
JP6323097B2 (en) Color measuring device, color measuring system, color measuring method, and program
CN109144250A (en) A kind of method, apparatus, equipment and storage medium that position is adjusted
KR20170007120A (en) Method and electronic device for providing information about skin type of object
Harwahyu et al. Implementation of Color-blind Aid System.
CN108703738A (en) A kind of measuring system and method for hyperopic refractive degree
EP2928359A1 (en) Computerized iridodiagnosis
NL2022603B1 (en) Skin tone measurement
Spournias et al. Smart health monitoring using AI techniques in AAL environments
CN113298753A (en) Sensitive muscle detection method, image processing method, device and equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180202