Cosmetic whole-process information tracing method and system

By counting the overall focus focus of the user category in the blockchain and the popularity of cosmetics, accurately identify the attention links of consumer users, solve the problem of inaccurate the focus of attention in the existing technology, and improve the efficiency of cosmetics traceability and user experience.

CN119379318AInactive Publication Date: 2025-01-28国品优选(北京)品牌管理有限公司

Patent Information

Application Number
CN202411980269.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-01-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is difficult to accurately determine the focus links of consumer users in the process of traceability of cosmetic information, resulting in the inability to accurately push the traceability information of the focus link, affecting the traceability efficiency.

Method used

By obtaining the process information of cosmetics in the blockchain and access user category, statistical statistics of the overall focusing degree of each user category for each link, combined with the production information of cosmetics to calculate the popularity, determine the inquiries of consumer users The core concern of the user category is pushed and pushed.

Benefits of technology

The accurate identification and push of consumer users' attention are implemented, and the retrospective efficiency and user experience of cosmetics are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119379318A_ABST
    Figure CN119379318A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of block chain information traceability, in particular to a cosmetic whole-process information traceability method and system. According to the method, for other user categories except for consumer user categories, the overall focusing degree of each other user category for each link is determined through a data statistics method. And for the consumer user, determining a comparison node under each query node, and determining the popularity of each cosmetic based on the production information of the cosmetics, thereby obtaining the overall focusing degree of the consumer user category for each link. And accurate core concerned links can be obtained and pushed based on the overall focusing degree of each access user category for each link. According to the method, the access behaviors of the consumer user in the cosmetic traceability process are analyzed and counted, the accurate access features are determined, then the core concerned link is obtained and pushed, and the cosmetic traceability efficiency and experience are optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blockchain information traceability, and in particular to a method and system for tracing information on the entire cosmetics process. Background Art

[0002] A traceability QR code will be printed on the packaging of cosmetic products. Users can scan the QR code to retrieve detailed information on the links in the cosmetics production process on the traceability blockchain, which can help users clearly understand the production process of the product, such as the source of raw materials and quality inspection conditions, equipment parameters in the production process, personnel operation process, product transportation and storage conditions, etc., so that visitors can have a more comprehensive understanding of the product.

[0003] In the actual tracing process, different types of users pay attention to different links. During the query process, it is necessary to push information about the links that the user category pays attention to, so as to facilitate information tracing. For example, distributors will pay more attention to the supply stability and price advantage of cosmetic products; regulatory agencies focus on product testing results; and the links that consumers pay attention to are not stable. For consumers, there are a lot of people who scan the traceability QR code out of curiosity or other reasons, which makes the information reference degree of the consumer user's query process weak. If at this time, if the other user categories are the same, the links that the consumer user pays attention to are determined based on the browsing information of the query link, it will lead to inaccurate determination of the links that the consumer user category pays attention to, and it cannot truly reflect the consumer user's attention to the link. Summary of the invention

[0004] In order to solve the technical problem that the prior art cannot accurately determine the links of concern to consumers in the information traceability process, and thus cannot accurately push the traceability information of the links of concern to users, affecting the traceability efficiency, the purpose of the present invention is to provide a method and system for tracing the information of the entire process of cosmetics. The technical solutions adopted are as follows: The present invention proposes a method for tracing the information of the entire cosmetics process, the method comprising: Obtaining the access user category of the target cosmetics in the blockchain constructed by the process information of the cosmetics; the access user category includes a consumer user category and a plurality of other user categories; For each other user category, the overall focus of each other user category on each link is obtained based on the browsing information of other users in the category on the cosmetics process links in the blockchain; Counting the production information of each cosmetic in the blockchain within a preset time period, the production information includes the number of production batches and the number of cosmetics in each production batch; obtaining a first demand for the cosmetics according to the growth trend of the number of production batches within the preset time period; counting the number of cosmetics in each production batch to obtain a second demand, and obtaining the popularity of each cosmetic according to the first demand and the second demand; For each consumer user in the consumer user category, the behavior of the consumer user inquiring about the process information of a certain link of the target cosmetics in the blockchain is taken as a query node, and the consumer user's query behavior on the same link of other cosmetics within the preset time neighborhood of the query node is taken as a comparison node; the query focus of the query node is obtained according to the popularity of other cosmetics corresponding to the comparison node; all query focus of the consumer users in the consumer user category for each link is counted to obtain the overall focus of the consumer user category for each link; The core concerned links of each visiting user category are screened out according to the overall focus, and the information of the core concerned links is pushed to the corresponding visiting user category.

