Cosmetic formula generation method, device, electronic device and storage medium

By obtaining and analyzing the ingredient relationship data of existing cosmetics and generating an ingredient relationship map, the problem of long-term ingredient determination in cosmetic research and development is solved, and the effect of quickly generating cosmetic formulas is achieved.

CN118571377BActive Publication Date: 2025-05-30GUANGZHOU MARUMI NETWORK TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410720537.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2025-05-30
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

It takes a lot of time to determine the ingredients of cosmetics during the development of cosmetics.

Method used

By obtaining the ingredient relationship data of existing cosmetics, receiving the required keywords for generating cosmetic formulas, determining the target cosmetics, generating an ingredient relationship map and displaying them, to assist R&D personnel in selecting the target ingredient generation formulas.

Benefits of technology

It realizes the rapid generation of cosmetic formulas that meet the needs, saves the time for R&D personnel to determine cosmetic ingredients, and improves the efficiency of cosmetic formula design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118571377B_ABST
    Figure CN118571377B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, electronic device and storage medium for generating a cosmetic formula, including: obtaining ingredient relationship data of existing cosmetics, where the ingredient relationship data includes at least one ingredient combination of the existing cosmetics and the product information of the existing cosmetics, receiving a demand keyword for generating a cosmetic formula, determining a target cosmetic whose product information includes the demand keyword, generating an ingredient relationship map according to the ingredient combination of the target cosmetic in the ingredient relationship data, and displaying the ingredient relationship map, so that R & D personnel can refer to the ingredient relationship map of the existing cosmetics to select target ingredients to generate a formula, realizing that inputting a demand keyword generates an ingredient relationship map to assist R & D personnel in generating a cosmetic formula. Through the ingredient relationship map, the relationship between each ingredient can be visually displayed, which can not only generate a cosmetic formula that meets the requirements, but also save the time for R & D personnel to determine cosmetic ingredients and improve the efficiency of cosmetic formula design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cosmetics, and particularly to a method, device, electronic device and storage medium for generating a cosmetics formula. Background Art

[0002] With the improvement of people's living standards, cosmetics have become an indispensable daily necessity in people's lives. Continuously researching and developing new cosmetics is the key to improving the market competitiveness of cosmetics enterprises.

[0003] Cosmetics are mixtures of various raw material components after being formulated. In the research and development of cosmetics, formula engineers need to conduct a large number of experiments to develop new formulas. In the research and development process, it is necessary for research and development engineers to have rich knowledge and experience. For example, it is necessary for research and development engineers to be familiar with the effects of various raw material components to determine the components of cosmetics, and then increase or decrease the components through experiments, resulting in a large amount of time spent by research and development engineers in determining the components. Summary of the Invention

[0004] The present invention provides a method, device, electronic device and storage medium for generating a cosmetics formula to solve the problem of spending a large amount of time determining the components of cosmetics during the research and development process.

[0005] In a first aspect, the present invention provides a method for generating a cosmetics formula, including:

[0006] Obtaining ingredient relationship data of existing cosmetics, where the ingredient relationship data includes at least one ingredient combination of the existing cosmetics and the product information of the existing cosmetics;

[0007] Receiving a demand keyword for generating a cosmetics formula;

[0008] Determining a target cosmetics whose product information includes the demand keyword;

[0009] Generating an ingredient relationship graph according to the ingredient combination of the target cosmetics in the ingredient relationship data;

[0010] Displaying the ingredient relationship graph.

[0011] Optionally, obtaining the ingredient relationship data of existing cosmetics includes:

[0012] Obtaining the filing data of existing cosmetics;

[0013] Extracting the brand, category, product name and ingredient list of the existing cosmetics from the filing data;

[0014] Generating the ingredient relationship data of the existing cosmetics according to the brand, category, product name and ingredient list.

[0015] Optionally, generating the ingredient relationship data of existing cosmetics according to the brand, category, product name, and ingredient list includes:

[0016] For each existing cosmetic, determining multiple ingredients from the ingredient list;

[0017] Generating ingredient combinations of the existing cosmetics using the multiple ingredients, with each ingredient combination including two ingredients;

[0018] Generating the ingredient relationship data of the existing cosmetics using each target ingredient combination and the brand, category, and product name of the existing cosmetics.

