A food processing information traceability and storage management system

By building a food processing information traceability and storage management system, generating traceability codes and dynamically updating them, the problem of lagging information updates in the existing technology is solved, and timely monitoring and transparency of food safety are achieved.

CN118428974BActive Publication Date: 2024-09-03QINGDAO SHENGTONG NUTRITIONAL FOOD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410855922.4
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

Technical Problem

The existing food processing information traceability system cannot update product quality changes in a timely manner, resulting in lagging information transmission and failing to effectively protect consumers' right to know and food safety.

Method used

A food processing information traceability and storage management system is designed. By acquiring comprehensive information on historical and current processed foods, a standard chain is constructed, a traceability chain is generated and converted into a traceability code, the traceability chain is updated in a timely manner, and the differential sequence and extended chain mechanisms are used to perform Dynamic monitoring and recording.

Benefits of technology

It enhances the accessibility and transparency of information, detects potential quality risks in a timely manner, improves the monitoring efficiency of food safety and production processes, ensures the transparency and reliability of food processing processes, and increases consumer confidence in food safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428974B
    Figure CN118428974B
Patent Text Reader

Abstract

The present invention belongs to the technical field of food processing traceability management, and discloses a food processing information traceability and storage management system, including: an acquisition construction module, used to obtain comprehensive information of historical processed foods, and to construct a standard chain of processed foods based on the comprehensive information of historical processed foods; a generation module, used to obtain comprehensive information of current processed foods; the present invention can enhance the accessibility and transparency of traceability information by constructing a traceability chain and converting it into a traceability code, and accurately monitor quality risks to ensure food safety; through the association of differences and synapses, the key links or potential risk points that cause differences in the traceability chain can be quickly located, ensuring that the monitoring of the food production process is more targeted and efficient; by obtaining the latest update information and adding an extension chain under the corresponding block, the timeliness and accuracy of the traceability chain update can be improved, thereby enhancing the effectiveness of supervision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of food processing traceability management, and more specifically, to a food processing information traceability and storage management system. Background Art

[0002] As food safety is increasingly valued by the public, the traceability of food processing information and its storage management system have become important tools to ensure food quality and safety. However, the existing food processing information traceability system has some limitations, especially in the generation and management of traceability codes. In the traditional model, once the traceability code is generated and associated with a specific product or batch, its information is fixed. This static approach limits the flexibility and timeliness of information updates.

[0003] Existing traceability codes often lack the function of instantly updating changes in product quality, such as quality issues, quality inspection report updates, or changes in evaluation standards, and cannot be promptly conveyed to consumers through existing traceability codes. This lagging information transmission mechanism cannot effectively protect consumers' right to know and rights, and can easily lead to consumers' distrust of the product.

[0004] In view of this, the present invention proposes a food processing information traceability and storage management system to solve the above problems. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solution: a food processing information traceability and storage management system, comprising:

[0006] An acquisition building module is used to acquire comprehensive information of historical processed foods and build a standard chain of processed foods based on the comprehensive information of historical processed foods;

[0007] A generation module, used to obtain comprehensive information of the current processed food, generate a traceability chain of the current processed food based on the comprehensive information of the current processed food and the standard chain, and generate a traceability code through the traceability chain of the current processed food;

[0008] The database module is used to obtain the difference between the traceability chain of the current processed food and its corresponding standard chain, obtain the difference sequence, and store the traceability chain, traceability code and difference sequence;

[0009] The update module is used to obtain the update information of the traceability chain and add an extension chain to the traceability chain through the update information.

[0010] Furthermore, the comprehensive information includes raw material information, processing information and environmental information;

[0011] The raw material information includes the following elements: raw material name, raw material origin, raw material formula ratio, raw material freshness and raw material quality grade, wherein the raw material origin includes the growth trajectory of the raw material, the amount of drug used, the amount of irrigation and the growth time;

[0012] The processing information includes the following elements: processing batch, processing flow, processing address, processing equipment, processing personnel and food packaging type, wherein the processing flow includes the number of times the raw materials are cleaned, the processing time, the processing method and the processing sequence;