[0005] Furthermore, obtaining the overall focus of each other user category on each link includes: For each other user category, count the number of times other users browse a single link and the browsing time of each browse, obtain the initial focus of the other users on the single link based on the number of browses and the browsing time, and take the average of the initial focus of all other users in the other user category on the single link as the overall focus of the other user category on the single link.

[0006] Furthermore, the method for obtaining the first demand degree includes: For a cosmetic, the number of production batches per unit time in a preset time period is counted, and the number of production batches per unit time is arranged into a production batch number sequence in chronological order; a difference sequence is obtained by subtracting a previous element from a later element in the production batch number sequence; and an average value of the elements in the difference sequence is used as the first demand degree.

[0007] Furthermore, the method for obtaining the second demand degree includes: For a type of cosmetics, the average quantity of cosmetics of all production batches in each unit time in a preset time period is counted, and the average of the average quantity of cosmetics in all unit times in the preset time period is taken as the second demand degree.

[0008] Furthermore, the method for obtaining the popularity includes: The first demand degree and the second demand degree are normalized respectively and then multiplied to obtain the popularity.

[0009] Furthermore, the method for obtaining the query focus includes: For each query node, the popularity of all corresponding comparison nodes is accumulated to obtain the query focus of the query node.

[0010] Furthermore, obtaining the overall focus of the consumer user category on each link includes: For a consumer user category, the average of the query focus of all query nodes of each consumer user is taken as the initial focus of the consumer user, and the average initial focus of all consumer users is taken as the overall focus of the consumer user category.

[0011] Furthermore, the core focus link is the link corresponding to the maximum overall focus of each visiting user category.

[0012] Furthermore, the preset time period is one year, and the production information is counted with each month as the unit time.

[0013] The present invention also proposes a cosmetics full-process information traceability system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the steps of the cosmetics full-process information traceability method when executing the computer program.

[0014] The present invention has the following beneficial effects: The embodiment of the present invention first determines the overall focus of each other user category on each link for other user categories except the consumer user category through data statistics method. Taking into account the instability of consumer users in the traceability process, the real traceability demand of consumer users is to determine the information such as the ingredient safety of cosmetic products, which are usually compared with other cosmetics. Therefore, for consumer users, the comparison nodes under each query node are determined. The higher the popularity of the cosmetics corresponding to the comparison node, the more attention the consumer user pays to the information of the link of the current target cosmetics. Therefore, the popularity of each cosmetic is determined based on the production information of the cosmetics, and then the overall focus of the consumer user category on each link is obtained. Based on the overall focus of each visiting user category on each link, the accurate core focus link can be obtained and pushed. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 A flow chart of a method for tracing the source of information of the entire cosmetics process provided by one embodiment of the present invention; Figure 2 This is a batch distribution histogram constructed for a certain type of cosmetics in one embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a method and system for tracing the information of the entire cosmetics process proposed by the present invention, its specific implementation, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0018] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0019] The embodiment of the present invention is based on blockchain technology for traceability. Blockchain has the characteristics of decentralization and immutability. Therefore, blockchain technology is used to link and store the information of each link in the whole process of the product in the form of blocks in sequence on the blockchain. Each block contains certain transaction records and timestamps to ensure the order and immutability of the information. By scanning the QR code on the cosmetics guarantee, the inquirer can obtain detailed information on the whole process of each link of the cosmetics. The specific process of generating the traceability code is: (1) Data collection: The entire process of cosmetics includes: raw material procurement, production and processing, quality inspection, packaging and warehousing, sales and distribution, etc. The information generated by each link in each process can be collected.

[0020] (2) Data on-chain: Upload data to the alliance network and write smart contracts to define data storage rules and access rights. Package the data in the form of transactions and prepare to upload it to the blockchain.

[0021] (3) Storage: The packaged transactions are sent to the blockchain network and verified and recorded by the nodes in the network. Once the transaction is verified and added to the blockchain, the data cannot be tampered with.

[0022] (4) Generate a traceability code: Generate a unique traceability code for each product, which contains a link to the data stored on the blockchain. The generated traceability code is printed on the product packaging. The inquirer can access the data on the blockchain and view the full information of the product by scanning this traceability code.

[0023] It should be noted that blockchain technology and traceability technology are technical means well known to those skilled in the art, and the specific details will not be repeated here.

[0024] The following is a detailed description of a method and system for tracing the information of the entire cosmetics process provided by the present invention in conjunction with the accompanying drawings.

