Seed packaging bag AI intelligent anti-counterfeiting traceability management system and method

By assigning a unique digital identification code to the seed packaging bag and building an intelligent early warning model, combined with the seed traceability model of proteomics analysis, the problem of counterfeit seeds in the AI ​​intelligent anti-counterfeiting traceability management of the seed packaging bag is solved, and the accuracy of the seed authenticity is achieved. Traceability and quick response reduce the circulation of counterfeit products.

CN118798908AInactive Publication Date: 2024-10-18HEFEI JINHANG PACKAGING MATERIALS CO LTD

Patent Information

Application Number
CN202410870458.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing AI intelligent anti-counterfeiting traceability management method for seed packaging bags cannot effectively prevent unscrupulous merchants from making huge profits by replacing high-quality seeds with fake seeds.

Method used

An AI intelligent anti-counterfeiting traceability management system for seed packaging bags is used to collect production data and consumer query data of genetically modified corn seeds, assign a unique digital identification code, and build an intelligent early warning model and seed traceability model to monitor consumer query records in real time , identify abnormal behavior, verify the authenticity and source of seeds, and respond to potential counterfeit activities in a timely manner.

Benefits of technology

It achieves accurate traceability and rapid identification of seed authenticity, effectively warns and responds to abnormal query behaviors, reduces the circulation of counterfeit products, and protects the interests of enterprises and regulatory agencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798908A_ABST
    Figure CN118798908A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of seed traceability, and discloses a seed packaging bag AI intelligent anti-fake traceability management system and method.The management method comprises the following steps that production data of transgenic corn seeds and consumer user query data are collected; a unique digital identification code is distributed to each seed packaging bag; constructing an intelligent early warning model, inputting consumer query data into the intelligent early warning model, and outputting a dichotomy result about whether the consumer data is early warned or not; the intelligent early warning model is arranged in a management system, the management system uninterruptedly monitors all consumer query records, and response measures are executed once an early warning signal is detected; through accurate tracing of one object and one code, authenticity and sources of seeds can be easily verified, abnormal query behaviors are rapidly identified and responded, potential counterfeit activities are effectively warned, enterprises and supervision organizations are helped to take actions in time, and counterfeit product circulation is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of seed traceability, and more specifically, to an AI intelligent anti-counterfeiting and traceability management system and method for seed packaging bags. Background Art

[0002] Using information technologies such as radio frequency identification and the Internet of Things, and establishing a seed quality traceability and anti-counterfeiting system with the information chain of seed production and processing activities as the core, can effectively improve the standardization of seed company production, build a standardized market operating environment, and safeguard the vital interests of seed companies and agricultural growers.

[0003] However, current applications usually involve attaching radio frequency identification tags to packaging bags. Some unscrupulous merchants collect seed packaging bags without tampering with them, and make huge profits by replacing high-quality seeds in the original seed packaging bags with fake seeds. The existing AI intelligent anti-counterfeiting and traceability management methods for seed packaging bags cannot solve this problem. Summary of the invention

[0004] The present invention provides an AI intelligent anti-counterfeiting and traceability management system and method for seed packaging bags, which solves the technical problems raised in the above-mentioned background technology.

[0005] The present invention provides an AI intelligent anti-counterfeiting and traceability management method for seed packaging bags, comprising the following steps:

[0006] Step 101, collecting production data of genetically modified corn seeds and consumer user query data, wherein the production data of genetically modified corn seeds includes production batch, seed source and sales place, and the consumer user query data includes query time, location, frequency and interval;

[0007] Step 102, assigning a unique digital identification code to each seed packaging bag, and associating the production data of the genetically modified corn seeds with the digital identification code;

[0008] Step 103, constructing an intelligent early warning model, inputting the consumer query data into the intelligent early warning model, and outputting a binary classification result of whether to issue an early warning for this consumer data, the binary classification result including issuing an early warning for this consumer query record and not issuing an early warning for this consumer query record;

[0009] Step 104, deploy the intelligent early warning model into the management system, and the management system continuously monitors all consumer query records, and once a warning signal is detected, corresponding measures are executed.

[0010] In a preferred embodiment, the intelligent early warning model includes: a data input layer, an LSTM layer, and a classification layer;

[0011] Data input layer:

[0012] The input features are concatenated from the query timestamp code, the geocode of the query location, the query frequency, and the query interval;

[0013] The LSTM layer includes input gate, forget gate, cell state candidate value, cell state update and output gate;

[0014] The calculation formula of the classification layer is as follows:

[0015]

[0016] Among them, y represents the predicted probability of whether the query behavior is abnormal, S E represents the weight parameter of the classification layer, h t represents the output of the LSTM layer, c1 represents the remainder, e represents the natural constant, and D t represents the hidden state of the current time step;

[0017] The intelligent early warning model is trained using the Binary Crossentropy loss function and the Adam optimizer.

[0018] In a preferred embodiment, the calculation formula of the input gate is:

[0019] i t =sigmoid(W iU U t +W iD D t-1 +W ic c t-1 +b i )

[0020] i t represents the input gate activation value of the current time step, sigmoid represents the sigmoid function, U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, b i represents the bias coefficient of the input gate, W iU , W iD , W ic They represent the weight matrices of the input gate corresponding to the input data, the hidden state of the previous time step, and the cell state of the previous time step, respectively. t-1 represents the cell state at the previous time step;

