Personalized cosmetic scheme generation method and device, readable storage medium and program product
By obtaining user information and preferences, combining artificial intelligence to match cosmetic databases, personalized cosmetic solutions are generated, which solves the problem of inaccurate matching of user needs in traditional methods, and a cosmetic solutions that are more in line with user needs are achieved.
Patent Information
- Application Number
- CN202411754242.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-04-11
Smart Images

Figure CN119809745A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cosmetic technology, and in particular to a method, apparatus, computer device, computer-readable storage medium, and computer program product for generating a personalized cosmetic solution. Background Art
[0002] As consumers pursue uniqueness and personalization in all aspects, they increasingly need customized cosmetics that suit their skin conditions in terms of skin care and cosmetics selection. Many cosmetics brands have begun to launch customized cosmetics. However, the traditional method of generating cosmetic solutions usually provides pre-provided cosmetics for consumers to choose from, which has the problem of inaccurate matching of user needs. Summary of the invention
[0003] Based on this, the present application provides a method, apparatus, computer device, computer-readable storage medium and computer program product for generating a personalized cosmetic solution, which can more accurately match user needs.
[0004] In one aspect, the present application provides a method for generating a personalized cosmetic solution, comprising:
[0005] Get user information;
[0006] Determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information;
[0007] Obtaining preference information of the user;
[0008] A personalized cosmetics plan for the user is generated according to the preference information, the target ingredient formula and the corresponding target dosage.
[0009] In one embodiment, obtaining user information includes:
[0010] Collect basic information about users in at least one dimension;
[0011] The face of the user is detected to obtain facial information of the user in a facial dimension; the basic information and the facial information both belong to user information.
[0012] In one embodiment, the basic information includes at least one of age, gender, skin type, sleep quality, living environment, dietary preferences, skin demands and skin care habits, and the facial information includes facial features and facial skin indicator conditions.
[0013] In one embodiment, determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information includes:
[0014] For each dimension of user information, determining a sub-component formula corresponding to the user information and a sub-dose corresponding to the sub-component formula;
[0015] According to the sub-component formula and the sub-dose corresponding to the user information of each dimension, a target component formula and a target dose corresponding to the target component formula are determined.
[0016] In one embodiment, for each dimension of user information, determining the sub-component formula corresponding to the user information and the sub-dose corresponding to the sub-component formula includes:
[0017] For each dimension of user information, an artificial intelligence algorithm is used to match the user information with the cosmetics information in the database, and the sub-component formula matching the user information and the sub-dose corresponding to the sub-component formula are determined from the database.
[0018] In one embodiment, generating the user's personalized cosmetic solution according to the preference information, the target ingredient formula and the corresponding target dosage includes:
[0019] According to the preference information, the target ingredient formula and the corresponding target dosage are adjusted to generate a personalized cosmetic solution for the user.
[0020] In one embodiment, the preference information includes at least one of skin feel preference, ingredient preference and fragrance preference.
[0021] On the one hand, the present application also provides a personalized cosmetic solution generating device, comprising:
[0022] User information acquisition module, used to obtain user information;
[0023] A component formula and dosage determination module, used to determine a target component formula and a target dosage corresponding to the target component formula based on the user information;
[0024] A preference information acquisition module, used to acquire the preference information of the user;
[0025] A cosmetic solution generating module is used to generate a personalized cosmetic solution for the user according to the preference information, the target ingredient formula and the corresponding target dosage.
[0026] In one aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0027] Get user information;
[0028] Determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information;
[0029] Obtaining preference information of the user;
[0030] A personalized cosmetics plan for the user is generated according to the preference information, the target ingredient formula and the corresponding target dosage.
[0031] In one aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0032] Get user information;
[0033] Determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information;
[0034] Obtaining preference information of the user;
[0035] A personalized cosmetics plan for the user is generated according to the preference information, the target ingredient formula and the corresponding target dosage.
[0036] In one aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the following steps:
[0037] Get user information;
[0038] Determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information;
[0039] Obtaining preference information of the user;
[0040] A personalized cosmetics plan for the user is generated according to the preference information, the target ingredient formula and the corresponding target dosage.
[0041] The above-mentioned personalized cosmetic solution generation method, apparatus, computer device, computer-readable storage medium and computer program product obtain user information, and based on the user information, can more accurately determine the target ingredient formula and the target dosage corresponding to the target ingredient formula, and obtain the user's preference information. Based on the preference information, the target ingredient formula and the corresponding target dosage, the user's personalized cosmetic solution can be more accurately generated, so that the personalized cosmetic solution better matches the user's needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 This is an application environment diagram of a method for generating a personalized cosmetic solution in one embodiment;
[0044] Figure 2 A flowchart of a method for generating a personalized cosmetic solution in one embodiment;
[0045] Figure 3 A schematic diagram of obtaining user information and user preference information according to an embodiment;
[0046] Figure 4 A schematic diagram of matching user information and preference information in one embodiment;
[0047] Figure 5 It is a structural block diagram of a device for generating a personalized cosmetic solution in one embodiment;
[0048] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and beneficial effects of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The personalized cosmetic solution generation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 obtains user information and sends the user information to the server 104; the server 104 determines the target ingredient formula and the target dose corresponding to the target ingredient formula based on at least two dimensions of user information; the terminal 102 obtains the user's preference information and sends the preference information to the server 104; the server 104 generates a personalized cosmetics plan for the user based on the preference information, the target ingredient formula and the corresponding target dose, and returns the personalized cosmetics plan to the terminal 102; the terminal 102 can display the personalized cosmetics plan on the screen.
[0051] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0052] In an exemplary embodiment, Figure 2 As shown, a method for generating a personalized cosmetic solution is provided, which can be applied to a terminal or a server; the method is applied to Figure 1 The terminal in is taken as an example to illustrate, including the following steps 202 to 206. Among them:
[0053] Step 202, obtaining user information.
[0054] The user information may include at least one dimension of basic information and facial information, wherein the basic information is information about the basic situation of the user, and the facial information is facial information collected in real time.
[0055] It is understandable that after determining that the user agrees, the terminal obtains user information of at least two dimensions.
[0056] Optionally, obtaining user information includes: collecting basic information of the user in at least one dimension; detecting the face of the user to obtain facial information of the user in the facial dimension; both basic information and facial information belong to user information.
[0057] Among them, the basic information includes at least one of age, gender, skin type, sleep quality, living environment, dietary preferences, skin demands and skin care habits, and the facial information includes facial features and facial skin indicator conditions.
[0058] The facial skin index condition may include at least one of various types of wrinkles, spots, acne, blackheads, sensitivity, dark circles, tear grooves, and pores.
[0059] There is no limitation on the way the terminal collects the user's basic information, which can be collected through questionnaires or crawlers.
[0060] Optionally, the terminal detects the user's face through a skin detection device to obtain the user's facial information in the facial dimension. The skin detection device can be a device independent of the terminal, or it can be a part of the terminal. For example, the skin detection device can be a skin detection device professionally used to detect the user's face, or it can be a camera module in the terminal.
[0061] Optionally, the terminal uses a skin detection device to capture a facial image of the user, and analyzes the facial image using image recognition technology to obtain facial information of the user in a facial dimension.
[0062] Among them, image recognition technology is a technology that uses AI (Artificial Intelligence) algorithm recognition based on high-definition photos. The principle of this technology is similar to the recognition process of doctors judging problems based on scientific common sense and professional knowledge. It will extract key elements based on the captured facial images and judge which type of skin problem it is closer to. It will then be calibrated with the assistance of a large amount of image data to achieve higher accuracy, making the final recognition result infinitely close to the result of human eye recognition.
[0063] It is understandable that by collecting basic information of the user in at least one dimension, detecting the user's face, and obtaining the user's facial information in the facial dimension, more accurate and comprehensive user information in at least two dimensions can be obtained, and then the user's personalized cosmetics plan can be generated more accurately to more accurately match the user's needs. The user's skin condition can be analyzed more accurately by using facial recognition technology and image processing technology.
[0064] Step 204, based on the user information, determine the target ingredient formula and the target dosage corresponding to the target ingredient formula.
[0065] The target ingredient formula is the ingredient formula of the cosmetics corresponding to the personalized cosmetics solution to be generated, which can be purposefully added to the product formula during the production process and plays a certain role in the final cosmetics. Exemplarily, the ingredient formula is a combination formula of one or more moisturizers, emollients, functional active ingredients, natural plant ingredients, viscosity regulators, pH regulators, colorants, essential oils, flavors, etc.
[0066] The target dose is the dose of the ingredient formula of the cosmetics corresponding to the personalized cosmetics solution to be generated. It is understandable that the dose size of a certain ingredient formula in the cosmetics has different effects, so it is necessary to determine the target dose corresponding to each target ingredient formula.
[0067] Optionally, obtain the correspondence between preset user information and ingredient formula and dosage; for the user information of each dimension, match the user information with the correspondence to determine the target ingredient formula of each dimension and the target dosage corresponding to the target ingredient formula.
[0068] Optionally, based on the user information, a target component prescription and a target dose corresponding to the target component prescription are determined, including: for each dimension of user information, determining a sub-component prescription corresponding to the user information and a sub-dose corresponding to the sub-component prescription; and determining a target component prescription and a target dose corresponding to the target component prescription according to the sub-component prescription and sub-dose corresponding to the user information in each dimension.
[0069] It is understandable that the user information of each dimension has different effects on the ingredient formula and dosage, so sub-component formulas and sub-doses are determined for each dimension, and then the target ingredient formula and the target dosage corresponding to the target ingredient formula are determined.
[0070] Optionally, for each dimension of user information, a sub-component formula corresponding to the user information and a sub-dosage corresponding to the sub-component formula are determined, including: for each dimension of user information, an artificial intelligence algorithm is used to match the user information with the cosmetics information in a database, and a sub-component formula matching the user information and a sub-dosage corresponding to the sub-component formula are determined from the database.
[0071] In the database, cosmetic information is preset, and the cosmetic information includes a corresponding relationship between user information of each dimension and a sub-component formula and a sub-dose.
[0072] Optionally, a weight factor for each dimension is obtained, and based on the weight factors of at least two dimensions, sub-component prescriptions and sub-doses corresponding to user information of at least two dimensions are weightedly summed to obtain a target component prescription and a target dose corresponding to the target component prescription.
[0073] It is understandable that the terminal establishes the appropriate ingredient formula (efficacy formula) and dosage corresponding to each influencing dimension (such as skin quality or environment), and then combines at least two dimensions together to establish an AI matching algorithm model. According to the priority order, compliance, influence index and other factors, the appropriate ingredient formula and target dosage for the user can be calculated. The artificial intelligence algorithm is used to match the ingredient formula to improve the matching accuracy and efficiency.
[0074] Step 206: Obtain user preference information.
[0075] The preference information is information about the user's preference for cosmetics, and includes at least one of skin feel preference, ingredient preference, and fragrance preference.
[0076] Step 208, generating a personalized cosmetic solution for the user based on the preference information, the target ingredient formula and the corresponding target dosage.
[0077] Optionally, a personalized cosmetics plan for the user is generated based on the preference information, the target ingredient formula and the corresponding target dosage, including: adjusting the target ingredient formula and the corresponding target dosage based on the preference information to generate a personalized cosmetics plan for the user.
[0078] Optionally, a preference adjustment direction corresponding to the preference information is determined, and the target ingredient formula and the corresponding target dosage are adjusted according to the preference adjustment direction to generate a personalized cosmetic plan for the user.
[0079] For example, the user's skin type is dry skin, and the user's preference information is that he likes product textures with higher moisturizing and oiliness. Therefore, the preference adjustment direction corresponding to the preference information is determined to be to adjust the target ingredient formula and the corresponding target dosage toward higher moisturizing and oiliness, such as adjusting the property of ingredient A in the target ingredient formula to a moisturizing property, adjusting the property of ingredient B to an oily property, increasing the target dosage of ingredient A, and decreasing the target dosage of ingredient B.
[0080] For example, the user has oily skin, and the user's preference information is that he prefers products that feel refreshing and are well absorbed. Similarly, it can be determined that the preference adjustment direction corresponding to the preference information is to adjust the target ingredient formula and the corresponding target dosage toward higher moisturizing and oiliness.
[0081] Optionally, before purchasing cosmetics, users can also experience cosmetic products with different skin textures. The service staff will then place an order for the user based on the texture matrix of the user's choice, and the factory will produce and process the products as required.
[0082] Optionally, the terminal displays the personalized cosmetic solution, which includes achievable effects.
[0083] Optionally, the terminal sends the personalized cosmetics solution to the production equipment, so that the production equipment produces the target cosmetics according to the personalized cosmetics solution.
[0084] It is understandable that by adjusting the target ingredient formula and the corresponding target dosage based on the preference information, a personalized cosmetic solution that better meets the user's needs can be generated.
[0085] The above-mentioned personalized cosmetic solution generation method obtains user information, and based on the user information, can more accurately determine the target ingredient formula and the target dosage corresponding to the target ingredient formula, and obtains the user's preference information. According to the preference information, the target ingredient formula and the corresponding target dosage, the user's personalized cosmetic solution can be more accurately generated, so that the personalized cosmetic solution better matches the user's needs.
[0086] In one embodiment, Figure 3 As shown, the terminal obtains user information in at least two dimensions and user preference information. User information in at least two dimensions belongs to objective factors. User information in at least two dimensions includes product ingredients, product skin feel and efficacy, ingredients, that is, user information in at least two dimensions includes gender, age, environment, skin quality, skin tolerance and skin problems. Gender includes male and female, age includes all age groups, environment includes long-term air-conditioned environment, cold and dry environment, electronic radiation environment, outdoor wind and sun exposure environment, air pollution environment, high temperature and high humidity environment, indoor comfortable environment, skin quality includes dry, oily, mixed dry, mixed oily and neutral, skin tolerance includes tolerance, mild sensitivity, moderate sensitivity and severe sensitivity, skin problems include dry and rough, oily skin, large pores, blackheads, acne / acne marks, wrinkles, sagging, pigmentation, dullness, uneven skin tone and allergies; preference information belongs to subjective factors, preference information (product preference) includes product texture and fragrance, preference information includes skin feel preference, ingredient preference and fragrance preference.
[0087] Combining the user information of at least two dimensions, such as age, gender, skin type, sleep quality, living environment, dietary preferences, skin demands, and skin care habits, the original population skin typing theory (ASTP) is created to more accurately match the formulation and dosage of cosmetic ingredients, while realizing the automation of the entire process from user needs to product customization, thus improving the user experience. At least two dimensions of user information are objective factors, while user preference information is subjective factors. Combining the objective and subjective factors of users, more personalized cosmetic customization services can be accurately provided to users, improving the applicability and effect of cosmetics, and meeting consumers' needs for personalized skin care.
[0088] In one embodiment, Figure 4As shown, the terminal obtains user information and user preference information in at least two dimensions through subjective questionnaires and AI skin testing. The user information in at least two dimensions includes demographic attributes, social attributes, environmental factors, lifestyle, skin physiology and skin conditions. Demographic attributes include gender, age and fertility status. Based on the fertility status, the prohibited ingredients during pregnancy can be determined; social attributes include occupation, education level and income level. Based on the occupation and income level, the price of effective ingredients can be determined; environmental factors include temperature and humidity of the residence, working environment, outdoor time, seasonal changes and harsh environment. Based on the temperature and humidity of the residence, the skin feel of the product can be determined, based on the outdoor time, the cause of the problem can be determined based on the seasonal changes, and then based on the cause of the problem, the product efficacy and matching ingredients can be determined; lifestyle includes work and rest routines, diet, sleep, activity and stress. Based on the work and rest routines, diet and sleep, the cause of skin problems can be determined, and then based on the cause of skin problems, the product efficacy and matching ingredients can be determined. Matching ingredients; skin physiology includes menstrual period conditions, medical beauty, abnormal skin conditions and history of skin allergies. Based on menstrual period conditions, medical beauty and abnormal skin conditions, the cause of the problem can be determined, and then the product efficacy and matching ingredients can be determined based on the cause of the problem; skin conditions include skin quality, skin tolerance, skin concerns, skin problems that want to be improved and skin problems. Based on the skin quality, the product skin feel and the cause of skin problems can be determined, based on skin tolerance, the mildness of the ingredients can be determined, based on skin concerns, skin problems that want to be improved and skin problems, the cause of the problem can be determined, and then the product efficacy and matching ingredients can be determined based on the cause of the problem; user preference information (product needs) includes customized categories, including texture and skin feel preferences, ingredient type preferences and product fragrance preferences. Based on the product fragrance preferences, the product fragrance can be determined.
[0089] The terminal will classify the subjective questionnaire data and objective skin test data of different dimensions obtained from users, use cutting-edge artificial intelligence technology for intelligent recognition and in-depth statistical analysis, and build a correlation model between different data and product ingredient characteristics to accurately match users with the ingredients that best suit their skin needs and skin care products and personalized skin improvement plans that meet their personal preferences, thereby obtaining personalized cosmetics solutions that more accurately meet user needs.
[0090] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.
[0091] Based on the same inventive concept, the embodiment of the present application also provides a personalized cosmetic solution generation device for implementing the personalized cosmetic solution generation method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more personalized cosmetic solution generation device embodiments provided below can refer to the limitations of the personalized cosmetic solution generation method above, and will not be repeated here.
[0092] In an exemplary embodiment, Figure 5 As shown, a personalized cosmetic solution generation device is provided, including: a user information acquisition module 502, an ingredient formula and dosage determination module 504, a preference information acquisition module 506 and a cosmetic solution generation module 508, wherein:
[0093] The user information acquisition module 502 is used to acquire user information.
[0094] The component formula and dosage determination module 504 is used to determine a target component formula and a target dosage corresponding to the target component formula based on user information.
[0095] The preference information acquisition module 506 is used to acquire the user's preference information.
[0096] The cosmetic solution generation module 508 is used to generate a personalized cosmetic solution for the user based on the preference information, the target ingredient formula and the corresponding target dosage.
[0097] The above-mentioned personalized cosmetic solution generating device obtains user information, and based on the user information, can more accurately determine the target ingredient formula and the target dosage corresponding to the target ingredient formula, and obtains the user's preference information. According to the preference information, the target ingredient formula and the corresponding target dosage, the user's personalized cosmetic solution can be more accurately generated, so that the personalized cosmetic solution better matches the user's needs.
[0098] In one embodiment, the user information acquisition module 502 is also used to collect basic information of the user in at least one dimension; detect the user's face to obtain facial information of the user in the facial dimension; both basic information and facial information belong to user information.
[0099] In one embodiment, the basic information includes at least one of age, gender, skin type, sleep quality, living environment, dietary preferences, skin demands and skin care habits, and the facial information includes facial features and facial skin index conditions.
[0100] In one embodiment, the above-mentioned component formula and dosage determination module 504 is also used to determine the sub-component formula corresponding to the user information and the sub-dose corresponding to the sub-component formula for each dimension of user information; and determine the target component formula and the target dose corresponding to the target component formula based on the sub-component formula and sub-dose corresponding to the user information in each dimension.
[0101] In one embodiment, the above-mentioned ingredient formula and dosage determination module 504 is also used to match the user information with the cosmetic information in the database using an artificial intelligence algorithm for each dimension of user information, and determine the sub-ingredient formula that matches the user information and the sub-dose corresponding to the sub-ingredient formula from the database.
[0102] In one embodiment, the cosmetic solution generation module 508 is further used to adjust the target ingredient formula and the corresponding target dosage according to the preference information to generate a personalized cosmetic solution for the user.
[0103] In one embodiment, the preference information includes at least one of skin feel preference, ingredient preference and fragrance preference.
[0104] Each module in the above-mentioned personalized cosmetic solution generation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0105] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for generating a personalized cosmetic solution is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0106] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0107] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining user information; determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information; obtaining the user's preference information; and generating a personalized cosmetic plan for the user based on the preference information, the target ingredient formula and the corresponding target dosage.
[0108] In one embodiment, when the processor executes the computer program, the following steps are also implemented: collecting basic information of the user in at least one dimension; detecting the user's face to obtain facial information of the user in the facial dimension; both the basic information and the facial information belong to the user information.
[0109] In one embodiment, when the processor executes the computer program, the following steps are also implemented: for each dimension of user information, the sub-component formula corresponding to the user information and the sub-dose corresponding to the sub-component formula are determined; based on the sub-component formula and sub-dose corresponding to the user information in each dimension, the target component formula and the target dose corresponding to the target component formula are determined.
[0110] In one embodiment, when the processor executes the computer program, the following steps are also implemented: for each dimension of user information, an artificial intelligence algorithm is used to match the user information with the cosmetic information in the database, and the sub-component formula matching the user information and the sub-dose corresponding to the sub-component formula are determined from the database.
[0111] In one embodiment, when the processor executes the computer program, the following steps are also implemented: adjusting the target ingredient formula and the corresponding target dosage according to the preference information to generate a personalized cosmetic solution for the user.
[0112] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: obtaining user information; determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information; obtaining the user's preference information; and generating a personalized cosmetic plan for the user based on the preference information, the target ingredient formula and the corresponding target dosage.
[0113] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: collecting basic information of the user in at least one dimension; detecting the user's face to obtain facial information of the user in the facial dimension; both the basic information and the facial information belong to user information.
[0114] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: for each dimension of user information, the sub-component formula corresponding to the user information and the sub-dose corresponding to the sub-component formula are determined; based on the sub-component formula and sub-dose corresponding to the user information in each dimension, the target component formula and the target dose corresponding to the target component formula are determined.
[0115] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: for each dimension of user information, an artificial intelligence algorithm is used to match the user information with the cosmetic information in the database, and the sub-component formula matching the user information and the sub-dose corresponding to the sub-component formula are determined from the database.
[0116] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the preference information, the target ingredient formula and the corresponding target dosage are adjusted to generate a personalized cosmetic solution for the user.
[0117] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: obtaining user information; determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information; obtaining the user's preference information; and generating a personalized cosmetic solution for the user based on the preference information, the target ingredient formula and the corresponding target dosage.
[0118] In one embodiment, when the processor executes the computer program, the following steps are also implemented: collecting basic information of the user in at least one dimension; detecting the user's face to obtain facial information of the user in the facial dimension; both the basic information and the facial information belong to the user information.
[0119] In one embodiment, when the processor executes the computer program, the following steps are also implemented: for each dimension of user information, the sub-component formula corresponding to the user information and the sub-dose corresponding to the sub-component formula are determined; based on the sub-component formula and sub-dose corresponding to the user information in each dimension, the target component formula and the target dose corresponding to the target component formula are determined.
[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: for each dimension of user information, an artificial intelligence algorithm is used to match the user information with the cosmetic information in the database, and the sub-component formula matching the user information and the sub-dose corresponding to the sub-component formula are determined from the database.
[0121] In one embodiment, when the processor executes the computer program, the following steps are also implemented: adjusting the target ingredient formula and the corresponding target dosage according to the preference information to generate a personalized cosmetic solution for the user.
[0122] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0123] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0124] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0125] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for generating a personalized cosmetic solution, characterized in that: The method comprises: Get user information; Determining a target ingredient formula and a target dosage corresponding to the target ingredient formula based on the user information; Obtaining preference information of the user; A personalized cosmetics plan for the user is generated according to the preference information, the target ingredient formula and the corresponding target dosage.
2. The method according to claim 1, characterized in that The obtaining of user information includes: Collect basic information about users in at least one dimension; The face of the user is detected to obtain facial information of the user in a facial dimension; the basic information and the facial information both belong to user information.
3. The method according to claim 2, characterized in that The basic information includes at least one of age, gender, skin type, sleep quality, living environment, dietary preferences, skin demands and skin care habits, and the facial information includes facial features and facial skin index conditions.
4. The method according to claim 1, characterized in that: The determining, based on the user information, a target ingredient formula and a target dose corresponding to the target ingredient formula includes: For each dimension of user information, determining a sub-component formula corresponding to the user information and a sub-dose corresponding to the sub-component formula; According to the sub-component formula and the sub-dose corresponding to the user information of each dimension, a target component formula and a target dose corresponding to the target component formula are determined.
5. The method according to claim 4, characterized in that The determining, for each dimension of user information, of a sub-component formula corresponding to the user information and a sub-dose corresponding to the sub-component formula includes: For each dimension of user information, an artificial intelligence algorithm is used to match the user information with the cosmetics information in the database, and the sub-component formula matching the user information and the sub-dose corresponding to the sub-component formula are determined from the database.
6. The method according to claim 1, characterized in that Generating a personalized cosmetic solution for the user according to the preference information, the target ingredient formula and the corresponding target dosage includes: According to the preference information, the target ingredient formula and the corresponding target dosage are adjusted to generate a personalized cosmetic solution for the user.
7. The method according to claim 1, characterized in that The preference information includes at least one of skin feel preference, ingredient preference and fragrance preference.
8. A personalized cosmetics solution generating device, characterized in that: The device comprises: User information acquisition module, used to obtain user information; A component formula and dosage determination module, used to determine a target component formula and a target dosage corresponding to the target component formula based on the user information; A preference information acquisition module, used to acquire the preference information of the user; A cosmetic solution generating module is used to generate a personalized cosmetic solution for the user according to the preference information, the target ingredient formula and the corresponding target dosage.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.