[0013] The environmental information includes the following elements: processing workshop environment, logistics environment, production environment and sales environment.

[0014] Furthermore, the construction of a standard chain of processed food based on the comprehensive information of historical processed food includes:

[0015] Obtain comprehensive information on the same processed food over a historical period;

[0016] Determine the value corresponding to each element in the comprehensive information, and preset the order of arrangement of each element in the comprehensive information;

[0017] Establish a standard chain for processed foods of the same category based on the values ​​and sequence of each element in the comprehensive information.

[0018] Furthermore, the generating of the traceability chain of the current processed food based on the comprehensive information of the current processed food and the standard chain, and generating the traceability code through the traceability chain of the current processed food, includes:

[0019] Obtain comprehensive information of current processed foods, and obtain correlation coefficients of each element in the comprehensive information;

[0020] A correlation threshold is preset, and if the correlation coefficient between two elements reaches the correlation threshold, a correlation combination is constructed;

[0021] The standard chain of the current processed food is extended through association combination to form a synapse of the standard chain, and the extension direction, extension length and extension end positions of the synapse are associated with the standard chain. If the extension direction, extension length and extension end positions of the synapse are the same in g consecutive traceability chains, the synapse is hidden and not displayed, otherwise, it is displayed;

[0022] Preset n nodes of the standard chain corresponding to the current processed food, obtain the synapses, elements and element values ​​corresponding to the n nodes, generate a block with the synapses, elements and element values ​​corresponding to each node, and connect each block according to the order of the nodes in the standard chain to obtain the traceability chain;

[0023] The traceability chain is then converted into a QR code to obtain the traceability code.

[0024] Furthermore, the construction of the association combination includes:

[0025] In the same standard chain, the elements in the comprehensive information are divided into static elements and dynamic elements;

[0026] Get m traceability chains corresponding to the same standard chain. For each traceability chain, combine the dynamic elements in pairs to obtain h dynamic element groups.

[0027] Obtain the value of each dynamic element group in the m traceability chains, calculate the correlation coefficient of the corresponding values ​​of two dynamic elements in the dynamic element group one by one through the Pearson correlation coefficient and take the absolute value, that is, obtain the correlation coefficient of the two dynamic elements;

[0028] The two dynamic elements corresponding to the correlation coefficients reaching the correlation threshold are constructed into a correlation combination.

[0029] Furthermore, the method for obtaining the difference between the traceability chain of the current processed food and its corresponding standard chain, thereby obtaining a difference sequence, and storing the traceability chain, traceability code and difference sequence corresponding to the current processed food includes:

[0030] Compare the traceability chain of the current processed food with its corresponding standard chain one by one, and express the difference in the form of a percentage value to obtain a difference sequence;

[0031] obtaining the differences corresponding to the synapses in the difference sequence, and associating the synapses with the corresponding differences;

[0032] Preset a discrete threshold and calculate the discrete value of the difference sequence. If the discrete value is less than the discrete threshold, the traceability chain of the current processed food will not be marked. If it is greater than the discrete threshold, the traceability chain of the current processed food will be marked and an early warning will be issued.

[0033] Based on the comprehensive information of historical processed foods and the corresponding standard chains, a database is constructed, and the traceability chains corresponding to the same standard chain are classified into the same category, and the traceability chains, traceability codes and difference sequences of current processed foods are classified into the corresponding standard chain categories.

[0034] Furthermore, the method for obtaining updated information of the traceability chain includes:

[0035] Obtaining an associated URL associated with the element and a keyword corresponding to the element, and associating the associated URL, keyword and element;

[0036] Preset crawling time, and crawl the content on the associated URL according to the crawling time;

[0037] If the content on the associated website has an impact on the element, it will be recorded as update information and stored, wherein the update information includes the specific content that affects the element, the publishing unit and the publication time.

[0038] Furthermore, the method for determining whether the content on the associated website affects the element is as follows:

[0039] Extract keywords from the content on the associated URLs;

[0040] If the same keyword exists, the numerical range corresponding to the same keyword is obtained, and it is determined whether the numerical value of the element in the comprehensive information is within the numerical range corresponding to the same keyword;

