A kind of commodity traceability system based on cash register subsystem
Technical field
The present invention relates to electronics tracing technology fields, and in particular to a kind of commodity traceability system based on cash register subsystem.
Background technique
In recent years, in all parts of the country to occur the phenomenon that low-quality goods in the market and emerge one after another, the conjunction for the consumer that constituted a serious infringement
Method equity, and affect the stability of people's lives health and society.For this problem, it is mainly traced to the source at present using electronics
The credibility of technology raising commodity.For example, existing major part operator and associated internet company (enterprise) utilize electronics
Tracing technology realizes commodity counterfeit prevention or even part businessman using electronics tracing technology as its important means for establishing brand of promotion.
On the other hand, governments at all levels' recent years accelerate to have formulated the relevant important policies of commercial articles safety, so that commodity, drug, health care
The industrialization of tracing to the source of the commodity such as product obtains accelerated development.For example, the circulation commodity in many large and small type markets all generally post commodity
Traceability code.However, the public, which is generally deficient of, carries out the habit that barcode scanning is traced to the source to commodity, so that consumption during daily shopping
Person seldom actively or can be unwilling to carry out commodity barcode scanning and trace to the source inquiry.It is looked into further, since consumer is unwilling to carry out barcode scanning to trace to the source
Operation is ask, commodity is caused to be traced to the source using there are merchandise sales state data acquisition difficulties and many counterfeit or inferior quality goods to be multiplexed same chase after
The problems such as tracing back yard.Therefore, these problems make commodity trace to the source using being difficult to play due effect, while meaning to be badly in need of being directed to
The commodity that commodity, drug etc. are taken for people design or invent a kind of practical commodity and trace to the source scheme.
In Vehicles Collected from Market with scheme of the invention approximate there are mainly four types of:
Scheme one:
Producer is printed by third party's commodity tracing code commodity are provided trace to the source query service.In this scenario, by third party
The traceability code of printing pastes in commodity packaging, and then the public often directly by wechat or can have the soft of " sweep and sweep " function
Part carries out barcode scanning and traces to the source inquiry.
Scheme two:
Commodity are provided by commodity production producer to trace to the source query service.The program generally by the public download dedicated APP or
Public platform is paid close attention to, then commodity is carried out in the APP and traces to the source inquiry.
Scheme three:
Commodity are provided by departments of government to trace to the source query service.The program establishes a set of unification by departments of government
Commodity trace to the source application, then the public uses the application to carry out the commodity service of tracing to the source.
Scheme four:
The proprietary equipment supplier's product service of tracing to the source of tracing to the source launched by retailer oneself.The program is that individual retailers are
Promotion brand image and sales achievement oneself launch proprietary equipment of tracing to the source in market and trace to the source clothes so that the public carries out commodity
Business.
The shortcomings that existing scheme, is as follows:
1), consumer seldom can active or inquiry operation of tracing to the source commodity progress barcode scanning of being unwilling.Under normal circumstances, it consumes
Person only intuition or sees that date of manufacture or information on commodity comment judge that the commodity are when entity market or online store are done shopping
No have a quality assurance and safety, and seldom actively can carry out barcode scanning to commodity and trace to the source inquiry.It is looked into further, since some are traced to the source
The service of inquiry needs consumer to download specific APP or concern public platform or just can be carried out barcode scanning with special equipment and trace to the source to inquire to grasp
Make, traces to the source inquiry so that consumer often is unwilling to carry out barcode scanning because of trouble.
2), commodity trace to the source to apply and are difficult to collect the information whether commodity have been sold.Since consumer can seldom lead
Dynamic or inquiry operation of tracing to the source commodity progress barcode scanning of being unwilling, therefore even if commodity are had purchased by consumer, but commodity are traced to the source and are answered
The relevant information whether sold with the commodity are not still collected.
3), the same commodity tracing code is easy to be re-used.Due to consumer seldom can actively or be unwilling to commodity carry out
Barcode scanning is traced to the source inquiry operation, and the commodity that application can not collect consumer side so that commodity are traced to the source are traced to the source data, therefore are worked as
" for sale " state is still within after the commodity are purchased.That is, at this moment the traceability code of the commodity can be multiplexed to it
On its commodity.
4), commodity trace to the source application difficulty, it is difficult to reach due effect.Since existing most of commodity are traced to the source application
Require to provide query service of tracing to the source by additional carrier for consumer, even if therefore many commodity trace to the source application spend it is a large amount of
Publicity promotion expense, it is also difficult to allow consumer using the service of tracing to the source of their commodity, eventually lead to commodity and trace to the source application
It is difficult and be difficult to reach due effect.
Summary of the invention
In view of this, in order to solve the above problem in the prior art, the present invention proposes a kind of based on cash register subsystem
Commodity traceability system.
The present invention is solved the above problems by following technological means:
A kind of commodity traceability system based on cash register subsystem, comprising:
Manufacturer's ERP subsystem for storing commodity bar code, information of tracing to the source, and is provided to retailer's ERP subsystem
Commodity bar code, to commodity trace to the source application subsystem provide commodity bar code, information of tracing to the source;
Retailer's ERP subsystem, the corresponding relationship for establishing bar code and commodity into pin information, storage bar code association
With commodity into pin information, and respond the service request of cash register subsystem;
Commodity are traced to the source application subsystem, are traced to the source inquiry, and the service request of tracing to the source of response cash register subsystem for commodity;
Cash register subsystem, commodity bar code, calculating commodity price, progress commodity gathering for identification, and call retail
Quotient ERP subsystem, commodity are traced to the source application subsystem, and are showed or broadcasted commodity price to consumer in turn, information of tracing to the source, trace to the source
Index and whether outdated information.
Further, the information of tracing to the source includes commodity basic information, commodity inspection information.
Further, the commodity into pin information include commodity bar code, product name, cost price, selling price, pin
Sell state.
Further, the manufacturer ERP subsystem includes:
Commodity are traced to the source recording module, and typing commodity basic information and commodity inspection information are used for;
Api interface, the calling for related service;
Data read/write module is realized using typical database read/write technology, for being read and writen to database;
Database is realized using Common database technology, is traced to the source information, business datum for storing commodity.
Further, commodity application subsystem of tracing to the source includes:
API service interface is traced to the source the interface of query service for establishing commodity;
Commodity are traced to the source enquiry module, are traced to the source inquiry, including inquiry commodity basic information and commodity inspection information for commodity.
Further, the commodity basic information includes product name, production licence, manufacturing enterprise, main component, quotient
The product place of production, commercial specification, date of manufacture, shelf-life, commodity bar code.
Further, the commodity inspection information includes sample ID, examines item, examines batch, inspection result, publication single
Position, the date of inspection.
Further, the cash register subsystem includes:
Recognition bar code using barcode scanning technology to bar code automatically identifying and reading, and is sent to API by bar code recognition module
Interface;
Api interface, for using the bar code as commodity ID and the ID that traces to the source, calling respectively after receiving commodity bar code
The commodity basic information and commodity of retailer's ERP subsystem are traced to the source the information of tracing to the source of application subsystem;
Display, for display of commodity price, information of tracing to the source, comprising: commodity account payable, commodity basic information and inspection letter
Breath;Wherein commodity basic information includes: product name, production licence, manufacturing enterprise, main component, the commodity place of production, commodity again
Specification, date of manufacture, shelf-life, retail price, commodity bar code;Commodity inspection information includes: sample ID, examines item, inspection
Test batch, inspection result, issuing unit, the date of inspection;
Voice announcer, in commodity retailer's ERP subsystem returned by speech synthesis technique into pin information
It is traced to the source on the basis of the information synthesis voice of tracing to the source of application subsystem return with commodity, carries out commodity and trace to the source index and whether expired
The voice broadcast of information;Index of wherein tracing to the source include 6 grades, be respectively as follows: it is outstanding, preferable, good, medium, poor, do not step on
Note;Whether outdated information includes: not out of date and out of date.
Compared with prior art, beneficial effects of the present invention include at least:
1), consumer can enjoy the commodity service of tracing to the source without barcode scanning operation;
2) it, solves commodity to trace to the source using being difficult to collect whether commodity had been sold information of tracing to the source;
3) fake and inferior commodities, is effectively prevent to be multiplexed traceability code;
4) it, peomotes commodity to trace to the source the popularization of application, that reinforces playing commodity tracing technology should have effect.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the structural schematic diagram of the commodity traceability system the present invention is based on cash register subsystem;
Fig. 2 is the structural schematic diagram of manufacturer ERP subsystem of the present invention;
Fig. 3 is that commodity of the present invention are traced to the source the structural schematic diagram of application subsystem;
Fig. 4 is the structural schematic diagram of cash register subsystem of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with attached drawing and specifically
Embodiment technical solution of the present invention is described in detail.It should be pointed out that described embodiment is only this hair
Bright a part of the embodiment, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
As shown in Figure 1, the present invention provides a kind of commodity traceability system based on cash register subsystem, including manufacturer ERP
Subsystem, commodity are traced to the source application subsystem, retailer ERP subsystem and cash register subsystem.
The present invention is traced to the source with commodity using for core, integrates manufacturer ERP subsystem, retailer ERP subsystem and cash register
Subsystem realizes interconnecting for information of tracing to the source.When cashier sweeps commodity bar code, cash register subsystem will call retail automatically
ERP data and commodity are traced to the source application interface, finally commodity price, information of tracing to the source, trace to the source index and whether outdated information, pass through
Display, speech player are shown to consumer.
The manufacturer ERP subsystem is mainly used for storing commodity bar code, information of tracing to the source, and to retailer ERP
Service provider product bar code, to commodity trace to the source application subsystem provide commodity bar code, information of tracing to the source.
The retailer ERP subsystem is mainly used for storing commodity bar code, product name, cost price, sale price
Lattice, distribution state, and the service request of response manufacturer ERP subsystem and cash register subsystem.
The commodity are traced to the source application subsystem, including commodity basic information, commodity inspection information, are mainly used for responding cash register
The service request of tracing to the source of subsystem.
The cash register subsystem, including bar code recognition, api interface, display, speech player, are mainly used for calculating
Commodity price, commodity gathering and to consumer show commodity price, information of tracing to the source, trace to the source index and whether outdated information.
Major technique thinking of the invention are as follows:
Firstly, manufacturer ERP subsystem provides commodity bar code to retailer's ERP subsystem, trace to the source to commodity using son
Service provider product bar code, information of tracing to the source;
Secondly, cashier carries out the bar code recognition of commodity by scanner, and as commodity ID and traced to the source using the bar code
ID, by the api interface of cash register subsystem, respectively to retailer ERP subsystem and commodity trace to the source application subsystem send service
Request;
Then, retailer ERP subsystem and commodity application subsystem of tracing to the source respond service request respectively, and to cash register subsystem
System send commodity price, information of tracing to the source, trace to the source index and whether outdated information;
Finally, cash register subsystem by display and voice announcer, shows commodity price, letter of tracing to the source to consumer respectively
Cease, trace to the source index and whether outdated information.
As shown in Fig. 2, the manufacturer ERP subsystem, mainly include commodity trace to the source typing, api interface, data read/write,
Database is mainly used for storing commodity and trace to the source in detail information, business datum, and provides commodity item to retailer's ERP subsystem
Shape code, to commodity trace to the source application subsystem provide commodity bar code, information of tracing to the source.
The commodity are traced to the source typing, including typing commodity basic information and checking information, and wherein commodity basic information includes:
Product name, production licence number, manufacturing enterprise, the commodity place of production, commercial specification, main component, date of manufacture, shelf-life, quotient
Product bar code.Checking information includes: sample ID, issuing unit, examines item, examines batch, the date of inspection.
The api interface is realized using Https mode, is mainly used for the calling of related service.
The data read/write, using typical database read/write technology realize, be mainly used for being read out database and
Write-in.
The database is realized using Common database (such as MySQL, Oracle) technology, is mainly used for storing commodity
It traces to the source information, business datum etc..
The application subsystem as shown in figure 3, commodity are traced to the source realizes commodity and traces to the source query service, API service interface,
Including commodity basic information and commodity inspection information, it is mainly used for commodity and traces to the source inquiry, and the service of response cash register subsystem
Request.
The commodity basic information, including product name, production licence, manufacturing enterprise, main component, the commodity place of production,
Commercial specification, date of manufacture, shelf-life, retail price, commodity bar code.
The commodity inspection information, including sample ID, inspection item, inspection batch, inspection result, issuing unit, inspection
Date.
The retailer ERP subsystem mainly includes bar code association and commodity into pin information.Here, mainly pass through life
Business men ERP subsystem provide commodity bar code, establish bar code and commodity into pin information corresponding relationship.Specifically such as 1 institute of table
Show.
The corresponding relationship schematic table of 1 bar code of table and commodity into pin information
As shown in figure 4, the cash register subsystem, mainly includes bar code recognition, api interface, display and voice broadcast
Device, for identification commodity bar code, calculate commodity price, carry out commodity gathering, and ERP data, commodity is called to trace to the source application
Service, and show or broadcast commodity price, information of tracing to the source by display, voice announcer in turn, trace to the source index and whether mistake
Phase information.
The bar code recognition is to be sent to using barcode scanning technology to bar code automatically identifying and reading, and recognition bar code
Api interface.
The api interface is realized using Https mode, and according to the commodity bar code received, further calls ERP
Data, commodity are traced to the source application service.
The display, for showing information of tracing to the source, content mainly includes commodity account payable, commodity basic information and commodity
Checking information.Wherein commodity basic information includes: product name, production licence, manufacturing enterprise, main component, commodity production again
Ground, commercial specification, date of manufacture, shelf-life, retail price, commodity bar code.Commodity inspection information includes: sample ID, inspection
It tests item, examine batch, inspection result, issuing unit, the date of inspection.
The voice announcer, for carry out voice broadcast commodity trace to the source index and whether outdated information.It wherein traces to the source finger
Number includes 6 grades, is respectively as follows: outstanding, preferable, good, medium, poor, unregistered.Whether outdated information includes: not out of date
With it is out of date.
The present invention, which tries hard to solve consumer, seldom actively or can be unwilling to carry out trace to the source inquiry, commodity of commodity barcode scanning and trace to the source and answer
Be difficult to acquire merchandise sales status information, the same commodity tracing code is easy to be re-used and commodity are traced to the source application difficulty etc.
Problem.This method is traced to the source with commodity using for core, and integration produces ERP system, retailer ERP subsystem and cash register subsystem,
Realize that commodity basic information, information of tracing to the source interconnect.That is, when cashier's scan product barcode, cash register
System traces to the source the automatic commodity data for calling retail ERP system and commodity the data of tracing to the source of application subsystem, finally commodity
Price, information of tracing to the source, trace to the source index and whether outdated information, consumer is passed to by display, speech player.
The present invention is traced to the source with commodity using for core, integrates manufacturer ERP subsystem, retailer ERP subsystem and cash register
Subsystem realizes that commodity basic information, information of tracing to the source interconnect.That is, when cashier's scan product barcode,
Cash register subsystem traces to the source the automatic commodity data for calling retail ERP system and commodity the data of tracing to the source of application subsystem, finally
Commodity price, information of tracing to the source, trace to the source index and whether outdated information, consumer is passed to by display, speech player.
The invention enables consumers in payment, can enjoy commodity without any operation and trace to the source query service, and can be further
It realizes the data acquisition of merchandise sales state and is effectively prevented fake and inferior commodities and be multiplexed the same traceability code.On the other hand,
Application that the present invention helps to improve the dynamics of commercial articles safety supervision, promotion commodity are traced to the source and the lawful right for ensureing consumer
Deng.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.