CN101789101A - Method and system for tracking source information of fruits before commercial production - Google Patents

Method and system for tracking source information of fruits before commercial production Download PDF

Info

Publication number
CN101789101A
CN101789101A CN201010108014A CN201010108014A CN101789101A CN 101789101 A CN101789101 A CN 101789101A CN 201010108014 A CN201010108014 A CN 201010108014A CN 201010108014 A CN201010108014 A CN 201010108014A CN 101789101 A CN101789101 A CN 101789101A
Authority
CN
China
Prior art keywords
orchard
fruit
information
storer
case
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
CN201010108014A
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201010108014A priority Critical patent/CN101789101A/en
Publication of CN101789101A publication Critical patent/CN101789101A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a system for tracking source information of fruits before commercial production. The method comprises the four steps of ID distribution of fruit gardens; fruit packing and labeling; on-site acquisition of fruit source information and storage of fruit source information. The system for realizing the method for tracking the source information of fruits before commercial production comprises on-site acquisition equipment, bulk information reading and uploading equipment, a database server, a fruit garden information storage, fruit boxes labeled with ID tags of fruit gardens and a fruit garden ID storage. The method and the system can quickly acquire and correctly distinguish different fruit source information, upload the information to the database server in time, improve the logistics efficiency of the fruits, compute the number of boxes and weight information of the fruits so as to provide an evidence for settlement, provide safeguard for smooth information flow of fruit supply chains, and provide information support for tracing the whole process of fruit production.

Description