[0025] See also Figure 1 , which shows a flow chart of a cosmetics full-process information traceability method provided by an embodiment of the present invention, the method comprising: Step S1: obtaining the access user category of the target cosmetics in the blockchain constructed by the process information of the cosmetics; the access user category includes the consumer user category and multiple other user categories.

[0026] For the blockchain built with the process information of cosmetics, it contains the information of multiple brands of cosmetics. In the process of tracing, multiple user categories will be involved in the access, such as distributor users, production users, regulatory users, consumer users, etc. Among them, other users except consumer users have fixed access behaviors, and the access behaviors of consumer users are more disordered and chaotic. Therefore, the access user categories of the target cosmetics in the blockchain are divided into consumer user categories and multiple other user categories. That is, the analysis method for each other user category is the same, while the consumer user category needs to be analyzed separately.

[0027] It should be noted that the embodiment of the present invention needs to utilize browsing information, production information and other information in the statistical process of subsequent steps. The information within a preset time period can be counted for subsequent analysis. The preset time period in the embodiment of the present invention is set to one year, in which each month is used as a unit time for specific analysis.

[0028] It should be noted that during the traceability process, the categories of visiting users can be counted through the user's tags, among which other user categories have special marks, and consumer users are labeled as visitors.

[0029] Step S2: For each other user category, the overall focus of each other user category on each link is obtained based on the browsing information of other users in the category on the cosmetics process links in the blockchain.

[0030] For other user categories, their browsing information in each link can be directly counted to determine the overall focus of each other user category on each link. That is, the more they browse and the longer they browse, the more attention they pay to this link.

[0031] Preferably, in one embodiment of the present invention, obtaining the overall focus of each other user category on each link includes: For each other user category, the number of views of other users on a single link and the browsing time of each view are counted, and the initial focus of other users on the single link is obtained based on the number of views and the browsing time. That is, the more views and the longer the browsing time each time, the greater the initial focus on the link. In the embodiment of the present invention, the number of views is normalized, the browsing time of all such views is accumulated and normalized, and the product of the two normalized results is used as the initial focus.

[0032] It should be noted that normalization can be achieved by using technical means well known to those skilled in the art, such as range standardization, function mapping method and other basic mathematical means, which will not be elaborated or limited here.

[0033] The average of the initial focus of all other users in other user categories on a single link is taken as the overall focus of other user categories on a single link.

[0034] Step S3: Counting the production information of each cosmetic in the blockchain within a preset time period, the production information includes the number of production batches and the number of cosmetics in each production batch; obtaining the first demand degree of the cosmetics according to the growth trend of the number of production batches within the preset time period; counting the number of cosmetics in each production batch to obtain the second demand degree, and obtaining the popularity of each cosmetic according to the first demand degree and the second demand degree.

[0035] The access behavior of consumers is complex and uncertain. Consumers may scan the traceability code to perform traceability operations out of curiosity, accidental browsing, or simply want to understand the background of the product, which results in such traceability behavior not being able to truly reflect the attention paid by consumers to a certain link. Compared with such noise data, the comparison behavior of consumers in the traceability process can better reflect the real traceability intention of consumers. Consumers will compare the information of different brands or different cosmetics in the same link, and obtain information such as the quality of ingredients by comparing the information, and then select products that meet their needs. This type of traceability behavior is obviously more referenceable.

[0036] In the comparison process, well-known brands are usually more likely to attract consumers' attention and trust, so well-known brands are more likely to be compared as comparison information. Therefore, in the comparison process, the popularity of the compared cosmetics can be used to indicate the confidence of the comparison process. That is, in a comparison process, the more behaviors are compared and the higher the popularity of the compared cosmetics, the more attention consumers pay to this link of the target cosmetics. Therefore, it is necessary to first count the popularity of each type of cosmetics in the blockchain.

[0037] The popularity of a product is reflected in the market demand, that is, in the sales volume of the product in a certain area. In the blockchain, the traceability code of cosmetic products contains batch number information, and the batch number can indicate the market demand for the product. For example, a certain type of lipstick of a certain brand has many production batches every month, and the output of each batch is relatively high, which means that consumers continue to buy this lipstick at a high level, and the product can maintain high-frequency production and has good supply capacity. Please refer to Figure 2 , which shows a batch distribution histogram constructed for a certain type of cosmetics in one embodiment of the present invention. Figure 2 The horizontal axis represents time, and the time unit is month. The column in each month represents a production batch. The vertical axis is the number of products in the same batch. The number of columns in unit time represents the number of production batches.