[0021] The calculation formula of the forget gate is:

[0022] f t =sigmoid(W fU U t +W fD D t-1+W fc c t-1 +b f )

[0023] Among them, f t represents the activation value of the forget gate at the current time step, σ represents the sigmoid function, and U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, b f Represents the bias coefficient of the forget gate, W fU , W fD , W fc They represent the weight matrices of the forget gate corresponding to the input data, the hidden state of the previous time step, and the cell state of the previous time step, respectively. t-1 represents the cell state at the previous time step;

[0024] The calculation formula of the cell state candidate value is:

[0025]

[0026] in, represents the candidate value of the new cell state, b c Represents the bias coefficient of cell state update, U t represents the input vector of the current time step, W cU and W cD Represents the weight matrix of the cell state corresponding to the input data and the hidden state of the previous time step, D t-1 represents the hidden state of the previous time step;

[0027] The update formula of cell state is:

[0028]

[0029] Among them, c t represents the updated cell state, f t Represents the forget gate activation value of the current time step, i t represents the input gate activation value of the current time step, ⊙ represents element-by-element multiplication, c t-1 represents the cell state at the previous time step, Candidate values ​​representing new cell states;

[0030] The calculation formula of the output gate is:

[0031] γ t =sigmoid(W γU U t +W γD D t-1 +W γc c t +bγ )

[0032] Among them, γt represents the activation value of the output gate, U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, c t represents the updated cell state, b γ represents the remainder of the output gate, W γU , W γD , W γc Represent the weight matrices of the output gate corresponding to the input data, the hidden state of the previous time step, and the current cell state respectively;

[0033] The calculation formula for hidden state update is:

[0034] D t =γ t ⊙tanh(c t )

[0035] Among them, D t represents the hidden state of the current time step, c t represents the updated cell state, γ t represents the activation value of the output gate and ⊙ represents element-wise multiplication.

[0036] In a preferred embodiment, the method for tracing the planting location of seeds comprises the following steps:

[0037] Step 201, collecting transgenic corn seed samples from different planting sites, and fermenting all transgenic corn seed samples under fixed fermentation conditions, wherein the fermentation conditions include fermentation temperature, fermentation humidity, culture medium composition, time and pH value;

[0038] Step 202, according to a predetermined schedule, from the beginning to the end of fermentation, fermentation samples of transgenic corn seed samples at different time points are collected, proteins in the fermentation samples are extracted according to a fixed extraction method, and proteomics analysis is performed on the fermentation broth samples sampled each time by liquid chromatography-tandem mass spectrometry to obtain protein spectrum data of the fermentation broth samples, wherein the protein spectrum data includes parent ion mass data, daughter ion sequence information data, ion type data, ion intensity data, isotope distribution data, and mass error data;

[0039] Step 203, arranging the protein spectrum data of the fermentation liquid sample in chronological order to form protein expression sequence data for each transgenic corn seed sample planting site;

[0040] Step 204, constructing a seed traceability model, the input of the seed traceability model is the protein expression sequence data, and the output is the probability distribution of the planting place where the seed sample originates;

[0041] Step 205, based on the planting location of the seed sample source corresponding to the maximum probability output by the seed tracing model as the predicted planting location of the seed sample source, the seed source marked on the seed packaging bag is compared with the predicted planting location of the seed sample source. If they are the same, the packaging bag containing the seeds is transported to the next process. If they are not the same, the packaging bag containing the seeds is removed from the production line.

[0042] In a preferred embodiment, the seed tracing model includes an input layer, a hidden layer, and a fully connected layer;

[0043] Input Layer:

[0044] Protein expression sequence data is represented as: X = [x1, x2, ..., x T ], x t ∈R F , where T represents the length of protein expression sequence data, x t represents the input vector at the tth time step, which contains F protein expression level features;

[0045] The hidden layer includes an update gate, a reset gate, candidate hidden states, and hidden state updates;

[0046] The output layer includes a fully connected layer and a probability distribution layer.

[0047] In a preferred embodiment, the calculation formula of the update gate is:

[0048] z t =σ(W z x t +U z h t-1 +b z )

[0049] Among them, z t represents the importance index of the protein expression pattern at the current time step, W z represents the weight matrix of the update gate, x t represents the input vector of the current step, U z represents the weight matrix from the hidden state to the update gate, h t-1 represents the hidden state of the previous time step, b z represents the bias parameter of the update gate, σ represents the sigmoid function;

[0050] The calculation formula for the reset gate is:

[0051] r t =σ(W r x t +U r h t-1 +br )

[0052] Among them, r t represents the reset gate activation value of the current time step, W r represents the weight matrix of the reset gate, x t represents the input vector of the current step, U r represents the weight matrix from the hidden state to the reset gate, h t-1 represents the hidden state of the previous time step, b r represents the bias parameter of the reset gate, σ represents the sigmoid function;

[0053] The candidate hidden state is calculated as:

[0054]

[0055] in, represents the candidate state of the current time step, W h The weight matrix representing the candidate hidden state, x t Represents the input vector of the current step, r t represents the reset gate activation value of the current time step, U h Represents the weight matrix from hidden state to candidate hidden state, h t-1 represents the hidden state of the previous time step, b h represents the bias parameter of the reset gate, ⊙ represents element-by-element multiplication, and tanh represents the tanh function;

