Data processing system for full-cycle traceability of lutein-enriched eggs
By standardizing the processing of data from the production of lutein-enriched eggs, generating standard event data, and conducting reliable traceability analysis, the problems of disordered event timing and data contamination were solved. This enabled accurate tracking of egg identities and identification of cold chain risks, improving the accuracy and stability of traceability results.
Patent Information
- Application Number
- CN202611301872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-10
AI Technical Summary
In the production process of lutein-enriched eggs, the data records of each stage are independent and the underlying protocols are not consistent, which leads to disordered event timing and a lack of effective collaborative processing mechanisms. This results in mis-binding of objects, inaccurate source identification, and abnormal data contamination of the main traceability record, affecting the accuracy and stability of traceability results.
The data acquisition module performs protocol unification, time correction, and sequence number addition to generate standard event data; the traceability analysis module generates temporary records for each egg based on encoder pulse values and photoelectric sensor signals, and determines the time period of lutein source by combining equipment status and process parameters; the traceability control module performs formal association, anomaly handling, and cold chain risk management; and the data storage module ensures accurate data writing and isolation.
It enables unified processing of events from multiple equipment sources, ensures reliable tracking of egg identities, improves the accuracy and integrity of traceability results, reduces erroneous binding caused by short-term equipment fluctuations, and enhances the ability to identify cold chain risks.
Smart Images