[0041] If it is not within the numerical range corresponding to the same keyword, it has an impact on the elements in the comprehensive information, otherwise, it has no impact.

[0042] Furthermore, the adding of an extension chain to the traceability chain by updating information includes:

[0043] Get the block where the element corresponding to the update information is located;

[0044] Preset extension chain adding rules, and add new extension chains to the traceability chain according to the extension chain adding rules;

[0045] The traceability chain is updated and stored through the new extended chain, and the new extended chain is displayed under the corresponding block.

[0046] Furthermore, the extension chain adding rule is: the extension chain can only be added under the block, and the block cannot be modified;

[0047] Each time an extension chain is added under a block, it can only be added on the basis of the previous extension chain, and the information of the adder must be entered when adding a new extension chain.

[0048] Technical effects and advantages of a food processing information traceability and storage management system of the present invention:

[0049] 1. By generating a traceability chain and further converting it into a traceability code in the form of a QR code, the accessibility and transparency of information traceability can be enhanced; by accurately capturing and dynamically monitoring by comparing and calculating discrete values, potential quality risks can be discovered in a timely manner and early warning measures can be taken, thereby ensuring food safety; through the association of differences and synapses, key links or potential risk points can be quickly located to ensure that the monitoring of the food production process is more targeted and efficient; thereby, the transparency and reliability of the food processing process can be improved.

[0050] 2. By obtaining relevant associated websites and keywords and the latest updated information, the timeliness and accuracy of the traceability chain information can be greatly improved; once it is found that the information changes on the associated website have an impact on the traceability chain elements, the system can quickly identify and update the traceability chain, which has a strong timeliness; through the set extension chain addition rules, the original traceability chain can be guaranteed to be tamper-proof, and the information of the update operator is recorded on the new extension chain, thereby enhancing the security and traceability of the information; it can not only enhance the effectiveness of food safety supervision, but also increase consumers' confidence in food safety, ensure that any traceability information can be traced back to the specific person responsible, and effectively improve the transparency and response speed of the food traceability system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a structural schematic diagram of a food processing information traceability and storage management system of the present invention;

[0052] Figure 2 It is a schematic diagram of the structure of the traceability chain and the extension chain in the present invention;

[0053] Figure 3 Schematic diagram of the structure of blocks and synapses in the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Example 1

[0056] See also Figure 1 , Figure 2 and Figure 3 As shown, this embodiment provides a food processing information traceability and storage management system, including:

[0057] An acquisition building module is used to acquire comprehensive information of historical processed foods and build a standard chain of processed foods based on the comprehensive information of historical processed foods;

[0058] Comprehensive information includes raw material information, processing information and environmental information;

[0059] Raw material information includes the following elements: raw material name, raw material origin, raw material formula ratio, raw material freshness and raw material quality grade (both raw material freshness and raw material quality grade can be numerically quantified. For example, the freshness of raw materials can be represented by the time from the picking date of plant raw materials to the transportation and sales environment. The larger the time value, the lower the freshness; the raw material quality grade standard is represented by a numerical value, which can be set to a higher quality grade with a larger value). Among them, the raw material origin includes the growth trajectory of the raw material (the growth trajectory can include the growth curve of the raw material and the geographical coordinates corresponding to the growth curve. The detailed growth trajectory can avoid the production of counterfeit and inferior raw materials such as bathing crabs and bathing fish), the amount of drugs used, the amount of irrigation and the growth time;

[0060] Processing information includes the following elements: processing batch, processing process, processing address, processing equipment, processing personnel and food packaging type. The processing process includes the number of times the raw materials are cleaned, the processing time, the processing method and the processing sequence;

[0061] Environmental information includes the following elements: processing workshop environment, logistics environment, production environment and sales environment; among which, comprehensive information includes but is not limited to the above elements;

[0062] The steps to construct a standard chain for processed foods based on comprehensive information on historical processed foods include:

[0063] S11. Obtain comprehensive information on the same processed food in the historical period;