[0056] The calculation formula for hidden state update is:

[0057]

[0058] Among them, h t represents the hidden state of the current time step, z t represents the importance index of the protein expression pattern at the current time step, h t-1 represents the hidden state at the previous time step, represents the candidate state of the current time step, and ⊙ represents element-wise multiplication.

[0059] In a preferred embodiment, the calculation formula of the fully connected layer is:

[0060] o t =W o h t +b o

[0061] Among them, t represents the score of each category, W o represents the weight matrix of the fully connected layer, h trepresents the hidden state of the current time step, b o Represents the bias parameter of the fully connected layer;

[0062] The calculation formula of the probability distribution layer is:

[0063]

[0064] Among them, p t represents the probability that the seed sample comes from all planting sites at the current time step, o t represents the score of each category, M represents the number of planting areas, i, j∈M, and exp represents the exponential function.

[0065] In a preferred embodiment, the method of performing proteomic analysis on fermentation samples by liquid chromatography-tandem mass spectrometry (LC-MS / MS) to obtain comprehensive protein spectrum data comprises the following steps:

[0066] Step 1, extracting protein from the frozen fermentation broth sample, wherein the method for extracting protein is ultrasonication;

[0067] Step 2: Enzymatically hydrolyze the extracted protein into peptide fragments;

[0068] Step 3: purifying and concentrating the enzymatic hydrolysis product using a solid phase extraction column;

[0069] Step 4: Select a C18 reverse phase column and perform gradient elution;

[0070] Step 5: gradually increase the proportion of organic solvent according to the preset mobile phase gradient;

[0071] Step 6: Inject the purified peptide solution into the liquid chromatography system to start separation;

[0072] Step 7: Ionize the peptides by electrospray ionization or matrix-assisted laser desorption ionization;

[0073] Step 8: The selected parent ion is further fragmented to generate daughter ions. The secondary mass spectrum provides daughter ion sequence information for protein identification.

[0074] Step 9. During the entire analysis process, the mass spectrometer continuously collects data at preset fixed intervals to obtain protein spectrum data.

[0075] An AI intelligent anti-counterfeiting and traceability management system for seed packaging bags, including the following modules:

[0076] Data collection module, used to collect and organize production information of genetically modified corn seeds and consumer user query data;

[0077] A digital identification code management module, used to generate and assign a unique digital identification code to each seed packaging bag;

[0078] Intelligent early warning model building module, used to build an intelligent early warning model;

[0079] The real-time monitoring and response module is used to continuously receive and analyze data from the consumer query data collection module, and use the intelligent early warning model to determine in real time whether to trigger an early warning. Once a warning signal is detected, the predefined response process is immediately triggered. The predefined response process includes sending notifications to relevant departments, initiating investigation procedures or taking other preventive measures.

[0080] A storage medium storing non-temporary computer-readable instructions, which, when executed by a computer, can execute the steps in the above-mentioned AI intelligent anti-counterfeiting and traceability management method for seed packaging bags.

[0081] The beneficial effects of the present invention are as follows: the present invention can easily verify the authenticity and source of seeds through accurate traceability of one item with one code, and quickly identify and respond to abnormal query behavior, effectively warn of potential counterfeit activities, and help enterprises and regulatory agencies take timely action to reduce the circulation of counterfeit products. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 It is a flow chart of the AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags of the present invention.

[0083] Figure 2 It is a flow chart of the method for tracing the planting site of transgenic corn seeds of the present invention;

[0084] Figure 3 It is a flow chart of the AI ​​intelligent anti-counterfeiting and traceability management system for seed packaging bags of the present invention.

[0085] In the figure: 100, data collection module; 200, digital identification code management module; 300, intelligent early warning model construction module; 400, real-time monitoring and response module. DETAILED DESCRIPTION

[0086] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the contents of this specification. Each example may omit, replace or add various processes or components as needed. In addition, the features described relative to some examples may also be combined in other examples.

[0087] like Figure 1As shown, an AI intelligent anti-counterfeiting and traceability management method for seed packaging bags includes the following steps:

[0088] Step 101, collecting production data of genetically modified corn seeds and consumer user query data, wherein the production data of genetically modified corn seeds includes production batch, seed source and sales place, and the consumer user query data includes query time, location, frequency and interval;

[0089] It should be noted that the production data of genetically modified corn seeds can be provided by the manufacturer, and the consumer user query data can be collected over a period of time, such as one year, and these large amounts of collected consumer user query data can be aggregated and preprocessed as the data set for the early warning model. The preprocessing methods include removing invalid or erroneous records, standardizing data formats, and anonymizing sensitive information (such as consumer personal information) to protect privacy.

[0090] Step 102, assigning a unique digital identification code to each seed packaging bag, and associating the production data of the genetically modified corn seeds with the digital identification code;

[0091] It should be noted that the digital identification code can be a QR code or a barcode.

[0092] Step 103, constructing an intelligent early warning model, inputting the consumer query data into the intelligent early warning model, and outputting a binary classification result of whether to issue an early warning for this consumer data, the binary classification result including issuing an early warning for this consumer query record and not issuing an early warning for this consumer query record;

[0093] The intelligent early warning model includes: data input layer, LSTM layer, and classification layer;

[0094] Data input layer:

[0095] Input features include query timestamp code, query location geocode, query frequency, and query interval;