[0019] Optionally, generating the target ingredient combinations of the existing cosmetics using multiple ingredients includes:

[0020] Combining each ingredient among the multiple ingredients with the remaining ingredients to obtain multiple ingredient combinations;

[0021] Removing duplicates from the multiple ingredient combinations to obtain the multiple ingredient combinations of the existing cosmetics.

[0022] Optionally, the product information includes at least one of the brand, category, and product name of the existing cosmetics. Determining the target cosmetics whose product information includes the demand keywords includes:

[0023] Determining the existing cosmetics whose brand, category, or product name includes the demand keywords as the target cosmetics.

[0024] Optionally, generating an ingredient relationship graph according to the ingredient combinations of the target cosmetics in the ingredient relationship data includes:

[0025] Extracting the multiple ingredient combinations of the target cosmetics from the ingredient relationship data to obtain multiple target ingredient combinations;

[0026] Counting the number of cosmetics of the target cosmetics that include the same target ingredient combination;

[0027] Generating an ingredient relationship graph using the ingredients of the target ingredient combination and the number of cosmetics.

[0028] Optionally, generating an ingredient relationship graph using the ingredients of the target ingredient combination and the number of cosmetics includes:

[0029] Generating nodes of the ingredients in all target ingredient combinations;

[0030] Traversing each target ingredient combination and connecting the nodes of the two ingredients in each target ingredient combination with a line segment;

[0031] Marking the number of cosmetics on the line segment to obtain the ingredient relationship graph.

[0032] In a second aspect, the present invention provides a device for generating a cosmetic formulation, comprising:

[0033] a component relationship data acquisition module configured to acquire component relationship data of existing cosmetics, wherein the component relationship data includes at least one component combination of the existing cosmetics and product information of the existing cosmetics;

[0034] a keyword receiving module configured to receive a demand keyword for generating a cosmetic formulation;

[0035] a target cosmetic determination module configured to determine a target cosmetic whose product information includes the demand keyword;

[0036] a graph generation module configured to generate a component relationship graph according to the component combination of the target cosmetic in the component relationship data;

[0037] a graph display module configured to display the component relationship graph.

[0038] In a third aspect, the present invention provides an electronic device, the electronic device comprising:

[0039] at least one processor; and

[0040] a memory communicatively connected to the at least one processor; wherein,

[0041] the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the cosmetic formulation generation method according to the first aspect of the present invention.

[0042] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing a processor to implement the cosmetic formulation generation method according to the first aspect of the present invention when executed.

[0043] In the embodiments of the present invention, the obtained composition relationships of existing cosmetics include the composition combinations of existing cosmetics and product information. When receiving the demand keywords for generating a cosmetics formula, the existing cosmetics whose product information includes the demand keywords can be determined as target cosmetics, and the composition relationship graph is generated using the composition combination of the target cosmetics and displayed, so that R & D personnel can select target ingredients to generate a formula with reference to the composition relationship graph of the existing cosmetics, realizing that inputting demand keywords can generate a composition relationship graph to assist R & D personnel in generating a cosmetics formula. Through the composition relationship graph, the relationships between various ingredients can be visually displayed, which can not only generate a cosmetics formula that meets the requirements, but also save the time for R & D personnel to determine the cosmetics ingredients and improve the efficiency of cosmetics formula design.

[0044] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. Brief Description of the Drawings

[0045] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0046] Figure 1 is a flowchart of a method for generating a cosmetics formula provided in Embodiment 1 of the present invention;

[0047] Figure 2 is a flowchart of a method for generating a cosmetics formula provided in Embodiment 2 of the present invention;

[0048] Figure 3 is a schematic diagram of a composition relationship graph;

[0049] Figure 4 is a flowchart of an example for generating a cosmetics formula;

[0050] Figure 5 is a schematic structural diagram of a device for generating a cosmetics formula provided in Embodiment 3 of the present invention;

[0051] Figure 6 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present invention. Detailed Embodiments

[0052] To enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of protection of the present invention.

[0053] Embodiment 1

[0054] Figure 1 The following is a flowchart of a method for generating a cosmetic formula provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of determining a cosmetic ingredient to generate a formula. This method can be executed by a cosmetic formula generation device, which can be implemented in the form of hardware and / or software and can be configured in an electronic device. As Figure 1 shown, the method for generating a cosmetic formula includes:

[0055] S101. Obtain the ingredient relationship data of existing cosmetics. The ingredient relationship data includes at least one ingredient combination of existing cosmetics and the product information of existing cosmetics.

[0056] Existing cosmetics can be cosmetics that have been developed and even launched and have been filed for cosmetics. The ingredient relationship data can be an ingredient combination of two or more ingredients in a cosmetic and product information. The product information can include information such as the brand, category, and name of the existing cosmetics, and can also include summary information, such as summary information on efficacy, usage, etc.

[0057] In one embodiment, the ingredient list of existing cosmetics can be extracted from the filing data of existing cosmetics, multiple ingredients can be determined from the ingredient list, and any two or more ingredients can be used to form an ingredient combination from the multiple ingredients as the ingredient relationship data of the existing cosmetics. In the ingredient data of an existing cosmetic, multiple ingredient combinations can be included, and the multiple ingredient combinations have the same product information.

[0058] The ingredient relationship data of existing cosmetics can be pre-generated and stored in a database, the ingredient relationship data can be loaded from the database, or the ingredient relationship data can be generated after real-time obtaining the filing data of existing cosmetics.

[0059] S102. Receive the demand keyword for generating a cosmetic formula.

[0060] This embodiment can provide a user interaction interface, where R & D personnel can input demand keywords for generating a cosmetic formula on the interaction interface. The demand keywords can include the brand, category, name, efficacy, etc. of existing cosmetics for reference. Exemplarily, the demand keywords input by the R & D personnel can be Q = {moisturizing, color-changing, lip balm}, so as to generate a lip balm with moisturizing and color-changing effects. After the user inputs text information on the interaction interface, the text information can be segmented to obtain multiple demand keywords.

[0061] S103. Determine the target cosmetics whose product information includes demand keywords.

[0062] In the ingredient relationship data, in addition to including ingredient combinations, each ingredient combination also corresponds to product information, which can include information such as the brand, category, name, etc. of existing cosmetics with this ingredient combination. When at least one of the brand, category, name, etc. includes demand keywords, the corresponding existing cosmetics are determined as target cosmetics.

[0063] S104. Generate an ingredient relationship graph according to the ingredient combinations of the target cosmetics in the ingredient relationship data.

[0064] After determining the target cosmetics, the ingredient combinations of the target cosmetics can be read from the ingredient relationship data to obtain multiple ingredient combinations, and an ingredient relationship graph is generated using the ingredients in the multiple ingredient combinations.

[0065] Exemplarily, for each ingredient combination, the number of existing cosmetics including this ingredient combination can be counted. Two nodes represent the two ingredients in the ingredient combination, the two nodes are connected, and the number of existing cosmetics including this ingredient combination is marked on the connection line, thereby generating an ingredient relationship graph. That is, in the ingredient relationship graph, the nodes represent ingredients, the connection lines between the nodes represent that the two ingredients corresponding to the nodes are simultaneously used in existing cosmetics, and the number represents the number of existing cosmetics that use the two ingredients simultaneously.

[0066] S105. Display the ingredient relationship graph.

[0067] After generating the ingredient relationship graph, since the ingredient relationship graph is generated according to the ingredient combinations of the target cosmetics determined by the demand keywords, the ingredient relationship graph can meet the ingredients, ingredient combinations required for the cosmetics that meet the requirements, and the number of existing cosmetics using each ingredient combination. After displaying the ingredient relationship graph, R & D personnel can select target ingredients to generate a cosmetic formula with reference to the usage quantity of the ingredient combinations in the ingredient relationship graph.

[0068] In the embodiments of the present invention, the obtained ingredient relationships of existing cosmetics include the ingredient combinations of existing cosmetics and product information. When receiving a demand keyword for generating a cosmetics formula, the existing cosmetics whose product information includes the demand keyword can be determined as target cosmetics, and an ingredient relationship graph is generated using the ingredient combinations of the target cosmetics and displayed, so that R & D personnel can refer to the ingredient relationship graph of existing cosmetics to select target ingredients to generate a formula, realizing that inputting a demand keyword generates an ingredient relationship graph to assist R & D personnel in generating a formula. Through the ingredient relationship graph, the relationships between various ingredients can be visually displayed, which can not only generate a cosmetics formula that meets the requirements, but also save the time for R & D personnel to determine cosmetics ingredients and improve the efficiency of cosmetics formula design.