[0064] S12, determine the value corresponding to each element in the comprehensive information, the value of the element can be set by the relevant personnel according to the actual situation, and the order of arrangement of each element in the comprehensive information is preset, the order of arrangement of each element in the comprehensive information can be set by the relevant personnel according to the actual situation, and the relevant personnel can also sort the elements according to the time sequence of each element, among which, some elements that do not have corresponding values, such as processing personnel, processing equipment, food packaging type, sales environment, raw material name, growth trajectory and other elements, these elements do not have values, and there is no need to obtain the values ​​of these elements, some elements with fluctuating values, such as irrigation amount, drug usage, etc., take their average or preset standard value, which is determined by the relevant personnel according to the actual situation;

[0065] S13. Establish a standard chain for processed foods of the same category based on the values ​​and sequence of each element in the comprehensive information.

[0066] It should be noted that, taking the processing of tomato sauce as an example, a1. Raw material information: through cooperation with suppliers, the origin of each batch of tomatoes entering the factory is authenticated, and the freshness and quality grade of each batch of raw materials are recorded through sensors; a2. Processing information: set processing batches, and use the system to automatically record all key parameters in the processing process (for example, number of cleanings, processing time, food packaging type, etc.); a3. Environmental information: monitor data such as temperature and humidity in the processing workshop, logistics and sales environment to ensure that the impact of the entire environment on food safety is within a controllable range; a4. Use these collected data to build a standard chain for tomato sauce processing. This standard chain can provide a guarantee for food safety, and a transparent processing process can enhance consumer confidence in the product.

[0067] A generation module, used to obtain comprehensive information of the current processed food, generate a traceability chain of the current processed food based on the comprehensive information of the current processed food and the standard chain, and generate a traceability code through the traceability chain of the current processed food;

[0068] The steps of generating a traceability chain of the current processed food based on the comprehensive information and standard chain of the current processed food, and generating a traceability code through the traceability chain of the current processed food include:

[0069] S21, obtaining comprehensive information of current processed food, and obtaining correlation coefficients of various elements in the comprehensive information;

[0070] S22. Preset a correlation threshold. The correlation threshold is set by relevant personnel according to actual conditions. If the correlation coefficient between two elements reaches the correlation threshold, a correlation combination is constructed. For example, at a certain time period, the insect pests of processed food raw materials are more serious. In order to control the insect pests, the amount of pesticide sprayed exceeds the previous spraying amount. Then, the number of cleaning times associated with it needs to be changed accordingly so that the pesticide residues of the raw materials meet the corresponding standards.

[0071] S23. Extend the standard chain of the current processed food through association combination to form a synapse of the standard chain, and associate the extension direction, extension length and extension end positions of the synapse with the standard chain. If the extension direction, extension length and extension end positions of the synapse are the same in g consecutive traceability chains, the synapse is hidden. The specific value of g can be set by relevant personnel according to actual conditions and not displayed. Otherwise, it is displayed.

[0072] S24. Preset n nodes corresponding to the standard chain of the current processed food. The specific value of n can be set by relevant personnel according to the actual situation. Obtain the synapses, elements and element values ​​corresponding to the n nodes. Generate a block with the synapses, elements and element values ​​corresponding to each node. Connect each block according to the sequence of nodes in the standard chain to obtain the traceability chain.

[0073] S25. The traceability chain is then converted into a QR code, i.e., the traceability code is obtained, wherein the traceability chain is displayed in the form of a chain on a web page corresponding to the designated URL, and the traceability chain is converted into a QR code in any manner that converts a designated URL into a QR code, such as QR Code Monkey, GoQR.me, QRCode API, etc.

[0074] It should be noted that by calculating the correlation coefficient of dynamic elements, the correlation relationship between each link in the production process of processed food can be accurately identified, and the correlation combination can be constructed based on the correlation threshold; for example, when the amount of pesticide sprayed on the raw materials increases due to insect pests, the number of cleaning times associated with it will also be adjusted accordingly to ensure that the pesticide residues meet the standards; this refined tracking method greatly improves the accuracy and transparency of information, and also makes food safety more secure; by extending the standard chain, the synapse of the standard chain is formed, covering various dynamic changes that may occur in the actual production process; when a synapse is the same in g consecutive traceability chains, the system will automatically hide it, thereby reducing unnecessary Information redundancy improves the simplicity of information display; this dynamic adjustment mechanism ensures that the system can flexibly respond to changes in various production environments and conditions, thereby enhancing the adaptability and flexibility of the processing process; by converting the traceability chain into a traceability code and attaching it to the corresponding product packaging, consumers and regulatory agencies only need to scan the traceability code to obtain complete traceability information, making it convenient for users of different platforms and devices to obtain the required information; the traceability chain is displayed in the form of a chain on the web page corresponding to the specified URL, ensuring the information security, integrity and authenticity of each block (node); it not only improves the reliability of information, but also ensures the authenticity of food traceability information, enhancing consumers' sense of trust.