[0096] Temporal feature encoding:

[0097] Convert query timestamps to periodic features, such as dates;

[0098] Geolocation code:

[0099] Convert latitude and longitude data into geographic grid code or use Geohash;

[0100] Query frequency characteristics:

[0101] Count the number of queries within the time window, for example, the number of queries for the same QR code of a packaging bag in the past 24 hours, as a feature reflecting query activity;

[0102] Query interval characteristics:

[0103] Calculate the time interval between two adjacent queries, such as the average interval, the shortest / longest interval;

[0104] Time series structure: Considering the temporal characteristics of the query data, the input data is organized in the form of a time series. The data at each moment contains all the above features, denoted as U t ;

[0105] The LSTM layer includes input gate, forget gate, cell state candidate value, cell state update and output gate;

[0106] The calculation formula of the input gate is:

[0107] i t =sigmoid(W iU U t +W iD D t-1 +W ic c t-1 +b i )

[0108] i t represents the input gate activation value of the current time step, sigmoid represents the sigmoid function, U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, b i represents the bias coefficient of the input gate, W iU , W iD , W ic They represent the weight matrices of the input gate corresponding to the input data, the hidden state of the previous time step, and the cell state of the previous time step, respectively. t-1 represents the cell state at the previous time step;

[0109] The calculation formula of the forget gate is:

[0110] f t =sigmoid(W fU U t +W fD D t-1 +W fc c t-1 +b f )

[0111] Among them, f t represents the activation value of the forget gate at the current time step, σ represents the sigmoid function, and U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, bf Represents the bias coefficient of the forget gate, W fU , W fD , W fc They represent the weight matrices of the forget gate corresponding to the input data, the hidden state of the previous time step, and the cell state of the previous time step, respectively. t-1 represents the cell state at the previous time step;

[0112] The calculation formula of the cell state candidate value is:

[0113]

[0114] in, represents the candidate value of the new cell state, b c Represents the bias coefficient of cell state update, U t represents the input vector of the current time step, W cU and W cD Represents the weight matrix of the cell state corresponding to the input data and the hidden state of the previous time step, D t-1 represents the hidden state of the previous time step;

[0115] The update formula of cell state is:

[0116]

[0117] Among them, c t represents the updated cell state, f t Represents the forget gate activation value of the current time step, i t represents the input gate activation value of the current time step, ⊙ represents element-by-element multiplication, c t-1 represents the cell state at the previous time step, Candidate values ​​representing new cell states;

[0118] The calculation formula of the output gate is:

[0119] γ t =sigmoid(W γU U t +W γD D t-1 +W γc c t +b γ )

[0120] Among them, γt represents the activation value of the output gate, U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, c t represents the updated cell state, b γ represents the remainder of the output gate, W γU , WγD , W γ c represents the weight matrix of the output gate corresponding to the input data, the hidden state of the previous time step, and the current cell state;

[0121] The calculation formula for hidden state update is:

[0122] D t =γt⊙tanh(c t )

[0123] Among them, D t represents the hidden state of the current time step, c t represents the updated cell state, γ t represents the activation value of the output gate, ⊙ represents element-by-element multiplication;

[0124] The calculation formula of the classification layer is as follows:

[0125]

[0126] Among them, y represents the predicted probability of whether the query behavior is abnormal, S E represents the weight parameter of the classification layer, h t represents the output of the LSTM layer, c1 represents the remainder, e represents the natural constant, and D t represents the hidden state of the current time step;

[0127] The intelligent early warning model is trained using the Binary Crossentropy loss function and the Adam optimizer.

[0128] Step 104, deploy the intelligent early warning model into the management system, and the management system continuously monitors all consumer query records, and once a warning signal is detected, corresponding measures are executed.

[0129] It should be noted that by recording the digital identification code on the seed packaging bag corresponding to the early warning signal, the corresponding seed production information can be obtained. Response measures include communicating and verifying with the sales network, on-site inspection, and taking necessary measures such as suspending the sale of suspicious batches.

[0130] The cultivation of genetically modified crops needs to follow strict management and regulatory regulations to prevent adverse effects on the environment and ecosystem. In order to ensure that all genetically modified crop seeds produced are consistent with the planting origin on the seed packaging bag, the planting sites of genetically modified crop seeds need to be traced during the crop seed production process;

[0131] Protein fingerprint refers to a unique identifier or "fingerprint" formed by analyzing the expression patterns and relative abundance of all proteins in a sample to reflect the specific state or source of a biological sample. Protein fingerprint identification methods can be used to trace the origin of some crop seeds. Proteins can be separated from crop seeds, and then the composition and proportion of these proteins are analyzed through liquid chromatography to identify the origin of the crop seeds. Since the protein fingerprints of crop seeds in the same region vary little and are affected by external factors such as the planting environment of the origin, this method cannot be used to trace the specific planting sites of the crop seeds in the same region.

[0132] like Figure 2 As shown, an AI intelligent anti-counterfeiting and traceability management method for seed packaging bags includes the following steps:

[0133] Step 201, collecting transgenic corn seed samples from different planting sites, and fermenting all transgenic corn seed samples under fixed fermentation conditions, wherein the fermentation conditions include fermentation temperature, fermentation humidity, culture medium composition, time and pH value;

[0134] In one embodiment of the present invention, the method for collecting transgenic corn seed samples for fermentation treatment comprises the following steps:

[0135] Step 1: Fermentation medium preparation: Select a suitable fermentation medium to ensure that it can support the growth of microorganisms in corn seeds and will not have a negative impact on the target protein; the fermentation medium contains sterile water, a carbon source (such as glucose), a nitrogen source, mineral salts and necessary trace elements;

[0136] Step 2: Seed pretreatment: Clean and disinfect the transgenic corn seeds from different planting areas to remove surface microorganisms, and then crush or slice the transgenic corn seeds;

[0137] Step 3: Inoculation and culture condition setting: Under sterile conditions, the treated transgenic corn seeds are evenly inoculated into the fermentation medium, and constant culture conditions are set, including temperature, pH value, oxygen supply, etc., to ensure that all transgenic corn seed samples are fermented under the same conditions;

[0138] Step 4. Fermentation time planning: Based on previous experiments or literature data, set a reasonable fermentation time range, such as 24 to 72 hours, to fully stimulate microbial activity in transgenic corn seeds and promote protein expression to reach a stable state or undergo expected changes.

[0139] Step 202, according to a predetermined schedule, from the beginning to the end of fermentation, fermentation samples of transgenic corn seed samples at different time points are collected, proteins in the fermentation samples are extracted according to a fixed extraction method, and proteomics analysis is performed on the fermentation broth samples sampled each time by liquid chromatography-tandem mass spectrometry to obtain protein spectrum data of the fermentation broth samples, wherein the protein spectrum data includes parent ion mass data, daughter ion sequence information data, ion type data, ion intensity data, isotope distribution data, and mass error data;

[0140] By sampling and analyzing at fixed time intervals (e.g., every 1 hour) during the fermentation process, a series of protein expression data sets sorted by time are generated. The sampling data at each moment constitutes a time point data of the time series, including all detected proteins and their expression levels at that moment;

[0141] In one embodiment of the present invention, the method for collecting fermentation samples should be noted that a certain amount of fermentation liquid (including seeds and fermentation medium) is taken out from each fermentation system according to a predetermined schedule using aseptic operation technology, and detailed information such as sampling time, seed source, fermentation conditions, etc. is recorded before and after each sampling to ensure the traceability of the data; sample processing and preservation: After sampling, the sample is quickly cooled to a low temperature (such as 4°C) to slow down the rate of protein degradation and maintain its activity and structural integrity. Subsequently, according to the needs of subsequent analysis, the sample is centrifuged to remove solid residues, or directly frozen (-80°C) until protein extraction and analysis; to ensure the accuracy and comparability of the data, the sampling operation of each batch should be highly consistent, including sampling volume, operation techniques, etc., and parallel controls and blank controls should be set up to eliminate operational errors and environmental interference.

[0142] In one embodiment of the present invention, a method for performing proteomic analysis on a fermentation sample using liquid chromatography-tandem mass spectrometry (LC-MS / MS) to obtain comprehensive protein spectrum data comprises the following steps:

[0143] Step 1: extracting protein from the frozen fermentation broth sample. The protein extraction method can be TCA / acetone precipitation, ultrasonic crushing, centrifugal separation and other methods to maximize protein recovery and remove impurities;

[0144] Step 2: hydrolyze the extracted protein into peptide fragments using trypsin or other suitable proteases;

[0145] Step 3: Use a solid phase extraction column to purify and concentrate the enzymatic hydrolysate to remove salts, buffers and other small molecule interfering substances;

[0146] Step 4: Select a suitable liquid chromatography column (e.g., C18 reverse phase column) and perform gradient elution according to the hydrophobicity of the peptide segment;

[0147] Step 5: Set an appropriate mobile phase gradient to gradually increase the proportion of organic solvent to achieve efficient separation of peptides;

[0148] Step 6: Inject the purified peptide solution into the liquid chromatography system to start separation;

[0149] Step 7: The peptides are ionized by electrospray ionization (ESI) or matrix-assisted laser desorption ionization (MALDI) technology, and the primary mass spectrometer is mainly used to detect and screen the parent ions of interest;

[0150] Step 8: The selected parent ions are further fragmented to generate daughter ions. Through collision-induced dissociation, higher energy collision dissociation (HCD) and other techniques, the secondary mass spectrum provides daughter ion sequence information for protein identification.

[0151] Step 9: During the entire analysis process, the mass spectrometer continuously collects data to obtain protein spectrum data, which includes:

[0152] Parent ion mass data: record the molecular weight of each peptide segment;

[0153] Product ion sequence information data: the mass-to-charge ratio of the product ion after fragmentation, which is used to infer the peptide sequence;

[0154] Ion type data: identifies the charge state of the ion;

[0155] Ion intensity data: reflects the relative abundance of each ion;

[0156] Isotope distribution data: Analyze the mass distribution caused by naturally occurring isotopes in peptides, which helps in accurate mass determination;

[0157] Mass error data: records the deviation between the actual measured mass and the theoretical mass to evaluate the accuracy of the instrument.

[0158] Through the above method, the present invention can obtain detailed protein spectrum data from the fermentation samples sampled each time, providing support for the subsequent construction of a seed tracing model.

[0159] Step 203, arranging the protein spectrum data of the fermentation liquid sample in chronological order to form protein expression sequence data for each transgenic corn seed sample planting site;

