Information prompting method and device and electronic equipment

By obtaining the UV index and exposure time of the moving route, calculating the radiation value and setting a preset threshold based on the user's skin information, the problem of low accuracy of sun protection prompts in the prior art is solved, and more accurate and personalized sun protection prompts are achieved.

CN119541164APending Publication Date: 2025-02-28VIVO SOFTWARE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411612893.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

When the prior art prompts users to protect themselves from sun protection, due to the large regional range and the differences in the environments of different users, the accuracy of sun protection prompts is reduced, and the user's skin cannot be effectively protected.

Method used

By obtaining the ultraviolet index corresponding to the moving route and the exposure time of the user on the moving route, the radiation value of the user being emitted by the ultraviolet rays is calculated, and when the radiation value is greater than or equal to the preset radiation threshold, a sun protection prompt is given to the user. The preset radiation threshold is related to the user's skin information to ensure the accuracy of the prompt.

Benefits of technology

Improve the accuracy of reminding users to protect themselves from sun protection, promptly reminding users to take sun protection measures to avoid sunburn, and personalized prompts are made according to the user's skin characteristics, which improves the prompt's close to the user's own situation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119541164A_ABST
    Figure CN119541164A_ABST
Patent Text Reader

Abstract

The invention discloses an information prompting method and device and electronic equipment, and belongs to the technical field of artificial intelligence. The method comprises the following steps: acquiring an ultraviolet index corresponding to a moving route and an exposure time length of a user on the moving route, wherein the exposure time length is a time length when the user is radiated by ultraviolet rays; determining a radiation value of ultraviolet radiation of the user in the moving route according to the ultraviolet index and the exposure duration; and when the radiation value is greater than or equal to a preset radiation threshold, carrying out sunscreen prompt to the user, the preset radiation threshold being related to the skin information of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to an information prompting method, device and electronic equipment. Background Art

[0002] The damage of ultraviolet rays to human skin manifests as accelerated skin aging, skin pigmentation, etc., and in severe cases, it can also cause cancer, threatening the health of users. Usually, electronic devices can remind users to protect themselves from the sun according to the ultraviolet index (UVindex, UVI) in the area where the users are located.

[0003] However, due to the large area, the environments of different users are slightly different. If users are prompted in the above manner, the accuracy of the sun protection prompts will be reduced. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an information prompting method, device and electronic device, which can improve the accuracy of sun protection prompting.

[0005] In a first aspect, an embodiment of the present application provides an information prompting method, comprising:

[0006] Obtaining the UV index corresponding to the moving route and the exposure time of the user on the moving route, where the exposure time is the time the user is exposed to UV radiation;

[0007] According to the UV index and exposure duration, determine the radiation value of the user's UV radiation during the moving route;

[0008] When the radiation value is greater than or equal to a preset radiation threshold, the user is given a sun protection reminder, and the preset radiation threshold is related to the user's skin information.

[0009] In a second aspect, an embodiment of the present application provides an information prompting device, including:

[0010] An acquisition module, used to acquire the UV index corresponding to the moving route and the exposure time of the user on the moving route, where the exposure time is the time the user is exposed to UV radiation;

[0011] A determination module, used to determine the radiation value of ultraviolet radiation of the user during the moving route according to the ultraviolet index and the exposure duration;

[0012] The display module is used to provide sun protection reminders to the user when the radiation value is greater than or equal to a preset radiation threshold, and the preset radiation threshold is related to the user's skin information.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the information prompt method shown in the first aspect are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the information prompt method shown in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run a program or instruction to implement the steps of the information prompt method shown in the first aspect.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the information prompt method shown in the first aspect.

[0017] In the embodiment of the present application, the UV index corresponding to the moving route and the exposure time of the user to UV radiation on the moving route can be obtained; according to the UV index and the exposure time, the radiation value of the user to which the UV radiation is applied in the moving route is determined; when the radiation value is greater than or equal to the preset radiation threshold, the user is given a sun protection reminder, and the preset radiation threshold is related to the user's skin information. In this way, through the UV index and the exposure time, multiple factors of the user's environment can be comprehensively considered to accurately calculate the radiation value of the user to which the UV radiation is applied in the moving route, so as to timely and accurately remind the user to protect from the sun and avoid sunburn, and when the radiation value is greater than or equal to the preset radiation threshold related to the user's skin information, the user can be given a sun protection reminder based on the user's own skin characteristics, which can ensure that the sun protection reminder for the user is closer to the user's own situation, and improve the accuracy of the sun protection reminder to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flowchart of an information prompting method provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of the structure of an information prompting device provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0024] When traveling or on business trips, users are not familiar with the local ultraviolet radiation conditions. If they do not take effective sun protection measures, they are likely to get sunburned. Sunburn may cause skin pain, redness, and sometimes blisters, fever, and chills. In related technologies, electronic devices can remind users to take sun protection measures based on the ultraviolet index in the area where the user is located.

[0025] However, the area where the users are located, such as Sanya City, covers a large area in terms of geographical breadth, and the environments of different users are slightly different. If users are prompted according to the overall or average UV index of Sanya City, the accuracy of the sunscreen prompts will be reduced. For example, some users are at the beach of Sanya Bay, other users are walking on the sidewalk, and some users are shopping in the mall. Normally, users in the mall do not need sunscreen, but according to the aforementioned scheme, they will still receive the prompt, which reduces the accuracy of the sunscreen prompt. For example, when the UV index is 11, sunburn only requires 10 minutes of exposure to the sun. However, white or light brown skin is more susceptible to sunburn than black skin. Therefore, according to the aforementioned scheme, using the same sunscreen prompts for users of different skin colors will also reduce the accuracy of the sunscreen prompts, causing users to fail to protect themselves from the sun in time and get sunburned.

[0026] In order to solve the problems in the related art, the embodiments of the present application provide an information prompt method, device, equipment and storage medium, which can comprehensively consider the ultraviolet index corresponding to the moving route, the exposure time of the user on the moving route and the user's own skin information, so as to improve the accuracy of sun protection prompts to the user and promptly prompt the user to take sun protection measures to avoid sunburn.

[0027] Based on this, the following Figures 1 to 4 , the information prompt method provided by the embodiment of the present application is described in detail through specific embodiments and their application scenarios.

[0028] First, combine Figure 1 An information prompting method provided in an embodiment of the present application is described in detail.

[0029] Figure 1 A flowchart of an information prompting method provided in an embodiment of the present application.

[0030] like Figure 1 As shown, the information prompt method provided in the embodiment of the present application can be applied to an electronic device. Based on this, the information prompt method can include the following steps:

[0031] Step 110, obtaining the UV index corresponding to the moving route and the exposure time of the user on the moving route, where the exposure time is the time the user is exposed to UV radiation; Step 120, determining the radiation value of the user's UV radiation on the moving route based on the UV index and the exposure time; Step 130, when the radiation value is greater than or equal to a preset radiation threshold, providing a sun protection reminder to the user, where the preset radiation threshold is related to the user's skin information.

[0032] In this way, through the UV index and exposure time, multiple factors of the user's environment can be comprehensively considered to accurately calculate the radiation value of the user's ultraviolet radiation during the moving route, so as to timely and accurately remind the user to protect against the sun and avoid sunburn. In addition, when the radiation value is greater than or equal to a preset radiation threshold related to the user's skin information, the user can be given a sun protection reminder based on the user's own skin characteristics, which can ensure that the sun protection reminder for the user is closer to the user's own situation, thereby improving the accuracy of the sun protection reminders to the user.

[0033] The above steps are described in detail below, as shown below.

[0034] First, the UV index, UV radiation and the radiation value of UV radiation in the embodiments of the present application are explained. Among them, the UV index is an evaluation standard for measuring the degree of possible damage of ultraviolet rays to human skin. The UV index varies from 0 to 15, wherein 0 represents the lowest UV radiation and 15 represents the highest UV radiation. For example, the UV index is usually 0 at night, and the UV index may reach 15 on sunny days in tropical and plateau areas. Ultraviolet radiation refers to the intensity of the UV index in sunlight, which has an important impact on human health. Ultraviolet radiation is divided into different bands, such as long-wave dark spot effect ultraviolet (UVA), outdoor ultraviolet (ultraviolet radiation b, UVB) and short-wave ultraviolet (UVC), etc., among which UVA and UVB have the most significant effects on human skin. The radiation value of ultraviolet radiation refers to the intensity of ultraviolet rays in sunlight. Here, the radiation value of ultraviolet radiation is crucial for taking appropriate protective measures to reduce the damage of ultraviolet rays to the skin.

[0035] Based on this, step 110 is involved. In some embodiments of the present application, before step 110, the embodiment of the present application also includes a process of obtaining the ultraviolet index. Based on this, the moving route includes a target position, wherein the target position is any position in the moving route. The information prompt method may also include steps 1401 to 1402.

