A cream production information processing method based on supply chain
By generating a global traversal model and a hash encryption function to process supply chain data, it solves the problem of food processing enterprises protecting the security of raw material formulas in cream production, and achieves secure encryption and improved confidentiality of supply chain information.
Patent Information
- Application Number
- CN202410855336.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Food processing companies need to protect the safety of raw material formulas during the cream production process. It is difficult with existing technology to effectively analyze and encrypt supply chain data online to ensure that the formula is not leaked.
By obtaining the supply chain information of the cream production process, a global traversal model is generated, and the supply chain data is encrypted using a hash encryption function to ensure data security.
Effectively screen important supply chain data and generate encryption functions to ensure the security of supply chain information during the cream production process and improve the confidentiality of the formula.
Smart Images

Figure CN118396249B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of information processing, and in particular relates to a cream production information processing method based on a supply chain. Background Art
[0002] For food processing companies, in the process of producing and processing cream foods, they often need to purchase a wide variety of raw materials, and different raw materials often require different storage conditions. The commodity data in the supply chain is transmitted through information flow, which includes important information such as the company, supplier, and sales end. In order to ensure that the raw material formula for cream production and processing is not leaked and to maintain the unique formula of food processing companies, many companies need to perform online analysis and encryption of supply chain data. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a cream production information processing method based on supply chain.
[0004] The technical solution of the present invention is: a cream production information processing method based on a supply chain comprises the following steps:
[0005] S1, obtaining the supply chain information of the cream production process and generating a global traversal model for the supply chain information;
[0006] S2, based on the global traversal model, generate supply chain encryption function;
[0007] S3. Use the supply chain encryption function to encrypt the supply chain information.
[0008] Furthermore, S1 includes the following sub-steps:
[0009] S11, obtaining supply chain data of various supply commodities in the cream production process as supply chain information;
[0010] S12. Build a data multi-core weight for each supply commodity based on the supply chain data of each supply commodity;
[0011] S13, using the evaluation function and each supply commodity to construct a data multi-core weight, and selecting a number of supply chain data from the supply chain information;
[0012] S14. Determine a global traversal model using the selected supply chain data.
[0013] The beneficial effect of the above further scheme is: in the present invention, cream production requires the cooperation of multiple raw materials, such as light cream, low-gluten flour, eggs and milk, etc. Each raw material, as a supply commodity, has corresponding supply chain data. The present invention globally processes the supply chain data of all supply commodities involved in the cream production process, generates data multi-core weights for each supply commodity, and uses the data multi-core weights to screen some more important supply chain data, and finally generates a global traversal model for cream production.
[0014] Furthermore, S12 includes the following sub-steps:
[0015] S121, removing stop words from the supply chain data of the supplied goods, and obtaining standard supply chain data of the supplied goods;
[0016] S122, performing unique hot encoding on each word in the standard supply chain data of the supplied goods, and generating a specific vector for each word;
[0017] S123. Calculate the data multi-core weight of the supply goods based on the specific vector of each word in the standard supply chain data.
[0018] One-hot encoding maps word values to a high-dimensional space, where each word corresponds to a point in the high-dimensional space.
[0019] Furthermore, in S123, the calculation formula of the data multi-core weight q of the supply product is: ; In the formula, X represents the specific vector of the word with the highest word frequency in the standard supply chain data, ε represents the Gaussian kernel parameter, ||·||1 represents the L1 norm operation, x1 represents the specific vector of the first word in the standard supply chain data, d1 represents the dimension of the specific vector of the first word in the standard supply chain data, x2 represents the specific vector of the second word in the standard supply chain data, d2 represents the dimension of the specific vector of the second word in the standard supply chain data, and x N-1 Represents the specific vector of the N-1th word in the standard supply chain data, d N-1 The dimension of a specific vector representing the N-1th word in the standard supply chain data, where N represents the number of words in the standard supply chain data.
[0020] Further, S13 includes the following sub-steps:
[0021] S131, constructing an evaluative function;
[0022] S132, inputting the multi-core weight of the data of each supplied commodity into the evaluation function to obtain the evaluation value of each supplied commodity;
[0023] S133, select the top rated Supply chain data of the supplied goods, including: represents the rounding up function, and N represents the number of goods supplied.
[0024] Furthermore, in S131, the expression of the evaluation function J is: ; In the formula, q represents the multi-core weight of the data of the supplied goods, represents the rounding up function, and N represents the number of goods supplied.
[0025] Furthermore, in S14, the expression of the global traversal model R is: ; In the formula, y i,j represents the word vector of the jth word in the supply chain data of the selected i-th supply product, I represents the number of selected supply products, J represents the number of words in the supply chain data of the selected supply products, and E i+1_i It represents the Dice coefficient between the supply chain data of the selected i-th supply product and the supply chain data of the i+1-th supply product, and e represents the exponent.
[0026] Furthermore, in S2, the expression of the supply chain encryption function G is: ; In the formula, g(·) represents the hash encryption operation, length(·) represents the text length calculation function, text represents the supply chain information of the cream production process, and max(·) represents the maximum value operation.
[0027] The beneficial effect of the above further scheme is: in the present invention, the present invention utilizes the global traversal model value and the text length value of the entire supply chain data, and combines the hash encryption function to generate an encryption function to complete the encryption operation.
[0028] The beneficial effect of the present invention is: the invention takes into account that the cream production process involves a variety of raw materials, and the supply chain data of the raw materials is related to the quality of cream production. Therefore, the present invention performs text analysis on the supply chain data of the raw materials involved in the cream production process, generates a global traversal model, and combines the global traversal model with a hash encryption algorithm to complete the final supply chain information encryption, thereby ensuring the supply chain information security of the entire cream production process and improving the confidentiality of the cream production formula. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 Flowchart of information processing method for supply chain-based cream production. DETAILED DESCRIPTION
[0030] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0031] like Figure 1 As shown, the present invention provides a cream production information processing method based on a supply chain, comprising the following steps:
[0032] S1, obtaining the supply chain information of the cream production process and generating a global traversal model for the supply chain information;
[0033] S2, based on the global traversal model, generate supply chain encryption function;
[0034] S3. Use the supply chain encryption function to encrypt the supply chain information.
[0035] In this embodiment of the present invention, S1 includes the following sub-steps:
[0036] S11, obtaining supply chain data of various supply commodities in the cream production process as supply chain information;
[0037] S12. Build a data multi-core weight for each supply commodity based on the supply chain data of each supply commodity;
[0038] S13, using the evaluation function and each supply commodity to construct a data multi-core weight, and selecting a number of supply chain data from the supply chain information;
[0039] S14. Determine a global traversal model using the selected supply chain data.
[0040] In the present invention, cream production requires the coordination of multiple raw materials, such as light cream, low-gluten flour, eggs and milk. Each raw material, as a supply commodity, has corresponding supply chain data. The present invention globally processes the supply chain data of all supply commodities involved in the cream production process, generates data multi-core weights for each supply commodity, and uses the data multi-core weights to screen some more important supply chain data, and finally generates a global traversal model for cream production.
[0041] In this embodiment of the present invention, S12 includes the following sub-steps:
[0042] S121, removing stop words from the supply chain data of the supplied goods, and obtaining standard supply chain data of the supplied goods;
[0043] S122, performing unique hot encoding on each word in the standard supply chain data of the supplied goods, and generating a specific vector for each word;
[0044] S123. Calculate the data multi-core weight of the supply goods based on the specific vector of each word in the standard supply chain data.
[0045] One-hot encoding maps word values to a high-dimensional space, where each word corresponds to a point in the high-dimensional space.
[0046] In the embodiment of the present invention, in S123, the calculation formula of the data multi-core weight q of the supply product is: ; In the formula, X represents the specific vector of the word with the highest word frequency in the standard supply chain data, ε represents the Gaussian kernel parameter, ||·||1 represents the L1 norm operation, x1 represents the specific vector of the first word in the standard supply chain data, d1 represents the dimension of the specific vector of the first word in the standard supply chain data, x2 represents the specific vector of the second word in the standard supply chain data, d2 represents the dimension of the specific vector of the second word in the standard supply chain data, and x N-1 Represents the specific vector of the N-1th word in the standard supply chain data, d N-1 The dimension of a specific vector representing the N-1th word in the standard supply chain data, where N represents the number of words in the standard supply chain data.
[0047] In this embodiment of the present invention, S13 includes the following sub-steps:
[0048] S131, constructing an evaluative function;
[0049] S132, inputting the multi-core weight of the data of each supplied commodity into the evaluation function to obtain the evaluation value of each supplied commodity;
[0050] S133, select the top rated Supply chain data of the supplied goods, including: represents the rounding up function, and N represents the number of goods supplied.
[0051] In the embodiment of the present invention, in S131, the expression of the evaluation function J is: ; In the formula, q represents the multi-core weight of the data of the supplied goods, represents the rounding up function, and N represents the number of goods supplied.
[0052] In the embodiment of the present invention, in S14, the expression of the global traversal model R is: ; In the formula, y i,j represents the word vector of the jth word in the supply chain data of the selected i-th supply product, I represents the number of selected supply products, J represents the number of words in the supply chain data of the selected supply products, and E i+1_i It represents the Dice coefficient between the supply chain data of the selected i-th supply product and the supply chain data of the i+1-th supply product, and e represents the exponent.
[0053] In the embodiment of the present invention, in S2, the expression of the supply chain encryption function G is: ; In the formula, g(·) represents the hash encryption operation, length(·) represents the text length calculation function, text represents the supply chain information of the cream production process, and max(·) represents the maximum value operation.
[0054] In the present invention, the present invention utilizes the global traversal model value and the text length value of the entire supply chain data, and combines the hash encryption function to generate an encryption function to complete the encryption operation.
[0055] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A cream production information processing method based on supply chain, characterized in that: The following steps are involved: S1, obtaining the supply chain information of the cream production process and generating a global traversal model for the supply chain information; S2, based on the global traversal model, generate supply chain encryption function; S3, using the supply chain encryption function to encrypt the supply chain information; The S1 comprises the following sub-steps: S11, obtaining supply chain data of various supply commodities in the cream production process as supply chain information; S12. Build a data multi-core weight for each supply commodity based on the supply chain data of each supply commodity; S13, using the evaluation function and each supply commodity to construct a data multi-core weight, and selecting a number of supply chain data from the supply chain information; S14, using the selected supply chain data, determining a global traversal model; The S12 comprises the following sub-steps: S121, removing stop words from the supply chain data of the supplied goods, and obtaining standard supply chain data of the supplied goods; S122, performing unique hot encoding on each word in the standard supply chain data of the supplied goods, and generating a specific vector for each word; S123. Calculate the data multi-core weight of the supply goods according to the specific vector of each word in the standard supply chain data; In S123, the calculation formula of the data multi-core weight q of the supply product is: ; In the formula, X represents the specific vector of the word with the highest word frequency in the standard supply chain data, ε represents the Gaussian kernel parameter, ||·||1 represents the L1 norm operation, x1 represents the specific vector of the first word in the standard supply chain data, d1 represents the dimension of the specific vector of the first word in the standard supply chain data, x2 represents the specific vector of the second word in the standard supply chain data, d2 represents the dimension of the specific vector of the second word in the standard supply chain data, and x N-1 Represents the specific vector of the N-1th word in the standard supply chain data, d N-1 The dimension of the specific vector representing the N-1th word in the standard supply chain data, where N represents the number of words in the standard supply chain data; The S13 comprises the following sub-steps: S131, constructing an evaluative function; S132, inputting the multi-core weight of the data of each supplied commodity into the evaluation function to obtain the evaluation value of each supplied commodity; S133, select the top rated Supply chain data of the supplied goods, including: represents the rounding up function, N represents the number of goods supplied; In S131, the expression of the evaluation function J is: ; In the formula, q represents the multi-core weight of the data of the supplied goods, represents the rounding up function, N represents the number of goods supplied; In S14, the expression of the global traversal model R is: ; In the formula, y i,j represents the word vector of the jth word in the supply chain data of the selected i-th supply product, I represents the number of selected supply products, J represents the number of words in the supply chain data of the selected supply products, and E i+1_i It represents the Dice coefficient between the supply chain data of the selected i-th supply product and the supply chain data of the i+1-th supply product, and e represents the index; In S2, the expression of the supply chain encryption function G is: ; In the formula, g(·) represents the hash encryption operation, length(·) represents the text length calculation function, text represents the supply chain information of the cream production process, and max(·) represents the maximum value operation.