[0160] Preprocessing the collected protein spectrum data includes standardization, encoding and sequence segmentation;

[0161] Normalization: Scaling protein spectrum data to make them have the same scale;

[0162] Encoding: One-hot encoding is used to convert protein identification data into numerical data;

[0163] Sequence segmentation: Split the protein time series data of each sample into input sequences of fixed length.

[0164] Step 204, constructing a seed traceability model, the input of the seed traceability model is the protein expression sequence data, and the output is the probability distribution of the planting place where the seed sample originates;

[0165] The seed tracing model includes input layer, hidden layer and fully connected layer;

[0166] Input Layer:

[0167] Protein expression sequence data is represented as: X = [x1, x2, ..., x T ], x t ∈R F , where T represents the length of protein expression sequence data, x t represents the input vector at the t-th time step, including F protein expression level features, where F is 6 in the present invention;

[0168] The hidden layer includes an update gate, a reset gate, candidate hidden states, and hidden state updates;

[0169] The calculation formula of the update gate is:

[0170] Z t =σ(W z x t +U z h t-1 +b z )

[0171] Among them, z t represents the importance index of the protein expression pattern at the current time step, W z represents the weight matrix of the update gate, x t represents the input vector of the current step, U z represents the weight matrix from the hidden state to the update gate, h t-1 represents the hidden state of the previous time step, b z represents the bias parameter of the update gate, σ represents the sigmoid function;

[0172] The calculation formula for the reset gate is:

[0173] r t =σ(W r x t +U r h t-1 +b r )

[0174] Among them, r t represents the reset gate activation value of the current time step, W r represents the weight matrix of the reset gate, x t represents the input vector of the current step, U r represents the weight matrix from the hidden state to the reset gate, h t-1 represents the hidden state of the previous time step, b r represents the bias parameter of the reset gate, σ represents the sigmoid function;

[0175] The candidate hidden state is calculated as:

[0176]

[0177] in, represents the candidate state of the current time step, W h The weight matrix representing the candidate hidden state, x t Represents the input vector of the current step, r t represents the reset gate activation value of the current time step, U h Represents the weight matrix from hidden state to candidate hidden state, h t-1 represents the hidden state of the previous time step, b h represents the bias parameter of the reset gate, ⊙ represents element-by-element multiplication, and tanh represents the tanh function;

[0178] The calculation formula for hidden state update is:

[0179]

[0180] Among them, h t represents the hidden state of the current time step, z t represents the importance index of the protein expression pattern at the current time step, h t-1 represents the hidden state at the previous time step, represents the candidate state of the current time step, ⊙ represents element-by-element multiplication;

[0181] The output layer includes a fully connected layer and a probability distribution layer;

[0182] The calculation formula of the fully connected layer is:

[0183] o t =W o h t +b o

[0184] Among them, t represents the score of each category, W o represents the weight matrix of the fully connected layer, h trepresents the hidden state of the current time step, b o Represents the bias parameter of the fully connected layer;

[0185] The calculation formula of the probability distribution layer is:

[0186]

[0187] Among them, p t represents the probability that the seed sample comes from all planting sites at the current time step, o t represents the score of each category, M represents the number of planting areas, i, j∈M, exp represents the exponential function;

[0188] In one embodiment of the present invention, the seed tracing model uses a cross entropy loss function as a loss function and an Adam optimizer to train it.

[0189] It should be noted that the farm traceability neural network model is trained using existing training methods, which are not described in detail in the present invention. The known protein identification data and farm source data are collected as a data set, and then the data set is divided into a training set, a validation set and a test set. The training set data is used to iteratively update the model parameters, and the validation set is used to monitor overfitting and adjust hyperparameters.

[0190] Step 205, based on the planting location of the seed sample source corresponding to the maximum probability output by the seed tracing model as the predicted planting location of the seed sample source, the seed source marked on the seed packaging bag is compared with the predicted planting location of the seed sample source. If they are the same, the packaging bag containing the seeds is transported to the next process. If they are not the same, the packaging bag containing the seeds is removed from the production line.

[0191] like Figure 3 As shown in the figure, an AI intelligent anti-counterfeiting and traceability management system for seed packaging bags includes the following modules:

[0192] The data collection module 100 is used to collect and organize the production information of genetically modified corn seeds and the query data of consumers;

[0193] A digital identification code management module 200 is used to generate and assign a unique digital identification code to each seed packaging bag;

[0194] An intelligent early warning model construction module 300 is used to construct an intelligent early warning model;

[0195] The real-time monitoring and response module 400 is used to continuously receive and analyze data from the consumer query data collection module, and use the intelligent early warning model to determine in real time whether to trigger an early warning. Once a warning signal is detected, a predefined response process is immediately triggered. The predefined response process includes sending a notification to relevant departments, initiating an investigation procedure, or taking other preventive measures.

[0196] A storage medium storing non-temporary computer-readable instructions, which, when executed by a computer, can execute the steps in the above-mentioned AI intelligent anti-counterfeiting and traceability management method for seed packaging bags.

[0197] The above describes an embodiment of the present embodiment, but the present embodiment is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present embodiment, ordinary technicians in this field can also make many forms, all of which are within the protection of the present embodiment.

Claims