Figure CN123070974A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of agricultural product quality traceability and intelligent data processing technology, specifically a data processing system for full-cycle traceability of lutein-enriched eggs. Background Technology
[0002] In the production of lutein-enriched eggs, eggs need to go through multiple stages in sequence, including feeding, laying, sorting, coding, palletizing, boxing, and cold chain warehousing. The accurate correspondence between lutein source information, equipment operation information, and flow information of each workstation depends on the stability of full-process data collection, time-series correction, and object association processing. Only by uniformly processing multi-source equipment events during the production process and reliably tracking the identity relationship of eggs in continuous flow can the accuracy of the final traceability results be guaranteed. In traditional methods, each link of the production line usually uses independent equipment for data recording. The underlying protocols are not unified, and the timing of events is affected by network fluctuations and equipment status fluctuations, resulting in data disorder. Furthermore, there is still a lack of effective collaborative processing mechanisms for issues such as the time delay between the source of lutein and the egg-laying time after material change, the re-association of objects after re-inspection and return, and the risk of cold chain fluctuations. As a result, the stability of the traceability chain does not meet the preset requirements, leading to situations such as misbinding of objects, inaccurate source identification, and abnormal data contaminating the main traceability record. Summary of the Invention
[0003] The purpose of this invention is to provide a data processing system for full-cycle traceability of lutein-enriched egg production, and to solve the following technical problems: This addresses situations where inconsistent underlying protocols, disordered event timing, and a lack of effective collaborative processing mechanisms lead to misbinding of objects, inaccurate source identification, and abnormal data contamination of the main traceability record. It aims to achieve unified processing of events from multiple sources and reliable tracking of the identity relationships of eggs during continuous circulation, ensuring the accuracy of the final traceability results and the integrity of the main traceability chain.
[0004] The objective of this invention can be achieved through the following technical solutions: A data processing system for full-cycle traceability of lutein-enriched egg production includes: The data acquisition module collects raw events from the processes of feeding, egg laying, sorting, coding, palletizing, boxing, cold chain, and manual re-inspection. After protocol unification, time correction, sequence number addition, and workstation marking, standard event data is generated. Protocol unification involves parsing and encapsulating raw events from different underlying communication protocols into data frames with a unified field structure according to preset encapsulation rules. The unified field structure includes a device identification field, a generation time field, and an event payload field for carrying measurement values or status bits. The device status module determines the device's working status based on the device's heartbeat, power-on duration, reconnection records, calibration status, fault codes, key action feedback, and manual maintenance status, and outputs the effective start time, duration, and / or status hold flag. The traceability analysis module generates a temporary record for a single egg based on the cumulative pulse value of the encoder, the trigger edge of the output signal of the photoelectric sensor, and the preset pulse interval. It determines the time period of lutein source on the egg production time axis based on the relevant time of feed change and lutein absorption parameters. The lutein absorption parameters include the lutein absorption onset time and stable deposition time of the corresponding chicken house zone. It also combines standard event data, temporary records for a single egg, equipment working status, and process parameters to determine the identification reliability, lutein batch label, completeness of process records, interference judgment results, and equipment operating status values. The traceability control module performs formal association writing, abnormal temporary storage processing, abnormal isolation, re-inspection and re-association, cold chain risk write-back, and code assignment pause or resume according to preset trigger conditions; The data storage module, when the conditions are met, writes the generated single egg object and the object relationship between the egg tray, box, pallet and vehicle outbound batch at the corresponding circulation node, as well as the lutein source chain, into the main traceability database; otherwise, it writes it into the abnormal temporary storage area, the abnormal pending judgment database or the audit archive database, and writes back the status. The results output module outputs the corresponding full-cycle traceability results, anomaly handling status, and cold chain risk markers.
[0005] Preferably, the standard event data includes a device identifier field, a device local incrementing sequence number field, a generation time field, an arrival time field, a workstation field, a business category identifier field, and an event load field; the generation time field is the event generation time generated by the device's real-time clock or corrected by the gateway; The business category identifier field is used to distinguish between feeding events, egg-laying events, sorting events, coding events, palletizing events, boxing events, cold chain events, and manual re-inspection events; The original events include the batch number of feed bins, feed start / stop, valve opening / closing and zone feeding status provided by the chicken coop feeding equipment interface, changes in the quality of remaining feed provided by the feed bin weighing device, displacement pulses provided by the egg collection belt encoder, pass trigger events provided by the photoelectric sensor, egg weight or tray weight provided by the weighing device, quality attributes provided by the crack detection equipment and appearance inspection equipment, inkjet printer's inkjet printing success or failure and inkjet printing format status, tray position detector's tray slot or tray loading status, door events and temperature monitoring data provided by the door magnet and temperature probe, and return, rejection, re-release and supplementary coding events provided by the manual re-inspection terminal.
[0006] Preferably, the method for generating a temporary record for a single egg is as follows: the pulse increment between adjacent triggering events is determined based on the cumulative pulse value of the encoder, and the entry determination is performed in conjunction with the entry trigger edge of the photoelectric sensor; When the photoelectric sensor outputs a rising or falling edge in a predetermined direction, and the pulse increment corresponding to the adjacent trigger edge is between the preset minimum pulse interval and the preset maximum pulse interval, a temporary record for the corresponding egg is generated; the temporary record for the egg includes at least the object number, the entry trigger time, the cumulative pulse value, and the line position number. The preset minimum pulse interval is determined based on the minimum stable egg spacing and the encoder resolution, and the preset maximum pulse interval is determined based on the maximum stable egg spacing and the encoder resolution.
[0007] Preferably, the reliability of identification is determined by consistency comparison of single egg temporary records, inkjet printing results, tray loading results, re-inspection and return results, manual removal results, sequence differences and position differences; Among them, the manual removal result is the processing result corresponding to the removal event or removal event provided by the manual re-inspection terminal; the order difference is the absolute value of the difference between the object sequence numbers of the current object in the adjacent workstations; and the position difference is the absolute value of the difference between the line position numbers of the current object in the adjacent workstations. Reliability is identified by a reliability label or a reliability score. When a reliability score is used, the reliability score is obtained by weighted summation after pre-setting weights for the inkjet printing result, tray mounting result, re-inspection and return result, manual removal result, sequence difference, and position difference. The identification status is determined based on the comparison between the identification reliability and the preset identification reliability threshold. The identification status includes at least identification stability, identification misalignment risk, and the need for re-association.
[0008] Preferably, the lutein source time period is constructed as follows: the feeding time period is established based on the feed change time, the end time of emptying the old feed residue and the start time of stable supply of new feed in the chicken house zoning, and the source time period on the egg production time axis is determined by combining the lutein absorption onset time and stable deposition time of the corresponding zoning. During operation, the batch labels for lutein are obtained by matching the egg-laying event time with the chicken house zoning; the lutein batch labels include direct source labels, delayed source labels, and feed mixing risk labels. The end time of emptying the old material residue is determined by a combination of factors, including whether the remaining mass in the silo is not greater than the preset remaining mass threshold, the working status of the feeder, and the cumulative feeding time after material replacement.
[0009] Preferably, the device status module determines the device operating status value based on the running time, reconnection status, heartbeat stability, calibration status and the acquisition stability of the applicable device, and combines the device heartbeat interruption duration, redundant channel status and key function feedback to determine the device working status. The equipment operating status value is a discrete state quantity generated according to a preset classification rule; the equipment operating status includes at least the preheating state, unstable state, fault confirmation state, allowed binding state, isolation state, and restricted state between the preset locking limit and the preset allowable limit, wherein the preset locking limit is less than the preset allowable limit. When the device's operating status value is less than the preset locking limit, it is determined to be in an isolated state or a fault confirmation state; when the device's operating status value is not less than the preset allowable limit, it is determined to be in an allowed binding state; when the device's operating status value is greater than or equal to the preset locking limit and less than the preset allowable limit, it is determined to be in a restricted state. The preheating state is determined based on whether the power-on time reaches the preset preheating time. The unstable state is determined based on whether the heartbeat stability, reconnection status, or data acquisition stability does not meet the preset conditions. The device status module only outputs the device's working status to the traceability control module when the duration of a certain device's working state is not less than the corresponding preset minimum holding time.
[0010] Preferably, the exception temporary storage handling method in the traceability control module is as follows: The interference determination results should include at least no interference, slight interference, and significant interference; When the interference determination result changes from no interference to slight interference or significant interference, or when the device operating status changes from allowed binding status to isolated status, fault confirmation status or restricted status, an abnormal investigation time period is established starting from the time of the corresponding status change. Mark the relevant objects within the anomaly investigation period as records pending confirmation and suspend the issuance of official traceability codes; During the anomaly investigation period, late events, retransmission events, and return events continue to be received, and the positions are rematched and reordered without overwriting the object relationships already written in the main traceability database. When the device status module outputs a binding permission status and the formal association write conditions are met, the object in the exception temporary storage area is converted into a formal object and written to the main traceability database. If the conditions for formal association writing are still not met after the anomaly investigation period ends, the corresponding object will be transferred to the anomaly pending database, and the formal association prohibition status will be written back to the subsequent packaging, boxing and outbound processes. The timeframe for anomaly investigation is determined based on equipment recovery time, backlog resolution time, and line speed stabilization time.
[0011] Preferred method for re-inspection and re-association is as follows: take the object returned by the re-inspection station as the processing object, extract the scanning result, re-inspection weighing result and return tank result of the returned object to form return verification information; Extract historical code values, historical weights, and historical slots from historical archived objects to form candidate original object information; construct matching difference values based on the code value differences, weight differences, and slot differences between the backflow verification information and the candidate original object information, and set weight tolerance, code value consistency conditions, and slot consistency conditions; Among them, the weight difference is the absolute value of the difference between the re-inspection weighing result and the historical weight; the code value consistency condition is that the scanning result is the same as the historical code value or the same after error correction processing based on the preset character replacement table and modulo 10 weighted summation check bit rule; the slot consistency condition is that the return slot result is the same as the historical slot. The matching difference value is obtained by weighting and summing the code value difference, weight difference and slot difference according to whether the corresponding consistency conditions or weight tolerance are met, and the corresponding penalty amount or absolute value is applied according to the preset weight. Filter out candidate original objects whose matching difference values meet the preset binding limits, and select the candidate original object with the smallest matching difference value when there are multiple candidate original objects that meet the preset binding limits; If there is a candidate original object that meets the preset binding limit, an association correction record from the returned object to the candidate original object is generated, and the association relationship between the candidate original object and the egg tray, box, pallet and vehicle outbound record is updated according to the association correction record. If no candidate original object that meets the preset binding limit is found, the returned object will be transferred to the exception pending judgment database and written back to the manual review before it can be officially associated.
[0012] Preferably, the writing method of the data storage module is as follows: the process record integrity is used to characterize the recording status of an object in a predetermined process, including at least complete records, missing records and duplicate records; When the identification status is stable, the process record integrity is complete, and the equipment working status of the corresponding key equipment is in the binding allowed state, the object relationship can be formally written into the main traceability database, and a formal object identifier can be generated for packaging association, boxing association, and outbound association to call. If the above conditions are not met, write the object to the exception temporary storage area or the exception pending database, and write back the non-downstream formal association status. When an object belongs to audit record data generated by the audit record process, it is written to the audit archive library; when the object passes the recovery judgment or manual review, it is allowed to be added to the main traceability database in the form of associated correction records, and the original status, correction reason, correction time and correction source are retained; The cold chain risk marker determines the cumulative value of temperature exceeding the limit based on the door magnetic status and temperature monitoring data. The cumulative value of temperature exceeding the limit is the cumulative value of the amount of temperature exceeding the preset upper temperature limit or falling below the preset lower temperature limit and the corresponding duration. When the cumulative temperature exceeds the limit and is not less than the preset thermal disturbance limit, a cold chain risk mark is written for the relevant pallet, box or vehicle batch leaving the warehouse.
[0013] The preset upper temperature limit, preset lower temperature limit, and preset thermal disturbance limit are given in advance by the process parameters.
[0014] The beneficial effects of this invention are: 1. The data acquisition module of this invention performs protocol unification, time correction, sequence number addition, and workstation marking on the original events in the processes of feeding, egg laying, sorting, coding, palletizing, boxing, cold chain, and manual re-inspection. It generates standard event data containing equipment identification fields, equipment local incrementing sequence number fields, generation time fields, arrival time fields, workstation fields, business category identification fields, and event load fields. The traceability analysis module generates temporary records for each egg based on the encoder's cumulative pulse value, the trigger edge of the photoelectric sensor output signal, and the preset pulse interval. This invention is particularly suitable for lutein-rich egg production scenarios where multiple heterogeneous devices operate in parallel. It has the advantage of suppressing the risks of event disorder, duplicate counting, and object drift caused by network jitter and signal jitter, thereby improving the accuracy of single-egg identity modeling in continuous flow processes. 2. The traceability analysis module of this invention determines the reliability of identification based on the inkjet printing results, tray loading results, re-inspection and return results, manual removal results, sequence differences, and position differences. It determines the time period of lutein source based on the feed change time of the chicken house zone, the end time of emptying the old feed residue, the start time of stable supply of new feed, and the absorption and stable deposition time of lutein. The equipment status module outputs the equipment working status by combining the equipment heartbeat, power-on time, reconnection records, calibration status, fault codes, key action feedback, and manual maintenance status. This invention is particularly suitable for production processes that require simultaneous judgment of identity continuity, lutein source delay relationship, and equipment health status. It has the advantages of avoiding mechanical correspondence between feeding batches and egg production batches, reducing erroneous binding caused by short-term equipment fluctuations, improving the accuracy of source determination, and improving the stability of traceability control. 3. When the traceability control module of this invention detects a change in the interference judgment result or a change in the equipment working status from an allowed binding state to an unallowed binding state, it establishes an abnormal investigation period, performs abnormal temporary storage processing on the relevant objects, and re-associates them based on the scanning result, re-inspection weighing result, and return slot result during re-inspection and return. The data storage module only writes the object relationship into the main traceability database when the identification status, process record integrity, and equipment working status meet the conditions. At the same time, it calculates the cumulative value of temperature exceeding the standard based on the door magnetic status and temperature monitoring data and writes back the cold chain risk mark. This invention is particularly suitable for complex working conditions with transient interference, manual re-inspection and return, and cold chain fluctuations. It has the advantages of preventing abnormal data from contaminating the main traceability record, improving the accuracy of re-binding of return objects, and enhancing the ability to identify cold chain risks. Attached Figure Description
[0015] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a data flow diagram of the data processing system for full-cycle traceability of lutein-enriched egg production, as described in an embodiment of the present invention. Detailed Implementation
[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] Please see Figure 1 A data processing system for full-cycle traceability of lutein-enriched egg production includes: The data acquisition module collects raw events from the processes of feeding, egg laying, sorting, coding, palletizing, boxing, cold chain, and manual re-inspection. After protocol unification, time correction, sequence number addition, and workstation marking, standard event data is generated. Protocol unification involves parsing and encapsulating raw events from different underlying communication protocols into data frames with a unified field structure according to preset encapsulation rules. The unified field structure includes a device identification field, a generation time field, and an event payload field for carrying measurement values or status bits. The device status module determines the device's working status based on the device's heartbeat, power-on duration, reconnection records, calibration status, fault codes, key action feedback, and manual maintenance status, and outputs the effective start time, duration, and / or status hold flag. The traceability analysis module generates a temporary record for a single egg based on the cumulative pulse value of the encoder, the trigger edge of the output signal of the photoelectric sensor, and the preset pulse interval. It determines the time period of lutein source on the egg production time axis based on the relevant time of feed change and lutein absorption parameters. The lutein absorption parameters include the lutein absorption onset time and stable deposition time of the corresponding chicken house zone. It also combines standard event data, temporary records for a single egg, equipment working status, and process parameters to determine the identification reliability, lutein batch label, completeness of process records, interference judgment results, and equipment operating status values. The traceability control module performs formal association writing, abnormal temporary storage processing, abnormal isolation, re-inspection and re-association, cold chain risk write-back, and code assignment pause or resume according to preset trigger conditions; The data storage module, when the conditions are met, writes the generated single egg object and the object relationship between the egg tray, box, pallet and vehicle outbound batch at the corresponding circulation node, as well as the lutein source chain, into the main traceability database; otherwise, it writes it into the abnormal temporary storage area, the abnormal pending judgment database or the audit archive database, and writes back the status. The results output module outputs the corresponding full-cycle traceability results, anomaly handling status, and cold chain risk markers. Standard event data includes a device identifier field, a device local incrementing sequence number field, a generation time field, an arrival time field, a workstation field, a service category identifier field, and an event load field; the generation time field is the event generation time generated by the device's real-time clock or corrected by the gateway; The business category identifier field is used to distinguish between feeding events, egg-laying events, sorting events, coding events, palletizing events, boxing events, cold chain events, and manual re-inspection events; The original events include the batch number of feed bins, feed start / stop, valve opening / closing and zone feeding status provided by the chicken coop feeding equipment interface, the change in residual feed quality provided by the feed bin weighing device, the displacement pulse provided by the egg collection belt encoder, the pass trigger event provided by the photoelectric sensor, the egg weight or tray weight provided by the weighing device, the quality attributes provided by the crack detection equipment and appearance inspection equipment, the inkjet printer's inkjet printing success or failure and inkjet printing format status, the tray position detector's tray slot or tray loading status, the door events and temperature monitoring data provided by the door magnet and temperature probe, and the return, rejection, re-release and supplementary coding events provided by the manual re-inspection terminal; The method for generating temporary records for a single egg is as follows: determine the pulse increment between adjacent trigger events based on the cumulative pulse value of the encoder, and make entry determination in conjunction with the entry trigger edge of the photoelectric sensor; When the photoelectric sensor outputs a rising or falling edge in a predetermined direction, and the pulse increment corresponding to the adjacent trigger edge is between the preset minimum pulse interval and the preset maximum pulse interval, a temporary record of the corresponding egg is generated. The temporary record for a single egg must include at least the object sequence number, entry trigger time, cumulative pulse value, and line position number; The preset minimum pulse interval is determined based on the minimum stable egg spacing and the encoder resolution, and the preset maximum pulse interval is determined based on the maximum stable egg spacing and the encoder resolution.
[0018] This embodiment provides a data processing system for full-cycle traceability of lutein-enriched egg production, showing a complete implementation path from system architecture to data access and physical object modeling. This system receives multi-source heterogeneous raw events from all stages of breeding, sorting, and cold chain, and generates standard event data through protocol unification and time correction at the edge side. The system combines the physical state of the equipment with the production process parameters to extract features and determine the status of continuously flowing egg products. Finally, based on the determination results, it implements hierarchical scheduling and partitioned storage, writes reliable data into the main traceability database, isolates suspicious data and writes back the status, thereby establishing a precise correlation mapping from feeding to delivery. Furthermore, based on the above embodiments, in response to the problem of heterogeneous data and timing disorder of multi-source devices, this system obtains raw events such as feed batch number provided by the chicken coop feeding equipment interface, displacement pulse provided by the egg collection belt encoder, and inkjet printing feedback provided by the inkjet printer through the data acquisition module. According to the preset encapsulation rules, the raw events are unified in protocol, corrected in time, supplemented with sequence number and marked with workstation to generate standard event data. Standard event data refers to data frames that transform different underlying protocols into a unified carrier for cross-layer flow. It contains a device identification field, a generation time field, and an event payload field used to carry specific measurement values or status bits. This invention, by supplementing the gateway side with an arrival time field and a local incrementing sequence number field, deeply mines the temporal sequence relationship of data, transforming the underlying packets, which are originally susceptible to network jitter and thus out of order, into a standardized data stream with strict timing constraints. In practical implementation, to address the problem of single egg identification modeling in continuous physical flow, this system obtains the cumulative pulse value of the encoder and the output signal of the photoelectric sensor through the traceability analysis module. Based on the comparison result between the pulse increment between adjacent trigger events and the preset pulse interval, the system determines the entry of the physical egg flowing through the detection position and generates a temporary record of the single egg. Among them, the preset minimum pulse interval and the preset maximum pulse interval refer to the digital boundaries that characterize the physical safety distance of eggs on the production line. For example, the minimum pulse threshold determined by multiplying the minimum stable egg distance and the encoder resolution, its physical meaning is to define the reasonable space occupation range of the effective physical entity. This invention combines photoelectric triggering edges, such as rising or falling edges in a predetermined direction, with displacement pulse increments. Only when the pulse increment falls within a reasonable spacing range is it confirmed as a valid entity and a temporary record containing information such as object number and cumulative pulse value is generated. When the equipment generates vibration signals or the spacing between eggs is not within the preset standard range, traditional discrete event recording methods will result in repeated recording of the same object or positional deviations from merging multiple object records. This embodiment uses a dual interlocking mechanism of pulse + photoelectric to accurately cut the continuous physical space flow into a discrete digital object sequence, ensuring from the source that the reference object bound for subsequent traceability does not drift. In the application embodiment, the above mechanism is deployed on the edge computing node close to the production line; when the production line starts, the raw electrical signals generated by the sensors at each workstation continuously flow into the edge gateway, and the data acquisition module in the gateway encapsulates standard event data in real time, while the traceability analysis module synchronously generates a temporary record for each egg. This structured data, which has undergone preliminary cleaning and modeling, serves as the basic input for subsequent identity stability assessment and the issuance of formal traceability codes, and is continuously fed into the traceability control module of the central node.
[0019] In a preferred embodiment of the present invention, the reliability of identification is determined by consistency comparison of single egg temporary records, inkjet printing results, tray loading results, re-inspection and return results, manual removal results, sequence differences and position differences. Among them, the manual removal result is the processing result corresponding to the removal event or removal event provided by the manual re-inspection terminal; the order difference is the absolute value of the difference between the object sequence numbers of the current object in the adjacent workstations; and the position difference is the absolute value of the difference between the line position numbers of the current object in the adjacent workstations. Reliability is identified by a reliability label or a reliability score. When a reliability score is used, the reliability score is obtained by weighted summation after pre-setting weights for the inkjet printing result, tray mounting result, re-inspection and return result, manual removal result, sequence difference, and position difference. The identification status is determined based on the comparison between the identification reliability and the preset identification reliability threshold. The identification status includes at least identification stability, identification misalignment risk, and need for re-association. The method for constructing the lutein source time period is as follows: feed time periods are established based on the feed change time, the end time of emptying old feed residue, and the start time of stable supply of new feed in the chicken house zoning. The source time period on the egg production time axis is determined by combining the lutein absorption onset time and stable deposition time of the corresponding zoning. During operation, the lutein batch label is obtained by matching the egg production event time and chicken house zoning. Lutein batch labels include direct source labels, delayed source labels, and mixing risk labels; the end time of emptying residual old material is determined by whether the remaining mass in the silo is not greater than the preset remaining mass threshold, the working status of the feeder, and the cumulative feeding time after material change. The device status module determines the device operating status value based on runtime, reconnection status, heartbeat stability, calibration status, and the acquisition stability of the applicable device, and combines the duration of device heartbeat interruption, redundant channel status, and key function feedback to determine the device working status. The equipment operating status value is a discrete state quantity generated according to a preset classification rule; the equipment operating status includes at least the preheating state, unstable state, fault confirmation state, allowed binding state, isolation state, and restricted state between the preset locking limit and the preset allowable limit, wherein the preset locking limit is less than the preset allowable limit. When the device's operating status value is less than the preset locking limit, it is determined to be in an isolation state or a fault confirmation state; when the device's operating status value is not less than the preset allowable limit, it is determined to be in an allowable binding state. When the device's operating status value is greater than or equal to the preset locking limit and less than the preset allowable limit, it is determined to be in a restricted state; the preheating state is determined based on whether the power-on time has reached the preset preheating time; and the unstable state is determined based on whether the heartbeat stability, reconnection status, or acquisition stability does not meet the preset conditions. The device status module outputs the device status to the traceability control module only when the duration of a certain device's working status is not less than the corresponding preset minimum retention time.
[0020] After completing the basic data modeling, the system extracts features including the correlation between identity stability and lutein source, and combines them with the underlying physical state of the device to make collaborative control judgments. After acquiring the temporary record of a single egg and downstream workstation events, the traceability analysis module compares the consistency of the sequence and position differences of the current object on the production line based on the inkjet printing results, tray loading results, re-inspection return results, and manual removal results to determine the reliability of identification. Meanwhile, the source analysis module determines the interference judgment result based on the unexpected level transition frequency of the photoelectric sensor and the rated line speed of the production line in the process parameters: When the level transition frequency is less than the first preset frequency and the line speed is stable, it is determined to be no interference; when the level transition frequency is greater than or equal to the first preset frequency and less than the second preset frequency, it is determined to be slight interference; when the level transition frequency is greater than or equal to the second preset frequency or the line speed undergoes an abnormal change, it is determined to be significant interference. In addition, the traceability analysis module compares the business category identifier field and workstation field in the standard event data with the preset standard process flow workstation chain to determine the completeness of the process record: if the current single egg object has corresponding event data flow in all standard process workstations, it is determined to be a complete record; If any event at a predetermined workstation is missing, it is considered a missing record; if two or more conflicting events with the same object number or highly overlapping timing are received at the same workstation, it is considered a duplicate record. Among them, identification reliability refers to the confidence index that characterizes the continuity of identity of an entity object during the process of cross-workstation transfer. For example, the identification reliability score is obtained by weighting and summing the deviation rates of various results after setting preset weights. To eliminate the dimensional differences between indicators of different dimensions, the system quantifies and normalizes each factor before performing weighted summation. For continuous variables such as sequence differences and positional differences, the system uses linear normalization based on the physical limit length of the production line to map them to dimensionless values; for positional differences... Its mapping formula is defined as follows: in, A preset maximum permissible position is assigned a deviation constant to cap the normalized value of extreme cases of abnormal slippage at 1, preventing the calculation results from exceeding the domain of the feature matrix. For discrete results such as inkjet printing results, success is recorded as 0, and failure or missing data as 1. Based on this, a reliability score is identified. The specific calculation formula is as follows: in, These are the individual results or differences after normalization. The corresponding preset weights, and the scalar sum of the system-forced feature weights satisfy... To prevent distortion of the overall score range; The weights are set based on the historical statistical probability of an object being disconnected from the chain due to an abnormal state. For example, the weight of sequence difference is usually significantly higher than the weight of a single coding failure. Its physical meaning is to quantitatively evaluate whether the egg has cut in line, been missed, or slipped on the conveyor belt. This invention captures the implicit temporal deviation patterns in continuous flow through multi-node consistency fusion calculation, transforming the disadvantage of single-point misjudgment into the advantage of mutual verification across the entire link. In response to the unique functional properties of lutein-enriched eggs, the system obtains the feed change time, remaining feed mass, and feeder working status of the chicken house zones. Based on the material emptying logic, it determines the end time of emptying the old feed residue and the start time of stable supply of new feed. Combining the absorption and effective duration and stable deposition duration of lutein, it generates the lutein source time period on the egg production time axis. Among them, the absorption onset time and stable deposition time refer to the physiological transformation cycle of nutrients from ingestion by poultry to effective accumulation in egg yolk; This invention extends the physical material replacement process into a dynamic time window that includes old material dominance, mixing transition, and new material stabilization by introducing a biological time delay mapping mechanism. The specific time delay mapping rule is as follows: Let the end time of the old material residue discharge be... The stable supply of new materials began at the time when The absorption and onset time of lutein is The stable deposition time is The time period for the delayed source of old materials on the egg-laying timeline continues until... End of mixing risk period to The direct source time period is from Effective immediately; The above time-series mapping strictly follows the time lag law of biological metabolism: the time required for the mixed feed to take effect from ingestion by poultry to its manifestation in the egg is considerable. Eggs produced before this point are still from the conversion of pure old feed; however, for the new feed to completely replace the mixed feed components and form a stable accumulation, it requires a stable deposition period longer than the effective time. ; The above time delay mapping rules eliminate the time sequence inversion anomaly caused by directly setting the physical feeding action time and the egg laying time to correspond to the same day; In terms of collaborative determination of device status, the device status module obtains the device's runtime, reconnection status and heartbeat stability, and folds the above-mentioned underlying parameters according to preset hierarchical rules to generate device running status values and corresponding device working states such as preheating status, unstable status or allowed binding status. The folding mechanism here specifically refers to: the system setting the initial device operating status values. And establish discrete deduction rules: when the heartbeat interruption lasts for a certain duration Points are deducted when the time is between 1 and 3 seconds. When it exceeds 3 seconds, ; Number of reconnections If more than 3 times, points will be deducted. The scores corresponding to each underlying parameter are added together to form a comprehensive deduction, resulting in the equipment operating status value. This is to achieve the folding and transformation of multi-dimensional parameters into a single-dimensional device operating status value, and then compare it with a preset limit threshold to determine the final working status. Among them, the output of the device's working status is controlled by the minimum holding time of the corresponding status, that is, an abnormal status must last for more than a set number of seconds before it is confirmed. Its physical meaning is to filter and prevent jitter of the sensor level or network heartbeat that fluctuates at high frequency in the industrial field. Without the status proxy filtering mechanism provided by the equipment status module, the disconnection pulse signal generated by the upstream sensor on the production line will trigger an abnormal reset of the traceability control link or generate a traceability error code. This embodiment performs equipment health grading and minimum hold time filtering through the equipment status module, effectively blocking underlying physical noise and providing a stable and reliable logic trigger source for the traceability control module; In the application embodiment, the above mechanism runs in parallel in the task scheduler of the central server; the source tracing analysis module continuously outputs the object feature set with confidence, while the device status module synchronously outputs the key status events after anti-shake folding. These two data streams converge into the traceability control module, serving as the core decision-making basis for whether to officially issue traceability QR codes for the current batch of eggs.
[0021] In a preferred embodiment of the present invention, the abnormal temporary storage processing method in the traceability control module is as follows: the interference determination result includes at least no interference, slight interference, and significant interference; When the interference determination result changes from no interference to slight interference or significant interference, or when the device operating status changes from allowed binding status to isolated status, fault confirmation status or restricted status, an abnormal investigation time period is established starting from the time of the corresponding status change. Mark the relevant objects within the anomaly investigation period as records pending confirmation and suspend the issuance of official traceability codes; During the anomaly investigation period, late events, retransmission events, and return events continue to be received, and the positions are rematched and reordered without overwriting the object relationships already written in the main traceability database. When the device status module outputs a binding permission status and the formal association write conditions are met, the object in the exception temporary storage area is converted into a formal object and written to the main traceability database. If the conditions for formal association writing are still not met after the anomaly investigation period ends, the corresponding object will be transferred to the anomaly pending database, and the formal association prohibition status will be written back to the subsequent packaging, boxing and outbound processes. The timeframe for troubleshooting anomalies is determined based on equipment recovery time, backlog resolution time, and line speed stabilization time. The re-inspection and re-association process is as follows: take the object returned by the re-inspection station as the processing object, extract the scanning result, re-inspection weighing result and return tank result of the returned object, and form return verification information; Extract historical code values, historical weights, and historical slots from historical archived objects to form candidate original object information; construct matching difference values based on the code value differences, weight differences, and slot differences between the backflow verification information and the candidate original object information, and set weight tolerance, code value consistency conditions, and slot consistency conditions; Among them, the weight difference is the absolute value of the difference between the re-inspection weighing result and the historical weight; the code value consistency condition is that the scanning result is the same as the historical code value or the same after error correction processing based on the preset character replacement table and modulo 10 weighted summation check bit rule; the slot consistency condition is that the return slot result is the same as the historical slot. The matching difference value is obtained by weighting and summing the code value difference, weight difference and slot difference according to whether the corresponding consistency conditions or weight tolerance are met, and the corresponding penalty amount or absolute value is applied according to the preset weight. Filter out candidate original objects whose matching difference values meet the preset binding limits, and select the candidate original object with the smallest matching difference value when there are multiple candidate original objects that meet the preset binding limits; If there is a candidate original object that meets the preset binding limit, an association correction record between the returned object and the candidate original object is generated, and the association relationship between the candidate original object and the egg tray, box, pallet and vehicle outbound record is updated according to the association correction record; if there is no candidate original object that meets the preset binding limit, the returned object is transferred to the abnormal pending database, and the formal association status can only be written back after manual review. The data storage module is written in the following way: the process record integrity is used to characterize the record status of an object in a predetermined process, including at least complete records, missing records and duplicate records; When the identification status is stable, the process record integrity is complete, and the equipment working status of the corresponding key equipment is in the binding allowed state, the object relationship can be formally written into the main traceability database, and a formal object identifier can be generated for packaging association, boxing association, and outbound association to call. If the above conditions are not met, write the object to the exception temporary storage area or the exception pending database, and write back the non-downstream formal association status. When an object belongs to audit record data generated by the audit record process, it is written to the audit archive library; when the object passes the recovery judgment or manual review, it is allowed to be added to the main traceability database in the form of associated correction records, and the original status, correction reason, correction time and correction source are retained; The cold chain risk marker determines the cumulative value of temperature exceeding the limit based on the door magnetic status and temperature monitoring data. The cumulative value of temperature exceeding the limit is the cumulative value of the amount of temperature exceeding the preset upper temperature limit or falling below the preset lower temperature limit and the corresponding duration. When the cumulative temperature exceeds the limit and is not less than the preset thermal disturbance limit, a cold chain risk mark is written for the relevant pallet, box or vehicle batch leaving the warehouse; the preset upper temperature limit, preset lower temperature limit and preset thermal disturbance limit are given in advance by the process parameters.
[0022] In response to transient interference on the production line, manual re-inspection and return, and fluctuations in the cold chain of warehousing, the system ensures the accuracy and traceability of the main traceability chain through dynamic buffering and isolation, multi-dimensional feature rebinding, and risk status write-back mechanism. After obtaining the interference judgment results and changes in the working status of the equipment, the traceability control module establishes an abnormal investigation time period starting from the moment it detects that the status has dropped from an allowed binding state to a non-allowed binding state such as slight interference or significant interference, and performs abnormal temporary storage processing on the relevant objects. The anomaly investigation period refers to a dynamic shadow observation window determined based on parameters such as equipment recovery time and backlog clearance time. The specific rule for determining the length of this period is: the total investigation duration of the anomaly investigation period. The calculation formula is: in, This is the average equipment recovery time based on historical statistics. This represents the number of backlogged objects to be processed on the current production line. The rated line speed of the production line, For the range of values within to The preset safety redundancy coefficient between them; its physical meaning is to provide a logical buffer zone for physical objects that are transiently unstable; This invention minimizes the data association error rate caused by transient congestion by pausing the issuance of formal traceability codes and continuing to receive late and retransmission events during the anomaly investigation period; Furthermore, to address the issue of eggs being removed from the main water line due to manual re-inspection, the system obtains the barcode scanning results, weighing results, and tank location results of the objects returned from the re-inspection station. Based on the return verification information and the candidate original object information, it constructs a matching difference value and performs re-inspection to re-associate the eggs. Among them, the matching difference value refers to a quantitative indicator that comprehensively measures the degree of deviation between the currently returned entity and the historical archived record in terms of multi-dimensional attributes; in the specific calculation logic, the system extracts the code value difference, weight difference and slot difference respectively, and sums the three according to the preset weights; The calculation mechanism strictly follows the defined difference judgment rules, that is, when the code value or slot consistency conditions are not met, the corresponding preset penalty amount is output, and when the weight exceeds the tolerance, the absolute value is directly extracted as the difference component. Since the weight difference, which is usually a continuous value in grams, and the code value and slot penalty amount, which are preset discrete constants, have significant differences in dimensions, directly adding the values will lead to feature fusion distortion. Therefore, the preset weights in the system actually include a dimension cancellation mechanism. That is, during the weighting process, the weight of the weight difference is calibrated based on the reciprocal of the physical allowable fluctuation range, such as the maximum deviation caused by water evaporation, so that its influence is uniformly converted into the same dimensionless score range as the penalty amount. This invention uses a three-factor verification mechanism of code value + weight + slot position and a penalty amount superposition mechanism. Even when the inkjet printing part is worn, it can still target and lock the unique original object by means of the strong physical constraints of weight and slot position. If the match is successful, the system generates an association correction record and restores the continued pallet and box packaging association. If the match fails, it is transferred to the abnormal pending database. In the final data storage and risk marking stage, the data storage module executes a partitioned writing strategy based on the aforementioned identification status, process record integrity, and equipment working status. Only when all three conditions are met is the object relationship formally written into the main traceability database and a formal object identifier that can be referenced downstream is generated. At the same time, the system obtains the door magnetic status and temperature monitoring data of the cold chain link, and determines the cumulative value of temperature exceeding the standard by integrating the magnitude and duration of temperature exceeding the standard. The system uses discrete time step accumulation calculation to calculate the cumulative value of temperature exceeding the limit. The expression is: Among them, when When the temperature monitoring value exceeds the preset temperature limit during a certain period, This refers to the absolute magnitude of the excess; when it falls below the preset lower limit, The absolute range is below the lower limit; when within the compliant range , The time step between adjacent message timestamps, calculated based on the real system clock; To overcome the problem of inconsistent sensor reporting cycles caused by network communication jitter in industrial settings, the system no longer uses a nominally constant acquisition frequency, but instead extracts time calibration data in real time. And when detected When the maximum reasonable jump time exceeds the preset time, the breakpoint heat loss compensation logic is automatically triggered to prevent the thermal disturbance exposure from being abnormally underestimated due to network packet loss. The physical significance of this cumulative value of temperature exceeding the standard lies in the fact that after eliminating sampling time delay and distortion, it truly reflects the amount of local thermal disturbance exposure caused by frequent opening of the cold storage door; This invention accurately captures transient thermal disturbances by calculating the cumulative value of exceeding the limit over time, and when the preset thermal disturbance limit is exceeded, the cold chain risk mark is forcibly written back to the associated pallet or vehicle outbound batch. When multiple hatch opening operations are detected, causing the temperature in a local area to rise beyond a preset threshold within a predetermined time period, while the overall average temperature of the space remains within a preset compliance range, the system identifies the local temperature exceeding the standard based on the thermal disturbance exposure mechanism and outputs the corresponding batch of environmental status evaluation data in the traceability report. In the application embodiment, the system performs operation control based on the above-mentioned anomaly isolation, review and rebinding and disk write-back mechanism; when the anomaly investigation period ends and the object cannot be automatically converted into a formal object, the system transfers it to the anomaly pending database and pushes a manual review prompt to the front-end display terminal in the workshop. Operators make manual judgments based on background logs in the audit archive, and the judgment results flow back to the traceability control module in the form of correction mapping. Finally, all verified main chain data, cold chain data with risk tags, and correction trajectories of manual handling are uniformly displayed in a panoramic view on the enterprise supervision screen and consumer QR code scanning terminal by the result output module.
Claims
1. A data processing system for full-cycle traceability of lutein-enriched egg production, characterized in that, include: The data acquisition module collects raw events from the processes of feeding, egg laying, sorting, coding, palletizing, boxing, cold chain, and manual re-inspection. These events are then processed through protocol unification, time correction, sequence number addition, and workstation marking to generate standard event data. The protocol unification involves parsing and encapsulating raw events from different underlying communication protocols into data frames with a unified field structure, according to preset encapsulation rules. This unified field structure includes a device identification field, a generation time field, and an event payload field for carrying measurement values or status bits. The device status module determines the device's working status based on the device's heartbeat, power-on duration, reconnection records, calibration status, fault codes, key action feedback, and manual maintenance status, and outputs the effective start time, duration, and / or status hold flag. The traceability analysis module generates a temporary record for a single egg based on the cumulative pulse value of the encoder, the trigger edge of the output signal of the photoelectric sensor, and the preset pulse interval. It determines the time period of lutein source on the egg production time axis based on the relevant time of feed change and lutein absorption parameters. The lutein absorption parameters include the lutein absorption onset time and stable deposition time of the corresponding chicken house zone. The module also combines standard event data, temporary records for a single egg, equipment operating status, and process parameters to determine the identification reliability, lutein batch label, completeness of process records, interference judgment results, and equipment operating status values. The traceability control module performs formal association writing, abnormal temporary storage processing, abnormal isolation, re-inspection and re-association, cold chain risk write-back, and code assignment pause or resume according to preset trigger conditions; The data storage module, when the conditions are met, writes the generated single egg object and the object relationship between the egg tray, box, pallet and vehicle outbound batch at the corresponding circulation node, as well as the lutein source chain, into the main traceability database; otherwise, it writes it into the abnormal temporary storage area, the abnormal pending judgment database or the audit archive database, and writes back the status. The results output module outputs the corresponding full-cycle traceability results, anomaly handling status, and cold chain risk markers.
2. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The standard event data includes a device identifier field, a device local incrementing sequence number field, a generation time field, an arrival time field, a workstation field, a business category identifier field, and an event load field; The generation time field is the event generation time generated by the device's real-time clock or corrected by the gateway; The business category identifier field is used to distinguish between feeding events, egg-laying events, sorting events, coding events, palletizing events, boxing events, cold chain events, and manual re-inspection events; The original events include the batch number of feed bins, feed start / stop, valve opening / closing and zone feeding status provided by the chicken coop feeding equipment interface, changes in residual feed quality provided by the feed bin weighing device, displacement pulses provided by the egg collection belt encoder, pass trigger events provided by the photoelectric sensor, egg weight or tray weight provided by the weighing device, quality attributes provided by the crack detection device and appearance inspection device, inkjet printer success or failure and inkjet format status provided by the inkjet printer, tray position or tray loading status provided by the tray position detector, door events and temperature monitoring data provided by the door magnet and temperature probe, and return, rejection, re-release and supplementary coding events provided by the manual re-inspection terminal.
3. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The method for generating the temporary record of a single egg is as follows: determine the pulse increment between adjacent triggering events based on the cumulative pulse value of the encoder, and make an entry determination in combination with the entry trigger edge of the photoelectric sensor; When the photoelectric sensor outputs a rising or falling edge in a predetermined direction, and the pulse increment corresponding to the adjacent trigger edge is between the preset minimum pulse interval and the preset maximum pulse interval, a temporary record of the corresponding egg is generated. The temporary record for a single egg includes at least the object number, entry trigger time, cumulative pulse value, and line position number; The preset minimum pulse interval is determined based on the minimum stable egg spacing and the encoder resolution, and the preset maximum pulse interval is determined based on the maximum stable egg spacing and the encoder resolution.
4. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The reliability of the identification is determined by consistency comparison of the single egg temporary record, inkjet printing result, tray loading result, re-inspection return result, manual removal result, sequence difference and position difference; Wherein, the manual removal result is the processing result corresponding to the removal event or the removal event provided by the manual re-inspection terminal, the order difference is the absolute value of the difference between the object sequence numbers of the current object in the adjacent workstations, and the position difference is the absolute value of the difference between the line position numbers of the current object in the adjacent workstations. The identification reliability is an identification reliability mark or identification reliability score. When the identification reliability score is used, the identification reliability score is obtained by weighted summation after preset weights for the inkjet printing result, mounting result, re-inspection return result, manual removal result, sequence difference and position difference. The identification status is determined based on the comparison between the identification reliability and the preset identification reliability threshold. The identification status includes at least identification stability, identification misalignment risk, and the need for re-association.
5. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The method for constructing the lutein source time period is as follows: feed time periods are established based on the feed change time, the end time of emptying old feed residue, and the start time of stable supply of new feed in the chicken house zoning area. The source time period on the egg production time axis is determined by combining the lutein absorption onset time and stable deposition time of the corresponding zoning area. During operation, batch labels for lutein are obtained by matching the egg-laying event time with the chicken house zoning. The batch labels for lutein include direct source labels, delayed source labels, and mixed-up risk labels; The time when the old material residue is emptied is determined by a combination of factors, including whether the remaining mass in the silo is not greater than a preset remaining mass threshold, the working status of the feeder, and the cumulative feeding time after material replacement.
6. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The device status module determines the device operating status value based on running time, reconnection status, heartbeat stability, calibration status, and the acquisition stability of the applicable device, and combines the device heartbeat interruption duration, redundant channel status, and key function feedback to determine the device working status. The device operating status value is a discrete state quantity generated according to a preset hierarchical rule; The device operating states include at least a preheating state, an unstable state, a fault confirmation state, a binding allowed state, an isolation state, and a restricted state between a preset locking limit and a preset allowable limit, wherein the preset locking limit is less than the preset allowable limit. When the device operating status value is less than the preset locking limit, it is determined to be in an isolation state or a fault confirmation state. When the device operating status value is not less than the preset allowable limit, it is determined to be in an allowed binding state; When the device's operating status value is greater than or equal to the preset locking limit and less than the preset allowable limit, it is determined to be in a restricted state. The preheating state is determined based on whether the power-on time reaches the preset preheating time, and the unstable state is determined based on whether the heartbeat stability, reconnection status, or acquisition stability does not meet the preset conditions. The device status module outputs the device status to the traceability control module only when the duration of a certain device working status is not less than the corresponding preset minimum holding time.
7. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The exception temporary storage handling method in the traceability control module is as follows: The interference determination results include at least no interference, slight interference, and significant interference; When the interference determination result changes from no interference to slight interference or significant interference, or when the device operating state changes from allowed binding state to isolated state, fault confirmation state or restricted state, an abnormal investigation time period is established starting from the time of the corresponding state change. The relevant objects within the aforementioned anomaly investigation period are marked as records pending confirmation, and the issuance of formal traceability codes is suspended. During the anomaly investigation period, late events, retransmission events, and return events continue to be received, and position rematching and reordering are performed without overwriting the object relationships already written in the main traceability database. When the device status module outputs a binding permission status and the formal association write conditions are met, the object in the exception temporary storage area is converted into a formal object and written to the main traceability database. If the conditions for formal association writing are still not met after the anomaly investigation period ends, the corresponding object will be transferred to the anomaly pending database, and the state of prohibiting formal association will be written back to the subsequent packaging, boxing and outbound processes. The anomaly investigation period is determined based on the equipment recovery time, backlog clearing time, and line speed stabilization time.
8. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 1, characterized in that, The re-inspection re-association process is as follows: taking the returned object from the re-inspection workstation as the processing object, extracting the scanning result, re-inspection weighing result, and return tank result of the returned object to form return verification information; Extract historical code values, historical weights, and historical slots from historical archive objects to form candidate original object information; Based on the code value difference, weight difference, and slot difference between the backflow verification information and the candidate original object information, a matching difference value is constructed, and weight tolerance, code value consistency condition, and slot consistency condition are set. Wherein, the weight difference is the absolute value of the difference between the re-inspection weighing result and the historical weight; the code value consistency condition is that the scanning result is the same as the historical code value or the same after error correction processing based on the preset character replacement table and modulo 10 weighted summation check bit rules; and the slot consistency condition is that the return slot result is the same as the historical slot. The matching difference value is obtained by weighted summation of the code value difference, weight difference and slot difference according to whether the corresponding consistency conditions or weight tolerance are met, based on the penalty amount or absolute value of each, and then weighted according to a preset weight. Filter out candidate original objects whose matching difference values meet the preset binding limits, and select the candidate original object with the smallest matching difference value when there are multiple candidate original objects that meet the preset binding limits; If there is a candidate original object that meets the preset binding limit, an association correction record from the returned object to the candidate original object is generated, and the association relationship between the candidate original object and the egg tray, box, pallet and vehicle outbound record is updated according to the association correction record. If no candidate original object meets the preset binding limit, the returned object will be transferred to the abnormal pending judgment database and written back for manual review before it can be officially associated.
9. The data processing system for full-cycle traceability of lutein-enriched egg production according to claim 4, characterized in that, The writing method of the data storage module is as follows: the process record integrity is used to characterize the recording status of an object in a predetermined process, including at least complete records, missing records, and duplicate records; When the identification status is stable, the process record integrity is complete, and the equipment working status of the corresponding key equipment is in the binding allowed state, the object relationship can be formally written into the main traceability database, and a formal object identifier can be generated for packaging association, boxing association, and outbound association to call. If the above conditions are not met, write the object to the exception temporary storage area or the exception pending database, and write back the non-downstream formal association status. When an object belongs to audit record data generated by the audit record process, it is written to the audit archive library; Once an object passes the recovery assessment or manual review, it is allowed to be added to the main traceability database as an associated correction record, while retaining the original status, correction reason, correction time, and correction source. The cold chain risk marker determines the cumulative value of temperature exceeding the limit based on the door magnetic status and temperature monitoring data, wherein the cumulative value of temperature exceeding the limit is the cumulative value of the amount of temperature monitoring value exceeding the preset upper temperature limit or falling below the preset lower temperature limit and the corresponding duration. When the cumulative value of the temperature exceeding the standard is not less than the preset thermal disturbance limit, a cold chain risk mark is written for the relevant pallet, box or vehicle outbound batch. The preset upper temperature limit, preset lower temperature limit, and preset thermal disturbance limit are given in advance by the process parameters.
