A food material production standardization data management method and system
By managing food material production data through lifecycle analysis and encrypted generation methods, the problem of low analysis efficiency and errors caused by multiple changes in data names has been solved, achieving accuracy and efficiency in data management.
Patent Information
- Application Number
- CN202511133824.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2045-08-14
AI Technical Summary
Existing standardized data management methods for food material production cannot effectively assist staff in addressing the issues of decreased data analysis efficiency and increased error rates caused by multiple changes in data names during the material production process.
The life cycle analysis method is used to obtain the life cycle sequence and weight of materials. The data is encrypted using an encryption generation method. The material data is managed through life cycle encryption to ensure accurate acquisition of data name changes.
It improves the efficiency of data analysis, prevents analysis errors caused by the same data corresponding to multiple data names, and ensures the accuracy and consistency of data management.
Smart Images

Figure CN120634064B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data management, in particular to a food material production standardized data management method and system. BACKGROUND
[0002] Standardized data management is a method of systematically and structurally managing data by formulating unified data standards and technical specifications, aiming to eliminate data confusion, improve data quality and promote cross-department collaboration; food material production standardized data management is a method of systematically managing materials throughout the food production process by establishing a unified material classification and coding system, ensuring data accuracy and circulation efficiency.
[0003] The existing method for food material production standardized data management is usually to establish a database, import existing purchase list data into the database, and use the database as the only data source for enterprise material information management to ensure the standardization and normalization of material information. This improved method can ensure the standard and normative storage of material data, but when there are many links in the material production process, causing multiple changes in the data names in the material, only data storage cannot effectively assist workers in data analysis, resulting in a problem of decreased data analysis efficiency and easy errors when workers analyze data due to multiple data names corresponding to the same data. For example, in the patent application with publication number CN117495247A, a material data management method is disclosed, which establishes a material database as the only data source for enterprise material information to ensure the standardization and normalization of material information, ensuring the accuracy and consistency of material information in each link, and solving the problems of large workload and easy errors in establishing a component library in the Eplan system. Other improvements in the method for food material production standardized data management still cannot solve the problem of decreased data analysis efficiency and easy errors when workers analyze data due to multiple data names corresponding to the same data, as the existing data management method cannot effectively assist workers in data analysis when there are many links in the material production process, causing multiple changes in the data names in the material. Therefore, it is necessary to improve the existing food material production standardized data management method. SUMMARY
[0004] This invention aims to at least partially solve one of the technical problems in the prior art by proposing a standardized data management method and system for food material production. This addresses the issue that existing data management methods cannot effectively assist staff in data analysis when the production process involves multiple steps, resulting in multiple changes to the data names of the materials. Consequently, staff may encounter situations where the same data corresponds to multiple data names, leading to decreased data analysis efficiency and increased susceptibility to errors.
[0005] To achieve the above objectives, in a first aspect, this application provides a method for standardized data management in food material production, comprising the following steps:
[0006] Acquire all materials used in data management during food production, and analyze all materials using lifecycle analysis. Based on the analysis results, obtain the lifecycle sequence of all materials and the weight of each stage in the lifecycle sequence.
[0007] The lifecycle sequence of each material is analyzed using an encryption generation method, and the lifecycle encryption method for each material is obtained based on the analysis results.
[0008] The material is simulated for production. The data corresponding to the material during the simulated production is encrypted based on the material lifecycle encryption method. The lifecycle sequence of the material is then adjusted based on the encrypted data and the data during the simulated production.
[0009] Based on the encryption generation method, the life cycle encryption method corresponding to the adjusted life cycle sequence is recorded as the material management encryption method;
[0010] In food production, data corresponding to each material is managed using an encryption method based on the management of each material.
[0011] Furthermore, life cycle analysis includes:
[0012] For any material in food production for data management: obtain all stages the material goes through in food production, denoted as production stage SH1 to production stage SH2. n and transfer production process SH1 to production process SH n Let be the lifecycle sequence of the material, where 1 to n represent production stages SH1 to SH2. n The serial number;
[0013] For production stage SH1: Record all data corresponding to the materials in production stage SH1 as the starting data; record the names of all data in the starting data as the original data name YM1 to the original data name YM. tand the parameter corresponding to each original data name is recorded as an original data parameter, wherein the number of original data parameters is t;
[0014] For any one of the production links SH2 to the production link SH n : obtaining all data corresponding to the material in the production link SH e : obtaining all data corresponding to the material in the production link SH e ; based on the data source of each data in the post-link data, obtaining the position of each original data parameter in the post-link data in the starting data, and recording them as original data positions SW1 to SW t , wherein e is a positive integer less than or equal to n and greater than or equal to 1.
[0015] Further, the life cycle analysis method further comprises:
[0016] For any one original data parameter: record the data name corresponding to the original data parameter in the production link SH e : when the post-link name of the original data parameter is different from the original data name corresponding to the original data parameter, record the original data parameter as a changed parameter; when the post-link name of the original data parameter is the same as the original data name corresponding to the original data parameter, record the original data parameter as an unchanged parameter;
[0017] Divide the number of changed parameters in all original data parameters by the value of t to obtain the weight of the production link SH e , wherein the weight of the production link SH1 is 0.
[0018] Further, the encryption generation method comprises:
[0019] For any one material: establish a plane rectangular coordinate system, recorded as a cycle weight analysis coordinate system, wherein the X-axis and Y-axis of the cycle weight analysis coordinate system are constant axes; based on the weight values of all production links, take the serial number of the production link as the horizontal coordinate and the weight value as the vertical coordinate to mark points in the cycle weight analysis coordinate system, and record them as weight points; fit the curve obtained by all weight points to obtain a weight analysis curve, wherein the horizontal coordinates of the leftmost point and the rightmost point of the weight analysis curve are 1 and n respectively;
[0020] Divide the weight analysis curve into a link fluctuation curve and a link smooth curve, wherein the slope of all points in the link fluctuation curve is not 0, and the slope of all points in the link smooth curve is 0; record the production link corresponding to the weight point in the link fluctuation curve as a fluctuation link, and record the production link corresponding to the weight point in the link smooth curve as a smooth link;
[0021] The life cycle encryption method of the material is set as follows: when the material is produced and the production link where the material is located is a stable link, the data corresponding to the material is not managed.
[0022] Further, the life cycle encryption method further includes:
[0023] When the material is produced and the production link where the material is located is a fluctuation link, when the next production link of the material is a fluctuation link, all the change parameters corresponding to the material are respectively encrypted, wherein for any change parameter, the original data name corresponding to the change parameter and the acquisition sequence of all the subsequent link names are used as the encryption password when the change parameter is encrypted; in the next production link of the material, all the encrypted change parameters are decrypted, and all the change parameters are re-encrypted based on the subsequent link name corresponding to the change parameter in the next production link;
[0024] When the next production link of the material is a stable link, all the change parameters corresponding to the material are respectively encrypted, and all the encrypted change parameters are decrypted in the next production link.
[0025] Further, the life cycle encryption method corresponding to all the materials is obtained; the materials are simulated to produce, the data corresponding to the materials during the simulation production is encrypted based on the life cycle encryption method of the materials, and the life cycle sequence of the materials is adjusted based on the data obtained by the encryption and the data during the simulation production, and the adjusting includes:
[0026] For any material: based on the production process of the material in food production, the material is simulated to produce k times, and during each simulation production, the life cycle encryption method of the material is used to encrypt all the change parameters corresponding to the material; for any change parameter corresponding to the material: the encryption password when the change parameter is encrypted for the last time during the simulation production by the life cycle encryption method is obtained, and is recorded as the data path of the change parameter;
[0027] After each simulation production, the data path of all the change parameters corresponding to all the materials.
[0028] Further, the materials are simulated to produce, the data corresponding to the materials during the simulation production is encrypted based on the life cycle encryption method of the materials, and the life cycle sequence of the materials is adjusted based on the data obtained by the encryption and the data during the simulation production; the life cycle encryption method corresponding to the adjusted life cycle sequence based on the encryption generation method is recorded as the management encryption method of the material.
[0029] For any one of the change parameters corresponding to the material: when the k data paths corresponding to the change parameter are all the same in the k simulation productions, the change parameter is recorded as a controllable parameter; when the k data paths corresponding to the change parameter are not all the same in the k simulation productions, the change parameter is recorded as an uncontrollable parameter;
[0030] When all the change parameters are controllable parameters, the life cycle encryption method of the material is recorded as the management encryption method of the material.
[0031] Further, the management encryption method of the material based on the encryption generation method further comprises:
[0032] When there is a change parameter that is an uncontrollable parameter, the method X is executed until all the change parameters corresponding to the material are controllable parameters, and the latest life cycle encryption method of the material is recorded as the management encryption method of the material.
[0033] The method X comprises: using the life cycle analysis method to analyze the data obtained from the latest k simulation productions of the material, and for any one production link in the life cycle sequence corresponding to the material: updating the weight of the production link to the average value of the k weights corresponding to the production link in the k analyses.
[0034] Based on the encryption generation method, the life cycle encryption method corresponding to the material is reacquired, k simulation productions of the material are performed, the data paths of all the change data corresponding to the material are reacquired, and each change parameter corresponding to the material is recorded as a controllable parameter or an uncontrollable parameter.
[0035] Further, in food production, the management of the data corresponding to the material based on the management encryption method of each material comprises:
[0036] When the food is produced, based on the management encryption method of each material, the data paths of all the change parameters corresponding to all the materials in the food production process are acquired, and the data of each material in the food production process is managed based on the data paths of all the change parameters.
[0037] In a second aspect, the present application also provides a food material production standardized data management system, comprising a production weight acquisition module, a data encryption method generation module, and a real-time production management module.
[0038] The production weight acquisition module is used to acquire all the materials for data management in food production, and analyze all the materials using the life cycle analysis method, acquire the life cycle sequence corresponding to all the materials and the weight of each link in the life cycle sequence based on the analysis results.
[0039] The data encryption generation module is configured to analyze each material's life cycle sequence respectively using an encryption generation method, and obtain each material's life cycle encryption method based on the analysis result;
[0040] The material is simulated to produce, and the data corresponding to the material during the simulation production is encrypted based on the material's life cycle encryption method, and the life cycle sequence of the material is adjusted based on the data obtained through the encryption processing and the data during the simulation production;
[0041] The life cycle encryption method corresponding to the adjusted life cycle sequence based on the encryption generation method is recorded as the management encryption method of the material;
[0042] The real-time production management module is configured to manage the data corresponding to the material based on each material's management encryption method during the food production.
[0043] The application first obtains all the materials for data management in food production, and analyzes all the materials using a life cycle analysis method, obtains the life cycle sequence corresponding to all the materials and the weight of each link in the life cycle sequence based on the analysis result, then analyzes each material's life cycle sequence using an encryption generation method, and obtains each material's life cycle encryption method based on the analysis result, which has the advantage that by obtaining the life cycle sequence of all the materials and further obtaining the life cycle encryption method of each material, the data in the material can be encrypted based on the change of the data name of each data in the material in all production links, so that even if the data name in the material changes multiple times, the name change of each data in the material can still be obtained based on the life cycle encryption method, thereby improving the efficiency of data analysis by the staff when the same data corresponds to multiple data names;
[0044] The application also simulates the production of the material, encrypts the data corresponding to the material during the simulation production based on the life cycle encryption method of the material, and adjusts the life cycle sequence of the material based on the data obtained through the encryption processing and the data during the simulation production; the life cycle encryption method corresponding to the adjusted life cycle sequence based on the encryption generation method is recorded as the management encryption method of the material; finally, the data corresponding to the material is managed based on each material's management encryption method during the food production, which has the advantage that by obtaining the management encryption method of the material through simulation production, the life cycle encryption method of the material can be optimized based on the production process of the material, so that the data name change state of each data in the material can be accurately obtained during the actual production process, so that each data corresponding to the material can be standardized based on the data path of the change parameter during the actual production, to prevent the problem of decreased analysis efficiency and easy errors of the staff on the material data caused by the same data corresponding to multiple data names. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 is a principle block diagram of the system of the present application;
[0046] Figure 2 is a step flow chart of the method of the present application;
[0047] Figure 3 is a schematic diagram of the link fluctuation curve and the link smooth curve of the present application;
[0048] Figure 4 is a structural schematic diagram of the electronic device of the present application. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work are within the protection scope of the present application.
[0050] Embodiment 1, please refer to Figure 1 The present application provides a food material production standardization data management system, including a production weight acquisition module, a data encryption method generation module and a real-time production management module.
[0051] The production weight acquisition module is used to acquire all materials for data management in food production, and analyze all materials using a life cycle analysis method, acquire the life cycle sequence corresponding to all materials and the weight of each link in the life cycle sequence based on the analysis result.
[0052] The production weight acquisition module includes a production weight acquisition unit, which is used to implement the life cycle analysis method. The production weight acquisition strategy includes:
[0053] For any one material for data management in food production: acquire all links that the material passes through in food production, respectively denoted as production link SH1 to production link SHn, and denote the production link SH1 to production link SHn as the life cycle sequence of the material, wherein 1 to n are the serial numbers of the production link SH1 to production link SHn. n n n
[0054] In the implementation process, the production links can include feed management, production preparation, production processing, finished product inspection, and warehouse logistics. The production links corresponding to each material can be set by the production process of each material in an actual food production factory, to ensure that the subsequent analyzed production links conform to the actual production process of the material.
[0055] For the production link SH1, all data corresponding to the material in the production link SH1 are recorded as initial data, and the names of all data in the initial data are recorded as original data names YM1 to YM t , respectively, and the parameters corresponding to each original data name are recorded as original data parameters, wherein the number of original data parameters is t.
[0056] In the implementation process, because the production link SH1 is the first link that the material passes through after entering the food production, the data corresponding to the material at this time are all initial data. In the subsequent production process, the data name of a certain data in the material may be adaptively modified, so the production link SH1 should be distinguished from the production link SH2 to the production link SH n .
[0057] For any one of the production links SH n 2 to SH e n: all data corresponding to the material in the production link SH e are recorded as post-link data; based on the data source of each data in the post-link data, the position of each original data parameter in the post-link data corresponding to the initial data is obtained and recorded as original data positions SW1 to SW t , respectively, wherein e is a positive integer less than or equal to n and greater than or equal to 1.
[0058] For any one original data parameter: the data name of the original data parameter in the production link SH e corresponding to the original data position is recorded as a post-link name, when the post-link name of the original data parameter is different from the original data name corresponding to the original data parameter, the original data parameter is recorded as a changed parameter; when the post-link name of the original data parameter is the same as the original data name corresponding to the original data parameter, the original data parameter is recorded as an unchanged parameter.
[0059] In the implementation process, for example, in a data analysis, the original data parameter in the production link SH eIf the data name corresponding to the original data position is the animal protein amount, the post-link name can be recorded as the animal protein amount, and if the original data name corresponding to the original data parameter at this time is the protein amount, that is, the animal protein amount is not the same as the protein amount, the original data parameter can be recorded as a change parameter, which means that the data name corresponding to the original data parameter has been changed;
[0060] The number of change parameters in all original data parameters is divided by the value of t to obtain the weight of the production link SH e , wherein the weight of the production link SH1 is 0;
[0061] In the specific implementation process, for example, in one data analysis, the value of t is 10, and the number of change parameters in all original data parameters is 5, so that the weight corresponding to the production link can be obtained by calculation. In this embodiment, the greater the weight corresponding to the production link, the more the number of original data parameters with data name changes in the production link, and the more prone to data analysis errors in the production link.
[0062] The data encryption method generation module is configured to analyze the life cycle sequence of each material using the encryption generation method, and obtain the life cycle encryption method of each material based on the analysis result;
[0063] The encryption generation method comprises: for any one material: establishing a plane rectangular coordinate system, denoted as a cycle weight analysis coordinate system, wherein the X-axis and the Y-axis of the cycle weight analysis coordinate system are constant axes; based on the weight values of all production links, taking the serial number of the production link as the horizontal coordinate and the weight value as the vertical coordinate, marking points in the cycle weight analysis coordinate system, and denoted as weight points; the curve obtained by fitting all the weight points is denoted as a weight analysis curve, wherein the horizontal coordinates of the leftmost point and the rightmost point of the weight analysis curve are 1 and n respectively;
[0064] The weight analysis curve is divided into a link fluctuation curve and a link smooth curve, wherein the slopes of all points in the link fluctuation curve are not 0, and the slopes of all points in the link smooth curve are 0; the production link corresponding to the weight point in the link fluctuation curve is denoted as a fluctuation link, and the production link corresponding to the weight point in the link smooth curve is denoted as a smooth link;
[0065] In the specific implementation process, for example, in one data analysis, the weight analysis curve obtained is as shown in the curve QF in Figure 3 Through analysis, it can be obtained that the link smooth curve in the curve QF is the curve between the horizontal coordinates of 3 and n-1, the link fluctuation curve is the curve between the horizontal coordinates of 1 and 3 and the curve between the horizontal coordinates of n-1 and n;
[0066] The life cycle encryption method of the material is set as: when the material is produced and the production link is a stable link, the data corresponding to the material is not managed;
[0067] When the material is produced and the production link is a fluctuation link, when the next production link of the material is a fluctuation link, all change parameters corresponding to the material are respectively encrypted, wherein, for any change parameter, the original data name corresponding to the change parameter and the acquisition sequence of all subsequent link names are used as the encryption password when the change parameter is encrypted; in the next production link of the material, all encrypted change parameters are decrypted, and all change parameters are re-encrypted based on the subsequent link name of the change parameter in the next production link;
[0068] In the specific implementation process, such as in a data analysis, a change parameter needs to be encrypted, and the original data name corresponding to the change parameter is protein amount, and all subsequent link names are animal protein amount and animal protein amount based on the acquisition sequence, then the protein amount, animal protein amount and animal protein amount can be used as the encryption password to encrypt the change parameter;
[0069] When the next production link of the material is a stable link, all change parameters corresponding to the material are respectively encrypted, and all encrypted change parameters are decrypted in the next production link;
[0070] The life cycle encryption method of all materials is obtained.
[0071] The data encryption method generation module is also used for simulating production of the material, encrypting the data corresponding to the material during the simulation production based on the life cycle encryption method of the material, and adjusting the life cycle sequence of the material based on the data obtained by the encryption and the data during the simulation production;
[0072] The life cycle encryption method corresponding to the adjusted life cycle sequence based on the encryption generation method is recorded as the management encryption method of the material; the data encryption method generation module includes a management encryption method acquisition unit, and the management encryption method acquisition unit is configured with a management encryption method acquisition strategy, and the management encryption method acquisition strategy includes:
[0073] For any material: based on the production process of the material in food production, the material is simulated k times, and during each simulation production, the life cycle encryption method of the material is used to encrypt all change parameters corresponding to the material; for any change parameter corresponding to the material: the encryption password when the change parameter is encrypted for the last time in the simulation production process by the life cycle encryption method is obtained, and is recorded as the data path of the change parameter;
[0074] In the specific implementation process, by acquiring the data path of the change parameter, the path of the change parameter of the material in the production process can be obtained, such as the data path of the change parameter being the protein amount, the animal protein amount, and the animal protein amount, so that the corresponding data name of the change parameter in the production process is the protein amount, the animal protein amount, and the animal protein amount, so as to facilitate the efficient analysis of each data parameter corresponding to the material by the staff;
[0075] After each simulation production, the data path of all change parameters corresponding to all materials;
[0076] For any one change parameter corresponding to the material: when the k data paths corresponding to the change parameter in k simulation productions are completely the same, the change parameter is recorded as a controllable parameter; when the k data paths corresponding to the change parameter in k simulation productions are not completely the same, the change parameter is recorded as an uncontrollable parameter;
[0077] When all change parameters are controllable parameters, the life cycle encryption method of the material is recorded as the management encryption method of the material;
[0078] In the specific implementation process, when the k data paths corresponding to the change parameter in k simulation productions are completely the same, it indicates that the change of the data name corresponding to the change parameter in the food production process can be accurately acquired, so the change parameter can be recorded as a controllable parameter. If all change parameters of the material are controllable parameters, it indicates that the data source of all data in the material can be effectively acquired, so the life cycle encryption method of the material can be directly recorded as the management encryption method of the material and applied in actual data analysis;
[0079] When there is a change parameter that is an uncontrollable parameter, method X is executed until all change parameters corresponding to the material are controllable parameters, and the latest life cycle encryption method of the material is recorded as the management encryption method of the material;
[0080] Method X includes: using the life cycle analysis method to analyze the data obtained by the latest k production simulations of the material k times, and for any one production link in the life cycle sequence of the material: updating the weight of the production link to the average value of the k weights corresponding to the production link in the k analyses;
[0081] Based on the encryption generation method, the life cycle encryption method corresponding to the material is reacquired, k simulation productions of the material are performed, the data path of all change data corresponding to the material is reacquired, and each change parameter corresponding to the material is recorded as a controllable parameter or an uncontrollable parameter.
[0082] The real-time production management module is used to manage the data corresponding to each material during food production based on a management encryption method. The real-time production management module includes a real-time production management unit, which is configured with real-time production management strategies, including:
[0083] During food production, based on the management encryption method for each material, the data path of all change parameters corresponding to all materials in the food production process is obtained, and the data of each material in the food production process is managed based on the data path of all change parameters.
[0084] In the specific implementation process, by obtaining the data path of all the change parameters corresponding to the materials, the staff can effectively grasp the changes of all the data corresponding to the materials in the food production process. For example, when conducting material sampling and screening, the staff can quickly obtain the changes of each data corresponding to the materials in the production process, thereby improving the data analysis efficiency of the staff.
[0085] Example 2, please refer to Figure 2 As shown, this application also provides a method for standardized data management in food material production, comprising the following steps:
[0086] Step S1: Obtain all materials for data management in food production, and use life cycle analysis to analyze all materials. Based on the analysis results, obtain the life cycle sequence corresponding to all materials, as well as the weight of each stage in the life cycle sequence.
[0087] Lifecycle analysis includes: Step S101, for any material in food production for which data management is carried out: obtain all stages that the material goes through in food production, denoted as production stage SH1 to production stage SH2. n and transfer production process SH1 to production process SH n Let be the lifecycle sequence of the material, where 1 to n represent production stages SH1 to SH2. n The serial number;
[0088] Step S102, for production stage SH1: Record all data corresponding to the materials in production stage SH1 as starting data; record the names of all data in the starting data as original data name YM1 to original data name YM. t And record the parameter corresponding to each original data name as the original data parameter, where the number of original data parameters is t;
[0089] Step S103, for production stages SH2 to SH n SH at any production stage e : Obtain SH from the production process eAll data corresponding to the intermediate material are recorded as post-link data; based on the data source of each data in the post-link data, the position of each original data parameter in the post-link data is obtained, and is recorded as original data position SW1 to original data position SW t wherein e is a positive integer less than or equal to n and greater than or equal to 1;
[0090] In step S104, for any one original data parameter: the data name corresponding to the original data parameter in the production link SH e is recorded as a post-link name, and when the post-link name of the original data parameter is different from the original data name corresponding to the original data parameter, the original data parameter is recorded as a changed parameter; when the post-link name of the original data parameter is the same as the original data name corresponding to the original data parameter, the original data parameter is recorded as an unchanged parameter.
[0091] In step S105, the number of changed parameters in all original data parameters is divided by the value of t to obtain the weight of the production link SH e , wherein the weight of the production link SH1 is 0.
[0092] In step S2, the life cycle sequence of each material is analyzed using the encryption generation method, and the life cycle encryption method of each material is obtained based on the analysis result.
[0093] The material is simulated to produce, the data corresponding to the material during the simulation production is encrypted based on the life cycle encryption method of the material, and the life cycle sequence of the material is adjusted based on the data obtained by the encryption processing and the data during the simulation production.
[0094] The life cycle encryption method corresponding to the adjusted life cycle sequence based on the encryption generation method is recorded as the management encryption method of the material.
[0095] The encryption generation method comprises: in step S2011, for any one material: a plane rectangular coordinate system is established, which is recorded as a cycle weight analysis coordinate system, wherein the X axis and the Y axis of the cycle weight analysis coordinate system are constant axes; based on the weight values of all production links, the serial number of the production link is taken as the horizontal coordinate and the weight value is taken as the vertical coordinate to mark points in the cycle weight analysis coordinate system, and is recorded as weight points; the curve obtained by fitting all weight points is recorded as a weight analysis curve, wherein the horizontal coordinates of the leftmost point and the rightmost point of the weight analysis curve are 1 and n respectively.
[0096] Step S2012, the weight analysis curve is divided into a link fluctuation curve and a link smooth curve, wherein the slope of all points in the link fluctuation curve is not 0, and the slope of all points in the link smooth curve is 0; the production link corresponding to the weight point in the link fluctuation curve is recorded as a fluctuation link, and the production link corresponding to the weight point in the link smooth curve is recorded as a smooth link;
[0097] Step S2013, the life cycle encryption method of the material is set as: when the material is produced and the production link is a smooth link, the data corresponding to the material is not managed;
[0098] When the material is produced and the production link is a fluctuation link, when the next production link of the material is a fluctuation link, all change parameters corresponding to the material are respectively encrypted, wherein for any change parameter, the original data name corresponding to the change parameter and the acquisition order of all subsequent link names are used as the encryption password when the change parameter is encrypted; in the next production link of the material, all encrypted change parameters are decrypted, and all change parameters are re-encrypted based on the subsequent link name of the change parameter in the next production link;
[0099] When the next production link of the material is a smooth link, all change parameters corresponding to the material are respectively encrypted, and all encrypted change parameters are decrypted in the next production link;
[0100] The life cycle encryption method of all materials is obtained.
[0101] Step S2 further includes: step S202, for any material: based on the production process of the material in food production, the material is simulated k times, and in each simulation production, the life cycle encryption method of the material is used to encrypt all change parameters corresponding to the material; for any change parameter corresponding to the material: the encryption password when the change parameter is encrypted for the last time in the simulation production process is obtained, and is recorded as the data path of the change parameter;
[0102] After each simulation production, the data path of all change parameters corresponding to all materials;
[0103] Step S203, for any change parameter corresponding to the material: when the k data paths corresponding to the change parameter in k simulation productions are completely the same, the change parameter is recorded as a controllable parameter; when the k data paths corresponding to the change parameter in k simulation productions are not completely the same, the change parameter is recorded as an uncontrollable parameter;
[0104] Step S204, when all change parameters are controllable parameters, the life cycle encryption method of the material is recorded as the management encryption method of the material;
[0105] Step S205, when there is a change parameter that is an uncontrollable parameter, execute method X until all change parameters of the material are controllable parameters, and record the latest life cycle encryption method of the material as the management encryption method of the material;
[0106] Method X includes: using the latest k times of production simulation of the material by the life cycle analysis method to obtain k times of analysis data, and for any one production link in the life cycle sequence corresponding to the material: updating the weight of the production link to the average value of the k weights corresponding to the production link in the k times of analysis;
[0107] Based on the encryption generation method, reacquire the life cycle encryption method corresponding to the material, perform k times of simulation production on the material, reacquire the data path of all change data corresponding to the material, and record each change parameter corresponding to the material as a controllable parameter or an uncontrollable parameter.
[0108] Step S3, during food production, managing the data corresponding to each material based on the management encryption method of each material;
[0109] Step S3 includes: when food production, based on the management encryption method of each material, obtaining the data path of all change parameters corresponding to all materials in the food production process, and managing the data of each material in the food production process based on the data path of all change parameters.
[0110] Embodiment 3, please refer to Figure 4 as shown, Figure 4An example is shown in a structural diagram of an electronic device, which can include a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete the communication among each other through the communication bus. The memory stores computer readable instructions, and the processor can call the instructions in the memory, and when the computer readable instructions are executed by the processor, the steps in a food material production standardization data management method are run to realize the following functions: first, all materials for data management in food production are obtained, and life cycle analysis method is used to analyze all materials, and based on the analysis result, the life cycle sequence corresponding to all materials and the weight of each link in the life cycle sequence are obtained; then, the life cycle sequence of each material is analyzed using the encryption generation method, and based on the analysis result, the life cycle encryption method of each material is obtained; the material is simulated for production, the data corresponding to the material during the simulation production is encrypted based on the life cycle encryption method of the material, and the life cycle sequence of the material is adjusted based on the data obtained by the encryption processing and the data during the simulation production; the life cycle encryption method corresponding to the adjusted life cycle sequence is recorded as the management encryption method of the material based on the encryption generation method; finally, during the food production, the data corresponding to the material is managed based on the management encryption method of each material.
[0111] In addition, the logical instructions in the memory described above can be implemented in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or say the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and various program code storage media.
[0112] In the embodiment 4, the application further provides a computer readable storage medium, and the application provides a storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the food material production standardization data management method are executed to realize the following functions: firstly, all materials for data management in food production are acquired, and life cycle analysis is used to analyze all materials, and based on the analysis result, the life cycle sequence corresponding to all materials and the weight of each link in the life cycle sequence are acquired; then, the life cycle sequence of each material is analyzed by using the encryption generation method, and based on the analysis result, the life cycle encryption method of each material is acquired; the material is simulated to produce, the data corresponding to the material during the simulation production is encrypted based on the life cycle encryption method of the material, and the life cycle sequence of the material is adjusted based on the data obtained by the encryption processing and the data during the simulation production; the life cycle encryption method corresponding to the adjusted life cycle sequence is recorded as the management encryption method of the material based on the encryption generation method; and finally, during the food production, the data corresponding to the material is managed based on the management encryption method of each material.
[0113] Through the description of the above embodiments, the embodiments of the application can be provided as a method, a system or a computer program product. Based on such understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the method described in each embodiment or some parts of the embodiment.
[0114] In the embodiments provided in the application, it should be understood that the disclosed system or method can be implemented in other ways. The above described embodiments are only illustrative. For example, the division of the modules or units is only a logical function division, and another division mode can be used in actual implementation. For example, a plurality of modules or units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed elements can be indirect coupling or communication connection through some communication interfaces. The indirect coupling or communication connection between the systems, modules and units can be electrical, mechanical or other forms.
[0115] Finally, it should be noted that the above examples are only used to illustrate the technical solutions of the present application, and are not intended to limit the same; although the present application has been described in detail with reference to the foregoing examples, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A food material production standardization data management method characterized by, The method comprises the following steps: all materials in food production are obtained, and life cycle analysis is used to analyze all materials, and based on the analysis result, the life cycle sequence corresponding to all materials and the weight of each link in the life cycle sequence are obtained; the life cycle sequence of each material is analyzed by using the encryption generation method, and based on the analysis result, the life cycle encryption method of each material is obtained; the materials are simulated to produce, the data corresponding to the materials during the simulation production are encrypted based on the life cycle encryption method of the materials, and the life cycle sequence of the materials is adjusted based on the data obtained by the encryption processing and the data during the simulation production; the life cycle encryption method corresponding to the adjusted life cycle sequence is recorded as the management encryption method of the materials based on the encryption generation method; during the food production, the data corresponding to the materials are managed based on the management encryption method of each material; the life cycle analysis method comprises: For any one material which is subjected to data management in food production: all the links through which the material passes in food production are acquired, and are respectively recorded as production link SH1 to production link SHn n , and the production link SH1 to production link SHn n are recorded as the life cycle sequence of the material, wherein 1 to n are the serial numbers of the production link SH1 to production link SHn n . For the production link SH1: all data corresponding to the materials in the production link SH1 are recorded as starting data; the names of all data in the starting data are recorded as original data names YM1 to YM t , and the parameters corresponding to each original data name are recorded as original data parameters, wherein the number of original data parameters is t; For production stage SH2 to production stage SH n SH at any production stage e : Obtain SH from the production process e All data corresponding to the materials in the middle stage are recorded as the subsequent stage data; based on the data source of each data in the subsequent stage data, the position of each original data parameter in the starting data in the subsequent stage data is obtained, and recorded as the original data position SW1 to the original data position SW1 respectively. t , where e is a positive integer less than or equal to n and greater than or equal to 2; For any one original data parameter: the data name corresponding to the original data parameter in the production link SH e is recorded as the post-link name. When the post-link name of the original data parameter is different from the original data name corresponding to the original data parameter, the original data parameter is recorded as a changed parameter; when the post-link name of the original data parameter is the same as the original data name corresponding to the original data parameter, the original data parameter is recorded as an unchanged parameter. The number of changed parameters among all original data parameters is divided by the value of t, and the result is recorded as the weight of the production link SH1, wherein the weight of the production link SH1 is 0. e the encryption generation method comprises: for any material: a plane rectangular coordinate system is established, which is recorded as a cycle weight analysis coordinate system, wherein the X-axis and the Y-axis of the cycle weight analysis coordinate system are constant axes; based on the weight values of all production links, the serial number of the production link is taken as the horizontal coordinate and the weight value is taken as the vertical coordinate to mark points in the cycle weight analysis coordinate system, and the points are recorded as weight points; a curve obtained by fitting all the weight points is recorded as a weight analysis curve, wherein the horizontal coordinates of the leftmost point and the rightmost point of the weight analysis curve are 1 and n respectively; the weight analysis curve is divided into a link fluctuation curve and a link smooth curve, wherein the slope of all points in the link fluctuation curve is not 0, and the slope of all points in the link smooth curve is 0; the production link corresponding to the weight point in the link fluctuation curve is recorded as a fluctuation link, and the production link corresponding to the weight point in the link smooth curve is recorded as a smooth link; the life cycle encryption method of the material is set as: when the material is produced and the production link is a smooth link, the data corresponding to the material is not managed; the life cycle encryption method further comprises: when the material is produced and the production link is a fluctuation link, when the next production link of the material is a fluctuation link, all change parameters corresponding to the material are respectively encrypted, wherein for any change parameter, the original data name corresponding to the change parameter and the acquisition order of all subsequent link names are taken as the encryption password during the encryption processing; in the next production link of the material, all encrypted change parameters are decrypted, and all change parameters are re-encrypted based on the subsequent link name corresponding to the change parameter in the next production link; when the next production link of the material is a smooth link, all change parameters corresponding to the material are respectively encrypted, and all encrypted change parameters are decrypted in the next production link; the life cycle encryption method corresponding to all materials is obtained; the materials are simulated to produce, the data corresponding to the materials during the simulation production are encrypted based on the life cycle encryption method of the materials, and the life cycle sequence of the materials is adjusted based on the data obtained by the encryption processing and the data during the simulation production For any one material: based on the production process of the material in food production, simulate the production of the material k times, and encrypt all the change parameters corresponding to the material using the life cycle encryption method of the material during each simulation production; for any one change parameter corresponding to the material: obtain the encryption password when the change parameter is encrypted for the last time during the simulation production process by the life cycle encryption method, and record it as the data path of the change parameter; After each simulation production, obtain the data path of all change parameters corresponding to all materials; Based on the encryption generation method, record the life cycle encryption method corresponding to the adjusted life cycle sequence as the management encryption method of the material, which includes: For any one change parameter corresponding to the material: when the k data paths corresponding to the change parameter are completely the same in k simulation productions, the change parameter is recorded as a controllable parameter; when the k data paths corresponding to the change parameter are not completely the same in k simulation productions, the change parameter is recorded as an uncontrollable parameter; When all change parameters are controllable parameters, record the life cycle encryption method of the material as the management encryption method of the material.
2. The method of claim 1, wherein Based on the encryption generation method, record the life cycle encryption method corresponding to the adjusted life cycle sequence as the management encryption method of the material, which further includes: When there is a change parameter that is an uncontrollable parameter, execute method X until all change parameters corresponding to the material are controllable parameters, and record the latest life cycle encryption method of the material as the management encryption method of the material; Method X includes: using the life cycle analysis method to analyze the data obtained by the latest k simulation productions of the material k times, for any one production link in the life cycle sequence of the material: update the weight of the production link to the average value of the k weights corresponding to the production link in the k analyses; Based on the encryption generation method, reacquire the life cycle encryption method corresponding to the material, simulate the production of the material k times, reacquire the data path of all change data corresponding to the material, and record each change parameter corresponding to the material as a controllable parameter or an uncontrollable parameter.
3. The method of claim 2, wherein the standardization data is stored in a database. In food production, based on the management encryption method of each material, the data corresponding to the material is managed, which includes: When food production, based on the management encryption method of each material, obtain the data path of all change parameters corresponding to all materials in the food production process, and manage the data of each material in the food production process based on the data path of all change parameters.
4. A food material production standardization data management system for implementing the food material production standardization data management method according to any one of claims 1 to 3, characterized by It includes a production weight acquisition module, a data encryption method generation module, and a real-time production management module; The production weight acquisition module is used to acquire all materials for data management in food production, and analyze all materials using the life cycle analysis method, based on the analysis result to acquire the life cycle sequence corresponding to all materials and the weight of each link in the life cycle sequence; The data encryption method generation module is used to analyze the life cycle sequence of each material using the encryption generation method, and obtain the life cycle encryption method of each material based on the analysis result; The material is simulated to produce, and the data corresponding to the material during the simulation production is encrypted based on the life cycle encryption method of the material, and the life cycle sequence of the material is adjusted based on the data obtained by the encryption and the data during the simulation production; The life cycle encryption method corresponding to the adjusted life cycle sequence is recorded as the management encryption method of the material based on the encryption generation method; The real-time production management module is used to manage the data corresponding to the material based on the management encryption method of each material during the food production.
Citation Information
Patent Citations
Material data management method
CN117495247A
Eight-treasure cake food processing information traceability management system
CN117372051A
Data asset management system and method based on data asset directory
CN120123322A