CN108388600B - Cosmetic recommendation method and related device - Google Patents
Cosmetic recommendation method and related device Download PDFInfo
- Publication number
- CN108388600B CN108388600B CN201810104359.1A CN201810104359A CN108388600B CN 108388600 B CN108388600 B CN 108388600B CN 201810104359 A CN201810104359 A CN 201810104359A CN 108388600 B CN108388600 B CN 108388600B
- Authority
- CN
- China
- Prior art keywords
- cosmetic
- target
- user
- information
- cosmetics
- 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.)
- Expired - Fee Related
Links
- 239000002537 cosmetic Substances 0.000 title claims abstract description 595
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000000694 effects Effects 0.000 claims description 49
- 238000013473 artificial intelligence Methods 0.000 claims description 35
- 230000015654 memory Effects 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 14
- 239000013074 reference sample Substances 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 12
- 230000036651 mood Effects 0.000 claims description 7
- 239000000523 sample Substances 0.000 claims description 3
- 238000004140 cleaning Methods 0.000 description 10
- 235000016709 nutrition Nutrition 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000003796 beauty Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000035764 nutrition Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000037072 sun protection Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses cosmetics recommendation method and related device, which are applied to an electronic device, wherein the electronic device comprises a controller, an AI chip and a display screen, wherein: the controller is configured to acquire first information, where the first information includes at least one of: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up; the AI chip is used for determining a first cosmetic combination according to the first information and the recommendation model; the display screen is used for displaying the cosmetics in the first cosmetic combination. By adopting the method and the device, the accuracy of cosmetic recommendation can be improved.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and a related apparatus for recommending cosmetics.
Background
With the rapid development of the intelligent terminal technology, the intelligent terminal (such as a smart phone) is more and more popular, and now becomes an indispensable electronic product in the daily life of the user. Currently, an Artificial Intelligence (AI) chip has been applied to a part of intelligent terminals. In practical use, people can better complete work and enjoy life by means of the AI chip in the intelligent terminal.
Disclosure of Invention
The embodiment of the application provides a cosmetic recommending method and a related device, which are used for improving the accuracy of cosmetic recommendation.
In a first aspect, an embodiment of the present application provides an electronic device, including a controller, an AI chip, and a display screen, wherein:
the controller is configured to acquire first information, where the first information includes at least one of: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up;
the AI chip is used for determining a first cosmetic combination according to the first information and the recommendation model;
the display screen is used for displaying the cosmetics in the first cosmetic combination.
In a second aspect, an embodiment of the present application provides a cosmetic recommendation method applied to an electronic device including an AI chip and a display screen, the method including:
acquiring first information, wherein the first information comprises at least one of the following: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up;
determining a first cosmetic combination according to the first information and a recommendation model through the AI chip;
and displaying the cosmetics in the first cosmetic combination through the display screen.
In a third aspect, an embodiment of the present application provides a cosmetic recommendation device applied to an electronic device, where the cosmetic recommendation device includes an obtaining unit, a determining unit, and a display unit, where:
the acquiring unit is configured to acquire first information, where the first information includes at least one of: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up;
the determination unit is used for determining a first cosmetic combination according to the first information and a recommendation model;
the display unit is used for displaying the cosmetics in the first cosmetic combination.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, 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 processor, and the programs include instructions for executing steps of any of the methods in the second aspect of the embodiment of the present application.
In a fifth aspect, the present 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 makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present 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 described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, the electronic device inputs the acquired first information into the recommendation model to obtain a cosmetic combination to be recommended, and then recommends a cosmetic to the user based on the cosmetic combination to be recommended, because the first information includes a first scene where the user needs to make up, weather corresponding to the first scene, and a skin state of the user when the user needs to make up, which are all information related to the user needing to make up, the cosmetic combination to be recommended obtained based on the first information is more suitable for the user to a certain extent, and further improves accuracy of cosmetic recommendation, and further improves user experience.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required to be used in the embodiments of the present application or the background art will be described below.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2A is a schematic flowchart of a cosmetic recommendation method according to an embodiment of the present application;
FIG. 2B is a schematic illustration of an interface for cosmetic recommendation provided in an embodiment of the present application;
FIG. 2C is a schematic view of another cosmetic recommendation interface provided in embodiments of the present application;
FIG. 3 is a schematic flow chart of another method for cosmetic recommendation provided in embodiments of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a cosmetic recommending device according to an embodiment of the present application.
Detailed description of the invention
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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 following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different elements and not for describing a particular sequential 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. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes: the case 10, the circuit board 20, the battery 30, the cover plate 40, the AI chip 50, the display screen 60, the transceiver 65, and the controller 70 that controls the AI chip 50, the display screen 60, and the transceiver 65; the cover plate 40 is provided on the case 10, the AI chip 50, the transceiver 65, and the controller 70 are provided on the circuit board 20, and the display screen 60 is connected with the controller 70, wherein:
a controller 70 for obtaining first information, the first information comprising at least one of: the method comprises the following steps of A, setting a first scene where a user needs to make up and a skin state when the user needs to make up;
a transceiver 65, configured to obtain weather corresponding to the first scene in the first information;
the AI chip 50 is used for determining a first cosmetic combination according to the first information and the recommendation model;
and the display screen 60 is used for displaying the cosmetics in the first cosmetic combination.
Wherein, the electronic device 100 further includes at least one functional component 80, the controller 70 is connected to the at least one functional component 80, and the at least one functional component 80 includes at least one of the following: the device comprises a loudspeaker, a microphone, a front camera, a face recognition device, a proximity sensor and an ambient light sensor.
The display screen 60 includes a touch screen and a display screen, and the display screen includes an organic light emitting diode display screen OLED.
The controller 70 may include a processor, which is a control center of the electronic device, and a memory, which is connected to various parts of the entire electronic device by various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, thereby integrally monitoring the electronic device. Optionally, the processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor may not be integrated into the processor.
The memory may be used for storing software programs and modules, and the processor executes various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory. The memory 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 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 application, the electronic device inputs the acquired first information into the recommendation model to obtain a cosmetic combination to be recommended, and then recommends a cosmetic to the user based on the cosmetic combination to be recommended, because the first information includes a first scene where the user needs to make up, weather corresponding to the first scene, and a skin state of the user when the user needs to make up, which are all information related to the user needing to make up, the cosmetic combination to be recommended obtained based on the first information is more suitable for the user to a certain extent, and further improves accuracy of cosmetic recommendation, and further improves user experience.
In an embodiment of the application, the AI chip 50 is further configured to obtain second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event, where the second information includes at least one of: a second scene at the makeup event, weather corresponding to the second scene, a skin condition of the user at the makeup event, and a second cosmetic combination for the user to make up at the makeup event; determining satisfaction of each makeup event according to the feedback information of each makeup event; taking the second information corresponding to the target makeup event as reference sample data, wherein the satisfaction degree of the target makeup event is greater than or equal to a first threshold value; and constructing the recommendation model according to the benchmark sample data.
In one embodiment of the present application, the first cosmetic combination includes at least one first cosmetic,
the controller 70 is further configured to obtain attribute information of each first cosmetic, where the attribute information of the first cosmetic includes a score of the first cosmetic and a sales amount of the first cosmetic; acquiring a search record of a user for cosmetics in a preset time period, and determining a second cosmetic which is searched by the user for the most times according to the search record; acquiring attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises the grade of the second cosmetic and the sales volume of the second cosmetic; determining at least one first target cosmetic from the first cosmetic combination, the difference between the score of the first target cosmetic and the score of the second cosmetic being less than or equal to a second threshold, the difference between the sales of the first target cosmetic and the sales of the second cosmetic being less than or equal to a third threshold;
in displaying the cosmetics in the first cosmetic combination, the display screen 60 is specifically configured to: displaying at least one of the first target cosmetics.
In an embodiment of the present application, the first cosmetic composition includes at least one third cosmetic, and the electronic device records at least one fourth cosmetic currently owned by the user,
the controller 70 is further configured to obtain attribute information of each of the third cosmetics, where the attribute information of the third cosmetics includes a category of the third cosmetics and a brand of the third cosmetics; acquiring attribute information of each fourth cosmetic, wherein the attribute information of the fourth cosmetic comprises a category of the fourth cosmetic and a brand of the fourth cosmetic; determining at least one second target cosmetic from the first cosmetic combination, the second target cosmetic having a category that is the same as the category of the fourth cosmetic, the second target cosmetic having a brand that is the same as the brand of the fourth cosmetic;
in displaying the cosmetics in the first cosmetic combination, the display screen 60 is specifically configured to: displaying at least one of the second target cosmetics.
In one embodiment of the present application,
the controller 70 is further configured to, in a case where a click operation for a third target cosmetic is detected, acquire third information of the third target cosmetic, where the third information includes a use step, an effect map, and a purchase address of the third target cosmetic, and the third target cosmetic is one of at least one first target cosmetic or at least one second target cosmetic;
a display screen 60 for displaying the third information of the third target cosmetic.
It should be noted that, the specific implementation process of the present embodiment may refer to the specific implementation process described in the following method, and is not described here.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a method for recommending cosmetics, according to an embodiment of the present application, applied to an electronic device shown in fig. 1, the method including:
step 201: the controller acquires first information, wherein the first information comprises at least one of the following: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up.
The first scene where the user needs to make up is a destination to be traveled by the user in a journey closest to the current moment. Specifically, the electronic device obtains the memo events to be completed in the memo, analyzes the memo events to be completed, and determines the destination corresponding to the memo event to be completed closest to the current moment. Or the electronic device acquires the unfinished orders in the taxi appointment application, analyzes the unfinished orders, and determines the destination corresponding to the unfinished order closest to the current moment.
The weather corresponding to the first scene comprises temperature, humidity, weather (sunny, cloudy, rainy and snowy), wind power, wind direction and air quality. Specifically, the electronic device obtains weather after the current moment through the transceiver, and determines weather corresponding to the moment when the user reaches the first scene.
The skin state when the user needs to make up is the skin moisture condition of the user when the electronic device acquires the first information. The moisture condition of the skin comprises four conditions of serious water shortage, water balance and water saturation. Specifically, the electronic device determines the skin state of the user when makeup is required by a skin state measuring device provided in the electronic device.
Further, the first information also includes a skin color of the user. The user inputs own skin color information into the electronic device before acquiring the first information.
Further, the first information also comprises the mood of the user when the user needs to make up; specifically, in the process of acquiring the first information, the electronic device acquires the speed and volume of the user; determining the mood of the user as tension under the condition of the first speech speed and the first volume; under the conditions of a second speech rate and a second volume, determining that the mood of the user is excited, wherein the second speech rate is greater than the first speech rate, and the second volume is greater than the first volume; in the case of the third speech rate and the third volume, the mood of the user is determined to be angry, and the third volume is greater than the second volume.
Step 202: the controller determines a first cosmetic combination according to the first information and the recommendation model through the AI chip.
The first information is input data of the recommendation model.
In an embodiment of the application, before the obtaining the first information, the method further includes:
the AI chip acquires second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event, wherein the second information comprises at least one of the following information: a second scene at the makeup event, weather corresponding to the second scene, a skin condition of the user at the makeup event, and a second cosmetic combination for the user to make up at the makeup event;
the AI chip determines the satisfaction degree of each makeup event according to the feedback information of each makeup event;
the AI chip takes the second information corresponding to the target makeup event as reference sample data, and the satisfaction degree of the target makeup event is greater than or equal to a first threshold value;
and the AI chip constructs the recommendation model according to the reference sample data.
Wherein the feedback information comprises a cleaning effect, a skin care effect, a nutritional effect, a cosmetic effect and a special effect; the cleansing effect, the skin care effect, the nutritional effect, the beauty effect and the special effect are all expressed by the number of the five stars, each of which represents 20%, or all expressed by percentage.
Wherein the second cosmetic composition comprises cosmetics corresponding to at least one category.
Specifically, the specific implementation manner of the AI chip determining the satisfaction of each makeup event according to the feedback information of each makeup event includes: the AI chip determines the average of the cleansing effect, skin care effect, nutritional effect, cosmetic effect, and special effect of the makeup event a, and takes the average as the satisfaction of the makeup event a. Or the AI chip determines the satisfaction degree of the makeup event A according to the cleaning effect, the skin care effect, the nutrition effect, the beauty effect, the special effect and the satisfaction degree formula of the makeup event A.
Wherein, the satisfaction formula is as follows: p ═ P1×a1+p2×a2+p3×a3+p4×a4+p5×a5;
Wherein P is the satisfaction of the cosmetic event, P1For cleaning effect, a1Weight corresponding to cleaning effect, p2For skin care effects, a2Weight corresponding to skin care effect, p3For a nutritional effect, a3Weight corresponding to nutritional effect, p4For cosmetic effects, a4Weight corresponding to cosmetic effect, p5For special effects, a5The weight corresponding to the special effect.
Wherein, a1、a2、a3、a4、a5Is 1, a1、a2、a3、a4、a5Can be set by user, and can also be electricThe sub-device is arranged.
For example, the AI chip obtains 80% of the cleaning effect, 90% of the skin care effect, 75% of the nutritional effect, 85% of the cosmetic effect, and 70% of the special effect of the makeup event a, the AI chip determines 80% of the average value of the cleaning effect, the skin care effect, the nutritional effect, the cosmetic effect, and the special effect, and the AI chip determines 80% of the satisfaction of the makeup event a.
Wherein the first threshold value characterizes a minimum value required for a user to be satisfied with a certain cosmetic event.
Specifically, the recommendation model is a pre-trained model, and the specific implementation manner of the AI chip for constructing the recommendation model according to the reference sample data includes: inputting the standard sample data into an initial recommendation model, executing N layers of forward operation to obtain an output result, obtaining a gradient corresponding to the output result according to the output result, executing N layers of reverse operation on the gradient corresponding to the output result to obtain a weight gradient of each layer, updating the weight of each layer according to the weight gradient of each layer, obtaining a final weight through multiple iterative computations, and obtaining the recommendation model by taking the final weight as a convolution kernel of the initial recommendation model.
Specifically, the method for composing the first scene where the user needs to make up, the weather corresponding to the first scene, and the skin state of the user when the user needs to make up as the input data specifically includes: extracting the quantity of preset input data of the recommendation model, namely CI H W, wherein H is a height value, W is a width value, and CI is a depth value;
the method comprises the steps of extracting the information quantity of a first scene where a user needs to make up, the information quantity of weather corresponding to the first scene is b, the information quantity of skin state where the user needs to make up is c, comparing whether the sum of a, b and c is larger than CI H W, if the sum of a, b and c is larger than or equal to CI H W, not adding the information quantity of the first scene where the user needs to make up, the weather corresponding to the first scene and the information quantity of the skin state where the user needs to make up, and if a + b + c is smaller than CI H W, adding the information quantity of the first scene where the user needs to make up, the weather corresponding to the first scene and the skin state where the user needs to make up according to a zero insertion adding strategy, so that added a ' + b ' + c ' + H W is CI H W. It should be noted that the addition strategy according to the zero insertion is only an example, and is not limited to other addition strategies.
Specifically, the following describes a process of recommending model operations, most models are calculated by using a neural network, although there are multiple layers of operations, basic operations are convolution operations, and the following further describes the convolution operations of the neural network as an example.
Assuming that the input data is three-dimensional data CI × W, H × 16, W × 7, and CI × 3, if the convolution kernel of the recommended model is CO × CI × 3, the kernel of the convolution kernel is 3 × 3, and since the input data and the convolution kernel cannot be directly convolved, the operation is performed by cutting the convolution kernel into one kernel [ 3 ], and then performing convolution operation with the input data CI × W using the kernel [ 3 ], that is, moving the input data over the input data with the kernel [ 3 ], and obtaining an output result CO (H-2) (W-2).
Step 203: the controller displays the cosmetics in the first cosmetic combination through the display screen.
Further, under the condition that the number of the cosmetics of the first cosmetic combination is larger than the first set number, the controller displays the cosmetics of the first set number through the display screen, and hides the cosmetics of the second set number at the lowest part of the display screen; the controller displays a second set number of cosmetics through the display screen when a pull-down operation for the display screen is detected. The first set number is the maximum number of the cosmetics which can be displayed on the display screen, and the second set number is the difference value between the number of the cosmetics combined by the first cosmetics and the first set number.
For example, assuming that the first set number is 7, the number of cosmetics in the first cosmetic combination is 5, and 5 cosmetics are respectively cosmetic a, cosmetic B, cosmetic C, cosmetic D, and cosmetic E, the controller sequentially displays cosmetic a, cosmetic B, cosmetic C, cosmetic D, and cosmetic E through the display screen, as shown in fig. 2B.
It can be seen that, in the embodiment of the application, the electronic device inputs the acquired first information into the recommendation model to obtain a cosmetic combination to be recommended, and then recommends a cosmetic to the user based on the cosmetic combination to be recommended, because the first information includes a first scene where the user needs to make up, weather corresponding to the first scene, and a skin state of the user when the user needs to make up, which are all information related to the user needing to make up, the cosmetic combination to be recommended obtained based on the first information is more suitable for the user to a certain extent, and further improves accuracy of cosmetic recommendation, and further improves user experience.
In an embodiment of the present application, the first cosmetic combination includes at least one first cosmetic, and the method further includes:
the controller acquires attribute information of each first cosmetic, wherein the attribute information of the first cosmetic comprises a score of the first cosmetic and a sales amount of the first cosmetic;
the method comprises the steps that a controller obtains search records of a user for cosmetics in a preset time period, and determines a second cosmetic which is searched by the user for the most times according to the search records;
the method comprises the steps that a controller acquires attribute information of a second cosmetic, wherein the attribute information of the second cosmetic comprises a score of the second cosmetic and a sales amount of the second cosmetic;
the controller determines at least one first target cosmetic from the first cosmetic combination, the difference between the score of the first target cosmetic and the score of the second cosmetic being less than or equal to a second threshold, and the difference between the sales of the first target cosmetic and the sales of the second cosmetic being less than or equal to a third threshold;
the controller displays the cosmetics in the first cosmetic combination through the display screen, including:
the controller displays at least one of the first target cosmetics through the display screen.
The end time node of the preset time period is the current system time, and the duration of the preset time period may be, for example, 1 day, 2 days, 3 days, 5 days, 1 week, or other values.
The second threshold may be, for example, 0.1, 0.2, 0.3, 0.4, or another value.
The third threshold may be, for example, 60, 80, 100, 150, or another value.
For example, assuming that the second threshold value is 0.2, the third threshold value is 60, the first cosmetic combination includes 5 cosmetics, the score and the sales of cosmetic a are 4.1 and 5642, respectively, the score and the sales of cosmetic B are 4.6 and 2957, the score and the sales of cosmetic C are 4.4 and 3176, respectively, the score and the sales of cosmetic D are 4.3 and 8291, respectively, the score and the sales of cosmetic E are 4.5 and 4528, respectively, the electronic device determines 5 cosmetics most frequently searched for in the last week of the user, the score and the sales of cosmetic F are 4.2 and 5672, the score and the sales of cosmetic G are 4.1 and 4567, respectively, the score and the sales of cosmetic H are 4.5 and 3142, respectively, the score and the sales of cosmetic I are 4.8 and 5678, the score and the sales of cosmetic J are 4.5 and the sales are 4550, respectively, the electronic device determines the target cosmetics a, cosmetic C and the sales of cosmetic C, the electronic device displays the cosmetic a, the cosmetic C, and the cosmetic E through the display screen.
It can be seen that, in the embodiment of the application, the electronic device determines at least one first target cosmetic from the first cosmetic combination, and displays the first target cosmetic through the display screen, and since the difference between the score and the sales of the first target cosmetic and the score and the sales of the cosmetic with the largest recent search frequency of the user both satisfy the set value, the first target cosmetic is the cosmetic that the user wants to purchase, and it is described that the first target cosmetic is the cosmetic suitable for the user to a certain extent, so that the accuracy of cosmetic recommendation is improved, and the user experience is further improved.
In an embodiment of the present application, the first cosmetic composition includes at least one third cosmetic, and the electronic device records at least one fourth cosmetic currently owned by the user, and the method further includes:
the controller acquires attribute information of each third cosmetic, wherein the attribute information of the third cosmetic comprises a category of the third cosmetic and a brand of the third cosmetic;
the controller acquires attribute information of each fourth cosmetic, wherein the attribute information of the fourth cosmetic comprises a category of the fourth cosmetic and a brand of the fourth cosmetic;
the controller determines at least one second target cosmetic from the first cosmetic combination, the second target cosmetic having a same category as the fourth cosmetic, the second target cosmetic having a same brand as the fourth cosmetic;
the controller displays the cosmetics in the first cosmetic combination through the display screen, including:
the controller displays at least one of the second target cosmetics through the display screen.
For example, assuming that the first cosmetic combination includes 4 cosmetics, the category and brand of cosmetic a are cleaning class and brand one, respectively, the category and brand of cosmetic B are skin care class and brand two, the category and brand of cosmetic C are beauty class and brand three, respectively, the category and brand of cosmetic D are sun protection class and brand four, respectively, the electronic device determines that the user currently owns 3 cosmetics, the category and brand of cosmetic E are cleaning class and brand one, the category and brand four of cosmetic F are skin care class and brand four, the category and brand of cosmetic G are beauty class and brand three, respectively, the electronic device determines that the third target cosmetics are cosmetic a and cosmetic C, and the electronic device displays cosmetic a and cosmetic C through the display screen.
It can be seen that, in this application embodiment, the electronic device determines at least one second target cosmetic from the first cosmetic combination, and displays the second target cosmetic through the display screen, and because the category and the brand of the second target cosmetic are the same as those of the cosmetics owned by the user, the second target cosmetic is a cosmetic suitable for the user, and then the accuracy of cosmetic recommendation is improved, and the user experience is further improved.
In an embodiment of the present application, after the controller displays the cosmetics in the first cosmetic composition through the display screen, the method further includes:
in a case where a click operation for a third target cosmetic is detected, the controller acquires third information of the third target cosmetic, the third information including a use step, an effect map, and a purchase address of the third target cosmetic, the third target cosmetic being one of at least one of the first target cosmetics or at least one of the second target cosmetics;
the controller displays the third information of the third target cosmetic through the display screen.
For example, in the case where a click operation for cosmetic a is detected, the controller acquires the use step, the effect map, and the purchase address of cosmetic a, and the controller displays the use step, the effect map, and the purchase address of cosmetic a through the display screen, as shown in fig. 2C.
Further, in a case where a click operation for a third target cosmetic is detected, the controller acquires a face area of the user;
the controller determines the amount of the third target cosmetic according to the area of the face of the user and the standard amount of the third target cosmetic;
the controller displays the usage amount of the third target cosmetic through the display screen.
The face area of the user refers to the face area of the user entered in the electronic device in a third time period, the termination time node of the third time period is the current system time, and the duration of the third time period may be 2 days, 3 days, 4 days, 5 days, 1 week or other values.
The standard dosage of the third target cosmetic is the dosage of the third target cosmetic per square centimeter, and the standard dosage of the third target cosmetic can be customized by a user or customized by an electronic device.
In an embodiment of the application, at least one fifth cosmetic product is present in the first cosmetic combination, the method further comprising:
the controller acquires attribute information of each of the fifth cosmetics, the attribute information of the fifth cosmetics including a category of the fifth cosmetics and a brand of the fifth cosmetics;
the controller acquires a first search record of a user for cosmetics in a first time period, and determines a sixth cosmetic which is searched by the user for the most times according to the first search record;
the controller acquires attribute information of the sixth cosmetic, the attribute information of the sixth cosmetic including a category of the sixth cosmetic and a brand of the sixth cosmetic;
the controller determines at least one third target cosmetic from the first cosmetic combination, the third target cosmetic having a same category as the sixth cosmetic, the third target cosmetic having a same brand as the sixth cosmetic;
the controller displays the cosmetics in the first cosmetic combination through the display screen, including:
the controller displays at least one of the third target cosmetics through the display screen.
The end time node of the first time interval is the current system time, and the duration of the first time interval may be, for example, 2 days, 3 days, 4 days, 6 days, 1 week, or other values.
For example, suppose that the first cosmetic combination includes 3 cosmetics, the category and brand of cosmetic a are cleaning category and brand one, respectively, the category and brand of cosmetic B are skin-care category and brand two, the category and brand of cosmetic C are beauty category and brand three, respectively, the electronic device determines the 3 cosmetics most frequently searched by the user in the last ten days, the category and brand of cosmetic D are cleaning category and brand one, the category and brand of cosmetic E are skin-care category and brand four, the category and brand of cosmetic F are beauty category and brand three, respectively, the electronic device determines the third target cosmetics to be cosmetic a and cosmetic C, and the electronic device displays cosmetic a and cosmetic C through the display screen.
It can be seen that, in the embodiment of the application, the electronic device determines at least one third target cosmetic from the first cosmetic combination, and displays the third target cosmetic through the display screen, and since the category and the brand of the third target cosmetic are the same as those of the cosmetic with the largest recent search frequency of the user, the third target cosmetic is a cosmetic that the user tends to purchase, which indicates to a certain extent that the third target cosmetic is a cosmetic suitable for the user, so that the accuracy of cosmetic recommendation is improved, and the user experience is further improved.
It should be noted that the examples described in this application are for illustration only and should not be construed as limiting.
The embodiment of the present application further provides another more detailed flow of a cosmetic recommendation method, as shown in fig. 3, applied to an electronic device shown in fig. 1, where the method includes: :
step 301: the AI chip acquires second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event.
Step 302: and the AI chip determines the satisfaction degree of each makeup event according to the feedback information of each makeup event.
Step 303: the AI chip takes the second information corresponding to the target makeup event as reference sample data, and the satisfaction degree of the target makeup event is greater than or equal to a first threshold value;
step 304: and the AI chip constructs the recommendation model according to the reference sample data.
Step 305: the controller acquires first information, wherein the first information comprises at least one of the following: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up.
Step 306: the controller determines a first cosmetic combination according to the first information and the recommendation model through the AI chip.
Step 307: in a case where at least one first cosmetic is included in the first cosmetic combination, the controller acquires attribute information of each of the first cosmetics, the attribute information of the first cosmetics including a score of the first cosmetic and a sales amount of the first cosmetic.
Step 308: the controller acquires search records of a user for cosmetics in a preset time period, and determines a second cosmetic which is searched by the user for the most times according to the search records.
Step 309: the controller acquires attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises a score of the second cosmetic and a sales amount of the second cosmetic.
Step 310: the controller determines at least one first target cosmetic from the first cosmetic combination, the first target cosmetic having a score that is the same as the score of the second cosmetic, and the first target cosmetic having a sales volume that is the same as the sales volume of the second cosmetic.
Step 311: the controller displays at least one of the first target cosmetics through the display screen.
Step 312: in a case where the first cosmetic combination includes at least one third cosmetic, and at least one fourth cosmetic currently owned by the user is recorded in the electronic device, the controller acquires attribute information of each of the third cosmetics, the attribute information of the third cosmetics including a category of the third cosmetic and a brand of the third cosmetic.
Step 313: the controller acquires attribute information of each of the fourth cosmetics, the attribute information of the fourth cosmetics including a category of the fourth cosmetics and a brand of the fourth cosmetics.
Step 314: the controller determines at least one second target cosmetic from the first cosmetic combination, the second target cosmetic having a same category as the fourth cosmetic, the second target cosmetic having a same brand as the fourth cosmetic.
Step 315: the controller displays at least one of the second target cosmetics through the display screen.
Wherein steps 307-311 are performed in parallel with steps 312-315.
Step 316: in a case where a click operation for a third target cosmetic is detected, the controller acquires third information of the third target cosmetic, the third information including a use step, an effect map, and a purchase address of the third target cosmetic, the third target cosmetic being one of at least one of the first target cosmetics or at least one of the second target cosmetics.
Step 317: the controller displays the third information of the third target cosmetic through the display screen.
It should be noted that, for the specific implementation of each step of the method shown in fig. 3, reference may be made to the specific implementation of the method, and no description is given here.
In accordance with the embodiments shown in fig. 2A and fig. 3, please refer to fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 4, the electronic device includes a processor, 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 processor, and the programs include instructions for performing the following steps:
acquiring first information, wherein the first information comprises at least one of the following: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up;
determining a first cosmetic combination according to the first information and a recommendation model through the AI chip;
and displaying the cosmetics in the first cosmetic combination through the display screen.
In an embodiment of the application, the program further includes instructions for performing the following steps:
acquiring second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event, wherein the second information comprises at least one of the following information: a second scene at the makeup event, weather corresponding to the second scene, a skin condition of the user at the makeup event, and a second cosmetic combination for the user to make up at the makeup event;
determining satisfaction of each makeup event according to the feedback information of each makeup event;
taking the second information corresponding to the target makeup event as reference sample data, wherein the satisfaction degree of the target makeup event is greater than or equal to a first threshold value;
and constructing the recommendation model according to the reference sample data.
In an embodiment of the present application, the first cosmetic combination comprises at least one first cosmetic, and the program further comprises instructions for:
acquiring attribute information of each first cosmetic, wherein the attribute information of the first cosmetic comprises a score of the first cosmetic and a sales amount of the first cosmetic;
acquiring a search record of a user for cosmetics in a preset time period, and determining a second cosmetic which is searched by the user for the most times according to the search record;
acquiring attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises the grade of the second cosmetic and the sales volume of the second cosmetic;
determining at least one first target cosmetic from the first cosmetic combination, the difference between the score of the first target cosmetic and the score of the second cosmetic being less than or equal to a second threshold, the difference between the sales of the first target cosmetic and the sales of the second cosmetic being less than or equal to a third threshold;
the displaying of the cosmetics in the first cosmetic combination via the display screen, the program comprising instructions for specifically performing the steps of:
displaying at least one of the first target cosmetics through the display screen.
In an embodiment of the application, the first combination of cosmetics includes at least one third cosmetic, and the electronic device records at least one fourth cosmetic currently owned by the user, and the program further includes instructions for:
acquiring attribute information of each third cosmetic, wherein the attribute information of the third cosmetics comprises the category of the third cosmetics and the brand of the third cosmetics;
acquiring attribute information of each fourth cosmetic, wherein the attribute information of the fourth cosmetic comprises a category of the fourth cosmetic and a brand of the fourth cosmetic;
determining at least one second target cosmetic from the first cosmetic combination, the second target cosmetic having a same category as the fourth cosmetic, the second target cosmetic having a same brand as the fourth cosmetic;
the displaying of the cosmetics in the first cosmetic combination via the display screen, the program comprising instructions for specifically performing the steps of:
displaying at least one of the second target cosmetics through the display screen.
In an embodiment of the present application, after the displaying of the cosmetics in the first cosmetic combination through the display screen, the program further includes instructions for:
in the case that a click operation for a third target cosmetic is detected, acquiring third information of the third target cosmetic, wherein the third information comprises a use step, an effect map and a purchase address of the third target cosmetic, and the third target cosmetic is one of at least one first target cosmetic or at least one second target cosmetic;
displaying the third information of the third target cosmetic through the display screen.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
Referring to fig. 5, fig. 5 is a cosmetic recommending apparatus applied to an electronic device according to an embodiment of the present application, where the cosmetic recommending apparatus 500 includes a processing unit 501, a storage unit 502, and a communication unit 503, the processing unit 501 includes an obtaining unit, a determining unit, and a display unit, where:
the acquiring unit is configured to acquire first information, where the first information includes at least one of: the method comprises the following steps of a first scene where a user needs to make up, weather corresponding to the first scene and skin states of the user when the user needs to make up;
the determining unit is used for determining a first cosmetic combination according to the first information and a recommendation model;
the display unit is used for displaying the cosmetics in the first cosmetic combination.
In an embodiment of the application, before the obtaining unit obtains the first information, the electronic apparatus further includes:
the training unit is used for acquiring second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event, wherein the second information comprises at least one of the following information: a second scene at the makeup event, weather corresponding to the second scene, a skin condition of the user at the makeup event, and a second cosmetic combination for the user to make up at the makeup event; determining satisfaction of each makeup event according to the feedback information of each makeup event; taking the second information corresponding to the target makeup event as reference sample data, wherein the satisfaction degree of the target makeup event is greater than or equal to a first threshold value; and constructing the recommendation model according to the reference sample data.
In an embodiment of the present application, the first cosmetic combination comprises at least one first cosmetic,
the obtaining unit is further configured to obtain attribute information of each first cosmetic, where the attribute information of the first cosmetic includes a score of the first cosmetic and a sales amount of the first cosmetic; acquiring a search record of a user for cosmetics in a preset time period, and determining a second cosmetic which is searched by the user for the most times according to the search record; acquiring attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises the grade of the second cosmetic and the sales volume of the second cosmetic;
the determining unit is further configured to determine at least one first target cosmetic from the first cosmetic combination, where a difference between a score of the first target cosmetic and a score of the second cosmetic is smaller than or equal to a second threshold, and a difference between a sales amount of the first target cosmetic and a sales amount of the second cosmetic is smaller than or equal to a third threshold;
in displaying the cosmetics in the first cosmetic combination, the display unit is specifically configured to: displaying at least one of the first target cosmetics.
In an embodiment of the present application, the first cosmetic composition includes at least one third cosmetic, and the electronic device records at least one fourth cosmetic currently owned by the user,
the obtaining unit is further configured to obtain attribute information of each third cosmetic, where the attribute information of the third cosmetic includes a category of the third cosmetic and a brand of the third cosmetic; acquiring attribute information of each fourth cosmetic, wherein the attribute information of the fourth cosmetic comprises a category of the fourth cosmetic and a brand of the fourth cosmetic;
the determining unit is further configured to determine at least one second target cosmetic from the first cosmetic combination, wherein the category of the second target cosmetic is the same as the category of the fourth cosmetic, and the brand of the second target cosmetic is the same as the brand of the fourth cosmetic;
in displaying the cosmetics in the first cosmetic combination, the display unit is specifically configured to: displaying at least one of the second target cosmetics.
In an embodiment of the present application, after the cosmetics in the first cosmetic combination are displayed through the display screen,
the obtaining unit is further configured to, in a case where a click operation for a third target cosmetic is detected, obtain third information of the third target cosmetic, where the third information includes a use step, an effect map, and a purchase address of the third target cosmetic, and the third target cosmetic is one of at least one first target cosmetic and at least one second target cosmetic;
the display unit is further configured to display the third information of the third target cosmetic.
The Processing Unit 501 may be a Processor or a controller (e.g., a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof), the storage Unit 502 may be a memory, and the communication Unit 503 may be a transceiver, a transceiver Circuit, a radio frequency chip, a communication interface, or the like.
When the processing unit 501 is a processor, the storage unit 502 is a memory, and the communication unit 503 is a communication interface, the cosmetic recommending apparatus according to the embodiment of the present application may be the electronic apparatus shown in fig. 4.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
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, the computer comprising electronic equipment.
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 embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units 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 some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. 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 implementation and application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present application.
Claims (11)
1. The utility model provides an electronic device, its characterized in that includes controller, artificial intelligence AI chip and display screen, wherein:
the controller is configured to acquire first information, where the first information includes at least one of: the method comprises the following steps that a first scene where a user needs to make up, weather corresponding to the first scene, skin color of the user, mood of the user when the user needs to make up and skin state of the user when the user needs to make up are located, wherein the first scene where the user needs to make up is a destination where the user is going to go out in a journey closest to the current moment;
the AI chip is used for determining a first cosmetic combination according to the first information and the recommendation model;
the display screen is used for displaying the cosmetics in the first cosmetic combination;
the controller is further configured to, when a click operation for a target cosmetic is detected, obtain a face area of a user, determine a usage amount of the target cosmetic according to the face area of the user and a standard usage amount of the target cosmetic, and display the usage amount of the target cosmetic through a display screen, where the target cosmetic is one of cosmetics displayed on the display screen;
the first cosmetic combination includes at least one first cosmetic,
the controller is further used for acquiring attribute information of each first cosmetic, and the attribute information of the first cosmetic comprises a score of the first cosmetic and a sales amount of the first cosmetic; acquiring a search record of a user for cosmetics in a preset time period, and determining a second cosmetic which is searched by the user for the most times according to the search record; acquiring attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises the grade of the second cosmetic and the sales volume of the second cosmetic; determining at least one first target cosmetic from the first cosmetic combination, the difference between the score of the first target cosmetic and the score of the second cosmetic being less than or equal to a second threshold, the difference between the sales of the first target cosmetic and the sales of the second cosmetic being less than or equal to a third threshold;
in displaying the cosmetics in the first cosmetic combination, the display screen is specifically configured to:
displaying at least one of the first target cosmetics.
2. The electronic device of claim 1,
the AI chip is further configured to obtain second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event, where the second information includes at least one of: a second scene at the makeup event, weather corresponding to the second scene, a skin condition of the user at the makeup event, and a second cosmetic combination for the user to make up at the makeup event; determining satisfaction of each makeup event according to the feedback information of each makeup event; taking the second information corresponding to the target makeup event as reference sample data, wherein the satisfaction degree of the target makeup event is greater than or equal to a first threshold value; and constructing the recommendation model according to the benchmark sample data.
3. The electronic device according to claim 1 or 2, wherein the first cosmetic composition comprises at least one third cosmetic composition, and wherein at least one fourth cosmetic composition currently owned by the user is recorded in the electronic device,
the controller is further configured to obtain attribute information of each third cosmetic, where the attribute information of the third cosmetic includes a category of the third cosmetic and a brand of the third cosmetic; acquiring attribute information of each fourth cosmetic, wherein the attribute information of the fourth cosmetic comprises a category of the fourth cosmetic and a brand of the fourth cosmetic; determining at least one second target cosmetic from the first cosmetic combination, the second target cosmetic having a category that is the same as the category of the fourth cosmetic, the second target cosmetic having a brand that is the same as the brand of the fourth cosmetic;
in displaying the cosmetics in the first cosmetic combination, the display screen is specifically configured to:
displaying at least one of the second target cosmetics.
4. The electronic device of claim 3,
the controller is further configured to, in a case where a click operation for a third target cosmetic is detected, acquire third information of the third target cosmetic, where the third information includes a use step, an effect map, and a purchase address of the third target cosmetic, and the third target cosmetic is one of at least one first target cosmetic or at least one second target cosmetic;
the display screen is further configured to display the third information of the third target cosmetic.
5. A cosmetic recommendation method is applied to an electronic device comprising an Artificial Intelligence (AI) chip and a display screen, and comprises the following steps:
acquiring first information, wherein the first information comprises at least one of the following: the method comprises the following steps that a first scene where a user needs to make up, weather corresponding to the first scene, skin color of the user, mood of the user when the user needs to make up and skin state of the user when the user needs to make up are located, wherein the first scene where the user needs to make up is a destination where the user is going to go out in a journey closest to the current moment;
determining a first cosmetic combination according to the first information and a recommendation model through the AI chip;
displaying the cosmetics in the first cosmetic combination through the display screen;
under the condition that a click operation aiming at a target cosmetic is detected, acquiring the face area of a user, wherein the target cosmetic is one of the cosmetics displayed on the display screen;
determining the dosage of the target cosmetic according to the face area of the user and the standard dosage of the target cosmetic;
displaying the dosage of the target cosmetics through the display screen;
the first cosmetic composition includes at least one first cosmetic, and the method further includes:
acquiring attribute information of each first cosmetic, wherein the attribute information of the first cosmetic comprises a score of the first cosmetic and a sales amount of the first cosmetic;
acquiring a search record of a user for cosmetics in a preset time period, and determining a second cosmetic which is searched by the user for the most times according to the search record;
acquiring attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises the grade of the second cosmetic and the sales volume of the second cosmetic;
determining at least one first target cosmetic from the first cosmetic combination, the difference between the score of the first target cosmetic and the score of the second cosmetic being less than or equal to a second threshold, the difference between the sales of the first target cosmetic and the sales of the second cosmetic being less than or equal to a third threshold;
the displaying, by the display screen, the cosmetics in the first cosmetic combination includes:
displaying at least one of the first target cosmetics through the display screen.
6. The method of claim 5, wherein prior to obtaining the first information, the method further comprises:
acquiring second information corresponding to at least one makeup event recorded in the electronic device and feedback information of each makeup event, wherein the second information comprises at least one of the following information: a second scene at the makeup event, weather corresponding to the second scene, a skin condition of the user at the makeup event, and a second cosmetic combination for the user to make up at the makeup event;
determining a satisfaction degree of each makeup event according to the feedback information of each makeup event;
taking the second information corresponding to the target makeup event as reference sample data, wherein the satisfaction degree of the target makeup event is greater than or equal to a first threshold value;
and constructing the recommendation model according to the reference sample data.
7. The method according to claim 5 or 6, wherein the first cosmetic combination comprises at least one third cosmetic, and wherein at least one fourth cosmetic currently owned by the user is recorded in the electronic device, the method further comprising:
acquiring attribute information of each third cosmetic, wherein the attribute information of the third cosmetics comprises the category of the third cosmetics and the brand of the third cosmetics;
acquiring attribute information of each fourth cosmetic, wherein the attribute information of the fourth cosmetic comprises a category of the fourth cosmetic and a brand of the fourth cosmetic;
determining at least one second target cosmetic from the first cosmetic combination, the second target cosmetic having a same category as the fourth cosmetic, the second target cosmetic having a same brand as the fourth cosmetic;
the displaying, by the display screen, the cosmetics in the first cosmetic combination includes:
displaying at least one of the second target cosmetics through the display screen.
8. The method of claim 7, wherein after the displaying the cosmetics in the first cosmetic combination via the display screen, the method further comprises:
in the case that a click operation for a third target cosmetic is detected, acquiring third information of the third target cosmetic, wherein the third information comprises a use step, an effect map and a purchase address of the third target cosmetic, and the third target cosmetic is one of at least one first target cosmetic or at least one second target cosmetic;
displaying the third information of the third target cosmetic through the display screen.
9. A cosmetic recommendation device applied to an electronic device, the cosmetic recommendation device comprising an acquisition unit, a determination unit and a display unit, wherein:
the acquiring unit is configured to acquire first information, where the first information includes at least one of: the method comprises the following steps that a first scene where a user needs to make up, weather corresponding to the first scene, skin color of the user, mood of the user when the user needs to make up and skin state of the user when the user needs to make up are located, wherein the first scene where the user needs to make up is a destination where the user is going to go out in a journey closest to the current moment;
the determining unit is used for determining a first cosmetic combination according to the first information and a recommendation model;
the display unit is used for displaying the cosmetics in the first cosmetic combination;
the obtaining unit is further used for obtaining the face area of the user under the condition that the click operation aiming at the target cosmetic is detected, wherein the target cosmetic is one of the cosmetics displayed on the display screen; determining the dosage of the target cosmetic according to the face area of the user and the standard dosage of the target cosmetic; displaying the dosage of the target cosmetics through the display screen;
the first cosmetic combination comprises at least one first cosmetic, and the acquisition unit is further used for acquiring attribute information of each first cosmetic, wherein the attribute information of the first cosmetic comprises a score of the first cosmetic and a sales amount of the first cosmetic; acquiring a search record of a user for cosmetics in a preset time period, and determining a second cosmetic which is searched by the user for the most times according to the search record; acquiring attribute information of the second cosmetic, wherein the attribute information of the second cosmetic comprises the grade of the second cosmetic and the sales amount of the second cosmetic;
the determining unit is further used for determining at least one first target cosmetic from the first cosmetic combination, the difference between the score of the first target cosmetic and the score of the second cosmetic is smaller than or equal to a second threshold, and the difference between the sales amount of the first target cosmetic and the sales amount of the second cosmetic is smaller than or equal to a third threshold;
in displaying the cosmetics in the first cosmetic combination, the display unit is specifically configured to: displaying at least one of the first target cosmetics.
10. 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 5-8.
11. 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 of the claims 5-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810104359.1A CN108388600B (en) | 2018-02-02 | 2018-02-02 | Cosmetic recommendation method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810104359.1A CN108388600B (en) | 2018-02-02 | 2018-02-02 | Cosmetic recommendation method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108388600A CN108388600A (en) | 2018-08-10 |
CN108388600B true CN108388600B (en) | 2022-06-21 |
Family
ID=63074963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810104359.1A Expired - Fee Related CN108388600B (en) | 2018-02-02 | 2018-02-02 | Cosmetic recommendation method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108388600B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109636513A (en) * | 2018-11-29 | 2019-04-16 | 北京小米移动软件有限公司 | A shield recommended method, device and storage medium based on travel information |
CN110033344A (en) * | 2019-03-06 | 2019-07-19 | 百度在线网络技术(北京)有限公司 | Skin care item recommended method, device and storage medium neural network based |
CN110533508A (en) * | 2019-08-26 | 2019-12-03 | 苏州浩哥文化传播有限公司 | A kind of makeups recommender system based on the detection of spontaneous big data |
CN110659047A (en) * | 2019-09-16 | 2020-01-07 | Oppo广东移动通信有限公司 | Algorithm model updating method and device, electronic equipment and computer readable storage medium |
CN111064766A (en) * | 2019-10-24 | 2020-04-24 | 青岛海尔科技有限公司 | Information pushing method and device based on Internet of things operating system and storage medium |
CN112287817A (en) * | 2020-10-28 | 2021-01-29 | 维沃移动通信有限公司 | Information acquisition method and device |
CN113435982A (en) * | 2021-07-22 | 2021-09-24 | 创优数字科技(广东)有限公司 | Nail polish recommendation method, device, equipment and medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649465A (en) * | 2016-09-26 | 2017-05-10 | 珠海格力电器股份有限公司 | Method and device for recommending and acquiring makeup information |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU6501601A (en) * | 2000-05-31 | 2001-12-11 | Procter & Gamble | Methods and system for providing personalized preparations |
US20060129411A1 (en) * | 2004-12-07 | 2006-06-15 | Nina Bhatti | Method and system for cosmetics consulting using a transmitted image |
CN202026376U (en) * | 2011-03-18 | 2011-11-02 | 上海华勤通讯技术有限公司 | Intelligent cosmetic assistant cellphone |
FR2985064B1 (en) * | 2011-12-23 | 2016-02-26 | Oreal | METHOD FOR DELIVERING COSMETIC ADVICE |
CN105138648A (en) * | 2015-08-26 | 2015-12-09 | 宇龙计算机通信科技(深圳)有限公司 | Information recommendation method and user terminal |
CN105678561B (en) * | 2016-01-29 | 2020-04-03 | 京东方科技集团股份有限公司 | Intelligent dressing table and corresponding cloud expert system |
-
2018
- 2018-02-02 CN CN201810104359.1A patent/CN108388600B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649465A (en) * | 2016-09-26 | 2017-05-10 | 珠海格力电器股份有限公司 | Method and device for recommending and acquiring makeup information |
Also Published As
Publication number | Publication date |
---|---|
CN108388600A (en) | 2018-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108388600B (en) | Cosmetic recommendation method and related device | |
US11854263B2 (en) | Video processing method and apparatus, terminal device, server, and storage medium | |
US10719695B2 (en) | Method for pushing picture, mobile terminal, and storage medium | |
US20190236099A1 (en) | Picture processing method and apparatus, and electronic device | |
CN108287864A (en) | A kind of interest group division methods, device, medium and computing device | |
CN110110118A (en) | Dressing recommended method, device, storage medium and mobile terminal | |
CN106846094A (en) | A kind of method and apparatus for recommending application message based on application has been installed | |
CN110033156A (en) | A kind of determination method and device of business activity effect | |
CN104462132A (en) | Comment information display method and device | |
CN107451832A (en) | The method and apparatus of pushed information | |
CN110275952A (en) | News recommended method, device and medium based on user's short-term interest | |
CN108876751A (en) | Image processing method, device, storage medium and terminal | |
CN107105322A (en) | A kind of multimedia intelligent pushes robot and method for pushing | |
CN107622004A (en) | Power consumption based reminding method and device | |
CN107959965A (en) | Frame dropping method, device, mobile terminal and the readable storage medium storing program for executing of application program | |
CN104536990A (en) | Picture display method and terminal | |
CN110148013A (en) | A kind of user tag distribution forecasting method, apparatus and system | |
CN107291772A (en) | One kind search access method, device and electronic equipment | |
CN109064283A (en) | Commodity recommendation method and device and computer-readable storage medium | |
CN109255652B (en) | Advertisement playing method based on human face and related product | |
CN106960033A (en) | A kind of method and apparatus that label is marked to information flow | |
CN108619700B (en) | Motion recording method and device | |
CN103440307A (en) | Method and device for providing media information | |
CN107943537A (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN109118413A (en) | Urban activity demographics method and device thereof, computer-readable medium |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: No.18, Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220621 |
|
CF01 | Termination of patent right due to non-payment of annual fee |