[0036] Step 1401, obtaining three-dimensional real-scene map data corresponding to the coordinate information of the target location.

[0037] Exemplarily, if the moving route is from place A to place C via place B, at this time, based on the geographic coordinates A of place A, the three-dimensional real map data A corresponding to place A is obtained from the three-dimensional real map; similarly, based on the geographic coordinates B of place B, the three-dimensional real map data B corresponding to place B is obtained from the three-dimensional real map; and, based on the geographic coordinates C of place C, the three-dimensional real map data C corresponding to place C is obtained from the three-dimensional real map.

[0038] Step 1402, determining the ultraviolet index according to the time period of the target location where the user is located, the weather data corresponding to the target location within the time period, and the three-dimensional real-view map data.

[0039] Exemplarily, the UV index of place A is calculated based on the time period when the user arrives at the target location, such as the time period when the user arrives at place A, such as 10 a.m., the weather data corresponding to the location within the time period, such as place A being sunny at 10 a.m., and the three-dimensional real-life map data, such as data on obstructions in place A, such as trees, buildings, awnings, etc.

[0040] Furthermore, in some embodiments of the present application, the above step 1402 may specifically include step 14021 and step 14022, as shown below.

[0041] Step 14021, constructing illumination simulation data of the location according to the time period of the target location where the user is located, the weather data corresponding to the target location within the time period, and the three-dimensional real-life map data.

[0042] Exemplarily, according to the time period when the user arrives at the target location, such as the time period when the user arrives at place A, such as 10 a.m., the weather data corresponding to the location within the time period, such as place A is sunny at 10 a.m., and the three-dimensional real-life map data, such as the obstructions of place A, such as trees, buildings, awnings, etc., are constructed as data, and the illumination simulation data of location A can include data such as location: place A-time: 10 a.m.-season: autumn-weather: sunny-light irradiation angle: 10°-illuminated area: 10 square-light intensity: 100 lux. Among them, since the illuminated area is positively correlated with the ultraviolet radiation area, the illuminated area here can also be regarded as the ultraviolet radiation area. It should be noted that the illumination simulation data in the embodiment of the present application includes but is not limited to the aforementioned location-time-season-weather-light irradiation angle-illuminated area-light intensity and other data.

[0043] Step 14022, generating a UV index based on the light simulation data.

[0044] For example, if the illumination simulation data includes the illumination area or radiation area of ​​place A, and the radiation value of ultraviolet radiation of place A calculated from the illumination intensity of place A, the ultraviolet index U(t) of place A can be calculated using the following formula (1):

[0045] U(t)=g(L(t),Uv(t)) (1)

[0046] Among them, L(t) is the illumination area or ultraviolet radiation area of ​​the user in place A, Uv(t) is the radiation value of ultraviolet radiation in place A, and g is the mapping relationship between the corresponding sampling time and the ultraviolet radiation suffered by place A. Here, the sampling time can involve the season and the time of the day. In summer, due to the long sunshine time and high intensity, the ultraviolet radiation value is usually higher than that in spring and autumn; in a day, the ultraviolet radiation value around noon is usually higher than that in the morning and afternoon.

[0047] It should be noted that the above-mentioned ultraviolet index is explained by taking the calculation of the ultraviolet index when the user is in place A as an example. In the embodiment of the present application, the ultraviolet index when the user is in place B can also be calculated by the above formula (1). In this case, the illumination area or radiation area of ​​place A and the illumination intensity of place A can be replaced by the illumination area or radiation area of ​​place B and the illumination intensity of place B. Similarly, the ultraviolet index when the user is in place C can be calculated based on the above method, which will not be repeated here.

[0048] Furthermore, in some embodiments, the UV index in the embodiments of the present application may be related to the ozone data corresponding to the location in addition to the location, season, and time. In order to improve the accuracy of determining the UV index of the location, step 14022 in the embodiments of the present application may specifically include:

[0049] Generates a UV index based on light pattern data and location-specific ozone data.

[0050] Exemplarily, the UV index when the user is in place A is calculated in the aforementioned manner, and then, based on the ozone data of place A, the UV index calculated when the user is in place A is adjusted to obtain the final UV index. Here, if the ozone data of place A indicates that the thickness of the ozone layer in place A is greater than or equal to a preset threshold, then the value of the UV index finally generated is lower than the value calculated by formula (1). On the contrary, if the ozone data of place A indicates that the thickness of the ozone layer in place A is less than the preset threshold, then the value of the UV index finally generated is higher than the value calculated by formula (1). As a result, the UV index generated by the illumination mode data and the ozone data of the location is more accurate, which improves the accuracy of the sun protection prompt to the user.

