Summary of the invention: purpose of the present invention is exactly in order to overcome the above problems, a kind of anti-counterfeit anti-changing terminal device and method are provided, this anti-counterfeit anti-changing terminal device can to the sign bar code of commodity carry out scan decoder and have radio transmission-receiving function, can with server exchange anti-counterfeit anti-changing information; This method for anti-counterfeit by with server exchange information acquisition commodity true and false, allow information such as selling spot, the present invention can distinguish visible or stealthy one dimension or/and two-dimensional bar code, easy to use provides anti-counterfeit anti-changing solution efficiently.
A kind of anti-counterfeit anti-changing terminal device disclosed by the invention, comprise electrical connection can the scan decoder one dimension or/and the bar code reading module of two-dimensional bar code and can wireless transmission from the data of described bar code reading module and wireless communication module with wireless receiving function, what also comprise available use is electrically connected, prints the print module from the data of described bar code reading module with described bar code reading module; Scanister, pcb board and gearing that described bar code reading module comprises housing, is positioned at scanning window, LCD, the keyboard on the housing and is fixedly mounted on described enclosure interior, described LCD, keyboard and scanister are electrically connected with pcb board; Described scanister links to each other with gearing power, to-and-fro movement in described scanning window.
A kind of anti-counterfeit anti-changing method disclosed by the invention comprises the steps:
1) uses the scanning of anti-counterfeit anti-changing terminal device attached to information bar code on the commodity and decoding, obtain the merchandise news character string;
2) id information and the combination of described merchandise news character string that it is unique of described anti-counterfeit anti-changing terminal device obtains composite information;
3) described anti-counterfeit anti-changing terminal device is sent to specified server with described composite information by wireless communication networks by wireless communication module;
4) described server receives described composite information, obtains unique id information and the described merchandise news character string of described anti-counterfeit anti-changing terminal device, and in its database, search in storage, that write down the pairing id informations of all the anti-counterfeit anti-changing terminal devices in advance information table, if there is described id information in the described information table, judge that then described anti-counterfeit anti-changing terminal device for true, entered for the 5th step; If there is not described id information in the described information table, then judge described anti-counterfeit anti-changing terminal device for false, described server is sent to described wireless communication module with described anti-counterfeit anti-changing terminal device for false information, no longer carries out following steps;
5) described server is deciphered described merchandise news character string, obtain the unique id information of these commodity, and in its database, search in commodity id information table storage in advance, that write down the pairing unique id information of all commodity, if the unique id information of described commodity exists, judge that then these commodity are product of an established trade mark, entered for the 6th step; If the unique id information of described commodity does not exist, judge that then these commodity are fake product, described server then is that the information of fake product is sent to described wireless communication module with these commodity, shows the information of described fake product in the described anti-counterfeit anti-changing terminal device; No longer carry out following steps;
6) described server obtains the geographical location information at described anti-counterfeit anti-changing terminal device place by described wireless communication networks, and with in described geographical location information and its database in advance the standard of these commodity of storage sell area information and compare, if it is consistent, then judge the not transregional string goods sale of these commodity, entered for the 7th step; If inconsistent, judge that then these commodity belong in violation of rules and regulations transregional string goods and sell, described server then is sent to described wireless communication module with the information that in violation of rules and regulations transregional string goods is sold; Show the information that in violation of rules and regulations transregional string goods is sold in the described anti-counterfeit anti-changing terminal device; No longer carry out following steps;
7) described server generates and stores a dynamic password, is sent to described wireless communication module together with this descriptive labelling information of storing in advance in its database; Show described dynamic password descriptive labelling information in the described anti-counterfeit anti-changing terminal device;
8) print module of described anti-counterfeit anti-changing terminal device prints the document that comprises described dynamic password and described descriptive labelling information.
A kind of anti-counterfeit anti-changing method disclosed by the invention also comprises the steps:
9) use a kind of communication tool that dynamic password is sent to described server, described server judge this dynamic password whether with its database in advance the described dynamic password of storage conform to, if conform to, then regenerate the also dynamic password of storage update, freeze former dynamic password, the dynamic password of described renewal is sent back described communication tool together with described descriptive labelling information; If do not conform to, described server then transmits " dynamic password is made mistakes " information to described communication tool; Whenever described server is received dynamic password and is always judged that whether it conform to up-to-date dynamic password, if conform to then freeze former dynamic password, generation, store and return the dynamic password that described communication tool upgrades; Otherwise return " dynamic password is made mistakes " information to described communication tool.
A kind of anti-counterfeit anti-changing terminal device disclosed by the invention has wireless communication module, can be by wireless mode and server exchange anti-counterfeit anti-changing information; Have unique id information, can distinguish whether legal inquiry; Have and comprise having the visible or/and optical scanning sensor of invisible light source of human eye, can distinguish the bar code information of one dimension and/or two dimension and visible and invisible fat ink print.This anti-counterfeit anti-changing method disclosed by the invention, in the data in server storehouse, have the commodity id information table of the pairing unique id information of information table, all commodity of the pairing id information of all anti-counterfeit anti-changing terminal devices and the standard of all commodity and sell area information, can accurately judge the true and false of commodity and the goods of whether going here and there and sell; Because 300 pairs of legal each time inquiries of server all generate and store a dynamic password, support user's repeatedly inquiry repeatedly, and can be not stolen.
Embodiment: below in conjunction with the drawings and specific embodiments the present invention is described in further details.
See also Fig. 1 and Fig. 2, anti-counterfeit anti-changing terminal device of the present invention mainly is made up of bar code reading module 1, wireless communication module 2 and print module 3.Described wireless communication module 2 is connected with bar code reading module 1 by communication interfaces commonly used such as RS232, USB respectively with print module 3, also can be enclosed in the housing, connects by internal wiring.
Bar code reading module 1 further comprises housing 11, is installed in scanning window 12, LCD display 13, keyboard 14 on the housing 11.
One fluting 21 is arranged on print module 3, have power supply and data-interface in the fluting 21.Wireless communication module 2 is positioned at fluting 21 and connects its power supply and data-interface.Support 22 is fixed on wireless communication module 2 on the described anti-counterfeit anti-changing terminal device, is arbitrarily taken away preventing.
Have charging device in the print module 3, when the power interface of fluting in 21 was connected to the VIN of wireless communication module 2 and GND port, charging device charged for described wireless communication module 2.
Has warning device in the print module 3, for example a kind of hummer; Fluting has sensitive switch in 21, though when wireless communication module 2 in fluting 21 or when being positioned at fluting 21 and not having normal electrical to contact, warning device warning; For example in fluting 21, the high level pin of a pin and described wireless communication module 2 contacts, and when this pin level changes, triggers buzzer warning.Described warning device can be by the control of warning function switch.
Fluting 21 also can be positioned on the bar code reading module 1, and charging device and warning device are also included within the bar code reading module 1.
Please in the lump with reference to Fig. 3 and Fig. 4, described bar code reading module 1 further comprises scanister 15, pcb board 16 and the gearing 17 that is installed in described housing 11 inside.Scanister 15 mainly comprises optical scanning sensor 151, focuses projection 152, sliding guide groove 153, be fixed on the guide rod 154 on the housing 11.Described optical scanning sensor 151 top surface edge are equipped with some wear-resisting projections 152 that focus, and the top that focuses projection 152 is higher than optical scanning sensor 151 upper surfaces, optical scanning sensor 151 bottoms are equipped with a sliding guide groove 153, the sliding guide groove 153 of described optical scanning sensor 151 by the bottom slidably frame on guide rod 154, and and the synchronous belt 171 of gearing 17 chimeric fixing.
Described gearing 17 mainly comprises a motor 172, belt wheel 173 and synchronous belt 171.Belt wheel 173 is connected transmission by synchronous belt 171 with motor 172 interior gear sets (not marking among the figure), and the sliding guide groove 153 of synchronous belt 171 and optical scanning sensor 151 bottoms is chimeric.During work, the gear set in the motor 172 rotates, and cooperates belt wheel 173, drives synchronous belt 171 transmission within the specific limits, because synchronous belt 171 and sliding guide groove 153 are chimeric, so optical scanning sensor 151 just produces motion.
Optical scanning sensor 151 slides in scanning window 12 scopes, the projection 152 that focuses at edge is close to transparent plate bottom on the scanning window 12, focusing projection 152 adopts high-abrasive material to make, when scanister 15 moves back and forth, can guarantee optical scanning sensor 151 and scanned optical focus like this, can avoid again causing damage with the transparent plate friction on optical scanning sensor 151 surfaces.
Described optical scanning sensor 151 has visible light source and invisible light source, and visible light source for example is cold cathode luminous source or red, green, blue light source, is used to scan gray scale or colored bar code or two-dimensional bar code.Invisible light source for example is infrared light supply or ultraviolet source, is used for the bar code of scanned infrared printing ink or ultraviolet ink printing.
As shown in Figure 5, further comprise CPU processor, scan control module, transmission control module, display module, storer, power supervisor module, keyboard interface, communication control module, printing control model and hummer on the pcb board 16 of anti-counterfeit anti-changing terminal device of the present invention.
The wireless telecommunications system 2 of anti-counterfeit anti-changing terminal device of the present invention can adopt wireless terminals such as mobile phone, PDA to carry out the wireless receiving and dispatching of information, and be connected with communication control module in the pcb board by the communication interface a kind of commonly used among RS232, PS/2, the USB, the anti-counterfeit anti-changing terminal device employing mobile phone of present embodiment is as embodiment.Described wireless communication module 2 sends CPU processor specified message to particular terminal, receives return message then, and sends the CPU processor to.
A kind of embodiment of the print module 3 of anti-counterfeit anti-changing terminal device of the present invention adopts embedded printer, be connected with printing control model by a kind of in the communication interfaces such as RS232, PS/2, USB, and print information needed according to the instruction of CPU processor, and from exit slot 31 the output print result.
The principle of work of anti-counterfeit anti-changing terminal device of the present invention as shown in Figure 6.Be printed on the sightless bar code 112 of human eye above the commodity 110, described bar code 112 can be the one dimension sign indicating number, can be two-dimension code also, the descriptive labelling information such as unique id information, model, producer 330 that comprise commodity obtain after through the special algorithm encryptions and attached on the commodity.Because bar code 112 is invisible, so neither hinder the attractive in appearance of commodity 110, has antiforge function simultaneously.
Described bar code 112 is placed on scanning on described bar code reading module 1 scanning window 12.When equipment is started working, the CPU processor sends signal to scanister 15 and gearing 17 respectively via scan control module and transmission control module, at this time motor 172 is started working, and drive scanister 15 by synchronous belt 171 and move back and forth 151 pairs of scanned scannings of optical scanning sensor; The view data that scanister 15 will scan gained is sent to data processing module, view data is rotated, goes processing such as black surround, error correction, then the view data after handling is decoded, obtain the commodity character string 210 of an encryption, and the anti-counterfeit anti-changing terminal device itself has the unique id information 212 that comprises self information, the CPU processor obtains the composite information 200 of encryption with described commodity character string 210 and id information 212 by specific computing, and shows on LCD 13.
Composite information 200 is directly sent to specified server 300 by wireless communication networks by wireless communication module 2.Perhaps, the user is with reference to the composite information on the LCD 13 200, send by the keyboard 14 operation information of carrying out, this moment, the CPU processor sent instruction to wireless communication module 2 as mobile phone through communication control module, with described composite information 200 by wireless communication networks to specified server 300 transmissions.
The integrated information of server 300 storing commodity has huge database, and has data processing function.In the database of server 300, comprise the information table that has write down the pairing id informations of all anti-counterfeit anti-changing terminal devices; Also comprise the commodity id information table that has write down the pairing unique id information of all commodity; Also comprise and the accurate one to one information table of selling area information of all commodity.
The anti-counterfeit anti-changing method that the present invention also provides please refer to Fig. 8, mainly comprises the steps:
At first utilize cryptographic algorithm to obtain the merchandise news bar code, as one dimension sign indicating number or two-dimension code, and by invisible medium such as infrared medium etc. attached on the commodity;
Scan described merchandise news bar code with anti-counterfeit anti-changing terminal device of the present invention, and decoding, the commodity character string 210 of encrypting obtained;
The id information sign indicating number 212 of described anti-counterfeit anti-changing terminal device and described commodity character string 210 are encrypted by computing and are obtained composite information 200;
The wireless communication module 2 of described anti-counterfeit anti-changing terminal device is sent to specified server 300 with described composite information 200 by wireless communication networks;
After described server 300 receives described composite information 200, decoding, deciphering, obtain unique id information 212 of described anti-counterfeit anti-changing terminal device and described merchandise news character string 210, and search the unique id information table of each equipment of correspondence of storing in advance from its database of the unique id information 212 of the described anti-counterfeit anti-changing terminal device that will obtain, as existing, then this anti-counterfeit anti-changing terminal device is true; If do not exist, then this equipment be false, and 300 of described servers are sent to wireless communication module 2 with these information, and end anti-counterfeit anti-changing querying flow.
Described merchandise news character string 210 deciphering that described server 300 will obtain, obtain the unique id information of these commodity 214, and in the database information table that stores the unique id information of each commodity in advance, search, the unique id information 214 of commodity exists as described, and then these commodity are genuine article; If do not exist, then these commodity are for forging, and 300 of described servers are sent to wireless communication module 2 with these information, and finish the anti-counterfeit anti-changing querying flow.
Described server 300 is according to described composite information 200 that receives and the geographical location information that obtains described anti-counterfeit anti-changing terminal device place by described wireless communication networks, and in the geographical location information at the described anti-counterfeit anti-changing terminal device place that will obtain and its database in advance this commodity standard of storage sell area information and compare, as unanimity, then the not transregional string goods of these commodity is sold; If inconsistent, then these commodity belong to transregional string goods and sell, and 300 of described servers are sent to wireless communication module 2 with these information, and finish the anti-counterfeit anti-changing querying flow.
If equipment is that genuine article and not transregional string goods are sold for true, commodity, then described server 300 generates and stores a dynamic password 320, is sent to described wireless communication module 2 together with descriptive labelling information 330 again.
Described dynamic password 320 that the wireless communication module 2 of described anti-counterfeit anti-changing terminal device receives and described descriptive labelling information 330 are presented on the screen or LCD display 13 that carries.Described wireless communication module 2 sends back the CPU processor with the data that receive, be kept in the data processor, according to user's needs, the CPU processor can be sent to data in the print module by printing control model, and prints the document 400 that includes dynamic password 320 and descriptive labelling information 330.
Described document 400 and commodity flow together, user or buyer can be sent to server 300 by wireless or wire communication equipment commonly used with the dynamic password on the document 400 320, described server 300 receive these dynamic passwords 320 and with database in storage in advance dynamic password 320 relatively, if comparing result conforms to, 300 of servers produce new dynamic password 3201 at random, store the original dynamic password 320 of replacement, and send it back former communication apparatus together with merchandise news 330 transmission; If comparing result does not conform to, then the information with " dynamic password is made mistakes " is sent to former communication apparatus.
If the consumer repeats inquiry, then must send new dynamic password 3201 (being the present dynamic password) to server 300, described server 300 receive these dynamic passwords 3201 and with database in present dynamic password 3201 relatively, if comparing result conforms to, 300 of servers produce new dynamic password 3201 at random, store the original dynamic password 3201 of replacement, and send it back former communication apparatus together with merchandise news 330; If comparing result does not conform to, then the information with " dynamic password is made mistakes " is sent to former communication apparatus.
If businessman uses the anti-counterfeit anti-changing terminal device to repeat inquiry, the dynamic password 320 that produces again of server 300 then.
Decoded results can be an example with the tobacco sale, in conjunction with Fig. 7, the tobacco manufacturer is with descriptive labelling information 330 scrambleds, one dimension or two-dimensional bar code can be selected to adopt by businessman, and utilize invisible medium such as infrared medium that bar code is posted in the packing box surface, so both can not influence the attractive in appearance of packing, also can improve the confidentiality of information.
Described product description information 330 can be self-defined by the client, as: name of product, manufacturer, the place of production, date of manufacture and price or the like.After described bar code is by anti-counterfeit anti-changing terminal device scan decoder of the present invention, obtain composite information, and send to server by wireless communication module, and acquisition feedback information, if described composite information is correct, then include product description information 330 and dynamic password 320 in the feedback information, as shown in Figure 7; If composite information is incorrect, i.e. incorrect the or trans-regional sale of commodity of anti-counterfeit anti-changing terminal device id information id information incorrect or that commodity are unique then feeds back to the information of " makeing mistakes ".
If server 300 receives incorrect dynamic password 320, then its feedback obtains the information of " dynamic password is made mistakes ".
As seen, anti-counterfeit anti-changing terminal device of the present invention and method for anti-counterfeit not only can scan, decode visible or sightless one dimension of human eye and/or two-dimensional bar code, receive and send messages by wireless network, and display result, more utilize the mode of upgrading dynamic password to realize the antiforge function of " No. one, a thing " well, in fields such as commodity counterfeit prevention and logistics management, play a positive role.