[0069] Embodiment 2

[0070] Figure 2 As shown in the flowchart of a cosmetics formula generation method provided by Embodiment 2 of the present invention, the embodiments of the present invention are optimized on the basis of Embodiment 1 above, such as Figure 2 shown, the cosmetics formula generation method includes:

[0071] S201. Obtain the filing data of existing cosmetics.

[0072] The filing data of cosmetics may include the product information and ingredient list of cosmetics. The product information may include information such as the brand, category, and name of cosmetics. The filing certificate data of existing cosmetics on the market can be collected from the Internet.

[0073] In an optional embodiment, the market share, sales volume, production volume, etc. of cosmetics can also be counted to determine popular cosmetics, and the filing data of popular cosmetics can be collected from the Internet. The following Table 1 is an example of the filing data:

[0074] Table 1:

[0075]

[0076] As shown in Table 1, the filing data may include the brand, category, product name of existing cosmetics, and the ingredient list, where the ingredient list includes multiple ingredients used in the existing cosmetics.

[0077] S202. Extract the brand, category, product name, and ingredient list of existing cosmetics from the filing data.

[0078] If the record-filing data is in a table, the corresponding field content can be extracted through fields such as brand, category, product name, and ingredient list in the table to obtain the brand, category, product name, and ingredient list content of the existing cosmetics. As shown in Table 1 above, the brand is "XXX", the category is "eye cream", the product name is "XXX Anti-aging Eye Cream", and the ingredient list is "water, butylene glycol, dipropylene glycol...".

[0079] S203. Generate ingredient relationship data of the existing cosmetics according to the brand, category, product name, and ingredient list. The ingredient relationship data includes at least one ingredient combination of the existing cosmetics and at least one item among the brand, category, and product name.

[0080] In one embodiment, for each existing cosmetic, multiple ingredients can be determined from the ingredient list, and ingredient combinations of the existing cosmetics are generated using the multiple ingredients. Each ingredient combination includes two ingredients, and ingredient relationship data of the existing cosmetics is generated using each target ingredient combination and the brand, category, and product name of the existing cosmetics.

[0081] Specifically, when generating ingredient combinations, each ingredient among the multiple ingredients can be combined with the remaining ingredients to obtain multiple ingredient combinations, and duplicate processing is performed on the multiple ingredient combinations to obtain multiple ingredient combinations of the existing cosmetics.

[0082] Taking the existing cosmetics in Table 1 as an example, the multiple ingredients extracted are shown in Table 2 below:

[0083] Table 2:

[0084] Brand Category Product Name Ingredient XXX Eye Cream XXX Anti-aging Eye Cream Water XXX Eye Cream XXX Anti-aging Eye Cream Butylene Glycol XXX Eye Cream XXX Anti-aging Eye Cream Dipropylene Glycol XXX Eye Cream XXX Anti-aging Eye Cream 1,2-Pentanediol XXX Eye Cream XXX Anti-aging Eye Cream ……

[0085] From Table 1 to Table 2, each ingredient is extracted from the ingredient list and filled in a row in the column where the ingredient field is located.

[0086] Further, for each ingredient, an ingredient combination is formed with each ingredient in the ingredient list to obtain Table 3:

[0087] Brand Category Product Name Ingredient A Ingredient B XXX Eye Cream XXX Anti-aging Eye Cream Butylene Glycol Butylene Glycol XXX Eye Cream XXX Anti-aging Eye Cream Butylene Glycol Water XXX Eye Cream XXX Anti-aging Eye Cream Butylene Glycol Dipropylene Glycol XXX Eye Cream XXX Anti-aging Eye Cream Butylene Glycol 1,2-Pentanediol XXX Eye Cream XXX Anti-aging Eye Cream Butylene Glycol (Omitted)