1. A seed packaging bag AI intelligent anti-counterfeiting traceability management method, characterized in that: The following steps are involved: Step 101, collecting production data of genetically modified corn seeds and consumer user query data, wherein the production data of genetically modified corn seeds includes production batch, seed source and sales place, and the consumer user query data includes query time, location, frequency and interval; Step 102, assigning a unique digital identification code to each seed packaging bag, and associating the production data of the genetically modified corn seeds with the digital identification code; Step 103, constructing an intelligent early warning model, inputting the consumer query data into the intelligent early warning model, and outputting a binary classification result of whether to issue an early warning for this consumer data, the binary classification result including issuing an early warning for this consumer query record and not issuing an early warning for this consumer query record; Step 104, deploy the intelligent early warning model into the management system, and the management system continuously monitors all consumer query records, and once a warning signal is detected, corresponding measures are executed.

2. According to claim 1, a seed packaging bag AI intelligent anti-counterfeiting traceability management method is characterized in that: The intelligent early warning model includes: data input layer, LSTM layer, and classification layer; Data input layer: The input features are concatenated from the query timestamp code, the geocode of the query location, the query frequency, and the query interval; The LSTM layer includes input gate, forget gate, cell state candidate value, cell state update and output gate; The calculation formula of the classification layer is as follows: Among them, y represents the predicted probability of whether the query behavior is abnormal, S E represents the weight parameter of the classification layer, h t represents the output of the LSTM layer, c1 represents the remainder, e represents the natural constant, and D t represents the hidden state of the current time step; The intelligent early warning model is trained using the Binary Crossentropy loss function and the Adam optimizer.

3. The AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags according to claim 2 is characterized in that: The calculation formula of the input gate is: i t =sigmoid(W iU U t +W iD D t-1 +W ic c t-1 +b i ) i t represents the input gate activation value of the current time step, sigmoid represents the sigmoid function, U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, b i represents the bias coefficient of the input gate, W iU , W iD , W ic They represent the weight matrices of the input gate corresponding to the input data, the hidden state of the previous time step, and the cell state of the previous time step, respectively. t-1 represents the cell state at the previous time step; The calculation formula of the forget gate is: f t =sigmoid(W fU U t +W fD D t-1 +W fc c t-1 +b f ) Among them, f t represents the activation value of the forget gate at the current time step, σ represents the sigmoid function, and U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, b f Represents the bias coefficient of the forget gate, W fU , W fD , W fc They represent the weight matrices of the forget gate corresponding to the input data, the hidden state of the previous time step, and the cell state of the previous time step, respectively. t-1 represents the cell state at the previous time step; The calculation formula for the candidate value of cell state is: in, represents the candidate value of the new cell state, b c Represents the bias coefficient for cell state update, U t represents the input vector of the current time step, W cU and W cD Represents the weight matrix of the cell state corresponding to the input data and the hidden state of the previous time step, D t-1 represents the hidden state of the previous time step; The update formula of the cell state is: Among them, c t represents the updated cell state, f t Represents the forget gate activation value of the current time step, i t represents the input gate activation value of the current time step, ⊙ represents element-by-element multiplication, c t-1 represents the cell state at the previous time step, Candidate values ​​representing new cell states; The calculation formula of the output gate is: γ t =sigmoid(W γU U t +W γD D t-1 +W γc c t +b γ ) Among them, γ t represents the activation value of the output gate, U t represents the input vector of the current time step, D t-1 represents the hidden state of the previous time step, c t represents the updated cell state, b γ represents the remainder of the output gate, W γU , W γD , W γc Represent the weight matrices of the output gate corresponding to the input data, the hidden state of the previous time step, and the current cell state respectively; The calculation formula for hidden state update is: D t =c t ⊙tanh(c t ) Among them, D t represents the hidden state of the current time step, c t represents the updated cell state, γ t represents the activation value of the output gate and ⊙ represents element-wise multiplication.

4. The AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags according to claim 3 is characterized in that: The method for tracing the planting location of seeds comprises the following steps: Step 201, collecting transgenic corn seed samples from different planting sites, and fermenting all transgenic corn seed samples under fixed fermentation conditions, wherein the fermentation conditions include fermentation temperature, fermentation humidity, culture medium composition, time and pH value; Step 202, according to a predetermined schedule, from the beginning to the end of fermentation, fermentation samples of transgenic corn seed samples at different time points are collected, proteins in the fermentation samples are extracted according to a fixed extraction method, and proteomics analysis is performed on the fermentation broth samples sampled each time by liquid chromatography-tandem mass spectrometry to obtain protein spectrum data of the fermentation broth samples, wherein the protein spectrum data includes parent ion mass data, daughter ion sequence information data, ion type data, ion intensity data, isotope distribution data, and mass error data; Step 203, arranging the protein spectrum data of the fermentation liquid sample in chronological order to form protein expression sequence data for each transgenic corn seed sample planting site; Step 204, constructing a seed traceability model, the input of the seed traceability model is the protein expression sequence data, and the output is the probability distribution of the planting place where the seed sample originates; Step 205, based on the planting location of the seed sample source corresponding to the maximum probability output by the seed tracing model as the predicted planting location of the seed sample source, the seed source marked on the seed packaging bag is compared with the predicted planting location of the seed sample source. If they are the same, the packaging bag containing the seeds is transported to the next process. If they are not the same, the packaging bag containing the seeds is removed from the production line.

