Summary of the invention
The object of the invention is to for blank and the function of prior art application not comprehensively not enough, provide a kind of simple in structure, esy to use, safe and reliable, use cost is low, and can be applied to existing electronics traceability system and can directly trace back to sugarcane from starting plantation until the sugarcane traceability system middleware based on the Big Dipper and GIS of the laggard marketing of the processing record case of selling.
To achieve these goals, the present invention has adopted following technical scheme:
A kind of sugarcane traceability system middleware based on the Big Dipper and GIS, be unified interface is externally provided, upwards connects sugar refinery database and/or mobile terminal, connects the intermediary device of traceability system downwards, comprise data acquisition module, locating module, Data Format Transform module and data analysis module; Described data acquisition module, locating module are connected with the data input pin of Data Format Transform module respectively, and the data output end of Data Format Transform module is connected with data analysis module;
Described data acquisition module is data sampling circuit module, and the data of its collection comprise the information data that sugar refinery keeper, sugarcane Guan Yuan and sugarcane grower input respectively, and the climatic environment information data obtained of sensor;
Described locating module adopts and is mounted with generalized information system and take the Beidou satellite navigation locating module that Beidou satellite navigation chip is core, receive the geographical location information data that Beidou satellite navigation system transmits, then in generalized information system, the plot at place, collection point is positioned and identified;
Described Data Format Transform module is analog to digital conversion circuit module, and the Data Format Transform of the information data that data acquisition module and locating module are transmitted is after the standard data format of sugar refinery database, to be transferred to data analysis module to carry out analyzing and processing again;
Described data analysis module adopts the microprocessor of compatible mobile phone operating system, and it is mounted with data analysing method, and the information data that data format converting module is transmitted is carried out after analyzing and processing, then is transferred to respectively sugar refinery database and mobile terminal.
As of the present invention, further illustrate, the data analysing method of above-described data analysis module is selected from one or more in descriptive analysis, linear regression analysis, variance analysis, principal component analysis (PCA), canonical correlation analysis, discriminatory analysis, cluster analysis, Bayes statistical study.
As of the present invention, further illustrate, the information data of above-described data collecting module collected is mainly comprised of ground block message and Role Information.
As of the present invention, further illustrate, above-described plot information comprises agricultural chemicals information, chemical fertilizer information, sugarcane information, climatic information and positional information.
As of the present invention, further illustrate, above-described Role Information comprises sugar refinery information, sugar refinery Administrator Info, sugarcane pipe person information and sugarcane grower's information.
In the present invention, the circuit design of data sampling circuit module, analog to digital conversion circuit module adopts conventional design, as long as can realize data sampling, modulus signal translation function.
In the present invention, the data of obtaining of data acquisition module are mainly input as main source with sugar refinery keeper, sugarcane Guan Yuan and sugarcane grower's craft, also have partial data to come from providing of sensor or database as climatic data.The data of sugarcane grower's input comprise routine work record and individual character job record; The data of sugarcane pipe person input, except comprising routine work record and individual character job record, also need input checking sugarcane grower's record, the record in inspection sugarcane field and cut fortune arrangement record.The data of sugar refinery keeper input, except comprising above all records, also need to input sugar refinery patrol record.
In the present invention, the work of locating module is specially: longitude and latitude location is carried out in the collection point of data, and compare with region, prior ready-portioned plot, defining residing position, collection point is to belong within the scope of which plot, and mark on GIS map, positional information is sent to Data Format Transform module simultaneously and processes.
Middleware application of the present invention is as follows in the specific works process of existing electronics traceability system:
This middleware is embedded among mobile terminal (as mobile phone), by sugarcane grower, sugarcane Guan Yuan and sugar refinery keeper, is carried.Meanwhile, first sugar refinery is carried out the seed selection of sugarcane and is distributed plot work, is the sugarcane of certain kind to be assigned to certain plot cultivate, so can implement concrete responsible official (sugarcane grower), the data of above-mentioned work all count in the database of sugar refinery.
Sugarcane grower reclaims sugarcane kind from sugar refinery and plants in ground, and every day, when worked in oneself sugarcane field, the job record on the same day was inputted at the interface providing by middleware.The content that this record comprises mainly contains: whether used chemical fertilizer or agricultural chemicals, how are its kind, title, consumption.Whether sugarcane grower can also input personalized job record by another interface, as carried out loosening the soil, deinsectization, the work such as water.Locating module can locate out the position in the residing sugarcane of sugarcane grower field simultaneously, and in conjunction with original plot partition information, identifying current location is to belong to which plot.If operation for the first time, sugarcane grower also needs to input the information such as the sugar cane breed of planting in this plot, quantity; If not operation for the first time, after the plot scope under identifying, can show the sugarcane information in this plot automatically, without repeating input.
That sugarcane pipe person manages is plot and sugarcane grower, the data of inputting when therefore sugarcane pipe person makes an inspection tour sugarcane field are except conventional job record and personalized record, the relevant information that also needs input checking sugarcane grower, check the relevant information in sugarcane field, and the fortune information of cutting of the sugarcane on responsible plot (being mainly to cut the fortune time).That sugar refinery Admin Administration is sugarcane Guan Yuan, plot and sugarcane grower, and therefore the data of input, except above-mentioned information, also need the patrol record of input to whole planting area and personnel.
The raw data of input and the positional information navigating to are all sent to Data Format Transform module, convert database standard form to.Described ground block message and the data format descriptor of Role Information are as follows:
(1) agricultural chemicals information (title, kind, consumption, service time);
(2) chemical fertilizer information (title, kind, consumption, service time);
(3) sugarcane information (title, kind, in the sugarcane root time, are cut between the time receiving haulage time at the plantation time);
(4) climatic information (temperature, humidity, wind-force, illumination);
(5) positional information (block number, longitude, latitude, highly);
(6) sugar refinery Administrator Info (numbering, name, the sugarcane Guan Yuan that manages);
(7) sugarcane pipe person information (numbering, name, the sugarcane grower that manages);
(8) sugarcane grower's information (numbering, name, the plot of planting);
(9) cut the breath of collecting mail (cut fortune card numbering, cut and receive people, cut fortune card Time Of Release);
(10) transit information (car number, driver, haulage time).
Several data analysing methods that should use set data analysis module by hand according to the demand of system before middleware is installed in.When above-mentioned data are after format conversion, together with these several analytical approachs, be sent to together on sugar refinery Database Systems or mobile terminal, for upper system.
After sugarcane maturation, sugar refinery can arrange to cut fortune work.Specifically comprise the granting of cutting fortune card, cut between the time receiving, the arrangement of haulage time, vehicle and driver's arrangement etc.Simultaneously, according to the corresponding RFID label of plot Information generation of receiving at ordinary times, the information that label comprises has: ground block number, and position, plot, sugarcane Guan Yuan, sugarcane grower, sugar cane breed, cuts between the time receiving, haulage time etc.And label is issued to every by plot is responsible for cutting in sugarcane grower's hand of receipts.
The time that sugarcane grower arranges according to sugar refinery is cut receipts, sticks (or binding) RFID label after sugarcane is tied up.Having arrived haulage time is sent a car sugarcane to be transported to sugar refinery by sugar refinery.The whole receipts process of cutting has the sugarcane Guan Yuan inspection that exercises supervision, and by middleware to sugar refinery process of transmitting data.
Sugarcane is transported to behind sugar refinery, enter between classifying cart, by RFID label to the sugarcane processing of classifying.Sorted sugarcane enters workshop, is produced into table sugar.Table sugar enters packing shop immediately, is packaged into bag, and in packaging bag, stamps one dimension code or two-dimension code label (or RFID label is put into bag).Label has now comprised from the choose seeds key message of whole process of table sugar packing of sugarcane, by these key messages, can trace to the source to table sugar, from planting to each step details of refining sugar, all can be acquired.
Advantage of the present invention:
1. this sugarcane traceability system middleware is simple in structure, esy to use, safe and reliable, use cost is low, and can be applied to existing electronics traceability system and can directly trace back to sugarcane from starting plantation until the record case that the laggard marketing of processing is sold.
2. unified interface is externally provided, can have connected different traceability systems downwards, upwards can connect different sugar refinery Database Systems, and the mobile terminal of different operating platform, applied widely.
3. use Beidou satellite navigation and GIS positioning function, the sugarcane place of production is refine to concrete a certain plot, can trace back to the sugarcane grower of this sugarcane of plantation, and the implantation methods using, chemical fertilizer etc. details, trace to the source more thoroughly and careful.
4. Data Format Transform function becomes different data-switching the form of database needs, can meet the needs of dissimilar heterogeneous database.
5. data analysis module provides various analysis, can need personalized customization data analysis function according to concrete application, and the system that meets different application object is used.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described.
Embodiment 1:
A kind of sugarcane traceability system middleware based on the Big Dipper and GIS, be unified interface is externally provided, upwards connects sugar refinery database and/or mobile terminal, connects the intermediary device of traceability system downwards, comprise data acquisition module, locating module, Data Format Transform module and data analysis module; Described data acquisition module, locating module are connected with the data input pin of Data Format Transform module respectively, and the data output end of Data Format Transform module is connected with data analysis module;
Described data acquisition module is data sampling circuit module, and the data of its collection comprise the information data that sugar refinery keeper, sugarcane Guan Yuan and sugarcane grower input respectively, and the climatic environment information data obtained of sensor;
Described locating module adopts and is mounted with generalized information system and take the Beidou satellite navigation locating module that Beidou satellite navigation chip is core, receive the geographical location information data that Beidou satellite navigation system transmits, then in generalized information system, the plot at place, collection point is positioned and identified;
Described Data Format Transform module is analog to digital conversion circuit module, and the Data Format Transform of the information data that data acquisition module and locating module are transmitted is after the standard data format of sugar refinery database, to be transferred to data analysis module to carry out analyzing and processing again;
Described data analysis module adopts the microprocessor of compatible mobile phone operating system, and it is mounted with data analysing method, and the information data that data format converting module is transmitted is carried out after analyzing and processing, then is transferred to respectively sugar refinery database and mobile terminal.
The data analysing method of described data analysis module is selected from one or more in descriptive analysis, linear regression analysis, variance analysis, principal component analysis (PCA), canonical correlation analysis, discriminatory analysis, cluster analysis, Bayes statistical study according to actual needs.
Embodiment 2:
A kind of sugarcane traceability system middleware based on the Big Dipper and GIS, be unified interface is externally provided, upwards connects sugar refinery database and/or mobile terminal, connects the intermediary device of traceability system downwards, it is characterized in that: comprise data acquisition module, locating module, Data Format Transform module and data analysis module; Described data acquisition module, locating module are connected with the data input pin of Data Format Transform module respectively, and the data output end of Data Format Transform module is connected with data analysis module;
Described data acquisition module is data sampling circuit module, and the data of its collection comprise the information data that sugar refinery keeper, sugarcane Guan Yuan and sugarcane grower input respectively, and the climatic environment information data obtained of sensor;
Described locating module adopts and is mounted with generalized information system and take the Beidou satellite navigation locating module that Beidou satellite navigation chip is core, receive the geographical location information data that Beidou satellite navigation system transmits, then in generalized information system, the plot at place, collection point is positioned and identified;
Described Data Format Transform module is analog to digital conversion circuit module, and the Data Format Transform of the information data that data acquisition module and locating module are transmitted is after the standard data format of sugar refinery database, to be transferred to data analysis module to carry out analyzing and processing again;
Described data analysis module adopts the microprocessor of compatible mobile phone operating system, and it is mounted with data analysing method, and the information data that data format converting module is transmitted is carried out after analyzing and processing, then is transferred to respectively sugar refinery database and mobile terminal.
The information data of above-mentioned data collecting module collected is mainly comprised of ground block message and Role Information.Described plot information comprises agricultural chemicals information, chemical fertilizer information, sugarcane information, climatic information and positional information.Described Role Information comprises sugar refinery information, sugar refinery Administrator Info, sugarcane pipe person information and sugarcane grower's information.