A kind of cigarette retailing terminal have a monopoly in false proof control method and systemTechnical field
The present invention relates to a kind of cigarette retailing terminal have a monopoly in false proof control method and system.
Background technology
One, existing two-dimension code anti-counterfeit system principle and its defective
At present some tobacco productive corporations (for example in Hongta Group, the Jilin cigarette etc.) have been stamped two-dimension code anti-counterfeit on the capsule of cigarette and barrel packing, its main false proof principle is: two-dimension code is accomplished " one yard of a product ", and promptly each barrel or capsule all have unique two-dimension code corresponding with it.The consumer is scanned two-dimension code, obtains the unique number of commodity, is networked to the relevant information that this numbering is inquired about on the backstage then, if this numbering does not exist in background data base or existence but invalid, can think that these commodity are counterfeit goods.
And a kind of method of fraud is a print reproduction necessary being two-dimension code on false smoke.In order to prevent this fraud mode,, might it be to be forged to have duplicated if can stipulate that in system two-dimension code is repeatedly inquired about.But this way produces little effect on false proof at present, and main cause is: the consumer seldom has the custom of scanning two-dimension code.In addition, because two-dimension code checking at present need at first allow the consumer know this verification method (needing certain propaganda cost), and downloads special mobile phone client software, objectively reduced the consumer colony quantity of checking two-dimension code more.
The present two-dimension code false smoke of having no idea to stop technically.The all information of two-dimension code all has been included in above the graphic dot matrix, and only needing the copy pattern dot matrix is reproducible all 2 D code informations, thereby it does not have " not reproducible " property.The true and false that defines cigarette with " if two-dimension code whether promptly might be false smoke by repeatedly inquiring about " is insecure.At first, if having only 1% consumer can scan the two-dimension code inquiry, have only this people of 1% to discern the false from the genuine with this so at most, other 99% people can therefrom not acquire benefit.At last,, two-dimension code also is difficult to say something, because there is several factors can cause two-dimension code before cigarette arrives in consumer's hand, just to be inquired about even repeatedly having been inquired about.
Two, existing laser is beaten code system principle and its defective
Tobacco company has generally adopted laser to beat the mode that sign indicating number is traced back to retail shop now, its principle is: tobacco company engraves the set of number sequence number with laser mode on the bar cigarette, numeric sequence number is that every cigarette is unique, and has corresponded to this cigarette and should mail to tobacconist (last several of sequence number is back several of tobacconist tobacco monopolization credit number).The consumer need verify with the naked eye that sequence number is whether number corresponding with the tobacco monopolization card when buying the bar cigarette, if corresponding, then explanation probably is true cigarette, otherwise then might be false smoke.Tobacco company beats code system with laser and has obtained certain success, stamps its special-purpose sequence number because the fake producer is difficult at some tobacconists, and imitation behavior obtains certain containment.But this mode also exists some problems:
1. what adopt when cigarette is sold is that non-electronics mode is verified, this requires the consumer that certain vigilance is arranged, inspection requirements can be proposed then and there, in fact, a lot of consumers do not carry out this inspection when buying the bar cigarette, and the situation of checking is had no way of grasping by tobacco company, thereby the sequence number of conducting a compulsory examination when also can't require the retail family to sell cigarette;
2., duplicate on false smoke that the sequence number of true cigarette still is easy to realize though sequence number has increased fake producer's cost.If retail shop is sold 10 cigarette that are equipped with same sequence number, the identification of having no idea at present.
3. if the consumer does not find then and there that the cigarette of purchasing is a false smoke, goes back afterwards to illustrate that cigarette is that certain tame retail shop is sold, in default of relevant evidence.
4. on capsule, beat sign indicating number owing to can not seal off barrel, change system and can only control the cigarette barrel at present, cannot be extrapolated to capsule.
Summary of the invention
The purpose of this invention is to provide a kind of low cost, simple, eye-catching, exercisable mode used allows the consumer understand the cigarette retailing terminal of the legitimacy in cigarette source have a monopoly in false proof control method and system when buying cigarette.
The cigarette retailing terminal of the present invention false proof control method of having a monopoly in is:
1) tobacco company generates one group of unduplicated unique code with the sale monopoly control system, but at the unique code of printing or paste this group electronic recognition on the bar cigarette, for example two-dimension code or bar code (if on the bar cigarette existing unique code can skip this step operate);
2) tobacco company is before cigarette mails to a certain specific retail shop, (unique code can bestep 1 stickup or print to read unique code with hand-held or fixed unique code fetch equipment, also can be that tobacco productive corporation prints to unique code on the stip cigarette packing in modes such as two-dimension code or bar codes), and mailing to retail shop information recorded in the sale monopoly control system;
Use mobile phone or the computer that is connected to the sale monopoly controller when 3) cigarette is sold at the retail family, perhaps special sale monopoly controller reads unique code, whether sale monopoly controller networking checking cigarette sends to this retail family by tobacco company, and with acousto-optic mode display result.
The cigarette retailing terminal of the present invention false proof control system of having a monopoly in is made up of background management system, peripheral software (tobacco company, retail shop), peripheral hardware (tobacco company, retail shop) three parts; Background management system comprises: coding generation module (generating the unique code coding), coding recognition and sending module (recognition unique code coding, the record logistics sends information), verification module (verification is from the coded query of retail shop), authentication module (user identity management), business and system management module (system and service management); Peripheral software comprises: coded program (the unique code coding that generates is got on the label) is beaten by tobacco company; Coded program (the unique code coding on the recognition label), retail shop sale monopoly control program (retail shop is swept sign indicating number, sends to whether the background system inquiry is the cigarette of regular channel) are swept by tobacco company; Peripheral hardware comprises: tobacco company becomes code printer (printing the unique code of bar code or two-dimension code), decoding apparatus (unique codes such as electron scanning bar code or two-dimension code), retail shop sale monopoly controller (legitimacy of unique code on the checking cigarette) are swept by tobacco company.
Described terminal is made up of sale monopoly controller hardware and sale monopoly control program two parts with the sale monopoly controller.
The sale monopoly controller comprises microprocessor, storage chip (optional), state of a control pilot lamp, communication interface chip (bluetooth, USB or other communication protocol chips) etc.Storage chip, communication interface chip, state of a control pilot lamp all are connected with microprocessor, this controller is connected to the band camera by bluetooth or USB or other communication modes or sweeps on the computer or smart mobile phone of decoding apparatus (simple type), perhaps this controller be integrated the specific installation of camera (complexity).
The sale monopoly control program: operate in the program on mobile phone, computer or the complexity sale monopoly controller, have and sweep the sign indicating number and the query function of networking, and to the control function of sale monopoly controller (whether sounding light signal etc.).
When cigarette sale monopoly controller is sold cigarette at every turn, start the sale monopoly application program on computers or on the smart mobile phone, by smart mobile phone camera, computer camera or scanner, or other recognizing apparatus read the unique code on the bar cigarette, by network unique code are sent to background server then and do checking.After computer or smart mobile phone receive the answer of background server, return information is sent to the sale monopoly controller, the latter replys according to difference has different acousto-optics to show: it is correct to beat sign indicating number as green light-cigarette, is that tobacco company sends to this retail shop product; Red light-other situations, it is illegal to comprise that cigarette is beaten sign indicating number, or is not that tobacco company sends to this retail shop product, or this product was verified or the like; Amber light-test is used.
The sale monopoly controller uses electronic equipment cheaply, and hardware cost is low, is fit to large-scale promotion and uses.All communications are handled through asymmetric cryptosystem, and the answer that only comes from tobacco company's server could allow controller react (bright lamp, sounding etc.) to some extent.
The cigarette retailing terminal of the present invention false proof control system of having a monopoly in has higher anti-false smoke, non-cigarette (informal channel cigarette) ability, remedies the deficiency of existing two-dimension code, sequence number Antiforge system, has following characteristics:
1. can check out false smoke, non-cigarette (improper channel cigarette) effectively.Owing to added the material flow tracking function, the fake producer must be at each tobacconist customization false smoke and two-dimension code, otherwise the two-dimension code checking still can't pass through, and this needs tobacconist initiatively its two-dimension code to be issued the fake producer simultaneously, has objectively increased the difficulty and the risk of faking.But not cigarette just at all can't be by control.
2. sign is distinct, makes things convenient for the consumer to understand.If " sale monopoly controller " gives a green light, the expression cigarette has passed through the control of tobacco monopoly bureau, and having very big may be regular channel cigarette; If " sale monopoly controller " sends out a warning or sign indicating number is unwilling to sweep in the retail family, having very big may be false smoke or non-cigarette.In the course of time, the consumer can be familiar with this sales mode gradually and understand the purposes of " sale monopoly controller ", guards psychology thereby improve when retail shop is unwilling to sweep yard.
3. allow tobacco company realize comprehensive control to the terminal retail.Owing to can take multiple mode to encourage the retail family, even adopt the means of administrative arbitrariness to require the retail family to sweep sign indicating number, can significantly improve effectively and sweep code check, even reach 100%, thereby realization be to comprehensive Electronic Control of cigarette retailing.
4. broad covered area can be generalized on all bar cigarettes, and promptly all bar cigarettes are sold all can be through the control of " sale monopoly controller ".If production of cigarettes factory cooperates even can be generalized on all capsules.
5. low being easy to of cost promoted, and uses the sale monopoly controller, cooperates the mobile phone at existing retail family, the mode of computer can effectively reduce promotion expense.
Description of drawings
Fig. 1 is the cigarette retailing terminal of the present invention false proof control system block diagram of having a monopoly in.
Fig. 2 is cigarette retailing terminal of the present invention false proof controller (simple type) structured flowchart of having a monopoly in.
Fig. 3 is cigarette retailing terminal of the present invention false proof controller (complexity) structured flowchart of having a monopoly in.
Fig. 4 is the cigarette retailing terminal of the present invention false proof control system workflow diagram of having a monopoly in.
Embodiment
The cigarette retailing terminal of the present invention false proof control method of having a monopoly in is:
1) tobacco company generates one group of unduplicated unique code with the sale monopoly control system, but at the unique code of printing or paste this group electronic recognition on the bar cigarette, for example two-dimension code or bar code (if on the bar cigarette existing unique code can skip this step operate);
2) tobacco company is before cigarette mails to a certain specific retail shop, (unique code can bestep 1 stickup or print to read unique code with hand-held or fixed unique code fetch equipment, also can be that tobacco productive corporation prints to unique code on the stip cigarette packing in modes such as two-dimension code or bar codes), and mailing to retail shop information recorded in the sale monopoly control system;
Use mobile phone or the computer that is connected to the sale monopoly controller when 3) cigarette is sold at the retail family, perhaps special sale monopoly controller reads unique code, whether sale monopoly controller networking checking cigarette sends to this retail family by tobacco company, and with acousto-optic mode display result.
The cigarette retailing terminal of the present invention false proof control system of having a monopoly in is:
As shown in Figure 1, the cigarette retailing terminal false proof control system of having a monopoly in is made up of background management system, peripheral software (tobacco company, retail shop), peripheral hardware (tobacco company, retail shop) three parts; Background management system comprises: coding generation module (generating the unique code coding), coding recognition and sending module (recognition unique code coding, the record logistics sends information), verification module (verification is from the coded query of retail shop), authentication module (user identity management), business and system management module (system and service management); Peripheral software comprises: coded program (the unique code coding that generates is got on the label) is beaten by tobacco company; Coded program (the unique code coding on the recognition label), retail shop sale monopoly control program (retail shop is swept sign indicating number, sends to whether the background system inquiry is the cigarette of regular channel) are swept by tobacco company; Peripheral hardware comprises: tobacco company becomes code printer (printing the unique code of bar code or two-dimension code), decoding apparatus (unique codes such as electron scanning bar code or two-dimension code), retail shop sale monopoly controller (legitimacy of unique code on the checking cigarette) are swept by tobacco company.Wherein background management system, peripheral software and tobacco company become code printer, tobacco company and sweep decoding apparatus etc. and be prior art.
Described terminal is made up of sale monopoly controller hardware and sale monopoly control program two parts with the sale monopoly controller.
The sale monopoly controller hardware comprises microprocessor (for example AT91SAM9G35), communication interface chip (bluetooth or USB or other, for example PDIUSBD12), storage chip (for example W25Q64), state of a control pilot lamp.Communication interface chip, storage chip, state of a control pilot lamp all are connected with microprocessor, this controller is connected to the band camera by bluetooth or USB or other communication modes or sweeps on the computer or smart mobile phone of decoding apparatus (simple type) as shown in Figure 2, and perhaps this controller specific installation of camera (complexity) that is integrated as shown in Figure 3.
The sale monopoly control program: operate in the program on mobile phone, computer or the complicated sale monopoly controller, have and sweep the sign indicating number and the query function of networking, and to the control function of sale monopoly controller (whether sounding light signal etc.).
When cigarette sale monopoly controller is sold cigarette at every turn, start the sale monopoly application program on computers or on the smart mobile phone, by smart mobile phone camera, computer camera or scanner, or other recognizing apparatus read the unique code on the bar cigarette, by network unique code are sent to background server then and do checking.After computer or smart mobile phone receive the answer of background server, return information is sent to the sale monopoly controller, the latter replys according to difference has different acousto-optics to show: it is correct to beat sign indicating number as green light-cigarette, is that tobacco company sends to this retail shop product; Red light-other situations, it is illegal to comprise that cigarette is beaten sign indicating number, or is not that tobacco company sends to this retail shop product, or this product was verified or the like; Amber light-test is used.
With the two-dimension code is example, the working method of sale monopoly controller:
When 1, sweeping sign indicating number, sale monopoly control program (sweeping a yard software) reads a random number from the sale monopoly control unit interface at every turn, and the sale monopoly controller writes down this random number, and keeps the effective status of this random number at most subsequently 1 minute;
2, in order to keep the possible dispute of evidence reply, the photo of the sign indicating number when at every turn sweeping yard can be retained on computer or the smart mobile phone.
3, the sale monopoly control program sends to server end with the information that comprises in the two-dimension code and the random number that reads and does checking from the sale monopoly controller; The instruction that will send out a warning or give a green light behind the server authentication two-dimension code, and random number use key packaging ciphering send it back the sale monopoly Control Software;
4, the sale monopoly control program directly is transmitted to the sale monopoly controller with the information of server packing, have only the sale monopoly controller to have key can untie this information encrypted bag, untie success, the sale monopoly controller checks at first whether random number is correct, effective, if then random code is changed to invalid, carry out bright lamp operation subsequently, if not then not reaction.
As can be seen from the above, the response that only comes from server can be controlled the opening and closing that " sale monopoly controller " goes up lamp, and a two-dimension code can only allow " sale monopoly controller " bright green light at most, has so just avoided the retail family to forge the problem that " sale monopoly control program " repeats to send to " sale monopoly controller " order that gives a green light.