Information tracing system for food supervision
By designing an information traceability system for food supervision, including information collection, statistics, verification and regulation modules, the problem of insufficient information verification in the existing system is solved, the accuracy and traceability efficiency of food supervision information is improved, and the Effective supervision of food safety.
Patent Information
- Application Number
- CN202411436503.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-10-15
AI Technical Summary
The existing food safety traceability system does not consider information verification, which affects the accuracy and traceability efficiency of food supervision information.
An information traceability system including information collection, information statistics, information checking and data control modules is designed. The system ensures the security of information through data encryption plug-ins and decryption plug-ins, and uses the information verification module to identify and verify blank cells and garbled cells in the archive information, determine the missing parameters and missing distribution parameters of the query information, and then verify the Qualification of archived information. According to the verification results, the data control module adjusts the frequency of update information request at the middle end and the available memory space of the data temporary storage area.
It improves the accuracy and traceability efficiency of food supervision information, ensures effective supervision of food safety, and prevents data loss and verification errors.
Smart Images

Figure CN119477335A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of food supervision, and in particular to an information tracing system for food supervision. Background Art
[0002] The pollution of the environment by industrial "three wastes", the abuse of additives in food processing, the imperfection of the market access system and the laxity of some companies in food safety control have all led to frequent food safety problems. In order to deal with these problems, countries around the world have established a variety of guarantee systems including food quality and safety laws and regulations, testing and standards systems, and certification systems.
[0003] Chinese Patent Publication No.: CN107247977B discloses a food safety traceability system, which relates to the field of food safety management technology, including an enterprise information QR code module, which includes an enterprise information QR code generation module for generating a QR code containing enterprise-related information; an on-site monitoring module for monitoring the on-site conditions of food processing; a food safety data traceability module for providing enterprise information data, employee health certificate data, purchase and sales ledgers and food sample data; it can be seen that the above technical solution has the following problems: it does not take into account the verification of the collected information, which affects the accuracy of the food supervision information, and thus affects the traceability efficiency of the food supervision information. Summary of the invention
[0004] To this end, the present invention provides an information traceability system for food supervision, so as to overcome the problem in the prior art that verification of collected information is not considered, which affects the accuracy of food supervision information and further affects the traceability efficiency of food supervision information.
[0005] To achieve the above object, the present invention provides an information tracing system for food supervision, comprising:
[0006] An information collection module, which includes several intermediate terminals, each of which is used to obtain the file information of each food transfer distributor, and each of which includes a data temporary storage area and a data encryption plug-in;
[0007] An information statistics module, which is connected to the information collection module, and is used to receive and summarize the archive information of each intermediate terminal to obtain the archive information for each batch of food. The archive information of a single batch of food includes the archive information of each transit distributor. The information statistics module also includes a data decryption plug-in for decrypting the received encrypted archive information;
[0008] An information verification module, which is connected to the information statistics module, is used to determine the missing parameters of the query information based on the blank cells of each archive information of a single batch of food, and to verify whether the archive information of the single batch of food is qualified based on the missing parameters of the query information and the missing distribution parameters;
[0009] A data control module, which is connected to the information collection module, the information statistics module and the information verification module respectively, and is used to process the archived information based on the verification result, including:
[0010] Determine the transit matching degree based on the archive information, and determine whether to adjust the update information request frequency of each intermediate end based on the transit matching degree; or, divide the precision evaluation level of each archive information, and determine whether to adjust the available memory space of each data temporary storage area to the corresponding value or uniformly update the key information of each intermediate end data encryption plug-in based on the comparison results of each precision evaluation level.
[0011] Furthermore, the information verification module is used to determine the missing parameters of the query information of each archive information of a single batch of food, including:
[0012] Used to identify blank cells and garbled cells in the archive information of a single batch of food;
[0013] Used to identify blank cells and garbled cells as blank cells;
[0014] It is used to calculate the ratio of the number of blank cells to the total number of cells of each file information of a single batch of food, and obtain the missing parameter of the query information;
[0015] The information verification module is used to verify whether the archived information of a single batch of food is qualified based on the query information missing parameters of each archive information of a single batch of food, including:
[0016] If the missing parameter of the query information is less than or equal to the first preset missing parameter, the archived information of the single batch of food is determined to be qualified;
[0017] If the missing parameter of the query information is less than or equal to the second preset missing parameter and greater than the first preset missing parameter, it is determined whether the archived information of the single batch of food is qualified based on the missing distribution parameter verification;
[0018] If the missing parameter of the query information is greater than the second preset missing parameter, the archived information of the single batch of food is determined to be unqualified.
[0019] Furthermore, the information verification module is used to determine the missing distribution parameters, including:
[0020] It is used to obtain the spacing between blank cells and solve the variance of each spacing to obtain the missing distribution parameters;
[0021] The information verification module is used to verify whether the archived information of a single batch of food is qualified based on the missing distribution parameters, including:
[0022] If the missing distribution parameter is greater than the preset missing distribution parameter, the lead time of the information verification module is adjusted to a corresponding value based on the query information missing parameter;
[0023] If the missing distribution parameter is less than or equal to the preset missing distribution parameter, the archived information of the single batch of food is judged to be unqualified.
[0024] Further, the information verification module is used to adjust the lead time of the information verification module to a corresponding value based on the query information missing parameter, wherein:
[0025] The increase in the lead time of the information verification module determined based on the missing parameters of the query information is positively correlated with the missing parameters of the query information.
[0026] Furthermore, the data control module is used to determine a processing method of the archived information based on the verification result, including:
[0027] If the archived information of a single batch of food is unqualified, the accuracy evaluation level of each archived information is divided, and according to the comparison results of the number of each accuracy evaluation level, the available memory space of each data temporary storage area is adjusted to the corresponding value or the key information of each intermediate data encryption plug-in is uniformly updated;
[0028] If the archived information of a single batch of food is qualified, the transit matching degree is determined based on the archived information, and based on the transit matching degree, it is determined whether to adjust the update information request frequency of each intermediate end.
[0029] Furthermore, the data control module is used to determine the transfer matching degree based on the archive information, including:
[0030] Used to sequentially obtain the distributor's title name, upstream distributor name and downstream distributor name in each file information for a single batch of food;
[0031] It is used to check whether the data of the acquired archive information matches in sequence, and mark the cells with abnormal matching as non-matching cells;
[0032] The proportion of the number of inconsistent cells to the total number of cells corresponding to the name of the distributor in each file information of a single batch of food is used to obtain the transit matching degree.
[0033] Furthermore, the data control module is used to determine whether to adjust the update information request frequency of each intermediate end based on the transit matching degree, including:
[0034] If the transfer matching degree is greater than or equal to the preset transfer matching degree, it is determined to store the current archive information;
[0035] If the transit matching degree is less than the preset transit matching degree, the update information request frequency of each intermediate end is adjusted to a corresponding value based on the transit matching degree.
[0036] Furthermore, the data control module is used to adjust the update information request frequency of each intermediate end to a corresponding value based on the transit matching degree, wherein:
[0037] The increase in the update information request frequency of each intermediate end determined based on the transit matching degree is negatively correlated with the transit matching degree.
[0038] Furthermore, the data control module is used to sequentially classify the accuracy evaluation level of each archive information, including:
[0039] For a single file information, the ratio of the number of garbled cells to the number of blank cells is calculated to obtain the evaluation parameter;
[0040] If the evaluation parameter is less than or equal to the preset evaluation parameter, the single file information is classified into the first-level precise evaluation level;
[0041] If the evaluation parameter is greater than the preset evaluation parameter, the single file information is divided into the second-level precise evaluation level;
[0042] The data control module is used to determine, according to the comparison results of the number of each precision evaluation level, whether to adjust the available memory space of each data temporary storage area to a corresponding value or to uniformly update the key information of each intermediate data encryption plug-in, including:
[0043] If the number of first-level precision evaluation levels is greater than or equal to the number of second-level precision evaluation levels, the available memory space of each data temporary storage area is adjusted to a corresponding value based on the ratio of the number of first-level precision evaluation levels to the number of second-level precision evaluation levels;
[0044] If the number of first-level precision evaluation levels is less than the number of second-level precision evaluation levels, the key information of each intermediate data encryption plug-in is updated uniformly.
[0045] Furthermore, the data control module is used to adjust the available memory space of each data temporary storage area to a corresponding value according to the level quantity ratio, wherein:
[0046] The increase in available memory space based on the ratio of the number of levels is positively correlated with the ratio of the number of levels.
[0047] Compared with the prior art, the beneficial effect of the present invention lies in that, by setting up archival information of the food circulation process at the intermediate end of each distributor, effective supervision of food circulation is achieved to ensure food safety, classification and statistics are performed for each batch of food, and the statistical archival information is regularly verified to improve the reliability of the data, and the archived information is processed according to the verification result, and when the archival information is judged to be qualified, it is further determined whether the archival information matches, and when the archival information is judged to be unqualified, the operating parameters of each intermediate end are adjusted, thereby improving the traceability efficiency of food supervision information.
[0048] Furthermore, the archived information of a single batch of food is verified, and blank cells and garbled cells in the database are identified to determine the missing parameters of the query information. When the missing parameters of the query information are less than or equal to the second preset missing parameters and greater than the first preset missing parameters, there are a small number of data anomalies. The specific situation of the current data set is determined in combination with the missing distribution parameters. The missing distribution parameters characterize the distribution of abnormal cells. When the missing distribution parameters are greater than the preset missing distribution parameters, the abnormal cells are scattered. In this case, some data cannot be completely cached due to network anomalies, resulting in inspection errors. In this case, the lead time of the information verification module is adjusted to provide sufficient buffering time for the data, and after the lead time is adjusted, the qualification of the current data set is re-determined based on the missing distribution parameters. While ensuring the efficiency of data verification, the accuracy of data verification is improved, thereby improving the traceability efficiency of food regulatory information.
[0049] Furthermore, when determining whether the archived information of a single batch of food is qualified, the transit matching degree is determined to determine whether the title name recorded in a single distributor is the same as the data of the upstream distributor name recorded in the corresponding downstream distributor. The transit matching degree represents whether the upstream and downstream distributor names recorded by each distributor are consistent, whether there is a situation where the distributor has not entered the data or the data has not been updated in time. When the transit matching degree is less than the preset transit matching degree, there is an abnormality in the distributor data update. In this case, the update information request frequency of each intermediate end is adjusted to the corresponding value to ensure the timely update of the data, improve the reliability of the data, and thereby improve the traceability efficiency of food supervision information.
[0050] Furthermore, when the missing parameter of the query information is greater than the second preset missing parameter, there is a large amount of missing data, and the archived information of the single batch of food is determined to be unqualified. When it is determined that the archived information of a single batch of food is unqualified, the archived information is processed and the precision evaluation level of each archival information in the archived information is divided. The precision evaluation level represents the number of garbled cells and the number of blank cells. When the number of first-level precision evaluation levels is greater than or equal to the number of second-level precision evaluation levels, there are a large number of blank cells in the archived information. In this case, there is a situation where data is lost at the intermediate end due to transmission abnormalities during user input. At this time, the available memory space of each data temporary storage area is adjusted to ensure that the intermediate end temporarily stores the data locally when the transmission is abnormal, and then synchronizes it to the database of the information statistics module when the network is restored or conditions permit, thereby preventing data loss and improving the data transmission efficiency of dealers, thereby improving the traceability efficiency of food supervision information. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is a module block diagram of an information traceability system for food supervision according to an embodiment of the present invention;
[0052] Figure 2 It is a logic decision diagram of whether the archived information of a single batch of food is qualified based on the missing parameters of the query information by the information verification module of the embodiment of the present invention;
[0053] Figure 3 It is a logic decision diagram of whether the archived information of a single batch of food is qualified based on the missing distribution parameter by the information verification module of the embodiment of the present invention;
[0054] Figure 4 This is a logic decision diagram for the data control module of an embodiment of the present invention to determine the processing method of archive information based on the verification result. DETAILED DESCRIPTION
[0055] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0056] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0057] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0058] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0059] See also Figure 1 , Figure 2 , Figure 3 as well as Figure 4 As shown, they are respectively a module block diagram of an information traceability system for food supervision according to an embodiment of the present invention, a logic decision diagram of whether the archived information of a single batch of food is qualified based on the missing parameters of the query information by the information verification module, a logic decision diagram of whether the archived information of a single batch of food is qualified based on the missing distribution parameters of the information verification module, and a logic decision diagram of how the data control module determines the processing method of the archived information based on the verification result; an information traceability system for food supervision according to an embodiment of the present invention comprises:
[0060] An information collection module, which includes several intermediate terminals, each of which is used to obtain the file information of each food transfer distributor, and each of which includes a data temporary storage area and a data encryption plug-in;
[0061] An information statistics module, which is connected to the information collection module, and is used to receive and summarize the archive information of each intermediate terminal to obtain the archive information for each batch of food. The archive information of a single batch of food includes the archive information of each transit distributor. The information statistics module also includes a data decryption plug-in for decrypting the received encrypted archive information;
[0062] An information verification module, which is connected to the information statistics module, is used to determine the missing parameters of the query information based on the blank cells of each archive information of a single batch of food, and to verify whether the archive information of the single batch of food is qualified based on the missing parameters of the query information and the missing distribution parameters;
[0063] A data control module, which is connected to the information collection module, the information statistics module and the information verification module respectively, and is used to process the archived information based on the verification result, including:
[0064] Determine the transit matching degree based on the archive information, and determine whether to adjust the update information request frequency of each intermediate end based on the transit matching degree; or, divide the precision evaluation level of each archive information, and determine whether to adjust the available memory space of each data temporary storage area to the corresponding value or uniformly update the key information of each intermediate end data encryption plug-in based on the comparison results of each precision evaluation level.
[0065] Specifically, the lead time is the intermediate delay time from the start of data acquisition to the start of the verification program running of the information verification module.
[0066] Specifically, the file information includes the dealer's title, address, certificate information, upstream dealer name and downstream dealer name.
[0067] Specifically, there is no limitation on the specific structure of the middle end, and it itself or each unit therein can be composed of logic components or a combination of logic components, and the logic components include a field programmable processor, a computer or a microprocessor in a computer.
[0068] Specifically, the data encryption plug-in is an extension program used to encrypt data, which will not be described in detail here.
[0069] Specifically, by setting up archival information of the food circulation process at the intermediate end of each distributor, effective supervision of food circulation is achieved to ensure food safety, and classification and statistics are conducted for each batch of food. The statistical archival information is regularly verified to improve data reliability, and the archived information is processed according to the verification results. When the archival information is judged to be qualified, it is further determined whether the archival information matches. When the archival information is judged to be unqualified, the operating parameters of each intermediate end are adjusted, thereby improving the traceability efficiency of food supervision information.
[0070] Specifically, the information verification module is used to determine the missing parameters of the query information of each archive information of a single batch of food, including:
[0071] Used to identify blank cells and garbled cells in the archive information of a single batch of food;
[0072] Used to identify blank cells and garbled cells as blank cells;
[0073] It is used to calculate the ratio of the number of blank cells to the total number of cells of each file information of a single batch of food, and obtain the missing parameter of the query information;
[0074] Specifically, the specific method in which the information statistics module receives and summarizes the archive information of each intermediate end is not limited. The information statistics module can be a database, which will not be described in detail.
[0075] Specifically, there is no limitation on the specific method of identifying blank cells and garbled cells in the archival information of a single batch of food. The corresponding function can be used through the database query language to determine whether the cell is blank; garbled characters can be identified through a predetermined character encoding detection function. This is a prior art and will not be elaborated on.
[0076] Specifically, the information verification module is used to verify whether the archived information of a single batch of food is qualified based on the query information missing parameters of each archive information of a single batch of food, including:
[0077] If the missing parameter of the query information is less than or equal to the first preset missing parameter, the archived information of the single batch of food is determined to be qualified;
[0078] If the missing parameter of the query information is less than or equal to the second preset missing parameter and greater than the first preset missing parameter, it is determined whether the archived information of the single batch of food is qualified based on the missing distribution parameter verification;
[0079] If the missing parameter of the query information is greater than the second preset missing parameter, the archived information of the single batch of food is determined to be unqualified.
[0080] Specifically, the first preset missing parameter W1 is selected within the interval [0.71, 0.78], and the second preset missing parameter W2 is selected within the interval [0.94, 0.97].
[0081] Specifically, the information verification module is used to determine the missing distribution parameters, including:
[0082] It is used to obtain the spacing between blank cells and solve the variance of each spacing to obtain the missing distribution parameters;
[0083] The information verification module is used to verify whether the archived information of a single batch of food is qualified based on the missing distribution parameters, including:
[0084] If the missing distribution parameter is greater than the preset missing distribution parameter, the lead time of the information verification module is adjusted to a corresponding value based on the query information missing parameter;
[0085] If the missing distribution parameter is less than or equal to the preset missing distribution parameter, the archived information of the single batch of food is judged to be unqualified.
[0086] Specifically, the archived information of a single batch of food is verified, and blank cells and garbled cells in the database are identified to determine the missing parameters of the query information. When the missing parameters of the query information are less than or equal to the second preset missing parameters and greater than the first preset missing parameters, there are a small number of data anomalies. The specific situation of the current data set is determined in combination with the missing distribution parameters. The missing distribution parameters characterize the distribution of abnormal cells. When the missing distribution parameters are greater than the preset missing distribution parameters, the abnormal cells are scattered. In this case, some data cannot be completely cached due to network anomalies, resulting in inspection errors. In this case, the lead time of the information verification module is adjusted to provide sufficient buffering time for the data, and after the lead time adjustment is completed, the qualification of the current data set is re-determined based on the missing distribution parameters. While ensuring the efficiency of data verification, the accuracy of data verification is improved, thereby improving the traceability efficiency of food regulatory information.
[0087] Specifically, the preset missing distribution parameters are selected in the interval [0.17C0, 0.42C0], and C0 is the average value of each missing distribution parameter corresponding to the archived information of each batch of historical food.
[0088] Specifically, there is no limit on the number of items that can be selected for each batch of food archive information in the historical data. It can be understood that in order to classify the qualified archive information, the number of items selected should not be less than 200, which will not be elaborated here.
[0089] Specifically, there is no limitation on the specific method for obtaining the spacing between blank cells. For each pair of blank cells, the distance between them can be calculated based on their coordinates, which can be obtained by using the Euclidean distance formula. This is a prior art and will not be described in detail.
[0090] Specifically, the information verification module is used to adjust the lead time of the information verification module to a corresponding value based on the query information missing parameter, wherein:
[0091] The increase in the lead time of the information verification module determined based on the missing parameters of the query information is positively correlated with the missing parameters of the query information.
[0092] In this embodiment, optionally:
[0093] If the missing parameter of the query information is less than or equal to the first preset missing comparison threshold, the lead time is determined as the first lead time, and the first lead time is 1.12 times the initial lead time;
[0094] If the query information missing parameter is less than or equal to the second preset missing comparison threshold and greater than the first preset missing comparison threshold, the lead time is determined to be the second lead time, and the second lead time is 1.22 times the initial lead time;
[0095] If the missing parameter of the query information is greater than the second preset missing comparison threshold, the lead time is determined to be a third lead time, and the third lead time is 1.32 times the initial lead time;
[0096] The first preset missing comparison threshold is 1.13W1, and the second preset missing comparison threshold is 1.18W1.
[0097] Specifically, the information verification module re-determines the query information missing parameter of the archived information under the condition of completing the adjustment of the lead time, and verifies whether the archived information of the single batch of food is qualified based on the query information missing parameter. If the query information missing parameter is less than or equal to the first preset missing parameter, the archived information of the single batch of food is judged to be qualified; if the query information missing parameter is greater than the first preset missing parameter, the archived information of the single batch of food is judged to be unqualified.
[0098] Specifically, the data control module is used to determine the processing method of the archived information based on the verification result, including:
[0099] If the archived information of a single batch of food is unqualified, the accuracy evaluation level of each archived information is divided, and according to the comparison results of the number of each accuracy evaluation level, the available memory space of each data temporary storage area is adjusted to the corresponding value or the key information of each intermediate data encryption plug-in is uniformly updated;
[0100] If the archived information of a single batch of food is qualified, the transit matching degree is determined based on the archived information, and based on the transit matching degree, it is determined whether to adjust the update information request frequency of each intermediate end.
[0101] Specifically, when determining whether the archived information of a single batch of food is qualified, the transit matching degree is determined to determine whether the name of the title recorded by a single distributor is the same as the data of the upstream distributor name recorded by the corresponding downstream distributor. The transit matching degree represents whether the upstream and downstream distributor names recorded by each distributor are consistent, whether there is a situation where the distributor has not entered the data or the data has not been updated in time. When the transit matching degree is less than the preset transit matching degree, there is an abnormality in the distributor data update. In this case, the update information request frequency of each intermediate end is adjusted to the corresponding value to ensure timely updating of the data, thereby improving the reliability of the data and thereby improving the traceability efficiency of food regulatory information.
[0102] Specifically, the data control module is used to determine the transfer matching degree based on the archive information, including:
[0103] Used to sequentially obtain the distributor's title name, upstream distributor name and downstream distributor name in each file information for a single batch of food;
[0104] It is used to check whether the data of the acquired archive information matches in sequence, and mark the cells with abnormal matching as non-matching cells;
[0105] The proportion of the number of inconsistent cells to the total number of cells corresponding to the name of the distributor in each file information of a single batch of food is used to obtain the transit matching degree.
[0106] Specifically, the data control module is used to determine whether to adjust the update information request frequency of each intermediate end based on the transit matching degree, including:
[0107] If the transfer matching degree is greater than or equal to the preset transfer matching degree, it is determined to store the current archive information;
[0108] If the transit matching degree is less than the preset transit matching degree, the update information request frequency of each intermediate end is adjusted to a corresponding value based on the transit matching degree.
[0109] Specifically, the preset transfer matching degree D0 is 0.98.
[0110] Specifically, the data control module is used to adjust the update information request frequency of each intermediate end to a corresponding value based on the transit matching degree, wherein:
[0111] The increase in the update information request frequency of each intermediate end determined based on the transit matching degree is negatively correlated with the transit matching degree.
[0112] In this embodiment, optionally:
[0113] If the transit matching degree is less than or equal to the first preset matching comparison value, the update information request frequency is determined as the first update information request frequency, and the first update information request frequency is 1.32 times the initial update information request frequency;
[0114] If the transit matching degree is less than or equal to the second preset matching comparison value and greater than the first preset matching comparison value, the update information request frequency is determined as the second update information request frequency, and the second update information request frequency is 1.23 times the initial update information request frequency;
[0115] If the transit matching degree is greater than the second preset matching comparison value, the update information request frequency is determined to be a third update information request frequency, and the third update information request frequency is 1.12 times the initial update information request frequency;
[0116] The first preset matching comparison value is 0.35, and the second preset matching comparison value is 0.77.
[0117] Specifically, the update information request frequency is the frequency of window prompts sent by each intermediate end to prompt the dealer to confirm the update of the file information.
[0118] Specifically, the data control module is used to sequentially classify the accuracy evaluation levels of each file information, including:
[0119] For a single file information, the ratio of the number of garbled cells to the number of blank cells is calculated to obtain the evaluation parameter;
[0120] If the evaluation parameter is less than or equal to the preset evaluation parameter, the single file information is classified into the first-level precise evaluation level;
[0121] If the evaluation parameter is greater than the preset evaluation parameter, the single file information is divided into the second-level precise evaluation level;
[0122] The data control module is used to determine, according to the comparison results of the number of each precision evaluation level, whether to adjust the available memory space of each data temporary storage area to a corresponding value or to uniformly update the key information of each intermediate data encryption plug-in, including:
[0123] If the number of first-level precision evaluation levels is greater than or equal to the number of second-level precision evaluation levels, the available memory space of each data temporary storage area is adjusted to a corresponding value based on the ratio of the number of first-level precision evaluation levels to the number of second-level precision evaluation levels;
[0124] If the number of first-level precision evaluation levels is less than the number of second-level precision evaluation levels, the key information of each intermediate data encryption plug-in is updated uniformly.
[0125] Specifically, the preset evaluation parameter is 1.
[0126] Specifically, the data control module is used to adjust the available memory space of each data temporary storage area to a corresponding value according to the level quantity ratio, wherein:
[0127] The increase in available memory space based on the ratio of the number of levels is positively correlated with the ratio of the number of levels.
[0128] In this embodiment, optionally:
[0129] If the level quantity ratio is less than or equal to the first preset level quantity ratio, the available memory space is determined as the first available memory space, and the first available memory space is 1.13 times the initial available memory space;
[0130] If the level quantity ratio is less than or equal to the second preset level quantity ratio and greater than the first preset level quantity ratio, the available memory space is determined as the second available memory space, and the second available memory space is 1.25 times the initial available memory space;
[0131] If the level quantity ratio is greater than the second preset level quantity ratio, the available memory space is determined as the third available memory space, and the third available memory space is 1.31 times the initial available memory space;
[0132] The first preset level quantity ratio is 1.5, and the second preset level quantity ratio is 3.6.
[0133] Specifically, when the missing parameter of the query information is greater than the second preset missing parameter, there is a large amount of missing data, and the archived information of the single batch of food is determined to be unqualified. When it is determined that the archived information of a single batch of food is unqualified, the archived information is processed and the precision evaluation level of each archival information in the archived information is divided. The precision evaluation level represents the number of garbled cells and the number of blank cells. When the number of first-level precision evaluation levels is greater than or equal to the number of second-level precision evaluation levels, there are a large number of blank cells in the archived information. In this case, there is a situation where data is lost at the middle end due to transmission abnormalities when the user enters the data. At this time, the available memory space of each data temporary storage area is adjusted to ensure that the middle end temporarily stores the data locally when the transmission is abnormal, and then synchronizes it to the database of the information statistics module when the network is restored or conditions permit, thereby preventing data loss and improving the data transmission efficiency of dealers, thereby improving the traceability efficiency of food supervision information.
[0134] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0135] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An information traceability system for food supervision, characterized in that: include: An information collection module, which includes several intermediate terminals, each of which is used to obtain the file information of each food transfer distributor, and each of which includes a data temporary storage area and a data encryption plug-in; An information statistics module, which is connected to the information collection module, and is used to receive and summarize the archive information of each intermediate terminal to obtain the archive information for each batch of food. The archive information of a single batch of food includes the archive information of each transit distributor. The information statistics module also includes a data decryption plug-in for decrypting the received encrypted archive information; An information verification module, which is connected to the information statistics module, is used to determine the missing parameters of the query information based on the blank cells of each archive information of a single batch of food, and to verify whether the archive information of the single batch of food is qualified based on the missing parameters of the query information and the missing distribution parameters; A data control module, which is connected to the information collection module, the information statistics module and the information verification module respectively, and is used to process the archived information based on the verification result, including: Determine the transfer matching degree based on the archive information, and determine whether to adjust the update information request frequency of each intermediate end based on the transfer matching degree; Or, divide the accuracy evaluation level of each archive information, and determine whether to adjust the available memory space of each data temporary storage area to the corresponding value or uniformly update the key information of each intermediate data encryption plug-in based on the comparison results of the accuracy evaluation level numbers.
2. The information tracing system for food supervision according to claim 1, characterized in that: The information verification module is used to determine the missing parameters of the query information of each archive information of a single batch of food, including: Used to identify blank cells and garbled cells in the archive information of a single batch of food; Used to identify blank cells and garbled cells as blank cells; It is used to calculate the ratio of the number of blank cells to the total number of cells of each file information of a single batch of food, and obtain the missing parameter of the query information; The information verification module is used to verify whether the archived information of a single batch of food is qualified based on the query information missing parameters of each archive information of a single batch of food, including: If the missing parameter of the query information is less than or equal to the first preset missing parameter, the archived information of the single batch of food is determined to be qualified; If the missing parameter of the query information is less than or equal to the second preset missing parameter and greater than the first preset missing parameter, it is determined whether the archived information of the single batch of food is qualified based on the missing distribution parameter verification; If the missing parameter of the query information is greater than the second preset missing parameter, the archived information of the single batch of food is determined to be unqualified.
3. The information tracing system for food supervision according to claim 2 is characterized in that: The information verification module is used to determine the missing distribution parameters, including: It is used to obtain the spacing between blank cells and solve the variance of each spacing to obtain the missing distribution parameters; The information verification module is used to verify whether the archived information of a single batch of food is qualified based on the missing distribution parameters, including: If the missing distribution parameter is greater than the preset missing distribution parameter, the lead time of the information verification module is adjusted to a corresponding value based on the query information missing parameter; If the missing distribution parameter is less than or equal to the preset missing distribution parameter, the archived information of the single batch of food is judged to be unqualified.
4. The information tracing system for food supervision according to claim 3 is characterized in that: The information verification module is used to adjust the lead time of the information verification module to a corresponding value based on the query information missing parameter, wherein: The increase in the lead time of the information verification module determined based on the missing parameters of the query information is positively correlated with the missing parameters of the query information.
5. The information tracing system for food supervision according to claim 4 is characterized in that: The data control module is used to determine a processing method for the archived information based on the verification result, including: If the archived information of a single batch of food is unqualified, the accuracy evaluation level of each archived information is divided, and according to the comparison results of the number of each accuracy evaluation level, the available memory space of each data temporary storage area is adjusted to the corresponding value or the key information of each intermediate data encryption plug-in is uniformly updated; If the archived information of a single batch of food is qualified, the transit matching degree is determined based on the archived information, and based on the transit matching degree, it is determined whether to adjust the update information request frequency of each intermediate end.
6. The information tracing system for food supervision according to claim 5, characterized in that: The data control module is used to determine the transfer matching degree based on the archive information, including: Used to sequentially obtain the distributor's title name, upstream distributor name and downstream distributor name in each file information for a single batch of food; It is used to check whether the data of the acquired archive information matches in sequence, and mark the cells with abnormal matching as non-matching cells; The proportion of the number of inconsistent cells to the total number of cells corresponding to the name of the distributor in each file information of a single batch of food is used to obtain the transit matching degree.
7. The information tracing system for food supervision according to claim 6, characterized in that: The data control module is used to determine whether to adjust the update information request frequency of each intermediate terminal based on the transit matching degree, including: If the transfer matching degree is greater than or equal to the preset transfer matching degree, it is determined to store the current archive information; If the transit matching degree is less than the preset transit matching degree, the update information request frequency of each intermediate end is adjusted to a corresponding value based on the transit matching degree.
8. The information tracing system for food supervision according to claim 7, characterized in that: The data control module is used to adjust the update information request frequency of each intermediate end to a corresponding value based on the transit matching degree, wherein: The increase in the update information request frequency of each intermediate end determined based on the transit matching degree is negatively correlated with the transit matching degree.
9. The information tracing system for food supervision according to claim 8, characterized in that: The data control module is used to sequentially classify the accuracy evaluation levels of each file information, including: For a single file information, the ratio of the number of garbled cells to the number of blank cells is calculated to obtain the evaluation parameter; If the evaluation parameter is less than or equal to the preset evaluation parameter, the single file information is classified into the first-level precise evaluation level; If the evaluation parameter is greater than the preset evaluation parameter, the single file information is divided into the second-level precise evaluation level; The data control module is used to determine, according to the comparison results of the number of each precision evaluation level, whether to adjust the available memory space of each data temporary storage area to a corresponding value or to uniformly update the key information of each intermediate data encryption plug-in, including: If the number of first-level precision evaluation levels is greater than or equal to the number of second-level precision evaluation levels, the available memory space of each data temporary storage area is adjusted to a corresponding value based on the ratio of the number of first-level precision evaluation levels to the number of second-level precision evaluation levels; If the number of first-level precision evaluation levels is less than the number of second-level precision evaluation levels, the key information of each intermediate data encryption plug-in is updated uniformly.
10. The information tracing system for food supervision according to claim 9, characterized in that: The data control module is used to adjust the available memory space of each data temporary storage area to a corresponding value according to the level quantity ratio, wherein: The increase in available memory space based on the ratio of the number of levels is positively correlated with the ratio of the number of levels.
Citation Information
Patent Citations
Food safety traceability system
CN107247977B
An animal product information tracing method based on an animal product market access management system
CN109447657A
Archive storage and sharing system based on alliance chain
CN110362533A
Food sales tracing system
CN112365272A
Information query method and device
CN113239086A