WO2018090530A1 - 一种紫外线强度检测方法和装置 - Google Patents

一种紫外线强度检测方法和装置 Download PDF

Info

Publication number
WO2018090530A1
WO2018090530A1 PCT/CN2017/078762 CN2017078762W WO2018090530A1 WO 2018090530 A1 WO2018090530 A1 WO 2018090530A1 CN 2017078762 W CN2017078762 W CN 2017078762W WO 2018090530 A1 WO2018090530 A1 WO 2018090530A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud layer
user terminal
cloud
image
ultraviolet intensity
Prior art date
Application number
PCT/CN2017/078762
Other languages
English (en)
French (fr)
Inventor
包磊
Original Assignee
深圳市行远科技发展有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市行远科技发展有限公司 filed Critical 深圳市行远科技发展有限公司
Publication of WO2018090530A1 publication Critical patent/WO2018090530A1/zh

Links

Images

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

Definitions

  • the invention belongs to the field of ultraviolet detection, and in particular relates to a method and a device for detecting ultraviolet intensity.
  • Ultraviolet light refers to a general term for solar radiation having a wavelength of 100-400 nm.
  • the intensity of UV light is closely related to people's lives. When the intensity of ultraviolet rays in the sun is too large, it may cause damage to tissues or organs such as the skin and eyes of the human body. For example, high-intensity ultraviolet light may cause skin cancer, cataracts, etc., or may reduce the immunity of the body's immune system.
  • an appropriate amount of ultraviolet radiation helps the body synthesize vitamin D and promotes the body's absorption of calcium. Therefore, how to prevent excessive ultraviolet radiation has caused widespread concern.
  • the ultraviolet data obtained by the user generally broadcasts the ultraviolet intensity through the weather station, and the user terminal queries the corresponding ultraviolet intensity according to the position of the user. Due to the intensity of the ultraviolet light broadcast by the meteorological station, the ultraviolet light intensity predicted by the weather in the broadcasted area for a certain period of time is generally low, so that the accuracy of the ultraviolet light intensity obtained by the user is not high.
  • an embodiment of the present invention provides a method for detecting an ultraviolet intensity, the method comprising:
  • Corresponding first correction coefficient generates a second ultraviolet intensity according to the first correction coefficient and the first ultraviolet intensity.
  • the step of acquiring the cloud layer data corresponding to the current location of the user terminal includes:
  • the acquired cloud layer image is compared with a preset cloud layer sample to obtain cloud layer data corresponding to the cloud layer image.
  • the step of acquiring, by the camera of the user terminal, the cloud image between the sun and the user includes:
  • the acquiring the cloud layer image is compared with a preset cloud layer sample, and acquiring a cloud layer corresponding to the cloud layer image
  • the data steps include:
  • the cloud layer brightness sample and the shape sample corresponding to the cloud layer image are obtained.
  • the method further includes:
  • an embodiment of the present invention provides an ultraviolet intensity detecting device, where the device includes:
  • a data acquiring unit configured to acquire a current time and date, a current location of the user terminal, and obtain cloud layer data corresponding to a current location of the user terminal;
  • a searching unit configured to search for a first ultraviolet intensity corresponding to a current time and a position of the user in a preset database according to the current time and date and the current location of the user terminal;
  • a first correcting unit configured to search for a first correction coefficient corresponding to the acquired cloud layer data according to the correspondence between the preset cloud layer data and the correction coefficient, according to the first correction coefficient and the first ultraviolet intensity, A second ultraviolet intensity is generated.
  • the data acquiring unit includes:
  • the cloud image acquisition subunit acquires a cloud image between the sun and the user through a camera of the user terminal;
  • the image comparison sub-unit is configured to compare the acquired cloud layer image with a preset cloud layer sample to obtain cloud layer data corresponding to the cloud layer image.
  • the cloud layer image obtaining subunit includes:
  • a position determining module configured to determine a location of the sun according to the current time and date
  • a deflection angle determining module configured to acquire a state of the user terminal according to the motion sensor of the user terminal, and determine a deflection angle of the camera according to the state of the user terminal;
  • the photographing module is configured to capture a cloud image when the deflection angle of the camera corresponds to the position of the sun.
  • the image comparison subunit includes:
  • a comparison module configured to compare the acquired brightness value of the cloud layer image and the shape of the cloud layer image with a preset cloud layer brightness sample and a shape sample;
  • a cloud layer data acquiring module configured to acquire a cloud layer corresponding to the cloud layer image according to the comparison result Luminance samples and shape samples.
  • the device further includes:
  • a sun position obtaining unit configured to determine a location of the sun according to the current time and date
  • a second correcting unit configured to acquire an ozone concentration between a current location of the user terminal and a location where the sun is located, search a corresponding second correction coefficient according to the ozone concentration, and use the second correction coefficient to the second ultraviolet intensity Make corrections.
  • the present invention obtains the first ultraviolet intensity matched with the current time, the date, and the current location of the user terminal according to the information of the time, the date, and the location, and then obtains the corresponding cloud layer data by using the location of the user terminal. And searching for a first correction coefficient corresponding to the cloud layer data according to a preset correspondence between the cloud layer data and the correction coefficient, and correcting the first ultraviolet intensity according to the first correction system to obtain a second ultraviolet intensity. Since the present invention can acquire the ultraviolet intensity corresponding to the position of the user terminal at the current time through the mobile terminal at any time, the accuracy of the obtained ultraviolet intensity is higher.
  • FIG. 1 is a flowchart showing an implementation of a method for detecting an ultraviolet ray intensity according to a first embodiment of the present invention
  • FIG. 2 is a flow chart showing an implementation of a method for detecting ultraviolet intensity according to a second embodiment of the present invention
  • FIG. 3 is a flow chart showing an implementation of a method for detecting an ultraviolet ray according to a third embodiment of the present invention.
  • FIG. 4 is a schematic structural view of an ultraviolet intensity detecting device according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a detecting terminal according to a fifth embodiment of the present invention.
  • An object of the embodiments of the present invention is to provide a method for detecting ultraviolet intensity to solve the prior art.
  • detecting the ultraviolet intensity it is usually detected by a special ultraviolet intensity detector.
  • This detection method requires the purchase of expensive testing equipment, and the ultraviolet intensity detector is inconvenient to carry, which is not conducive to the user to perform ultraviolet intensity detection anytime and anywhere.
  • the prior art can use the mobile terminal to view the ultraviolet intensity, and improve the convenience of the user by viewing the ultraviolet intensity released by the weather service desk, but the ultraviolet intensity data is for a certain area.
  • the intensity of the ultraviolet light makes the accuracy of the ultraviolet light obtained by the user not high.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a flowchart showing an implementation process of a method for detecting an ultraviolet ray intensity according to a first embodiment of the present invention, which is described in detail as follows:
  • step S101 the current time and date, the current location of the user terminal, and the cloud layer data corresponding to the current location of the user terminal are obtained.
  • the current time in the embodiment of the present invention refers to a time point in 24 hours a day.
  • the current time can be 12:20:18.
  • the accuracy of the time may be based on the accuracy of the user, retaining or omitting the data of the second value portion of the time. For example, if the user has a general requirement for accuracy, the user can directly use the time of 12:20. The time is obtained, and the local time of the user terminal can be directly read, or the network time acquisition request can be sent to the network time server to obtain the precise time returned by the network server.
  • the current date refers to the specific day of the 365 days of the year.
  • the date can be expressed in a combination of "month” and "day".
  • "June 22" can be used to indicate a specific date.
  • the obtaining of the date may directly read the local date of the user terminal, or may send a network time acquisition request to the network time server to obtain an accurate date returned by the network server.
  • the current location of the user terminal may be obtained by means of satellite positioning, or may be acquired by means of base station positioning of the mobile signal, or may be located according to the WIFI access point.
  • the manner of positioning can be intelligently selected according to the needs of the scene of the user terminal. Such as outdoor scenes with high-rise buildings, satellites
  • the positioning signal may not be particularly strong, and may be located by the mobile base station or according to the WIFI access point.
  • the cloud layer data corresponding to the current location of the user terminal refers to cloud layer data between the location of the user terminal and the location of the sun, and the size of the cloud layer data may affect the ultraviolet intensity.
  • the cloud layer data is larger, the ultraviolet intensity of the location of the user terminal is smaller.
  • the cloud layer data is smaller, the ultraviolet intensity of the location of the user terminal is also larger.
  • the obtaining of the cloud layer data may be performed by the user according to the current scenario, and the cloud layer data input by the user may be received, or the ultraviolet intensity corresponding to the location may be obtained according to the location of the user, or the photo may be obtained by taking a photo. Cloud data.
  • the cloud layer data may include a thickness of the cloud layer, and may also include a shape, a brightness, and the like of the cloud layer.
  • the user terminal can be a smart phone, a tablet computer, a laptop computer, or the like.
  • the sensing circuit corresponding to the data collected by the present invention, and the data communication circuit, combined with the data processing module the user can conveniently use the ultraviolet intensity data of the current scene.
  • the present invention may further include the step of detecting the brightness of the current scene before acquiring the time, the date, the location, and the cloud layer data.
  • the data is not acquired.
  • the above data is acquired only when the brightness is greater than the preset threshold.
  • step S102 the first ultraviolet intensity corresponding to the current time and location of the user is searched in a preset database according to the current time and date and the current location of the user terminal.
  • a first ultraviolet intensity sequence is preset in the database, and the first ultraviolet intensity sequence can be obtained by historical data screening. For example, you can set the UV intensity at different locations for different time and date under specific cloud data conditions.
  • the specific cloud data condition is preferably a corresponding ultraviolet intensity under cloudless conditions.
  • the acquisition of the database can be obtained by means of multi-year data recording (for example, by means of multi-year recording, searching for the ultraviolet intensity corresponding to the weather in a sunny state without a cloud layer), or by combining data recording with reasonable prediction. The way to form a complete database of first UV intensity lookups.
  • the first ultraviolet intensity may also be the ultraviolet intensity corresponding to other specific cloud layer data.
  • the thickness of the cloud layer may be selected as a specified standard state, and each time and date is obtained by multiple recording or calculation. The first ultraviolet intensity corresponding to the different locations.
  • the accuracy of the database can be continuously improved during use, for example, the ultraviolet intensity corresponding to the current time, date and location can be compared with the ultraviolet intensity provided by the weather service station. If the difference between the two is significantly too large, such as exceeding the preset UV difference, you can send a reminder to the server to confirm whether the current UV intensity matches the actual.
  • step S103 the first correction coefficient corresponding to the acquired cloud layer data is searched according to the correspondence between the preset cloud layer data and the correction coefficient, and the first correction coefficient and the first ultraviolet intensity are generated according to the first correction coefficient and the first ultraviolet intensity. Two UV intensity.
  • the first ultraviolet ray intensity acquired in step S102 is the ultraviolet ray intensity under the specific cloud layer data.
  • the step S103 further includes further correcting the cloud layer data, thereby causing the current ultraviolet ray of the user terminal. The intensity is more consistent with the scene.
  • the cloud layer data may include attributes such as a thickness of the cloud layer, a shape of the cloud layer, a color of the cloud layer, and the like.
  • searching for the correction system corresponding to the cloud layer data it can directly search in the database according to the attributes of the cloud layer data.
  • the first correction coefficient is a coefficient multiplied by the first ultraviolet intensity and having a value less than or equal to one. As the thickness of the cloud layer increases, or as the area of the block area of the cloud area increases, or as the color of the cloud layer deepens, the first correction coefficient gradually becomes smaller, so that the corrected second ultraviolet intensity is smaller. .
  • the first correction factor may be greater than 1, such as when the thickness of the cloud layer becomes thinner, or the color becomes lighter, or when the shape is fine, it may be less than 1, for example, as the thickness of the cloud layer increases, or as the area of the block area of the cloud area increases, or as the color of the cloud layer deepens.
  • the present invention can also accumulate the irradiation duration of the ultraviolet intensity, and set different irradiation time thresholds for different ultraviolet intensities.
  • a reminder is issued.
  • Information that prompts the user to pay attention to ultraviolet light may cause harm to the human body.
  • the duration of the user in the scene of ultraviolet intensity can be further detected.
  • the user may be given a reminder message.
  • the state data of the user may be acquired in advance, and the corresponding sunshine duration is generated according to the state data.
  • the status data may include the content of vitamin D of the user, or may also include jaundice data of the user, and the like.
  • the second ultraviolet ray intensity generated by the present invention is the first ultraviolet ray intensity found according to the current time, date and position of the user terminal, and the data corrected by the cloud layer data for the first ultraviolet ray intensity, the value thereof and the user's The current scene is more consistent, and the accuracy of the acquired UV intensity is also higher.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 2 shows an implementation flow of a method for detecting an ultraviolet ray according to a second embodiment of the present invention, which is described in detail as follows:
  • step S201 the current time and date, and the current location of the user terminal are acquired.
  • step S202 a cloud image between the sun and the user is acquired by the camera of the user terminal.
  • the positions of the sun may be different at different time points of the day. And at the same time on different days of the 365 days of the year (such as 11:30 am on March 14 and 11:30 am on September 12), the position of the sun will be different. In addition, the position of the sun will be different at different times of the same day. Therefore, the step of acquiring the cloud image between the sun and the user by using the camera of the user terminal may specifically include:
  • the position of the sun is a position relative to the user terminal, and may be, for example, a deflection angle directly above the head of the user or directly above.
  • the position of the sun may change with time, and the position of the sun may be collected by a predetermined period in advance, or the position of the sun corresponding to the current time and date may be calculated in real time according to the position of the user.
  • the user terminal may include a motion sensor for detecting a state of the user terminal, such as a state in which the user terminal is placed flat or erected.
  • a motion sensor for detecting a state of the user terminal, such as a state in which the user terminal is placed flat or erected.
  • step S203 the acquired cloud layer image is compared with a preset cloud layer sample, and the cloud layer data corresponding to the cloud layer image is acquired.
  • the step of acquiring the cloud layer image corresponding to the preset cloud layer sample, and acquiring the cloud layer data corresponding to the cloud layer image includes:
  • the cloud layer brightness sample and the shape sample corresponding to the cloud layer image are obtained.
  • the image taken under the condition that the camera parameters are consistent can be obtained by turning off the adjustment function such as automatic exposure used by the camera. Thereby, it is possible to effectively compare the brightness values of the cloud images taken at different times.
  • the brightness of the cloud image may reflect the thickness of the cloud layer.
  • the cloud image The lower the brightness, the thicker the thickness of the cloud layer, and the smaller the brightness, the thinner the thickness of the cloud layer.
  • the area of the cloud layer in the cloud image may affect the penetration of ultraviolet rays.
  • the ultraviolet light penetrates or refracts the cloud layer. If the cloud layer is a large cloud layer, then The ability of ultraviolet light to penetrate or refract clouds is reduced.
  • the cloud layer brightness sample and the cloud layer shape sample which are the cloud layer data of the present invention, can be searched for the currently acquired cloud layer image.
  • the first correction coefficient corresponding to the cloud layer data may be searched according to a preset correspondence between the cloud layer data and the correction coefficient.
  • step S204 the first ultraviolet intensity corresponding to the current time and location of the user is searched in a preset database according to the current time and date and the current location of the user terminal.
  • step S205 the first correction coefficient corresponding to the acquired cloud layer data is searched according to the correspondence between the preset cloud layer data and the correction coefficient, and the first correction coefficient and the first ultraviolet intensity are generated according to the first correction coefficient and the first ultraviolet intensity. Two UV intensity.
  • the steps S204-S205 are substantially the same as the steps S102-S103 in the first embodiment, and are not described herein again.
  • the embodiment of the present invention further introduces the method for acquiring the cloud image.
  • the cloud layer image can be acquired more quickly and effectively, and the cloud layer image is intelligently Analysis and comparison, which will help users to obtain UV intensity more conveniently and effectively.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 3 is a flowchart showing the implementation of the ultraviolet intensity detecting method according to the third embodiment of the present invention, which is described in detail as follows:
  • step S301 the current time and date, the current location of the user terminal, and the cloud layer data corresponding to the current location of the user terminal are obtained.
  • step S302 the first ultraviolet intensity corresponding to the current time and location of the user is searched in a preset database according to the current time and date and the current location of the user terminal.
  • step S303 the first correction coefficient corresponding to the acquired cloud layer data is searched according to the correspondence between the preset cloud layer data and the correction coefficient, and the first correction coefficient and the first ultraviolet intensity are generated according to the first correction coefficient and the first ultraviolet intensity. Two UV intensity.
  • the steps S301-S303 are substantially the same as the steps S101-S103 in the first embodiment, and are not described herein again.
  • step S304 determining the location of the sun according to the current time and date
  • step S305 acquiring an ozone concentration between a current location of the user terminal and a location of the sun, searching for a corresponding second correction coefficient according to the ozone concentration, and correcting the second ultraviolet intensity according to the second correction coefficient.
  • the ozone concentration can transmit the position between the user and the sun to the ozone monitoring server, and by detecting the ozone concentration between the sun and the user terminal, the ultraviolet intensity of the location of the user terminal can be further corrected.
  • the correspondence between the ozone concentration and the correction coefficient can be determined by historical statistical data.
  • data such as visibility and humidity of the scene in which the user terminal is located can be obtained.
  • the correction coefficients corresponding to different visibility and different humidity are determined, thereby further correcting the ultraviolet intensity of the scene in which the user terminal is located. Further improve the accuracy of UV intensity detection.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 4 is a schematic structural view of an ultraviolet intensity detecting apparatus according to a fourth embodiment of the present invention, which is described in detail as follows:
  • the data obtaining unit 401 is configured to acquire the current time and date, the current location of the user terminal, and the cloud layer data corresponding to the current location of the user terminal.
  • the searching unit 402 is configured to search for a first ultraviolet intensity corresponding to the current time and location of the user in a preset database according to the current time and date and the current location of the user terminal;
  • the first correcting unit 403 is configured to check according to the correspondence between the preset cloud layer data and the correction coefficient. And finding a first correction coefficient corresponding to the acquired cloud layer data, and generating a second ultraviolet intensity according to the first correction coefficient and the first ultraviolet intensity.
  • the data acquisition unit includes:
  • the cloud image acquisition subunit acquires a cloud image between the sun and the user through a camera of the user terminal;
  • the image comparison sub-unit is configured to compare the acquired cloud layer image with a preset cloud layer sample to obtain cloud layer data corresponding to the cloud layer image.
  • the cloud image acquisition subunit comprises:
  • a position determining module configured to determine a location of the sun according to the current time and date
  • a deflection angle determining module configured to acquire a state of the user terminal according to the motion sensor of the user terminal, and determine a deflection angle of the camera according to the state of the user terminal;
  • the photographing module is configured to capture a cloud image when the deflection angle of the camera corresponds to the position of the sun.
  • the image comparison subunit comprises:
  • a comparison module configured to compare the acquired brightness value of the cloud layer image and the shape of the cloud layer image with a preset cloud layer brightness sample and a shape sample;
  • a cloud layer data acquiring module configured to acquire a cloud layer brightness sample and a shape sample corresponding to the cloud layer image according to the comparison result.
  • the device further comprises:
  • a sun position obtaining unit configured to determine a location of the sun according to the current time and date
  • a second correcting unit configured to acquire an ozone concentration between a current location of the user terminal and a location where the sun is located, search a corresponding second correction coefficient according to the ozone concentration, and use the second correction coefficient to the second ultraviolet intensity Make corrections.
  • the ultraviolet intensity detecting device corresponds to the ultraviolet intensity detecting method described in the first embodiment and the second embodiment, and details are not described herein again.
  • FIG. 5 is a structural block diagram of a terminal according to a fourth embodiment of the present invention.
  • the terminal in this embodiment includes: an RF circuit 510, a memory 520, an input unit 530, a display unit 540, an audio circuit 560, a network module 570, and a processor. 580, and power supply 590 and other components.
  • the terminal structure shown in FIG. 5 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the terminals by running software programs and modules stored in the memory 520.
  • the memory 520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.).
  • memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 530 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal.
  • the input unit 530 may include a touch panel 531 and other input devices 532.
  • the touch panel 531 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 531 or near the touch panel 531. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 531 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 580 is provided and can receive commands from the processor 580 and execute them.
  • the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 530 may also include other input devices 532.
  • other input devices 532 may include, but are not limited to, physical keyboards, function keys (such as sounds) One or more of a quantity control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
  • the display unit 540 can be used to display information input by the user or information provided to the user as well as various menus of the terminal.
  • the display unit 540 can include a display panel 541.
  • the display panel 541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 531 can cover the display panel 541. When the touch panel 531 detects a touch operation on or near it, the touch panel 531 transmits to the processor 580 to determine the type of the touch event, and then the processor 580 according to the touch event. The type provides a corresponding visual output on display panel 541.
  • the touch panel 531 and the display panel 541 are used as two independent components to implement the input and input functions of the terminal in FIG. 5, in some embodiments, the touch panel 531 may be integrated with the display panel 541. Realize the input and output functions of the terminal.
  • Audio circuit 560, speaker 561, and microphone 562 can provide an audio interface between the user and the terminal.
  • the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
  • the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, sent to the other terminal via the network module 510, or output the audio data to the memory 520 for further processing.
  • the network module 570 can include a wireless fidelity (WiFi) module, a wired network module or a radio frequency module, wherein the wireless fidelity module belongs to a short-range wireless transmission technology, and the terminal can help the user to send and receive e-mails, browse web pages, and Access to streaming media, etc., it provides users with wireless broadband Internet access.
  • WiFi wireless fidelity
  • FIG. 5 shows the network module 570, it can be understood that it does not belong to the necessary configuration of the terminal, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 580 is the control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 520, and calling data stored in the memory 520, executing The terminal's various functions and processing data, so as to monitor the terminal as a whole.
  • the processor 580 may include one or more processing units; preferably, the processor The 580 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
  • the terminal also includes a power source 590 (such as a battery) that supplies power to the various components.
  • a power source 590 such as a battery
  • the power source can be logically coupled to the processor 580 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 580 included in the terminal further has the following functions: performing acquisition of the current time and date, current location of the user terminal, and acquiring cloud layer data corresponding to the current location of the user terminal; according to the current time and date. And the current location of the user terminal, searching for a first ultraviolet intensity corresponding to the current time and location of the user in a preset database; and searching for the corresponding cloud layer data according to the preset correspondence between the cloud layer data and the correction coefficient a correction coefficient for generating a second ultraviolet intensity based on the first correction coefficient and the first ultraviolet intensity.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. in.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