5. The AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags according to claim 4 is characterized in that: The seed tracing model includes input layer, hidden layer and fully connected layer; Input Layer: Protein expression sequence data is represented as: X = [x1, x2, ..., x T ], x t ∈R F , where T represents the length of protein expression sequence data, x t represents the input vector at the tth time step, which contains F protein expression level features; The hidden layer includes an update gate, a reset gate, candidate hidden states, and hidden state updates; The output layer includes a fully connected layer and a probability distribution layer.

6. The AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags according to claim 5 is characterized in that: The calculation formula of the update gate is: z t =σ(W z x t +U z h t-1 +b z ) Among them, z t represents the importance index of the protein expression pattern at the current time step, W z represents the weight matrix of the update gate, x t represents the input vector of the current step, U z represents the weight matrix from the hidden state to the update gate, h t-1 represents the hidden state of the previous time step, b z represents the bias parameter of the update gate, σ represents the sigmoid function; The calculation formula for the reset gate is: r t =σ(W r x t +U r h t-1 +b r ) Among them, r t represents the reset gate activation value of the current time step, W r represents the weight matrix of the reset gate, x t represents the input vector of the current step, U r represents the weight matrix from the hidden state to the reset gate, h t-1 represents the hidden state of the previous time step, b r represents the bias parameter of the reset gate, σ represents the sigmoid function; The candidate hidden state is calculated as: in, represents the candidate state of the current time step, W h The weight matrix representing the candidate hidden state, x t Represents the input vector of the current step, r t represents the reset gate activation value of the current time step, U h Represents the weight matrix from hidden state to candidate hidden state, h t-1 represents the hidden state of the previous time step, b h represents the bias parameter of the reset gate, ⊙ represents element-by-element multiplication, and tanh represents the tanh function; The calculation formula for hidden state update is: Among them, h t represents the hidden state of the current time step, z t represents the importance index of the protein expression pattern at the current time step, h t-1 represents the hidden state at the previous time step, represents the candidate state of the current time step, and ⊙ represents element-wise multiplication.

7. The AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags according to claim 6 is characterized in that: The calculation formula of the fully connected layer is: o t =W o h t +b o Among them, t represents the score of each category, W o represents the weight matrix of the fully connected layer, h t represents the hidden state of the current time step, b o Represents the bias parameter of the fully connected layer; The calculation formula of the probability distribution layer is: Among them, p t represents the probability that the seed sample comes from all planting sites at the current time step, o t represents the score of each category, M represents the number of planting areas, i, j∈M, and exp represents the exponential function.

8. The AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags according to claim 7 is characterized in that: The method for performing proteomic analysis of fermentation samples using liquid chromatography-tandem mass spectrometry (LC-MS / MS) to obtain comprehensive protein spectrum data comprises the following steps: Step 1, extracting protein from the frozen fermentation broth sample, wherein the method for extracting protein is ultrasonication; Step 2: Enzymatically hydrolyze the extracted protein into peptide fragments; Step 3: purifying and concentrating the enzymatic hydrolysis product using a solid phase extraction column; Step 4: Select a C18 reverse phase column and perform gradient elution; Step 5: gradually increase the proportion of organic solvent according to the preset mobile phase gradient; Step 6: Inject the purified peptide solution into the liquid chromatography system to start separation; Step 7: Ionize the peptides by electrospray ionization or matrix-assisted laser desorption ionization; Step 8: The selected parent ion is further fragmented to generate daughter ions. The secondary mass spectrum provides daughter ion sequence information for protein identification. Step 9. During the entire analysis process, the mass spectrometer continuously collects data at preset fixed intervals to obtain protein spectrum data.

9. An AI intelligent anti-counterfeiting and traceability management system for seed packaging bags, characterized in that: Includes the following modules: Data collection module, used to collect and organize production information of genetically modified corn seeds and consumer user query data; A digital identification code management module, used to generate and assign a unique digital identification code to each seed packaging bag; Intelligent early warning model building module, used to build an intelligent early warning model; The real-time monitoring and response module is used to continuously receive and analyze data from the consumer query data collection module, and use the intelligent early warning model to determine in real time whether to trigger an early warning. Once a warning signal is detected, the predefined response process is immediately triggered. The predefined response process includes sending notifications to relevant departments, initiating investigation procedures or taking other preventive measures.

10. A storage medium storing non-transitory computer-readable instructions, characterized in that: When the non-temporary computer-readable instructions are executed by a computer, the steps in the AI ​​intelligent anti-counterfeiting and traceability management method for seed packaging bags as described in claim 8 can be executed.

Citation Information

Patent Citations

  • Grain and oil product quality control and tracing platform and construction method

    CN111915333A

  • Aquatic product tracing system and method

    CN116362774A

  • Agricultural product traceability code compiling method based on Beidou reference

    CN117710134A

  • Pedigree tracing method based on whole genome re-sequencing SNP big data and deep learning

    CN118248210A

  • Anti-counterfeiting tracing method for gypsum board product and system

    WO2024027086A1

Cited By

  • Seed packaging bag AI intelligent anti-counterfeiting traceability management system and method

    CN120494856A

  • Seed packaging bag AI intelligent anti-fake traceability management system and method

    CN120494856B

  • Multi-station collaborative assembly line type proficiency testing sample online distribution method and system

    CN120579806A

  • A multi-station collaborative inline capability verification sample distribution method and system

    CN120579806B