[0051] In some other embodiments of the present application, before step 110, the embodiment of the present application also includes a process of obtaining the exposure time, based on which the moving route includes a starting position and an ending position, and the information prompt method may also include steps 1403 and 1404.

[0052] Step 1403: Determine the distance that the user is exposed to ultraviolet radiation in the process of moving from the starting position to the ending position according to the obstructions in the moving route.

[0053] Exemplarily, by using computer graphics and ray tracing technology, combined with three-dimensional real-life map data of each position in the moving route, the lighting pattern data is obtained through the above-mentioned step 14021. At this time, based on the three-dimensional real-life map data of each position in the moving route, it can be determined that the obstructions in the moving route may be trees, buildings, awnings, etc. In this way, based on the lighting pattern data and obstructions when the user moves to his position, it can be determined whether the user's position is under direct sunlight, or in a shaded or partially obscured area. In this way, based on the moving route and the user walking on this moving route without interference from obstructions, the distance the user is irradiated by ultraviolet rays in the process of moving from the starting position to the ending position of the moving route can be calculated, that is, the distance the user will be exposed to sunlight.

[0054] Step 1404, based on the distance and the user's moving speed, calculate the exposure time of the user to ultraviolet radiation in the moving route. Exemplarily, based on the distance of the user being exposed to ultraviolet radiation in the process of moving from the starting position to the ending position of the moving route and the user's moving speed, calculate the exposure time of the user to ultraviolet radiation in the moving route.

[0055] It should be noted that the movement route in this application can be the route that the user actually takes, or it can be the route that the user is expected to take. When the movement route is the route that the user actually takes, the exposure time can be calculated by the user's actual movement speed. When the movement route is the route that the user is expected to take, such as the navigation route that is expected to be taken, at this time, the movement speed of the user involved above can be the expected movement speed based on the user's habits to calculate the exposure time.

[0056] Next, step 120 is involved. In some embodiments of the present application, a sunburn big data model based on the UV index, exposure duration, the radiation value of the user's UV radiation, and the user's skin information can be constructed to calculate the radiation value of the user's UV radiation during the moving route through the sunburn big data model, and determine whether the calculated radiation value is greater than or equal to a preset radiation threshold determined by the user's skin information, so as to trigger a sun protection reminder to the user based on the determination result. The construction process of the sunburn big data model can take the following steps, as shown below.

[0057] Step 1: Data collection: A large amount of sunburn-related data is collected, including the UV index at different locations, exposure duration, skin information, and the radiation value of the user's UV radiation.

[0058] Step 2: Data preprocessing. The collected sunburn-related data are preprocessed, including data cleaning, outlier removal, feature extraction, etc. At the same time, the sunburn-related data can be labeled, that is, each sunburn-related data is labeled with the user's sunburn degree related to its radiation value.

[0059] Step 3, model construction. Among them, a neural network deep learning model is selected, and the neural network deep learning model is trained through the sunburn related data marked in the above step 2 to learn the relationship between the ultraviolet index, exposure time, user skin information and the user's sunburn degree related to its radiation value, until the preset training conditions are met to obtain a sunburn big data model. Here, it should be noted that the training process of the sunburn big data model in the embodiment of the present application can be carried out on the server side, using a big data processing platform and a machine learning framework to accelerate the training process.

[0060] Step 4: Model deployment. After training is completed, the sunburn big data model is deployed to the server or terminal device to determine the radiation value of the user's ultraviolet radiation at a certain location based on the real-time environmental parameters, and to determine whether the radiation value is greater than or equal to the preset radiation threshold, thereby determining whether the user will be sunburned under the radiation value.

[0061] Step 5: Model optimization and update: According to actual application conditions, user feedback data is continuously collected to optimize and update the model to improve the accuracy of radiation value determination.

[0062] Based on this, step 120 may specifically include:

[0063] The UV index and exposure duration are input into the sunburn big data model to obtain the radiation value of the user's UV radiation during the moving route.

[0064] Based on this, the user's sunburn degree corresponding to the radiation value is obtained according to the association information between the preset radiation value and the preset user's sunburn degree; if the user's sunburn degree indicates that the user will get sunburned, it is determined that the radiation value is greater than or equal to the preset radiation threshold. In this way, sun protection reminders can be given to the user in a timely manner.