[0038] Depend on Figure 2 It can be seen that for a certain cosmetic, as the year progresses, if the popularity is high, the number of production batches of the cosmetic will gradually increase. Therefore, the first demand degree of the cosmetic can be obtained based on the growth trend of the number of production batches within a preset time period. Further considering the number of cosmetics, the more cosmetics there are within a preset time period, the higher the demand for the cosmetic in the market and the higher the popularity. Therefore, the second demand degree can be further obtained. The popularity of each cosmetic can be obtained by combining the first demand degree and the second demand degree.

[0039] Preferably, in one embodiment of the present invention, the method for obtaining the first demand degree includes: For a cosmetic product, the number of production batches per unit time in a preset time period is counted, and the number of production batches per unit time is arranged into a production batch number sequence according to the time sequence; the next element in the production batch number sequence is subtracted from the previous element to obtain a difference sequence. That is, each element in the difference sequence represents the difference in the number of production batches between the next unit time and the previous unit time as the time sequence progresses. The difference is a positive number, and the larger it is, the more the number of production batches is changing with an increasing trend. Therefore, the average value of the elements in the difference sequence is used as the first demand degree, that is, the larger the average value of the element, the greater the growth trend of the number of production batches, and the greater the first demand degree.

[0040] Preferably, in one embodiment of the present invention, the method for obtaining the second demand degree includes: For a type of cosmetics, the average quantity of cosmetics in all production batches in each unit time in a preset time period is counted, and the average of the average quantity of cosmetics in all unit time in the preset time period is taken as the second demand degree. That is, the quantity of cosmetics in all batches is counted by the average value method. The more the quantity of cosmetics, the greater the second demand degree.

[0041] Preferably, in one embodiment of the present invention, the method for obtaining the popularity includes: The first demand degree and the second demand degree are normalized respectively and then multiplied to obtain the popularity. It should be noted that the normalization methods in all steps of the embodiment of the present invention can be implemented by the same technical means, which will not be limited or elaborated herein.

[0042] Step S4: For each consumer user in the consumer user category, the behavior of the consumer user inquiring about the process information of a certain link of the target cosmetics in the blockchain is taken as a query node, and the consumer user's query behavior on the same link of other cosmetics within the preset time neighborhood of the query node is taken as a comparison node; the query focus of the query node is obtained according to the popularity of other cosmetics corresponding to the comparison node; all query focus of the consumer users in the consumer user category for each link is counted to obtain the overall focus of the consumer user category for each link.

[0043] As described in step S3, after determining the popularity of each cosmetic, the comparison information of the consumer user when tracing the target cosmetic can be counted. In the embodiment of the present invention, the behavior of the consumer user querying the process information of a certain link of the target cosmetic in the blockchain is used as a query node, and the consumer user's query behavior of the same link of other cosmetics within the preset time neighborhood of the query node is used as a comparison node. The query focus of the query node can be obtained according to the popularity of other cosmetics corresponding to the comparison node, that is, the more comparison nodes there are and the greater the popularity, the greater the query focus of the query node.

[0044] Preferably, in an embodiment of the present invention, the method for obtaining the query focus includes: For each query node, the popularity of all corresponding comparison nodes is accumulated to obtain the query focus of the query node.

[0045] Further statistics are obtained on all query focus of consumer users in the consumer user category on each link to obtain the overall focus of the consumer user category on each link.

[0046] Preferably, in one embodiment of the present invention, obtaining the overall focus of the consumer user category for each link includes: For the consumer user category, the average of the query focus of all query nodes of each consumer user is taken as the initial focus of the consumer user, and the average initial focus of all consumer users is taken as the overall focus of the consumer user category. Similar to other user categories, each consumer user has an initial focus for a certain link, and the overall focus of the consumer user category for a certain link can be obtained by averaging.

[0047] Step S5: Filter out the core concerned links of each visiting user category according to the overall focus, and push the information of the core concerned links to the corresponding visiting user category.

[0048] At this point, each category of visiting users has an overall focus corresponding to each link, and the core links of concern for each category of visiting users can be screened out based on the overall focus. Then, the information of the core links of concern can be pushed to the corresponding category of visiting users, that is, when the visiting user is tracing the source, after scanning the traceability QR code, the information of the core links of concern can be displayed on the homepage of the query page according to the user attributes, and the user's information query experience can be optimized through sorting or highlighting.

[0049] In one embodiment of the present invention, the core focus link is the link corresponding to the maximum overall focus of each visiting user category.