一种紫外线强度检测方法,包括:获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据(S101);根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度(102);根据预设的云层数据与修正系数的对应关系,查找获取的云层数据所对应的第一修正系数,根据第一修正系数和第一紫外线强度,生成第二紫外线强度(S103)。该方法通过移动终端随时获取当前时间的用户终端的位置对应的紫外线强度,得到的紫外线强度的精度更高。

Description

一种紫外线强度检测方法和装置 技术领域
本发明属于紫外线检测领域,尤其涉及一种紫外线强度检测方法和装置。
背景技术
紫外线是指波长为100-400nm的太阳辐射的总称。紫外线强度的大小与人们生活息息相关。当太阳中的紫外线强度过大时,可能会对人体的皮肤、眼睛等组织或器官造成损伤。比如,强度较大的紫外线可能会引发皮肤癌、白内障等疾病,或者会使得人体的免疫系统的免疫能力降低。但是,适量的紫外线照射有助于人体合成维生素D,促进人体对钙的吸收。因此,如何防止紫外线过度照射,引起了人们的广泛关注。
目前用户获取的紫外线数据,一般是通过气象台播报紫外线强度,用户终端根据自己的位置,查询到对应的紫外线强度。由于气象台所播报的紫外线强度,一般是针对播报的区域在未来一段时间内的天气所预测的紫外线强度,导致用户获取的紫外线强度的精度不高。
发明内容
本发明的目的在于提供一种紫外线强度检测方法,以解决现有技术获取的紫外线强度的数据的精度不高的问题。
第一方面,本发明实施例提供了一种紫外线强度检测方法,所述方法包括:
获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据;
根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度;
根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所 对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
结合第一方面,在第一方面的第一种可能实现方式中,所述获取用户终端当前位置对应的云层数据步骤包括:
通过用户终端的摄像头获取太阳与用户之间的云层图像;
将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据。
结合第一方面的第一种可能实现方式,在第一方面的第二种可能实现方式中,所述通过用户终端的摄像头获取太阳与用户之间的云层图像步骤包括:
根据当前时间和日期,确定太阳所在的位置;
根据用户终端的运动传感器获取用户终端的状态,根据所述用户终端的状态确定摄像头的偏转角度;
当所述摄像头的偏转角度与所述太阳的位置对应时,拍摄得到云层图像。
结合第一方面的第一种可能实现方式,在第一方面的第三种可能实现方式中,所述将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据步骤包括:
将获取的云层图像的亮度值、云层图像的形状,与预先设定的云层亮度样本和形状样本比较;
根据比较的结果,获取所述云层图像对应的云层亮度样本和形状样本。
结合第一方面,在第一方面的第四种可能实现方式中,在所述根据所述修正系数和所述第一紫外线强度,生成第二紫外线强度步骤之后,所述方法还包括:
根据当前时间和日期,确定太阳所在的位置;
获取用户终端当前所在位置与太阳所在位置之间的臭氧浓度,根据所述臭氧浓度查找对应的第二修正系数,根据所述第二修正系数对所述第二紫外线强度进行修正。
第二方面,本发明实施例提供了一种紫外线强度检测装置,所述装置包括:
数据获取单元,用于获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据;
查找单元,用于根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度;
第一修正单元,用于根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
结合第二方面,在第二方面的第一种可能实现方式中,所述数据获取单元包括:
云层图像获取子单元,通过用户终端的摄像头获取太阳与用户之间的云层图像;
图像对比子单元,用于将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据。
结合第二方面的第一种可能实现方式,在第二方面的第二种可能实现方式中,所述云层图像获取子单元包括:
位置确定模块,用于根据当前时间和日期,确定太阳所在的位置;
偏转角度确定模块,用于根据用户终端的运动传感器获取用户终端的状态,根据所述用户终端的状态确定摄像头的偏转角度;
拍摄模块,用于当所述摄像头的偏转角度与所述太阳的位置对应时,拍摄得到云层图像。
结合第二方面的第一种可能实现方式,在第二方面的第三种可能实现方式中,所述图像对比子单元包括:
比较模块,用于将获取的云层图像的亮度值、云层图像的形状,与预先设定的云层亮度样本和形状样本比较;
云层数据获取模块,用于根据比较的结果,获取所述云层图像对应的云层 亮度样本和形状样本。
结合第二方面,在第二方面的第四种可能实现方式中,所述装置还包括:
太阳位置获取单元,用于根据当前时间和日期,确定太阳所在的位置;
第二修正单元,用于获取用户终端当前所在位置与太阳所在位置之间的臭氧浓度,根据所述臭氧浓度查找对应的第二修正系数,根据所述第二修正系数对所述第二紫外线强度进行修正。
本发明通过获取当前时间、日期以及用户终端当前的位置,根据所时间、日期和位置的信息,在数据库中查找与其匹配的第一紫外线强度,然后通过所述用户终端的位置获取对应的云层数据,根据预先设定的云层数据与修正系数的对应关系,查找所述云层数据对应的第一修正系数,根据所述第一修正系统对所述第一紫外线强度进行修正,得到第二紫外线强度。由于本发明可通过移动终端随时获取当前时间的用户终端的位置对应的紫外线强度,得到的紫外线强度的精度更高。
附图说明
图1是本发明第一实施例提供的紫外线强度检测方法的实现流程图;
图2是本发明第二实施例提供的紫外线强度检测方法的实现流程图;
图3是本发明第三实施例提供的紫外线强度检测方法的实现流程图;
图4是本发明第四实施例提供的紫外线强度检测装置的结构示意图;
图5是本发明第五实施例提供的检测终端的结构示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例的目的在于提供一种紫外线强度检测方法,以解决现有技术 中对于紫外线强度进行检测时,通常由专用的紫外线强度检测仪进行检测,这种检测方式需要购买昂贵的检测设备,而且紫外线强度检测仪携带较为不便,不利于用户随时随地进行紫外线强度检测。为了提高检测的便利性,现有技术可以使用移动终端进行紫外线强度的查看,通过查看气象服务台发布的紫外线强度,提高了用户使用的便利性,但是这种紫外线强度数据是针对某个区域的紫外线强度,使得用户获取的紫外线强度的精度不高。下面结合附图,对本发明作进一步的说明。
实施例一:
图1示出了本发明第一实施例提供的紫外线强度检测方法的实现流程,详述如下:
在步骤S101中,获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据。
具体的,本发明实施例中
本发明实施例所述当前的时间,是指在一天24小时中的一个时间点。比如,所述当前的时间可以为中午12点20分18秒。所述时间的精度可以根据用户的精度需要,保留或者略去时间中的秒值部分的数据。比如,用户在对精度要求一般的情况下,可以直接使用时间12点20分。所述时间的获取,可以直接读取用户终端的本地时间,也可以向网络时间服务器发送网络时间获取请求,得到网络服务器返回的精准时间。
所述当前的日期,是指在一年365天中具体处于哪一天。可以采用“月份”和“日”相结合的方式表示日期,比如可以用“6月22日”表示具体的日期。同样,所述日期的获取可以直接读取用户终端的本地日期,也可以向网络时间服务器发送网络时间获取请求,得到网络服务器所返回的准确的日期。
所述用户终端当前的位置,可以通过卫星定位的方式获取,也可以通过移动信号的基站定位的方式获取,或者还可以根据WIFI接入点定位。可以根据用户终端的场景需要,智能的选择定位的方式。比如高楼林立的室外场景,卫星 定位信号可能不是特别强,可以通过移动基站进行定位,或者根据WIFI接入点进行定位。
所述用户终端当前位置对应的云层数据,是指用户终端的位置与太阳的位置之间的云层数据,所述云层数据的大小,可以影响紫外线强度。当云层数据越大时,用户终端所在位置的紫外线强度越小,当云层数据越小时,用户终端所在位置的紫外线强度也越大。所述云层数据的获取,可以由用户根据当前的情景,接收用户输入的云层数据,也可以根据用户的位置,获取与所述位置对应的紫外线强度,或者还可以通过拍照的方式,获取所述云层数据。
所述云层数据可以包括云层的厚度,也可以包括云层的形状、亮度等。
所述用户终端可以为智能手机、平板电脑、笔记本电脑等。通过设置与本发明所采集的数据对应的传感电路,以及数据通信电路,结合数据处理模块,使得用户可以方便的使用其获取当前场景的紫外线强度数据。
另外,本发明在获取时间、日期、位置和云层数据之前,还可以包括对当前场景的亮度进行检测的步骤,当亮度小于预设的阈值时,则不进行上述数据的获取。只有亮度大于预设的阈值时,才进行上述数据的获取。通过这种智能控制方式,可以有效的节省用户终端的电能的同时,也可以使得用户终端的系统的资源利用更加优化。
在步骤S102中,根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度。
具体的,在数据库中预先设置有一第紫外线强度序列,所述第一紫外线强度序列可以通过历史数据筛选的方式获取。比如可以设定在特定的云层数据条件下,得到不同时间和日期,在不同位置的紫外线强度。所述特定的云层数据条件,优选为无云的条件下对应的紫外线强度。所述数据库的获取,可以通过多年数据记录的方式获取(比如通过多年记录的方式,寻找在天气晴朗,没有云层的状态下所对应的紫外线强度),也可以通过数据记录与合理预测相结合的方式,形成完整的第一紫外线强度查找的数据库。
当然,所述第一紫外线强度也可以为其它特定云层数据下所对应的紫外线强度,比如可以选定云层厚度为指定的一个标准状态,通过多次记录或者计算的方式,获取每个时间、日期,在不同位置所对应的第一紫外线强度。
当然,所述数据库的精度也可以在使用过程中不断的完善,比如可以将当前时间、日期和位置所对应的紫外线强度与气象服务站提供的紫外线强度进行比较。如果两者的差值明显过大,比如超过预先设定的紫外线差值,则可以向服务器发送提醒信息,确认当前的紫外线强度是否与实际相符。
在步骤S103中,根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
在步骤S102中获取的第一紫外线强度,为特定云层数据下的紫外线强度,为了能够适应云层数据变化的特定,在步骤S103中还包括对云层数据作进一步的修正,从而使得用户终端当前的紫外线强度更加与场景相符。
通过预先设定云层数据与修正系数的对应关系,可以使得用户终端在不同场景下,由云层数据快速的查找对应的第一修正系数。所述云层数据可以包括云层的厚度、云层的形状、云层的颜色等属性。在查找所述云层数据对应的修正系统时,可直接根据云层数据的属性在数据库中查找。
当所述第一紫外线强度为无云场景下对应的紫外线强度时,所述第一修正系数为与所述第一紫外线强度相乘,且数值小于或等于1的系数。随着云层厚度的增加,或者随着云层面积的块状区域的面积加大,或者随着云层颜色的加深,所述第一修正系数逐渐变小,从而使得修正后的第二紫外线强度越小。
当所述第一紫外线强度为特定云层厚度、形状与颜色下的紫外线强度,那么,在其它场景下,所述第一修正系数可能大于1,比如在云层厚度变薄,或者颜色变浅,或者形状细块化的时候,或者也可能小于1,比如随着云层厚度的增加,或者随着云层面积的块状区域的面积加大,或者随着云层颜色的加深等。
另外,本发明还可以对紫外线强度的照射时长进行累计,对不同的紫外线强度设定不同的照射时间阈值,当用户终端处于某一紫外线强度下,照射的时长达到预定的阈值时,则发出提醒信息,提示用户注意紫外线可能会对人体造成伤害。
在获取到紫外线强度后,还可以进一步检测用户处于紫外线强度的场景下的持续时长。可以根据预先设定的紫外线强度与日照时长的对应关系,当用户在紫外线场景下的持续时长超过对应的日照时长时,则可以向用户发出提醒信息。进一步优化的实施方式中,可以预先获取用户的状态数据,根据所述状态数据生成相应的日照时长。所述状态数据可以包括用户的维生素D的含量,或者还可以包括用户的黄疸数据等。
由于本发明生成的第二紫外线强度是根据用户终端当前的时间、日期和位置所查找的第一紫外线强度,并且通过云层数据对第一紫外线强度所修正后的数据,因此,其数值与用户的当前场景更加相符,获取方便的同时,获取的紫外线强度的精度也会更高。
实施例二:
图2示出了本发明第二实施例提供的紫外线强度检测方法的实现流程,详述如下:
在步骤S201中,获取当前的时间和日期、用户终端当前的位置。
在步骤S202中,通过用户终端的摄像头获取太阳与用户之间的云层图像。
具体的,在一天中的不同时间点,所述太阳的位置也会不相同。并且在一年365天中的不同天的同一时间里(比如3月14日的上午11:30与9月12日的上午11:30),所述太阳的位置也会不同。另外,在同一天的不同时间,太阳的位置也会不同。因此,所述通过用户终端的摄像头获取太阳与用户之间的云层图像步骤具体可以包括:
1.1、根据当前时间和日期,确定太阳所在的位置;
1.2、根据用户终端的运动传感器获取用户终端的状态,根据所述用户终端 的状态确定摄像头的偏转角度;
1.3、当所述摄像头的偏转角度与所述太阳的位置对应时,拍摄得到云层图像。
其中,所述太阳的位置,为相对于用户终端的位置,比如可以为用户头顶正上方,或者与正上方所成的偏转角。所述太阳所在的位置随着时间变化,可以预先设定指定的周期对所述太阳的位置进行采集,或者根据用户的位置,实时的计算当前时间和日期对应的太阳的位置。
所述用户终端可以包括运动传感器,用于检测用户终端的状态,比如用户终端为平放或者竖起放置的状态等。当所述用户终端有两个摄像头时,可以检测两个摄像头中的任意一个与所述太阳的位置对应时,即任意一个摄像头对准太阳的位置时,则向摄像头发送拍摄指令,由摄像头拍摄当前位置对准太阳的图像。由于该方法可通过摄像头自动的进行云层图像的拍摄,可以使得用户使用更加智能和人性化,提高检测的效率。
在步骤S203中,将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据。
在获取到云层图像后,需要对云层图像进行识别,根据云层图像的特征,计算云层对紫外线的拦截效率,从而方便后续对第一紫外线强度进行优化。所述将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据步骤包括:
将获取的云层图像的亮度值、云层图像的形状,与预先设定的云层亮度样本和形状样本比较;
根据比较的结果,获取所述云层图像对应的云层亮度样本和形状样本。
在所述云层图像的亮度值的比较时,可以通过关闭摄像头使用的自动曝光等调节功能,得到相机参数一致条件下所拍摄的图像。从而能够对不同时间拍摄的云层图像的亮度值进行有效的对比。
所述云层图像的亮度,可以反应所述云层的厚度。一般情况下,云层图像 的亮度越低,表示云层的厚度越厚,亮度越小,则云层的厚度越薄。
另外,所述云层图像中的云层面积,可以影响紫外线的穿透,当所述形状为较小块形状时,则紫外线穿透或者折射云层的能力越强,如果云层为大块云层时,则紫外线穿透或者折射云层的能力会减小。
通过预先设定的云层亮度样本和云层形状样本,与获取的云层图像进行对比,可查找当前获取的云层图像较为的云层亮度样本和云层的形状样本,即本发明所述的云层数据。根据预先设定的云层数据与修正系数的对应关系,可以查找所述云层数据对应的第一修正系数。
在步骤S204中,根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度。
在步骤S205中,根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
步骤S204-S205与实施例一中步骤S102-S103基本相同,在此不作重复赘述。
本发明实施例在实施例一的基础上,进一步介绍了对于云层图像的获取方式,通过智能的检测用户终端的状态,可以更为快捷有效的获取云层图像,并对所述云层图像进行智能的分析和对比,从而有利于用户更加方便有效的获取紫外线强度。
实施例三:
图3示出了本发明第三实施例提供的紫外线强度检测方法的实现流程,详述如下:
在步骤S301中,获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据。
在步骤S302中,根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度。
在步骤S303中,根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
步骤S301-S303与实施例一中步骤S101-S103基本相同,在此不作重复赘述。
在步骤S304中,根据当前时间和日期,确定太阳所在的位置;
在步骤S305中,获取用户终端当前所在位置与太阳所在位置之间的臭氧浓度,根据所述臭氧浓度查找对应的第二修正系数,根据所述第二修正系数对所述第二紫外线强度进行修正。
所述臭氧浓度,可以将用户与太阳之间的位置发送至臭氧监测服务器,通过检测太阳与用户终端之间的臭氧浓度,可以对用户终端所在位置的紫外线强度进一步修正。可以通过历史统计的数据确定所述臭氧浓度与修正系数的对应关系。
除此之外,还可以获取用户终端所在场景的能见度、湿度等数据。通过采集能见度、湿度等数据,结合历史统计的数据确定不同能见度、不同湿度所对应的修正系数,从而更进一步对用户终端所在场景的紫外线强度进行修正。进一步提高紫外线强度检测的精度。
实施例四:
图4示出了本发明第四实施例提供的紫外线强度检测装置的结构示意图,详述如下:
本发明实施例所述紫外线强度检测装置,包括:
数据获取单元401,用于获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据;
查找单元402,用于根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度;
第一修正单元403,用于根据预设的云层数据与修正系数的对应关系,查 找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
优选的,所述数据获取单元包括:
云层图像获取子单元,通过用户终端的摄像头获取太阳与用户之间的云层图像;
图像对比子单元,用于将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据。
优选的,所述云层图像获取子单元包括:
位置确定模块,用于根据当前时间和日期,确定太阳所在的位置;
偏转角度确定模块,用于根据用户终端的运动传感器获取用户终端的状态,根据所述用户终端的状态确定摄像头的偏转角度;
拍摄模块,用于当所述摄像头的偏转角度与所述太阳的位置对应时,拍摄得到云层图像。
优选的,所述图像对比子单元包括:
比较模块,用于将获取的云层图像的亮度值、云层图像的形状,与预先设定的云层亮度样本和形状样本比较;
云层数据获取模块,用于根据比较的结果,获取所述云层图像对应的云层亮度样本和形状样本。
优选的,所述装置还包括:
太阳位置获取单元,用于根据当前时间和日期,确定太阳所在的位置;
第二修正单元,用于获取用户终端当前所在位置与太阳所在位置之间的臭氧浓度,根据所述臭氧浓度查找对应的第二修正系数,根据所述第二修正系数对所述第二紫外线强度进行修正。
本发明实施例所述紫外线强度检测装置,与实施例一和二所述紫外线强度检测方法对应,在此不作重复赘述。
实施例五
图5为本发明第四实施例提供的终端的结构框图,本实施例所述终端,包括:RF电路510、存储器520、输入单元530、显示单元540、音频电路560、网络模块570、处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图5对终端的各个构成部件进行具体的介绍:
存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行终端的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元530可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531以及其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音 量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及终端的各种菜单。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板541是作为两个独立的部件来实现终端的输入和输入功能,但是在某些实施例中,可以将触控面板531与显示面板541集成而实现终端的输入和输出功能。
音频电路560、扬声器561,传声器562可提供用户与终端之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经网络模块510以发送给比如另一终端,或者将音频数据输出至存储器520以便进一步处理。
网络模块570可以包括无线保真(wireless fidelity,WiFi)模块,有线网络模块或者射频模块,其中无线保真模块属于短距离无线传输技术,终端通过网络模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了网络模块570,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器580是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器 580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。
终端还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。
在本发明实施例中,该终端所包括的处理器580还具有以下功能:执行获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据;根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度;根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度的程序。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (10)

  1. 一种紫外线强度检测方法,其特征在于,所述方法包括:
    获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据;
    根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度;
    根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
  2. 根据权利要求1所述方法,其特征在于,所述获取用户终端当前位置对应的云层数据步骤包括:
    通过用户终端的摄像头获取太阳与用户之间的云层图像;
    将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据。
  3. 根据权利要求2所述方法,其特征在于,所述通过用户终端的摄像头获取太阳与用户之间的云层图像步骤包括:
    根据当前时间和日期,确定太阳所在的位置;
    根据用户终端的运动传感器获取用户终端的状态,根据所述用户终端的状态确定摄像头的偏转角度;
    当所述摄像头的偏转角度与所述太阳的位置对应时,拍摄得到云层图像。
  4. 根据权利要求2所述方法,其特征在于,所述将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据步骤包括:
    将获取的云层图像的亮度值、云层图像的形状,与预先设定的云层亮度样本和形状样本比较;
    根据比较的结果,获取所述云层图像对应的云层亮度样本和形状样本。
  5. 根据权利要求1所述方法,其特征在于,在所述根据所述修正系数和所述第一紫外线强度,生成第二紫外线强度步骤之后,所述方法还包括:
    根据当前时间和日期,确定太阳所在的位置;
    获取用户终端当前所在位置与太阳所在位置之间的臭氧浓度,根据所述臭氧浓度查找对应的第二修正系数,根据所述第二修正系数对所述第二紫外线强度进行修正。
  6. 一种紫外线强度检测装置,其特征在于,所述装置包括:
    数据获取单元,用于获取当前的时间和日期、用户终端当前的位置以及获取用户终端当前位置对应的云层数据;
    查找单元,用于根据当前的时间和日期以及用户终端当前的位置,在预设的数据库中查找用户当前时间和位置对应的第一紫外线强度;
    第一修正单元,用于根据预设的云层数据与修正系数的对应关系,查找所述获取的云层数据所对应的第一修正系数,根据所述第一修正系数和所述第一紫外线强度,生成第二紫外线强度。
  7. 根据权利要求6所述装置,其特征在于,所述数据获取单元包括:
    云层图像获取子单元,通过用户终端的摄像头获取太阳与用户之间的云层图像;
    图像对比子单元,用于将获取的云层图像与预先设定的云层样本进行对比,获取所述云层图像对应的云层数据。
  8. 根据权利要求7所述装置,其特征在于,所述云层图像获取子单元包括:
    位置确定模块,用于根据当前时间和日期,确定太阳所在的位置;
    偏转角度确定模块,用于根据用户终端的运动传感器获取用户终端的状态,根据所述用户终端的状态确定摄像头的偏转角度;
    拍摄模块,用于当所述摄像头的偏转角度与所述太阳的位置对应时,拍摄得到云层图像。
  9. 根据权利要求7所述装置,其特征在于,所述图像对比子单元包括:
    比较模块,用于将获取的云层图像的亮度值、云层图像的形状,与预先设定的云层亮度样本和形状样本比较;
    云层数据获取模块,用于根据比较的结果,获取所述云层图像对应的云层亮度样本和形状样本。
  10. 根据权利要求6所述装置,其特征在于,所述装置还包括:
    太阳位置获取单元,用于根据当前时间和日期,确定太阳所在的位置;
    第二修正单元,用于获取用户终端当前所在位置与太阳所在位置之间的臭氧浓度,根据所述臭氧浓度查找对应的第二修正系数,根据所述第二修正系数对所述第二紫外线强度进行修正。