[0065] In some other embodiments of the present application, the UV index includes a first UV index when the user moves from a first position to a second position of the moving route and a second UV index when the user moves from a third position to a fourth position of the moving route; the exposure duration includes a first exposure duration corresponding to a first distance from the first position to the second position and a second exposure duration corresponding to a second distance from the third position to the fourth position, where the first position may be a starting position in the moving route, such as place A or place B; if the first position is place A, the second position may be place B. The third position may be a position adjacent to the second position, for example, if the third position is place C, the second position may be place B. The fourth position may be a terminal position in the moving route.

[0066] Based on this, step 120 may specifically include steps 1201 to 1203 .

[0067] Step 1201 , calculating a first radiation value of ultraviolet radiation irradiated to a user in a process of moving from a first position to a second position according to a first ultraviolet index and a first exposure duration.

[0068] Step 1202: Calculate a second radiation value of ultraviolet radiation radiated to the user in the process of moving from the third position to the fourth position according to the second ultraviolet index and the second exposure time.

[0069] Step 1203: Determine the cumulative value of the first radiation value and the second radiation value as the radiation value.

[0070] For example, the radiation value can be calculated by the following formula (2):

[0071]

[0072] Where S is the radiation value, Δt is the exposure time of the user when moving from one position to another, U(t) is the UV index corresponding to the exposure time, t0 is the first exposure time of the user when moving from the first position to the second position, t n is the second exposure time in the process of the user moving from the third position to the fourth position. In this way, the cumulative value of the first radiation value and the second radiation value, that is, the radiation value, can be calculated by the above formula (2).

[0073] In this way, the exposure time of the user to ultraviolet radiation on the moving route can be accumulated, so as to remind the user to protect against the sun, and the accuracy of reminding the user to protect against the sun can be improved.

[0074] In addition, the embodiment of the present application also includes a process involving generating a preset radiation threshold. Based on this, before step 120, the information prompt method may also include steps 1501 to 1503.

[0075] Step 1501: Receive a first input from a user.

[0076] Exemplarily, an interface for inputting the user's skin information is provided in the application program, and the user is allowed to input or select relevant options of the skin information in the interface to obtain the user's skin information.

[0077] It should be noted that the embodiment of the present application can provide an interface for inputting skin information of multiple users, so as to prompt different users whether they need sun protection through one electronic device. Its usage scenario can be a scenario where a user travels with a child or an elderly person whose electronic device cannot perform the sun protection prompting step, so that different sun protection prompts can be provided based on the skin information of different users through one electronic device based on the user's electronic device.

[0078] Step 1502, in response to the first input, obtaining the user's skin information, the skin information including skin color information, skin quality information, and skin sensitivity information.

[0079] The skin color information in the embodiment of the present application may include black skin, yellow-black skin, yellow skin, yellow-white skin and white skin. The skin quality information may include dry skin, oily skin and mixed skin. The skin sensitivity information is used to characterize the ease with which the skin is stimulated by external stimuli. The difficulty of the skin being stimulated by external stimuli can be expressed as not easily showing symptoms such as redness, swelling, itching or rash under light, and the ease of the skin being stimulated by external stimuli can be expressed as easily showing symptoms such as redness, swelling, itching or rash under light.

[0080] Step 1503: Determine a preset radiation threshold corresponding to the user's skin information based on the mapping information of the preset skin information and the radiation threshold.

[0081] Exemplarily, white or yellowish-white skin is more susceptible to sunburn than black skin, and therefore, the preset radiation threshold corresponding to white or yellowish-white skin is lower than the preset radiation threshold for black skin.

[0082] In this way, by providing sun protection tips to the user based on the user's own skin characteristics, it can be ensured that the sun protection tips for the user are closer to the user's own situation, thereby improving the accuracy of the sun protection tips to the user.

[0083] It should be noted that the embodiment of the present application also provides a process for updating the user's skin information and updating the preset radiation threshold. Based on this, the information prompt method can also include steps 1601 to 1603.

[0084] Step 1601: Receive a second input from the user, where the second input is used to update the user's skin information.

[0085] Step 1602: In response to the second input, based on the mapping information of the preset skin information and the radiation threshold, generate an updated radiation threshold corresponding to the updated skin information of the user.

[0086] Step 1603: Replace the preset radiation threshold with the updated radiation threshold.

