| With so many high-end counterfeit liquor products in recent years and more advanced ways of counterfeiting, the traditional anti-counterfeiting technology is unable to meet the requirements. Therefore the industry needs an effective anti-counterfeiting and product identification solution. Against the status quo, this thesis put forward an NFC solution for anti-counterfeiting and product identification solution which uses NFC smart mobile terminal as the read/write identification device, uses CPU RFID tag as anti-counterfeiting carrier and supported by background system and database. The solution makes counterfeiters more difficult to fake, helps consumers to identify products more conveniently and makes enterprises control their supply-chain information more accurately. The main innovation points can be summarized as below: 1. This solution puts forward a thought on identification device selection, uses android smart mobile terminal which supports NFC as the read/write identification device, which makes it more available to common consumers.2. With the cracking of security algorithm of Mifare One tag in 2008, it is no longer safe to use Mifare One tags. The system discussed here uses tag with CPU chip inside as the carrier of anti-counterfeiting identification data for liquor products. The CPU chip contains microprocessor, system on chip and random number generator, with its hardware supporting 3DES classic encryption algorithm. All of these make mutual authentication possible between read/write identification device and CPU chip. Avoiding the security vulnerability of Mifare one solution, this solution makes anti-counterfeiting carrier safer.Firstly, requirements of the anti-counterfeiting and product identification field are investigated in the thesis. Then, requirements are analyzed respectively for security and traceability purposes. Core business processes of anti-counterfeiting and product identification are analyzed in detail through sequence diagram. Through overall and detail design, combined with implementation and testing, the thesis proved that the anti-counterfeiting and product identification system based on NFC technology is feasible and safe. In the overall design part of this thesis, we give overall structure, function module design of client application and server system. It uses one of the J2EE architecture which is called SSH on the server side. We also design database table structure and internal file structure on the embedded tag. Meanwhile, this thesis also elaborates on the security architecture design on that chapter. It explains the security architecture design emphatically. In the part of detail design and key functions realization, class diagrams are given for the core modules of client application and server system, relevant codes are listed and elaborated. Finally, the system function has been tested. Also system performance has been tested by LoadRunner, which is known as an automatic testing tool to ensure system functional correctness and the stability of the system under high pressure.The system after the trial operation earned client approval. The establishment of the system facilitates liquor products identification, cuts the loss at levels of consumers, enterprises and country. Various circulation links of the data collection also provide an efficient way to accurately control the inventory management cost and product circulation for a company. |