[0088] That is, for all ingredients in Table 2, each ingredient forms an ingredient combination with each ingredient in the ingredient list. Taking butylene glycol as ingredient A as an example, each ingredient (including butylene glycol itself) in the ingredient list is ingredient B, and ingredient combinations such as butylene glycol + butylene glycol, butylene glycol + water, butylene glycol + dipropylene glycol can be formed. By analogy, the ingredient combinations generated when butylene glycol is ingredient A with each ingredient are obtained, and then the next ingredient is used as ingredient A, and similarly, multiple ingredient combinations are obtained, resulting in all ingredient combinations of an existing cosmetic.

[0089] After obtaining all the ingredient combinations of an existing cosmetic, the ingredient combinations where ingredient A and ingredient B are the same can be removed. For example, in the first row of Table 3, both ingredient A and ingredient B are butylene glycol, so this row can be removed.

[0090] Based on Table 3, add a new column of ingredient A + ingredient B to obtain the following Table 4:

[0091] Table 4:

[0092]

[0093]

[0094] As shown in Table 4 above, there are duplicate combinations of "dipropylene glycol + butylene glycol". After removing the duplicates, the final multiple ingredient combinations of an existing cosmetic are obtained. The following Table 5 is an example of the ingredient combinations of multiple existing cosmetics:

[0095] Table 5:

[0096]

[0097]

[0098] In Table 5, there are two existing cosmetics. The ingredient relationship data of the existing cosmetic AAA color-changing lip balm includes the brand, category, product name of the cosmetic AAA color-changing lip balm, and three ingredient combinations. Similarly, the ingredient relationship data of the existing cosmetic XXX color-changing lip balm includes the brand, category, product name of the cosmetic XXX color-changing lip balm, and six ingredient combinations. The final data in Table 5 is the ingredient relationship data of the existing cosmetics. Of course, in actual applications, the ingredient relationship data can include more ingredient combinations of more existing cosmetics, and the ingredient relationship data can be stored in a database.

[0099] In this embodiment, after parsing the ingredient list of the existing cosmetic to obtain multiple ingredients, two ingredients are used to generate ingredient combinations to generate ingredient relationship data, so that the ingredients included in the ingredient combination are the fewest, the granularity of the ingredient combination is finer, and the ingredient combination can be represented by node connections in the subsequent generated ingredient relationship graph.

[0100] S204. Receive the demand keywords for generating the cosmetic formula.

[0101] This embodiment can provide a user interaction interface. R & D personnel can input the demand keywords for generating the cosmetic formula in the interaction interface. Exemplarily, the demand keywords input by the R & D personnel can be Q = {moisturizing, color-changing, lip balm}.

[0102] S205. Identify at least one existing cosmetic whose brand, category, or product name includes the demand keywords as the target cosmetic.

[0103] Specifically, existing cosmetics that meet the requirement keywords can be matched in the composition relationship data. Taking Q = {moisturizing, color-changing, lip balm} as an example, after matching, the target cosmetics in Table 5 can be obtained, that is, cosmetics with the category of lip balm and having the moisturizing or color-changing effect are used as target cosmetics.

[0104] S206. Extract multiple ingredient combinations of the target cosmetics from the composition relationship data to obtain multiple target ingredient combinations.

[0105] Specifically, in Table 5, the columns where ingredient A and ingredient B of the target cosmetics are located are retained to obtain multiple target ingredient combinations of the multiple target cosmetics.

[0106] S207. Count the number of cosmetics of the target cosmetics that include the same target ingredient combination.

[0107] That is, for the target ingredient combination including ingredient A and ingredient B, there may be multiple existing cosmetics with this target ingredient combination. Taking butylene glycol + water as the target ingredient combination as an example, it is possible that multiple lip balms of different brands and series use butylene glycol and water. Then, the number of all cosmetics using butylene glycol and water can be counted to obtain the number of cosmetics with the same target ingredient combination. As shown in Table 6, the number of cosmetics using the target ingredient combination butylene glycol + water is 90, and the number of cosmetics using the target ingredient combination butylene glycol + dipropylene glycol is 86.

[0108] Table 6:

[0109] Ingredient A Ingredient B Quantity C Butylene Glycol Water 90 Butylene Glycol Dipropylene Glycol 86 Butylene Glycol 1,2-Pentanediol 58 Dipropylene Glycol Water 40 Dipropylene Glycol 1,2-Pentanediol 89

[0110] S208. Generate a composition relationship graph using the ingredients and the number of cosmetics of the target ingredient combination.