[0075] The steps to construct an association combination include:

[0076] S221. In the same standard chain, the elements in the comprehensive information are divided into static elements and dynamic elements. The static elements are: raw material name, raw material formula ratio, processing batch, processing method, processing address, processing equipment, processing personnel, food packaging type, food packaging personnel, processing workshop environment, logistics environment, production environment and sales environment; the dynamic elements are: raw material origin (raw material growth trajectory, drug usage, irrigation volume and growth time), raw material freshness, raw material quality grade and processing flow (raw material cleaning times, processing time, processing method and processing sequence). Dynamic elements and static elements can also be divided according to actual conditions;

[0077] S222, obtaining m traceability chains corresponding to the same standard chain, where the specific value of m can be set by relevant personnel according to actual conditions, and for each traceability chain, combining dynamic elements in pairs to obtain h dynamic element groups;

[0078] S223, obtaining the value of each dynamic element group in the m traceability chains, calculating the correlation coefficient of the corresponding values ​​of two dynamic elements in the dynamic element group one by one through the Pearson correlation coefficient and taking the absolute value, that is, obtaining the correlation coefficient of the two dynamic elements;

[0079] S224. Construct two dynamic elements corresponding to the correlation coefficients reaching the correlation threshold into a correlation combination.

[0080] It should be noted that calculating the correlation coefficient between dynamic elements in the comprehensive information through the Pearson correlation coefficient can effectively capture the relationship between different elements; when the correlation coefficient reaches the correlation threshold, an association combination is constructed, and a synapse on the standard chain is formed through the association combination, which can reflect the correlation between the two elements and clearly identify the specific changes that occur in the production process of processed foods, which is conducive to displaying the changes in the traceability chain and ensuring the accuracy and reliability of the traceability chain.

[0081] The database module is used to obtain the difference between the traceability chain of the current processed food and its corresponding standard chain, obtain the difference sequence, and store the traceability chain, traceability code and difference sequence;

[0082] The steps for obtaining the difference between the traceability chain of the current processed food and its corresponding standard chain, thereby obtaining a difference sequence, and storing the traceability chain, traceability code and difference sequence corresponding to the current processed food include:

[0083] S31. Compare the traceability chain of the current processed food with its corresponding standard chain one by one, and express the difference in the form of a percentage value, that is, to obtain a difference sequence, where, for example, the standard chain is [A, B, C, D, E, F], and the traceability chain of the current processed food is [A`, B`, C`, D`, E`, F`], then its difference sequence is [A` / A, B` / B, C` / B, D` / D, E` / E, F` / F], where the letters A, B, C, etc. represent the values ​​corresponding to the elements in the standard chain;

[0084] S32, obtaining the difference corresponding to the synapse in the difference sequence, and associating the synapse with the corresponding difference, wherein if the element corresponding to the difference in the difference sequence corresponds to the positions of both ends of the synapse extension, it is considered that the difference corresponds to the synapse, and then the synapse is associated with the corresponding difference;

[0085] S33, preset a discrete threshold, which is set by relevant personnel according to actual conditions, and calculate the discrete value of the difference sequence. If the discrete value is less than the discrete threshold, the traceability chain of the current processed food will not be marked. If it is greater than the discrete threshold, the traceability chain of the current processed food will be marked and an early warning will be issued, wherein the discrete value is obtained by the variance of the difference sequence;

[0086] S34. Build a database based on the comprehensive information of historical processed foods and the corresponding standard chains, classify the traceability chains corresponding to the same standard chain into the same category, and classify the traceability chains, traceability codes and difference sequences of current processed foods into the corresponding standard chain categories.