[0087] For example, the user's skin information may change over time, so an update interface for the user's skin information may be provided in the application program so that the user can update the skin information at any time.

[0088] In this way, the user's latest skin information can be obtained through the user's skin information update interface, which can ensure that the sun protection prompts for the user are closer to the user's current situation, thereby improving the accuracy of sun protection prompts to the user.

[0089] Then, step 130 is involved. In some embodiments of the present application, step 130 may specifically include:

[0090] When the radiation value is greater than or equal to a preset radiation threshold, a prompt interface is displayed to provide the user with a sun protection reminder; wherein the prompt interface includes at least one of the following information: protection measures information corresponding to the radiation value, and estimated skin information of the user after being exposed to ultraviolet radiation when the user passes through the moving route without sun protection.

[0091] Exemplarily, when the radiation value is greater than or equal to the preset radiation threshold, the protective measures information corresponding to the radiation value is displayed to the user, informing the user that the ultraviolet exposure has reached a certain level, reminding the user to pay attention to sun protection, and giving corresponding protective suggestions. The protective measures information corresponding to the radiation value includes but is not limited to wearing sun-protective clothing, wearing a wide-brimmed hat and sunglasses to reduce direct exposure to ultraviolet rays; using sunscreen, choosing sunscreen with a higher sun protection factor (SPF), and reapplying it regularly; adjusting the time of outdoor activities. In this way, the damage of ultraviolet rays to the skin can be effectively reduced.

[0092] This application is an embodiment to enhance the user's sun protection awareness. It can show the user the changes in the user's skin information after being irradiated by ultraviolet rays during the moving route when the user does not protect against the sun by displaying video, audio, text, etc., so as to enhance the user's sun protection. In the embodiment of this application, after reminding the user to pay attention to sun protection, the user can be asked to confirm whether the corresponding protective measures have been taken, and further reminders and suggestions can be made based on the user's feedback. Based on this, after step 130, the information prompt method can also include:

[0093] When the behavior data indicating that the user has taken protective measures is obtained, the sun protection reminders to the user may be stopped.

[0094] Based on this, the information prompt method provided in the embodiment of the present application comprehensively considers the user's exposure time to ultraviolet radiation, the ultraviolet index of the user's location and the user's own skin information, and timely reminds the user to protect against the sun. Especially when the user is not particularly familiar with the environment, it can timely remind the user to take sun protection measures based on the user's exposure time to ultraviolet radiation, the ultraviolet index of the user's location and the user's own skin information, thereby avoiding sunburn and skin lesions among many tourists and business trips.

[0095] The information prompting method provided in the embodiment of the present application can be executed by an information prompting device. In the embodiment of the present application, the information prompting device executing information prompting is taken as an example to illustrate the device of the information prompting method provided in the embodiment of the present application.

[0096] Based on the same inventive concept, the present application also provides an information prompting device. Figure 2 Provide detailed explanation.

[0097] Figure 2 A schematic diagram of the structure of an information prompting device provided in an embodiment of the present application.

[0098] like Figure 2 As shown, the information prompting device 20 can be applied to an electronic device, and the information prompting device 20 can specifically include:

[0099] An acquisition module 201 is used to acquire the UV index corresponding to the moving route and the exposure time of the user on the moving route, where the exposure time is the time the user is exposed to UV radiation;

[0100] A determination module 202, for determining a radiation value of ultraviolet radiation to which the user is exposed during the moving route according to the ultraviolet index and the exposure duration;

[0101] The display module 203 is used to provide sun protection reminders to the user when the radiation value is greater than or equal to a preset radiation threshold, and the preset radiation threshold is related to the user's skin information.

[0102] The information prompting device 20 in the embodiment of the present application is described in detail below, as shown below.

[0103] In some embodiments of the present application, the acquisition module 201 is further used to, when the moving route includes a target location, acquire three-dimensional real-scene map data corresponding to the coordinate information of the target location;

[0104] The information prompting device 20 further includes a construction module for determining the ultraviolet index according to the time period when the user is at the target location, the weather data corresponding to the target location during the time period, and the three-dimensional real-scene map data.

[0105] In some embodiments of the present application, the information prompting device 20 further includes a generating module for generating, when the moving route includes a starting position and an ending position, a distance traveled by the user when being exposed to ultraviolet radiation in the process of moving from the starting position to the ending position according to an obstruction in the moving route;

[0106] The information prompting device 20 also includes a calculation module for determining the exposure time of the user to ultraviolet radiation during the moving route according to the distance of the journey and the moving speed of the user.

