Summary of the invention
In order to solve the above technical problems, it is an object of the invention to: provide a kind of workload it is small and retrospect effect it is good, dissipate
Fill trace to the source two-dimensional code generation method and the system of food and agricultural product.
The one side of the technical solution used in the present invention is:
A kind of two-dimensional code generation method of tracing to the source of food in bulk and agricultural product, comprising the following steps:
Transaction terminal generates transaction two dimensional code, and so that purchaser terminal is scanned payment, the transaction two dimensional code includes
The unique identifier of transaction terminal, trading order number, transaction amount, trade order number, signing messages and server IP
The domain name of location or server;
Transaction terminal receives the transaction results that server is sent, and combines transaction record to generate first and trace to the source two dimensional code;Institute
Stating transaction includes on-site payment and confirmation transaction;
Transaction record is sent to server by transaction terminal, is compiled so that server compares buyer GID according to transaction record
Code is encoded with sellers GID, obtains the result of tracing to the source of the commodity in corresponding transaction record.
Further, described first trace to the source two dimensional code be specially be directed toward server and have commercial standards coding parameter commodity
It traces to the source data link.
The another aspect of the technical solution used in the present invention is:
A kind of two-dimensional code generation method of tracing to the source of food in bulk and agricultural product, comprising the following steps:
Server receives the transaction request that purchaser terminal is sent;
Server carries out legitimate verification to transaction terminal according to the transaction terminal signing messages in transaction request;
After server and purchaser terminal carry out trade confirmation, transaction results are sent to transaction terminal, so that transaction is eventually
End generates first and traces to the source two dimensional code;
The transaction record that server is sent according to transaction terminal compares buyer GID coding and encodes with sellers GID, obtains
To the result of tracing to the source of the commodity in corresponding transaction record;
Server is traced to the source two dimensional code according to tracing to the source for the commodity in corresponding transaction record as a result, generating second, and is obtained scattered
Fill the retrospect result of food and agricultural product.
Further, the transaction request includes unique identifier, transaction amount, sellers the GID coding of transaction terminal, purchase
Buyer GID coding and transaction terminal signing messages.
Further, described second trace to the source two dimensional code be specially be directed toward transaction record in commodity tracing information link, institute
Purchaser terminal and/or wechat public platform can be pushed to by stating the second two dimensional code of tracing to the source.
Further, further comprising the steps of:
Transaction request is sent to Third-party payment end with preset format by server, so that Third-party payment end and purchase
Person's terminal is done directly payment interaction.
Further, after the server and purchaser terminal carry out trade confirmation, transaction results are sent to transaction terminal,
So that transaction terminal generation first is traced to the source the step for two dimensional code, specifically:
The transaction request that server is sent according to purchaser terminal trade really according to the mode of doing business that buyer selects
Recognize;
Wherein, if the mode of doing business that buyer selects is traded to determine, following steps are executed:
Purchaser terminal will determine that corresponding first mark of trading is sent to the API service module of server;
First mark is stored to the data warehouse module of server;
The corresponding mark of transaction results is fed back into transaction terminal by the data capture management module of server;
If the mode of doing business that buyer selects is on-site payment, following steps are executed:
Purchaser terminal indicates the mode of doing business of on-site payment corresponding second, buyer GID is encoded and transaction two
Dimension code is sent to the API service module of server;
The API service module of server sends corresponding payment request to Third-party payment end;
Third-party payment end and buyer complete after payment interacts, by Third-party payment end by the corresponding mark of transaction results
It is sent to the API service module of server;
The corresponding mark of payment result is stored to the data warehouse module of server;
The corresponding mark of transaction results is fed back into transaction terminal by the data capture management module of server.
Further, further comprising the steps of:
Based on electronic transaction, the commodity transaction of production base, wholesale market and food market is obtained respectively by transaction terminal
Data;
According to the commodity transaction data of production base, the first sellers GID coding and first of corresponding production base is obtained
Buyer GID coding;
According to the commodity transaction data of wholesale market, the second sellers GID coding and second of corresponding wholesale market is obtained
Buyer GID coding;
According to the commodity transaction data of food market, third sellers GID coding and the third purchase of corresponding food market are obtained
Person GID coding;
Judge whether the first buyer GID coding is encoded with the second sellers GID identical, if so, will be from the first sale
Person realizes one step up and traces back to the commodity of next step to first effective result write-in data warehouse of tracing to the source of the second buyer
Source;Conversely, then data warehouse will be written from the first of the first sellers to the second buyer the invalid result of tracing to the source, and execute next
Step;
Judge whether the second buyer GID coding is encoded with third sellers GID identical, if so, will be from the second sale
Person realizes one step up and traces back to the commodity of next step to second effective result write-in data warehouse of tracing to the source of third buyer
Source;Conversely, result write-in data warehouse that second from the second sellers to third buyer is traced to the source in vain, and perform the next step
Suddenly;
Result is effectively traced to the source to first and the second effectively result of tracing to the source is associated, and obtains purchasing from the first sellers to third
The full supply chain of buyer is traced to the source result;
Full supply chain result of tracing to the source is stored to the data warehouse module of server, and generates second and traces to the source two dimensional code, from
And it realizes the whole process of food in bulk and agricultural product and traces to the source.
Further, the realization is traced to the source one step up and to the commodity of next step and is specifically referred to:
Realize by source plantation enterprise, packaging/again wrapping enterprise, whole seller and retailer/catering service provider to dissipate
Fill the supplier information of food and agricultural product and the retrospect of consumer information.
The another aspect of the technical solution used in the present invention is:
A kind of two dimensional code generation system of tracing to the source of food in bulk and agricultural product, including transaction terminal, server and buyer
Terminal;
Wherein, the transaction terminal includes:
Transaction two-dimensional code generation module, it is described so that purchaser terminal is scanned payment for generating transaction two dimensional code
Transaction two dimensional code include the unique identifier of transaction terminal, trading order number, transaction amount, trade order number, signing messages with
And server IP address or server domain name;
First traces to the source two-dimensional code generation module, for receiving the transaction results of server transmission, and combines transaction record raw
It traces to the source two dimensional code at first;The transaction includes on-site payment and confirmation transaction;
Data upload download module, for transaction record to be sent to server, so that server is according to transaction record ratio
Buyer GID coding is encoded with sellers GID, obtains the result of tracing to the source of the commodity in corresponding transaction record;
The server includes:
API service module, for receiving the transaction request of purchaser terminal transmission;
Equipment authentication management module, for being closed according to the transaction terminal signing messages in transaction request to transaction terminal
Method verifying;
Transaction results are sent to transaction terminal after carrying out trade confirmation with purchaser terminal by data acquisition module,
The two dimensional code so that transaction terminal generation first is traced to the source;
Data analysis engine module, the transaction record for being sent according to transaction terminal compare buyer GID coding and pin
The person of selling GID coding obtains the result of tracing to the source of the commodity in corresponding transaction record;
Commodity tracing module, for being traced to the source two dimension according to tracing to the source for the commodity in corresponding transaction record as a result, generating second
Code, and obtain the retrospect result of food in bulk and agricultural product.
It traces to the source two dimensional code the beneficial effects of the present invention are: the present invention generates first by transaction terminal, it is raw to pass through server
It traces to the source two dimensional code at second, then traces to the source and two dimensional code and second trace to the source two dimensional code according to first, realize based on electronic transaction
Food in bulk and agricultural product full chain trace monitoring, retrospect effect it is good, and substantially reduce conventional method using papery it is small
Ticket carries out brought maintenance workload of tracing to the source.
Specific embodiment
The present invention is further explained and is illustrated with specific embodiment with reference to the accompanying drawings of the specification.For of the invention real
The step number in example is applied, is arranged only for the purposes of illustrating explanation, any restriction is not done to the sequence between step, is implemented
The execution sequence of each step in example can be adaptively adjusted according to the understanding of those skilled in the art.
A kind of two-dimensional code generation method of tracing to the source of food in bulk and agricultural product of the present invention, comprising the following steps:
Transaction terminal generates transaction two dimensional code, and so that purchaser terminal is scanned payment, the transaction two dimensional code includes
The unique identifier of transaction terminal, trading order number, transaction amount, trade order number, signing messages and server IP
The domain name of location or server;
Transaction terminal receives the transaction results that server is sent, and combines transaction record to generate first and trace to the source two dimensional code;Institute
Stating transaction includes on-site payment and confirmation transaction;
Transaction record is sent to server by transaction terminal, is compiled so that server compares buyer GID according to transaction record
Code is encoded with sellers GID, obtains the result of tracing to the source of the commodity in corresponding transaction record.
It is further used as preferred embodiment, the described first two dimensional code of tracing to the source is specially to be directed toward server and with commodity
The commodity of standard code parameter are traced to the source data link.
A kind of two-dimensional code generation method of tracing to the source of food in bulk and agricultural product, comprising the following steps:
Server receives the transaction request that purchaser terminal is sent;
Server carries out legitimate verification to transaction terminal according to the transaction terminal signing messages in transaction request;
After server and purchaser terminal carry out trade confirmation, transaction results are sent to transaction terminal, so that transaction is eventually
End generates first and traces to the source two dimensional code;
The transaction record that server is sent according to transaction terminal compares buyer GID coding and encodes with sellers GID, obtains
To the result of tracing to the source of the commodity in corresponding transaction record;
Server is traced to the source two dimensional code according to tracing to the source for the commodity in corresponding transaction record as a result, generating second, and is obtained scattered
Fill the retrospect result of food and agricultural product.
It is further used as preferred embodiment, the transaction request includes the unique identifier of transaction terminal, trade gold
Volume, sellers GID coding, buyer GID coding and transaction terminal signing messages.
It is further used as preferred embodiment, the described second two dimensional code of tracing to the source is specially the commodity being directed toward in transaction record
Tracing information link, the described second two dimensional code of tracing to the source can push to purchaser terminal and/or wechat public platform.
It is further used as preferred embodiment, further comprising the steps of:
Transaction request is sent to Third-party payment end with preset format by server, so that Third-party payment end and purchase
Person's terminal is done directly payment interaction.
Being further used as preferred embodiment will trade after the server and purchaser terminal carry out trade confirmation
As a result it is sent to transaction terminal, so that transaction terminal generation first is traced to the source the step for two dimensional code, specifically:
The transaction request that server is sent according to purchaser terminal trade really according to the mode of doing business that buyer selects
Recognize;
Wherein, if the mode of doing business that buyer selects is traded to determine, following steps are executed:
Purchaser terminal will determine that corresponding first mark of trading is sent to the API service module of server;
First mark is stored to the data warehouse module of server;
The corresponding mark of transaction results is fed back into transaction terminal by the data capture management module of server;
If the mode of doing business that buyer selects is on-site payment, following steps are executed:
Purchaser terminal indicates the mode of doing business of on-site payment corresponding second, buyer GID is encoded and transaction two
Dimension code is sent to the API service module of server;
The API service module of server sends corresponding payment request to Third-party payment end;
Third-party payment end and buyer complete after payment interacts, by Third-party payment end by the corresponding mark of transaction results
It is sent to the API service module of server;
The corresponding mark of payment result is stored to the data warehouse module of server;
The corresponding mark of transaction results is fed back into transaction terminal by the data capture management module of server.
It is further used as preferred embodiment, further comprising the steps of:
Based on electronic transaction, the commodity transaction of production base, wholesale market and food market is obtained respectively by transaction terminal
Data;
According to the commodity transaction data of production base, the first sellers GID coding and first of corresponding production base is obtained
Buyer GID coding;
According to the commodity transaction data of wholesale market, the second sellers GID coding and second of corresponding wholesale market is obtained
Buyer GID coding;
According to the commodity transaction data of food market, third sellers GID coding and the third purchase of corresponding food market are obtained
Person GID coding;
Judge whether the first buyer GID coding is encoded with the second sellers GID identical, if so, will be from the first sale
Person realizes one step up and traces back to the commodity of next step to first effective result write-in data warehouse of tracing to the source of the second buyer
Source;Conversely, then data warehouse will be written from the first of the first sellers to the second buyer the invalid result of tracing to the source, and execute next
Step;
Judge whether the second buyer GID coding is encoded with third sellers GID identical, if so, will be from the second sale
Person realizes one step up and traces back to the commodity of next step to second effective result write-in data warehouse of tracing to the source of third buyer
Source;Conversely, result write-in data warehouse that second from the second sellers to third buyer is traced to the source in vain, and perform the next step
Suddenly;
Result is effectively traced to the source to first and the second effectively result of tracing to the source is associated, and obtains purchasing from the first sellers to third
The full supply chain of buyer is traced to the source result;
Full supply chain result of tracing to the source is stored to the data warehouse module of server, and generates second and traces to the source two dimensional code, from
And it realizes the whole process of food in bulk and agricultural product and traces to the source.
It is further used as preferred embodiment, the realization is traced to the source specifically one step up and to the commodity of next step
Refer to:
Realize by source plantation enterprise, packaging/again wrapping enterprise, whole seller and retailer/catering service provider to dissipate
Fill the supplier information of food and agricultural product and the retrospect of consumer information.
The two dimensional code of tracing to the source of a kind of food in bulk of the present invention and agricultural product generates system, including transaction terminal, server and
Purchaser terminal;
Wherein, the transaction terminal includes:
Transaction two-dimensional code generation module, it is described so that purchaser terminal is scanned payment for generating transaction two dimensional code
Transaction two dimensional code include the unique identifier of transaction terminal, trading order number, transaction amount, trade order number, signing messages with
And server IP address or server domain name;
First traces to the source two-dimensional code generation module, for receiving the transaction results of server transmission, and combines transaction record raw
It traces to the source two dimensional code at first;The transaction includes on-site payment and confirmation transaction;
Data upload download module, for transaction record to be sent to server, so that server is according to transaction record ratio
Buyer GID coding is encoded with sellers GID, obtains the result of tracing to the source of the commodity in corresponding transaction record;
The server includes:
API service module, for receiving the transaction request of purchaser terminal transmission;
Equipment authentication management module, for being closed according to the transaction terminal signing messages in transaction request to transaction terminal
Method verifying;
Transaction results are sent to transaction terminal after carrying out trade confirmation with purchaser terminal by data acquisition module,
The two dimensional code so that transaction terminal generation first is traced to the source;
Data analysis engine module, the transaction record for being sent according to transaction terminal compare buyer GID coding and pin
The person of selling GID coding obtains the result of tracing to the source of the commodity in corresponding transaction record;
Commodity tracing module, for being traced to the source two dimension according to tracing to the source for the commodity in corresponding transaction record as a result, generating second
Code, and obtain the retrospect result of food in bulk and agricultural product.
The invention proposes a kind of generation methods for food in bulk and the two dimensional code of tracing to the source of agricultural product, by covering
Transaction terminal is disposed in production base, wholesale market and food market in whole supply chain of food in bulk and agricultural product, realizes base
Full chain monitoring is traced in the food in bulk (agricultural product) of electronic transaction.
The present invention needs to complete trade company in the production base, wholesale market and food market for deploying transaction terminal to be based on movement
The member registration of terminal APP/ browser.Firstly, trade company fills in membership information and submits bank account information, system is then obtained
EID for the unique GID coding and password of trade company's distribution, and connected transaction terminal (passes through the two dimensional code on scanning transaction terminal
To realize), while can be at the virtual member card of APP Software Create (including member's two dimensional code, barcode scanning function, data query etc.).
After member registration success, system can open electronic transaction channel for trade company and pass through GID coding under data capture management module
It is sent to the transaction terminal of corresponding eID.
Member utilizes the commercial standards library (can be with server sync) in the merchandise sales management module of transaction terminal prepackage
Its commodity for managing sale of configuration are chosen, sale interface are generated, while generating the standard code MID of commodity, in commercial standards library
No commodity can voluntarily be added by trade company and be synchronized to the commercial standards library in server item management module.
Trade company generates order and phase using sale interface selection commodity, input price, acquisition item property (such as weight)
The transaction two dimensional code answered.Each order i.e. one " virtual package ", transaction two dimensional code includes transaction terminal eID, server domain name
Or the attributes such as IP address, order number, transaction sequence number, commodity and standard code MID.
Wherein, transaction terminal has pre-installed merchandise sales management module, realizes food in bulk by merchandise sales management module
The commodity synchronization, commodity selection, price input and transaction amount of (agricultural product) sale calculate, and only by combination transaction terminal
The IP address or domain name of one identifier (eID) and server (Server) generate the transaction two dimensional code comprising above- mentioned information.
Buyer's (can be the trade company of wholesale market, the trade company of food market or ordinary consumer) is by having two dimensional code
To server after terminal device (i.e. purchaser terminal) or mobile terminal APP the scanning transaction two dimensional code of identification function
(Server) API service module sends transaction request, unique identifier (eID) of the transaction request with transaction terminal,
The information such as transaction amount and transaction terminal key.
The API service module of server (Server) according to the legitimacy of transaction terminal key authenticating transactions terminal first,
It is verified the interaction for carrying out trade confirmation with buyer afterwards.Wherein, if buyer calls third party by mobile terminal APP
Payment client terminal confirmation payment, then the API service module of server (Server) is answered together with the Third-party payment that buyer uses
The format that client-side information and transaction request are accessed according to corresponding Third-party payment is to Third-party payment initiation payment request, later
Interaction required for payment is done directly by Third-party payment and buyer, the API service module of last server (Server) is received
To payment success or not as a result, and by result by data capture management module feedback to transaction terminal carry out corresponding prompt with
Complete entire payment flow.
Transaction terminal is generated using transaction record and is traced to the source two dimensional code for the first of all commodity relevant to transaction, direction
The link of tracing to the source of commodity in current transaction, then passes through that two dimensional code is traced to the source for first in internet and transaction record is uploaded to service
The data capture management module of device, then store to data warehouse module.
If buyer passes through mobile terminal APP selection confirmation transaction (but without payment), server (Server)
API service module will containing commercial standards encode MID, transaction amount transaction request to the API of server (Server) take
Module of being engaged in initiates trade confirmation request, and API service module is fed back after receiving the payment result of trade confirmation, then by transaction results
Corresponding prompt is carried out to transaction terminal to complete entire transaction flow.
Then, transaction terminal generates direction needle using transaction record and traces to the source two dimension to the commodity of transaction are traced to the source first
Code, and the data capture management module of server is uploaded to by internet business record, then store to data warehouse module.Its
In, described first trace to the source two dimensional code be a direction commodity transaction process data link, and with commercial standards coding MID etc.
Parameter.
After the data capture management module of server (Server) receives the transaction record that transaction terminal uploads, transaction is remembered
Address book stored acquires buyer GID coding and sale in data by data analysis engine module analysis to data warehouse module
Data bins are written in the merchandise news that supply chain can be formed and the information such as buyer and sellers by the relationship of person GID coding
In library, realize one step up and to next step commodity tracing, that is, refer to including source plantation enterprise, pack/pack again
Member including enterprise, whole seller, retailer/catering service provider etc. can trace the source of food in bulk (agricultural product) (i.e.
Supplier) and recipient (consumer) information, realize the full-range retrospect of supply chain.
Server of the invention is also generated traces to the source two dimensional code with the first two dimensional code corresponding second of tracing to the source, and second is traced back
Source two dimensional code is pushed to the mobile terminal and/or public service public platform of buyer, and the described second two dimensional code of tracing to the source is a finger
The tracing information link of corresponding goods into transaction.
Referring to Fig.1, transaction terminal of the invention includes device management module, data upload download module, merchandise sales pipe
Manage module and database module;Server include equipment authentication management module, data capture management module, item management module,
Member management module, data warehouse module, data analysis engine module and API service module;Buyer uses mobile terminal
APP application software carries out electronic transaction.
Referring to Fig. 2, below by taking the process of exchange of food in bulk and agricultural product as an example, a kind of food in bulk of the present invention is described in detail
The overall step process of the two-dimensional code generation method of tracing to the source of product and agricultural product:
S1, buyer by mobile terminal APP carry out commodity purchasing, the step S1 the following steps are included:
S11, buyer utilize APP software registration member, fill in membership information, obtain the GID coding of system distribution and close
Code, the eID (two dimensional code on scanning transaction terminal) of connected transaction terminal, and GID coding is issued to transaction corresponding with eID
Terminal;
The virtual member card of APP Software Create member (including the member's two dimensional code, barcode scanning function, data of S12, mobile terminal
Inquiry etc.);
S13, buyer scans transaction two dimensional code progress " on-site payment " by APP or " confirmation is traded " completes commodity purchase
It buys.
The step S13 specifically: the transaction request that server is sent according to purchaser terminal, according to buyer's selection
Mode of doing business carries out trade confirmation;
Wherein, (1) if, buyer's selection " confirmation transaction ", purchaser terminal will " confirmation transaction " interaction mark, purchase
Person GID coding sends jointly to the API service module of server together with the information that transaction two dimensional code includes, and API service module will
Corresponding mark is stored to data warehouse module, then will confirm that transaction signature feeds back to transaction eventually by data capture management module
End.
(2) if, buyer select " on-site payment ", purchaser terminal will " on-site payment " interaction indicate, buyer GID
The API service module that the information for including together with transaction two dimensional code sends jointly to server is encoded, API service module will be propped up accordingly
It pays request and is sent to Third-party payment, interaction required for payment, last third party are completed by Third-party payment and buyer later
The mark for paying success or not is sent to the API service module of server by payment, then is stored to data warehouse module, is then led to
It crosses data capture management module and " on-site payment " success or not mark is fed back into transaction terminal.
After transaction terminal receives " on-site payment " or " confirmation transaction " mark, is encoded according to trade company GID and generate corresponding order
In comprising the standard merchandise coding using the time as batch, and by this encode based on generate and be directed to the first of order and commodity
It traces to the source two dimensional code, the link that direction needle traces to the source to the commodity of transaction, then by complete transaction information by being descended in data
Carry the data capture management module that module is uploaded to server.
S2, food in bulk and agricultural product carried out with full supply chain trace to the source, the step S2 the following steps are included:
S21, the deployment for realizing the transaction terminal towards food market, wholesale market, agricultural product production base first, and it is open-minded
Electronic accounting/transaction business of corresponding trade company;
S22, the transaction that the data capture management module reception transaction terminal of server uploads record (as shown in table 1)
Afterwards, referring to Fig. 3, buyer GID coding and sellers GID coding in data are acquired by data analysis engine module analysis
Relationship, realize one step up and to next step commodity tracing, that is, refer to including source plantation enterprise, packaging/pack enterprise again
The source that member including industry, whole seller, retailer/catering service provider etc. can trace food in bulk (agricultural product) (supplies
Answer quotient) and recipient (consumer) information, the full-range retrospect of supply chain is realized, while generating and tracing to the source two dimensional code pair with first
Second answered is traced to the source two dimensional code, and the second two dimensional code of tracing to the source is pushed to purchaser terminal and/or public service public platform, and second
Two dimensional code of tracing to the source is that the tracing information link of final food in bulk (agricultural product) is directed toward.
Table 1
The step S22 specifically includes the following steps:
S221, it is based on electronic transaction, obtains the commodity of production base, wholesale market and food market respectively by transaction terminal
Transaction data;
S222, the commodity transaction data according to production base, obtain corresponding production base the first sellers GID coding and
First buyer GID coding;
S223, the commodity transaction data according to food market obtain the second sellers GID coding and second of corresponding food market
Buyer GID coding;
S224, the commodity transaction data according to food market obtain the third sellers GID coding and third of corresponding food market
Buyer GID coding;
S225, judge whether the first buyer GID coding is encoded with the second sellers GID identical, if so, will be from first
Sellers to the second buyer first effectively trace to the source result write-in data warehouse, realize one step up and to next step commodity
It traces to the source;Conversely, then data warehouse will be written from the first of the first sellers to the second buyer the invalid result of tracing to the source, and under execution
One step;
S226, judge whether the second buyer GID coding is encoded with third sellers GID identical, if so, will be from second
Sellers to third buyer second effectively trace to the source result write-in data warehouse, realize one step up and to next step commodity
It traces to the source;Conversely, result write-in data warehouse that second from the second sellers to third buyer is traced to the source in vain, and execute next
Step;
S227, result of effectively tracing to the source first and the second effectively result of tracing to the source are associated, obtain from the first sellers to
The full supply chain of third buyer is traced to the source result;
Wherein, when the first buyer GID coding is identical as second sellers' GID coding or the second buyer GID coding
When identical as third sellers' GID coding, the present invention can obtain corresponding goods trace to the source as a result, its corresponding flag information i.e.
For first effective result and second effective result of tracing to the source of tracing to the source;When the first buyer GID coding encodes not with the second sellers GID
When identical or the second buyer GID coding and not identical third sellers GID coding, the present invention can not obtain corresponding goods
It traces to the source as a result, its corresponding flag information is the first invalid result and the second invalid result of tracing to the source of tracing to the source.
S228, result that full supply chain is traced to the source are stored to the data warehouse module of server, and are generated second and traced to the source two dimension
Code, to realize that the whole process of food in bulk and agricultural product is traced to the source.The second of generation the two dimensional code of tracing to the source is pushed into third simultaneously
Purchaser terminal and/or public service public platform.
As shown in figure 4, transaction terminal of the invention runs commodity sales management software (POS) using Android terminal, and
Can dynamic transaction two dimensional code be generated for every order offline.Dynamic transaction two dimensional code include following information: server address or
Domain name, transaction terminal eID, trading order number, transaction amount Amount, trade order orderId, signing messages, to realize
Valuation, the operation of two dimensional code cash register, in addition, merchandise sales management software (POS) also provides data storage, management and analysis etc.
Function.
In conclusion a kind of food in bulk of the present invention and agricultural product trace to the source two-dimensional code generation method and system have it is following
Advantage:
1), deployment of the present invention by transaction terminal in production base, wholesale market and food market covers food in bulk
The complete supply chain of (agricultural product) realizes the full chain retrospect monitoring of the food in bulk (agricultural product) based on electronic transaction;
2), the first two dimensional code of tracing to the source is associated with the second two dimensional code of tracing to the source by the present invention by commercial standards coding MID,
Realize one step up and to next step commodity tracing;
3), the present invention carries out the extension based on Transaction Information on the basis of international standard GS1 coding, can be in food in bulk
Standard code is generated when product and farm produce sale and realizes full chain retrospect.
It is to be illustrated to preferable implementation of the invention, but the present invention is not limited to the embodiment above, it is ripe
Various equivalent deformation or replacement can also be made on the premise of without prejudice to spirit of the invention by knowing those skilled in the art, this
Equivalent deformation or replacement are all included in the scope defined by the claims of the present application a bit.