PCT/CN2017/078762 2016-11-17 2017-03-30 一种紫外线强度检测方法和装置 WO2018090530A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611026313.XA CN106441560B (zh) 2016-11-17 2016-11-17 一种紫外线强度检测方法和装置
CN201611026313.X 2016-11-17

Publications (1)

Publication Number Publication Date
WO2018090530A1 true WO2018090530A1 (zh) 2018-05-24

Family

ID=58220566

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078762 WO2018090530A1 (zh) 2016-11-17 2017-03-30 一种紫外线强度检测方法和装置

Country Status (2)

Country Link
CN (1) CN106441560B (zh)
WO (1) WO2018090530A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106441560B (zh) * 2016-11-17 2018-01-16 包磊 一种紫外线强度检测方法和装置
CN107560725B (zh) * 2017-08-09 2020-05-19 Oppo广东移动通信有限公司 紫外线强度监测方法及系统,以及移动终端

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1120636A2 (de) * 2000-01-24 2001-08-01 Deutsches Zentrum für Luft- und Raumfahrt e.V. Verfahren zum Bestimmen von bodennaher UV-Strahlung
CN101825490A (zh) * 2009-03-06 2010-09-08 晨星软件研发(深圳)有限公司 紫外线侦测系统与方法
CN103167414A (zh) * 2013-03-18 2013-06-19 南京信息工程大学 基于智能手机参与感知的气象信息服务系统及其实现方法
CN103513295A (zh) * 2013-09-25 2014-01-15 青海中控太阳能发电有限公司 一种基于多相机实时拍摄与图像处理的天气监测系统与方法
CN104079655A (zh) * 2014-07-07 2014-10-01 成都天晗卓然科技有限公司 便携式实时紫外线辐射检测系统及其实现方法
CN105389750A (zh) * 2015-12-28 2016-03-09 北京华风创新网络技术有限公司 移动决策气象服务系统
CN106441560A (zh) * 2016-11-17 2017-02-22 包磊 一种紫外线强度检测方法和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060123112A (ko) * 2003-10-09 2006-12-01 코닌클리케 필립스 일렉트로닉스 엔.브이. Uv 방사 검출과 경고 장치 및 방법
US7489397B2 (en) * 2005-05-11 2009-02-10 University Of North Texas Instrument, system and method for automated low cost atmospheric measurements
JP5358887B2 (ja) * 2007-02-22 2013-12-04 富士通株式会社 情報端末装置、制御方法及び制御プログラム
JP2011022009A (ja) * 2009-07-16 2011-02-03 Rohm Co Ltd 紫外線測定装置
US9068887B1 (en) * 2013-04-24 2015-06-30 Nabyl Bennouri UV dosimetry system
CN203337260U (zh) * 2013-07-29 2013-12-11 南方电网科学研究院有限责任公司 一种具有辐射和紫外线检测功能的移动终端
CN204085692U (zh) * 2014-09-12 2015-01-07 纳米新能源(唐山)有限责任公司 可连接移动终端的紫外光检测元件及紫外光检测设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1120636A2 (de) * 2000-01-24 2001-08-01 Deutsches Zentrum für Luft- und Raumfahrt e.V. Verfahren zum Bestimmen von bodennaher UV-Strahlung
CN101825490A (zh) * 2009-03-06 2010-09-08 晨星软件研发(深圳)有限公司 紫外线侦测系统与方法
CN103167414A (zh) * 2013-03-18 2013-06-19 南京信息工程大学 基于智能手机参与感知的气象信息服务系统及其实现方法
CN103513295A (zh) * 2013-09-25 2014-01-15 青海中控太阳能发电有限公司 一种基于多相机实时拍摄与图像处理的天气监测系统与方法
CN104079655A (zh) * 2014-07-07 2014-10-01 成都天晗卓然科技有限公司 便携式实时紫外线辐射检测系统及其实现方法
CN105389750A (zh) * 2015-12-28 2016-03-09 北京华风创新网络技术有限公司 移动决策气象服务系统
CN106441560A (zh) * 2016-11-17 2017-02-22 包磊 一种紫外线强度检测方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZENG YAN ET AL.: "Research on the forecast model of radiation intensity of ultraviolet ray", JOURNAL OF NANJING INSTITUTE OF METEOROLOGY, vol. 26, no. 5, 31 October 2003 (2003-10-31), pages 685 - 693 *