[0111] Specifically, nodes of the ingredients in all target ingredient combinations can be generated. Traverse each target ingredient combination, connect the nodes of the two ingredients in each target ingredient combination with a line segment, and label the number of cosmetics on the line segment to obtain the composition relationship graph.

[0112] As Figure 3 shown, nodes of the ingredients included in multiple target ingredient combinations can be generated on the canvas. The same ingredient can be represented by one node. Then, traverse each target ingredient combination, connect the corresponding nodes of the two ingredients in this target ingredient combination with a line segment, and label the number C of cosmetics using this target ingredient combination on this line segment to obtain Figure 3 the composition relationship graph shown.

[0113] S209. Display the composition relationship graph.

[0114] After the ingredient relationship graph is displayed on the interaction interface, R & D personnel can intuitively obtain the ingredients used in existing cosmetics and the number of cosmetics using the ingredients from the ingredients represented by the two nodes in the relationship graph and the number of cosmetics marked on the connection line, so as to refer to the selected ingredients to generate a formula. For example, a formula can be generated by selecting a combination of ingredients with large values.

[0115] Figure 4 The following is a flowchart showing an example of generating a cosmetics formula, as Figure 4 shown. The data collection module 110 collects the filing data of existing cosmetics and further processes it to generate the original filing data D1. For example, multiple ingredients of each existing cosmetic are extracted. After the original filing data D1 is processed by the data processing module 120, ingredient relationship data D2 is obtained, such as the data shown in Table 5. The ingredient relationship data is stored in the database through the data storage module 130. When the user inputs a demand keyword in the user interaction module 150, the data storage module 130 uses the demand keyword as a condition to filter out the data D3 that meets the conditions. For example, multiple ingredient combinations of the target cosmetics are extracted. The data visualization module 140 samples the data D3 to generate an ingredient relationship graph D4, and the user interaction module 150 displays the ingredient relationship graph D4. The user can select ingredients from it as a result to generate a formula.

[0116] In this embodiment, after collecting the filing data of existing cosmetics, the brand, category, product name, and ingredient list of the existing cosmetics are extracted to generate the ingredient relationship data of the existing cosmetics. After receiving the demand keyword for generating a cosmetics formula, at least one of the brand, category, and product name that includes the demand keyword is determined as the target cosmetics. Multiple ingredient combinations of the target cosmetics are extracted from the ingredient relationship data to obtain multiple target ingredient combinations, and the number of cosmetics of the target cosmetics including the same target ingredient combination is counted. The ingredients and the number of cosmetics of the target ingredient combination are used to generate an ingredient relationship graph, and the ingredient relationship graph is displayed, so that R & D personnel can refer to the ingredient relationship graph of existing cosmetics to select target ingredients to generate a formula, realizing that inputting a demand keyword generates an ingredient relationship graph to assist R & D personnel in designing and generating a formula. Through the ingredient relationship graph, the relationship between each ingredient can be visually displayed, which can not only generate a cosmetics formula that meets the requirements, but also save the time for R & D personnel to determine cosmetics ingredients and improve the efficiency of cosmetics formula design.

[0117] Embodiment III

[0118] Figure 5 The following is a schematic structural diagram of a cosmetics formula generation device provided in Embodiment III of the present invention. As Figure 5 shown, the cosmetics formula generation device includes:

[0119] The ingredient relationship data acquisition module 501 is configured to acquire the ingredient relationship data of existing cosmetics, where the ingredient relationship data includes at least one ingredient combination of the existing cosmetics and the product information of the existing cosmetics;

[0120] The keyword receiving module 502 is configured to receive the requirement keywords for generating the cosmetics formula;

[0121] The target cosmetics determination module 503 is configured to determine the target cosmetics whose product information includes the requirement keywords;

[0122] The graph generation module 504 is configured to generate an ingredient relationship graph according to the ingredient combination of the target cosmetics in the ingredient relationship data;

[0123] The graph display module 505 is configured to display the ingredient relationship graph.

[0124] Optionally, the ingredient relationship data acquisition module 501 includes:

[0125] The filing data acquisition unit is configured to acquire the filing data of existing cosmetics;

[0126] The data extraction unit is configured to extract the brand, category, product name, and ingredient list of the existing cosmetics from the filing data;