[0087] It should be noted that by accurately comparing the traceability chain of processed food with its corresponding standard chain and showing the difference between the two in the form of a percentage value, the differentiated processing of the traceability chain can be effectively achieved, and the degree of difference in each link in the traceability chain can be accurately identified, which also provides a basis for further quality control and process improvement; by associating the synapse with its corresponding difference, it is helpful to quickly locate the key links or potential risk points that may affect food safety, making food safety monitoring more targeted and efficient; by monitoring the discrete values ​​of the difference sequence, when the discrete value of the difference sequence exceeds the preset discrete threshold, the system will automatically mark the traceability This function greatly enhances the dynamic monitoring capability of the food production process and can detect potential quality risks in real time, thus ensuring food safety. By constructing a database containing comprehensive information of historical processed foods and their corresponding standard chains, and classifying all traceability chains corresponding to the same standard chain into the same category, it not only realizes the systematic storage of data, but also facilitates the effective management of traceability information of different categories. By archiving and classifying the traceability chain, traceability code and difference sequence of processed foods, the transparency of the entire food supply chain is enhanced, allowing consumers and regulatory authorities to have a more intuitive understanding of the food processing process and quality.

[0088] In this embodiment, firstly, by collecting and analyzing the comprehensive information of historical processed foods, an accurate standard chain is constructed to provide a benchmark for the stability of food quality; at the same time, based on the comprehensive information and standard chain of current processed foods, a traceability chain is generated and further converted into a traceability code in the form of a QR code. This process not only improves the efficiency of traceability information management, but also enhances the accessibility and transparency of information traceability; in addition, by accurately capturing and dynamically monitoring by comparing and calculating discrete values, potential quality risks can be discovered in a timely manner and early warning measures can be taken, thereby ensuring food safety; through the association of differences and synapses, the key links or potential risk points that cause differences in the traceability chain can be quickly located, ensuring that the monitoring of the food production process is more targeted and efficient; furthermore, this system can not only improve the transparency and reliability of the food processing process, but also enhance consumers' trust in products and brands.

[0089] Example 2

[0090] See also Figure 1 and Figure 2 As shown, this embodiment provides a food processing information traceability and storage management system, including:

[0091] The update module is used to obtain the update information of the traceability chain and add an extension chain to the traceability chain through the update information.

[0092] The steps for obtaining updated information of the traceability chain include:

[0093] S41, obtaining the associated website and the corresponding keyword of the element, wherein the associated website and the keyword are set by the relevant personnel according to the historical data related to the element, and the element is pesticide residue. The associated website can be a website related to the formulation of standards for pesticide residue (technical standard resource service platform, agricultural quality standard network, etc.), and the keyword can be XX pesticide, etc., and the associated website and the keyword are associated with the element;

[0094] S42, preset crawling time, crawling the contents on the associated website according to the crawling time; the crawling time can be set by relevant personnel according to actual conditions, for example, the preset crawling time is 10 am every day, and the crawling methods include: static / dynamic web page crawling, API crawling and multi-threaded crawling, etc.;

[0095] S43. If the content on the associated website has an impact on the element, it is recorded as update information and stored, wherein the update information includes the specific content that has an impact on the element, the publishing unit and the publication time.

[0096] The method for determining whether the content on the associated URL affects the element is as follows:

[0097] S431, extracting keywords from the content on the associated website, wherein the keyword extraction can be achieved through natural language processing (NLP) technology, such as using the TF-IDF algorithm, LDA topic model, etc., to identify and extract important keywords, and compare the extracted keywords with all keywords corresponding to the element;

[0098] S432: If the same keyword exists, obtain the numerical range corresponding to the same keyword, and determine whether the numerical value of the element in the comprehensive information is within the numerical range corresponding to the same keyword;

[0099] S433. If it is not within the numerical range corresponding to the same keyword, then it has an impact on the elements in the comprehensive information; otherwise, it has no impact.