Also Published As

Publication number Publication date
CN106441560A (zh) 2017-02-22
CN106441560B (zh) 2018-01-16

Similar Documents

Publication Publication Date Title
CN110460905A (zh) 基于多设备的视频自动续播方法、装置及存储介质
CN110865754B (zh) 信息展示方法、装置及终端
EP3552134A1 (en) Method for adaptive authentication and electronic device supporting the same
KR101839569B1 (ko) 파노라마 이미지 획득을 위한 방법 및 단말기
CN108055402B (zh) 一种拍摄方法及移动终端
EP3624457A1 (en) Method and apparatus for live broadcasting
CN109361865A (zh) 一种拍摄方法及终端
US20210168279A1 (en) Document image correction method and apparatus
CN107592459A (zh) 一种拍照方法及移动终端
CN109788174B (zh) 一种补光方法及终端
WO2019091426A1 (zh) 摄像头组件、图像获取方法及移动终端
CN102629979A (zh) 一种拍摄模式启动方法、摄像装置
CN110099213A (zh) 一种图像显示控制方法及终端
EP3104304B1 (en) Electronic apparatus and method of extracting still images
CN111522250A (zh) 智能家居系统及其控制方法与装置
CN107637063A (zh) 用于基于用户的手势控制功能的方法和拍摄装置
US20180198978A1 (en) Method and device for generating images
CN110855901A (zh) 摄像头的曝光时间控制方法及电子设备
WO2018090530A1 (zh) 一种紫外线强度检测方法和装置
CN110602387B (zh) 拍摄方法及电子设备
CN110163036B (zh) 一种图像识别方法及装置
CN110572600A (zh) 一种录像处理方法及电子设备
CN114079729B (zh) 拍摄控制方法、装置、电子设备及存储介质
CN112422828B (zh) 图像处理方法、图像处理装置、电子设备和可读存储介质
CN110740263B (zh) 一种图像处理方法和终端设备

Legal Events

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

Ref document number: 17872424

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17872424

Country of ref document: EP

Kind code of ref document: A1