Agricultural product quality and safety based on Quick Response Code reviews supervisory systems and its implementation
Technical field
The invention belongs to agricultural product quality and safety regulation technique field, a kind of agricultural product based on Quick Response Code are specifically related to
Quality safety reviews supervisory systems and its implementation.
Background technology
" bread is the staff of life, eats with An Weixian ", and food security is healthy and social stability the important foundation of common people,
And agricultural product are the sources of food.Agribusiness has the characteristics of production Node distribution is wide, circulation level is more, along with soil
Environmental pollution, pesticide abuse, quality control be not strict, cause with residues of pesticides it is exceeded based on agricultural product quality problem still exist
Various regions existing more or less.
For the detection that agriculture is residual, now with government monitoring agencies inspect by random samples based on, supplemented by each agricultural product production base self-inspection
Help.Various regions government pays much attention to agricultural product quality and safety, the local government such as current Beijing, Shandong Province, Hainan Province and some enterprises
Industry all builds the agricultural product with respective characteristic in effort and reviews supervisory systems, and many institution of higher learning and scientific research institution are to setting up agriculture
Product back-tracing system is conducted in-depth research.Existing retroactive method is more, but exists that cost is higher to be not suitable for agricultural
Medium-sized and small enterprises, supervision depth range not enough, the chain reviewed is not grown, information feedback amount is little, consumer is ignorant etc. asks
Topic.
Application publication number provides a kind of agricultural product quality retroactive method and device for CN105069639 Chinese patent,
Agricultural product quality traceability system includes user terminal, agricultural product quality and reviews server and agriculture ERP database server, agriculture
Product quality reviews server and preserves the agricultural product information that can not be changed from agriculture ERP database server sync, and implements
Agricultural product quality is reviewed and is combined with agriculture ERP database by the agricultural product quality retroactive method and device that example is provided, agricultural production
Quality reviews server and can only be inquired about and data can not be modified, between the data in agriculture ERP database
Strongly, in the case where database is underground, data fabrication is extremely difficult to relevance, and agricultural product quality is effectively ensured
Validity, integrality and the authenticity reviewed;But, agricultural product are a complete mistakes from production to finally being received by consumer
Journey, the patent of invention is not completed to review the overall process, and agricultural product defect can not be found by the hair technical scheme;
Application publication number is CN101826198 Chinese invention patent, discloses agricultural product security traceability system, including
Using advanced information and communication technology (ICT), the agricultural product producer, whole seller, retailer, government monitoring agencies are linked together;
Integrated, seamless product quality information circulation and control process of the agricultural product from production to final consumption link are realized, agriculture is set up
Product safety is controlled and early warning mechanism;But the patent does not pass through specific embodiment and concrete technical scheme method explanation
How integrated, product quality information Supervised Control from production to consumer overall process is realized;
Application publication number discloses a kind of agricultural product information traceability system for CN10571319 Chinese invention patent, wraps
Include:Cloud server, storage agricultural product data, identity msu message, generation reviews label Quick Response Code, reviews label plain code, chases after
Trace back and label private mark and review organic code;Intelligent terminal includes:Interactive module is shown, for showing agricultural product data and operation circle
Face;Identification module, the intelligent terminal is logged in for user identity examination & verification;Communication module, for being carried out with cloud server
Data communication;Memory module, the agricultural production downloaded for user's storage log-on message, user's operation information, from cloud server
Agricultural product information and review label Quick Response Code that product data, setting are printed out;Print module, will set the agricultural production of printout
Product information and review label Quick Response Code and print out to be formed and review label, disclose a kind of agricultural product information retroactive method and realize agriculture
Product back-tracing system, can realize that inexpensive agricultural product information is reviewed at a high speed;But agricultural product transmitting procedure passes through multiple links, agriculture
Any one link of product quality is likely to occur, and can not effectively solve agricultural product quality responsibility clear and definite.
The content of the invention
Goal of the invention:In order to overcome the deficiencies in the prior art, the present invention provides a kind of agricultural production based on Quick Response Code
Quality safe tracing supervisory systems and its implementation, by objectively recording each CCP quality information and process,
" from field to dining table " overall process can be effectively realized to review, agricultural product quality and safety information asymmetry and responsibility is preferably solved
Indefinite problem, and then ensure agricultural product quality and safety supervising in overall process with that can review from base to market so that common people
Transparent consumption, trust consumption.
Technical scheme:To achieve the above object, the agricultural product quality and safety of the invention based on Quick Response Code reviews supervision system
System, including developed for production link production base management system, for wholesale link develop wholesale link management system,
In the retail link management system developed for retail link, the customer service's system developed for consumer, government regulation
The heart, public service platform and system server, system server include database server;The production base management system
System, wholesale link management system, retail link management system, customer service's system, government regulation center and public service are flat
Platform is connected with system server;
The production base management system facing to manufacture base user uses, and providing production base for production base user uses
Family intelligent terminal;For the management of product, Product archives management, sales management, receive from production base self-inspection data and judge
Whether self-inspection data is qualified, the qualified agricultural product information of self-inspection is sent into system server, by traceability code in Quick Response Code form
Agricultural product packaging mark is printed, is affixed in the agricultural product outer packing of circulation;
The wholesale link management system is used towards wholesale link user, and providing wholesale link for wholesale link user uses
Family intelligent terminal;For the unit management that comes and goes, purchase, sales and stock management, quality control;
The retail link management system is used towards retail link user, and providing retail link for retail link user uses
Family intelligent terminal;Reviewed on the unit management that comes and goes, purchase, sales and stock management, quality control, the management of consumer's member card, member card
Mark printing;
Customer service's system satisfies the needs of consumers user, and customer service's system provides consumer-user for consumer
Intelligent terminal;Consumer-user scans the past letter of traceability code tracing farm product on member card by consumer-user's intelligent terminal
Breath;
The government regulation center provides supervision for government regulation user and used towards government regulation user, government regulation center
Family intelligent terminal;User is supervised according to System Privileges, the progress residual sampling observation of agriculture local to place of the residual instrument of Portable rural is carried, by matter
Amount sampling observation data, law enforcement information are uploaded to system server, to consumer's early warning;
The production base user intelligent terminal, wholesale link user intelligent terminal, retail link user intelligent terminal, disappear
Expense person user intelligent terminal and supervision user's intelligent terminal are respectively mounted system APP;System server facing to manufacture base user's intelligence
Can terminal, wholesale link user intelligent terminal, retail link user intelligent terminal, consumer-user's intelligent terminal and supervision user
Intelligent terminal provides APP interfaces;
The public service platform can consult agricultural product quality and safety with Web form services to the public, the public by platform
Laws and regulations, the information that browser technology service, sincere enterprise, case are investigated and prosecuted, any user can review by being manually entered
Code carries out agricultural product and reviewed.
Further, wherein the path from production link to consumer is not limited to by wholesale link and retail link.
Further, including the residual detection device of agriculture, production base user is using the residual detection device detection agriculture of any one agriculture
Product, and detection data are uploaded to system server, the system server is uploaded towards the residual detection device of any one agriculture
Detect that data provide Web service interface.
The present invention proposes the implementation method that a kind of agricultural product quality and safety based on Quick Response Code reviews supervisory systems, the party
Method comprises the following steps:
S1 production bases user detects certain batch agricultural product by the residual detection device of agriculture, by production base user intelligence eventually
Hold and use Web service technology that the residual detection data of the batch agricultural product agriculture are sent into system server, the batch agricultural product agriculture
Residual detection data can not be changed since detection to the whole process for being sent to system server;
The residual detection data of the batch agricultural product agriculture are sent to production base management system, production base by S2 system servers
The residual detection data of the batch agricultural product agriculture that management system obtains reception are judged whether the qualified set in system
In the range of, the qualified agricultural product of self-inspection are if it is subjected to in-stockroom operation in systems, system server generates the batch agriculture
30 traceability codes are changed into Quick Response Code form by 30 traceability codes of product, production base management system, by 30 traceability codes
Batch agricultural product packaging mark is printed in Quick Response Code form, is affixed in the batch agricultural product outer packing of circulation;
S3 is taken by present node in production link, wholesale link and retail link by its user's intelligent terminal in system
The specific data that typing is sold to descendant node in business device, the specific data include the sale relation of present node and descendant node
With sale details, descendant node is received after agricultural product, is put in storage by the first barcode scanning of its user's intelligent terminal, is then passed through its user
Intelligent terminal confirms to be logged in the sale relation and pin in system server with this node by present node in system server
Details are sold, production link includes several production nodes, and wholesale link includes several wholesale nodes, and retail link includes some
Individual retail node;
Each retail node is printed on card number with card to consumer, on card in S4 retail links and card number is printed in Quick Response Code form
During card surface, hair fastener, consumer identification information, contact method correspondence card number are passed through retail link user by retail node
Intelligent terminal is entered into system server, forms traceability chain;
S5 government regulations user inspects by random samples to certain node in production link, wholesale link and retail link, and passes through prison
Effective family intelligent terminal will inspect data by random samples at the scene and supervision inspection situation is registered, and be shone while mobile terminal is obtained scene
Piece, longitude and latitude and geographical location information are sent to system server, in the supervision external handwriting equipment of user's intelligent terminal, in production
Link, wholesale link and the external handwriting equipment of retail link user's intelligent terminal, supervise user and by sampling observation link user in hand
Sign and confirm on write device, the electronics for confirmation of signing is checked that archives are uploaded to system server, if government regulation center includes
Dry government regulation node;
If the residues of pesticides defect of data of S6 government regulations user sampling observation, by supervising user's intelligent terminal APP
Scanning is identified to the Quick Response Code on the agricultural product packaging, the source of the batch agricultural product and all whereabouts are drawn, according to policy method
Rule further processing, while by system server to carrying out early warning using the consumer of the batch agricultural product.
Further, 30 traceability codes of agricultural product include 15 Code of the production places, 9 Product archives in the step S2
Number, 3 harvesting batches codes and 3 random verification codes, wherein 15 Code of the production places are to produce nodes encoding in the step S3.
Further, for wholesale node, retail node and government regulation node, wholesale node, retail node and government
Supervisory node reports and submits nodal basis information to system server by its user's intelligent terminal, and system server sends commands to political affairs
Mansion supervision center is checked and approved, after approval passes through, and system server is each 12 nodes encodings of node distribution, and 12 nodes encodings include
6 administrative division codes, 3 streets, small towns codes, 1 node classification code and 2 serial numbers.
Further, it is specifically to transfer to be sold by several consumers card by government regulation center to save in the step S4
Point is issued to card number on consumer, card and is made up of 12 bit digitals, including+1 consumer type's code of 4 Administrative Division for Prefec-ture-level Cities codes
+ 7 serial numbers.
Further, comprise the following steps:The basic number in production base that system manager checks and approves according to government regulation center
Put on record according to supplier is completed, be the login account and initial password of each production base distribution system;Production base user's root
According to practical condition, production base user's intelligent terminal APP is logged in by its login account and initial password, it is complete in APP
Kind Product archives, including plantation distributed intelligence and field farming record of production information, field farming record of production information include field
Between management information, nursery rice transplanting information, field planting management information, fertilising information and prevention and control of plant diseases, pest control information;In typing fertilising
During with prevention and control of plant diseases, pest control data, production base user declares agricultural chemicals, fertilizer and other countryside tax systems in system server first
The details of product, after wait area under one's jurisdiction government regulation center is checked and approved in system server, can carry out the step S1.
Further, in the step S5 spot sampling check data and supervision inspection situation with area under one's jurisdiction abbreviation+time+order
Number as inspection numbering, inspection numbering is with spot sampling check data and supervision inspection situation while is entered into system server;Prison
Effective family and signed by sampling observation link user on handwriting equipment confirmation, specifically include following steps:
Both sides click on and jump out the interface for signature on the edit box of signature prompting below, handwriting equipment on handwriting equipment;
The interface of signature is used as watermark using the inspection numbering;
Signed after completing and confirming, signature interface is preserved with picture format and including after signature prompting using special pens
In the edit box in face;
Click on the signature interface preserved, signature interface capable of enlarged displaying and watermark.
Further, in the step S6, system server carries out early warning to the consumer using the batch agricultural product and carried
Show, early warning includes two kinds of system circular and specific user's early warning;System notice is by Web forms or news push
Mode refers to pre- by SMS to the consumer that have purchased the batch products to consumer's early warning, specific user's early warning
Alert or intelligent terminal APP carries out early warning;
SMS early warning specifically includes following steps:
On government regulation scanning input agricultural product packaging Quick Response Code mark, by system server obtain the place of production, product,
Production batch, harvesting batch and other information, at the same obtain the agricultural product by path and bought the batch agricultural product
Consumer's card number;
The identity information and phone number of consumer is inquired in system server by consumer's card number;
Warning information is sent to the phone number inquired;
Early warning is carried out by intelligent terminal APP to comprise the following steps:
After government regulation user's barcode scanning, system early warning, and typing early warning content are set by supervising user's intelligent terminal, are
Corresponding early warning field is set to related early warning value by system server;
The consumer for having bought the batch products and barcode scanning carries out early warning by public's version APP.
Beneficial effect:The present invention compared with the prior art, this have the advantage that:
1st, in production link, the same production batch of identical product, same harvesting batch use same coding, printing
Quick Response Code is identified through intermediate links, it is not necessary to one one yard, is effectively reduced enterprise labour burden and financial cost;
2nd, in retail link, generated by system one one yard of retail node is printed as Quick Response Code receipt, for consumer
Retain and review;When supervisor intermediate links node inspect by random samples certain agricultural product quality it is unqualified when, pass through Web service technology
Uploading detection data, while the external writing pad on intelligent terminal APP, supervisor, detected object carry out electricity by handwriting pad
Sub- Signature Confirmation, system server is uploaded to after label are good;After regulator confirms that the batch agricultural product quality is unqualified, superintendent
Member can track all flow directions of the batch agricultural product, and the warning information sent by system, and consumer can be seen by APP
To early warning, when consumer's barcode scanning reviews the data such as obtained supplier information, batch information and system early warning information kiss
During conjunction, you can learn that purchased agricultural product quality is unqualified, agricultural product quality and safety reviews accuracy height, efficiency high;
3rd, in production link and intermediate links, agricultural product quality control information is input to system server by each node
In, by objectively recording quality information and process, finally inspect the agricultural product off quality drawn by random samples and can specifically be reviewed
To links, it is ensured that do not let off produced problem in each link;" from field to dining table " overall process can be effectively realized to chase after
Trace back, agricultural product source and agricultural product whereabouts together form a sale chain information, formed and up traced to the source and chasing after for down following the trail of
Trace back chain, preferably solves agricultural product quality and safety information asymmetry and the indefinite problem of responsibility, and then ensure agricultural product quality
Safety supervising in overall process with that can review from production base to market so that common people's transparent consumption, trusts consumption.
Brief description of the drawings
Fig. 1 is that production base user detects agricultural product step structural representation by the residual detection device of agriculture.
Fig. 2 is that agricultural product proposed by the present invention review chain graph.
Fig. 3 is that agricultural product quality and safety of the present invention reviews supervisory systems block diagram.
Fig. 4 is 30 traceability code structural representations of agricultural product.
Fig. 5 is that the batch agricultural product of the residual detection data qualifier of agriculture are formally put in storage into steps flow chart schematic diagram.
Fig. 6 is circulation nodes encoding structural representation.
Fig. 7 is consumer's card card number structural representation.
Fig. 8 is present system business process map.
Fig. 9 is the implementation method flow chart of steps of agricultural product traceability system of the present invention.
Embodiment
The present invention is further described below in conjunction with the accompanying drawings.
The present invention proposes a kind of agricultural product quality and safety based on Quick Response Code and reviews supervisory systems, reference picture 3, the system
Including the production base management system, the wholesale link management system for wholesale link exploitation, pin developed for production link
To retail link develop retail link management system, for consumer develop customer service's system, government regulation center,
Public service platform and system server, the function such as system server collection data transmit-receive, data storage, production base management system
System, wholesale link management system, retail link management system, customer service's system, government regulation center and public service are flat
Platform is communicated to connect with system server, is formed an agricultural product and is reviewed link;Wholesale link in reference picture 2, the present invention program
Including whole seller's link and pin ground whole seller's link, the retail point such as the market of farm produce, supermarket constitutes retail link, and consumer includes
Food and beverage enterprise and individual, wholesale link and retail link are referred to as intermediate links again, again to disappearing from production link to wholesale link
Fei Zhe, forms an agricultural product and reviews link, and the path from production link to consumer is not limited to by wholesale link, pin
Ground wholesale link, three links of retail link, may pass through one of link or two links;
Wherein production base management system facing to manufacture base user uses, and providing production base for production base user uses
Family intelligent terminal;The functions such as the management of product, Product archives management, sales management are contained, receive to come from production base self-checking number
According to and judge whether self-inspection data qualified, the qualified agricultural product information of self-inspection is sent to system server, by traceability code with two
Code form printing agricultural product packaging mark is tieed up, is affixed in the agricultural product outer packing of circulation;The system includes the residual detection device of agriculture, raw
Base user is produced using the residual detection device detection agricultural product of any one agriculture, and detection data are uploaded to system server, institute
State system server and provide Web service interface towards the residual detection device uploading detection data of any one agriculture;Reference picture 1, it is raw
Base user is produced by the residual detector of agriculture in base self-inspection, the residual detection data of obtained agriculture are uploaded to production base user intelligence
Terminal device, the residual detection data of certain batch agriculture are uploaded to by terminal device by data interactive mode based on WIFI or 4G networks is
System server;Wholesale link management system is used towards wholesale link user, and wholesale link user is provided for wholesale link user
Intelligent terminal;Contain the functional modules such as contact unit management, purchase, sales and stock management, quality control;Retail link management system face
To retail link, user is used, and retail link user's intelligent terminal is provided for retail link user;Contain contact unit management,
Purchase, sales and stock management, quality control, the management of consumer's member card, mark print management functional module is reviewed on member card;Consumer
Member's card management module is used to be consumer with card, is that each consumer realizes 1 identity, 1 card number, card number is in systems
With uniqueness, card number is printed on card surface in Quick Response Code form, and reviewing mark print management module is used to generate towards consumption
Coding and Quick Response Code that person reviews;Customer service's system satisfies the needs of consumers user, and customer service's system carries for consumer
For consumer-user's intelligent terminal;Consumer-user scans traceability code on member card by consumer-user's intelligent terminal and reviews agriculture
Product contact information;Government regulation center provides supervision towards government regulation user, government regulation center for government regulation user
User's intelligent terminal, supervision user carries the progress residual sampling observation of agriculture local to place of the residual instrument of Portable rural according to System Privileges, will
Sampling check for quality data, law enforcement information are uploaded to system server, spot sampling check data and supervision inspection situation with area under one's jurisdiction referred to as+
Time+serial number is numbered as inspection, and inspection numbering is entered into system clothes simultaneously with spot sampling check data and supervision inspection situation
It is engaged in device;Supervision user and signed by sampling observation link user on handwriting equipment confirmation, specifically include following steps:
Both sides click on and jump out the interface for signature on the edit box of signature prompting below, handwriting equipment on handwriting equipment;
The interface of signature is used as watermark using the inspection numbering;
Signed after completing and confirming, signature interface is preserved with picture format and including after signature prompting using special pens
In the edit box in face;
Click on the signature interface preserved, signature interface capable of enlarged displaying and watermark;
To consumer's early warning, system server using the consumer of the batch agricultural product to carrying out early warning, in advance
Alert prompting includes two kinds of system circular and specific user's early warning;System notice is by way of Web forms or news push
To consumer's early warning, specific user's early warning refer to have purchased the consumers of the batch products by SMS early warning or
Intelligent terminal APP carries out early warning;
SMS early warning specifically includes following steps:
On government regulation scanning input agricultural product packaging Quick Response Code mark, by system server obtain the place of production, product,
Production batch, harvesting batch and other information, at the same obtain the agricultural product by path and bought the batch agricultural product
Consumer's card number;
The identity information and phone number of consumer is inquired in system server by consumer's card number;
Warning information is sent to the phone number inquired;
Early warning is carried out by intelligent terminal APP to comprise the following steps:
After government regulation user's barcode scanning, system early warning, and typing early warning content are set by supervising user's intelligent terminal, are
Corresponding early warning field is set to related early warning value by system server;
The consumer for having bought the batch products and barcode scanning carries out early warning by public's version APP;
Using the intelligent terminal for being provided with system APP as moving in supervisory terminal, enforcing law, mainly pass through 4G networkings
Supervision supervise and examine, sampling check for quality, law enforcement information are sent to server;Production base user's intelligent terminal, wholesale link user's intelligence
Energy terminal, retail link user intelligent terminal, consumer-user's intelligent terminal and supervision user's intelligent terminal are respectively mounted system
APP;System server facing to manufacture base user's intelligent terminal, wholesale link user intelligent terminal, retail link user intelligence
Terminal, consumer-user's intelligent terminal and supervision user intelligent terminal provide APP interfaces;Public service platform using Web forms as
Public service, the public can consult the laws and regulations of agricultural product quality and safety, browser technology service, sincere enterprise, case by platform
The information that example is investigated and prosecuted, any user can be reviewed by being manually entered traceability code progress agricultural product, and any user can also in addition
Realized by barcode scanning gun barcode scanning;Intelligent terminal includes smart mobile phone, PAD etc. can be with installation system APP mobile device;
Reviewed inside the present invention program including down following the trail of and up tracing to the source, tracking refers to inquire about certain batch agricultural product from life
Produce source down through all nodes, path, and each node quality control information;Trace to the source and refer to inquiring about certain part agriculture
Product from present node to production node individual paths, and in path each node quality control information, in present invention side
In case, supervisor, which reviews, to be included tracking and traces to the source, and consumer reviews up to trace to the source;
The present invention proposes the implementation method that a kind of agricultural product quality and safety based on Quick Response Code reviews supervisory systems, system
The production base basic data that keeper checks and approves according to government regulation center completes supplier and put on record, is each production base point
The login account and initial password of match system;Production base user is according to practical condition, by its login account and initially
Code entry production base user intelligent terminal APP, improves Product archives, including plantation distributed intelligence and field agriculture in APP
Thing record of production information, field farming record of production information includes field management information, nursery rice transplanting information, field planting management
Information, fertilising information and prevention and control of plant diseases, pest control information;In typing fertilising and prevention and control of plant diseases, pest control data, production base user exists first
The details of agricultural chemicals, fertilizer and other agricultural input products is declared in system server, wait area under one's jurisdiction government regulation center is being
After being checked and approved in system server, the step S1 can be carried out, following steps are specifically included:S1 agricultural product production base (including family
The forms such as front yard farm, Specialty Co-operative Organization, agricultural development company) certain batch agricultural product is detected by the residual detection device of agriculture, pass through life
The residual detection data of the batch agricultural product agriculture are simultaneously sent to system service by production base user's intelligent terminal using Web service technology
Device, the residual detection data of the batch agricultural product agriculture can not be changed since detection to the whole process for being sent to system server;S2
The residual detection data of the batch agricultural product agriculture are sent to production base management system by system server, and production base management system will
The residual detection data of the obtained batch agricultural product agriculture are received to be judged whether in the range of the qualified of system setting, if
It is that the qualified agricultural product of self-inspection are subjected to in-stockroom operation in systems, system server generate the batch agricultural product 30 chase after
Traced back code, and 30 traceability codes are changed into Quick Response Code form by production base management system, by 30 traceability codes in Quick Response Code form
Batch agricultural product packaging mark is printed, is affixed in the batch agricultural product outer packing of circulation, is used for intermediate links, agricultural product
30 traceability codes include 15 Code of the production places, 9 Product archives number, 3 harvesting batches codes and 3 random verification codes, wherein
15 Code of the production places are to produce nodes encoding in the step S3;S3 is in production link, wholesale link and retail link, by current
Node passes through its user's intelligent terminal specific data that typing is sold to descendant node in system server, the specific packet
The sale relation and sale details of present node and descendant node are included, descendant node is received after agricultural product, passes through its user's intelligence
The first barcode scanning storage of energy terminal, then confirms to be logged in system by present node by its user's intelligent terminal in system server
With the sale relation and sale details of this node in server, production link includes several production nodes, and wholesale link includes
Several wholesale nodes, retail link includes several retail nodes, for wholesale node, retail node and government regulation section
Point, wholesale node, retail node and government regulation node report and submit nodal basis information to be taken to system by its user's intelligent terminal
Business device, system server sends commands to the approval of government regulation center, after approval passes through, and system server is each node distribution 12
Position nodes encoding, 12 nodes encodings include 6 administrative divisions codes, 3 streets, small towns codes, 1 node classification code and 2 it is suitable
Sequence number;Each retail node is printed on card number on card and card number is printed in Quick Response Code form with card to consumer in S4 retail links
During card surface, hair fastener, consumer identification information, contact method correspondence card number are passed through retail link user's intelligence by retail node
Energy terminal is entered into system server, forms traceability chain, is specifically to be transferred to several consumers card by government regulation center
Retail node is issued to card number on consumer, card and is made up of 12 bit digitals, including 4 Administrative Division for Prefec-ture-level Cities+1 consumers of code
+ 7 serial numbers of type codes;S5 government regulations user inspects by random samples to certain node in production link, wholesale link and retail link,
And user's intelligent terminal will inspect data by random samples at the scene and supervision inspection situation is registered by supervising, while mobile terminal is obtained
Scene photograph, longitude and latitude and geographical location information are sent to system server, hand-written set supervision user's intelligent terminal is external
It is standby, in production link, wholesale link and the external handwriting equipment of retail link user's intelligent terminal, supervision user and by sampling observation link
User signs confirmation on handwriting equipment, and the electronics that confirms of signing checks that archives are uploaded in system server, government regulation
Pericardium includes several government regulation nodes;If the residues of pesticides defect of data of S6 government regulations user sampling observation, passes through prison
Effective family intelligent terminal APP is identified to the Quick Response Code on the agricultural product packaging and scanned, and draws source and the institute of the batch agricultural product
There is whereabouts, further handled according to policies and regulations, while being entered by system server to the consumer using the batch agricultural product
Row early warning;If government regulation user sampling observation is unqualified, the off quality specific of the batch agricultural product is started
User's early warning, when the agricultural product Back ground Information drawn is reviewed with consumer's barcode scanning matching, then in consumer's intelligent terminal APP
There is early warning;Consumer-user is by registering obtained account and password login to public's version APP of system;Consumer passes through
After APP is to product back-tracing label barcode scanning, corresponding early warning content is obtained, inquiry record is stored in system server;If
When inquiring corresponding early warning content for related early warning value, strong prompting warning information content is shown on APP;System early warning is carried
Show that function resides terminal internal memory with backstage method of service, if so consumer's barcode scanning sets the time point of early warning in supervisor
Before, then when setting early warning, warning information of the service end in inquiry record is matched, to correlation after matching is consistent
User carries out warning information push, realizes instant early warning.
In the specific embodiment of the invention:
Reviewed by following operation to complete agricultural product quality and safety:
(1) the production base basic data completion supplier that system manager checks and approves according to government monitoring agencies is put on record,
For the login account and initial password of each production base distribution system;Simultaneity factor is compiled for the place of production of its distribution 15 automatically
Code, includes the administrative division code, 3 street (small towns) code, the community of 3 (village) code, such as serial number of 3, Fig. 4 of 6
It is shown;(2) production base User logs in is to after system, according to produce reality situation, in systems the production of typing production base
All agricultural product, system is the corresponding numbering of every kind of agricultural product distribution, is followed successively by 101,102,103 ..., is used as the standby of product
Reference Number;(3) in process of production, production base user selects some agricultural product in systems, and inputs the life of the agricultural product
Produce batch, such as green vegetables be 2017 the 2nd batch, then show in system production batch be 017002, and with the product number of putting on record conjunction
Into being used as 9 Product archives number of the batch agricultural product;(4) according to produce reality situation, production base user improves production shelves
Case, including plantation distribution (plot distribution), field farming (field management, nursery rice transplanting, field planting management, fertilising, pest and disease damage
Preventing and treating) etc. record of production situation;(5) in fertilising and prevention and control of plant diseases, pest control data inputting function, production base user must be first
The details of the agricultural input products such as agricultural chemicals, fertilizer is declared in system, can be by after area under one's jurisdiction supervisor checks and approves in systems
The input be entered into it is specific detailed in, other production bases user use with brand with authentication code input when, be not required to
To declare again, it is only necessary to chosen to having checked and approved in storehouse;(6) when harvesting agricultural product, harvesting operation is carried out in systems,
Sequentially generated in system 001,002 harvesting batch;(7) if batch agricultural product harvesting is finished, system requirements production base
Necessary self-inspection, agriculture residual detection data are uploaded onto the server, otherwise cannot be printed for the two of intermediate links after the completion of self-inspection
Code mark is tieed up, does not allow to carry out follow-up system operatio, as shown in Figure 1.Examined by the residual detection device of the agriculture bought by oneself production base
Agriculture residue evidence is surveyed, agriculture residue evidence is uploaded in system by the residual detection device program of agriculture.The residual instrument of agriculture used is all carried accordingly
Management software, the residual instrument brand of agriculture of existing market circulation has more than ten kinds, and the programming language of the residual instrument software of different agricultures is different, with clothes
The programming language that business device is used tends to belong to heterogeneous platform, so use can data interaction towards heterogeneous platform for system server
Web service technology.As shown in Figure 5.(8) if detection of agricultural products is qualified, in-stockroom operation can be carried out in systems, and then can be with
Sales management is carried out, is docked with intermediate links;If detection of agricultural products is unqualified, it can not be put in storage in systems, it is impossible to after progress
Continuous operation.(9) system generates the traceability code of 30 for certain qualified batch agricultural product of detection, including the above-mentioned place of production of 15 is compiled
Code, the Product archives number of 9, the harvesting batch of 3, the random verification code of 3, as shown in figure 4, random code is given birth to by system
Into, form one-to-one matching relationship with the batch, can prevent to a certain extent criminal by calculate traceability code carry out it is non-
The situation of method printing Quick Response Code mark.Generate after traceability code success, according to packaging unit number, print the Quick Response Code of respective number
Packaging label.(10) production base user selects in its production base management system sales management module from circulation node repository
Select unit of coming and going, typing sale details.(11) with circulating node such as wholesale market of agricultural products, agricultural product pin wholesale market, agriculture
Trade market, supermarket are reported and submitted after nodal basis information, are treated that government monitoring agencies are checked and approved and are passed through, system distribution login account and password,
Simultaneity factor is automatically its distribution nodes encoding of 12, as shown in fig. 6, include 6 administrative division code, the street of 3
(small towns) code, 1 node classification code, 2 serial numbers.Wherein nodes encoding 1 represents that wholesale market, 2 represent the market of farm produce, 3 tables
Show that supermarket, 9 represent regulator;Serial number is since volume 01.(12) when circulation node is stocked up, proceed as follows:From being
Contact unit is chosen in system circulation node repository, is added in the contact unit storehouse of this node;When circulation node users are stocked up, lead to
Cross the intelligent terminal APP of system and identify barcode scanning to Quick Response Code, the agricultural product basis letter such as supplier, production batch, detection data
Breath is inquired about and drawn in systems by Quick Response Code, and confirmation is sold to the data of this node by predecessor node typing, and improve into
Goods details data, including customer name (being selected in contact unit), handler, packing specification, quantity, unit price etc..Sale
When, need also exist for the detailed data that descendant node is sold in typing.(13) area under one's jurisdiction supervision department blocks a number of consumer
Retail node is transferred to issue consumer, card number is by+1 consumer type's+7 serial number structure of code of 4 Administrative Division for Prefec-ture-level Cities codes
Into as shown in Figure 7.Type codes 1 represent individual consumer, and 8 represent the consumer of collective's types such as food and beverage enterprise.Serial number is by 7
Bit digital is represented, can represent all populations of 1 prefecture-level city.Card number is printed on card surface in Quick Response Code form, facilitates barcode scanning.
Retail node is consumer with card:When node hair fastener is to consumer, it is necessary to which the identity information of consumer, contact method etc. are recorded
Enter into system, one-to-one matching relationship is formed with card number.(14) retail node is being sold to large consumer such as food and beverage enterprise
When, by the way of barcode scanning, consumer information is brought into traceability chain, one one yard generated by system is printed as two
Code receipt is tieed up, achieves and reviews for consumer.(15) during supervisor's fieldwork, it can be proceeded as follows by system:
Supervisor is to during the supervision inspection of each node, and the Quick Response Code for the APP scanning agricultural product that scanning intelligent terminal is installed is identified, and is reviewed
Go out all arrival nodes of the batch agricultural product, should not if system is shown in all arrival nodes of the agricultural product of the batch
Node, can tentatively assert the non-genuine products of the product;Supervisor circulate nodal test agricultural product agriculture it is residual when, using towards
The Web service technology transmission residual detection data of agriculture of heterogeneous platform transmission data, while supervisor passes through to supervision inspection situation
Intelligent terminal APP is registered, and current supervised entities are obtained by barcode scanning in supervised entities storehouse, is shot using mobile terminal in supervision
Photo during inspection, while obtaining local geographical location information, preliminarily forms the electronic record of inspection;In intelligent terminal
Upper external writing pad, both sides are signed on screen by special pens to be confirmed, it is ensured that real-time, the authenticity of supervision record.Should
Electronic record uploads to system server, if batch products sampling observation is unqualified, the Quick Response Code in supervisor's scanning packaging
Mark, can trace all whereabouts of the agricultural product same batch and be tracked processing, as necessary by system to disappearing
Expense person's terminal sends early warning;Shown in Fig. 8 is handling process of patrolling on the spot.(16) consumer passes through the public that has installed
Version APP barcode scannings are reviewed, and obtain production link situation, including the use of supplier, agriculture chemical, the residual self-inspection of agriculture, production process etc.
Situation, at the same include Back ground Information, quality control information etc. through the node that circulates, if as shown in figure 9, supervisor takes out
The early warning off quality of the batch agricultural product is started when examining unqualified, the agricultural product base drawn with consumer's barcode scanning
During plinth information matches, then there is early warning in the terminal APP of consumer.
Embodiment one:
Each node in production link and intermediate links is encoded first, table 1 is obtained:
Table 1
It is each production node, wholesale node, retail node, consumer, regulator's nodes encoding in table 1;
Then each link intra-node batch coding and sales data are recorded:
Initially enter production link:Taizhou City poetry and songs production base (node serial number 321283009208001) in
The 2nd batch of tomato is produced within 2017, harvesting batch is 001,1000kg, reference picture 4, the batch of system generation have been harvested altogether
The coding of tomato is:321283009208001105017002001526 (30 traceability codes), selling to nodes encoding is
321283009105 wholesale market A have 900kg altogether, and the wherein product number of putting on record is 105, and identifying code is 526;
Subsequently into wholesale link:
Nodes encoding is 321283009105 wholesale market A, and it is 321283009208001 Taizhou to receive from nodes encoding
Reviewing for city poetry and songs production base supply is encoded to 321283009208001105017002001526 batch agricultural product
900kg tomatoes, wholesale market E, F node difference 200kg, 300kg tomato, ultimately forms contact node sale with then selling to pin
Details form, as shown in table 2:
Table 2
Internal batch coding in table 2:321283009105170212031 represent that nodes encoding is 321283009105 wholesale
Market A nodes encoding 321283009105+ dates 170212+ serial number 031, the rest may be inferred;
With subsequently entering pin wholesale link:
Nodes encoding is 321202001112 pin ground wholesale market E, receives to come from wholesale market A321283009105 nodes
321283009105170212031 batches data, i.e. then 300kg tomatoes sell to retail link market of farm produce M, N node
Difference 100kg, 200kg tomato;
Subsequently enter retail link:
Nodes encoding is 320202002201 market of farm produce M, is received from 320202001112 pin ground wholesale market node E
321202001112170212045 (nodes encoding 321202001112+ dates 170212+ serial number 045) batches number
According to after the completion of being sold to Q consumer, consumer is used for i.e. 100kg tomatoes, then sell to Q, V consumer difference 2kg, 30kg tomato
Card barcode scanning, forms matching relationship, then by 321202002201170213090 (nodes encodings with in-line coding
321202002201+ dates 170213+ serial number 090) as coding II generation Quick Response Code forms, it is printed to the friendship of receipt form
To consumer, with reference to table 3:
Table 3
As consumer Q, the receipt for being printed on Quick Response Code provided according to retail node passes through consumer's mobile terminal APP
Barcode scanning is reviewed, and obtains the basic data of this batch agricultural product, the sale road from Taizhou City poetry and songs production base-A-E-M-Q
Footpath and the quality control information of each node, consumer's barcode scanning review the data such as obtained supplier information, batch information with
When system early warning information is coincide, you can learn that purchased agricultural product quality is unqualified, agricultural product quality and safety reviews accuracy height, effect
Rate is high.
Described above is only the preferred embodiment of the present invention, it should be pointed out that:Come for those skilled in the art
Say, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should be regarded as
Protection scope of the present invention.