[0100] It should be noted that by obtaining websites and keywords related to food processing and associating them with elements, and then crawling and analyzing the contents of these related websites, the real-time update of traceability information is ensured; when the content changes on the related websites affect the elements in the traceability chain, the system can quickly and accurately capture these changes and record them as update information, thereby ensuring the timeliness and accuracy of the traceability chain information; for example, by crawling the content on the related websites, it is found that the related websites have set new standards for pesticide residues in raw materials, and the pesticide residues in the raw materials in the past met the old standards but did not meet the new standards, then the content corresponding to this keyword, that is, the new standard for pesticide residues in raw materials, is recorded as update information;

[0101] The steps to add an extension chain to the traceability chain by updating information include:

[0102] S51, obtaining the block where the element corresponding to the update information is located;

[0103] S52, preset an extension chain adding rule, and add a new extension chain to the traceability chain according to the extension chain adding rule;

[0104] S53. The traceability chain is updated and stored through the new extended chain, and the new extended chain is displayed under the corresponding block.

[0105] The rules for adding extension chains are as follows: extension chains can only be added under blocks, and blocks cannot be modified;

[0106] Each time an extension chain is added under a block, it can only be added on the basis of the previous extension chain, and the information of the adder must be entered when adding a new extension chain.

[0107] It should be noted that by obtaining relevant associated websites and keywords and obtaining the latest updated information, the timeliness and accuracy of the traceability chain information are greatly improved; once it is found that the information changes on the associated website have an impact on the traceability chain elements, the system can quickly identify and update the traceability chain, and record the updated information including specific content, publishing unit and disclosure time; through the set extension chain addition rules, the original traceability chain can be guaranteed to be tamper-proof, and the information of the update operator can be recorded on the new extension chain, thereby enhancing the security and traceability of the information; it can not only enhance the effectiveness of food safety supervision, but also increase consumers' confidence in food safety, ensure that any traceability information can be traced back to the specific person responsible, and effectively improve the transparency and response speed of the food traceability system.

[0108] In this embodiment, firstly, by associating URLs and keywords with elements in the traceability chain, real-time monitoring and automatic crawling of key update information are realized to ensure the latest update information. In addition, new extension chains are added to the traceability chain by updating the information without directly modifying the original blocks. This not only ensures the initial integrity and non-tamperability of the traceability chain information, but also ensures the real-time update and traceability of the information. The information of the person who added it will be recorded through each update operation, further enhancing the accuracy and security of the information.

[0109] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0110] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