[0127] The ingredient relationship data generation unit is configured to generate the ingredient relationship data of existing cosmetics according to the brand, category, product name, and ingredient list.

[0128] Optionally, the ingredient relationship data generation unit includes:

[0129] The ingredient determination subunit is configured to determine multiple ingredients from the ingredient list for each existing cosmetic;

[0130] The ingredient combination generation subunit is configured to generate the ingredient combinations of the existing cosmetics by using multiple ingredients, and each ingredient combination includes two ingredients;

[0131] The ingredient relationship data generation subunit is configured to generate the ingredient relationship data of existing cosmetics by using each target ingredient combination and the brand, category, and product name of the existing cosmetics.

[0132] Optionally, the ingredient combination generation unit is specifically configured to:

[0133] Combine each ingredient in multiple ingredients with the remaining ingredients to obtain multiple ingredient combinations;

[0134] Perform duplicate removal processing on multiple ingredient combinations to obtain the multiple ingredient combinations of the existing cosmetics.

[0135] Optionally, the product information includes at least one of the brand, category, and product name of existing cosmetics. The target cosmetics determination module 503 includes:

[0136] A target cosmetics determination unit, configured to determine at least one of the brand, category, and product name that includes the existing cosmetics with the demand keyword as the target cosmetics.

[0137] Optionally, the atlas generation module 504 includes:

[0138] A target combined ingredient extraction unit, configured to extract multiple ingredient combinations of the target cosmetics from the ingredient relationship data to obtain multiple target ingredient combinations;

[0139] A cosmetics quantity statistics unit, configured to count the quantity of cosmetics of the target cosmetics that include the same target ingredient combination;

[0140] An atlas generation unit, configured to generate an ingredient relationship atlas by using the ingredients of the target ingredient combination and the quantity of cosmetics.

[0141] Optionally, the atlas generation unit includes:

[0142] A node generation subunit, configured to generate nodes of the ingredients in all target ingredient combinations;

[0143] A node connection subunit, configured to traverse each target ingredient combination and connect the nodes of two ingredients in each target ingredient combination with a line segment;

[0144] A quantity annotation subunit, configured to annotate the quantity of cosmetics on the line segment to obtain an ingredient relationship atlas.

[0145] The cosmetics formula generation device provided by the embodiments of the present invention can execute the cosmetics formula generation method provided by any embodiment of the present invention, and has corresponding function modules and beneficial effects for executing the method.

[0146] Embodiment 4

[0147] Figure 6 FIG. shows a schematic structural diagram of an electronic device 60 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described herein and / or claimed.

[0148] As shown Figure 6 in FIG. 1, the electronic device 60 includes at least one processor 61 and a memory communicatively connected to the at least one processor 61, such as a read-only memory (ROM) 62, a random access memory (RAM) 63, etc. The memory stores a computer program executable by the at least one processor. The processor 61 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 62 or the computer program obtained from the storage unit 68 to the random access memory (RAM) 63. In the RAM 63, various programs and data required for the operation of the electronic device 60 can also be stored. The processor 61, the ROM 62, and the RAM 63 are connected to each other via a bus 64. An input / output (I / O) interface 65 is also connected to the bus 64.

[0149] Multiple components in the electronic device 60 are connected to the I / O interface 65, including: an input unit 66, such as a keyboard, a mouse, etc.; an output unit 67, such as various types of displays, speakers, etc.; a storage unit 68, such as a magnetic disk, an optical disc, etc.; and a communication unit 69, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 69 allows the electronic device 60 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0150] The processor 61 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 61 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 61 executes the various methods and processes described above, such as the cosmetic formulation generation method.

[0151] In some embodiments, the cosmetic formulation generation method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 68. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 60 via the ROM 62 and / or the communication unit 69. When the computer program is obtained by the RAM 63 and executed by the processor 61, one or more steps of the cosmetic formulation generation method described above can be executed. Alternatively, in other embodiments, the processor 61 can be configured to execute the cosmetic formulation generation method by any other appropriate means (e.g., by means of firmware).