Source information of fruits tracking and system before the commercialization process for producing
Technical field
The present invention relates to a kind of commercialization process for producing preceding source information of fruits tracking and system.
Background technology
Agricultural product security crisis in recent years takes place frequently; the serious threat people's health; reduced people's quality of life, be subjected to the extensive concern of countries in the world and obtained effective application as the traceability system based on agricultural-product supply-chain of the effective means of agricultural product quality and safety management.
From the nineties in 20th century, EU countries has just begun the research of beef follow-up of quality and traceability system and construction, formed comparatively perfect beef follow-up of quality and traceability system at present, has realized the whole process quality control of " from the agriculture and animal husbandry field to dining table ".European Union's enforcement that clause comes standard supervision and traceability system of also making laws, being defined in all food of selling in European Union's scope can both follow the tracks of and review, otherwise does not allow list marketing.
US Congress had passed through " biological anti-terrorism bill " in 2002, proposed " risk management from the farm to the dining table ".Country carries out mandatory management to food security, requires enterprise must set up product and can review system.
Japanese government has just imported the traceable system of information as far back as calendar year 2001 comprehensively in the beef cattle production supply system, the cattle breeding field is necessary for every ox and puts on ear tag, individual identification number is arranged on the ear tag, the raiser must write down the essential information of every ox, comprise identification number, kind, sex and raising historical information etc., and began in 2004 to make laws and implement the system of reviewing of food beyond the beef.
China also clearly stipulates to set up Food Recall System in " People's Republic of China's food security method " of formal issuing and implementation on June 1st, 2009, sets up the system of tracing to the source.China has set up exemplary quality safety traceability system at beef, pork, aquatic products, bird product etc. at present, and promotes in China.
Fruit is as important agricultural product, and is also day by day strong to the demand of quality safe tracing.It is reported, China's fruit gather, classification, packing, transportation, storage, wholesale, the whole rotten loss of adopting in the process of circulation of back of retail is quite serious, annual have 25% product can not utilize because of rotting approximately, so it is extremely urgent to set up the fruit traceability system.Supervise in overall process by setting up effective fruit supply chain information record realization fruit quality safety, in time find the problem place, reduce the fruit quality occurrence probability of safety accidents, protect consumer's diet health right and interest conscientiously.
Present China trans-regional transprovincially purchase fruit ubiquity; fruit source numerous and complicated; and the orchard scale is less relatively; in the transportation through regular meeting the situation that various orchards fruit mixes appears; fruit information provision chain disappearance or fracture disconnect; supply chain information can not be shared, and can not adapt to the requirement that consumers in general review fruit quality safety whole process.
Summary of the invention
The object of the present invention is to provide a kind of commercialization process for producing preceding source information of fruits tracking and system, use bar code, RFID technology, by source information of fruits is followed the tracks of, can make fruit information flow and fruit material flow synchronous, and then make the fruit full supply chain to review to be achieved.
The technical solution used in the present invention is as follows:
One. the source information of fruits tracking before the commercialization process for producing:
1. the method for obtaining source information of fruits is as follows:
(1) orchard ID distributes: a unique ID is distributed in each orchard;
(2) fruit vanning decals: at fruit picking scene, orchard, with fruit pack into the fruit case and the fruit case weighed after, invest its weight behind the corresponding orchard ID and add that the check code that initial code and system generate automatically forms orchard ID label bar code, and field print is on the ID label of orchard, and orchard ID label sticks on outside the corresponding fruit case;
(3) source information of fruits collection in worksite: transport to the commercialization processing enter from the process that means of transport unloads at fruit, collection in worksite equipment judges that earlier each case fruit whether from same orchard, reports to the police to the fruit from various orchards, to show differentiation; The fruit in same orchard carries out collection in worksite and weight, quantity information is added up the orchard ID label (9) of fruit case, then information is deposited in orchard ID storer, and the fruit case that then collection is finished is placed on the carriage;
(4) source information of fruits warehouse-in: fill the fruit case of specified quantity when a carriage after, the orchard ID storer that will have all fruit case sources, weight and quantity information on the carriage is attached to the carriage front end; Transport fruit commercialization processing workshop by will the put one's child in a boarding nursery fruit case of frame of fork truck to by unloading ground, by the workshop door time, read with uploading device by the bulk information that is installed in a next door and to read orchard ID in the ID storer of orchard, accumulative total case number and cumulative weight information, and be uploaded to database server.
2. the method for described source information of fruits collection in worksite is as follows:
(1) initialization is defined as follows variable and array:
Char Barcodestr[14]; The bar code character string of // storage current box fruit
Unsigned int i; // be used to refer to the subscript of Barcodestr, Idtempstr, Wgtstr
Unsigned long Id; The orchard ID of first case fruit in the storer of // storage orchard
Unsigned long Idtemp; The orchard ID of // storage current box fruit
Unsigned long Sn; Unique identifier UID number of // storage previous orchard ID storer
Unsigned long Sntemp; // be used for storing unique identifier UID number of current orchard ID storer
Unsigned double Wgt; // be used for storing current fruit case weight
Unsigned double Wgttotal; // be used for storing cumulative weight
Unsigned int Num; // be used for storage accumulative total case number
To following variable initialize:
Id=0;
Sn=0;
(2) start the orchard information read module and read orchard title in the orchard information storer and the corresponding lists information of orchard ID;
(3) judge whether orchard information successfully reads, if failure, then liquid crystal display shows: " please insert the orchard information storer! ", the hummer short ring of yowling after 1 time is simultaneously carried out alarm 1 time, then repeats; If success then continues next step;
(4) etc. whether orchard to be read ID label and cycle criterion orchard ID label read end, in case finish, then continue next step;
(5) decompose orchard ID label information:
char?Idtempstr[14],*pIdtempstr=Idtempstr;
strcpy(Idtempstr,Barcodestr);
Idtempstr[12]=‘\0’;
pIdtempstr+=7;
Wgt=atol (pIdtempstr)/100; // current box is heavy
*pIdtempstr=‘\0’;
pIdtempstr-=6;
Idtemp=atol (pIdtempstr); // orchard ID
After operation was finished, Idtemp was orchard ID, and Wgt is that current box is heavy;
(6) start a RFID module and detect orchard ID storer;
(7) judge whether to detect orchard ID storer, if do not have, then liquid crystal display shows: " please place orchard ID storer! ", the hummer short ring of yowling after 1 time is simultaneously carried out alarm 2 times, then repeats (6); If detect, then continue next step;
(8) also compose to variable Sntemp for unique identifier UID number that reads orchard ID storer;
(9) comparison variable Sn and Sntemp, if different, Sn=Sntemp then, Id=Idtemp, Wgttotal=0, Num=0 then changes (11) over to; If identical, then continue next step;
(10) comparison variable Id and Idtemp, if different, then liquid crystal display shows: " this case fruit please be placed apart from various orchards! ", the hummer short ring of yowling after 1 time is simultaneously carried out alarm 3 times, then repeats
(4); If identical, then continue next step;
(11) accumulative total fruit weight and fruit box number:
Wgttotal=Wgttotal+Wgt;
Num=Num+1;
(12) with data conversion storage to orchard ID storer;
(13) time-delay is 0.5 second;
(15) whether the judgment data unloading makes mistakes, if make mistakes, liquid crystal display shows: " the liquid crystal display unloading makes mistakes, automatically unloading again ", and hummer yowls 1 time;
(15) liquid crystal display shows orchard title, current box weight, cumulative weight, accumulative total case number, successfully information, the short ring of hummer 1 time, then repetition (4) such as deposits in.
3. the method for described source information of fruits warehouse-in is as follows:
(1) system initialization;
(2) start the 2nd RFID module, cycle detection orchard ID storer in case detect, continues next step;
(3) light pilot lamp;
(4) read data in the ID storer of orchard;
Whether (5) cycle criterion data read finishes, in case finish, continues next step;
(6) whether judgment data reads and makes mistakes, if make mistakes, and the pilot lamp flicker, short ring is carried out alarm 1 time behind the longtime call of horn 1 time simultaneously, returns (4) then; Otherwise continue next step;
(7) the short ring of loudspeaker (15) is 1 time, the data read success in the ID storer of prompting orchard;
(8) start network transmission module, with the data upload database server;
(9) whether cycle detection is uploaded and is finished, and finishes in case upload, and continues next step;
(10) whether judgment data is uploaded and is made mistakes, if make mistakes, and the pilot lamp flicker, short ring is carried out alarm 2 times behind the longtime call of horn 1 time simultaneously, returns (8) then; Otherwise continue next step;
(11) close pilot lamp, the short ring of loudspeaker 2 times, reminder-data is successfully uploaded.
4. the data structure of described orchard ID storer is:
struct?FruitInform
{
Unsigned long id; // orchard ID
Unsigned double total; // weight aggregate-value
Unsigned int n; // case number
; // orchard ID memory data structure.
Described orchard ID label adopts the form of 13 bar codes, comprising: 1 initial code, 6 orchard ID, 5 fruit weight, 1 bit check sign indicating number.
Two. the source information of fruits tracker before a kind of commercialization process for producing::
Comprise that collection in worksite equipment, bulk information read and uploading device, database server, orchard information storer, the fruit case that posts orchard ID label (9) and orchard ID storer; Wherein:
Collection in worksite equipment: comprise orchard information read module, base, hummer, liquid crystal display, orchard ID input media, a RFID module, first controller; Orchard information read module, hummer, liquid crystal display, orchard ID input media, a RFID module and first controller are installed on the base; Hummer, liquid crystal display, orchard ID input media, a RFID module link to each other with first controller respectively; First controller connects the orchard information storer by the orchard information read module, and orchard ID storer is placed on the RFID module; The fruit case that posts orchard ID label is placed on ID input media the place ahead, orchard.
Bulk information reads and uploading device: comprise the 2nd RFID module, pilot lamp, loudspeaker, second controller and network transmission module; The 2nd RFID module, pilot lamp, loudspeaker link to each other with second controller respectively, and second controller connects database server by network transmission module.
The corresponding lists of orchard information storer storage orchard ID and orchard title.Orchard ID label is printed on the bar code that comprises orchard ID and single case fruit weight.Orchard ID storer storage orchard ID, cumulative weight and accumulative total case number.
The beneficial effect that the present invention has is:
The present invention can obtain and accurately distinguish various source information of fruits fast and in time upload database server, improves the fruit logistic efficiency; Calculate fruit case number and weight information, for relevant clearing provide foundation; Be unimpeded the providing safeguard of fruit supply chain information flow, can review for fruit whole process provides the information support.
Description of drawings
Fig. 1 is that source information of fruits of the present invention obtains overview flow chart.
Fig. 2 is a collection in worksite equipment appearance structural representation of the present invention.
Fig. 3 is that bulk information of the present invention reads and the uploading device synoptic diagram.
Fig. 4 is a collection in worksite apparatus control system structural drawing.
Fig. 5 is that bulk information reads and uploading device control system structural drawing.
Fig. 6 is an embodiment of collection in worksite equipment.
Fig. 7 is that bulk information reads an embodiment with uploading device.
Fig. 8 is a collection in worksite device software process flow diagram.
Fig. 9 is that bulk information reads and the uploading device software flow pattern.
Figure 10 is an orchard ID memory data structural representation.
Figure 11 is an orchard information memory data structural representation.
Figure 12 is a collection in worksite equipment display interface.
Figure 13 is an orchard ID label construction.
Among the figure: 1, collection in worksite equipment, 2, the orchard information storer, 3, the orchard information read module, 4, base, 5, hummer, 6, liquid crystal display, 7, orchard ID input media, 8, fruit case, 9, orchard ID label, 10, orchard ID storer, the 11, the one RFID module, 12, carriage, 13, the 2nd RFID module, 14, pilot lamp, 15, loudspeaker, 16, bulk information reads and uploading device, 17, fork truck, 18, first controller, 19, second controller, 20, network transmission module, 21, database server.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail.
Comprise that collection in worksite equipment 1, bulk information read and uploading device 16, database server 21, orchard information storer 2, the fruit case 8 that posts orchard ID label 9 and orchard ID storer 10.
As Fig. 2, shown in Figure 4, collection in worksite equipment 1 comprises orchard information read module 3, base 4, hummer 5, liquid crystal display 6, orchard ID input media 7, a RFID module 11, first controller 18; Orchard information read module 3, hummer 5, liquid crystal display 6, orchard ID input media 7, a RFID module 11 and first controller 18 are installed on the base 4; Hummer 5, liquid crystal display 6, orchard ID input media 7, a RFID module 11 link to each other with first controller 18 respectively; First controller 18 connects orchard information storer 2 by orchard information read module 3, and orchard ID storer 10 is placed on the RFID module 11; The fruit case 8 that posts orchard ID label 9 is placed on ID input media 7 the place aheads, orchard.
As Fig. 3, shown in Figure 5, bulk information reads with uploading device 16 and comprises the 2nd RFID module 13, pilot lamp 14, loudspeaker 15, second controller 19 and network transmission module 20; The 2nd RFID module 13, pilot lamp 14, loudspeaker 15 link to each other with second controller 19 respectively, and second controller 19 connects database server 21 by network transmission module 20.
When following illustration method, be example all with the C language.
As shown in figure 10, the data structure of orchard ID storer 10 is:
struct?FruitInform
{
Unsigned long id; // orchard ID
Unsigned double total; // weight aggregate-value
Unsigned int n; // case number
};
As shown in figure 11, the data structure of orchard information storer 2 is:
struct?OrchardInform
{
Unsigned long id; // orchard ID
Char orchardname[20]; // orchard title
};
As shown in figure 12, liquid crystal display 6 display interfaces of collection in worksite equipment 1 comprise 4 parts: orchard title, accumulative total case number, heavy, the cumulative weight of current box.
As shown in figure 13, orchard ID label 9 adopts the form of 13 one dimension 39 bar codes, and comprising: 1 initial code, 6 orchard ID, 5 fruit weight, 1 self-checking code, wherein initial code gives over to the usefulness of expansion.
As shown in Figure 8, collection in worksite equipment 1 software flow is:
(1) initialization is defined as follows variable and array:
Char Barcodestr[14]; The bar code character string of // storage current box fruit
Unsigned int i; // be used to refer to the subscript of Barcodestr, Idtempstr, Wgtstr
Unsigned long Barcode; The bar code numerical value of // storage current box fruit
Unsigned long Id; The orchard ID of first case fruit in the storer 10 of // storage orchard
Unsigned long Idtemp; The orchard ID of // storage current box fruit
Unsigned long Sn; Unique identifier UID number of // storage previous orchard ID storer 10
Unsigned long Sntemp; // be used for storing unique identifier UID number of current orchard ID storer 10
Unsigned double Wgt; // be used for storing current fruit case 8 weight
Unsigned double Wgttotal; // be used for storing cumulative weight
Unsigned int Num; // be used for depositing the case number of fruit storage box 8
To following variable initialize:
Id=0;
Sn=0;
(2) start orchard information read module 3 and read orchard title in the orchard information storer 2 and the corresponding lists information of orchard ID;
(3) judge whether orchard information successfully reads, if failure, then liquid crystal display 6 shows: " please insert the orchard information storer! ", the hummer 5 short ring of yowling after 1 time is simultaneously carried out alarm 1 time, then repeats (2); If success then continues next step;
(4) circular wait is read orchard ID label 9 and is judged whether orchard ID label 9 reads end, in case finish, then continues next step;
(5) decompose orchard ID label 9 information.
char?Idtempstr[14],*pIdtempstr=Idtempstr;
strcpy(Idtempstr,Barcodestr);
Idtempstr[12]=‘\0’;
pIdtempstr+=7;
Wgt=atol (pIdtempstr)/100; // current box is heavy
*pIdtempstr=‘\0’;
pIdtempstr-=6;
Idtemp=atol (pIdtempstr); // orchard ID
After operation was finished, Idtemp was orchard ID, and Wgt is that current box is heavy;
(6) start a RFID module 11 and detect orchard ID storer 10;
(7) judge whether to detect orchard ID storer 10, if do not have, then liquid crystal display 6 shows: " please place orchard ID storer! ", the hummer 5 short ring of yowling after 1 time is simultaneously carried out alarm 2 times, then repeats (6); If detect, then continue next step;
(8) also compose to variable Sntemp for unique identifier UID number that reads orchard ID storer 10;
(9) comparison variable Sn and Sntemp, if different, Sn=Sntemp then, Id=Idtemp, Wgttotal=0Num=0 then change (11) over to; If identical, then continue next step;
(10) comparison variable Id and Idtemp, if different, then liquid crystal display 6 shows: " this case fruit please be placed apart from various orchards! ", the hummer 5 short ring of yowling after 1 time is simultaneously carried out alarm 3 times, then repeats (4); If identical, then continue next step;
(11) accumulative total fruit weight and fruit box number:
Wgttotal=Wgttotal+Wgt;
Num=Num+1;
(12) with data conversion storage to orchard ID storer 10;
(13) time-delay is 0.5 second;
(14) whether the judgment data unloading makes mistakes, if make mistakes, liquid crystal display 6 shows: " the liquid crystal display unloading makes mistakes, automatically unloading again ", and hummer 5 yowls 1 time;
(15) liquid crystal display 6 shows orchard titles, current box weight, cumulative weight, accumulative total case number, successfully information, hummer 5 short rings 1 time, then repetition (4) such as deposits in;
By above-mentioned flow process, information such as the source of same orchard fruit, weight, case number are deposited in the orchard ID storer 10.
As shown in Figure 9, bulk information reads with uploading device 16 software flows and is:
(1) system initialization;
(2) start the 2nd RFID module 13, cycle detection orchard ID storer 10 in case detect, continues next step;
(3) light pilot lamp 14;
(4) read data in the orchard ID storer 10;
Whether (5) cycle criterion data read finishes, in case finish, continues next step;
(6) whether judgment data reads and makes mistakes, if make mistakes, and pilot lamp 14 flickers, the loudspeaker 15 short ring of yowling after 1 time is simultaneously carried out alarm 1 time, returns (4) then; Otherwise continue next step;
(7) loudspeaker 15 short rings are 1 time, the data read success in the prompting orchard ID storer 10;
(8) start network transmission module 20, with data upload database server 21;
(9) whether cycle detection is uploaded and is finished, and finishes in case upload, and continues next step;
(10) whether judgment data is uploaded and is made mistakes, if make mistakes, and pilot lamp 14 flickers, the loudspeaker 15 short ring of yowling after 1 time is simultaneously carried out alarm 2 times, returns (8) then; Otherwise continue next step;
(11) close pilot lamp 14, loudspeaker 15 short rings 2 times, reminder-data is successfully uploaded.
By above-mentioned flow process, the disposable database servers 21 that are uploaded to of information such as the source of same carriage 12 fruit, weight, quantity.
As shown in Figure 1, source information of fruits obtains flow process and comprises 4 steps:
1) orchard ID distributes: as shown in figure 11, a unique ID is distributed in each orchard;
2) fruit vanning decals: at fruit picking scene, orchard, with fruit pack into fruit case 8 and fruit case 8 weighed after, invest its weight behind the corresponding orchard ID and add that the check code that initial code and system generate automatically forms 13 orchard ID label bar code, and field print is on orchard ID label 9, obtain orchard ID label 9 as shown in figure 13, orchard ID label 9 sticks on outside the corresponding fruit case 8;
3) source information of fruits collection in worksite: transport to the commercialization processing enter from the process that means of transport unloads at fruit, by collection in worksite equipment 1 orchard ID label 9 on each fruit case 8 is carried out collection in worksite and weight, quantity information are added up, the fruit case 8 that then collection is finished is placed on one the carriage 12;
4) source information of fruits warehouse-in: as shown in Figure 3, fill the fruit case 8 of specified quantity when a carriage 12 after, the orchard ID storer 10 that will have all fruit case 8 sources, weight and quantity information on the carriage 12 is attached to carriage 12 front ends; As shown in Figure 9, transport fruit commercialization processing workshop by will the put one's child in a boarding nursery fruit case 8 of frame 12 of fork truck 17 to by unloading ground, by the workshop door time, read orchard ID, accumulative total case number and the cumulative weight information that reads 10 li of orchard ID storeies with uploading device 16 by the bulk information that is installed in a next door, and be uploaded to database server 21.Like this, just realized the collection of source information of fruits.
Be an embodiment below:
Orchard ID label adopts 13 one dimension 39 bar-code labels;
It is the passive RFID tags of 915MHz that orchard ID storer adopts the frequency of the compatible ISO18000 standard of CS6310/Omni-IDProx type;
The orchard information storer adopts the SD card;
The orchard information read module adopts C208A type SD card reader;
First controller adopts the S3C2440A chip to form as CPU;
Second controller adopts MSP430F149 type single-chip microcomputer;
Orchard ID input media adopts SK-68 type bar code module;
The one RFID module adopts the RFID module for reading and writing of RMU900UHF model;
The 2nd RFID module adopts CS231-2 type RFID module for reading and writing;
Network transmission module adopts ZF02P type wireless data transmission module;
Liquid crystal display adopts 7 cun digital liquid crystal screens of LTP700WV-F01 type.
As shown in Figure 6, the S3C2440AARM chip is that the serial ports 0 of the development module of core links to each other with the serial ports of SK-68 type bar code module; Serial ports 1 links to each other with the serial ports of RMU900UHF type RFID module for reading and writing; The TOUT1 mouth connects hummer; The USB mouth connects C208A type SD card reader, and connects the SD card by C208A type SD card reader; The LCD interface connects the signaling interface of 7 cun digital liquid crystal screens of LTP700WV-F01 type, has formed collection in worksite equipment like this.
As shown in Figure 7, the P3.1 of MSP430F149 type single-chip microcomputer, P3.2 mouth connect RXD, the TXD end of CS231-2 type RFID module for reading and writing serial ports respectively; P3.4, P3.5 mouth connect RXD, the TXD end of ZF02P type wireless data transmission module serial ports respectively, and link to each other with database server by ZF02P type wireless data transmission module; The P2.1 mouth connects loudspeaker; The P2.2 mouth connects pilot lamp, has formed like this that bulk information reads and uploading device.