[0107] In some embodiments of the present application, the information prompting device 20 further includes a receiving module for receiving a first input from a user;

[0108] The acquisition module 201 is also used to, in response to the first input, acquire the user's skin information, the skin information including skin color information, skin quality information, and skin sensitivity information;

[0109] The information prompting device 20 further includes a generating module for generating a preset radiation threshold value corresponding to the user's skin information based on the association information between the preset skin information and the radiation threshold value.

[0110] In some embodiments of the present application, the display module 203 is specifically used to display a prompt interface when the radiation value is greater than or equal to a preset radiation threshold;

[0111] The prompt interface includes at least one of the following information: protective measures information corresponding to the radiation value, and estimated skin information of the user after being exposed to ultraviolet radiation when the user passes through the moving route without sun protection.

[0112] The information prompting device in the application embodiment can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0113] The information prompting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0114] The device coordination device provided in the embodiment of the present application can achieve Figure 1 The various processes implemented in the information prompt method embodiment shown achieve the same technical effect, and will not be described again here to avoid repetition.

[0115] Based on this, the information prompt device provided in the embodiment of the present application can be used to obtain the UV index corresponding to the moving route and the exposure time of the user to UV radiation on the moving route; determine the radiation value of the user to which the user is exposed to UV radiation on the moving route according to the UV index and the exposure time; and provide a sun protection reminder to the user when the radiation value is greater than or equal to a preset radiation threshold, and the preset radiation threshold is related to the user's skin information. In this way, through the UV index and the exposure time, it is possible to comprehensively consider multiple factors of the user's environment and accurately calculate the radiation value of the user to which the user is exposed to UV radiation on the moving route, so as to timely and accurately remind the user to protect himself from the sun and avoid sunburn. In addition, when the radiation value is greater than or equal to the preset radiation threshold related to the user's skin information, a sun protection reminder can be provided to the user based on the user's own skin characteristics, which can ensure that the sun protection reminder for the user is closer to the user's own situation, thereby improving the accuracy of the sun protection reminder to the user.

[0116] Optional, such as Figure 3 As shown, an embodiment of the present application also provides an electronic device 30, including a processor 301 and a memory 302, wherein the memory 302 stores programs or instructions that can be executed on the processor 301, and when the program or instructions are executed by the processor 301, the various steps of the above-mentioned information prompt method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0117] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0118] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0119] The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410 and other components.

[0120] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0121] Among them, in the embodiment of the present application, the processor 410 is used to obtain the ultraviolet index corresponding to the moving route and the exposure time of the user on the moving route, and the exposure time is the time the user is irradiated by ultraviolet rays. The processor 410 can also be used to determine the radiation value of the ultraviolet radiation of the user in the moving route according to the ultraviolet index and the exposure time. The processor 410 can also be used to provide a sun protection reminder to the user when the radiation value is greater than or equal to a preset radiation threshold, and the preset radiation threshold is related to the user's skin information.

[0122] The electronic device 400 is described in detail below, as shown below.

[0123] In some embodiments of the present application, the processor 410 is further configured to, when the moving route includes a target location, obtain three-dimensional real-view map data corresponding to the coordinate information of the target location;

[0124] The ultraviolet index is determined according to the time period when the user is at the target location, the weather data corresponding to the target location during the time period, and the three-dimensional real-view map data.

[0125] In some embodiments of the present application, the processor 410 is further configured to, when the moving route includes a starting position and an ending position, generate a distance traveled by the user when being irradiated by ultraviolet rays in the process of moving from the starting position to the ending position according to an obstruction in the moving route;

[0126] The duration of exposure of the user to ultraviolet radiation during the moving route is determined based on the distance of the journey and the moving speed of the user.

[0127] In some embodiments of the present application, the user input unit 407 is used to receive a first input from a user;

[0128] The processor 410 is further configured to, in response to the first input, obtain skin information of the user, where the skin information includes skin color information, skin quality information, and skin sensitivity information;

[0129] The processor 410 is further configured to generate a preset radiation threshold corresponding to the user's skin information based on association information between the preset skin information and the radiation threshold.

[0130] In some embodiments of the present application, the display unit 406 is specifically configured to display a prompt interface when the radiation value is greater than or equal to a preset radiation threshold;

[0131] The prompt interface includes at least one of the following information: protective measures information corresponding to the radiation value, and estimated skin information of the user after being exposed to ultraviolet radiation when the user passes through the moving route without sun protection.