[0152] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0153] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0154] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0155] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0156] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0157] The computing system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0158] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0159] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for generating a cosmetic formula, characterized in that: include: Acquiring ingredient relationship data of existing cosmetics, wherein the ingredient relationship data includes at least one ingredient combination of the existing cosmetics and product information of the existing cosmetics; Receive keywords for generating cosmetic formulas; Determine the target cosmetics whose product information includes the demand keywords; Generate a component relationship map according to the component combination of the target cosmetic in the component relationship data; Displaying the component relationship map; Among them, obtaining the ingredient relationship data of existing cosmetics includes: For each existing cosmetic, a plurality of ingredients are identified from an ingredient list of the existing cosmetic; Using multiple ingredients to generate the ingredient combination of the existing cosmetics, each ingredient combination includes two ingredients; Generate ingredient relationship data of existing cosmetics using each target ingredient combination and the brand, category, and product name of the existing cosmetics; Generating a component relationship map according to the component combination of the target cosmetic in the component relationship data includes: Extracting multiple component combinations of the target cosmetics from the component relationship data to obtain multiple target component combinations; Count the number of cosmetics that include the same target ingredient combination; generating a component relationship map using the components of the target component combination and the quantity of the cosmetic; Generating an ingredient relationship map using the ingredients of the target ingredient combination and the quantity of the cosmetics includes: Generate nodes of components in all target component combinations; Traverse each target component combination and connect the nodes of two components in each target component combination with a line segment; The quantity of the cosmetics is marked on the line segment to obtain a component relationship map.

2. The method for generating a cosmetic formula according to claim 1, characterized in that: Before determining multiple ingredients from the ingredient list of each existing cosmetic, the following is also included: Obtaining registration data of existing cosmetics; The brand, category, product name and ingredient list of the existing cosmetics are extracted from the registered data.

3. The method for generating a cosmetic formula according to claim 1, characterized in that: The target ingredient combination of the existing cosmetics is generated by using multiple ingredients, including: combining each of the plurality of components with the remaining components to obtain a plurality of component combinations; The multiple component combinations are deduplicated to obtain the multiple component combinations of the existing cosmetics.

4. The method for generating a cosmetic formula according to any one of claims 1 to 3, characterized in that: The product information includes at least one of the brand, category, and product name of existing cosmetics, and determining the target cosmetics whose product information includes the demand keyword includes: Existing cosmetics whose brand, category, and product name at least one of which includes the demand keyword are determined as target cosmetics.

5. A cosmetic formula generating device, characterized in that: include: An ingredient relationship data acquisition module, used to acquire ingredient relationship data of existing cosmetics, wherein the ingredient relationship data includes at least one ingredient combination of the existing cosmetics and product information of the existing cosmetics; A keyword receiving module, used for receiving keywords required for generating cosmetic formulas; A target cosmetics determination module, used to determine the target cosmetics whose product information includes the demand keywords; A graph generation module, used to generate a component relationship graph according to the component combination of the target cosmetic in the component relationship data; A graph display module, used to display the component relationship graph; Wherein, the component relationship data acquisition module includes: a component relationship data generation unit; The component relationship data generating unit comprises: An ingredient determination subunit, for determining, for each existing cosmetic, a plurality of ingredients from an ingredient list of the existing cosmetic; An ingredient combination generating subunit, used to generate an ingredient combination of the existing cosmetics using a plurality of ingredients, each ingredient combination including two ingredients; An ingredient relationship data generating subunit, for generating ingredient relationship data of existing cosmetics using each target ingredient combination and the brand, category, and product name of the existing cosmetics; The graph generation module comprises: A target combination component extraction unit, used to extract multiple component combinations of the target cosmetics from the component relationship data to obtain multiple target component combinations; A cosmetic quantity counting unit, used to count the number of cosmetics including target cosmetics with the same target ingredient combination; A graph generating unit, for generating a component relationship graph using the components of the target component combination and the quantity of the cosmetics; The atlas generating unit comprises: A node generation subunit, used to generate nodes of components in all target component combinations; A node connection subunit is used to traverse each target component combination and connect the nodes of two components in each target component combination with a line segment; The quantity marking subunit is used to mark the quantity of the cosmetics on the line segment to obtain a component relationship map.

6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the cosmetic formula generating method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cosmetic formula generation method according to any one of claims 1 to 4 when executed.

Citation Information

Patent Citations

  • Blending method of mask formula

    CN117275613A

  • Cosmetic data processing method and device, electronic equipment and medium

    CN117556013A