[0111] Finally: The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A food processing information traceability and storage management system, characterized in that: include: An acquisition building module is used to acquire comprehensive information of historical processed foods and build a standard chain of processed foods based on the comprehensive information of historical processed foods; A generation module, used to obtain comprehensive information of the current processed food, generate a traceability chain of the current processed food based on the comprehensive information of the current processed food and the standard chain, and generate a traceability code through the traceability chain of the current processed food; The database module is used to obtain the difference between the traceability chain of the current processed food and its corresponding standard chain, thereby obtaining a difference sequence, and storing the traceability chain, traceability code and difference sequence corresponding to the current processed food; The update module is used to obtain the update information of the traceability chain and add an extension chain to the traceability chain through the update information; The standard chain of processed food is constructed based on the comprehensive information of historical processed food, including: Obtain comprehensive information on the same processed food over a historical period; Determine the value corresponding to each element in the comprehensive information, and preset the order of arrangement of each element in the comprehensive information; Establish a standard chain for processed foods of the same category based on the values ​​and order of each element in the comprehensive information; The method of generating a traceability chain of the current processed food based on the comprehensive information of the current processed food and the standard chain, and generating a traceability code through the traceability chain of the current processed food includes: Obtain comprehensive information of current processed foods, and obtain correlation coefficients of each element in the comprehensive information; A correlation threshold is preset, and if the correlation coefficient between two elements reaches the correlation threshold, a correlation combination is constructed; The standard chain of the current processed food is extended through association combination to form a synapse of the standard chain, and the extension direction, extension length and extension end positions of the synapse are associated with the standard chain. If the extension direction, extension length and extension end positions of the synapse are the same in g consecutive traceability chains, the synapse is hidden and not displayed, otherwise, it is displayed; Preset n nodes of the standard chain corresponding to the current processed food, obtain the synapses, elements and element values ​​corresponding to the n nodes, generate a block with the synapses, elements and element values ​​corresponding to each node, and connect each block according to the order of the nodes in the standard chain to obtain the traceability chain; The traceability chain is then converted into a QR code to obtain a traceability code; The construction of the association combination includes: In the same standard chain, the elements in the comprehensive information are divided into static elements and dynamic elements; Get m traceability chains corresponding to the same standard chain. For each traceability chain, combine the dynamic elements in pairs to obtain h dynamic element groups. Obtain the value of each dynamic element group in the m traceability chains, calculate the correlation coefficient of the corresponding values ​​of two dynamic elements in the dynamic element group one by one through the Pearson correlation coefficient and take the absolute value, that is, obtain the correlation coefficient of the two dynamic elements; The two dynamic elements corresponding to the correlation coefficients reaching the correlation threshold are constructed into a correlation combination; The method for obtaining the difference between the traceability chain of the current processed food and its corresponding standard chain, thereby obtaining a difference sequence, and storing the traceability chain, traceability code and difference sequence corresponding to the current processed food, includes: Compare the traceability chain of the current processed food with its corresponding standard chain one by one to obtain the difference sequence; obtaining the differences corresponding to the synapses in the difference sequence, and associating the synapses with the corresponding differences; Preset a discrete threshold and calculate the discrete value of the difference sequence. If the discrete value is less than the discrete threshold, the traceability chain of the current processed food will not be marked. If it is greater than the discrete threshold, the traceability chain of the current processed food will be marked and an early warning will be issued. Based on the comprehensive information of historical processed foods and the corresponding standard chains, a database is constructed, and the traceability chains corresponding to the same standard chain are classified into the same category, and the traceability chains, traceability codes and difference sequences of current processed foods are classified into the corresponding standard chain categories.

2. A food processing information traceability and storage management system according to claim 1, characterized in that: The comprehensive information includes raw material information, processing information and environmental information; The raw material information includes the following elements: raw material name, raw material origin, raw material formula ratio, raw material freshness and raw material quality grade, wherein the raw material origin includes the growth trajectory of the raw material, the amount of drug used, the amount of irrigation and the growth time; The processing information includes the following elements: processing batch, processing flow, processing address, processing equipment, processing personnel and food packaging type, wherein the processing flow includes the number of times the raw materials are cleaned, the processing time, the processing method and the processing sequence; The environmental information includes the following elements: processing workshop environment, logistics environment, production environment and sales environment.

3. A food processing information traceability and storage management system according to claim 1, characterized in that: The update information for obtaining the traceability chain includes: Obtaining an associated URL associated with the element and a keyword corresponding to the element, and associating the associated URL, keyword and element; Preset crawling time, and crawl the content on the associated URL according to the crawling time; If the content on the associated website has an impact on the element, it will be recorded as update information and stored, wherein the update information includes the specific content that affects the element, the publishing unit and the publication time.

4. A food processing information traceability and storage management system according to claim 3, characterized in that: The method for determining whether the content on the associated URL affects the element is as follows: Extract keywords from the content on the associated URLs; If the same keyword exists, the numerical range corresponding to the same keyword is obtained, and it is determined whether the numerical value of the element in the comprehensive information is within the numerical range corresponding to the same keyword; If it is not within the numerical range corresponding to the same keyword, it has an impact on the elements in the comprehensive information, otherwise, it has no impact.

5. A food processing information traceability and storage management system according to claim 1, characterized in that: The adding of an extension chain to the traceability chain by updating information includes: Get the block where the element corresponding to the update information is located; Preset extension chain adding rules, and add new extension chains to the traceability chain according to the extension chain adding rules; The traceability chain is updated and stored through the new extended chain, and the new extended chain is displayed under the corresponding block.

6. A food processing information traceability and storage management system according to claim 5, characterized in that: The extension chain adding rule is: the extension chain can only be added under the block, and the block cannot be modified; Each time an extension chain is added under a block, it can only be added on the basis of the previous extension chain, and the information of the adder must be entered when adding a new extension chain.