[0050] In summary, the embodiment of the present invention determines the overall focus of each other user category on each link for user categories other than the consumer user category through a data statistics method. For consumer users, the comparison nodes under each query node are determined, and the popularity of each cosmetic is determined based on the production information of the cosmetics, so as to obtain the overall focus of the consumer user category on each link. Based on the overall focus of each visiting user category on each link, the accurate core focus link can be obtained and pushed. The present invention analyzes and counts the access behavior of consumer users in the process of cosmetics traceability, determines accurate access features, and then obtains the core focus link and pushes it, thereby optimizing the efficiency and experience of cosmetics traceability.

[0051] Based on the same inventive concept, the present invention also proposes a full-process cosmetics information traceability system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any step of a full-process cosmetics information traceability method.

[0052] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0053] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A method for tracing the information of the entire cosmetics process, characterized in that: The method comprises: Obtaining the access user category of the target cosmetics in the blockchain constructed by the process information of the cosmetics; the access user category includes a consumer user category and a plurality of other user categories; For each other user category, the overall focus of each other user category on each link is obtained based on the browsing information of other users in the category on the cosmetics process links in the blockchain; Counting the production information of each cosmetic in the blockchain within a preset time period, the production information includes the number of production batches and the number of cosmetics in each production batch; obtaining a first demand for the cosmetics according to the growth trend of the number of production batches within the preset time period; counting the number of cosmetics in each production batch to obtain a second demand, and obtaining the popularity of each cosmetic according to the first demand and the second demand; For each consumer user in the consumer user category, the behavior of the consumer user inquiring about the process information of a certain link of the target cosmetics in the blockchain is taken as a query node, and the consumer user's query behavior on the same link of other cosmetics within the preset time neighborhood of the query node is taken as a comparison node; the query focus of the query node is obtained according to the popularity of other cosmetics corresponding to the comparison node; all query focus of the consumer users in the consumer user category for each link is counted to obtain the overall focus of the consumer user category for each link; The core concerned links of each visiting user category are screened out according to the overall focus, and the information of the core concerned links is pushed to the corresponding visiting user category.

2. A cosmetics whole process information traceability method according to claim 1, characterized in that: The obtaining of the overall focus of each other user category on each link includes: For each other user category, count the number of times other users browse a single link and the browsing time of each browse, obtain the initial focus of the other users on the single link based on the number of browses and the browsing time, and take the average of the initial focus of all other users in the other user category on the single link as the overall focus of the other user category on the single link.

3. A cosmetics whole process information traceability method according to claim 1, characterized in that: The method for obtaining the first demand degree includes: For a cosmetic, the number of production batches per unit time in a preset time period is counted, and the number of production batches per unit time is arranged into a production batch number sequence in chronological order; a difference sequence is obtained by subtracting a previous element from a later element in the production batch number sequence; and an average value of the elements in the difference sequence is used as the first demand degree.

4. A cosmetics whole process information traceability method according to claim 1, characterized in that: The method for obtaining the second demand degree includes: For a type of cosmetics, the average quantity of cosmetics of all production batches in each unit time in a preset time period is counted, and the average of the average quantity of cosmetics in all unit times in the preset time period is taken as the second demand degree.

5. A cosmetics whole process information traceability method according to claim 1, characterized in that: The method for obtaining the popularity includes: The first demand degree and the second demand degree are normalized respectively and then multiplied to obtain the popularity.

6. A cosmetics whole process information traceability method according to claim 1, characterized in that: The method for obtaining the query focus degree includes: For each query node, the popularity of all corresponding comparison nodes is accumulated to obtain the query focus of the query node.

7. A cosmetics whole process information traceability method according to claim 1, characterized in that: The obtaining of the overall focus of the consumer user category on each link includes: For a consumer user category, the average of the query focus of all query nodes of each consumer user is taken as the initial focus of the consumer user, and the average initial focus of all consumer users is taken as the overall focus of the consumer user category.

8. A cosmetics whole process information traceability method according to claim 1, characterized in that: The core focus link is the link corresponding to the maximum overall focus of each visiting user category.

9. A cosmetics whole process information traceability method according to claim 1, characterized in that: The preset time period is one year, and the production information is counted with each month as the unit time.

10. A cosmetics whole process information traceability system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of a method for tracing information of the entire cosmetics process as described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Message pushing method

    CN107040456A

  • Cosmetic traceability method and device based on blockchain, and medium

    CN110992058A

  • Block chain-based imported cosmetic traceability method and device and medium

    CN111008845A

  • Commodity traceability method, system and device and storage medium

    CN116629898A

  • Internet-based data mining method and system

    CN117114823A

Cited By

  • Product traceability authentication full-process management system

    CN121169434A