Claims (6)

1. the source information of fruits tracking before the commercialization process for producing is characterized in that the method for obtaining source information of fruits is as follows:
(1) orchard ID distributes: a unique ID is distributed in each orchard;
(2) fruit vanning decals: at fruit picking scene, orchard, with fruit pack into fruit case (8) and fruit case (8) weighed after, invest its weight behind the corresponding orchard ID and add that the check code that initial code and system generate automatically forms orchard ID label bar code, and field print is on orchard ID label (9), and orchard ID label (9) sticks on outside the corresponding fruit case (8);
(3) source information of fruits collection in worksite: transport to the commercialization processing enter from the process that means of transport unloads at fruit, collection in worksite equipment (1) judges that earlier each case fruit whether from same orchard, reports to the police to the fruit from various orchards, to show differentiation; The fruit in same orchard carries out collection in worksite and weight, quantity information is added up the orchard ID label (9) of fruit case (8), then information is deposited in orchard ID storer (10), and the fruit case (8) that then collection is finished is placed on the carriage (12);
(4) source information of fruits warehouse-in: fill the fruit case (8) of specified quantity when a carriage (12) after, the orchard ID storer (10) that will have last all fruit case (8) sources of carriage (12), weight and quantity information is attached to carriage (12) front end; Transport fruit commercialization processing workshop by will the put one's child in a boarding nursery fruit case (8) of frame (12) of fork truck (17) to by unloading ground, by the workshop door time, read and uploading device (16) reads orchard ID, accumulative total case number and the cumulative weight information of orchard ID storer (10) lining by the bulk information that is installed in a next door, and be uploaded to database server (21).
2. the source information of fruits tracking before a kind of commercialization process for producing according to claim 1, it is characterized in that: the method for described source information of fruits collection in worksite is as follows:
(1) initialization is defined as follows variable and array:
Char Barcodestr[14]; The bar code character string of // storage current box fruit
Unsigned int i; // be used to refer to the subscript of Barcodestr, Idtempstr, Wgtstr
Unsigned long Id; The orchard ID of first case fruit in the // storage orchard storer (10)
Unsigned long Idtemp; The orchard ID of // storage current box fruit
Unsigned long Sn; The previous orchard ID storer of // storage (10) unique identifier UID number
Unsigned long Sntemp; // be used for storing unique identifier UID number of current orchard ID storer (10)
Unsigned double Wgt; // be used for storing current fruit case (8) weight
Unsigned double Wgttotal; // be used for storing cumulative weight
Unsigned int Num; // be used for storage accumulative total case number
To following variable initialize:
Id=0;
Sn=0;
(2) start orchard information read module (3) and read orchard title in the orchard information storer (2) and the corresponding lists information of orchard ID;
(3) judge whether orchard information successfully reads, if failure, then liquid crystal display (6) shows: " please insert the orchard information storer! ", hummer (5) the short ring of yowling after 1 time is simultaneously carried out alarm 1 time, then repeats (2); If success then continues next step;
(4) etc. whether orchard ID label to be read (9) and cycle criterion orchard ID label (9) read end, in case finish, then continue next step;
(5) decompose orchard ID label (9) information:
char?Idtempstr[14],*pIdtempstr=Idtempstr;
strcpy(Idtempstr,Barcodestr);
Idtempstr[12]=‘\0’;
pIdtempstr+=7;
Wgt=atol (pIdtempstr)/100; // current box is heavy
*pIdtempstr=‘\0’;
pIdtempstr-=6;
Idtemp=atol (pIdtempstr); // orchard ID
After operation was finished, Idtemp was orchard ID, and Wgt is that current box is heavy;
(6) start a RFID module (11) and detect orchard ID storer (10);
(7) judge whether to detect orchard ID storer (10), if do not have, then liquid crystal display (6) shows: " please place orchard ID storer! ", hummer (5) the short ring of yowling after 1 time is simultaneously carried out alarm 2 times, then repeats (6); If detect, then continue next step;
(8) also compose to variable Sntemp for unique identifier UID number that reads orchard ID storer (10);
(9) comparison variable Sn and Sntemp, if different, Sn=Sntemp then, Id=Idtemp, Wgttotal=0, Num=0 then changes (11) over to; If identical, then continue next step;
(10) comparison variable Id and Idtemp, if different, then liquid crystal display (6) shows: " this case fruit please be placed apart from various orchards! ", hummer (5) the short ring of yowling after 1 time is simultaneously carried out alarm 3 times, then repeats (4); If identical, then continue next step;
(11) accumulative total fruit weight and fruit box number:
Wgttotal=Wgttotal+Wgt;
Num=Num+1;
(12) with data conversion storage to orchard ID storer (10);
(13) time-delay is 0.5 second;
(15) whether the judgment data unloading makes mistakes, if make mistakes, liquid crystal display (6) shows: " the liquid crystal display unloading makes mistakes, automatically unloading again ", and hummer (5) yowls 1 time;
(15) liquid crystal display (6) shows orchard title, current box weight, cumulative weight, accumulative total case number, successfully information, the short ring of hummer (5) 1 time, then repetition (4) such as deposits in.
3. the source information of fruits tracking before a kind of commercialization process for producing according to claim 1 is characterized in that: the method for described source information of fruits warehouse-in is as follows:
(1) system initialization;
(2) start the 2nd RFID module (13), cycle detection orchard ID storer (10) in case detect, continues next step;
(3) light pilot lamp (14);
(4) read data in the orchard ID storer (10);
Whether (5) cycle criterion data read finishes, in case finish, continues next step;
(6) whether judgment data reads and makes mistakes, if make mistakes, and pilot lamp (14) flicker, loudspeaker (15) the short ring of yowling after 1 time is simultaneously carried out alarm 1 time, returns (4) then; Otherwise continue next step;
(7) the short ring of loudspeaker (15) is 1 time, the data read success in the prompting orchard ID storer (10);
(8) start network transmission module (20), with data upload database server (21);
(9) whether cycle detection is uploaded and is finished, and finishes in case upload, and continues next step;
(10) whether judgment data is uploaded and is made mistakes, if make mistakes, and pilot lamp (14) flicker, loudspeaker (15) the short ring of yowling after 1 time is simultaneously carried out alarm 2 times, returns (8) then; Otherwise continue next step;
(11) close pilot lamp (14), the short ring of loudspeaker (15) 2 times, reminder-data is successfully uploaded.
4. the system of the source information of fruits tracking before a kind of commercialization process for producing according to claim 1, it is characterized in that: the data structure of described orchard ID storer (10) is:
struct?FruitInform
{
Unsigned long id; // orchard ID
Unsigned double total; // weight aggregate-value
Unsigned int n; // case number
; // orchard ID storer (10) data structure.
5. the source information of fruits tracking before a kind of commercialization process for producing according to claim 1, it is characterized in that: described orchard ID label (9), adopt the form of 13 bar codes, comprising: 1 initial code, 6 orchard ID, 5 fruit weight, 1 bit check sign indicating number.
6. realize the system that the source information of fruits before a kind of commercialization process for producing of the described method of claim 1 is followed the tracks of, it is characterized in that: comprise collection in worksite equipment (1), bulk information reads and uploading device (16), database server (21), orchard information storer (2), the fruit case (8) that posts orchard ID label (9) and orchard ID storer (10); Wherein:
Collection in worksite equipment (1): comprise orchard information read module (3), base (4), hummer (5), liquid crystal display (6), orchard ID input media (7), a RFID module (11), first controller (18); Orchard information read module (3), hummer (5), liquid crystal display (6), orchard ID input media (7), a RFID module (11) and first controller (18) are installed on the base (4); Hummer (5), liquid crystal display (6), orchard ID input media (7), a RFID module (11) link to each other with first controller (18) respectively; First controller (18) connects orchard information storer (2) by orchard information read module (3), and orchard ID storer (10) is placed on the RFID module (11); The fruit case (8) that posts orchard ID label (9) is placed on orchard ID input media (7) the place ahead;
Bulk information reads and uploading device (16): comprise the 2nd RFID module (13), pilot lamp (14), loudspeaker (15), second controller (19) and network transmission module (20); The 2nd RFID module (13), pilot lamp (14), loudspeaker (15) link to each other with second controller (19) respectively, and second controller (19) connects database server (21) by network transmission module (20).
CN201010108014A 2010-02-09 2010-02-09 Method and system for tracking source information of fruits before commercial production Pending CN101789101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010108014A CN101789101A (en) 2010-02-09 2010-02-09 Method and system for tracking source information of fruits before commercial production

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010108014A CN101789101A (en) 2010-02-09 2010-02-09 Method and system for tracking source information of fruits before commercial production

Publications (1)

Publication Number Publication Date
CN101789101A true CN101789101A (en) 2010-07-28

Family

ID=42532304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010108014A Pending CN101789101A (en) 2010-02-09 2010-02-09 Method and system for tracking source information of fruits before commercial production

Country Status (1)

Country Link
CN (1) CN101789101A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982403A (en) * 2012-10-31 2013-03-20 北京农业智能装备技术研究中心 Fruit spectrum test information management system based on radio frequency identification device (RFID)
CN112070420A (en) * 2020-09-25 2020-12-11 廖治国 Vegetable and fruit transportation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982403A (en) * 2012-10-31 2013-03-20 北京农业智能装备技术研究中心 Fruit spectrum test information management system based on radio frequency identification device (RFID)
CN102982403B (en) * 2012-10-31 2015-10-28 北京农业智能装备技术研究中心 Based on the fruit spectrum test information management system of RFID
CN112070420A (en) * 2020-09-25 2020-12-11 廖治国 Vegetable and fruit transportation method

Similar Documents

Publication Publication Date Title
CN202711321U (en) Live pig healthy breeding and meat quality safety traceability system based on Internet of things
CN101162512B (en) Aquiculture product quality safety whole processing management and retroactive method and system
CN102810197A (en) Aquatic product source and security early warning method and system based on internet of things
CN101882265A (en) Grain product circulation dynamic tracking and safety tracing system and method
CN103942631A (en) RFID tracebility system
CN101819656A (en) RFID (Radio Frequency Identification Device) based seafood supply chain traceability system under exclusive shop direct sales model
CN103942671A (en) Visual RFID (Radio Frequency Identification Devices) food logistics supply chain management and risk control method
CN103136702A (en) Radio frequency identification devices (RFID) technology based meat food traceability system
CN103455867A (en) Cattle chilled fresh meat food safety traceability method and system based on technology of internet of things
CN202331564U (en) Outdoor ecological culture and monitoring system
CN104517235B (en) Organic farm products Cultivate administration system
CN103793779A (en) Method to realize food safety service platform
CN108805238A (en) A kind of beef cattle breeding and food safety trace back system
CN107665449A (en) A kind of method and system of the linkage agricultural product both sides of supply and demand based on internet
Trebar et al. Towards RFID traceability systems of farmed fish supply chain
CN104599041A (en) Method for achieving food process monitoring system
CN103886407A (en) Live pig whole-industrial-chain traceability system based on internet-of-things technology and database technology
CN110599196A (en) Electronic tracing system and method for food operation enterprise
CN101819657A (en) Livestock monitoring network platform
CN201917390U (en) Traceable electronic scale with function of radio frequency reading and writing
CN111899032A (en) Food safety tracing system based on block chain technology and use method thereof
CN104700312A (en) Internet of Things technology based food tracing system and method
CN104574102A (en) Food process monitoring system based on Internet of Things technology
Gan et al. On RFID application in the tracking and tracing system of agricultural product logistics
CN116109325B (en) Internet of things-based food safety control and tracing system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100728