A kind of neighbouring seller's inquiry system based on food safety
Technical field
The present invention relates to technical field of food safety, and in particular to a kind of neighbouring seller's inquiry system based on food safety
System.
Background technology
Food-safety problem is increasingly becoming the social problem in a global range.In recent years, fake and forged food is asked
Topic exposes repeatedly;Continuously emerged with many security incidents that bad Dai Liang, the food mixed the spurious with the genuine are faked.This has constituted China's food
The principal risk that safety faces and challenge.Shanghai counterfeit Abbott Laboratories milk powder case event etc. occurs and exposes, and one side consumer does not have
There is the consumer channel for preferably, conveniently having bought quality-assured food, do not have effective means to check the true and false of food, one side supervisor
Without the supervision of timely and effectively regulatory measure, most important, the event occurs to directly affect consumer's purchase emotion.
Existing market approximate schemes have two kinds:
Scheme one:
Subjective judgment leans in consumer:First, consumer belongs to the terminal of information chain, can only be by commodity packaging, mark
The approach such as will, explanation obtain the information that production firm is ready to allow which to see, so in passively in acquisition of information with transmission
Position.Meanwhile, most consumers do not possess food safety Professional knowledge, it is impossible to screen the true and false of manufacturer's transmitted " signal ",
Individual experience and subjective judgment can only be relied on to be consumed.
Scheme two:
Inspect by random samples in market:Sampling observation personnel according to food safety year supervision and management determine in the works emphasis food, consumer
Shen (throwing) is told and is reported more food, pinpoints the problems in market surveillance inspection and compare the food of concentration, and investigate case,
The situation of relevant department's circular, carries out irregular sampling inspection to the food of production link and intermediate links.
But the technology of existing scheme has a disadvantage that:
1), consumer does not have preferable consumer channel:As fake and forged food problems expose repeatedly, with bad Dai Liang, with
Many security incidents that the food that vacation is looked genuine is faked continuously emerge, and consumer does not have the consumption for preferably, conveniently having bought quality-assured food
Channel.
2), take out supervision department's inspection difficulty big:Fraud uses other conforming articlses as raw material, with obvious fascination, is
Supervision increased difficulty, and usual market sampling observation is to be difficult to find such imitation behavior.
The content of the invention
In view of this, there is no preferable consumer channel and supervision department's sampling observation difficulty to solve consumer in prior art
Big technical problem, the present invention propose a kind of neighbouring seller's inquiry system based on food safety.
The present invention is solved the above problems by following technological means:
A kind of neighbouring seller's inquiry system based on food safety, including production link trace to the source data reporting terminal, circulation
Link is traced to the source data reporting terminal, server, neighbouring seller's searching platform;
Traced to the source with production link respectively data reporting terminal, intermediate links of the server are traced to the source data reporting terminal, attached
Nearly seller's searching platform connection;
The production link is traced to the source data reporting terminal and reports production link to trace to the source data to server for manufacturing enterprise
And position coordinateses and preserve in the server;
The intermediate links are traced to the source data reporting terminal and report intermediate links to trace to the source data to server for circulation enterprise
And position coordinateses and preserve in the server;
The server is used for the position coordinateses for storing operator and is traced to the source number by trace to the source data, intermediate links of production link
Trace to the source currency data pond according to the electronics for being formed;
It is additionally operable to be analyzed and collect and calculate the management data of operator using electronics currency data pond of tracing to the source, and
The management data and position coordinateses of operator are pushed to seller's searching platform nearby;
Seller's searching platform nearby is used for consumer and passes through bar code, bar code+date of manufacture or traceability code
Inquire about seller nearby and neighbouring seller is presented to into consumer by way of map reference punctuate;
It is additionally operable to seller and commodity near supervisor's inquiry in region to be distributed and supervise nearby seller and merchandise news.
Further, the server includes data memory module, analyzes summarizing module, data-pushing module, described point
Analysis summarizing module is connected with the data memory module, data-pushing module respectively;
The data memory module is used to store the position coordinateses and electronics of operator and traces to the source currency data pond;
The analysis summarizing module is for being analyzed and collected and calculate operation using electronics currency data pond of tracing to the source
The management data of person;
The data-pushing module is flat for the management data and position coordinateses of operator are pushed to seller's inquiry nearby
Platform.
Further, the management data process that the analysis summarizing module calculates operator is as follows:
Traced to the source currency data pond using electronics, analyze from all sales datas of manufacturer-whole seller-retailer and
Stock up data;
By the sales data for analyzing and data of stocking up, the data for collecting are calculated:
The management data of operator is calculated by the data for collecting.
Further, analysis summarizing module the stocking up the date always according to management data, by stocking up, the date is ranked up,
Calculate newest stocking up the date;The also neighbouring seller of the commodity newest date of stocking up of seller's searching platform nearby is presented to disappear
Fei Zhe.
Further, the neighbouring seller's inquiry system based on food safety also includes that the extraction of third party's shared data is flat
Platform, supervising platform, enterprise platform, third party's shared data are extracted platform, supervising platform, enterprise platform and are all connected with the server
Connect;
Third party's shared data extracts platform for extracting business data to be reported from third party's shared data platform
Preserve in the server;
The server is additionally operable to calculate each enterprise using business data to be reported and electronics currency data pond of tracing to the source
The whether reported data in the given time threshold values, the enterprise not reported generate early warning information and are pushed to supervising platform or enterprise
Platform;
The supervising platform inquires daily early warning information for supervisor, is analyzed according to early warning information in time, is located
Reason and punishment;
The enterprise platform reports personnel to check early warning information for enterprise, repays data in time, it is to avoid supervision punishment.
Further, also include the manual amended record terminal being connected with server, the manual amended record terminal is used for by hand
Amended record mode is supplemented third party's shared data and extracts the business data to be reported that platform is missed.
Further, production link trace to the source data reporting terminal, intermediate links trace to the source data reporting terminal employing
Web Service interface is reported, Excel batches are reported or webpage directly reports mode reported data;Third party's shared data extracts platform
From third party's shared data platform increment extraction business data to be reported by way of dblink.
Further, the data memory module is additionally operable to store business data to be reported;
The analysis summarizing module is additionally operable to be traced to the source currency data pond according to business data to be reported and electronics, calculates each
The individual enterprise whether reported data in the given time threshold values, the enterprise not reported generate early warning information;
The data-pushing module is additionally operable to for early warning information to be pushed to supervising platform or enterprise platform.
Further, the process that the analysis summarizing module generates early warning information is as follows:
Business data to be reported is obtained, by following each enterprise of flow process circular treatment;
Traced to the source data using production link, obtain the nearest production link of the enterprise and trace to the source and call time in data;
Traced to the source data using intermediate links, obtain the nearest intermediate links of the enterprise and trace to the source and call time in data;
The nearest production link of comparison is traced to the source, and takes
Maximum is to call time in the nearest data of tracing to the source of the enterprise;
Call time in the nearest data of tracing to the source of comparison and compare with current time, difference is to call time on not;
If calling time on not more than or equal to the first threshold values less than the second threshold values, the early warning letter for pushing is generated to enterprise platform
Breath;
If calling time on not more than or equal to the second threshold values, the early warning information for pushing is generated to supervising platform.
Further, the first threshold values and the second threshold values are set by supervising platform.
Compared with prior art, beneficial effects of the present invention are as follows:
1), realize by seller's function near the inquiry of bar code, bar code+date of manufacture and traceability code;
2) supervisory efficiency, is improve, supervision human cost is reduced;
3) verity of inquiry commodity, is ensure that, effectively prevents fake and inferior commodities;
4) consumer, is allowed to buy the commodity that trust, can trace to the source;
5) problem of merchandising data " information island ", has been broken;
6) early warning information is pushed in time, allows supervisor to check early warning information, supervise the timely reported data of enterprise.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is structural representation of the present invention based on neighbouring seller's inquiry system embodiment 1 of food safety;
Fig. 2 is process chart of the present invention based on neighbouring seller's inquiry system of food safety;
Fig. 3 is data report flow figure of the present invention based on neighbouring seller's inquiry system of food safety;
Fig. 4 is that the present invention is traced to the source currency data entity keyword based on the electronics of neighbouring seller's inquiry system of food safety
Section design drawing;
Fig. 5 is that the present invention collects flow chart based on the data analysiss of neighbouring seller's inquiry system of food safety;
Fig. 6 is data query flow chart of the present invention based on neighbouring seller's inquiry system of food safety;
Fig. 7 is structural representation of the present invention based on neighbouring seller's inquiry system embodiment 2 of food safety.
Specific embodiment
It is understandable to enable the above objects, features and advantages of the present invention to become apparent from, below in conjunction with accompanying drawing and specifically
Embodiment technical scheme is described in detail.It is pointed out that described embodiment is only this
Bright a part of embodiment, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art are not having
There is the every other embodiment obtained under the premise of making creative work, belong to the scope of protection of the invention.
Embodiment 1
As shown in figure 1, the present invention provides a kind of neighbouring seller's inquiry system based on food safety, including production link traces back
Source data reporting terminal, intermediate links are traced to the source data reporting terminal, server, neighbouring seller's searching platform;
Traced to the source with production link respectively data reporting terminal, intermediate links of the server are traced to the source data reporting terminal, attached
Nearly seller's searching platform connection;
The production link is traced to the source data reporting terminal and reports production link to trace to the source data to server for manufacturing enterprise
And position coordinateses and preserve in the server;
The intermediate links are traced to the source data reporting terminal and report intermediate links to trace to the source data to server for circulation enterprise
And position coordinateses and preserve in the server;
The server is used for the position coordinateses for storing operator and is traced to the source number by trace to the source data, intermediate links of production link
Trace to the source currency data pond according to the electronics for being formed;
It is additionally operable to be analyzed and collect and calculate the management data of operator using electronics currency data pond of tracing to the source, and
The management data and position coordinateses of operator are pushed to seller's searching platform nearby;
Seller's searching platform nearby is used for consumer and passes through bar code, bar code+date of manufacture or traceability code
Inquire about seller nearby and neighbouring seller is presented to into consumer by way of map reference punctuate;
It is additionally operable to seller and commodity near supervisor's inquiry in region to be distributed and supervise nearby seller and merchandise news.
The server includes data memory module, analysis summarizing module, data-pushing module, the analysis summarizing module
It is connected with the data memory module, data-pushing module respectively;
The data memory module is used to store the position coordinateses and electronics of operator and traces to the source currency data pond;
The analysis summarizing module is for being analyzed and collected and calculate operation using electronics currency data pond of tracing to the source
The management data of person;
The data-pushing module is flat for the management data and position coordinateses of operator are pushed to seller's inquiry nearby
Platform.
The management data process that the analysis summarizing module calculates operator is as follows:
Traced to the source currency data pond using electronics, analyze from all sales datas of manufacturer-whole seller-retailer and
Stock up data;
By the sales data for analyzing and data of stocking up, the data for collecting are calculated:
The management data of operator is calculated by the data for collecting.
Analysis summarizing module the stocking up the date always according to management data, by stocking up, the date is ranked up, and calculates most
Newly stock up the date;The neighbouring seller of the commodity newest date of stocking up also is presented to consumer by seller's searching platform nearby.
Trace to the source data reporting terminal, intermediate links of production link trace to the source data reporting terminal using in web Service interface
Report, Excel are reported in batches or webpage directly reports mode reported data.
Production link trace to the source data reporting terminal, neighbouring seller's searching platform of data reporting terminal, intermediate links of tracing to the source be
Mobile phone, flat board or PC.
As shown in Fig. 2 the neighbouring seller's inquiry system based on food safety of the present invention by manufacturer, whole seller, zero
Shou Shangdeng enterprises report Food circulation link data of tracing to the source to form electronics and trace to the source currency data pond, are traced to the source currency data using electronics
Pond data are analyzed and collect and be pushed to seller's searching platform nearby.Consumer be able to can be looked into by neighbouring seller's searching platform
Ask the neighbouring seller of bar code, bar code+date of manufacture and traceability code, system exhibition by way of map reference punctuate
Can have now to the supervisor in consumer, region by neighbouring seller's searching platform inquiry seller and commodity distribution nearby
Seller and merchandise news near the supervision of effect.The handling process of the neighbouring seller's inquiry system based on food safety of the present invention
It is as follows:
1), report Food circulation link to trace to the source data by manufacturer, whole seller, retailer etc., form electronics and trace to the source stream
Logical data pool;
2), the management data of operator is analyzed and collects and calculate with electronics currency data pond data of tracing to the source, and
The management data and position coordinateses of operator are pushed to seller's searching platform nearby;
3), consumer can inquire bar code, bar code+date of manufacture by neighbouring seller's searching platform and chase after
Trace back the neighbouring seller of code, and system is presented to consumer by way of map reference punctuate;
4), the supervisor in region be able to can have by neighbouring seller's searching platform inquiry seller and commodity distribution nearby
Seller and merchandise news near the supervision of effect.
Neighbouring seller's inquiry system based on food safety includes three main flows:Data report flow, data analysiss
Collect flow process, data query flow process.
Data report flow
As shown in figure 3, the present invention is different according to the degree of information level of the enterprise, different data reporting schemes are designed,
Facilitate enterprise's reported data, so as to the integrity of the data that promote to trace to the source.
1), design data acquisition mode
Design facilitate easy-to-use data acquisition modes, reported using web Service interface at present, Excel batch report,
Webpage directly reports three kinds of modes, uses system from suitable mode according to self information level by enterprise.
2) tracing information is gathered, data supporting is provided for trace platform
Collection manufacturer, the electronics of whole seller and retailer trace to the source currency data pond, provide for seller's inquiry system nearby
Data supporting, realizes from the whole process of manufacturer-whole seller-retailer's loopful section reviewing, and tracing to the source to inquire about for consumer provides number
According to foundation.
3), design currency data storage organization
As shown in figure 4, for the enterprise of intermediate links reports, upstream and downstream firms can be appointed, be reported by whom, enterprise is reduced
Industry workload.By taking sales data as an example, From is upstream sale enterprise, and To stocks up enterprise for downstream, and FromType is Sale (pins
Sell).During sale enterprise logging data, state states are " to be confirmed ", and downstream enterprise of stocking up can receive list to be confirmed, enterprise
Can be stocked up according to practical situation selection confirmation and refusal is stocked up.The workload that reports of so whole intermediate links enterprise will reduce one
Half, while data confirming process only occurs the state table of list more, therefore data storage also reduces half.
Data analysiss collect flow process
As shown in figure 5, the present invention is the logical business data of profit and intermediate links data of tracing to the source are analyzed and collect and push
To neighbouring seller's searching platform.
Analysis and the scheme for collecting are as follows:
1), traced to the source currency data pond using the electronics that enterprise reports, analytical data pond is analyzed from manufacturer-wholesale
All sales datas of business-retailer and data of stocking up;
2), by analyzing sales data and data of stocking up, collect its data:In list, From fields are the institute of this enterprise
There is " having confirmed that " status data that status data and To fields are this enterprise;
3), the data by collecting calculate the management data of operator;
4), stocking up the date according to management data, by stocking up, the date is ranked up, and calculates newest stocking up the date;
5) coordinate and management data of operator are pushed to seller's searching platform nearby,.
Data query flow process
As shown in fig. 6, the present invention is will to analyze and the data-pushing that collected is to neighbouring seller's searching platform.
Nearby the query scheme of seller's searching platform is as follows:
1), seller's searching platform near consumer query
Consumer can inquire bar code, bar code+date of manufacture by neighbouring seller's searching platform and review
The neighbouring seller of code, system are presented to consumer by way of map reference punctuate.
2), seller's searching platform near supervisor's inquiry
The supervisor in region can be by neighbouring seller's searching platform inquiry seller and commodity distribution nearby, can be effectively
Seller and merchandise news near supervision.
Neighbouring seller inquiry system of the present invention based on food safety, by manufacturer, whole seller and retailer's typing pin
Data of selling or stock up form electronics and trace to the source currency data pond, are analyzed and are collected simultaneously using electronics currency data pond data of tracing to the source
The management data of operator is calculated, and the management data and position coordinateses of operator is pushed to seller's searching platform nearby,
Consumer can pass through the vicinity that neighbouring seller's searching platform can inquire bar code, bar code+date of manufacture and traceability code
Seller, system are presented to consumer by way of map reference punctuate.The supervisor in region can be looked into by neighbouring seller
Platform inquiry nearby seller and commodity distribution are ask, neighbouring seller and merchandise news can be effectively supervised.The present invention has broken business
The problem of product management data " information island ", realizes and inquires about attached by bar code, bar code+date of manufacture and traceability code
Nearly seller's function, allows consumer to buy the commodity that trust, can trace to the source, and improves supervisory efficiency, reduces supervision human cost, it is ensured that
The verity of inquiry commodity, effectively prevents fake and inferior commodities.
Embodiment 2
As shown in fig. 7, the present invention also provides a kind of neighbouring seller's inquiry system based on food safety, in embodiment 1
On the basis of also include that third party's shared data extracts platform, supervising platform, enterprise platform, manual amended record terminal, third party shares
Data pick-up platform, supervising platform, enterprise platform, manual amended record terminal are all connected with the server;
Third party's shared data extracts platform for extracting business data to be reported from third party's shared data platform
Preserve in the server;Third party's shared data extracts platform by way of dblink from third party's shared data platform increment
Extract business data to be reported;
The server is additionally operable to calculate each enterprise using business data to be reported and electronics currency data pond of tracing to the source
The whether reported data in the given time threshold values, the enterprise not reported generate early warning information and are pushed to supervising platform or enterprise
Platform;
The supervising platform inquires daily early warning information for supervisor, is analyzed according to early warning information in time, is located
Reason and punishment;
The enterprise platform reports personnel to check early warning information for enterprise, repays data in time, it is to avoid supervision punishment;
The manual amended record terminal is used for amended record mode by hand supplements third party's shared data and extracts treating of missing of platform
Report business data.
The data memory module is additionally operable to store business data to be reported;
The analysis summarizing module is additionally operable to be traced to the source currency data pond according to business data to be reported and electronics, calculates each
The individual enterprise whether reported data in the given time threshold values, the enterprise not reported generate early warning information;
The data-pushing module is additionally operable to for early warning information to be pushed to supervising platform or enterprise platform.
The process that the analysis summarizing module generates early warning information is as follows:
Business data to be reported is obtained, by following each enterprise of flow process circular treatment;
Traced to the source data using production link, obtain the nearest production link of the enterprise and trace to the source and call time in data;
Traced to the source data using intermediate links, obtain the nearest intermediate links of the enterprise and trace to the source and call time in data;
The nearest production link of comparison is traced to the source, and takes
Maximum is to call time in the nearest data of tracing to the source of the enterprise;
Call time in the nearest data of tracing to the source of comparison and compare with current time, difference is to call time on not;
If calling time on not more than or equal to the first threshold values less than the second threshold values, the early warning letter for pushing is generated to enterprise platform
Breath;
If calling time on not more than or equal to the second threshold values, the early warning information for pushing is generated to supervising platform, wherein first
Threshold values and the second threshold values are set by supervising platform.
The neighbouring seller's inquiry system based on food safety that the present invention is provided, extracts platform by third party's shared data
From third party's shared data platform extraction business data to be reported, by manufacturing enterprise's typing production link trace back data and circulation
Enterprise typing intermediate links trace back data forms electronics and traces to the source currency data pond, is traced to the source currency data pond data analysiss using electronics
Enterprise reports behavior, setting time threshold values, the enterprise of the non-reported data of over-time, system automatic push early warning information to prison
Pipe platform and enterprise platform, and related personnel is presented to by system visualization.By introducing data validation machine in intermediate links
System, upstream firm logging data, down-stream enterprise confirm that be not required to re-type, vice versa.Confirmation process, data are not sent out
Raw copy, what system passed through document types and condition adjudgement document relevant enterprise report behavior, and the physics for effectively reducing data is deposited
Reserves and enterprise report workload;System supervisory personnel can inquire daily early warning detailed content by supervising platform, according to
Early warning information is analyzed in time, processes and is punished;Enterprise reports personnel check daily early warning information, timely reported data.
Than currently existing scheme, advantageous feature is mainly reflected in following several respects to the present invention:
1), realize by seller's function near the inquiry of bar code, bar code+date of manufacture and traceability code;
2) supervisory efficiency, is improve, supervision human cost is reduced;
3) verity of inquiry commodity, is ensure that, effectively prevents fake and inferior commodities;
4) consumer, is allowed to buy the commodity that trust, can trace to the source;
5) problem of merchandising data " information island ", has been broken;
6) early warning information is pushed in time, allows supervisor to check early warning information, supervise the timely reported data of enterprise.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but and
Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, some deformations and improvement can also be made, these belong to the guarantor of the present invention
Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.