CN110312033B - Electronic device, information pushing method and related product - Google Patents

Electronic device, information pushing method and related product Download PDF

Info

Publication number
CN110312033B
CN110312033B CN201910523824.XA CN201910523824A CN110312033B CN 110312033 B CN110312033 B CN 110312033B CN 201910523824 A CN201910523824 A CN 201910523824A CN 110312033 B CN110312033 B CN 110312033B
Authority
CN
China
Prior art keywords
sunscreen
facial
facial part
sun
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910523824.XA
Other languages
Chinese (zh)
Other versions
CN110312033A (en
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910523824.XA priority Critical patent/CN110312033B/en
Publication of CN110312033A publication Critical patent/CN110312033A/en
Application granted granted Critical
Publication of CN110312033B publication Critical patent/CN110312033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Cosmetics (AREA)

Abstract

The embodiment of the application discloses an electronic device, an information pushing method and a related product, which are applied to the electronic device and comprise the following steps: scanning a plurality of facial parts of a user's face by the substance detection sensor and the color sensor, and acquiring first parameter information of the plurality of facial parts, the first parameter information including sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor; determining a sunscreen quality score for each of the plurality of facial parts based on the first parameter information; pushing a sun protection strategy for each facial part according to the sun protection quality score of each facial part. The embodiment of the application is beneficial to improving the sun-proof effect.

Description

Electronic device, information pushing method and related product
Technical Field
The present application relates to the field of electronic technologies, and in particular, to an electronic device, an information push method, and a related product.
Background
With the widespread application of mobile terminals such as smart phones, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and personalization directions and become indispensable electronic products in user life. At present, a mode that a smart phone prompts a user to use sunscreen cream is not intelligent enough, and after the user has applied the sunscreen cream, it is difficult to accurately judge the effective protection time of the sunscreen cream applied by the user and when the user needs to apply the sunscreen cream again.
Disclosure of Invention
The embodiment of the application provides an electronic device, an information pushing method and a related product, and is beneficial to reminding a user of smearing sun cream again in time.
In a first aspect, an embodiment of the present application provides an information pushing method, which is applied to an electronic device, where the electronic device includes a substance detection sensor and a color sensor, and the method includes:
scanning a plurality of facial parts of a user's face by the substance detection sensor and the color sensor, and acquiring first parameter information of the plurality of facial parts, the first parameter information including sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor;
determining a sunscreen quality score for each of the plurality of facial parts based on the first parameter information;
pushing a sun protection strategy for each facial part according to the sun protection quality score of each facial part.
In a second aspect, embodiments of the present application provide an electronic device, including a processor, a substance detection sensor, a color sensor, and a display, the substance detection sensor, the color sensor, and the display being respectively connected to the processor, wherein,
the substance detection sensor and the color sensor for scanning a plurality of reference foods to detect a first set of data for each of the reference foods;
the processor for determining a quality score for each of the reference foods based on the first set of data; and means for pushing, by the display, at least one target food of a plurality of the reference foods according to the quality score of each of the reference foods.
In a third aspect, an embodiment of the present application provides an information pushing apparatus applied to an electronic apparatus, where the electronic apparatus includes a substance detection sensor and a color sensor, and the information pushing apparatus includes an obtaining module, a determining module, and a pushing module,
the acquiring module is used for scanning a plurality of facial parts of the face of a user through the substance detecting sensor and the color sensor and acquiring first parameter information of the plurality of facial parts, wherein the first parameter information comprises the sunscreen content of each facial part in the plurality of facial parts detected through the substance detecting sensor and the color information of each facial part detected through the color sensor;
the determining module is configured to determine a sunscreen quality score for each of the plurality of facial parts according to the first parameter information;
the pushing module is used for pushing the sun protection strategy aiming at each facial part according to the sun protection quality score of each facial part.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the program includes instructions for executing the steps of any of the methods in the first aspect of the embodiment of the present application.
In a fifth aspect, this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods of the first aspect of this application.
In a sixth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic diagram of a positional relationship among a substance detection sensor, a color sensor, and a camera according to an embodiment of the present disclosure;
fig. 1C is a schematic view of a positional relationship among another substance detection sensor, a color sensor, and a camera provided in the embodiment of the present application;
fig. 2A is a schematic flowchart of an information pushing method according to an embodiment of the present application;
FIG. 2B is a schematic diagram of a substance detecting sensor or a color sensor provided in an embodiment of the present application for detecting a substance content;
FIG. 2C is a graph illustrating an example of an infrared spectrum acquired by a substance detection sensor as provided by an embodiment of the present application;
FIG. 2D is a diagram illustrating an example of a spectrum obtained by a color sensor according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another information pushing method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another information pushing method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a block diagram illustrating functional modules of an information pushing apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth, having wireless communication capabilities. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present invention, where the electronic device 100 includes: a housing 110, a display 120 disposed on the housing 110, and a main board 130 disposed in the housing 110, wherein the main board 130 is provided with a processor 140 and a memory 150, as shown in fig. 1B, the electronic device is further provided with a substance detection sensor 160, a color sensor 170, a camera 180, etc., the substance detection sensor 160, the color sensor 170, and the camera 180 are connected to the processor 140, the processor 140 is connected to the display 120, the electronic device 100 further includes a radio frequency system 190 as shown in fig. 1A, the radio frequency system 190 includes a transmitter 191, a receiver 192, and a signal processor 193, wherein,
the substance detection sensor 160 and the color sensor 170 for scanning a plurality of facial parts of a user's face and acquiring first parameter information of the plurality of facial parts, the first parameter information including sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor;
the processor 140 is configured to determine a sunscreen quality score for each of the plurality of facial parts according to the first parameter information; and for pushing a sunscreen protection strategy for said each facial part through said display 120 according to said each facial part sunscreen quality score.
The display 120 includes a display driving circuit, a display screen, and a touch panel, wherein the display driving circuit is configured to control the display screen to display content according to display data and display parameters (e.g., brightness, color, saturation, etc.) of a picture, the touch panel is configured to detect a touch operation, and the display screen is an organic light emitting diode display screen OLED.
The camera 180 may be a front camera of the electronic device 100 or a rear camera of the electronic device 100, however, no matter whether the camera 170 is a front camera or a rear camera, the substance detection sensor 160 and the color sensor 170 are both disposed close to the camera 180, for example, as shown in fig. 1B, when the camera 180 is a rear dual camera, the substance detection sensor 160 is disposed in the middle of the two cameras, and the color sensor 170 is disposed on the right side of the two cameras, or, as shown in fig. 1C, when the camera 180 is a rear single camera, the substance detection sensor 160 is disposed above the camera 180, and the color sensor 170 is disposed below the camera 180, and the like, which is not limited uniquely herein.
The substance detection sensor 160 may detect a plurality of substances, such as moisture, sugar, blood oxygen, fat, etc., and different substances have different absorption capacities for infrared spectra, so a plurality of first channels are integrated in the substance detection sensor 160, and when the substance is detected, infrared light is emitted through an infrared LED lamp in the substance detection sensor 160, and then, a lighting device in the substance detection sensor 160 collects infrared light of different wavelengths reflected back by irradiating different substances in each channel, and transmits data of the collected infrared light to the processor 140, so that the processor 140 draws an infrared spectrum, and performs big data analysis on the infrared spectrum, thereby determining substance components.
The color sensor 170 may detect colors of any object, skin, food, and the like, the color sensor 170 includes a light source device and a lighting device, the light source device may be a flash lamp carried by the electronic device 100, or may be a light emitting device integrated in the color sensor 170, which is not limited herein, the color sensor is also provided with a plurality of second channels, each second channel has a layer of filter, the filter is used to allow only light signals of a wavelength band corresponding to each second channel to pass through, the wavelength bands corresponding to any two second channels are different from each other, and the wavelength band corresponding to each second channel is adapted to a wavelength range of one color, when detecting the color of an object, the light source device in the color sensor 170 emits white light to illuminate the object, and then the lighting device in the color sensor 170 collects reflected light in each channel after illuminating the object, and transmits the data of the collected emission light to the processor 140, causes the processor 140 to map the energy spectrum, and analyzes the energy spectrum to determine the composition of the article.
The size of the main board 130 may be any size and shape that can be accommodated by the electronic device 100, and is not limited herein.
The processor 140 includes an application processor and a baseband processor, the processor 140 is a control center of the electronic device 100, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by running or executing software programs and/or modules stored in the memory 150 and calling data stored in the memory 150, thereby performing overall monitoring of the electronic device 100. The application processor mainly processes an operating system, a user interface, application programs and the like, and the baseband processor mainly processes wireless communication. It will be appreciated that the baseband processor described above may not be integrated into the processor.
The memory 150 may be used for storing software programs and modules, and the processor 140 executes various functional applications and data processing of the electronic device 100 by operating the software programs and modules stored in the memory 150. The memory 150 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 150 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance detection sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
In one possible example, in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, said processor 140 is specifically configured to: determining the sunburn degree of each facial part according to the color information and the temperature information of each facial part; and determining the sun protection quality score of each facial part according to the sun damage degree of each facial part.
In one possible example, the first parameter information further includes temperature information of the each facial part detected by the substance detection sensor; in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, said processor 140 is specifically configured to: determining the sunburn degree of each facial part according to the color information and the temperature information of each facial part; and determining the sun protection quality score of each facial part according to the sun damage degree of each facial part.
In one possible example, in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, said processor 140 is specifically configured to: determining a consumption speed score and a sunburn degree score of each facial part according to the first parameter information; the system is used for acquiring a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score; and for calculating the sun protection quality score based on the consumption rate score, the sunburn degree score, the first weight, and the second weight.
In one possible example, in said pushing a sun protection policy for said each facial part according to said sun protection quality score for said each facial part, said processor 140 is specifically configured to: determining the smearing amount of the sunscreen cream of each facial part according to the color information of each facial part, so that the skin color of each facial part smeared with the sunscreen cream is uniform according to the smearing amount; the sun cream coating frequency of each part is determined according to the sun cream quality score of each part; and a sunscreen protection strategy for pushing each facial part, the sunscreen protection strategy comprising a sunburn sunscreen application amount and a sunburn sunscreen application frequency.
In one possible example, the processor 140 is specifically configured to: when detecting that the sunscreen quality score of at least one facial part is lower than a first preset threshold value, recording the protection time length of the sunscreen quality score of the at least one facial part lower than the first preset threshold value to obtain at least one protection time length; and for determining a sunscreen reminder time for the at least one site based on the at least one protection duration; and the push message is used for outputting a push message for prompting the user to supplement the sunscreen cream at the sunscreen reminding time.
In one possible example, the processor 140 is specifically configured to: detecting, by the substance detection sensor, ultraviolet intensity and second parameter information of the plurality of facial parts when it is detected that the user is in a seaside scene; the target face part with the seawater humidity larger than a preset threshold value in the plurality of face parts is determined according to the second parameter information; the sun cream consumption amount of the target face part by the seawater is determined according to the seawater content of the target face part; and means for determining a sunscreen protection strategy for the target facial area based on the ultraviolet intensity and the sunscreen consumption of the target facial area; and for pushing a sunscreen protection strategy against the target facial part.
Referring to fig. 2A, fig. 2A is a schematic flowchart of an information pushing method according to an embodiment of the present disclosure, applied to the electronic device shown in fig. 1A-1C, where the electronic device includes a substance detection sensor and a color sensor. As shown in the figure, the information push method includes:
s201, an electronic device scans a plurality of facial parts of the face of a user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial parts, wherein the first parameter information comprises sunscreen content information of each facial part in the plurality of facial parts detected by the substance detection sensor and color information of each facial part detected by the color sensor.
The user's face may be divided into a plurality of parts, such as a forehead part, a cheek part, a nose part, a chin part, and ears, and the plurality of parts may include all parts of the user's face, or a plurality of parts preset by the user and requiring sunscreen measures. The sunscreen content information of each facial part can be acquired through the substance detection sensor, and the color information of each facial part can be acquired through the color sensor.
The specific implementation process of the substance detection sensor and the color sensor scanning to acquire the first parameter information with reference to each facial part may include processes shown in fig. 2B-2D, first, as shown in fig. 2B, each facial part is scanned by using the substance detection sensor and the color sensor in the electronic device, the substance detection sensor emits infrared light to irradiate each facial part, the color sensor emits a white light source to scan each facial part and respectively collect reflected light, then, spectral diagrams as shown in fig. 2C and fig. 2D are respectively drawn according to the reflected light of each facial part acquired by the substance detection sensor and the color sensor, and finally, the first parameter information of each facial part is analyzed according to the two spectral diagrams.
The specific implementation manner of analyzing the sunscreen content information in the first parameter information of each facial part according to the infrared spectrogram shown in fig. 2C may be: a, B, C show the infrared spectrum absorption curves obtained by the electronic device scanning different face parts, for example, a shows the infrared spectrum absorption curve obtained by scanning forehead, B shows the infrared spectrum absorption curve obtained by scanning cheek, and C shows the infrared spectrum absorption curve obtained by scanning chin, wherein the substance detecting sensor integrates N different channels between 750nm and 1100nm, each channel emits infrared light with different wavelength, then the infrared spectrum chart shown in fig. 2C can be drawn according to the infrared light collected by each channel, then the wave band where the absorption peak appears is determined, the absorption peak appears in different wave band represents different substance, the database stores the first mapping relation set between the substance type and the wave band, for example, the absorption peaks of the a curve, B curve, C curve appear in the first wave band and the second wave band respectively, determining that the absorption peaks appearing in the first wave band indicate that the forehead, the cheek and the chin all contain a first substance, such as moisture, and the absorption peaks appearing in the second wave band indicate that the forehead, the cheek and the chin all contain a second substance, such as sunscreen cream, and the peaks of the absorption peaks of the A curve, the B curve and the C curve in the first wave band and the second wave band are different, so that the content of the first substance and the second substance in the forehead, the cheek and the chin are different, storing a second mapping relation set of the peak values of the absorption peaks of the different substances and the content of the substances in the database, and finally querying a plurality of mapping relations corresponding to the first substance in the second mapping relation set according to the peak values of the absorption peaks of the first substance in the A curve, the B curve and the C curve to respectively determine the content of the first substance in the A curve, the B curve and the C curve, similarly, a plurality of mapping relations corresponding to the second substances in the second mapping relation set are inquired according to the peak values of the absorption peaks of the second substances in the A curve, the B curve and the C curve, and the content of the second substances in the A curve, the B curve and the C curve is respectively determined, namely the sunscreen cream content information of each face part is determined.
The specific implementation manner of analyzing the color information in the first parameter information of each facial part according to the spectrogram shown in fig. 2D may be: the color sensor integrates N different channels between the wavelength 350nm and 700nm, for example, as shown in fig. 2D, curve D is a spectrum obtained by scanning the cheek with the color sensor, curve E is a spectrum obtained by scanning the chin with the color sensor, the cheek is dark red, the chin is light red, when the white light source is irradiated to the cheek, light of other wavelengths is almost absorbed and cannot be reflected, i.e. the color sensor cannot receive the energy of the reflected light, and light in the third wavelength band corresponding to the deep red color is reflected and absorbed in the fourth wavelength band in the color sensor, that is, only the third band corresponding to the deep red color on the spectrogram has a waveform, and similarly, the spectral curve E obtained when the color sensor scans the chin only has a waveform corresponding to the fourth band corresponding to the color, that is, the electronic device can determine different colors of food according to different bands having waveforms on the spectrogram.
S202, the electronic device determines a sunscreen quality score of each facial part in the plurality of facial parts according to the first parameter information.
After the user applies the sunscreen cream, the sun protection effect of each face part is different after the sunscreen cream is applied due to the fact that the amount of the sunscreen cream applied to each face part is different, the degree of exposure of each face part to the sun is different, the skin is different, and the degree of sweating is different, and the sun protection quality score of each face part can be determined according to the first parameter information of each face part, and how the sun protection effect of each face part can be reflected through the sun protection quality score.
S203, the electronic device pushes a sun protection strategy for each facial part according to the sun protection quality score of each facial part.
If the sunscreen quality scores of all facial parts are different or the difference is large, different sunscreen measures need to be carried out on all the parts, so that the best sunscreen effect can be achieved on all the parts, and the situation that the face of a user is locally sunburned or suntan is avoided.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
In one possible example, the determining a sunscreen quality score for each of the plurality of facial parts according to the first parameter information includes: determining the smearing time of the sunscreen cream; determining the consumption speed of the sunscreen cream of each facial part according to the smearing time of the sunscreen cream and the sunscreen cream content information of each facial part; and determining the sun protection quality score of each facial part according to the sun protection cream consumption speed of each facial part.
The user can record the moment of applying the sunscreen cream after applying the sunscreen cream, so that the electronic device can record the application time of the sunscreen cream, the sunscreen cream consumption speed of each facial part can be determined according to the application time of the sunscreen cream and the sunscreen cream content of each facial part, the sunscreen cream content can include the thickness of the sunscreen cream of a certain facial part, under the condition that the user uniformly applies the sunscreen cream, the initial content of the sunscreen cream of each facial part can be considered to be the same, when the sunscreen cream content of a certain facial part is lower, the sunscreen cream consumption speed of the facial part is indicated to be higher, the skin quality, the sun exposure degree and the sweating of each part can influence the sunscreen cream content, for example, when the sunscreen cream consumption speed of the cheeks is detected to be higher than the sunscreen cream consumption speed of the forehead, the sunscreen quality score of the cheeks can be determined to be lower than the sunscreen quality score of the forehead, because the cheek sunblock is consumed more quickly, less sunscreen remains to provide sunscreen protection to the cheek.
As can be seen, in this example, since the first parameter information includes sunscreen information of each facial part acquired by the electronic device through the substance detection sensor, the sunscreen consumption speed of each facial part can be determined after the smearing time of the sunscreen is collected, so as to determine the sunscreen quality score of each facial part, which is beneficial to reflecting the sunscreen consumption degree of the facial part through the sunscreen quality score to remind the user of timely supplementing the sunscreen.
In one possible example, the first parameter information further includes temperature information of the each facial part detected by the substance detection sensor; the determining a sunscreen quality score for each of the plurality of facial parts according to the first parameter information comprises: determining the sunburn degree of each facial part according to the color information and the temperature information of each facial part; and determining the sun protection quality score of each facial part according to the sun damage degree of each facial part.
The sunscreen cream can effectively resist the damage of ultraviolet rays to the skin, and under the condition that the sunscreen cream is not used, if the sunscreen cream is used in the sun for a long time, the skin can gradually turn into light red, and if the reddening degree is deepened, the skin can be sunburned. Generally, the higher the temperature of the facial part is, the deeper the sunburn is, or the redder the color of the facial part is, the deeper the sunburn is, but the higher the temperature may be due to other reasons, such as the temperature of the cheek part is high when the user rubs the face, and the reddish color may be due to other reasons, such as the reddish skin of the facial part itself or the reddish due to acne, so to determine the sunburn degree of the facial part more accurately, the sunburn degree of each facial part may be determined by combining the temperature information of each facial part acquired by the substance detection sensor and the color information of each facial part acquired by the color sensor, and further determine the sunscreen quality score of each facial part. The deeper the sunburn level of a facial region, the lower the sunscreen quality score for that facial region.
As can be seen, in this example, since the first parameter information includes the temperature information of each facial part acquired by the electronic device through the substance detection sensor and the color information of each facial part detected through the color sensor, the sunburn degree of each facial part can be determined, and then the sunscreen quality score of each facial part is determined, which is beneficial to reflect the sunburn degree of the facial part through the sunscreen quality score to remind the user of timely supplementing sunscreen.
In one possible example, the determining a sunscreen quality score for each of the plurality of facial parts according to the first parameter information includes: determining a sun cream consumption speed score and a sunburn degree score of each facial part according to the first parameter information; acquiring a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score; calculating the sun protection quality score according to the consumption rate score, the sunburn degree score, the first weight and the second weight.
Wherein, according to the first parameter information, the sun cream consumption speed score and the sunburn degree score of each facial part can be determined, and then a first weight assigned to the sun cream consumption speed score and a second weight assigned to the sunburn degree score are obtained, so that the sun protection quality score is calculated according to the consumption speed score, the sunburn degree score, the first weight and the second weight, and the sun protection quality score is lower when the consumption speed score and/or the sunburn degree score is higher.
As can be seen, in this example, the suntan quality score is calculated by combining the consumption rate score, the sunburn degree score, the first weight, and the second weight of the facial region, and the consumption rate of the sunscreen cream is estimated in consideration of the sunburn degree of the facial region, so that the suntan quality score can be calculated more accurately, and therefore, it is advantageous to obtain a suntan protection policy for a certain facial region according to the suntan quality score.
In one possible example, the pushing of the sunscreen protection strategy for each facial part according to the sunscreen quality score of each facial part comprises determining a sunscreen cream smearing amount of each facial part according to the color information of each facial part, so that the skin color of each facial part after sunscreen cream is smeared according to the smearing amount is uniform; determining the sun-screening and sun-screening cream smearing frequency of each facial part according to the sun-screening quality score of each facial part; pushing a sunscreen protection strategy for each facial part, wherein the sunscreen protection strategy comprises the sunscreen application amount and the sunscreen application frequency.
The amount of the sunscreen cream applied to each facial part can be determined according to the color information of each facial part, for example, a part with a black and red color can be coated with a little sunscreen cream, and a part with a white color can be coated with a little sunscreen cream, so that the skin color of the whole face of a user can be uniform after each facial part is coated with the sunscreen cream.
The sun cream is smeared at different frequencies aiming at each facial part due to different sun-proof quality scores of each facial part, when the sun-proof quality score of a certain facial part is lower, the sun cream can be smeared frequently, and when the sun-proof quality score of a certain facial part is higher, the smearing frequency can be reduced, so that the sun cream is saved under the condition of achieving a better sun-proof effect.
It can be seen that, in this example, can push different sun-protection strategies to the user to every facial part, sun-protection strategy includes that the sun-block of every facial part is paintd volume and is paintd the frequency to can indicate the user when paining the sun-block, to different facial parts, can differentiate the sun-block of painting, thereby be that face wholly reaches better sun-block effect.
In one possible example, when it is detected that the sun protection quality score of at least one facial part is lower than a first preset threshold value, recording the sun protection duration when the sun protection quality score of the at least one facial part is lower than the first preset threshold value, and obtaining at least one sun protection duration; determining a sunscreen reminder time for the at least one facial part according to the at least one sunscreen protection duration; and outputting a push message for prompting the user to supplement the sunscreen cream at the sunscreen reminding time.
When the sunscreen quality score of the facial part is detected to be lower than the first preset threshold, it indicates that the user needs to supplement sunscreen cream to the part, but the sunscreen quality score of each facial part is reminded once when the sunscreen quality score of each facial part is lower than the first preset threshold, and the reminding is too frequent, so that the user can be reminded when at least one facial part, for example, when the sunscreen quality scores of two facial parts are detected to be lower than the first preset threshold.
The method includes recording that at least one facial part sunscreen quality score is lower than a first preset threshold to obtain a protection duration, and obtaining at least one protection duration, for example, after sunscreen cream is applied, the sunscreen quality score is lower than the first preset threshold after 2 hours and 30 minutes of the forehead, and the sunscreen quality score is lower than the first preset threshold after 2 hours and 2 hours of the cheek, the sunscreen reminding time for the forehead and the cheek can be determined according to the sunscreen protection duration, for example, the sunscreen reminding time is 2 hours and 10 minutes, and when sunscreen cream is applied and 2 hours and 10 minutes are detected, a push message for prompting a user to supplement the sunscreen cream is output.
It can be seen that, in this example, the sunscreen protection duration is determined for at least one facial part of the face of the user, and the sunscreen reminding time for the at least one facial part may be determined instead of performing one sunscreen reminding after it is detected that the sunscreen quality score of each facial part is lower than the first preset threshold, so that the user experience is improved.
In one possible example, upon detecting that the user is in a seaside scene, detecting, by the substance detection sensor, ultraviolet intensity and second parameter information of the plurality of facial parts; determining a target face part with seawater humidity larger than a preset threshold value in the plurality of face parts according to the second parameter information; determining the consumption of sun cream of the target face part by seawater according to the seawater content of the target face part; determining a sunscreen protection strategy for the target facial part according to the ultraviolet intensity and the sunscreen consumption of the target facial part; pushing a sunscreen protection strategy for the target facial part.
When a user is detected to be in a seaside scene, the sun is generally large at seaside, if the face is wetted by seawater, the sun cream can be quickly consumed and shed off, the damage of sunlight to the skin mainly comes from ultraviolet A (UVA) and ultraviolet B (UVB) in ultraviolet rays, the UVA belongs to long waves and acts on the deep layer of the skin, the UVA is slow in action and can cause one-time blackening, the UVB belongs to medium waves and acts on the deep layer of the skin, the effect is fast, skin keratinocytes can be excited, blood vessels can be relaxed, the blood flow is increased, the skin can be reddened at the initial stage, and then the skin is slowly browned, so that the skin is redder when the UVB is more exposed to the sun, and the skin is darker when the.
The ultraviolet intensity is detected through the substance detection sensor, wherein the ultraviolet intensity can be UVB intensity, second parameter information of a plurality of facial parts is obtained at the same time, the second parameter information is used for determining a target facial part of the plurality of facial parts, wherein the seawater humidity is greater than a preset threshold value, so that the consumption of the seawater on the sunscreen cream of the target facial part can be determined according to the seawater content of the target facial part, and a sunscreen protection strategy for the target facial part is determined according to the outward intensity and the sunscreen cream consumption of the target facial part, so that the target facial part is protected from sun.
Therefore, in this example, when it is detected that the user is in a seaside scene, a sun protection strategy applicable to the target face part can be obtained in a targeted manner by combining the ultraviolet intensity of the current scene and the sun protection cream consumption of the target face part under the influence of seawater, so that the sun protection effectiveness is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of an information pushing method provided in an embodiment of the present application, and is applied to the electronic device shown in fig. 1A-1C, where the electronic device includes a substance detection sensor, a color sensor, and a camera, and the camera is disposed near the substance detection sensor and the color sensor, as shown in the figure, the method includes:
s301, an electronic device scans a plurality of facial parts of a user' S face through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial parts, the first parameter information including sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor, and color information of each of the facial parts detected by the color sensor.
S302, the electronic device determines a sun cream consumption speed score and a sunburn degree score of each facial part according to the first parameter information.
And S303, the electronic device acquires a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score.
S304, the electronic device calculates the sun protection quality score according to the consumption speed score, the sunburn degree score, the first weight and the second weight.
S305, the electronic device pushes a sun protection strategy for each facial part according to the sun protection quality score of each facial part.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
In addition, the sun protection quality score is calculated by combining the consumption speed score, the sunburn degree score, the first weight and the second weight of the facial part, the consumption speed of the sunscreen cream is estimated by considering the sunburn degree of the facial part, and the sun protection quality score can be calculated more accurately, so that the sun protection strategy for a certain facial part can be obtained more accurately according to the sun protection quality score.
Referring to fig. 4, fig. 4 is a schematic flow chart of an information pushing method provided in an embodiment of the present application, and the method is applied to the electronic device shown in fig. 1A-1C, where the electronic device includes a substance detection sensor, a color sensor, and a camera, and the camera is disposed near the substance detection sensor and the color sensor. As shown in the figure, the information push method includes:
s401, an electronic device scans a plurality of facial parts of a user' S face through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial parts, wherein the first parameter information includes sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor.
S402, the electronic device determines a sun cream consumption speed score and a sunburn degree score of each facial part according to the first parameter information.
And S403, the electronic device acquires a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score.
S404, the electronic device calculates the sun protection quality score according to the consumption speed score, the sunburn degree score, the first weight and the second weight.
S405, the electronic device determines the smearing amount of the sunscreen cream of each facial part according to the color information of each facial part, so that the skin color of each facial part smeared with the sunscreen cream according to the smearing amount is uniform.
S406, the electronic device determines the sun-block and sun-cream smearing frequency of each facial part according to the sun-block quality score of each facial part.
S407, the electronic device pushes a sun protection strategy of each facial part, wherein the sun protection strategy comprises the sun cream smearing amount and the sun cream smearing frequency.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
In addition, the sun protection quality score is calculated by combining the consumption speed score, the sunburn degree score, the first weight and the second weight of the facial part, the consumption speed of the sunscreen cream is estimated by considering the sunburn degree of the facial part, and the sun protection quality score can be calculated more accurately, so that the sun protection strategy for a certain facial part can be obtained more accurately according to the sun protection quality score.
In addition, can be to the different sun-proof protection strategy of user propelling movement to every facial position, sun-proof protection strategy includes that the sun-proof cream of every facial position paints volume and paints the frequency to can indicate the user when painting sun-proof cream, to different facial positions, can the differentiation paint sun-proof cream, thereby be that face wholly reaches better sun-proof effect.
In accordance with the embodiments shown in fig. 2A, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application, where the electronic device 500 includes a substance detection sensor and a color sensor, as shown, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 540, where the one or more programs 540 are stored in the memory and configured to be executed by the processor, and the program 540 includes instructions for performing the following steps;
scanning a plurality of facial parts of a user's face by the substance detection sensor and the color sensor, and acquiring first parameter information of the plurality of facial parts, the first parameter information including sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor;
determining a sunscreen quality score for each of the plurality of facial parts based on the first parameter information;
pushing a sun protection strategy for each facial part according to the sun protection quality score of each facial part.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
In one possible example, in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, instructions in said program are specifically configured to: determining the smearing time of the sunscreen cream; determining the consumption speed of the sunscreen cream of each facial part according to the smearing time of the sunscreen cream and the sunscreen cream content information of each facial part; and determining the sun protection quality score of each facial part according to the sun protection cream consumption speed of each facial part.
In one possible example, the first parameter information further includes temperature information of the each facial part detected by the substance detection sensor; in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, instructions in said program are specifically configured to: determining the sunburn degree of each facial part according to the color information and the temperature information of each facial part; and determining the sun protection quality score of each facial part according to the sun damage degree of each facial part.
In one possible example, in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, instructions in said program are specifically configured to: determining a sun cream consumption speed score and a sunburn degree score of each facial part according to the first parameter information; acquiring a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score; calculating the sun protection quality score according to the consumption rate score, the sunburn degree score, the first weight and the second weight.
In one possible example, in terms of said pushing a sunscreen protection policy for said each facial part according to said sunscreen quality score for said each facial part, the instructions in said program are specifically configured to perform the following operations: determining the smearing amount of the sunscreen cream of each facial part according to the color information of each facial part, so that the skin color of each facial part smeared with the sunscreen cream is uniform according to the smearing amount; determining the sun-screening and sun-screening cream smearing frequency of each facial part according to the sun-screening quality score of each facial part; pushing a sunscreen protection strategy for each facial part, wherein the sunscreen protection strategy comprises the sunscreen application amount and the sunscreen application frequency.
In one possible example, the instructions in the program are specifically for performing the following: when detecting that the sun protection quality score of at least one facial part is lower than a first preset threshold value, recording the sun protection time length when the sun protection quality score of at least one facial part is lower than the first preset threshold value to obtain at least one sun protection time length; determining a sunscreen reminder time for the at least one facial part according to the at least one sunscreen protection duration; and outputting a push message for prompting the user to supplement the sunscreen cream at the sunscreen reminding time.
In one possible example, the instructions in the program are specifically for performing the following: detecting, by the substance detection sensor, ultraviolet intensity and second parameter information of the plurality of facial parts when it is detected that the user is in a seaside scene; determining a target face part with seawater humidity larger than a preset threshold value in the plurality of face parts according to the second parameter information; determining the consumption of sun cream of the target face part by seawater according to the seawater content of the target face part; determining a sunscreen protection strategy for the target facial part according to the ultraviolet intensity and the sunscreen consumption of the target facial part; pushing a sunscreen protection strategy for the target facial part.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art will readily appreciate that the present application is capable of being implemented in hardware or a combination of hardware and computer software for carrying out the various example modules and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram of functional modules of an information pushing apparatus 600 according to an embodiment of the present application. The information pushing device 600 is applied to an electronic device, the electronic device comprises a substance detection sensor and a color sensor, the information pushing device 600 comprises an obtaining module 601, a determining module 602 and a pushing module 603, wherein,
the acquiring module 601 is configured to scan a plurality of facial parts of a face of a user through the substance detection sensor and the color sensor, and acquire first parameter information of the plurality of facial parts, where the first parameter information includes a sunscreen content of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor;
the determining module 602 is configured to determine a sunscreen quality score for each of the plurality of facial parts according to the first parameter information;
the pushing module 603 is configured to push a sunscreen protection policy for each facial part according to the sunscreen quality score of each facial part.
It can be seen that, in the embodiment of the present application, the electronic device firstly scans a plurality of facial regions of the face of the user through the substance detection sensor and the color sensor, and acquires first parameter information of the plurality of facial regions, where the first parameter information includes sunscreen content information of each of the plurality of facial regions detected by the substance sensor and color information of each of the facial regions detected by the color sensor, secondly determines a sunscreen quality score of each of the plurality of facial regions according to the first parameter information, and finally pushes a sunscreen protection policy for each of the facial regions according to the sunscreen quality score of each of the facial regions. Therefore, the electronic device obtains the first parameter information of the plurality of parts of the face of the user through the substance detection sensor and the color sensor respectively, so that the sun protection quality score of each part of the face can be determined according to the first parameter information, a sun protection strategy aiming at each part of the face can be pushed to the user, the sun protection effect can be improved, and the face sunburn can be avoided.
In one possible example, in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, said determining module 602 is specifically configured to: determining the smearing time of the sunscreen cream; the sun cream consumption speed of each facial part is determined according to the smearing time of the sun cream and the sun cream content information of each facial part; and determining a sunscreen quality score for each facial part according to the sunscreen consumption speed of each facial part.
In one possible example, the first parameter information further includes temperature information of the each facial part detected by the substance detection sensor; in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, said determining module 602 is specifically configured to: determining the sunburn degree of each facial part according to the color information and the temperature information of each facial part; and determining the sun protection quality score of each facial part according to the sun damage degree of each facial part.
In one possible example, in said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information, said determining module 602 is specifically configured to: determining a sun cream consumption speed score and a sunburn degree score of each facial part according to the first parameter information; the system is used for acquiring a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score; and for calculating the sun protection quality score based on the consumption rate score, the sunburn degree score, the first weight, and the second weight.
In one possible example, in terms of said pushing a sun protection policy for said each facial part according to said sun protection quality score for said each facial part, said pushing module 603 is specifically configured to: determining the smearing amount of the sunscreen cream of each facial part according to the color information of each facial part, so that the skin color of each facial part smeared with the sunscreen cream is uniform according to the smearing amount; and determining the sun-screening and sun-screening cream smearing frequency of each facial part according to the sun-screening quality score of each facial part; and a sunscreen protection strategy for pushing each facial part, the sunscreen protection strategy comprising the sunscreen application amount and the sunscreen application frequency.
In one possible example, the pushing module 603 is specifically configured to: when detecting that the sun protection quality score of at least one facial part is lower than a first preset threshold value, recording the sun protection time length when the sun protection quality score of at least one facial part is lower than the first preset threshold value to obtain at least one sun protection time length; and for determining a sun protection reminder time for the at least one facial part as a function of the at least one sun protection duration; and the push message is used for outputting a push message for prompting the user to supplement the sunscreen cream at the sunscreen reminding time.
In one possible example, the pushing module 603 is specifically configured to: detecting, by the substance detection sensor, ultraviolet intensity and second parameter information of the plurality of facial parts when it is detected that the user is in a seaside scene; the target face part with the seawater humidity larger than a preset threshold value in the plurality of face parts is determined according to the second parameter information; the sun cream consumption amount of the target face part by the seawater is determined according to the seawater content of the target face part; and means for determining a sunscreen protection strategy for the target facial area based on the ultraviolet intensity and the sunscreen consumption of the target facial area; and for pushing a sunscreen protection strategy against the target facial part.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some interfaces, and may be in an electrical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. An information pushing method applied to an electronic device including a substance detection sensor and a color sensor, the method comprising:
scanning a plurality of facial parts of a user's face by the substance detection sensor and the color sensor, and acquiring first parameter information of the plurality of facial parts, the first parameter information including sunscreen content information of each of the plurality of facial parts detected by the substance detection sensor and color information of each of the facial parts detected by the color sensor;
determining a sunscreen quality score for each of the plurality of facial parts based on the first parameter information;
determining the smearing amount of the sunscreen cream of each facial part according to the color information of each facial part, so that the skin color of each facial part smeared with the sunscreen cream is uniform according to the smearing amount;
determining the sun-screening and sun-screening cream smearing frequency of each facial part according to the sun-screening quality score of each facial part;
pushing a sunscreen protection strategy for each facial part, wherein the sunscreen protection strategy comprises the sunscreen application amount and the sunscreen application frequency.
2. The method of claim 1, wherein determining a sunscreen quality score for each of the plurality of facial parts based on the first parameter information comprises:
determining the smearing time of the sunscreen cream;
determining the consumption speed of the sunscreen cream of each facial part according to the smearing time of the sunscreen cream and the sunscreen cream content information of each facial part;
and determining the sun protection quality score of each facial part according to the sun protection cream consumption speed of each facial part.
3. The method according to claim 1, wherein the first parameter information further includes temperature information of the each facial part detected by the substance detection sensor; the determining a sunscreen quality score for each of the plurality of facial parts according to the first parameter information comprises:
determining the sunburn degree of each facial part according to the color information and the temperature information of each facial part;
and determining the sun protection quality score of each facial part according to the sun damage degree of each facial part.
4. The method according to any one of claims 1-3, wherein said determining a sunscreen quality score for each of said plurality of facial parts based on said first parameter information comprises:
determining a sun cream consumption speed score and a sunburn degree score of each facial part according to the first parameter information;
acquiring a first weight corresponding to the consumption speed score and a second weight corresponding to the sunburn degree score;
calculating the sun protection quality score according to the consumption rate score, the sunburn degree score, the first weight and the second weight.
5. The method of claim 1, further comprising:
when detecting that the sun protection quality score of at least one facial part is lower than a first preset threshold value, recording the sun protection time length when the sun protection quality score of at least one facial part is lower than the first preset threshold value to obtain at least one sun protection time length;
determining a sunscreen reminder time for the at least one facial part according to the at least one sunscreen protection duration;
and outputting a push message for prompting the user to supplement the sunscreen cream at the sunscreen reminding time.
6. The method of claim 5, further comprising:
detecting, by the substance detection sensor, ultraviolet intensity and second parameter information of the plurality of facial parts when it is detected that the user is in a seaside scene;
determining a target face part with seawater humidity larger than a preset threshold value in the plurality of face parts according to the second parameter information;
determining the consumption of sun cream of the target face part by seawater according to the seawater content of the target face part;
determining a sunscreen protection strategy for the target facial part according to the ultraviolet intensity and the sunscreen consumption of the target facial part;
pushing a sunscreen protection strategy for the target facial part.
7. An information pushing device is applied to an electronic device, the electronic device comprises a substance detection sensor and a color sensor, the information pushing device comprises an acquisition module, a determination module and a pushing module, wherein,
the acquiring module is used for scanning a plurality of facial parts of the face of a user through the substance detecting sensor and the color sensor and acquiring first parameter information of the plurality of facial parts, wherein the first parameter information comprises the sunscreen content of each facial part in the plurality of facial parts detected through the substance detecting sensor and the color information of each facial part detected through the color sensor;
the determining module is configured to determine a sunscreen quality score for each of the plurality of facial parts according to the first parameter information;
the pushing module is used for determining the smearing amount of the sunscreen cream of each facial part according to the color information of each facial part, so that the skin color of each facial part smeared with the sunscreen cream according to the smearing amount is uniform; determining the sun-screening and sun-screening cream smearing frequency of each facial part according to the sun-screening quality score of each facial part; pushing a sunscreen protection strategy for each facial part, wherein the sunscreen protection strategy comprises the sunscreen application amount and the sunscreen application frequency.
8. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN201910523824.XA 2019-06-17 2019-06-17 Electronic device, information pushing method and related product Active CN110312033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910523824.XA CN110312033B (en) 2019-06-17 2019-06-17 Electronic device, information pushing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910523824.XA CN110312033B (en) 2019-06-17 2019-06-17 Electronic device, information pushing method and related product

Publications (2)

Publication Number Publication Date
CN110312033A CN110312033A (en) 2019-10-08
CN110312033B true CN110312033B (en) 2021-02-02

Family

ID=68076433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910523824.XA Active CN110312033B (en) 2019-06-17 2019-06-17 Electronic device, information pushing method and related product

Country Status (1)

Country Link
CN (1) CN110312033B (en)

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9383255B2 (en) * 2013-12-19 2016-07-05 Jie Lian UV dosimetry system for safe UV exposure
US9816857B2 (en) * 2014-05-22 2017-11-14 Omnitek Partners Llc Methods and devices for usage of sunscreen lotions
CN105455781A (en) * 2015-11-17 2016-04-06 努比亚技术有限公司 Information processing method and electronic device
CN105554700B (en) * 2015-12-11 2019-04-30 小米科技有限责任公司 Sun-proof policy recommendation method and device
US20170249436A1 (en) * 2016-02-25 2017-08-31 L'oreal Ultraviolet based detection and analysis
CN109219389B (en) * 2016-04-22 2022-07-12 菲特斯津公司 System and method for skin analysis using an electronic device
US10814148B2 (en) * 2016-07-12 2020-10-27 Sunborn Outdoors, LLC Method for automatically selecting and providing sunscreen for users
CN107660876B (en) * 2016-07-28 2023-11-03 京东方科技集团股份有限公司 Portable sun cream using equipment and reminding method for sun cream use
CN206403753U (en) * 2016-10-27 2017-08-15 上海奇集信息科技有限公司 Skin information harvester
CN106657614A (en) * 2016-11-28 2017-05-10 深圳市金立通信设备有限公司 Sunscreen prompt method and terminal
CN106773628B (en) * 2016-12-27 2020-08-18 杭州联络互动信息科技股份有限公司 Protection reminding method and device for intelligent portable equipment
CN106618331A (en) * 2017-03-16 2017-05-10 深圳可思美科技有限公司 Intelligent face cleanser and intelligent face cleansing method
CN107655567A (en) * 2017-09-19 2018-02-02 广东小天才科技有限公司 A kind of ultraviolet method for early warning, device, wearable device and storage medium
CN108399364A (en) * 2018-01-29 2018-08-14 杭州美界科技有限公司 A kind of face state appraisal procedure of major-minor camera setting
CN108494945B (en) * 2018-02-08 2021-01-08 维沃移动通信有限公司 Sun-proof reminding method and mobile terminal
CN108760685B (en) * 2018-05-29 2020-09-11 北京优彩科技有限公司 Trace check out test set and APP are paintd to sun cream

Also Published As

Publication number Publication date
CN110312033A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN104586364B (en) A kind of skin quality detection system and method
CN109655414B (en) Electronic equipment, information pushing method and related product
KR102512358B1 (en) Portable electronic device, accessory and operation method thereof
KR20160120738A (en) Internet connected dermatological devices and systems
US11253191B2 (en) Skin detection device
US8605284B2 (en) Measurement device and measurement method
KR20210049396A (en) Mask Type Skin Beauty Care Apparatus Using Light And Method for Controlling the Same
US20230201622A1 (en) System and method for determining skin contact for a personal care device
CN109618045A (en) Electronic device, information-pushing method and Related product
EP4076641B1 (en) Treatment device and method
CN106955088A (en) A kind of skin detection instrument, detecting system and detection method
EP2106738B1 (en) Signal processing apparatus, signal processing method and computer readable medium
CN110742596A (en) Electronic equipment for photographing and biological information measurement
CN110312033B (en) Electronic device, information pushing method and related product
CN107174333B (en) Skin unhairing method and skin unhairing equipment
JP2013031502A (en) Information processing apparatus, information processing method, program, and information processing system
CN110292358B (en) Electronic device, information pushing method and related product
CN109269643A (en) Spectrum demodulating system and method based on mobile device screen light source
US20190282102A1 (en) Electronic device
US11503145B2 (en) Smartphone companion device material sensing and improved phone performance
CN211986691U (en) Depilating instrument utilizing spectrum identification detection
CN115700841A (en) Detection method and electronic equipment
US20140374569A1 (en) Frequency visualization apparatus and method
IL297360A (en) Personal care device configured to perform a light-based hair removal
CN111557644A (en) Skin care method and device based on intelligent mirror equipment and skin care equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant