WO2023272973A1 - 一种光照提示方法、可穿戴设备及存储介质 - Google Patents

一种光照提示方法、可穿戴设备及存储介质 Download PDF

Info

Publication number
WO2023272973A1
WO2023272973A1 PCT/CN2021/120023 CN2021120023W WO2023272973A1 WO 2023272973 A1 WO2023272973 A1 WO 2023272973A1 CN 2021120023 W CN2021120023 W CN 2021120023W WO 2023272973 A1 WO2023272973 A1 WO 2023272973A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
target
user
illuminance
illuminances
Prior art date
Application number
PCT/CN2021/120023
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 WO2023272973A1 publication Critical patent/WO2023272973A1/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
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/28Investigating the spectrum
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • 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/02Details

Definitions

  • Embodiments of the present invention relate to the technical field of lighting prompts, and in particular, to a lighting prompting method, a wearable device, and a storage medium.
  • Embodiments of the present invention provide a lighting prompt method, a wearable device, and a storage medium to solve the problem of how to prompt a user according to the current lighting situation in the prior art.
  • the embodiment of the present invention is implemented as follows:
  • a light prompting method which is applied to a wearable device, the wearable device is configured with a spectral sensor, and the method includes:
  • M spectral parameters at M moments are obtained through the spectral sensor, and the spectral parameters include: at least one of target illuminance, target color temperature, and target peak width, and M is greater than or equal to 1 an integer of
  • a first prompt message is output, and the first prompt message is used to remind the user that the illumination within the preset duration is not conducive to the prevention and control of myopia .
  • a first prompt message including:
  • the spectral parameters include: the target illuminance, if it is detected that the average value of the M target illuminances is not in the preset illuminance interval, then output the first prompt message;
  • the spectral parameters include: the target color temperature, if it is detected that the average value of the M target color temperatures is not in the preset color temperature range, then output the first prompt message;
  • the spectral parameters include: the target peak width, if it is detected that the average value of the M target peak widths is not in the preset peak width interval, the first prompt message is output.
  • the spectral parameters include: the target illuminance, and within a preset time period, the spectral sensor acquires the After the M spectral parameters, the method also includes:
  • Q target illuminances among the M target illuminances are greater than or equal to the preset illuminance threshold, then determine Q detection moments corresponding to the Q target illuminances, where Q is an integer greater than or equal to 1;
  • a second prompt message is output, and the second prompt message is used to prompt the user to extend the lighting duration
  • the preset illuminance threshold is a standard illuminance for preventing myopia of the user.
  • the spectral parameters include: the target illuminance, and within a preset time period, the spectral sensor acquires the After the M spectral parameters, the method also includes:
  • a third prompt message is output, and the third prompt message includes: Q positions corresponding to the Q target illuminances information, the third prompt message is used to remind the user that the light is sufficient when they are in the Q position information;
  • the preset illuminance threshold is a standard illuminance for preventing myopia of the user, and Q is an integer greater than or equal to 1.
  • the spectral parameters include: the target light intensity, and the acquisition of M spectral parameters at M moments includes:
  • N is an integer greater than or equal to 1;
  • the target illuminance at each moment is calculated.
  • each of the N preset bands includes P preset sub-bands, and the acquiring the N preset Set the N first illuminances corresponding to the bands, including:
  • the P second illuminances are averaged to obtain the first illuminance corresponding to each preset band.
  • the calculation according to the N first illuminances to obtain the target illuminance at each moment includes:
  • the personal information of the user includes: the user's age, the user's vision condition;
  • the personal adjustment coefficient is proportional to the user's vision, and the personal adjustment coefficient is proportional to the user's age;
  • the target illuminance at each moment is calculated according to the N first illuminances, the personal adjustment coefficient, and the wavelength weight coefficient corresponding to each of the N preset bands.
  • the acquisition of M spectral parameters at M moments includes:
  • the angle differences between the first direction and the second direction at the M times are all less than or equal to the preset angle threshold.
  • a wearable device configured with a spectral sensor, and the wearable device includes:
  • An acquisition module configured to acquire M spectral parameters at M moments through the spectral sensor within a preset time period, the spectral parameters including: at least one of target illuminance, target color temperature, and target peak width, M is an integer greater than or equal to 1;
  • An output module configured to output a first prompt message if it is detected that the average value of the M spectral parameters is not in the preset parameter interval, and the first prompt message is used to remind the user of the illumination within the preset duration It is not conducive to the prevention and control of myopia.
  • a wearable device including:
  • a processor coupled to the memory
  • the processor invokes the executable program code stored in the memory to execute the light prompting method in the first aspect of the embodiments of the present invention.
  • a computer-readable storage medium which stores a computer program, and the computer program causes a computer to execute the light prompting method in the first aspect of the embodiments of the present invention.
  • the computer-readable storage medium includes ROM/RAM, magnetic disk or optical disk, and the like.
  • a computer program product is provided.
  • the computer program product is run on a computer, the computer is made to execute part or all of the steps of any one method of the first aspect.
  • an application distribution platform is provided, and the application distribution platform is used to distribute a computer program product, wherein, when the computer program product is run on a computer, the computer is made to execute any one of the methods in the first aspect some or all of the steps.
  • the wearable device is equipped with a spectral sensor, and the wearable device can obtain M spectral parameters at M moments through the spectral sensor within a preset period of time.
  • the spectral parameters include: target illuminance, target color temperature, and target At least one item in the peak width; if it is detected that the average value of the M spectral parameters is not in the preset parameter interval, the first prompt message is output, and the first prompt message is used to remind the user that the illumination within the preset duration is not conducive to Prevention and control of myopia.
  • the wearable device can output prompt messages about light to the user according to the spectral parameters of a certain period of time, so as to help the user tend to the high-quality light source and obtain enough light, so as to achieve the purpose of preventing and controlling myopia.
  • Fig. 1 is a schematic flow diagram 1 of a lighting prompting method provided by an embodiment of the present invention
  • Fig. 2 is a schematic scene diagram of a lighting prompt method provided by an embodiment of the present invention.
  • Fig. 3 is a schematic flow diagram II of a light prompting method provided by an embodiment of the present invention.
  • Fig. 4 is a schematic flow diagram III of a lighting prompt method provided by an embodiment of the present invention.
  • Fig. 5 is a schematic flowchart 4 of a lighting prompt method provided by an embodiment of the present invention.
  • Fig. 6 is a first structural schematic diagram of a wearable device provided by an embodiment of the present invention.
  • Fig. 7 is a second schematic structural diagram of a wearable device provided by an embodiment of the present invention.
  • Fig. 8 is a schematic diagram of a hardware structure of a wearable device provided by an embodiment of the present invention.
  • first and second in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects.
  • first prompt message and the second prompt message are used to distinguish different prompt messages, rather than describing a specific order of the prompt messages.
  • an embodiment of the present invention provides a light prompt method, a wearable device and a storage medium.
  • the wearable device is equipped with a spectral sensor, and the wearable device can obtain the light at M moments through the spectral sensor within a preset time period.
  • M spectral parameters include: target illuminance, target color temperature, and at least one of the target peak width; if it is detected that the average value of the M spectral parameters is not in the preset parameter interval, then output the first prompt message, the The first prompt message is used to remind the user that the light within the preset duration is not conducive to the prevention and control of myopia.
  • the wearable device can output prompt messages about light to the user according to the spectral parameters of a certain period of time, so as to help the user tend to the high-quality light source and obtain enough light, so as to achieve the purpose of preventing and controlling myopia.
  • the wearable device involved in the embodiment of the present invention may be a smart watch, a smart bracelet, a watch phone, a smart earring, a smart necklace, a smart earphone, etc., which are not limited in the embodiment of the present invention.
  • the execution subject of the light prompting method provided by the embodiment of the present invention may be the above-mentioned wearable device, or a functional module and/or functional entity in the wearable device that can realize the light prompting method, specifically according to actual use requirements Hence, the embodiments of the present invention are not limited. The following takes a wearable device as an example to illustrate the light prompting method provided by the embodiment of the present invention.
  • an embodiment of the present invention provides a lighting prompt method, which may include the following steps:
  • the wearable device within a preset time period, can obtain M spectral parameters corresponding to M moments through the configured spectral sensor, where M is an integer greater than or equal to 1.
  • the wearable device can obtain the spectral parameters at the current moment at intervals within a preset period of time.
  • duration of two adjacent intervals may be the same or different, which is not limited in this embodiment of the present invention.
  • the spectral parameters acquired each time at the current moment can be used to represent the lighting conditions between the current moment and the last moment at which the spectral parameters were obtained.
  • the wearable device acquires the first spectral parameter at 12:00, acquires the second spectral parameter at 12:05, and acquires the third spectral parameter at 12:16.
  • the second spectrum parameter may represent the average illumination situation between 12:00-12:05;
  • the third spectrum parameter may represent the average illumination situation between 12:05-12:16.
  • the spectral sensor can be a separate test device, or a component integrated in other devices.
  • the spectral sensor can be integrated in a wearable device.
  • the optical part of the spectral sensor includes a lighting element for receiving detection light, an imaging optical element using an off-axis mirror reflective optical element, and a spectroscopic mirror to divide the spectrum.
  • the spectroscopic element of the segment, the multiple spectral segments divided need to be obtained by multiple detectors; the spectral sensor is also provided with a standard temperature plate for compensating the non-uniformity of multiple detectors.
  • the lighting element in the spectrum sensor can be configured on the outer surface of the wearable device to collect ambient light where the wearable device is located.
  • the spectral parameters include: at least one of target illuminance, target color temperature, and target peak width.
  • the illuminance represents the luminous flux per unit area on the surface of the subject.
  • the spectral sensor in the wearable device can receive the light in the environment and detect it to obtain the current illuminance , the illuminance can be used to reflect the current lighting situation.
  • the color temperature is a physical quantity used to define the color of the light source in illumination optics. That is, when a black body is heated to a certain temperature, and the color of the light emitted by it is the same as that emitted by a light source, the temperature at which the black body is heated is called the color temperature of the light source, or color temperature for short.
  • the peak width is the distance between two points where the tangent line drawn at the inflection points on both sides of the spectral peak intersects with the peak bottom, that is, the distance between adjacent peaks, or the distance between adjacent troughs.
  • the above spectral parameters can be detected by a spectral sensor, and the spectral parameters affect the user's visual health.
  • acquiring M spectral parameters at M moments may specifically include: acquiring location information at the current moment; if it is detected that the location information at the current moment is in an indoor place, then acquiring the first direction the spectral sensor is facing, and the user's face The second direction of the orientation; obtaining the angle difference between the first direction and the second direction; if the angle difference is less than or equal to the preset angle threshold, then obtaining M spectral parameters at M moments.
  • the wearable device can detect the first direction the spectral sensor is facing. One direction, and the second direction facing the user's face, when the angle difference between the first direction and the second direction is less than or equal to the preset angle threshold, it can indicate that the spectral parameters of the current user's ambient light are different from those of the incoming light. If the difference in spectral parameters is small, then the wearable device can obtain M spectral parameters at M moments.
  • angle differences between the first direction and the second direction at the M time points are all less than or equal to the preset angle threshold.
  • the wearable device when the wearable device is a device worn on the user's arm, after the wearable device judges that the user is in an indoor place according to the current location information, the first direction of the spectral sensor can be obtained through the six-axis sensor, and the The six-axis sensor detects the movement trajectory of the user's arm; then the wearable device can judge the user's current activity behavior according to the movement trajectory of the user's arm, and then determine the second direction of the user's face according to the user's current activity behavior.
  • the wearable device may output a prompt message to the user, where the prompt message is used to prompt the user to place the wearable device near the user's eyes, and Make sure that the orientation of the spectral sensor is consistent with the orientation of the user's face.
  • the user's second direction 2b towards the face is the direction 2b towards the computer screen.
  • the first direction 2a that the spectral sensor in the wearable device 23 faces may be the direction 2a of the keyboard.
  • the wearable device 23 can be placed near the eyes, and ensure that the first direction 2a facing the spectral sensor is consistent with the second direction 2b facing the user's face.
  • the wearable device can acquire M spectral parameters when the angle difference between the first direction the spectral sensor is facing and the second direction the user's face is facing is less than or equal to the preset angle threshold , which can avoid the situation that the detection error is large due to the large difference between the spectral parameters of the ambient light where the user is located and the spectral parameters of the incoming light, and improve the detection accuracy of the spectral sensor in the wearable device.
  • the wearable device after the wearable device obtains M spectral parameters at M times, it can calculate the average value of the M spectral parameters. If the average value is not in the preset parameter range, it can indicate the current illumination If the situation is unfavorable for the user to prevent and control myopia, then the wearable device can output a first prompt message to the user, and the first prompt message is used to remind the user that the light within a preset period of time is not conducive to the prevention and control of myopia.
  • the preset parameter range is a standard parameter range that is beneficial to the user's prevention and control of myopia obtained through multiple tests.
  • the first prompt message is output, which may specifically include the following implementations:
  • Implementation way 1 when the spectral parameters include: target illuminance, if it is detected that the average value of M target illuminances is not in the preset illuminance range, output a first prompt message.
  • the wearable device may acquire an average value of M target illuminances, and output a first prompt message to the user when the average value is not in a preset illuminance interval.
  • the preset illuminance interval is a standard illuminance interval obtained through multiple experiments and tests that is beneficial for users to prevent and control myopia.
  • the preset illuminance interval may be 400 lux (Lux) ⁇ 749 Lux.
  • Implementation method 2 when the spectral parameters include: color temperature, if it is detected that the average value of M color temperatures is not in the preset color temperature range, output a first prompt message.
  • the wearable device may obtain an average value of M target color temperatures, and output a first prompt message to the user when the average value is not in the preset color temperature range.
  • the preset color temperature range is a standard color temperature range obtained through multiple experiments and tests, which is beneficial for users to prevent and control myopia.
  • the preset color temperature range may be 4500 Kelvin (K)-6500K.
  • Implementation mode 3 when the spectral parameters include: peak width, if it is detected that the average value of M peak widths is not in the preset peak width interval, output a first prompt message.
  • the wearable device can obtain the average value of M target peak widths, and output a first prompt to the user when the average value is not in the preset peak width interval information.
  • the preset peak width interval is a standard peak width interval that is beneficial to users to prevent and control myopia obtained through multiple tests.
  • the preset peak width range may be 500 nanometers (nm) ⁇ 1300 nm.
  • the wearable device can detect different spectral parameters according to the standard intervals of different spectral parameters after acquiring different spectral parameters, and output prompt information to the user for different spectral parameters.
  • An embodiment of the present invention provides a light prompting method.
  • the wearable device is equipped with a spectral sensor.
  • the wearable device can obtain M spectral parameters at M moments through the spectral sensor within a preset period of time.
  • the spectral parameters include: target illuminance, Target color temperature, and at least one of the target peak width; if it is detected that the average value of M spectral parameters is not in the preset parameter interval, then output a first prompt message, which is used to prompt the user to The light inside is not conducive to the prevention and control of myopia.
  • the wearable device can output prompt messages about light to the user according to the spectral parameters of a certain period of time, so as to help the user tend to the high-quality light source and obtain enough light, so as to achieve the purpose of preventing and controlling myopia.
  • an embodiment of the present invention provides a lighting prompt method.
  • the spectral parameters include target light intensity, and the method may also include the following steps:
  • the spectral parameters include target light intensity.
  • the wearable device after the wearable device acquires M target illuminances, it can compare the M target illuminances with the preset illuminance threshold, obtain Q target illuminances greater than or equal to the preset illuminance threshold, and determine the Q targets
  • the detection moment corresponding to each target illuminance in the illuminance, Q is an integer greater than or equal to, and Q is less than or equal to M.
  • the preset illuminance threshold is a standard illuminance obtained through experimental testing to prevent the user from myopia.
  • the wearable device can determine the interval between each detection moment and the previous adjacent detection moment according to the Q detection moments corresponding to the Q target illuminances, so as to obtain Q interval durations.
  • the last adjacent detection moment refers to the last adjacent detection moment of the current detection moment among the M detection moments corresponding to the M target illuminances.
  • the first detection moment corresponding to the first target illumination is 12:00
  • the second detection instant corresponding to the second target illumination is 12:08
  • the third target illumination corresponding to The third detection time is 12:20
  • the fourth detection time corresponding to the fourth target illumination is 12:42
  • the fifth detection time corresponding to the fifth target illumination is 12:47
  • the sixth detection time corresponding to the sixth target illumination is 12 :58;
  • the second object illumination, the third object illumination and the sixth object illumination are greater than or equal to the preset illumination threshold. Then the wearable device needs to determine the interval between the second detection moment, the third detection moment and the sixth detection moment and the last adjacent detection moment respectively.
  • the interval length between the second detection moment and the previous adjacent detection moment is 8 minutes between the second detection moment and the first detection moment; the interval between the third detection moment and the last adjacent detection moment The interval length between the third detection moment and the second detection moment is 12 minutes; the interval length between the sixth detection moment and the previous adjacent detection moment is the sixth detection moment and the fifth detection moment. The interval between detection moments is 11 minutes.
  • the wearable device can add up the Q interval durations to obtain the total illumination duration within the preset duration.
  • the wearable device can compare the total lighting duration with the preset lighting duration threshold, and if the total lighting duration is less than the preset lighting duration threshold, then output a second prompt message, which is used to prompt The user extends the duration of the light.
  • the preset illumination duration threshold may be a correspondence between the preset illumination duration threshold and the preset duration.
  • a second prompt message is output, which may specifically include the following implementation methods:
  • Implementation method 1 The wearable device can detect the target illuminance multiple times in a day, and output a second prompt message to the user at a fixed time every day in combination with the total illumination time in a day.
  • the preset duration can be a whole day
  • the wearable device can detect M target illuminances at M moments throughout the day, and count M target illuminances greater than or equal to the preset illuminance The interval between the Q target illuminance of the threshold and the last adjacent detection moment, and add up to get the total illumination duration of the whole day, if the total illumination duration is less than the preset illumination duration threshold corresponding to the whole day , the second prompt message is output, and the second prompt message can be used to remind the user that the lighting duration of the day is insufficient, and it is suggested that the lighting duration can be increased the next day.
  • the wearable device acquires 100 target illuminances at 100 moments, among which 23 target illuminances are greater than or equal to the preset Illumination threshold; then the wearable device can add each of the 23 target illuminances to the interval between the last adjacent detection moment to obtain the total illumination duration within 24 hours. If the total lighting duration is less than 3 hours, it means that the user's lighting duration is insufficient within 24 hours, and the wearable device can output a prompt message to the user to remind the user that the lighting duration is insufficient within 24 hours, and it is recommended to increase the lighting duration the next day.
  • the wearable device can output a prompt message to the user at a fixed time every day to inform the user that the day's light time is insufficient, and it is recommended that the user adjust it the next day. Active position, extend the duration of light.
  • the wearable device can output prompts to the user every day according to the light received by the user, which can help the user tend to the high-quality light source and achieve the purpose of preventing and controlling myopia.
  • Implementation method 2 The wearable device can detect the illuminance of the target multiple times in a short period of time, and output a second prompt message to the user in combination with the total duration of the illuminance within this period.
  • the preset duration can be a short duration
  • the wearable device can detect M target illuminances at M moments within this short duration, and count M target illuminances greater than or equal to The interval between the Q target illuminance of the preset illuminance threshold and the last adjacent detection moment, and add up to get the total illumination duration within a shorter duration, if the total illumination duration is less than the preset value corresponding to the shorter duration If the illumination duration threshold is exceeded, a second prompt message is output.
  • the second prompt message can be used to remind the user that the current short duration of illumination is insufficient, and the user is advised to adjust the position immediately.
  • the wearable device acquires 20 target illuminances at 20 moments, and among them, 3 target illuminances are greater than or equal to the preset Illumination threshold; then the wearable device can add each of the three target illuminances to the interval between the last adjacent detection moment to obtain the total illumination duration within 1 hour. If the total lighting duration is less than 20 minutes, it means that the user’s lighting duration is insufficient within 1 hour, and the wearable device can output a prompt message to the user to remind the user that the lighting duration of 1 hour is insufficient, and it is recommended to adjust the activity position immediately. Adjust lighting conditions.
  • the wearable device can immediately output a prompt message to the user to inform the user that the light duration during this period is insufficient, suggesting that the user adjust the activity immediately Position, extend the duration of light.
  • the wearable device can immediately output prompts to the user according to the light received by the user, which can help the user to immediately turn to a high-quality light source, so that the day's light duration can meet the standard requirements, thereby achieving the purpose of preventing and controlling myopia.
  • the output of the first prompt message and the output of the second prompt message can be performed simultaneously; the first prompt message can also be output first, and then the second prompt message; or the second prompt message can be output first, and then the first prompt message can be output.
  • the prompt message is not limited in this embodiment of the present invention.
  • An embodiment of the present invention provides a lighting prompt method.
  • the wearable device is equipped with a spectral sensor.
  • the wearable device can obtain M spectral parameters at M moments through the spectral sensor within a preset time period, and determine that the spectral parameters are greater than or equal to the preset Q detection times corresponding to the Q target illuminance of the illuminance threshold to obtain the total illumination duration of the user within the preset duration, and output a prompt message about the illumination duration to the user according to the total illumination duration; if M spectral parameters are detected If the average value of is not in the preset parameter interval, a first prompt message is output, and the first prompt message is used to remind the user that the light within the preset duration is not conducive to the prevention and control of myopia.
  • the wearable device can output a prompt message to the user about extending the illumination duration when the statistics show that the user's illumination duration is less than the preset illumination duration threshold; and output a prompt message about illumination to the user according to the spectral parameters of a certain period of time , to help users tend to high-quality light sources and obtain enough light, so as to achieve the purpose of preventing and controlling myopia and improve the intelligence of wearable devices.
  • an embodiment of the present invention provides a lighting prompt method.
  • the spectral parameters include target light intensity, and the method may also include the following steps:
  • the spectral parameters include target light intensity.
  • the wearable device can acquire M pieces of location information corresponding to M times.
  • the method for obtaining location information may include at least one of the following: wireless (Wireless Fidelity, WiFi) positioning, satellite positioning, and base station positioning.
  • satellite positioning can be China's BeiDou Navigation Satellite System (BeiDouNavigation Satellite System, BDS) positioning, also can be Global Positioning System (Global Positioning System, GPS) positioning, also can be other positioning methods, the embodiment of the present invention does not limit .
  • the acquisition of M spectral parameters at M times and the acquisition of M position information corresponding to M times can be performed simultaneously; it is also possible to first acquire M spectral parameters at M times, and then obtain the corresponding M pieces of location information; M pieces of location information corresponding to M times can also be acquired first, and then M pieces of spectral parameters at M times can be acquired, which is not limited in this embodiment of the present invention.
  • the wearable device after the wearable device acquires M target illuminances, it can compare the M target illuminances with the preset illuminance threshold, and if there are Q target illuminances greater than or equal to the preset illuminance threshold, the wearable device can Outputting a third prompt message, the third prompt message may include: Q pieces of location information corresponding to the Q pieces of target light intensity, and the third prompt message is used to remind the user that the light is sufficient when they are in the Q pieces of location information.
  • the preset illuminance threshold is a standard illuminance obtained through experimental testing to prevent the user from myopia.
  • a third prompt message is output, which may specifically include the following implementation methods:
  • the wearable device can detect the target illuminance and the corresponding location information multiple times in a day, and combine the target illuminance in a day to output a third prompt message to the user at a fixed time every day.
  • the preset duration can be a whole day
  • the wearable device can detect M target illuminances and M position information at M times throughout the day, and obtain M target illuminances greater than Or Q target illuminances equal to the preset illuminance threshold, output the Q position information corresponding to the Q target illuminances as the third prompt message to the user, to remind the user that the light is sufficient when the Q positions are in the day, and suggest the user second Days can increase the duration of activities in the Q positions.
  • the wearable device obtains 100 target illuminances and 100 location information at 100 moments, among which 23 target illuminances are greater than or equal to the preset illuminance threshold; then The wearable device can output the 23 location information corresponding to the 23 target illuminances to the user to remind the user that there is sufficient light in the 23 locations within 24 hours, and it is recommended to increase the activity time in the 23 locations the next day.
  • the wearable device can output a prompt message to the user at a fixed time every day to inform the user of a location with sufficient light that day, and suggest that the user extend the activity duration of the location with sufficient light on the next day.
  • the wearable device can output prompts to the user every day according to the light conditions received by the user at different locations, which can help the user to tend to high-quality light sources and achieve the purpose of preventing and controlling myopia.
  • Implementation method 2 The wearable device can detect the target illuminance and corresponding location information multiple times in a short period of time, and output a third prompt message to the user in combination with the target illuminance within this period of time.
  • the preset duration can be a short duration
  • the wearable device can detect M target illuminance and M position information at M moments within this short duration, and obtain M targets In the illuminance of Q targets greater than or equal to the preset illuminance threshold, the Q position information corresponding to the Q target illuminance is output to the user as a third prompt message, so as to remind the user to stay at the Q positions within the short period of time The light is sufficient, and it is recommended that users continue to carry out activities in this Q location.
  • the wearable device can obtain 20 target illuminances and 20 location information at 20 moments, among which, 3 target illuminances are greater than or equal to the preset illuminance threshold; Then the wearable device can output the 3 location information corresponding to the 3 target illuminances to the user, to remind the user that the light is sufficient at the 3 locations within 1 hour, and suggest the user to continue activities in the 3 locations.
  • the wearable device can output a prompt message to the user to inform the user of the location with sufficient light within the period of time, and recommend the user to adjust the activity location immediately to extend the duration of the activity in the location with sufficient light.
  • the wearable device can immediately output prompts to the user according to the light conditions received by the user at different locations, which can help the user to immediately tend to high-quality light sources, so that the day's light duration can meet the standard requirements, thereby achieving the purpose of preventing and controlling myopia.
  • the output of the first prompt message and the output of the third prompt message can be performed simultaneously; the first prompt message can also be output first, and then the third prompt message; or the third prompt message can be output first, and then the first prompt message can be output.
  • the prompt message is not limited in this embodiment of the present invention.
  • An embodiment of the present invention provides a light prompting method.
  • the wearable device is equipped with a spectral sensor, and the wearable device can obtain M spectral parameters and M position information at M moments through the spectral sensor within a preset period of time; If the illuminance of Q targets among the M target illuminances is greater than or equal to the preset illuminance threshold, output Q position information corresponding to the Q target illuminances to the user to prompt the user to increase the activity duration at the Q positions; if detected If the average value of the M spectral parameters is not within the preset parameter interval, a first prompt message is output, and the first prompt message is used to remind the user that the illumination within the preset duration is not conducive to the prevention and control of myopia.
  • the wearable device can combine the location information to inform the user of a location with sufficient light to suggest that the user increase the duration of activities in this location, and output a prompt message about the light to the user according to the spectral parameters of a certain period of time to help the user.
  • an embodiment of the present invention provides a lighting prompt method.
  • the spectral parameters include target light intensity, and the method may also include the following steps:
  • the wearable device can acquire N preset bands at each moment through the configured spectral sensor, where N is an integer greater than or equal to 1.
  • the band is the wavelength range of the detected light received by the spectral sensor
  • the preset band is the wavelength range that is beneficial to the prevention and control of myopia of the user obtained through experimental testing of the wearable device.
  • the wavelength of the detection light has many ranges, among which the wavelength bands of 465nm-485nm, 625nm-645nm, 645nm-665nm, and 705nm-725nm are beneficial to the prevention and control of myopia.
  • the wearable device may acquire the first light intensity corresponding to each preset band in the N preset bands through the configured spectral sensor, so as to obtain N first light levels.
  • acquiring N first illuminances corresponding to N preset bands may specifically include: acquiring P second illuminances corresponding to P preset sub-bands, where P is an integer greater than or equal to 1; The average of the two illuminances is calculated to obtain the first illuminance corresponding to each preset band.
  • each of the N preset bands includes P preset sub-bands
  • the wearable device can obtain the first sub-band corresponding to each of the P preset sub-bands. Two illuminances to obtain P second illuminances; then calculate the average value of the P second illuminances, and determine the average value as the first illuminance corresponding to the preset band.
  • acquiring N first illuminances corresponding to N preset bands may specifically include: acquiring P second illuminances corresponding to P preset sub-bands, where P is an integer greater than or equal to 1; Calculate the median value of the second illuminance to obtain the first illuminance corresponding to each preset band.
  • each of the N preset bands includes P preset sub-bands
  • the wearable device can obtain the first sub-band corresponding to each of the P preset sub-bands. Two illuminances to obtain P second illuminances; then calculate the median of the P second illuminances, and determine the median as the first illuminance corresponding to the preset band.
  • the wearable device can obtain the target illuminance at the current moment according to the N first illuminances.
  • the target illuminance at each moment is calculated, which may specifically include: obtaining the user's personal information, the personal information includes: the user's age, the user's vision;
  • the personal adjustment coefficient is inversely proportional to the user's vision, and the personal adjustment coefficient is proportional to the user's age; according to the N first illuminance, the personal adjustment coefficient and each preset band in the N preset bands
  • the corresponding wavelength weight coefficient is calculated to obtain the target illuminance at each moment.
  • the wearable device may determine the user's personal adjustment coefficient according to the user's age and vision condition, and the personal adjustment coefficient has a corresponding relationship with the user's age and vision condition.
  • the wearable device can reduce the personal adjustment factor; when the user's vision is better, the user does not need The wearable device can increase the personal adjustment factor if the light is illuminated for a longer time and with a higher intensity; therefore, the personal adjustment factor is directly proportional to the user's vision.
  • the wearable device can reduce the personal adjustment factor; when the user is older, the user does not need a longer time And greater intensity of light, then the wearable device can increase the personal adjustment factor; therefore, the personal adjustment factor is proportional to the age of the user.
  • the wavelength weight coefficient corresponding to each preset band is the weight coefficient obtained by the wearable device according to the experimental test.
  • the weight coefficient can be determined according to the importance of each preset band to the prevention and control of the user's myopia.
  • the sum of the wavelength weight coefficients corresponding to the preset bands is 1.
  • the wearable device can calculate the target illuminance at each moment according to the N first illuminances, personal adjustment coefficients, and wavelength weight coefficients corresponding to each of the N preset bands.
  • A is the target illuminance at the current moment
  • M is the user's personal adjustment coefficient
  • K1 K2...KN is the wavelength weight coefficient corresponding to each preset band
  • A1 A2...AN is each preset band Corresponding to the first light intensity
  • K1+K2+...+Kn 1.
  • An embodiment of the present invention provides a light prompting method.
  • the wearable device is equipped with a spectral sensor, and the wearable device can obtain N preset bands at each of the M moments through the spectral sensor within a preset period of time, and N According to the N first illuminances corresponding to the preset bands, the target illuminance at each moment is calculated according to the N first illuminances. If it is detected that the average value of the M target illuminances is not in the preset parameter range, the first prompt is output. message, the first prompt message is used to remind the user that the light within the preset duration is not conducive to the prevention and control of myopia.
  • the wearable device can calculate the target illuminance at the current moment according to the spectral parameters of different bands at each moment, and output a prompt message about the light to the user to help the user tend to a high-quality light source and obtain enough light, so as to achieve anti- The purpose of controlling myopia.
  • an embodiment of the present invention provides a wearable device, the wearable device is configured with a spectral sensor, and the wearable device includes:
  • the acquisition module 601 is used to acquire M spectral parameters at M moments through the spectral sensor within a preset time period, the spectral parameters include: at least one of target illuminance, target color temperature, and target peak width, and M is greater than or an integer equal to 1;
  • the output module 602 is configured to output a first prompt message if it is detected that the average value of the M spectral parameters is not in the preset parameter interval, and the first prompt message is used to remind the user that the illumination within the preset duration is not conducive to the prevention and control of myopia .
  • the output module 602 is specifically configured to output a first prompt message when the spectral parameters include: target illuminance, if it is detected that the average value of M target illuminances is not in the preset illuminance interval;
  • the output module 602 is specifically used to output a first prompt message when the spectral parameters include: target color temperature, if it is detected that the average value of M target color temperatures is not in the preset color temperature range;
  • the output module 602 is specifically configured to output a first prompt message when the spectral parameters include: target peak width, if it is detected that the average value of M target peak widths is not in the preset peak width interval.
  • the wearable device includes:
  • the processing module 603 is used to determine the Q detection moments corresponding to the Q target illuminances if it is detected that the Q target illuminances in the M target illuminances are greater than or equal to the preset illuminance threshold, and Q is an integer greater than or equal to 1;
  • the processing module 603 is also used to determine the interval between each of the Q detection moments and the previous adjacent detection moment to obtain Q interval durations;
  • the processing module 603 is further configured to determine the sum of Q interval durations as the total illumination duration
  • the output module 602 is further configured to output a second prompt message if it is detected that the total illumination duration is less than the preset illumination duration threshold, and the second prompt message is used to prompt the user to extend the illumination duration;
  • the preset illuminance threshold is a standard illuminance for preventing myopia of the user.
  • the obtaining module 601 is also used to obtain M pieces of position information corresponding to M times, and the M pieces of position information correspond to the M target illuminances one-to-one;
  • the output module 602 is further configured to output a third prompt message if it is detected that Q target illuminances among the M target illuminances are greater than or equal to the preset illuminance threshold, and the third prompt message includes: Q objects corresponding to the Q target illuminances. Location information, the third prompt message is used to remind the user that the light is sufficient when they are in Q locations;
  • the preset illuminance threshold is a standard illuminance for preventing myopia of the user, and Q is an integer greater than or equal to 1.
  • the acquiring module 601 is specifically configured to acquire N preset bands at each of the M moments, where N is an integer greater than or equal to 1;
  • An acquisition module 601 specifically for acquiring N first illuminances corresponding to N preset bands
  • the processing module 603 is specifically configured to calculate and obtain the target illuminance at each moment according to the N first illuminances.
  • the acquiring module 601 is specifically configured to acquire P second illuminances corresponding to the P preset sub-bands, where P is an integer greater than or equal to 1;
  • the processing module 603 is specifically configured to average the P second illuminances to obtain the first illuminance corresponding to each preset band.
  • the obtaining module 601 is specifically used to obtain the user's personal information, the personal information includes: the user's age, the user's vision condition;
  • the processing module 603 is specifically used to determine a personal adjustment coefficient corresponding to the user's personal information, the personal adjustment coefficient is proportional to the user's vision, and the personal adjustment coefficient is proportional to the user's age;
  • the processing module 603 is specifically configured to calculate and obtain the target light intensity at each moment according to the N first light illuminances, personal adjustment coefficients, and wavelength weight coefficients corresponding to each of the N preset bands.
  • the obtaining module 601 is specifically used to obtain the location information at the current moment;
  • the acquiring module 601 is specifically configured to acquire the first direction that the spectral sensor is facing and the second direction that the user's face is facing through the six-axis sensor if it is detected that the location information at the current moment is in an indoor place;
  • the acquisition module 601 is specifically used to acquire M spectral parameters at M moments if the angle difference is less than or equal to a preset angle threshold;
  • the angle differences between the first direction and the second direction at M time points are all less than or equal to a preset angle threshold.
  • each module can implement the lighting prompt method provided by the above method embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a wearable device, which may include:
  • a memory 701 storing executable program codes
  • processor 702 coupled to the memory 701;
  • the processor 702 invokes the executable program code stored in the memory 701 to execute the light prompting method performed by the wearable device in the above method embodiments.
  • an embodiment of the present invention also provides a wearable device, which includes but is not limited to: a radio frequency (radio frequency, RF) circuit 801, a memory 802, an input unit 803, a display unit 804, and a sensor 805 , audio circuit 806, WiFi (wireless fidelity, wireless communication) module 807, processor 808, power supply 809, and components such as camera 810.
  • the radio frequency circuit 801 includes a receiver 8010 and a transmitter 8012 .
  • the structure of the wearable device shown in FIG. 8 does not constitute a limitation on the wearable device, and may include more or less components than shown in the figure, or combine certain components, or different components. layout.
  • the RF circuit 801 can be used for sending and receiving information or receiving and sending signals during a call.
  • the processor 808 After receiving the downlink information of the base station, it is processed by the processor 808; in addition, the designed uplink data is sent to the base station.
  • the memory 802 can be used to store software programs and modules, and the processor 808 executes various functional applications and data processing of the wearable device by running the software programs and modules stored in the memory 802 .
  • the input unit 803 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the wearable device.
  • the input unit 803 may include a touch panel 8031 and other input devices 8032 .
  • the display unit 804 may be used to display information input by or provided to the user and various menus of the wearable device.
  • the display unit 804 may include a display panel 8041.
  • the display panel 8041 may be configured in the form of a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-Emitting diode, OLED), or the like.
  • the wearable device may also include at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the audio circuit 806, the speaker 8061, and the microphone 8062 can provide an audio interface between the user and the wearable device.
  • the audio circuit 806 can transmit the electrical signal converted from the received audio data to the speaker 8061, and the speaker 8061 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 808, and then sent to another wearable device through the RF circuit 801, or the audio data is output to the memory 802 for further processing.
  • WiFi is a short-distance wireless transmission technology.
  • the wearable device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 807. It provides users with wireless broadband Internet access.
  • the processor 808 is the control center of the wearable device. It utilizes various interfaces and lines to connect various parts of the entire wearable device, and runs or executes software programs and/or modules stored in the memory 802, and calls stored in the memory 802. data, perform various functions of the wearable device and process data, so as to monitor the wearable device as a whole.
  • the wearable device also includes a power source 809 (such as a battery) for powering various components.
  • a power source 809 such as a battery
  • the wearable device may also include a Bluetooth module, etc., which will not be repeated here.
  • the wearable device can implement the light prompting method in the embodiment of the present application.
  • the processor 808 can be specifically configured to obtain M spectral parameters at M moments through the spectral sensor within a preset time period, and the spectral parameters include: at least one of target illuminance, target color temperature, and target peak width , M is an integer greater than or equal to 1; if it is detected that the average value of the M spectral parameters is not in the preset parameter interval, the first prompt message is output, and the first prompt message is used to remind the user that the illumination within the preset duration is not Conducive to the prevention and control of myopia.
  • the processor 808 may be specifically configured to output a first prompt message when the spectral parameters include: target illuminance, if it is detected that the average value of the M target illuminances is not in the preset illuminance interval; and/or, when the spectral The parameters include: when the target color temperature is detected, if the average value of M target color temperatures is not in the preset color temperature range, the first prompt message will be output; and/or, when the spectral parameters include: target peak width, if M If the average value of the target peak width is not in the preset peak width range, a first prompt message is output.
  • the spectral parameters include: target illuminance, if it is detected that the average value of the M target illuminances is not in the preset illuminance interval; and/or, when the spectral The parameters include: when the target color temperature is detected, if the average value of M target color temperatures is not in the preset color temperature range, the first prompt message will be output; and/or, when the
  • the processor 808 may be specifically configured to determine Q detection moments corresponding to the Q target illuminances if it is detected that Q target illuminances among the M target illuminances are greater than or equal to a preset illuminance threshold, and Q is greater than or equal to a preset illuminance threshold.
  • Integer equal to 1; determine the interval length between each detection moment in the Q detection moments and the previous adjacent detection moment, and obtain Q interval durations; determine the sum of the Q interval durations as the total illumination duration; if detected If the total illumination duration is less than the preset illumination duration threshold, a second prompt message is output, and the second prompt message is used to prompt the user to extend the illumination duration; wherein, the preset illumination threshold is the standard illumination intensity for preventing the user from myopia.
  • the processor 808 may specifically be used to obtain M pieces of position information corresponding to M times, and the M pieces of position information correspond to the M target illuminances one by one; equal to the preset illuminance threshold, then output a third prompt message, the third prompt message includes: Q position information corresponding to the Q target illuminance, the third prompt message is used to remind the user that the light is sufficient when in the Q position information; where , the preset illuminance threshold is the standard illuminance to prevent the user from myopia, and Q is an integer greater than or equal to 1.
  • the processor 808 may be specifically configured to acquire N preset bands at each of the M times, where N is an integer greater than or equal to 1; acquire N first illuminances corresponding to the N preset bands; The N first illuminances are calculated to obtain the target illuminance at each moment.
  • the processor 808 may be specifically configured to obtain P second illuminances corresponding to P preset sub-bands, where P is an integer greater than or equal to 1; average the P second illuminances to obtain each preset The first illuminance corresponding to the band.
  • the processor 808 can specifically be used to acquire the user's personal information, the personal information includes: the user's age, the user's vision condition; determine the personal adjustment coefficient corresponding to the user's personal information, the personal adjustment coefficient and the user's vision condition It is directly proportional to the personal adjustment coefficient and the age of the user; according to the N first illuminance, the personal adjustment coefficient and the wavelength weight coefficient corresponding to each of the N preset bands, the target at each moment is calculated illuminance.
  • the processor 808 may be specifically configured to acquire the location information at the current moment; if it is detected that the location information at the current moment is in an indoor place, then the first direction that the spectral sensor is facing and the direction that the user's face is facing are obtained through the six-axis sensor.
  • the second direction determine the angle difference between the first direction and the second direction; if the angle difference is less than or equal to the preset angle threshold, then obtain M spectral parameters at M moments; wherein, the first at M moments Angle differences between the first direction and the second direction are less than or equal to the preset angle threshold.
  • An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, wherein the computer program causes a computer to execute some or all steps of the methods in the above method embodiments.
  • An embodiment of the present invention also provides a computer program product, wherein, when the computer program product is run on a computer, the computer is made to perform some or all of the steps of the methods in the above method embodiments.
  • An embodiment of the present invention also provides an application distribution platform, wherein the application distribution platform is used to distribute computer program products, wherein, when the computer program products are run on the computer, the computer is made to execute the part of the method in the above method embodiments or all steps.
  • sequence numbers of the above-mentioned processes do not necessarily mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be used in the implementation of the present invention.
  • the implementation of the examples constitutes no limitation.
  • the units described above 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, located in one place, or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory.
  • the technical solution of the present invention or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present invention.

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Molecular Biology (AREA)
  • Dentistry (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Physiology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种光照提示方法、可穿戴设备及存储介质,应用于光照提示技术领域,可解决如何根据当前的光照情况提示用户的问题。该方法包括:在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数(101),光谱参数包括:目标光照度,色温,以及峰宽中的至少一项,M为大于或者等于1的整数;若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息(102),第一提示消息用于提示用户在预设时长内的光照不足。

Description

一种光照提示方法、可穿戴设备及存储介质 技术领域
本发明实施例涉及光照提示技术领域,尤其涉及一种光照提示方法、可穿戴设备及存储介质。
背景技术
近年来,随着电子产品使用的愈加频繁和学业负担的增加,青少年近视问题愈发严重。因此一般建议儿童及青少年每天在阳光下活动3小时以上,这样可以有效的降低儿童及青少年近视的概率。不过,非太阳光下的特定波长光谱也可以有效的降低儿童及青少年近视的概率。因此,如何根据当前的光照情况提示用户成为了亟需解决的问题。
发明内容
本发明实施例提供一种光照提示方法、可穿戴设备及存储介质,用以解决现有技术中如何根据当前的光照情况提示用户的问题。为了解决上述技术问题,本发明实施例是这样实现的:
第一方面,提供一种光照提示方法,应用于可穿戴设备,所述可穿戴设备配置有光谱传感器,所述方法包括:
在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数,所述光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项,M为大于或者等于1的整数;
若检测到所述M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,所述第一提示消息用于提示用户在所述预设时长内的光照不利于防控近视。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述若检测到所述M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,包括:
当所述光谱参数包括:所述目标光照度时,若检测到所述M个目标光照度的平均值不处于预设光照度区间,则输出所述第一提示消息;
和/或,
当所述光谱参数包括:所述目标色温时,若检测到所述M个目标色温的平均值不处于预设色温区间,则输出所述第一提示消息;
和/或,
当所述光谱参数包括:所述目标峰宽时,若检测到所述M个目标峰宽的平均值不处于预设峰宽区间,则输出所述第一提示消息。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述光谱参数包括:所述目标光照度,所述在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数之后,所述方法还包括:
若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则确定与所述Q个目标光照度对应的Q个检测时刻,Q为大于或者等于1的整数;
确定所述Q个检测时刻中每个检测时刻与上一个相邻检测时刻之间的间隔时长,得到Q个间隔时长;
将所述Q个间隔时长的总和确定为光照总时长;
若检测到所述光照总时长小于预设光照时长阈值,则输出第二提示消息,所述第二提示消息用于提示所述用户延长光照时长;
其中,所述预设光照度阈值为预防用户近视的标准光照度。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述光谱参数包括:所述目标光照度,所述在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数之后,所述方法还包括:
获取M个时刻对应的M个位置信息,所述M个位置信息与M个目标光照度一一对应;
若检测到所述M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则输出第三提示消息,所述第三提示消息包括:与所述Q个目标光照度对应的Q个位置信息,所述第三提示消息用于提示所述用户当处于所述Q个位置信息时光照充足;
其中,所述预设光照度阈值为预防用户近视的标准光照度,Q为大于或者等于1的整数。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述光谱参数包括:所述目标光照度,所述获取M个时刻的M个光谱参数,包括:
获取所述M个时刻中每个时刻的N个预设波段,N为大于或者等于1的整 数;
获取所述N个预设波段对应的N个第一光照度;
根据所述N个第一光照度,计算得到每个时刻的目标光照度。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述N个预设波段中的每个预设波段包括P个预设子波段,所述获取所述N个预设波段对应的N个第一光照度,包括:
获取所述P个预设子波段对应的P个第二光照度,P为大于或者等于1的整数;
对所述P个第二光照度求平均值,得到所述每个预设波段对应的第一光照度。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述根据所述N个第一光照度,计算得到每个时刻的目标光照度,包括:
获取所述用户的个人信息,所述个人信息包括:所述用户的年龄,所述用户的视力情况;
确定与所述用户的个人信息对应的个人调整系数,所述个人调整系数与所述用户的视力情况成正比,且所述个人调整系数与所述用户的年龄成正比;
根据所述N个第一光照度、所述个人调整系数以及所述N个预设波段中的每个预设波段对应的波长权重系数,计算得到每个时刻的所述目标光照度。
作为一种可选的实施方式,在本发明实施例的第一方面中,所述获取M个时刻的M个光谱参数,包括:
获取当前时刻的位置信息;
若检测到所述当前时刻的位置信息处于室内场所,则通过六轴传感器,获取所述光谱传感器朝向的第一方向,以及所述用户面部朝向的第二方向;
确定所述第一方向与所述第二方向之间的角度差值;
若所述角度差值小于或者等于预设角度阈值,则获取所述M个时刻的M个光谱参数;
其中,所述M个时刻时的所述第一方向与所述第二方向之间的角度差值均小于或者等于所述预设角度阈值。
第二方面,提供一种可穿戴设备,所述可穿戴设备配置有光谱传感器,所述可穿戴设备包括:
获取模块,用于在预设时长内,通过所述光谱传感器,获取M个时刻的M 个光谱参数,所述光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项,M为大于或者等于1的整数;
输出模块,用于若检测到所述M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,所述第一提示消息用于提示用户在所述预设时长内的光照不利于防控近视。
第三方面,提供一种可穿戴设备,包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明实施例第一方面中的光照提示方法。
第四方面,提供一种计算机可读存储介质,其存储计算机程序,所述计算机程序使得计算机执行本发明实施例第一方面中的光照提示方法。所述计算机可读存储介质包括ROM/RAM、磁盘或光盘等。
第五方面,提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。
第六方面,提供一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。
与现有技术相比,本发明实施例具有以下有益效果:
本发明实施例中,可穿戴设备配置有光谱传感器,可穿戴设备可以在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数,光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项;若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。通过该方案,可穿戴设备可以根据一段时长的光谱参数,向用户输出有关光照的提示消息,以帮助用户趋向优质光源,获取足够的光照,从而达到防控近视的目的。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还 可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种光照提示方法的流程示意图一;
图2是本发明实施例提供的一种光照提示方法的场景示意图;
图3是本发明实施例提供的一种光照提示方法的流程示意图二;
图4是本发明实施例提供的一种光照提示方法的流程示意图三;
图5是本发明实施例提供的一种光照提示方法的流程示意图四;
图6是本发明实施例提供的一种可穿戴设备的结构示意图一;
图7是本发明实施例提供的一种可穿戴设备的结构示意图二;
图8是本发明实施例提供的一种可穿戴设备的硬件结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一提示消息和第二提示消息等是用于区别不同的提示消息,而不是用于描述提示消息的特定顺序。
本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
相关技术中,随着电子产品使用的愈加频繁和学业负担的增加,青少年近视问题愈发严重。因此一般建议儿童及青少年每天在阳光下活动3小时以上,这样可以有效的降低儿童及青少年近视的概率。不过,非太阳光下的特定波长光谱也可以有效的降低儿童及青少年近视的概率。因此,如何根据当前的光照 情况提示用户成为了亟需解决的问题。
为了解决上述问题,本发明实施例提供一种光照提示方法、可穿戴设备及存储介质,可穿戴设备配置有光谱传感器,可穿戴设备可以在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数,光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项;若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。通过该方案,可穿戴设备可以根据一段时长的光谱参数,向用户输出有关光照的提示消息,以帮助用户趋向优质光源,获取足够的光照,从而达到防控近视的目的。
本发明实施例涉及的可穿戴设备可以为智能手表、智能手环、手表电话、智能耳环、智能项链、智能耳机等,本发明实施例不作限定。
本发明实施例提供的光照提示方法的执行主体可以为上述的可穿戴设备,也可以为该可穿戴设备中能够实现该光照提示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以可穿戴设备为例,对本发明实施例提供的光照提示方法进行示例性的说明。
实施例一
如图1所示,本发明实施例提供一种光照提示方法,该方法可以包括下述步骤:
101、在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数。
在本发明实施例中,在预设时长内,可穿戴设备可以通过配置的光谱传感器获取M个时刻对应的M个光谱参数,M为大于或者等于1的整数。
其中,可穿戴设备可以在预设时长内,每间隔一段时间获取一次当前时刻的光谱参数。
需要说明的是,相邻两个间隔时长可以相同,也可以不同,本发明实施例不做限定。
需要说明的是,每一次获取的当前时刻的光谱参数可以用于表示当前时刻与上一获取光谱参数的时刻之间的光照情况。
示例性的,假设可穿戴设备在12:00获取了第一光谱参数,在12:05获取了第二光谱参数,在12:16获取了第三光谱参数。那么,第二光谱参数可以表示12:00-12:05之间的平均光照情况;第三光谱参数可以表示12:05-12:16之间的平均光照情况。
可选的,光谱传感器可以是一个单独的测试设备,也可以是集成在其他设备中的元件。在本发明实施例中,该光谱传感器可以集成在可穿戴设备中,该光谱传感器的光学部分包括接收检测光的采光元件,利用离轴镜反射光学元件的成像光学元件、利用分光镜来划分谱段的分光元件,所划分的多个谱段需要用多个探测器来获取;该光谱传感器还设置有标准温度板,用于补偿多个探测器的非均匀性。
在本发明实施例中,光谱传感器中的采光元件可以配置在可穿戴设备的外表面上,以采集可穿戴设备所处的环境光。
需要说明的是,光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项。
可选的,光照度表示被摄主体表面单位面积上受到的光通量,当用户处于有光照的场所时,可穿戴设备中的光谱传感器就可以接收环境中的光照,并进行检测,以得到当前的光照度,该光照度可以用于反映当前的光照情况。
可选的,色温是照明光学中用于定义光源颜色的一个物理量。即把某个黑体加热到一定温度,其发射的光的颜色与某个光源所发射的光的颜色相同时,这个黑体加热的温度称之为该光源的颜色温度,简称色温。
可选的,峰宽是在光谱峰两侧拐点处所作切线与峰底相交两点间的距离,即相邻波峰之间的距离,也可以是相邻波谷之间的距离。
可选的,上述光谱参数均可以由光谱传感器检测得到,该光谱参数均影响用户的视力健康。
可选的,获取M个时刻的M个光谱参数,具体可以包括:获取当前时刻的位置信息;若检测到当前时刻的位置信息处于室内场所,则获取光谱传感器朝向的第一方向,以及用户面部朝向的第二方向;获取第一方向与第二方向之间的角度差值;若角度差值小于或者等于预设角度阈值,则获取M个时刻的M个光谱参数。
在该可选的实现方式中,如果可穿戴设备获取到当前用户处于室内场所,比如:学校或者写字楼等,那么用户可能正在学习或者看电脑,那么此时可穿戴设备可以检测光谱传感器朝向的第一方向,以及用户面部朝向的第二方向,当第一方向和第二方向之间的角度差值小于或者等于预设角度阈值,可以说明当前用户所处的环境光的光谱参数与入眼光的光谱参数的差距较小,那么此时可穿戴设备就可以获取M个时刻的M个光谱参数。
需要说明的是,M个时刻时的第一方向与第二方向之间的角度差值均小于或者等于预设角度阈值。
可选的,当可穿戴设备为佩戴在用户手臂上的设备时,可穿戴设备根据当前的位置信息判断用户正处于室内场所之后,可以通过六轴传感器获取光谱传感器朝向的第一方向,并通过六轴传感器检测用户手臂的运动轨迹;然后可穿戴设备可以根据用户手臂的运动轨迹判断用户当前的活动行为,再根据用户当前的活动行为确定用户面部朝向的第二方向。如果,第一方向和第二方向之间的角度差值大于预设角度阈值,那么可穿戴设备可以向用户输出提示消息,该提示消息用于提示用户将可穿戴设备放置于用户眼睛附近,并保证光谱传感器的朝向与用户面部朝向一致。
示例性的,如图2所示,当用户的眼睛24正在注视屏幕21,用户的手臂在敲打键盘22的时候,用户面部朝向的第二方向2b为朝向电脑屏幕的方向2b,而手臂上佩戴的可穿戴设备23中的光谱传感器朝向的第一方向2a则可能为键盘的朝向方向2a,如图2所示,第一方向21和第二方向22之间可能呈一定夹角,那么用户就可以根据可穿戴设备23的提示,将可穿戴设备23放置于眼睛附近,并保证光谱传感器朝向的第一方向2a与用户面部朝向的第二方向2b一致。
通过该可选的实现方式,可穿戴设备可以在光谱传感器朝向的第一方向,以及用户面部朝向的第二方向之间的角度差值小于或者等于预设角度阈值的时候,获取M个光谱参数,这样可以避免因为用户所处的环境光的光谱参数与入眼光的光谱参数的差距较大,而检测误差较大的情况,提高可穿戴设备中光谱传感器检测的准确度。
102、若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息。
在本发明实施例中,当可穿戴设备获取M个时刻的M个光谱参数之后,可以对该M个光谱参数求平均值,若该平均值不处于预设参数区间,则可以说明当前的光照情况不利于用户防控近视,那么可穿戴设备就可以向用户输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。
需要说明的是,预设参数区间是经过多次试验测试得到的有利于用户防控近视的标准参数区间。
可选的,若检测到M个光谱参数的平均值不处于预设参数区间,则输出第 一提示消息,具体可以包括以下实现方式:
实现方式一:当光谱参数包括:目标光照度时,若检测到M个目标光照度的平均值不处于预设光照度区间,则输出第一提示消息。
在该可选的实现方式中,若光谱参数包括光照度,那么可穿戴设备可以获取M个目标光照度的平均值,当该平均值不处于预设光照度区间时,向用户输出第一提示消息。
其中,预设光照度区间是经过多次试验测试得到的有利于用户防控近视的标准光照度区间。
示例性的,该预设光照度区间可以是400勒克斯(Lux)~749Lux。
实现方式二:当光谱参数包括:色温时,若检测到M个色温的平均值不处于预设色温区间,则输出第一提示消息。
在该可选的实现方式中,若光谱参数包括色温,那么可穿戴设备可以获取M个目标色温的平均值,当该平均值不处于预设色温区间时,向用户输出第一提示消息。
其中,预设色温区间是经过多次试验测试得到的有利于用户防控近视的标准色温区间。
示例性的,该预设色温区间可以是4500开尔文(K)~6500K。
实现方式三:当光谱参数包括:峰宽时,若检测到M个峰宽的平均值不处于预设峰宽区间,则输出第一提示消息。
在该可选的实现方式中,若光谱参数包括峰宽,那么可穿戴设备可以获取M个目标峰宽的平均值,当该平均值不处于预设峰宽区间时,向用户输出第一提示消息。
其中,预设峰宽区间是经过多次试验测试得到的有利于用户防控近视的标准峰宽区间。
示例性的,该预设峰宽区间可以是500纳米(nm)~1300nm。
通过上述三种可选的实现方式,可穿戴设备可以在获取不同的光谱参数之后,根据不同的光谱参数的标准区间进行检测,并针对不同的光谱参数,向用户输出提示信息。
本发明实施例提供一种光照提示方法,可穿戴设备配置有光谱传感器,可穿戴设备可以在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数,光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项;若检测 到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。通过该方案,可穿戴设备可以根据一段时长的光谱参数,向用户输出有关光照的提示消息,以帮助用户趋向优质光源,获取足够的光照,从而达到防控近视的目的。
实施例二
如图3所示,本发明实施例提供一种光照提示方法,在该发明实施例中,光谱参数包括目标光照度,该方法还可以包括下述步骤:
301、在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数。
在本发明实施例中,光谱参数包括目标光照度。
302、若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则确定与Q个目标光照度对应的Q个检测时刻。
在本发明实施例中,可穿戴设备获取M个目标光照度之后,可以将M个目标光照度与预设光照度阈值进行比较,得到大于或者等于预设光照度阈值的Q个目标光照度,并确定Q个目标光照度中的每个目标光照度对应的检测时刻,Q为大于或者等于的整数,Q小于或者等于M。
其中,预设光照度阈值是经过实验测试得到的预防用户近视的标准光照度。
303、确定Q个检测时刻中每个检测时刻与上一个相邻检测时刻之间的间隔时长,得到Q个间隔时长。
在本发明实施例中,可穿戴设备可以根据与Q个目标光照度对应的Q个检测时刻,确定其中每个检测时刻与上一个相邻检测时刻之间的间隔时长,以得到Q个间隔时长。
需要说明的是,上一个相邻检测时刻是指当前检测时刻在与M个目标光照度对应的M个检测时刻中的上一个相邻的检测时刻。
示例性的,假设M为6,Q为3,第一目标光照度对应的第一检测时刻为12:00,第二目标光照度对应的第二检测时刻为12:08,第三目标光照度对应的第三检测时刻为12:20,第四目标光照度对应的第四检测时刻为12:42,第五目标光照度对应的第五检测时刻为12:47,第六目标光照度对应的第六检测时刻为12:58;其中,第二目标光照度、第三目标光照度和第六目标光照度大于或者等于预设光照度阈值。那么可穿戴设备需要确定第二检测时刻、第三检测时刻和第六检测时刻,分别与上一个相邻检测时刻之间的间隔时长。其中,第二检测时刻与上一个相邻检测时刻之间的间隔时长,即为第二检测时刻与第一检测时 刻之间的间隔时长为8min;第三检测时刻与上一个相邻检测时刻之间的间隔时长,即为第三检测时刻与第二检测时刻之间的间隔时长为12min;第六检测时刻与上一个相邻检测时刻之间的间隔时长,即为第六检测时刻与第五检测时刻之间的间隔时长为11min。
304、将Q个间隔时长的总和确定为光照总时长。
在本发明实施例中,可穿戴设备可以将Q个间隔时长相加,得到在预设时长内的光照总时长。
305、若检测到光照总时长小于预设光照时长阈值,则输出第二提示消息。
在本发明实施例中,可穿戴设备可以将光照总时长与预设光照时长阈值进行比较,若光照总时长小于预设光照时长阈值,则输出第二提示消息,该第二提示消息用于提示用户延长光照时长。
可选的,预设光照时长阈值可以和预设时长之间存在对应关系。
可选的,若检测到光照总时长小于预设光照时长阈值,则输出第二提示消息,具体可以包括以下实现方式:
实现方式一:可穿戴设备可以在一天内多次检测目标光照度,并结合一天内的光照总时长,在每天固定时刻向用户输出第二提示消息。
在该可选的实现方式中,预设时长可以为一整天,可穿戴设备可以在一整天内检测M个时刻的M个目标光照度,并统计M个目标光照度中大于或者等于预设光照度阈值的Q个目标光照度分别与上一个相邻检测时刻之间的间隔时长,并相加得到一整天内的光照总时长,如果该光照总时长小于与一整天对应的预设光照时长阈值,则输出第二提示消息,该第二提示消息可以用于提示用户当天的光照时长不足,建议第二天可以增加光照时长。
示例性的,假设预设时长为24h,预设光照时长阈值为3h,在24h之内,可穿戴设备获取了100个时刻的100个目标光照度,其中,有23个目标光照度大于或者等于预设光照度阈值;那么可穿戴设备可以将该23个目标光照度中每个目标光照度与上一个相邻检测时刻之间的间隔时长相加,以得到这24h内的光照总时长。如果该光照总时长小于3h,那么可以说明这24h内该用户的光照时长不足,那么可穿戴设备可以向用户输出提示消息,以提示用户24h内光照时长不足,建议第二天增加光照时长。
通过该可选的实现方式,如果用户当天的光照时长较短,那么可穿戴设备可以在每天的固定时刻,向用户输出提示消息,以告知用户当天的光照时长不 足,建议用户在第二天调整活动位置,延长光照时长。通过该方案,可穿戴设备可以每天根据用户接收的光照情况向用户输出提示,可以帮助用户趋向优质光源,达到防控近视的目的。
实现方式二:可穿戴设备可以在短时间内多次检测目标光照度,并结合该段时间内的光照总时长,向用户输出第二提示消息。
在该可选的实现方式中,预设时长可以为一段较短的时长,可穿戴设备可以在该较短时长内检测M个时刻的M个目标光照度,并统计M个目标光照度中大于或者等于预设光照度阈值的Q个目标光照度分别与上一个相邻检测时刻之间的间隔时长,并相加得到较短时长内的光照总时长,如果该光照总时长小于与较短时长对应的预设光照时长阈值,则输出第二提示消息,该第二提示消息可以用于提示用户当前较短时长内的光照不足,建议用户立刻调整位置。
示例性的,假设预设时长为1h,预设光照时长阈值为20min,在1h之内,可穿戴设备获取了20个时刻的20个目标光照度,其中,有3个目标光照度大于或者等于预设光照度阈值;那么可穿戴设备可以将该3个目标光照度中每个目标光照度与上一个相邻检测时刻之间的间隔时长相加,以得到这1h内的光照总时长。如果该光照总时长小于20min,那么可以说明该用户在1h内的光照时长不足,那么可穿戴设备可以向用户输出提示消息,以提示用户在1h内的光照时长不足,建议立刻调整活动位置,以调整光照情况。
通过该可选的实现方式,如果用户在一段时长内的光照时长较短,那么可穿戴设备可以立刻向用户输出提示消息,以告知用户在该段时长内的光照时长不足,建议用户立刻调整活动位置,延长光照时长。通过该方案,可穿戴设备可以立刻根据用户接收的光照情况向用户输出提示,可以帮助用户立刻趋向优质光源,以使得当天的光照时长可以达到标准要求,从而达到防控近视的目的。
306、若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息。
可选的,输出第一提示消息以及输出第二提示消息可以是同时进行的;也可以先输出第一提示消息,再输出第二提示消息;也可以先输出第二提示消息,再输出第一提示消息,本发明实施例不做限定。
本发明实施例提供一种光照提示方法,可穿戴设备配置有光谱传感器,可穿戴设备可以在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数,确定其中大于或者等于预设光照度阈值的Q个目标光照度对应的Q个检测时 刻,以得到用户在预设时长内的光照总时长,并根据光照总时长,向用户输出有关光照时长的提示消息;若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。通过该方案,可穿戴设备可以在统计出用户光照时长小于预设光照时长阈值的时候,向用户输出有关延长光照时长的提示消息;并根据一段时长的光谱参数,向用户输出有关光照的提示消息,以帮助用户趋向优质光源,获取足够的光照,从而达到防控近视的目的,提高可穿戴设备的智能化程度。
实施例三
如图4所示,本发明实施例提供一种光照提示方法,在该发明实施例中,光谱参数包括目标光照度,该方法还可以包括下述步骤:
401、在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数。
在本发明实施例中,光谱参数包括目标光照度。
402、获取M个时刻对应的M个位置信息。
在本发明实施例中,可穿戴设备可以获取M个时刻对应的M个位置信息。
其中,获取位置信息的方法可以包括以下至少一种:无线(Wireless Fidelity,WiFi)定位,卫星定位和基站定位等。其中,卫星定位可以是中国北斗卫星导航系统(BeiDouNavigation Satellite System,BDS)定位,也可以是全球定位系统(Global Positioning System,GPS)定位,也可以是其他的定位方法,本发明实施例不做限定。
可选的,获取M个时刻的M个光谱参数以及获取M个时刻对应的M个位置信息可以是同时进行的;也可以先获取M个时刻的M个光谱参数,再获取M个时刻对应的M个位置信息;也可以先获取M个时刻对应的M个位置信息,再获取M个时刻的M个光谱参数,本发明实施例不做限定。
403、若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则输出第三提示消息。
在本发明实施例中,可穿戴设备获取M个目标光照度之后,可以将M个目标光照度与预设光照度阈值进行比较,若存在Q个目标光照度大于或者等于预设光照度阈值,则可穿戴设备可以输出第三提示消息,该第三提示消息可以包括:与Q个目标光照度对应的Q个位置信息,该第三提示消息用于提示用户当处于该Q个位置信息时光照充足。
其中,预设光照度阈值是经过实验测试得到的预防用户近视的标准光照度。
可选的,若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则输出第三提示消息,具体可以包括以下实现方式:
实现方式一:可穿戴设备可以在一天内多次检测目标光照度以及对应的位置信息,并结合一天内的目标光照度,在每天固定时刻向用户输出第三提示消息。
在该可选的实现方式中,预设时长可以为一整天,可穿戴设备可以在一整天内检测M个时刻的M个目标光照度以及M个位置信息,并获取M个目标光照度中大于或者等于预设光照度阈值的Q个目标光照度,将该Q个目标光照度对应的Q个位置信息作为第三提示消息输出给用户,以提示用户当天在该Q个位置时光照充足,建议用户第二天可以增加在该Q个位置的活动时长。
示例性的,假设预设时长为24h,在24h之内,可穿戴设备获取100个时刻的100个目标光照度以及100个位置信息,其中,有23个目标光照度大于或者等于预设光照度阈值;那么可穿戴设备可以将该23个目标光照度对应的23个位置信息输出给用户,以提示用户在24h内的23个位置时光照充足,建议第二天增加在该23个位置的活动时长。
通过该可选的实现方式,那么可穿戴设备可以在每天的固定时刻,向用户输出提示消息,以告知用户当天光照充足的位置,建议用户在第二天延长光照充足的位置的活动时长。通过该方案,可穿戴设备可以每天根据用户在不同位置接收的光照情况向用户输出提示,可以帮助用户趋向优质光源,达到防控近视的目的。
实现方式二:可穿戴设备可以在短时间内多次检测目标光照度以及对应的位置信息,并结合该段时间内的目标光照度,向用户输出第三提示消息。
在该可选的实现方式中,预设时长可以为一段较短的时长,可穿戴设备可以在该较短时长内检测M个时刻的M个目标光照度以及M个位置信息,并获取M个目标光照度中大于或者等于预设光照度阈值的Q个目标光照度,将该Q个目标光照度对应的Q个位置信息作为第三提示消息输出给用户,以提示用户在该较短时长内在该Q个位置时光照充足,建议用户继续在该Q个位置进行活动。
示例性的,假设预设时长为1h,在1h之内,可穿戴设备可以获取20个时刻的20个目标光照度以及20个位置信息,其中,有3个目标光照度大于或者 等于预设光照度阈值;那么可穿戴设备可以将该3个目标光照度对应的3个位置信息输出给用户,以提示用户在1h内的3个位置时光照充足,建议用户继续在该3个位置进行活动。
通过该可选的实现方式,可穿戴设备可以向用户输出提示消息,以告知用户在该段时长内光照充足的位置,建议用户立刻调整活动位置,延长在光照充足的位置的活动时长。通过该方案,可穿戴设备可以立刻根据用户在不同位置接收的光照情况向用户输出提示,可以帮助用户立刻趋向优质光源,以使得当天的光照时长可以达到标准要求,从而达到防控近视的目的。
404、若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息。
可选的,输出第一提示消息以及输出第三提示消息可以是同时进行的;也可以先输出第一提示消息,再输出第三提示消息;也可以先输出第三提示消息,再输出第一提示消息,本发明实施例不做限定。
本发明实施例提供一种光照提示方法,可穿戴设备配置有光谱传感器,可穿戴设备可以在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数以及M个位置信息;若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则向用户输出Q个目标光照度对应的Q个位置信息,以提示用户增加在该Q个位置的活动时长;若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。通过该方案,可穿戴设备可以结合位置信息,告知用户光照充足的位置,以建议用户增加在该位置的活动时长,并根据一段时长的光谱参数,向用户输出有关光照的提示消息,以帮助用户趋向优质光源,获取足够的光照,从而达到防控近视的目的,提高可穿戴设备的智能化程度。
实施例四
如图5所示,本发明实施例提供一种光照提示方法,在该发明实施例中,光谱参数包括目标光照度,该方法还可以包括下述步骤:
501、获取M个时刻中每个时刻的N个预设波段。
在本发明实施例中,可穿戴设备可以通过配置的光谱传感器获取每个时刻的N个预设波段,N为大于或者等于1的整数。
其中,波段为光谱传感器接收到的检测光的波长区间,预设波段是可穿戴设备经过实验测试得到的对防控用户近视有益的波长区间。
示例性的,检测光的波长具有很多区间,其中波段465nm~485nm、625nm~645nm、645nm~665nm、705nm~725nm有益于防控近视。
502、获取N个预设波段对应的N个第一光照度。
在本发明实施例中,可穿戴设备可以通过配置的光谱传感器获取N个预设波段中每个预设波段对应的第一光照度,以得到N个第一光照度。
可选的,获取N个预设波段对应的N个第一光照度,具体可以包括:获取P个预设子波段对应的P个第二光照度,P为大于或者等于1的整数;对P个第二光照度求平均值,得到每个预设波段对应的第一光照度。
在该可选的实现方式中,N个预设波段中每个预设波段都包括P个预设子波段,可穿戴设备可以获取P个预设子波段中每个预设子波段对应的第二光照度,以得到P个第二光照度;再对P个第二光照度求平均值,并将该平均值确定为预设波段对应的第一光照度。
示例性的,以波段625nm~645nm为例,假设P为4,即625nm~645nm中又包括了4个预设子波段,分别为625nm~630nm、630nm~635nm、635nm~640nm、640nm~645nm。那么可穿戴设备获取到该4个预设子波段分别对应的第二光照度为548Lux、563Lux、539Lux、551Lux,那么可穿戴设备就可以得到该波段625nm~645nm的第一光照度为(548Lux+563Lux+539Lux+551Lux)/4=550.25Lux。
可选的,获取N个预设波段对应的N个第一光照度,具体还可以包括:获取P个预设子波段对应的P个第二光照度,P为大于或者等于1的整数;对P个第二光照度求中值,得到每个预设波段对应的第一光照度。
在该可选的实现方式中,N个预设波段中每个预设波段都包括P个预设子波段,可穿戴设备可以获取P个预设子波段中每个预设子波段对应的第二光照度,以得到P个第二光照度;再对P个第二光照度求中值,并将该中值确定为预设波段对应的第一光照度。
示例性的,以波段625nm~645nm为例,假设P为4,即625nm~645nm中又包括了4个预设子波段,分别为625nm~630nm、630nm~635nm、635nm~640nm、640nm~645nm。那么可穿戴设备获取到该4个预设子波段分别对应的第二光照度为548Lux、563Lux、539Lux、551Lux,那么可穿戴设备就可以求该4个第二光照度的中值,即为(548Lux+551Lux)/2=549.5Lux。
503、根据N个第一光照度,计算得到每个时刻的目标光照度。
在本发明实施例中,可穿戴设备可以根据N个第一光照度,得到当前时刻 的目标光照度。
可选的,根据N个第一光照度,计算得到每个时刻的目标光照度,具体可以包括:获取用户的个人信息,个人信息包括:用户的年龄,用户的视力情况;确定与用户的个人信息对应的个人调整系数,个人调整系数与用户的视力情况成反比,且个人调整系数与用户的年龄成正比;根据N个第一光照度、个人调整系数以及N个预设波段中的每个预设波段对应的波长权重系数,计算得到每个时刻的目标光照度。
在该可选的实现方式中,可穿戴设备可以根据用户的年龄以及视力情况确定用户的个人调整系数,该个人调整系数与用户的年龄以及视力情况存在对应关系。
可选的,当用户的视力情况较差时,用户就需要较长时间且较大强度的光照,那么可穿戴设备就可以降低个人调整系数;当用户的视力情况较好时,用户就不需要较长时间且较大强度的光照,那么可穿戴设备就可以提高个人调整系数;因此,个人调整系数与用户的视力情况成正比。
可选的,当用户的年龄较小时,用户就需要较长时间且较大强度的光照,那么可穿戴设备就可以降低个人调整系数;当用户的年龄较大时,用户就不需要较长时间且较大强度的光照,那么可穿戴设备就可以提高个人调整系数;因此,个人调整系数与用户的年龄成正比。
需要说明的是,每个预设波段对应的波长权重系数是可穿戴设备根据实验测试得到的权重系数,该权重系数可以根据每个预设波段对防控用户近视的重要程度而决定,每个预设波段对应的波长权重系数总和为1。
在本发明实施例中,可穿戴设备可以根据N个第一光照度、个人调整系数以及N个预设波段中的每个预设波段对应的波长权重系数,计算得到每个时刻的目标光照度。
其中,具体的计算方式为:A=M*(K 1*A 1+K 2*A 2+…+K N*A N)。
其中,A为当前时刻的目标光照度,M为用户的个人调整系数,K1、K2...KN为每个预设波段对应的波长权重系数,A1、A2...AN为每个预设波段对应的第一光照度,K1+K2+...+Kn=1。
示例性的,假设M=0.3,N=4,K1=0.1,K2=0.3,K3=0.5,K4=0.1,可穿戴设备通过光谱传感器检测到A1=548Lux,A2=563Lux,A3=539Lux,A4=551Lux,那么将上述数据代入公式可以得到:
A=0.3*(548Lux*0.1+563Lux*0.3+539Lux*0.5+551Lux*0.1)=164.49Lux,即当前时刻的目标光照度为164.49Lux。
504、若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息。
本发明实施例提供一种光照提示方法,可穿戴设备配置有光谱传感器,可穿戴设备可以在预设时长内,通过光谱传感器,获取M个时刻中每个时刻的N个预设波段,以及N个预设波段对应的N个第一光照度,根据N个第一光照度,计算得到每个时刻的目标光照度,若检测到M个目标光照度的平均值不处于预设参数区间,则输出第一提示消息,该第一提示消息用于提示用户在预设时长内的光照不利于防控近视。通过该方案,可穿戴设备可以根据每个时刻不同波段的光谱参数,计算当前时刻的目标光照度,并向用户输出有关光照的提示消息,以帮助用户趋向优质光源,获取足够的光照,从而达到防控近视的目的。
实施例五
如图6所示,本发明实施例提供一种可穿戴设备,该可穿戴设备配置有光谱传感器,该可穿戴设备包括:
获取模块601,用于在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数,光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项,M为大于或者等于1的整数;
输出模块602,用于若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,第一提示消息用于提示用户在预设时长内的光照不利于防控近视。
可选的,输出模块602,具体用于当光谱参数包括:目标光照度时,若检测到M个目标光照度的平均值不处于预设光照度区间,则输出第一提示消息;
和/或,
输出模块602,具体用于当光谱参数包括:目标色温时,若检测到M个目标色温的平均值不处于预设色温区间,则输出第一提示消息;
和/或,
输出模块602,具体用于当光谱参数包括:目标峰宽时,若检测到M个目标峰宽的平均值不处于预设峰宽区间,则输出第一提示消息。
可选的,该可穿戴设备包括:
处理模块603,用于若检测到M个目标光照度中的Q个目标光照度大于或 者等于预设光照度阈值,则确定与Q个目标光照度对应的Q个检测时刻,Q为大于或者等于1的整数;
处理模块603,还用于确定Q个检测时刻中每个检测时刻与上一个相邻检测时刻之间的间隔时长,得到Q个间隔时长;
处理模块603,还用于将Q个间隔时长的总和确定为光照总时长;
输出模块602,还用于若检测到光照总时长小于预设光照时长阈值,则输出第二提示消息,第二提示消息用于提示用户延长光照时长;
其中,预设光照度阈值为预防用户近视的标准光照度。
可选的,获取模块601,还用于获取M个时刻对应的M个位置信息,M个位置信息与M个目标光照度一一对应;
输出模块602,还用于若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则输出第三提示消息,第三提示消息包括:与Q个目标光照度对应的Q个位置信息,第三提示消息用于提示用户当处于Q个位置信息时光照充足;
其中,预设光照度阈值为预防用户近视的标准光照度,Q为大于或者等于1的整数。
可选的,获取模块601,具体用于获取M个时刻中每个时刻的N个预设波段,N为大于或者等于1的整数;
获取模块601,具体用于获取N个预设波段对应的N个第一光照度;
处理模块603,具体用于根据N个第一光照度,计算得到每个时刻的目标光照度。
可选的,获取模块601,具体用于获取P个预设子波段对应的P个第二光照度,P为大于或者等于1的整数;
处理模块603,具体用于对P个第二光照度求平均值,得到每个预设波段对应的第一光照度。
可选的,获取模块601,具体用于获取用户的个人信息,个人信息包括:用户的年龄,用户的视力情况;
处理模块603,具体用于确定与用户的个人信息对应的个人调整系数,个人调整系数与用户的视力情况成正比,且个人调整系数与用户的年龄成正比;
处理模块603,具体用于根据N个第一光照度、个人调整系数以及N个预设波段中的每个预设波段对应的波长权重系数,计算得到每个时刻的目标光照 度。
可选的,获取模块601,具体用于获取当前时刻的位置信息;
获取模块601,具体用于若检测到当前时刻的位置信息处于室内场所,则通过六轴传感器,获取光谱传感器朝向的第一方向,以及用户面部朝向的第二方向;
处理模块603,具体用于确定第一方向与第二方向之间的角度差值;
获取模块601,具体用于若角度差值小于或者等于预设角度阈值,则获取M个时刻的M个光谱参数;
其中,M个时刻时的第一方向与第二方向之间的角度差值均小于或者等于预设角度阈值。
本发明实施例中,各模块可以实现上述方法实施例提供的光照提示方法,且能达到相同的技术效果,为避免重复,这里不再赘述。
如图7所示,本发明实施例还提供一种可穿戴设备,该可穿戴设备可以包括:
存储有可执行程序代码的存储器701;
与存储器701耦合的处理器702;
其中,处理器702调用存储器701中存储的可执行程序代码,执行上述各方法实施例中可穿戴设备执行的光照提示方法。
如图8所示,本发明实施例还提供一种可穿戴设备,该可穿戴设备包括但不限于:射频(radio frequency,RF)电路801、存储器802、输入单元803、显示单元804、传感器805、音频电路806、WiFi(wireless fidelity,无线通信)模块807、处理器808、电源809、以及摄像头810等部件。其中,射频电路801包括接收器8010和发送器8012。本领域技术人员可以理解,图8中示出的可穿戴设备结构并不构成对可穿戴设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
RF电路801可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器808处理;另外,将设计上行的数据发送给基站。
存储器802可用于存储软件程序以及模块,处理器808通过运行存储在存储器802的软件程序以及模块,从而执行可穿戴设备的各种功能应用以及数据处理。
输入单元803可用于接收输入的数字或字符信息,以及产生与可穿戴设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元803可包括触控面板8031以及其他输入设备8032。
显示单元804可用于显示由用户输入的信息或提供给用户的信息以及可穿戴设备的各种菜单。显示单元804可包括显示面板8041,可选的,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-Emitting diode,OLED)等形式来配置显示面板8041。
可穿戴设备还可包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。
音频电路806、扬声器8061,传声器8062可提供用户与可穿戴设备之间的音频接口。音频电路806可将接收到的音频数据转换后的电信号,传输到扬声器8061,由扬声器8061转换为声音信号输出;另一方面,传声器8062将收集的声音信号转换为电信号,由音频电路806接收后转换为音频数据,再将音频数据输出处理器808处理后,经RF电路801以发送给比如另一可穿戴设备,或者将音频数据输出至存储器802以便进一步处理。
WiFi属于短距离无线传输技术,可穿戴设备通过WiFi模块807可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。
处理器808是可穿戴设备的控制中心,利用各种接口和线路连接整个可穿戴设备的各个部分,通过运行或执行存储在存储器802内的软件程序和/或模块,以及调用存储在存储器802内的数据,执行可穿戴设备的各种功能和处理数据,从而对可穿戴设备进行整体监控。
可穿戴设备还包括给各个部件供电的电源809(比如电池)。尽管未示出,可穿戴设备还可以包括蓝牙模块等,在此不再赘述。
需要说明的是,该可穿戴设备可以实现本申请实施例中的光照提示方法。
可选的,处理器808具体可以用于在预设时长内,通过光谱传感器,获取M个时刻的M个光谱参数,光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项,M为大于或者等于1的整数;若检测到M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,第一提示消息用于提示用户在预设时长内的光照不利于防控近视。
可选的,处理器808具体可以用于当光谱参数包括:目标光照度时,若检 测到M个目标光照度的平均值不处于预设光照度区间,则输出第一提示消息;和/或,当光谱参数包括:目标色温时,若检测到M个目标色温的平均值不处于预设色温区间,则输出第一提示消息;和/或,当光谱参数包括:目标峰宽时,若检测到M个目标峰宽的平均值不处于预设峰宽区间,则输出第一提示消息。
可选的,处理器808具体可以用于若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则确定与Q个目标光照度对应的Q个检测时刻,Q为大于或者等于1的整数;确定Q个检测时刻中每个检测时刻与上一个相邻检测时刻之间的间隔时长,得到Q个间隔时长;将Q个间隔时长的总和确定为光照总时长;若检测到光照总时长小于预设光照时长阈值,则输出第二提示消息,第二提示消息用于提示用户延长光照时长;其中,预设光照度阈值为预防用户近视的标准光照度。
可选的,处理器808具体可以用于获取M个时刻对应的M个位置信息,M个位置信息与M个目标光照度一一对应;若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则输出第三提示消息,第三提示消息包括:与Q个目标光照度对应的Q个位置信息,第三提示消息用于提示用户当处于Q个位置信息时光照充足;其中,预设光照度阈值为预防用户近视的标准光照度,Q为大于或者等于1的整数。
可选的,处理器808具体可以用于获取M个时刻中每个时刻的N个预设波段,N为大于或者等于1的整数;获取N个预设波段对应的N个第一光照度;根据N个第一光照度,计算得到每个时刻的目标光照度。
可选的,处理器808具体可以用于获取P个预设子波段对应的P个第二光照度,P为大于或者等于1的整数;对P个第二光照度求平均值,得到每个预设波段对应的第一光照度。
可选的,处理器808具体可以用于获取用户的个人信息,个人信息包括:用户的年龄,用户的视力情况;确定与用户的个人信息对应的个人调整系数,个人调整系数与用户的视力情况成正比,且个人调整系数与用户的年龄成正比;根据N个第一光照度、个人调整系数以及N个预设波段中的每个预设波段对应的波长权重系数,计算得到每个时刻的目标光照度。
可选的,处理器808具体可以用于获取当前时刻的位置信息;若检测到当前时刻的位置信息处于室内场所,则通过六轴传感器,获取光谱传感器朝向的第一方向,以及用户面部朝向的第二方向;确定第一方向与第二方向之间的角 度差值;若角度差值小于或者等于预设角度阈值,则获取M个时刻的M个光谱参数;其中,M个时刻时的第一方向与第二方向之间的角度差值均小于或者等于预设角度阈值。
本发明实施例提供一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。
本发明实施例还提供一种计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。
本发明实施例还提供一种应用发布平台,其中,应用发布平台用于发布计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本发明的 技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明的各个实施例上述方法的部分或全部步骤。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(RandomAccess Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-OnlyMemory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。

Claims (11)

  1. 一种光照提示方法,其特征在于,应用于可穿戴设备,所述可穿戴设备配置有光谱传感器,所述方法包括:
    在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数,所述光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项,M为大于或者等于1的整数;
    若检测到所述M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,所述第一提示消息用于提示用户在所述预设时长内的光照不利于防控近视。
  2. 根据权利要求1所述的方法,其特征在于,所述若检测到所述M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,包括:
    当所述光谱参数包括:所述目标光照度时,若检测到所述M个目标光照度的平均值不处于预设光照度区间,则输出所述第一提示消息;
    和/或,
    当所述光谱参数包括:所述目标色温时,若检测到所述M个目标色温的平均值不处于预设色温区间,则输出所述第一提示消息;
    和/或,
    当所述光谱参数包括:所述目标峰宽时,若检测到所述M个目标峰宽的平均值不处于预设峰宽区间,则输出所述第一提示消息。
  3. 根据权利要求1所述的方法,其特征在于,所述光谱参数包括:所述目标光照度,所述在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数之后,所述方法还包括:
    若检测到M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则确定与所述Q个目标光照度对应的Q个检测时刻,Q为大于或者等于1的整数;
    确定所述Q个检测时刻中每个检测时刻与上一个相邻检测时刻之间的间隔时长,得到Q个间隔时长;
    将所述Q个间隔时长的总和确定为光照总时长;
    若检测到所述光照总时长小于预设光照时长阈值,则输出第二提示消息,所述第二提示消息用于提示所述用户延长光照时长;
    其中,所述预设光照度阈值为预防用户近视的标准光照度。
  4. 根据权利要求1所述的方法,其特征在于,所述光谱参数包括:所述目 标光照度,所述在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数之后,所述方法还包括:
    获取M个时刻对应的M个位置信息,所述M个位置信息与M个目标光照度一一对应;
    若检测到所述M个目标光照度中的Q个目标光照度大于或者等于预设光照度阈值,则输出第三提示消息,所述第三提示消息包括:与所述Q个目标光照度对应的Q个位置信息,所述第三提示消息用于提示所述用户当处于所述Q个位置信息时光照充足;
    其中,所述预设光照度阈值为预防用户近视的标准光照度,Q为大于或者等于1的整数。
  5. 根据权利要求1所述的方法,其特征在于,所述光谱参数包括:所述目标光照度,所述获取M个时刻的M个光谱参数,包括:
    获取所述M个时刻中每个时刻的N个预设波段,N为大于或者等于1的整数;
    获取所述N个预设波段对应的N个第一光照度;
    根据所述N个第一光照度,计算得到每个时刻的目标光照度。
  6. 根据权利要求5所述的方法,其特征在于,所述N个预设波段中的每个预设波段包括P个预设子波段,所述获取所述N个预设波段对应的N个第一光照度,包括:
    获取所述P个预设子波段对应的P个第二光照度,P为大于或者等于1的整数;
    对所述P个第二光照度求平均值,得到所述每个预设波段对应的第一光照度。
  7. 根据权利要求5所述的方法,其特征在于,所述根据所述N个第一光照度,计算得到每个时刻的目标光照度,包括:
    获取所述用户的个人信息,所述个人信息包括:所述用户的年龄,所述用户的视力情况;
    确定与所述用户的个人信息对应的个人调整系数,所述个人调整系数与所述用户的视力情况成正比,且所述个人调整系数与所述用户的年龄成正比;
    根据所述N个第一光照度、所述个人调整系数以及所述N个预设波段中的每个预设波段对应的波长权重系数,计算得到每个时刻的所述目标光照度。
  8. 根据权利要求1所述的方法,其特征在于,所述获取M个时刻的M个光谱参数,包括:
    获取当前时刻的位置信息;
    若检测到所述当前时刻的位置信息处于室内场所,则通过六轴传感器,获取所述光谱传感器朝向的第一方向,以及所述用户面部朝向的第二方向;
    确定所述第一方向与所述第二方向之间的角度差值;
    若所述角度差值小于或者等于预设角度阈值,则获取所述M个时刻的M个光谱参数;
    其中,所述M个时刻时的所述第一方向与所述第二方向之间的角度差值均小于或者等于所述预设角度阈值。
  9. 一种可穿戴设备,其特征在于,所述可穿戴设备配置有光谱传感器,所述可穿戴设备包括:
    获取模块,用于在预设时长内,通过所述光谱传感器,获取M个时刻的M个光谱参数,所述光谱参数包括:目标光照度,目标色温,以及目标峰宽中的至少一项,M为大于或者等于1的整数;
    输出模块,用于若检测到所述M个光谱参数的平均值不处于预设参数区间,则输出第一提示消息,所述第一提示消息用于提示用户在所述预设时长内的光照不利于防控近视。
  10. 一种可穿戴设备,其特征在于,包括:
    存储有可执行程序代码的存储器;
    以及所述存储器耦合的处理器;
    所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行如权利要求1至8任一项所述的光照提示方法。
  11. 一种计算机可读存储介质,其特征在于,包括:所述计算机可读存储介质上存储计算机指令,所述计算机指令被处理器执行时实现如权利要求1至8任一项所述的光照提示方法。
PCT/CN2021/120023 2021-06-30 2021-09-23 一种光照提示方法、可穿戴设备及存储介质 WO2023272973A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110742900.3A CN115541018A (zh) 2021-06-30 2021-06-30 一种光照提示方法、可穿戴设备及存储介质
CN202110742900.3 2021-06-30

Publications (1)

Publication Number Publication Date
WO2023272973A1 true WO2023272973A1 (zh) 2023-01-05

Family

ID=84689959

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/120023 WO2023272973A1 (zh) 2021-06-30 2021-09-23 一种光照提示方法、可穿戴设备及存储介质

Country Status (2)

Country Link
CN (1) CN115541018A (zh)
WO (1) WO2023272973A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707763A (zh) * 2017-10-19 2018-02-16 杭州镜之镜科技有限公司 近视防控可穿戴设备及近视防控系统和方法
US20190038123A1 (en) * 2017-08-02 2019-02-07 Barry Jonathan Linder Systems and Methods For Retarding Myopia Progression
CN211213173U (zh) * 2019-11-05 2020-08-11 腾阅健康科技(深圳)有限公司 佩戴于手腕上用于监测用眼状态和用眼环境的智能设备
CN111522149A (zh) * 2020-05-20 2020-08-11 温州医科大学附属眼视光医院 一种能监测和记录环境光谱和光照强度的智能眼镜及方法
CN111564209A (zh) * 2020-01-19 2020-08-21 郑莫非 可穿戴式设备、终端设备、健康管理方法和健康管理系统
CN111803076A (zh) * 2020-07-07 2020-10-23 北京大学第三医院(北京大学第三临床医学院) 一种防控近视的可穿戴设备的人工智能系统
CN213303264U (zh) * 2020-11-04 2021-05-28 黄勇 一种防近视报警器

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190038123A1 (en) * 2017-08-02 2019-02-07 Barry Jonathan Linder Systems and Methods For Retarding Myopia Progression
CN107707763A (zh) * 2017-10-19 2018-02-16 杭州镜之镜科技有限公司 近视防控可穿戴设备及近视防控系统和方法
CN211213173U (zh) * 2019-11-05 2020-08-11 腾阅健康科技(深圳)有限公司 佩戴于手腕上用于监测用眼状态和用眼环境的智能设备
CN111564209A (zh) * 2020-01-19 2020-08-21 郑莫非 可穿戴式设备、终端设备、健康管理方法和健康管理系统
CN111522149A (zh) * 2020-05-20 2020-08-11 温州医科大学附属眼视光医院 一种能监测和记录环境光谱和光照强度的智能眼镜及方法
CN111803076A (zh) * 2020-07-07 2020-10-23 北京大学第三医院(北京大学第三临床医学院) 一种防控近视的可穿戴设备的人工智能系统
CN213303264U (zh) * 2020-11-04 2021-05-28 黄勇 一种防近视报警器

Also Published As

Publication number Publication date
CN115541018A (zh) 2022-12-30

Similar Documents

Publication Publication Date Title
US10204595B2 (en) Methods and devices for adjusting screen brightness
US11881137B2 (en) Ambient light and proximity detection method, photographing method, and terminal
WO2019206091A1 (zh) 一种灭屏显示的方法及电子设备
US20190302995A1 (en) Home screen for wearable devices
WO2021057873A1 (zh) 一种人体温度测量方法、电子设备与计算机可读存储介质
KR102439245B1 (ko) 전자 장치 및 그 제어 방법
KR102239090B1 (ko) 위치 정보를 제공하기 위한 방법 및 장치
CN106415700A (zh) 具有自适应光谱特征的显示器
US20150172441A1 (en) Communication management for periods of inconvenience on wearable devices
WO2019169636A1 (zh) 一种测量人体生理参数的方法和终端设备
US10983482B2 (en) Electronic devices with display burn-in mitigation
US11790819B2 (en) Compensation method and electronic device
CN103970258B (zh) 穿戴式电子设备以及显示方法
KR102371211B1 (ko) 복수의 카메라를 이용하여 생체 정보를 인증하는 방법 및 장치
CN109196316A (zh) 用于验证图像的光源的方法和电子设备
KR20190020578A (ko) 외부 광에 기반하여 이미지를 처리하는 방법 및 이를 지원하는 전자 장치
CN113923422B (zh) 一种环境光检测的方法及终端
KR20170112278A (ko) 전자장치
CN108702806A (zh) 电子设备及用于其的操作方法
CN112414587A (zh) 一种温度检测方法及终端设备
WO2023272973A1 (zh) 一种光照提示方法、可穿戴设备及存储介质
US20180278922A1 (en) Wireless earpiece with a projector
CN110854949B (zh) 一种充电控制方法、终端及计算机可读存储介质
CN112000305A (zh) 屏幕色温调节方法及装置
CN113050855B (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: 21947901

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: 21947901

Country of ref document: EP

Kind code of ref document: A1