Data tracing method and system for marine product production and processing
By calculating the traceability and participation depth of seafood processing equipment, the first equipment that caused bad situations was selected, which solved the problem of inaccurate traceability in seafood processing, and achieved accurate recall and food safety guarantees.
Patent Information
- Application Number
- CN202510567565.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-04-30
AI Technical Summary
The prior art cannot accurately trace the first equipment that has quality problems during the processing of seafood, which makes it difficult to determine the scope of the recall, which may be too small or too large, affecting food safety and economic losses.
By obtaining the production and processing information of seafood, screening problem traceability and participation depth, calculating traceability and process depth based on the processing time interval and quantity proportion, determining the initial problem probability value of each device and traceability indicators of the process, and filtering out the target equipment.
It improves the traceability accuracy of bad seafood, ensures the accuracy of the recall scope, and avoids food safety issues and economic losses.
Smart Images

Figure CN120494841A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of product traceability, and in particular to a data traceability method and system for seafood production and processing. Background Art
[0002] Seafood production and processing is a vital component of the food industry, and its quality directly impacts consumer health and safety. With increasing consumer concern for food safety and quality, data traceability for seafood production and processing has become increasingly crucial. Data traceability involves recording and tracking the entire production process, from raw materials to the end consumer, to ensure product safety and traceability. When tracing back issues in seafood production and processing, RFID and NFC tags on the product are used to retrieve relevant data from the entire production process, pre-stored using blockchain and distributed storage technologies. Contaminants present in the product are then analyzed, and the specific contamination link is determined based on the contamination profile of each production step. When food safety issues are identified in seafood, the specific process and production line where the contamination occurred are identified based on the contamination profile of each offending seafood item, along with pre-collected process-contamination profiles and the entire production process for the offending item. Other potentially problematic products can then be recalled.
[0003] However, when recalling seafood, existing technologies use predefined "process-contamination characteristics" combined with the contamination of defective seafood to locate the contamination link. However, due to the biological activity of seafood, seafood production and transportation are carried out at low temperatures, otherwise the seafood will rot in a short time. The production process of seafood is relatively short, so seafood may rot in many processes during production, resulting in the inability to accurately trace the first processing equipment where quality problems occur during the processing of defective seafood. When tracing the contamination range of defective seafood, it is often too small or too large, making it difficult to determine the scope of seafood recall. Summary of the Invention
[0004] In order to solve the problem that existing methods cannot accurately trace the first processing equipment where poor quality seafood is produced, the purpose of the present invention is to provide a data traceability method and system for seafood production and processing. The technical solutions adopted are as follows:
[0005] In a first aspect, the present invention provides a data traceability method for seafood production and processing, the method comprising the following steps:
[0006] Obtain production and processing information of seafood, including processing equipment and processing time;
[0007] Screen the problem traceability equipment based on the number of defective seafood processed by each device; screen the first seafood based on the processing time interval between each defective seafood and other defective seafood processed by the same problem traceability equipment; obtain the traceability helpfulness of each first seafood for each problem traceability equipment and the source of the defective product based on the processing time interval between each first seafood and other defective seafood processed by the same problem traceability equipment, as well as the relative number of first seafood processed by the same problem traceability equipment during the same time period as each first seafood product;
[0008] Obtaining the involvement depth of each problem tracing device in the first seafood product based on the number of first seafood products processed by the same problem tracing device and the traceability helpfulness; determining an initial problem probability value for each problem tracing device in each process based on the traceability helpfulness and the involvement depth; and obtaining a traceability index for each process based on the involvement depth of each problem tracing device in the first seafood product in each process;
[0009] The target equipment is determined by combining the initial problem possibility value of each problem tracing equipment and the traceability index of the process where each problem tracing equipment is located.
[0010] Preferably, screening the first seafood based on the processing time interval between each defective seafood and other defective seafood processed by the same problem tracing equipment comprises:
[0011] For any undesirable seafood:
[0012] Obtaining a deterioration contingency factor for any defective seafood product based on a first processing time interval between the any defective seafood product and other defective seafood products processed by the same problem tracing equipment, wherein the first processing time interval is positively correlated with the deterioration contingency factor;
[0013] Determine the undesirable seafood with a spoilage accident factor less than a preset spoilage threshold as the first seafood;
[0014] The first seafood is a bad seafood that has deteriorated due to non-accidental factors.
[0015] Preferably, each first seafood product obtains the traceability assistance of each problematic traceability device and the source of the defective product, including:
[0016] For any First Seafood product:
[0017] Obtaining the earliest time when all first seafood products are processed by the equipment to be analyzed; calculating a first time interval between the time when any first seafood product is processed by the equipment to be analyzed and the earliest time;
[0018] Calculating a first ratio between the number of first seafood products processed by the equipment to be analyzed and the number of first seafood products produced and processed by the equipment to be analyzed during the same time period as the any first seafood;
[0019] Obtaining, based on the first time interval and the first ratio, a degree of traceability helpfulness of the first seafood product for the device to be analyzed and the source of the defective product, wherein the first time interval is negatively correlated with the degree of traceability helpfulness, and the first ratio is positively correlated with the degree of traceability helpfulness;
[0020] The device to be analyzed is any problem tracing device.
[0021] Preferably, the acquisition of the involvement depth of each problem tracing device in the first seafood includes:
[0022] The product of the traceability help of each first seafood product for the equipment to be analyzed and the source of the defective product and the number of first seafood products processed by the equipment to be analyzed during the same time period as each first seafood product is used as the first characteristic value of each first seafood product and the equipment to be analyzed;
[0023] Recording the sum of the quantities of the first seafood processed by the equipment to be analyzed during the same time period as all the first seafood as a first quantity; calculating a second ratio between the cumulative sum of the first characteristic values of all the first seafood produced and processed by the equipment to be analyzed and the equipment to be analyzed and the first quantity;
[0024] Obtaining a maximum value and an average value of the number of first seafood products processed by the device to be analyzed during the same time period as all first seafood products; recording the ratio of the maximum value to the average value as a third ratio;
[0025] The product of the second ratio and the third ratio is determined as the depth of involvement of the device to be analyzed in the first seafood.
[0026] Preferably, the step of determining the initial problem probability value of each problem tracing device in each process by comprehensively considering the traceability helpfulness and the participation depth includes:
[0027] The product of the traceability help degree of each first seafood product produced and processed by each problem tracing device to each problem tracing device and the source of the defective product and the involvement depth of each problem tracing device in the first seafood product is recorded as the second characteristic value of each first seafood product produced and processed by each problem tracing device;
[0028] The ratio between the cumulative sum of the second characteristic values of all first seafood products produced and processed by the equipment to be analyzed and the cumulative sum of the second characteristic values of all first seafood products produced and processed by all equipment in the process where the equipment to be analyzed is located is determined as the initial problem possibility value of the equipment to be analyzed.
[0029] Preferably, obtaining the traceability index of each process according to the involvement depth of each problem tracing device in each process to the first seafood includes:
[0030] For any process:
[0031] The average value of the normalized results of the involvement depth of all problem tracing equipment in any one process to the first seafood is determined as the traceability index of any one process.
[0032] Preferably, the step of determining the target device by comprehensively considering the initial problem possibility value of each problem tracing device and the traceability index of the process in which each problem tracing device is located includes:
[0033] For any problem tracing device: calculate the difference between the constant 1 and the traceability index of the process where the problem tracing device is located, and multiply the product of the difference and the initial problem possibility value of the problem tracing device to determine the source evaluation value of the problem tracing device;
[0034] Filter target devices based on the size relationship of the source evaluation values of all problem tracing devices.
[0035] Preferably, screening the target device according to the magnitude relationship of the source evaluation values of all the problem tracing devices includes: taking the problem tracing device corresponding to the largest source evaluation value as the target device.
[0036] Preferably, the device for screening problem tracing equipment based on the amount of defective seafood processed by each device includes:
[0037] Count the total number of defective seafood processed by each piece of equipment;
[0038] If the total number is greater than a preset number threshold, the corresponding device is determined as a problem tracing device.
[0039] In a second aspect, the present invention provides a data traceability system for seafood production and processing, which is used to implement the above method, and includes:
[0040] Data collection module, used to obtain production and processing information of seafood, including processing equipment and processing time;
[0041] The first evaluation module is used to screen problematic traceability equipment based on the number of defective seafood processed by each device; screen first seafood products based on the processing time interval between each defective seafood product and other defective seafood products processed by the same defective traceability equipment; and obtain the traceability helpfulness of each first seafood product for each problematic traceability equipment and the source of the defective product based on the processing time interval between each first seafood product and other defective seafood products processed by the same defective traceability equipment, as well as the relative number of first seafood products processed by the same defective traceability equipment during the same time period as each first seafood product;
[0042] The second evaluation module is configured to determine the involvement depth of each problem tracing device in the first seafood product based on the number of first seafood products processed by the same problem tracing device and the traceability helpfulness; determine the initial problem probability value of each problem tracing device in each process based on the traceability helpfulness and the involvement depth; and obtain a traceability index for each process based on the involvement depth of each problem tracing device in the first seafood product in each process;
[0043] The traceability module is used to determine the target equipment by combining the initial problem possibility value of each problem traceability equipment and the traceability index of the process where each problem traceability equipment is located.
[0044] The present invention has at least the following beneficial effects:
[0045] The present invention evaluates the tracing help of each first seafood to each problem tracing device and the source of the defective product based on the processing time interval between each first seafood and other defective seafood processed by the same problem tracing device, and the relative quantity ratio of the first seafood processed by the same problem tracing device in the same time period as each first seafood. Then, based on the quantity and tracing help of the first seafood processed by the same problem tracing device, the participation depth of the corresponding equipment in the process of processing defective seafood is determined. In the same process, if seafood processed by multiple equipments all have defective products, then several equipments in this process may be fine, and the source of the problems of these seafoods appears in the more front-end process. If in the same process, only one equipment produces defective seafood, If a large number of defective seafood products are produced by this equipment or the number of defective seafood products produced by this equipment is far more than that of other equipment in the same process, it means that the source of the seafood processing problem is this equipment; therefore, the initial problem possibility value is obtained by comprehensively considering the traceability helpfulness and participation depth to determine the possibility that each problem tracing equipment is the first equipment to cause the defective seafood. According to the participation depth of each problem tracing equipment in each process for the first seafood, the traceability index of each process is determined, and then the initial problem possibility value of each problem tracing equipment and the traceability index of the process where each problem tracing equipment is located are combined to screen out the target equipment that first caused the defective seafood, thereby improving the traceability accuracy of the defective seafood and ensuring that all seafood with problems can be recalled in time to avoid serious food safety problems and greater economic losses. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 A flow chart of a data traceability method for seafood production and processing provided by an embodiment of the present invention;
[0048] Figure 2 This is a structural block diagram of a data traceability system for seafood production and processing provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to further illustrate the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the data traceability method and system for seafood production and processing proposed by the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.
[0050] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0051] The following describes in detail a data traceability method and system for seafood production and processing provided by the present invention with reference to the accompanying drawings.
[0052] An embodiment of a data traceability method for seafood production and processing:
[0053] The specific scenario targeted by this embodiment is: in the production process of seafood, there will be numerous processing steps, and each step includes a large number of processing equipment. The production line is carrying out seafood production and processing work almost every moment. The biological activity characteristics of seafood require that the production and transportation of seafood be carried out at low temperatures, otherwise the seafood will rot in a short period of time. When a certain seafood rots, it may cause contamination to other seafood, causing problems with more products. Therefore, this embodiment will combine the production information of different seafood to accurately screen the corresponding contaminating equipment and achieve accurate traceability of seafood.
[0054] This embodiment proposes a data traceability method for seafood production and processing. Figure 1 As shown, a data traceability method for seafood production and processing in this embodiment includes the following steps:
[0055] Step S1, obtaining the production and processing information of the seafood, which includes processing equipment and processing time.
[0056] Before processing, the caught seafood is screened, and seafood without quality issues is selected for subsequent processing. Seafood with quality issues is simply not processed. During the processing of seafood, each production line, process, and processing equipment is coded, and production and processing information for each seafood is collected. This production and processing information includes processing equipment, processing time, and other information. Distributed storage technology (presumably using the SeaboxMPP database system) is used in combination with QR code technology to associate and store each seafood's production and processing information with a QR code.
[0057] So far, this embodiment has collected the production and processing information of each seafood.
[0058] Step S2: screen the problem tracing equipment according to the number of defective seafood processed by each equipment; screen the first seafood based on the processing time interval between each defective seafood and other defective seafood processed by the same problem tracing equipment; obtain the traceability helpfulness of each first seafood to each problem tracing equipment and the source of the defective product according to the processing time interval between each first seafood and other defective seafood processed by the same problem tracing equipment, and the relative number of first seafood processed by the same problem tracing equipment in the same time period as each first seafood.
[0059] When food safety issues arise with seafood, users can return the seafood in question. After returning the seafood, users can first obtain the corresponding production and processing information through the QR code of the seafood in question.
[0060] When a problem occurs in one link of seafood production, all seafood processed on that equipment will have problems. In the next process, the contamination of the problematic seafood will continue to contaminate subsequent seafood processed through the same process. Furthermore, considering that seafood decay is a continuous process, when a problem occurs in the processing equipment of one process, other seafood processed on the same equipment at the same time will be contaminated. These contaminated seafood will be mixed into other subsequent processes, causing a problem in one piece of equipment upstream of the processing process to contaminate a large number of seafood downstream, and these products are still on the same equipment during processing. Furthermore, since seafood decay can breed various viruses and bacteria, these viruses and bacteria may also remain on the processing equipment during processing, causing subsequent seafood produced on this equipment to be contaminated. However, because these viruses and bacteria fall from the previously decayed seafood, they will become less and less with time and the seafood they come into contact with, and subsequent seafood will no longer be contaminated. The processing time of all contaminated products on the corresponding processing equipment is relatively limited. Based on this, the production processes of all collected defective seafood are analyzed to obtain the production processes where problems occur in seafood processing and the corresponding equipment with problems.
[0061] The seafood production process involves numerous suppliers and production lines, each operating almost constantly. This means that problematic seafood may originate from different sources and undergo different processes. However, due to the common processing conditions, such as a problem with the machine's temperature control system or the incorporation of rotten seafood, previously healthy seafood may develop problems after passing through the same machine. Therefore, if multiple pieces of collected defective seafood are processed through the same or several pieces of equipment, it can be generally determined that some issues occurred during processing on these pieces of equipment. This allows for the initial screening of potentially problematic equipment, known as the problem tracing device.
[0062] Specifically, the total number of defective seafood processed by each device is counted separately; it should be noted that when counting the total number, as long as a certain defective seafood has been processed by a certain device, regardless of whether the defective seafood has become a defective seafood when it is produced and processed by the device, the number needs to be counted; each device has a corresponding total number. If the total number is greater than the preset quantity threshold, the corresponding device is determined as the problem tracing device. In this embodiment, the preset quantity threshold is 0.5% of the number of all seafood. In specific applications, the implementer can set it according to the specific situation. It should be noted that the defective seafood mentioned later in this embodiment are all returned seafood.
[0063] During seafood processing, due to their biologically active properties and to preserve more nutrients, they need to be stored at low temperatures. Therefore, unless processing problems or external contamination occur, there is virtually no guarantee of abnormalities, meaning that defective products are unlikely to occur. However, during seafood processing, the presence of psychrophilic bacteria and endogenous enzymes makes seafood difficult to preserve. Unavoidable accidents can occur during the harvesting, processing, and transportation of seafood, leading to rotting and spoilage, resulting in defective products that are subsequently returned. However, these defective products cannot be considered as products for which processing problems can be traced. Because the occurrence of such defective products is accidental, the time it takes to produce them through each process may vary. However, defective products arise when problems occur during processing, making product deterioration a common occurrence, and the corresponding production time across the processing steps is relatively concentrated. Based on this, this embodiment combines the processing time interval between each defective seafood product and other defective seafood products processed through the same problem tracing equipment to select the defective seafood product from all defective seafood products that has deteriorated due to non-accidental factors, which is recorded as the first seafood product.
[0064] Next, this embodiment is described by taking a bad seafood as an example. Other bad seafood can be processed using the method provided in this embodiment.
[0065] Specifically, for any defective seafood: the processing time interval between the defective seafood and other defective seafood processed by the same problem tracing equipment is recorded as the first processing time interval; based on the first processing time interval between the defective seafood and other defective seafood processed by the same problem tracing equipment, the deterioration contingency factor of the defective seafood is obtained, and the first processing time interval is positively correlated with the deterioration contingency factor.
[0066] Among them, the positive correlation relationship means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. It can be an additive relationship, a multiplicative relationship, etc., which is determined by actual application.
[0067] In this embodiment, a specific calculation formula for the deterioration accident factor is given. The deterioration accident factor of the b-th defective seafood can be expressed as:
[0068]
[0069] Among them, O b K represents the accidental factor of the bth bad seafood deterioration, b N represents the number of problematic traceability equipment involved in the processing of the bth bad seafood. k represents the number of defective seafood processed by the kth problem traceability equipment, t k,b represents the time that the bth defective seafood is processed by the kth problem traceability equipment, t k,b,h It represents the time that the h-th defective seafood, excluding the b-th defective seafood, is processed by the k-th problem tracing equipment. exp() represents an exponential function with a natural constant as the base, and || represents the absolute value sign.
[0070] |t k,b -t k,b,h | represents the first processing time interval between the bth defective seafood product and the hth defective seafood product other than the bth defective seafood product, which passed through the kth problem tracing device. A larger value indicates a longer processing time interval between the two defective seafood products passing through the kth problem tracing device. It should be noted that since the processing time of each seafood product on each device is not instantaneous but rather occurs within a time period, this embodiment uses the first moment of each seafood product being processed by the corresponding device as the processing time of each seafood product on that device.
[0071] Using this method, the deterioration contingency factor for each defective seafood product can be obtained. The smaller the deterioration contingency factor, the less likely the corresponding defective seafood product is to have deteriorated due to accidental factors. Therefore, the defective seafood product with a deterioration contingency factor less than a preset deterioration threshold is determined as the first seafood product, thus screening out multiple first seafood products. The first seafood product is also the defective seafood product that deteriorated due to non-accidental factors. In this embodiment, the preset deterioration threshold is 0.8. In specific applications, the implementer can set it according to specific circumstances.
[0072] The residue and stains left on the processing equipment after the seafood rots will cause continuous pollution to the seafood processed on this equipment later. The bad seafood caused by this is in direct contact with the source of the bad products caused by the initial problem of the processing equipment. Therefore, not all bad seafood caused by processing problems are helpful in tracing the processing equipment with problems. Because the stains and residues left by the rotting seafood on the processing equipment will be gradually taken away by other seafood, this leads to the fact that the closer the processing time is to the original batch of bad product sources, the greater the possibility of seafood contamination in the corresponding production batch, and the more bad products appear accordingly. Such bad products will also help trace the problem equipment and the source of bad products. Based on this, this embodiment will evaluate the traceability help of each first seafood for each problem tracing equipment and the source of bad products based on the processing time interval between each first seafood and other bad seafood processed by the same problem tracing equipment, and the relative number of first seafood processed by the same problem tracing equipment in the same time period as each first seafood.
[0073] Next, this embodiment is described by taking a problem tracing device as an example. The method provided in this embodiment can be used to process other problem tracing devices.
[0074] Specifically, any problem tracing device is recorded as a device to be analyzed.
[0075] For any First Seafood product:
[0076] The earliest time at which all first seafood products were processed by the equipment to be analyzed is obtained; the time interval between the time at which any first seafood product was processed by the equipment to be analyzed and the earliest time is calculated, and the time interval is recorded as a first time interval; then, the number of first seafood products processed by the equipment to be analyzed in the same time period as the first seafood is counted, the ratio between the number and the number of first seafood products produced and processed by the equipment to be analyzed is calculated, and the ratio is recorded as a first ratio; further, based on the first time interval and the first ratio, the traceability helpfulness of the first seafood for the equipment to be analyzed and the source of the defective product is obtained, the first time interval being negatively correlated with the traceability helpfulness, and the first ratio being positively correlated with the traceability helpfulness.
[0077] Among them, a positive correlation relationship indicates that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. It can be an additive relationship, a multiplicative relationship, etc., which is determined by actual application; a negative correlation relationship indicates that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtractive relationship, a division relationship, etc., which is determined by actual application.
[0078] In this embodiment, a specific calculation formula for traceability helpfulness is given. The traceability helpfulness of the h-th first seafood to the equipment to be analyzed and the source of the defective product can be expressed as:
[0079]
[0080] Among them, P h represents the traceability help of the hth first seafood to the equipment to be analyzed and the source of the defective product, t h represents the time it takes for the first seafood h to be processed by the equipment to be analyzed, t min Indicates the earliest time when all the first seafood products are processed by the equipment to be analyzed, N h,1 represents the number of first seafood products processed by the equipment to be analyzed in the same time period as the hth first seafood, N0 represents the number of first seafood products produced and processed by the equipment to be analyzed, exp[] represents an exponential function with a natural constant as the base, and || represents the absolute value sign.
[0081] |t h -t min | represents a first time interval, which is used to reflect the time interval between the time when the hth first seafood is processed by the equipment to be analyzed and the earliest time when the first seafood is processed by the equipment to be analyzed. represents a first ratio, reflecting the relative proportion of first seafood products processed by the source equipment to be analyzed during the same time period as the hth first seafood product. A smaller first time interval and a larger first ratio indicate a greater degree of helpfulness of the hth first seafood product in tracing the source equipment to be analyzed and the defective product.
[0082] By adopting the above method, the traceability assistance of each first seafood to each problematic traceability device and defective product source can be obtained.
[0083] Step S3: Based on the number of first seafood products processed by the same problem tracing device and the traceability helpfulness, the involvement depth of each problem tracing device in the first seafood is obtained; the initial problem possibility value of each problem tracing device in each process is determined by combining the traceability helpfulness and the involvement depth; and based on the involvement depth of each problem tracing device in the first seafood in each process, the traceability index of each process is obtained.
[0084] Considering that not all of the problematic traceability devices screened out were the actual processing equipment when the first seafood product deteriorated, because some seafood had previous problems that were accidental, and the bad seafood caused by processing problems came from the same batch, the traceability helpfulness obtained will be significantly reflected, that is, significantly higher. Furthermore, because the bad seafood caused by processing problems was directly mixed into the processing, this would lead to more bad products from the same batch. Next, based on the number of first seafood products processed by the same problematic traceability device and the traceability helpfulness, the depth of involvement of each problematic traceability device in the first seafood product was evaluated.
[0085] Next, we will still use the device to be analyzed as an example to explain. The method provided in this embodiment can be used to handle other problem tracing devices. Specifically, the product of the traceability help of each first seafood to the device to be analyzed and the source of the defective product and the number of first seafood processed by the device to be analyzed in the same time period as each first seafood is used as the first characteristic value of each first seafood and the device to be analyzed; it should be noted that: there is a corresponding first characteristic value between each first seafood and the device to be analyzed. The sum of the number of first seafood processed by the device to be analyzed in the same time period as all first seafood is recorded as the first quantity; calculate the second ratio between the cumulative sum of the first characteristic values of all first seafood produced and processed by the device to be analyzed and the device to be analyzed and the first quantity. Obtain the maximum value and average value of the number of first seafood processed by the device to be analyzed in the same time period as all first seafood; record the ratio between the maximum value and the average value as the third ratio. The product between the second ratio and the third ratio is determined as the involvement depth of the device to be analyzed in the first seafood.
[0086] In this embodiment, a specific calculation formula for the participation depth is given. The participation depth of the device to be analyzed in the first seafood can be expressed as:
[0087]
[0088] Where D represents the depth of involvement of the equipment to be analyzed in the first seafood, N 1,maz It represents the maximum number of first seafood products processed by the equipment to be analyzed in the same time period as all first seafood products. represents the average number of first seafood products processed by the equipment to be analyzed in the same time period as all first seafood products, N0 represents the number of first seafood products produced and processed by the equipment to be analyzed, and P h N represents the traceability help of the hth first seafood to the equipment to be analyzed and the source of the defective product, h,1 It represents the number of first seafood products processed by the equipment to be analyzed in the same time period as the hth first seafood product.
[0089] When the defective seafood produced by a piece of equipment is generally concentrated in the same batch, and the larger the proportion of this batch of defective seafood is among the many defective seafood products, and other products are constantly contaminated, it means that the production equipment has processed rotten seafood and this seafood has also contaminated a large number of other seafood, or the equipment has malfunctioned, causing the entire batch of seafood to deteriorate and rot. Therefore, the involvement depth of the problem tracing equipment in the first seafood is determined. The involvement depth is used to describe whether the defective seafood processed by the equipment is rotten due to processing, and whether it is involved in the process of processing rotten seafood. h ×N h,1 represents the first characteristic value of the hth first seafood and the device to be analyzed, represents the first quantity, represents the second ratio, When both the second ratio and the third ratio are larger, it means that the depth of involvement of the device to be analyzed in the first seafood is stronger, that is, the depth of involvement of the device to be analyzed in the first seafood is greater.
[0090] When seafood is produced and processed, after completing one process, it is generally necessary to transfer it to the equipment in the next process for subsequent processing. During this process, seafood caused by problems with the processing environment may be mixed into the processing equipment of other seafood without problems, which in turn leads to the emergence of another batch of bad seafood. Therefore, when bad products appear, it is either because the low temperature and relatively safe environment were not maintained during the processing, causing the batch of seafood produced to become corrupt and deteriorate; or it encounters foreign contaminants, that is, seafood that has begun to rot is mixed into the batch of seafood that needs to be processed, causing this batch of processed seafood to be contaminated with rotten and deteriorated substances, so that the seafood becomes a bad product during the subsequent processing and transportation process.
[0091] In the same process, if seafood processed by multiple devices produces defective products, then several processing devices in this process may be fine, and the source of these seafood problems appears in a more upstream process; if in the same process, only one device produces a large amount of rotten seafood, or the rotten and defective seafood produced by this device is far more than other devices in the same process, then it means that the source of the seafood processing problem is this device.
[0092] Based on the above characteristics, this embodiment records the product of the traceability helpfulness of each first seafood produced and processed by each problem tracing device to each problem tracing device and the source of the defective product and the involvement depth of each problem tracing device in the first seafood as the second characteristic value of each first seafood produced and processed by each problem tracing device.
[0093] The ratio between the cumulative sum of the second characteristic values of all first seafood produced by the equipment to be analyzed and the cumulative sum of the second characteristic values of all first seafood produced and processed by all equipment in the process where the equipment to be analyzed is determined as the initial problem possibility value of the equipment to be analyzed.
[0094] In this embodiment, a specific calculation formula for the initial problem likelihood value is given. The initial problem likelihood value of the device to be analyzed can be expressed as:
[0095]
[0096] Where C represents the initial problem probability value of the equipment to be analyzed, N0 represents the number of first seafood produced and processed by the equipment to be analyzed, and P h represents the degree of traceability assistance of the hth first seafood processed by the equipment to be analyzed to the equipment to be analyzed and the source of defective products, D represents the depth of involvement of the equipment to be analyzed in the first seafood, M0 represents the number of first seafood processed by all equipment in the process where the equipment to be analyzed is located, and P′ m D′ represents the traceability help of the mth first seafood processed by all equipment in the process where the equipment to be analyzed is located to its corresponding equipment and the source of defective products. m It indicates the involvement depth of the equipment corresponding to the mth first seafood processed by all equipment in the process where the equipment to be analyzed is located in the first seafood.
[0097] P h ×D represents the second characteristic value of the hth first seafood produced and processed by the equipment to be analyzed. P′ m ×D′ m Represents the second characteristic value of the mth first seafood processed by all equipment in the process where the equipment to be analyzed is located.
[0098] By using the above method, the initial problem possibility value of each device can be obtained. The initial problem possibility value is used to reflect the possibility of contamination problems occurring for the first time when the corresponding defective seafood is processed using the corresponding device.
[0099] However, there are also cases where only one piece of equipment produces defective seafood across several consecutive processes. In such cases, there is no equipment that commonly produces defective seafood in the previous seafood processing steps, meaning that the involvement depth of the previous equipment is also high. In other words, if there is still equipment that clearly produces problems in the previous process, it means that further tracing is required. Based on this, this embodiment will determine the traceability index for each process based on the involvement depth of each problem tracing equipment in each process for the first seafood.
[0100] Specifically, for any process, the average of the normalized results of the depth of involvement of all problematic traceability devices in the process with the first seafood is determined as the traceability index for that process. The traceability index for the nth process can be expressed as:
[0101]
[0102] Among them, W η represents the traceability index of the ηth process, R η represents the number of problem tracing devices in the ηth process, D η,q represents the involvement depth of the qth problem tracing device in the ηth process to the first seafood, and norm() represents the normalization function.
[0103] norm(D η,q ) represents the normalized result of the involvement depth of the qth problem tracing device in the first seafood product during the nth process. When the involvement depth of all problem tracing devices in the nth process is high, the traceability index for the nth process is high. This embodiment combines the involvement depths of all problem tracing devices in a process with the first seafood product and uses the average of the normalized results of the involvement depths of all problem tracing devices in a process as the traceability index for that process.
[0104] By adopting the above method, the traceability index of each process can be obtained.
[0105] Step S4: Determine the target device by combining the initial problem possibility value of each problem tracing device and the traceability index of the process where each problem tracing device is located.
[0106] If a processing equipment is the only one that produces a large amount of defective seafood in the corresponding production process, or the defective seafood it produces accounts for a large proportion of all the defective products produced in this process, then this process is very likely to be the processing equipment where the problem first occurred. Moreover, if there was no obvious output of rotten seafood in the previous process, that is, the current process does not need to be traced back, it means that the current equipment is the equipment where the problem occurred, that is, the source of the initial processing equipment problem.
[0107] Based on this, in step S3, this embodiment obtains the initial problem possibility value of each problem tracing device and the traceability index of the process where each problem tracing device is located. Next, the target device is screened out from all problem tracing devices based on the initial problem possibility value and traceability index.
[0108] For any problem tracing device: calculate the difference between constant 1 and the traceability index of the process where the problem tracing device is located, and multiply the difference by the initial problem possibility value of the problem tracing device to determine the source evaluation value of the problem tracing device. The source evaluation value of the δth problem tracing device can be expressed as:
[0109] T δ =C δ ×(1-W′ δ )
[0110] Among them, T δ represents the source evaluation value of the δth problem tracing device, C δ represents the initial problem probability value of the δth problem tracing device, W′ δ Indicates the traceability index of the process where the δth problem traceability device is located.
[0111] The larger the initial problem possibility value of the δth problem tracing device and the smaller the traceability index of the process where the δth problem tracing device is located, the more likely the δth problem tracing device is to be the first device with a problem, that is, the larger the source evaluation value of the δth problem tracing device.
[0112] Using this method, we can obtain the source evaluation value of each problem-tracing device. The larger the source evaluation value, the more likely it is that the corresponding device is the first device to experience the problem. Therefore, the problem-tracing device corresponding to the largest source evaluation value is selected as the target device. The target device is also the device that first caused the seafood problem.
[0113] After identifying the target equipment, the processing time of the defective seafood processed by this target equipment is obtained from the recalled defective seafood. The earliest processing time is selected as the time when the problem occurred. Then, all products produced by the target equipment on that day, as well as seafood processed by the same equipment as these products, are labeled as contaminated seafood. This is because when seafood spoils, various contaminants such as histamine, putrescine, and various microorganisms are left on the equipment. Since seafood is not completely dry, subsequent seafood processed on this equipment will be contaminated by these pollutants, causing these new seafood to be contaminated as well. Therefore, all seafood needs to be recalled.
[0114] Thus, the method provided in this embodiment has been used to complete the traceability of the production and processing equipment of defective seafood.
[0115] This embodiment evaluates the tracing help of each first seafood to each problem tracing device and the source of the defective product based on the processing time interval between each first seafood and other defective seafood processed by the same problem tracing device, and the relative number of first seafood processed by the same problem tracing device in the same time period as each first seafood. Then, based on the number of first seafood processed by the same problem tracing device and the tracing help, the participation depth used to describe whether the corresponding equipment is involved in the process of processing defective seafood is determined; in the same process, if seafood processed by multiple equipments all have defective products, then several equipments in this process may be fine, and the source of the problem of these seafoods appears in the more front-end process; if in the same process, only one equipment produces If a large number of defective seafood are produced or the equipment produces far more defective seafood than other equipment in the same process, it means that the source of the seafood processing problem is this equipment; therefore, the initial problem possibility value is obtained by comprehensively considering the traceability helpfulness and participation depth to determine the possibility that each problem tracing equipment is the first equipment to cause the defective seafood. The traceability index of each process is determined according to the participation depth of each problem tracing equipment in the first seafood in each process, and then the initial problem possibility value of each problem tracing equipment and the traceability index of the process where each problem tracing equipment is located are combined to screen out the target equipment that first caused the defective seafood, thereby improving the traceability accuracy of the defective seafood and ensuring that all seafood with problems can be recalled in time to avoid serious food safety problems and greater economic losses.
[0116] A data traceability system for seafood production and processing:
[0117] See Figure 2 , which shows a structural block diagram of a data traceability system for seafood production and processing provided by one embodiment of the present invention. The system may include a data acquisition module, a first evaluation module, a second evaluation module, and a traceability module;
[0118] The data acquisition module is used to obtain the production and processing information of seafood, including processing equipment and processing time;
[0119] The first evaluation module is used to screen problematic traceability equipment based on the number of defective seafood processed by each device; screen first seafood products based on the processing time interval between each defective seafood product and other defective seafood products processed by the same defective traceability equipment; and obtain the traceability helpfulness of each first seafood product for each problematic traceability equipment and the source of the defective product based on the processing time interval between each first seafood product and other defective seafood products processed by the same defective traceability equipment, as well as the relative number of first seafood products processed by the same defective traceability equipment during the same time period as each first seafood product;
[0120] The second evaluation module is configured to determine the involvement depth of each problem tracing device in the first seafood product based on the number of first seafood products processed by the same problem tracing device and the traceability helpfulness; determine the initial problem probability value of each problem tracing device in each process based on the traceability helpfulness and the involvement depth; and obtain a traceability index for each process based on the involvement depth of each problem tracing device in the first seafood product in each process;
[0121] The traceability module is used to determine the target equipment by combining the initial problem possibility value of each problem traceability equipment and the traceability index of the process where each problem traceability equipment is located.
[0122] It should be understood that Figure 2 The structural block diagram of a data traceability system for seafood production and processing and its modules shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated hardware. Those skilled in the art will understand that the above-mentioned methods and systems can be implemented using computer-executable instructions and / or contained in processor control code, for example, such as on a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the device and its modules of this specification. Not only can they be implemented by hardware circuits such as ultra-large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., they can also be implemented by software executed by various types of processors, or by a combination of the above-mentioned hardware circuits and software (for example, firmware).
[0123] For more details about the above modules, please refer to other places in this manual and will not be repeated here.
[0124] In other embodiments, a medium is also provided, which stores at least one program executable by a computer. When the at least one program is executed by a computer, the computer executes the steps of the data traceability method for seafood production and processing in the above embodiment. The medium may be a computer-readable storage medium.
[0125] Among them, the provided systems and media are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0126] It should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A data traceability method for seafood production and processing, characterized in that: The method comprises the following steps: Obtain production and processing information of seafood, including processing equipment and processing time; Screen the problem traceability equipment based on the number of defective seafood processed by each device; screen the first seafood based on the processing time interval between each defective seafood and other defective seafood processed by the same problem traceability equipment; obtain the traceability helpfulness of each first seafood for each problem traceability equipment and the source of the defective product based on the processing time interval between each first seafood and other defective seafood processed by the same problem traceability equipment, as well as the relative number of first seafood processed by the same problem traceability equipment during the same time period as each first seafood product; Obtaining the involvement depth of each problem tracing device in the first seafood product based on the number of first seafood products processed by the same problem tracing device and the traceability helpfulness; determining an initial problem probability value for each problem tracing device in each process based on the traceability helpfulness and the involvement depth; and obtaining a traceability index for each process based on the involvement depth of each problem tracing device in the first seafood product in each process; The target equipment is determined by combining the initial problem possibility value of each problem tracing equipment and the traceability index of the process where each problem tracing equipment is located.
2. A data traceability method for seafood production and processing according to claim 1, characterized in that: The screening of the first seafood based on the processing time interval between each defective seafood and other defective seafood processed by the same problem traceability equipment includes: For any undesirable seafood: Obtaining a deterioration contingency factor for any defective seafood product based on a first processing time interval between the any defective seafood product and other defective seafood products processed by the same problem tracing equipment, wherein the first processing time interval is positively correlated with the deterioration contingency factor; Determine the bad seafood with a spoilage accident factor less than a preset spoilage threshold as the first seafood; The first seafood is a bad seafood that has deteriorated due to non-accidental factors.
3. The data traceability method for seafood production and processing according to claim 1 is characterized in that: Each first seafood company obtains the traceability assistance for each problematic traceability device and the source of defective products, including: For any First Seafood product: Obtaining the earliest time when all first seafood products are processed by the equipment to be analyzed; calculating a first time interval between the time when any first seafood product is processed by the equipment to be analyzed and the earliest time; Calculating a first ratio between the number of first seafood products processed by the equipment to be analyzed and the number of first seafood products produced and processed by the equipment to be analyzed during the same time period as the any first seafood; Obtaining, based on the first time interval and the first ratio, a degree of traceability helpfulness of the first seafood product for the device to be analyzed and the source of the defective product, wherein the first time interval is negatively correlated with the degree of traceability helpfulness, and the first ratio is positively correlated with the degree of traceability helpfulness; The device to be analyzed is any problem tracing device.
4. The data traceability method for seafood production and processing according to claim 3 is characterized in that: The depth of involvement of each problem tracing device in the first seafood product is obtained, including: The product of the traceability help of each first seafood product for the equipment to be analyzed and the source of the defective product and the number of first seafood products processed by the equipment to be analyzed during the same time period as each first seafood product is used as the first characteristic value of each first seafood product and the equipment to be analyzed; Recording the sum of the quantities of the first seafood processed by the equipment to be analyzed during the same time period as all the first seafood as a first quantity; calculating a second ratio between the cumulative sum of the first characteristic values of all the first seafood produced and processed by the equipment to be analyzed and the equipment to be analyzed and the first quantity; Obtaining a maximum value and an average value of the number of first seafood products processed by the device to be analyzed during the same time period as all first seafood products; recording the ratio of the maximum value to the average value as a third ratio; The product of the second ratio and the third ratio is determined as the depth of involvement of the device to be analyzed in the first seafood.
5. The data traceability method for seafood production and processing according to claim 3 is characterized in that: The step of determining the initial problem probability value of each problem tracing device in each process by combining the traceability helpfulness and the participation depth includes: The product of the traceability help degree of each first seafood product produced and processed by each problem tracing device to each problem tracing device and the source of the defective product and the involvement depth of each problem tracing device in the first seafood product is recorded as the second characteristic value of each first seafood product produced and processed by each problem tracing device; The ratio between the cumulative sum of the second characteristic values of all first seafood products produced and processed by the equipment to be analyzed and the cumulative sum of the second characteristic values of all first seafood products produced and processed by all equipment in the process where the equipment to be analyzed is located is determined as the initial problem possibility value of the equipment to be analyzed.
6. The data traceability method for seafood production and processing according to claim 1 is characterized in that: The traceability indicators for each process are obtained based on the involvement depth of each problematic traceability device in each process to the first seafood, including: For any process: The average value of the normalized results of the involvement depth of all problematic traceability equipment in any one process to the first seafood is determined as the traceability index of any one process.
7. The data traceability method for seafood production and processing according to claim 1 is characterized in that: The step of determining the target device by comprehensively considering the initial problem possibility value of each problem tracing device and the traceability index of the process in which each problem tracing device is located includes: For any problem tracing device: calculate the difference between the constant 1 and the traceability index of the process where the problem tracing device is located, and multiply the product of the difference and the initial problem possibility value of the problem tracing device to determine the source evaluation value of the problem tracing device; Filter target devices based on the size relationship of the source evaluation values of all problem tracing devices.
8. The data traceability method for seafood production and processing according to claim 7, characterized in that: The screening of the target device according to the magnitude relationship of the source evaluation values of all the problem tracing devices includes: taking the problem tracing device corresponding to the largest source evaluation value as the target device.
9. The data traceability method for seafood production and processing according to claim 1, characterized in that: The problem traceability equipment is screened based on the number of defective seafood processed by each device, including: Count the total number of defective seafood processed by each piece of equipment; If the total number is greater than a preset number threshold, the corresponding device is determined as a problem tracing device.
10. A data traceability system for seafood production and processing, the system being used to implement the method of claim 1, characterized in that: The system includes: Data collection module, used to obtain production and processing information of seafood, including processing equipment and processing time; The first evaluation module is used to screen problematic traceability equipment based on the number of defective seafood processed by each device; screen first seafood products based on the processing time interval between each defective seafood product and other defective seafood products processed by the same defective traceability equipment; and obtain the traceability helpfulness of each first seafood product for each problematic traceability equipment and the source of the defective product based on the processing time interval between each first seafood product and other defective seafood products processed by the same defective traceability equipment, as well as the relative number of first seafood products processed by the same defective traceability equipment during the same time period as each first seafood product; The second evaluation module is configured to determine the involvement depth of each problem tracing device in the first seafood product based on the number of first seafood products processed by the same problem tracing device and the traceability helpfulness; determine the initial problem probability value of each problem tracing device in each process based on the traceability helpfulness and the involvement depth; and obtain a traceability index for each process based on the involvement depth of each problem tracing device in the first seafood product in each process; The traceability module is used to determine the target equipment by combining the initial problem possibility value of each problem traceability equipment and the traceability index of the process where each problem traceability equipment is located.
Citation Information
Patent Citations
Commodity traceability method and system
CN105139210A
Aquatic product electronic tracing system
CN107038591A
Agricultural product traceability method and process based on block chain technology
CN112598425A
Supply chain tracing system and method
CN116308429A
Conversion traceability for product supply network
US20120109842A1