CN113538009A - Food safety tracing system based on block chain and device thereof - Google Patents

Food safety tracing system based on block chain and device thereof Download PDF

Info

Publication number
CN113538009A
CN113538009A CN202110820997.5A CN202110820997A CN113538009A CN 113538009 A CN113538009 A CN 113538009A CN 202110820997 A CN202110820997 A CN 202110820997A CN 113538009 A CN113538009 A CN 113538009A
Authority
CN
China
Prior art keywords
commodity
block chain
data
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110820997.5A
Other languages
Chinese (zh)
Inventor
高飞
卢卫红
刘忠卫
李敬晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Heilongjiang Provincial Center For Disease Control And Prevention Heilongjiang Public Health Monitoring And Testing Center
Original Assignee
Heilongjiang Provincial Center For Disease Control And Prevention Heilongjiang Public Health Monitoring And Testing Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Heilongjiang Provincial Center For Disease Control And Prevention Heilongjiang Public Health Monitoring And Testing Center filed Critical Heilongjiang Provincial Center For Disease Control And Prevention Heilongjiang Public Health Monitoring And Testing Center
Priority to CN202110820997.5A priority Critical patent/CN113538009A/en
Publication of CN113538009A publication Critical patent/CN113538009A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/047Probabilistic or stochastic networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/048Activation functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The invention provides a food safety tracing method and a device based on a block chain, which are applied to the technical field of food safety, wherein the method comprises the steps of obtaining user reported information, and positioning a preset block chain network according to commodity types; according to the commodity selling two-dimensional code, commodity store data and commodity manufacturer data are obtained through a block chain network, first selling time and first leaving time are respectively called from the commodity store data and the commodity manufacturer data correspondingly, and abnormal conditions of commodities are determined from the commodity selling two-dimensional code, wherein the abnormal conditions include but are not limited to expiration time; respectively comparing the expiration time with the first selling time and the first delivery time to determine abnormal states of merchants and/or abnormal states of manufacturers; the public information is sent to a corresponding manufacturer or a corresponding merchant so as to realize intercommunication with the area chain and provide channels for the user, the merchant and a manufacturer data terminal; the data is disclosed by the disclosure unit, thereby realizing the non-tamper property of the data.

Description