[0132] It should be understood that the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of a static image or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 406 may include a display panel, and the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch display. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0133] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 409 can include a volatile memory or a non-volatile memory, or the memory 409 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0134] The processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless display signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 410.

[0135] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned information prompt method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0136] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0137] In addition, an embodiment of the present application further provides a chip, which includes a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information prompt method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0138] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0139] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned information prompt method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0141] In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0143] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An information prompting method, characterized in that: include: Obtaining the ultraviolet index corresponding to the moving route and the exposure time of the user on the moving route, wherein the exposure time is the time the user is exposed to ultraviolet radiation; Determining, according to the UV index and the exposure duration, a radiation value of ultraviolet radiation irradiated to the user in the moving route; When the radiation value is greater than or equal to a preset radiation threshold, a sun protection reminder is given to the user, and the preset radiation threshold is related to the skin information of the user.

2. The method according to claim 1, characterized in that The movement route includes a target location; Before obtaining the UV index corresponding to the moving route and the exposure time of the user on the moving route, the method further includes: Acquire three-dimensional real-scene map data corresponding to the coordinate information of the target location; The ultraviolet index is determined according to a time period when the user is at the target location, weather data corresponding to the target location during the time period, and the three-dimensional real-scene map data.

3. The method according to claim 1, characterized in that The moving route includes a starting position and an ending position; before obtaining the ultraviolet index corresponding to the moving route and the exposure time of the user on the moving route, the method further includes: Determining the distance traveled by the user when being exposed to ultraviolet radiation from the starting position to the ending position according to the obstructions in the moving route; The exposure time of the user to the ultraviolet radiation in the moving route is determined according to the distance of the journey and the moving speed of the user.

4. The method according to claim 1, characterized in that: The method further comprises: receiving a first input from a user; In response to the first input, obtaining skin information of the user, the skin information including skin color information, skin quality information, and skin sensitivity information; Based on the mapping relationship between the preset skin information and the radiation threshold, a preset radiation threshold corresponding to the skin information of the user is determined.

5. The method according to claim 1, characterized in that When the radiation value is greater than or equal to a preset radiation threshold, providing a sun protection reminder to the user includes: When the radiation value is greater than or equal to a preset radiation threshold, a prompt interface is displayed; The prompt interface includes at least one of the following information: protective measures information corresponding to the radiation value, and estimated skin information of the user after being irradiated by ultraviolet rays when the user passes through the moving route without taking sun protection.

6. An information prompting device, characterized in that: include: An acquisition module, used to acquire the ultraviolet index corresponding to the moving route and the exposure time of the user on the moving route, wherein the exposure time is the time the user is exposed to ultraviolet radiation; A determination module, configured to determine a radiation value of ultraviolet radiation irradiated to the user in the moving route according to the ultraviolet index and the exposure duration; The display module is used to provide sun protection reminders to the user when the radiation value is greater than or equal to a preset radiation threshold, and the preset radiation threshold is related to the skin information of the user.

7. The device according to claim 6, characterized in that The acquisition module is further used to acquire the three-dimensional real scene map data corresponding to the coordinate information of the target position when the moving route includes the target position; The determination module is further used to determine the ultraviolet index according to the time period when the user is at the target location, the weather data corresponding to the target location during the time period, and the three-dimensional real-scene map data.

8. The device according to claim 6, characterized in that The determination module is further used to determine, when the moving route includes a starting position and an ending position, a distance that the user is exposed to ultraviolet radiation in the process of moving from the starting position to the ending position according to an obstruction in the moving route; The exposure time of the user to the ultraviolet radiation in the moving route is determined according to the distance of the journey and the moving speed of the user.

9. The device according to claim 6, characterized in that The information prompting device further includes a receiving module for receiving a first input from a user; The acquisition module is further used to, in response to the first input, acquire skin information of the user, the skin information including skin color information, skin quality information, and skin sensitivity information; The information prompting device further includes a generating module for determining a preset radiation threshold corresponding to the skin information of the user based on a mapping relationship between preset skin information and radiation threshold.

10. The device according to claim 6, characterized in that The information prompting device further includes a display module, which is used to display a prompting interface when the radiation value is greater than or equal to a preset radiation threshold; The prompt interface includes at least one of the following information: protective measures information corresponding to the radiation value, and estimated skin information of the user after being irradiated by ultraviolet rays when the user passes through the moving route without taking sun protection.

11. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the information prompt method according to any one of claims 1 to 5 are implemented.