Food safety tracing system based on block chain and device thereof
Technical Field
The invention relates to the field of food safety, in particular to a food safety tracing system based on a block chain and a device thereof.
Background
Since the new century, food safety problems occur frequently, public events and food credit crisis are used as marks, and the Chinese society steps into general vigilance and distrust states of food safety within a short decade. The course of more than ten years is basically the overall exposure of the old and new diseases in the industrial process of China in the food field and becomes a huge cost for the whole society. In fact, the situation that food safety accidents are frequently experienced in China is not a case at present, and both the United states and Europe have historically experienced the situation. After rapid industrialization over the end of the 19 th century, the media and newspapers in the united states were also heavily exposed to food safety issues in the beginning of the 20 th century, and were of interest to a person at that time. Even today, food safety is still a global problem, and there is no "zero risk" in any country. According to (CN201710434041.5), a food quality safety tracing system is proposed, which comprises a graphical interface for displaying the supervision and inspection device, the enterprise browsing device, the early warning analysis device, the announcement file issuing device, the system management device, the electronic ledger device and the configuration management device; the early warning analysis device also comprises a database used for providing query information for the early warning analysis device; the system also comprises a server which provides network service by using the food quality safety tracing system; a method for calculating the score is also provided, and is used for calculating the quality evaluation index of the enterprise. The invention also has the following problems which are not solved, and the food safety tracing process in the prior art has damage, forgery and deniability, and lacks data tamper property and open traceability.
In view of the above problems, the present invention provides a blockchain-based food safety traceability system and a device thereof, which can write information into a blockchain to make the blockchain public and tamper-proof.
Disclosure of Invention
The invention aims to solve the problems of data non-tamper property and open traceability, and provides a food safety tracing system based on a block chain and a device thereof.
The invention adopts the following technical means for solving the technical problems: the invention provides a food safety tracing method based on a block chain, which is characterized in that a processing terminal for market supervision is adopted to carry out the food safety tracing method, and the method comprises the following steps:
acquiring user reporting information, wherein the user reporting information comprises commodity category, a commodity selling two-dimensional code and user abnormal information, and the user abnormal information is discomfort caused by eating food by a user;
positioning a preset block link network according to the commodity category;
according to the commodity selling two-dimensional code, commodity store data and commodity manufacturer data are obtained through a block chain network, first selling time and first leaving time are called from the commodity store data and the commodity manufacturer data respectively, and abnormal conditions of commodities are determined from the commodity selling two-dimensional code, wherein the abnormal conditions include but are not limited to expiration time;
respectively comparing the expiration time with a first selling time and a first leaving time to determine abnormal states of merchants and/or abnormal states of manufacturers;
and generating public information and sending the public information to a corresponding manufacturer or merchant, wherein the public information comprises but is not limited to a claim money notice.
Further, the step of locating the preset block link network according to the commodity category includes:
calling a block chain reference label from a preset first database according to the commodity category;
and performing virtual convolution on the block chain reference label by adopting a transformer architecture layer in a preset neural network model, and further associating the block chain network from the transformer architecture layer.
Further, before the step of obtaining the merchant data and the manufacturer data of the commodity through the block chain network according to the two-dimensional code for selling the commodity, the method includes:
and respectively deploying virtual block chain networks to a selling terminal of a commodity store and a factory terminal of a manufacturer.
Further, the step of respectively deploying the virtual block chain network to the selling terminal of the commodity store and the factory terminal of the manufacturer includes:
generating a block chain transmission library data stream distribution instruction;
calling an SSD flow interval value from a preset second database through the block chain transmission library data flow distribution instruction, wherein the SSD flow interval value is determined by market information of a manufacturer and a merchant, and the market information comprises but is not limited to a financial annual report;
allocating and deploying a third database and a fourth database to the selling terminal and the factory terminal through the SSD flow interval value
Further, before the step of calling the SSD traffic interval value from the preset second database through the block chain transport library data flow allocation instruction, the method includes:
and establishing connection with a block chain storage platform of a third party by adopting a protocol, wherein the block chain storage platform of the third party is used as the second database.
Further, after the step of determining the abnormal condition of the product in the product selling two-dimensional code, the method further includes:
when the abnormal condition is formula information, generating logistics data and a logistics text, and sending the logistics text to a user side, wherein the user side is an intelligent terminal for outputting user reported information;
an upper delivery order of a third-party logistics platform is generated through the logistics data, and the commodity is sent out from an upper section order through a user side;
acquiring the commodities, carrying out formula analysis on the commodities, and generating a formula report;
comparing the formula report with a food formula specification prestored in a corresponding food supervision office to judge an abnormal value;
and generating a warning notice sent to the manufacturer terminal according to the abnormal value.
The invention also provides a food safety tracing device, which is characterized by comprising the following components:
the system comprises an acquisition unit, a display unit and a processing unit, wherein the acquisition unit is used for acquiring user reported information, and the user reported information comprises commodity category, commodity selling two-dimensional codes and user abnormal information, wherein the user abnormal information is discomfort caused by eating food by a user;
the network unit is used for positioning a preset block link network according to the commodity category;
the analysis unit is used for acquiring commodity store data and commodity manufacturer data through a block chain network according to the commodity selling two-dimensional code, calling first selling time and first leaving time from the commodity store data and the commodity manufacturer data respectively, and determining an abnormal condition of the commodity from the commodity selling two-dimensional code, wherein the abnormal condition comprises but is not limited to expiration time;
the comparison unit is used for comparing the expiration time with the first selling time and the first delivery time respectively to determine the abnormal state of the merchant and/or the abnormal state of the manufacturer;
and the display unit is used for generating display information and sending the display information to a corresponding manufacturer or merchant, wherein the display information comprises but is not limited to a claim money notice.
Further, the network unit includes:
the label subunit is used for calling a block chain reference label from a preset first database according to the commodity category;
and the neural network subunit is used for performing virtual convolution on the block chain reference label by adopting a transformer architecture layer in a preset neural network model so as to correlate the block chain network from the transformer architecture layer.
The invention also provides a food safety tracing system based on the block chain, which is characterized by comprising a user side, a manufacturer terminal, a merchant terminal, a block chain storage platform and a processing terminal which are mutually in wireless association, wherein:
the user side generates user reporting information and sends the user reporting information to the processing terminal;
the factory terminal records factory information of a factory and acquires a data calling instruction corresponding to the processing terminal;
the merchant terminal is used for recording merchant selling information and acquiring a data calling instruction corresponding to the processing terminal;
the processing terminal acquires data output by the user terminal, the manufacturer terminal and the merchant terminal, analyzes the data and calls the block chain storage platform;
and the block chain storage platform is called by the processing terminal and provides a storage platform of the SSD flow interval value for the manufacturer terminal and the merchant terminal.
The invention provides a food safety tracing system based on a block chain and a device thereof, which have the following beneficial effects: 1. the system can be communicated with the regional chain to form interconnection among users, merchants and manufacturer data terminals;
2. form non-tamper-proof property through data uploading;
3. and the data are disclosed through the disclosure unit to form the disclosure.
Drawings
FIG. 1 is a sectional view of the overall structure of one embodiment of the block chain-based food safety traceability system and the device thereof;
FIG. 2 is a partial block diagram of another embodiment of the system and apparatus for tracing food safety based on block chain according to the present invention;
the implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic flow chart of a block chain-based food safety tracing method according to an embodiment of the present invention is shown, where a processing terminal for market supervision is used to perform the food safety tracing method, and the method includes:
s1: acquiring user reported information, wherein the user reported information comprises commodity category, commodity selling two-dimensional codes and user abnormal information, the user abnormal information is discomfort caused by eating food by a user,
s2: positioning a preset block link network according to the commodity category;
s3: according to the commodity selling two-dimensional code, commodity store data and commodity manufacturer data are obtained through a block chain network, first selling time and first leaving time are called from the commodity store data and the commodity manufacturer data respectively, and abnormal conditions of commodities are determined from the commodity selling two-dimensional code, wherein the abnormal conditions include but are not limited to expiration time;
s4: respectively comparing the expiration time with a first selling time and a first leaving time to determine abnormal states of merchants and/or abnormal states of manufacturers;
s5: and generating public information and sending the public information to a corresponding manufacturer or merchant, wherein the public information comprises but is not limited to a claim money notice.
In this embodiment: acquiring user reporting information, wherein the user reporting information comprises commodity categories, commodity selling two-dimensional codes and user abnormal information, the user abnormal information is discomfort caused by eating food by a user, and the user abnormal information can be reported together with a hospital diagnostic book;
finding a corresponding block in the area chain according to the uploaded data chain converted from the commodity category;
acquiring the stock quantity and the selling information of the corresponding commodity store and the commodity manufacturer in a block chain according to a data chain converted from the two-dimensional code for selling the commodity, calling a first selling time and a first leaving time respectively corresponding to the sales information of the commodity store and the warehouse data of the commodity manufacturer by the block chain, and determining the abnormal condition of the commodity from the two-dimensional code for selling the commodity, wherein the abnormal condition comprises but is not limited to expiration time;
respectively comparing the expiration time with the first selling time and the first delivery time to compare and confirm that the merchant is overdue and/or the manufacturer is overdue;
generating the overdue information into word and picture type public information, and sending the public information to a corresponding manufacturer or a corresponding merchant, wherein the public information comprises a claim notice, a punishment rule and a warning file.
In a specific embodiment: the user uploads abnormal commodity information and personal abnormal information, the area network receives, processes and reports the abnormal commodity information and the personal abnormal information, meanwhile, merchant and manufacturer selling information is called from the area chain data through data in the commodity two-dimensional code, the corresponding data are compared to determine whether the abnormal problem is caused by commodity expiration, if the abnormal problem is commodity expiration, whether the abnormal problem is that the merchant or the manufacturer sells expired commodities is judged, after the commodity expiration time is determined, a public display message is generated through the area network, and the message is sent to a wrong party.
In one embodiment: the step of positioning the preset block link network according to the commodity category comprises the following steps:
calling a block chain reference label from a preset first database according to the commodity category;
and performing virtual convolution on the block chain reference label by adopting a transformer architecture layer in a preset neural network model, and further associating the block chain network from the transformer architecture layer.
The method specifically comprises the following steps:
establishing an initial transformer architecture layer and an LSTM neural network model, and always associating the transformer architecture layer to process the LSTM neural network model;
the method comprises the steps that a transform architecture layer comprises an Encoder, an LSTM neural network model replaces a Decoder of the transform architecture layer in the prior art, the Encoder part of the transform architecture layer extracts a characteristic set in training data, the training data is a commodity category text large complete input by a user in advance, the Encoder classifies commodity categories from the commodity category text large complete and performs vector distribution and addition, finally vector characteristics represented by each commodity category are formed, the vector characteristics are attributed to each block chain quotation label according to the commodity category, and based on the training method, in the subsequent neural network learning, when a new commodity which is not operated by the Encoder appears, vector characteristic association is performed first, then the block chain quotation labels are classified correspondingly, and the self-learning convolution process of the neural network model is realized.
Then, the Encoders of the tranformer framework layer are arranged in the longitudinal part and comprise two Encoders, the Multi-anchoring in the Encoders of the tranformer framework layer comprises two anchorings, namely 2-anchorage, and an LSTM decoding part of the tranformer framework layer, and a single-layer LSTM neural network model is used for realizing decoding function confirmation of various vector characteristics collected by the Encoders so as to define a block chain network;
the LSTM neural network model is put into MSE as a loss function in the training process, and the loss function is used for carrying out the deviation tolerance of the block chain network definition when a new commodity which is not operated by an Encoder appears.
Referring to fig. 2, a convolution distribution diagram of a tranformer architecture layer is shown, and a corresponding block chain definition algorithm in the LSTM neural network model is as follows:
Figure BDA0003171975550000071
wherein S isiThe block chain network is obtained by calculating and convolving the block chain reference label through a block chain definition algorithm and then obtaining the result according to SiThe network call is performed from the tranrsformer architecture layer.
i is a characteristic, WtIs characterized by weight, t is number, A is commodity type, As is commodity type weight, At is commodity type number,
Figure BDA0003171975550000081
is a neural network heavy pole;
wherein g is a loss function value, and the algorithm of the loss function is as follows:
g=-∑∑softmax(Wt+bt)log
wherein WtAs not input of the commodity category, btNo commodity was input.
Finally, the block chain network definition in the LSTM neural network model adopts 'three-gate' definition, namely an input gate algorithm, an output gate and a forgetting gate, wherein h ist-1Is the originally contained commodity category, xtFor input of goods
The algorithm is respectively that:
z=tanh(Wz[ht-1,xt]
according to the category h of the originally contained commoditiest-1And input of the commodity xtThe value calculated is z
k=sigmoid(Wk[ht-1,xt])
According to the category h of the originally contained commoditiest-1And inputting the commodity xtThe values to the k x z input gate are calculated jointly, inputting the values into the LSTM.
Forget the door:
f=tanh(Wf[ht-1,xt])
according to the category h of the originally contained commoditiest-1And inputting the commodity xtJointly considering calculation to obtain a state value f of the forgetting door;
an output gate:
b=sigmoid(Wb[ht-1,xt])
according to the category h of the originally contained commoditiest-1And inputting the commodity xtThe current value is calculated by joint consideration, and an output gate value b is obtained.
In one embodiment: before the step of obtaining the commodity store data and the commodity manufacturer data through the block chain network according to the commodity selling two-dimensional code, the method comprises the following steps:
and respectively deploying virtual block chain networks to a selling terminal of a commodity store and a factory terminal of a manufacturer.
In this embodiment: corresponding applications are respectively installed in a selling computer of a commodity merchant and a computer of a manufacturer in advance and are used for uploading data;
in a specific embodiment: when the relevant information of the merchant and the manufacturer commodity is needed, the corresponding data can be called through the block chain.
In one embodiment: the step of respectively deploying the virtual block chain network to the selling terminal of the commodity store and the factory terminal of the manufacturer comprises the following steps:
generating a block chain transmission library data stream distribution instruction;
calling an SSD flow interval value from a preset second database through the block chain transmission library data flow distribution instruction, wherein the SSD flow interval value is determined by market information of a manufacturer and a merchant, and the market information comprises but is not limited to a financial annual report;
allocating and deploying a third database and a fourth database to the selling terminal and the factory terminal through the SSD flow interval value
In this embodiment: generating a block chain transmission library data stream distribution instruction for determining the calling data;
calling an SSD flow interval value from a preset second database through the block chain transmission library data flow distribution instruction, wherein the SSD flow interval value is determined through market information of a manufacturer and a merchant, and the market information comprises but is not limited to a financial annual report form which is used for determining the scales of the merchant and the manufacturer and the distribution of the geographic positions of the merchant and the manufacturer;
and allocating and deploying a third database and a fourth database to the selling terminal and the factory terminal through the SSD flow interval value, wherein the third database is used for recording selling information of merchants, and the fourth database is used for recording factory information.
In a specific embodiment: when the data are called, the block chain sends an instruction to the second database, the SSD flow interval is determined by the second data, the information of a manufacturer and a merchant is determined, the SSD flow interval data are distributed to the third database and the fourth database, and the needed commodity data in the third database and the fourth database are called.
In one embodiment: before the step of calling the SSD traffic interval value from the preset second database through the block chain transport library data flow allocation instruction, the method includes:
and establishing connection with a block chain storage platform of a third party by adopting a protocol, wherein the block chain storage platform of the third party is used as the second database.
In this embodiment: and establishing connection with a block chain storage platform of a third party by adopting a protocol, wherein the block chain storage platform of the third party is used as the second database for sharing data.
In a specific embodiment: connect third party data storage platform, share information, both sides are handled simultaneously, make its processing speed faster, and the scope is more accurate.
In one embodiment: after the step of determining the abnormal condition of the commodity in the two-dimensional commodity selling code, the method further comprises the following steps:
when the abnormal condition is formula information, generating logistics data and a logistics text, and sending the logistics text to a user side, wherein the user side is an intelligent terminal for outputting user reported information;
an upper delivery order of a third-party logistics platform is generated through the logistics data, and the commodity is sent out from an upper section order through a user side;
acquiring the commodities, carrying out formula analysis on the commodities, and generating a formula report;
comparing the formula report with a food formula specification prestored in a corresponding food supervision office to judge an abnormal value;
and generating a warning notice sent to the manufacturer terminal according to the abnormal value.
In this embodiment: when the abnormal condition is formula information, generating logistics data and a logistics text by matching with a third-party logistics company platform, and sending the logistics text to a user side, wherein the user side is an intelligent terminal for outputting reported information of a user;
the mobile phone number and the address information of the user in the area chain are transmitted to a third-party logistics platform, then a goods taking order is sent from the upper door of the third-party logistics platform, and the goods are sent out from the upper door section order through the user side;
sending the commodity to a checking department, carrying out formula analysis and product checking by the checking department, and reproducing a corresponding formula report;
comparing the formula report with a food formula specification prestored in a corresponding food supervision office to judge an abnormal value;
and generating a warning notice according to the abnormal value and sending the warning notice to the manufacturer terminal.
In a specific embodiment: the regional chain calls user information in an abnormal state, sends user telephone and address information to a third-party logistics platform, transmits logistics data to the block chain through the third-party logistics data platform, generates text information to be fed back to a user through the block chain, determines time for home pickup by a third-party logistics company, sends abnormal commodities to an inspection department for analysis and inspection, compares formula data to determine whether the formula is abnormal or not, generates a data table and an alarm notice when the data is abnormal, and sends the data table and the alarm notice to a manufacturer for alarming.
In one embodiment, the food safety traceability device comprises:
the system comprises an acquisition unit, a display unit and a processing unit, wherein the acquisition unit is used for acquiring user reported information, and the user reported information comprises commodity category, commodity selling two-dimensional codes and user abnormal information, wherein the user abnormal information is discomfort caused by eating food by a user;
the network unit is used for positioning a preset block link network according to the commodity category;
the analysis unit is used for acquiring commodity store data and commodity manufacturer data through a block chain network according to the commodity selling two-dimensional code, calling first selling time and first leaving time from the commodity store data and the commodity manufacturer data respectively, and determining an abnormal condition of the commodity from the commodity selling two-dimensional code, wherein the abnormal condition comprises but is not limited to expiration time;
the comparison unit is used for comparing the expiration time with the first selling time and the first delivery time respectively to determine the abnormal state of the merchant and/or the abnormal state of the manufacturer;
and the display unit is used for generating display information and sending the display information to a corresponding manufacturer or merchant, wherein the display information comprises but is not limited to a claim money notice.
In this embodiment: the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring user reported information, and the user reported information comprises commodity types, commodity selling two-dimensional codes and user abnormal information, wherein the user abnormal information is discomfort caused by eating food by a user, and the user abnormal information can be reported together with a hospital diagnostic book;
the network unit finds a corresponding block in the area chain according to the data chain converted from the uploaded commodity category;
the analysis unit acquires the inventory and the selling information of the corresponding commodity store and the commodity manufacturer in a block chain according to a data chain converted from the two-dimensional code for selling the commodity, the block chain acquires first selling time and first leaving time which correspond to the sales information of the commodity store and the warehouse data of the commodity manufacturer respectively from the sales information of the commodity store and the warehouse data of the commodity manufacturer, and determines the abnormal condition of the commodity from the two-dimensional code for selling the commodity, wherein the abnormal condition comprises but is not limited to expiration time;
the comparison unit is used for comparing the expiration time with the first selling time and the first delivery time respectively to determine that the merchant is overdue and/or the manufacturer is overdue;
and the announcement unit generates the overdue information into word and picture announcement information and sends the announcement information to a corresponding manufacturer or merchant, wherein the announcement information comprises a claim notice, a punishment regulation and a warning file.
In a specific embodiment: the acquisition unit acquires user information and commodity information and uploads the information to the data terminal, and the network unit finds a corresponding block in the area chain through a data chain converted from the uploaded commodity category; the analysis unit searches the two-dimension code of the commodity in the corresponding block to obtain corresponding information, calls the required information, determines the overdue information of the commodity, compares the information of the merchant and the manufacturer by the comparison unit,
the content of the comparison analysis is processed by the publicizing unit, and the commodity abnormal information is publicized and sent to the merchant and the manufacturer.
In one embodiment: the label subunit is used for calling a block chain reference label from a preset first database according to the commodity category;
and the neural network subunit is used for performing virtual convolution on the block chain reference label by adopting a transformer architecture layer in a preset neural network model so as to correlate the block chain network from the transformer architecture layer.
In one embodiment: the utility model provides a food security system of traceing back based on block chain which characterized in that, includes user end, producer terminal, trade company's terminal, block chain storage platform and the processing terminal that carries out wireless association each other, wherein:
the user side generates user reporting information and sends the user reporting information to the processing terminal;
the factory terminal records factory information of a factory and acquires a data calling instruction corresponding to the processing terminal;
the merchant terminal is used for recording merchant selling information and acquiring a data calling instruction corresponding to the processing terminal;
the processing terminal acquires data output by the user terminal, the manufacturer terminal and the merchant terminal, analyzes the data and calls the block chain storage platform;
and the block chain storage platform is called by the processing terminal and provides a storage platform of the SSD flow interval value for the manufacturer terminal and the merchant terminal.
In this embodiment: the user side is used for reporting information by a user, sending the reported information of the user to the processing terminal and receiving a processed feedback result;
the manufacturer terminal is used for recording factory information of a manufacturer and acquiring a data calling instruction corresponding to the processing terminal, and can also be used for receiving commodities sent by the manufacturer terminal to carry out corresponding matching joint processing terminal joint work;
the merchant terminal is used for recording merchant selling information and acquiring a data calling instruction corresponding to the processing terminal and can also be used for receiving commodities sent by an outgoing terminal to carry out corresponding matching joint processing terminal to work together;
the processing terminal acquires data output by the user terminal, the manufacturer terminal and the merchant terminal, analyzes the data, calls the block chain storage platform at the same time, compares the data, integrates all the data and performs bidirectional transmission;
and the block chain storage platform is called by the processing terminal, provides a storage platform of the SSD flow interval value for the manufacturer terminal and the merchant terminal, positions the SSD flow interval direction and directionally transmits corresponding data.
In a specific embodiment: the data are uploaded to a data end by a user end, the data are called by a factory terminal and a merchant terminal in a matching mode through a processing terminal, the processing terminal simultaneously calls the data of the block chain storage platform for processing, all the data are compared, and all the final processing results are fed back to all the terminals.
To sum up, a user uploads abnormal commodity information and personal abnormal information, the regional network receives, processes and reports the abnormal commodity information and the personal abnormal information, meanwhile, merchant and manufacturer selling information is called in regional chain data through data in a commodity two-dimensional code, corresponding data are compared to determine whether an abnormal problem is caused by commodity expiration, if the commodity is expired, whether the merchant or the manufacturer sells expired commodities is judged, after the commodity expiration time is determined, a public display message is generated through the regional network, and the message is sent to a wrong party, so that the data can not be tampered and disclosed.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (9)

1. A food safety tracing method based on a block chain is characterized in that a processing terminal for market supervision is adopted to carry out the food safety tracing method, and the method comprises the following steps:
acquiring user reporting information, wherein the user reporting information comprises commodity category, a commodity selling two-dimensional code and user abnormal information, and the user abnormal information is discomfort caused by eating food by a user;
positioning a preset block link network according to the commodity category;
according to the commodity selling two-dimensional code, commodity store data and commodity manufacturer data are obtained through a block chain network, first selling time and first leaving time are called from the commodity store data and the commodity manufacturer data respectively, and abnormal conditions of commodities are determined from the commodity selling two-dimensional code, wherein the abnormal conditions include but are not limited to expiration time;
respectively comparing the expiration time with a first selling time and a first leaving time to determine abnormal states of merchants and/or abnormal states of manufacturers;
and generating public information and sending the public information to a corresponding manufacturer or merchant, wherein the public information comprises but is not limited to a claim money notice.
2. The blockchain-based food safety tracing method according to claim 1, wherein the step of locating the predetermined blockchain network according to the commodity category comprises:
calling a block chain reference label from a preset first database according to the commodity category;
and performing virtual convolution on the block chain reference label by adopting a transformer architecture layer in a preset neural network model, and further associating the block chain network from the transformer architecture layer.
3. The block chain-based food safety tracing method according to claim 1, wherein the step of obtaining merchant data and manufacturer data of the goods through a block chain network according to the two-dimensional code for selling goods comprises:
and respectively deploying virtual block chain networks to a selling terminal of a commodity store and a factory terminal of a manufacturer.
4. The system and apparatus for tracing food safety based on block chain according to claim 3, wherein the step of respectively deploying virtual block chain networks to the selling terminal of the commodity store and the factory terminal of the manufacturer comprises:
generating a block chain transmission library data stream distribution instruction;
calling an SSD flow interval value from a preset second database through the block chain transmission library data flow distribution instruction, wherein the SSD flow interval value is determined by market information of a manufacturer and a merchant, and the market information comprises but is not limited to a financial annual report;
and allocating and deploying a third database and a fourth database to the selling terminal and the factory terminal through the SSD flow interval value.
5. The system and device for tracing food safety based on block chain according to claim 4, wherein before the step of retrieving the SSD flow interval value from the second preset database by the block chain transmission database data flow distribution command, the method comprises:
and establishing connection with a block chain storage platform of a third party by adopting a protocol, wherein the block chain storage platform of the third party is used as the second database.
6. The block chain-based food safety tracing method according to claim 1, wherein after the step of determining an abnormal condition of the commodity in the commodity selling two-dimensional code, the method further comprises:
when the abnormal condition is formula information, generating logistics data and a logistics text, and sending the logistics text to a user side, wherein the user side is an intelligent terminal for outputting user reported information;
an upper delivery order of a third-party logistics platform is generated through the logistics data, and the commodity is sent out from an upper section order through a user side;
acquiring the commodities, carrying out formula analysis on the commodities, and generating a formula report;
comparing the formula report with a food formula specification prestored in a corresponding food supervision office to judge an abnormal value;
and generating a warning notice sent to the manufacturer terminal according to the abnormal value.
7. A food safety tracing apparatus, wherein the food safety tracing apparatus is used to execute the food safety tracing method according to any one of claims 1 to 6, and the food safety tracing apparatus comprises:
the system comprises an acquisition unit, a display unit and a processing unit, wherein the acquisition unit is used for acquiring user reported information, and the user reported information comprises commodity category, commodity selling two-dimensional codes and user abnormal information, wherein the user abnormal information is discomfort caused by eating food by a user;
the network unit is used for positioning a preset block link network according to the commodity category;
the analysis unit is used for acquiring commodity store data and commodity manufacturer data through a block chain network according to the commodity selling two-dimensional code, calling first selling time and first leaving time from the commodity store data and the commodity manufacturer data respectively, and determining an abnormal condition of the commodity from the commodity selling two-dimensional code, wherein the abnormal condition comprises but is not limited to expiration time;
the comparison unit is used for comparing the expiration time with the first selling time and the first delivery time respectively to determine the abnormal state of the merchant and/or the abnormal state of the manufacturer;
and the display unit is used for generating display information and sending the display information to a corresponding manufacturer or merchant, wherein the display information comprises but is not limited to a claim money notice.
8. The blockchain-based food safety traceability device of claim 7, wherein the network unit comprises:
the label subunit is used for calling a block chain reference label from a preset first database according to the commodity category;
and the neural network subunit is used for performing virtual convolution on the block chain reference label by adopting a transformer architecture layer in a preset neural network model so as to correlate the block chain network from the transformer architecture layer.
9. The utility model provides a food security system of traceing back based on block chain which characterized in that, includes user end, producer terminal, trade company's terminal, block chain storage platform and the processing terminal that carries out wireless association each other, wherein:
the user side generates user reporting information and sends the user reporting information to the processing terminal;
the factory terminal records factory information of a factory and acquires a data calling instruction corresponding to the processing terminal;
the merchant terminal is used for recording merchant selling information and acquiring a data calling instruction corresponding to the processing terminal;
the processing terminal acquires data output by the user terminal, the manufacturer terminal and the merchant terminal, analyzes the data and calls the block chain storage platform;
and the block chain storage platform is called by the processing terminal and provides a storage platform of the SSD flow interval value for the manufacturer terminal and the merchant terminal.
CN202110820997.5A 2021-07-20 2021-07-20 Food safety tracing system based on block chain and device thereof Pending CN113538009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110820997.5A CN113538009A (en) 2021-07-20 2021-07-20 Food safety tracing system based on block chain and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110820997.5A CN113538009A (en) 2021-07-20 2021-07-20 Food safety tracing system based on block chain and device thereof

Publications (1)

Publication Number Publication Date
CN113538009A true CN113538009A (en) 2021-10-22

Family

ID=78129055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110820997.5A Pending CN113538009A (en) 2021-07-20 2021-07-20 Food safety tracing system based on block chain and device thereof

Country Status (1)

Country Link
CN (1) CN113538009A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090775A (en) * 2017-10-23 2018-05-29 深圳市赛亿科技开发有限公司 Commodity shelf-life feedback method and system
CN109214829A (en) * 2018-08-02 2019-01-15 佛山鑫达智汇科技有限公司 Food safety source tracing method and device
CN110188787A (en) * 2019-04-11 2019-08-30 淮阴工学院 It is a kind of mutually to be demonstrate,proved based on block chain and the voucher formula bookkeeping methods of convolutional neural networks
CN110232574A (en) * 2019-05-07 2019-09-13 中国平安财产保险股份有限公司 Product Validation method, apparatus, equipment and storage medium based on block chain
CN110674305A (en) * 2019-10-10 2020-01-10 天津师范大学 Deep feature fusion model-based commodity information classification method
CN111311271A (en) * 2020-01-15 2020-06-19 阳光易购(湖南)科技有限公司 Food tracing method and system based on block chain
CN111383078A (en) * 2020-03-11 2020-07-07 永正信息技术(南京)有限公司 Consumption end information tracing cross-border e-commerce platform
CN111598585A (en) * 2020-04-30 2020-08-28 山东贵合信息科技有限公司 Agricultural product quality tracing method, equipment and medium
CN111882903A (en) * 2020-07-14 2020-11-03 福建工程学院 Vehicle-mounted terminal real-time weather early warning method based on block chain
CN113077314A (en) * 2021-04-13 2021-07-06 重庆文理学院 Food supply chain management system based on block chain technology
CN113094365A (en) * 2021-04-02 2021-07-09 北京大学 Food safety tracing system, method and equipment and readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090775A (en) * 2017-10-23 2018-05-29 深圳市赛亿科技开发有限公司 Commodity shelf-life feedback method and system
CN109214829A (en) * 2018-08-02 2019-01-15 佛山鑫达智汇科技有限公司 Food safety source tracing method and device
CN110188787A (en) * 2019-04-11 2019-08-30 淮阴工学院 It is a kind of mutually to be demonstrate,proved based on block chain and the voucher formula bookkeeping methods of convolutional neural networks
CN110232574A (en) * 2019-05-07 2019-09-13 中国平安财产保险股份有限公司 Product Validation method, apparatus, equipment and storage medium based on block chain
CN110674305A (en) * 2019-10-10 2020-01-10 天津师范大学 Deep feature fusion model-based commodity information classification method
CN111311271A (en) * 2020-01-15 2020-06-19 阳光易购(湖南)科技有限公司 Food tracing method and system based on block chain
CN111383078A (en) * 2020-03-11 2020-07-07 永正信息技术(南京)有限公司 Consumption end information tracing cross-border e-commerce platform
CN111598585A (en) * 2020-04-30 2020-08-28 山东贵合信息科技有限公司 Agricultural product quality tracing method, equipment and medium
CN111882903A (en) * 2020-07-14 2020-11-03 福建工程学院 Vehicle-mounted terminal real-time weather early warning method based on block chain
CN113094365A (en) * 2021-04-02 2021-07-09 北京大学 Food safety tracing system, method and equipment and readable storage medium
CN113077314A (en) * 2021-04-13 2021-07-06 重庆文理学院 Food supply chain management system based on block chain technology

Similar Documents

Publication Publication Date Title
CN109272396A (en) Customer risk method for early warning, device, computer equipment and medium
US20210176262A1 (en) Event monitoring and response system and method
US20230351396A1 (en) Systems and methods for outlier detection of transactions
CN111882013A (en) Equipment asset monitoring method and device, computer equipment and storage medium
CN110310123A (en) Risk judgment method and apparatus
CN112446794A (en) Supply chain financial credit evaluation system and method based on block chain
CN110637321A (en) Dynamic claims submission system
CN114266443A (en) Data evaluation method and device, electronic equipment and storage medium
CN116823498A (en) Personalized insurance product recommendation engine system based on big data analysis and machine learning
KR102411674B1 (en) Method for providing financial service information
CN105303447A (en) Method and device for carrying out credit rating through network information
CN116151840B (en) User service data intelligent management system and method based on big data
CN113538009A (en) Food safety tracing system based on block chain and device thereof
Fazlollahtabar Supply chain management models: forward, reverse, uncertain, and intelligent foundations with case studies
KR100835000B1 (en) System and Method for complementary insurance plan
CN114996579A (en) Information pushing method and device, electronic equipment and computer readable medium
CN114648389A (en) Electronic commerce information processing system
CN112801788A (en) Internet stock right financing platform monitoring system and monitoring method
TWM586832U (en) Customer attribute integration analysis device
US20210049698A1 (en) Program and process for real-time dealer assessment of service customer vehicle ownership efficiency
CN111222893B (en) Real data sales system and working method thereof
KR102590232B1 (en) System for providing day trading stock picking service using bigdata based artificial intelligence
CN113723811A (en) Equipment maintenance unit evaluation method and device based on machine learning and electronic equipment
CN116383784A (en) User identity unique identification system based on middle platform architecture
CN115936751A (en) Method and system for realizing monitoring engine of key business system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211022

RJ01 Rejection of invention patent application after publication