Safety Traceability System of Characteristic Food Based on RFID and EPC Internet of Things

— In order to realize the safe traceability of the whole life cycle of the “Old Godmother Flavor Food”, the RFID (Radio Frequency Identification Devices) technology is applied to the data acquisition of raw material purchasing, production processing, warehousing management, logistics and transportation. A kind of special food safety traceability network model was put forward based on RFID technology, and the RFID label EPC encoding rules are designed on “Old Godmother Flavor Food”; according to the demand analysis of characteristic food safety traceability system, the system design and implementation are carried out based on B/S and C/S architecture.


Introduction
In recent years, many researchers at home and abroad have been devoted to the study of product safety traceability, and have proposed many effective methods and models for traceability [1][2][3]. However, due to the impact of technological level, practice environment and related factors, it has not yet realized the safe traceability of food life cycle from raw material procurement, production processing, warehousing management, logistics and transportation [4][5][6].
RFID technology compared with other automatic identification technology has its own unique properties and advantages, it is in the material tracking, vehicle and cargo identification requirements such as non-contact data acquisition, information exchange and storage applications has broad prospects for development [7][8]. Therefore, this article uses the RFID technology to carry on the life cycle data collection of the characteristic food, and designs the RFID label EPC coding rule for "Old Godmother Flavor Food" [9][10]. It can effectively guarantee the integrity and accuracy of the collected information and according to the model of characteristic food safety traceability network, the design and implementation of the traceability system of characteristic food safety based on B/S and C/S architecture has been completed.

New Models of Intelligent Manufacturing in Electronic Component Industry
Characteristic food safety traceability system based EPC-RFID technology is the service platform for enterprise, sales point and consumer with information sharing as the ultimate goal. Through the application of RFID technology, we can trace the information of all aspects of the whole life cycle of the "Old Godmother Flavor Food", and provide strong data support for the characteristic food safety traceability. The overall structure of the traceability system is constructed (As shown in Fig. 1). Fig. 1. The intelligent design and product data management architecture RFID technology is used to collect the raw materials purchasing, production, processing, storage management, logistics and transportation data of the "Old Godmother Flavor Food", and store the data of each link automatically in the traceability system database, At the same time, when the characteristic food production is completed, RFID labels with related information to the system database are used to identify the same batch of food, the EPC encoding code in the RFID tag was transferred into label on the product of small packaging for consumer inquiries using. Consumers can ob-tain product information through the server by inputting the product traceability code at the terminal interface of the traceability system.

EPC encoding design plan
EPC encoding is an important component of RFID tags. It encodes the relevant information of entities and entities, and establishes a global information exchange language through standardized and unified coding.
For the coding choice of "Old Godmother Flavor Food", a universal identification type defined by the EPC encoding data standard is selected. The generic identifier is GID-96 (General, Identifier-96, 96 bit universal identifier) [11][12], this universal identifier consists of 3 fields, include 32 bit EPC domain manager code, 32 bit object classification code, and 32 bit serial number. It does not rely on any known, existing specification, or identification scheme.
Coding rules and coding structures based on coding systems, combining the production characteristics of condiment enterprises and the investigation of various products in the market, the design and allocation of the EPC coding region are presented to make it unique, permanent, simple and extensible. The code assignments are shown in Fig. 2. Among them, the code section capacity is n (n is the number of digits, and the whole 0 sequence is the initialization sequence).

Fig. 2. The EPC code assignments
General identifier GID-96 contains domain manager code, object classification code, and serial number three fields, composed of a binary number, to identify objects related information for storage, realize the unique identification of individual products. The coding procedure is as follows: It's defined as follows: : • Define M for domain manager code； • Define O for object classification code； • Define S for serial number code； The flow chart of specific encoding program is shown in Fig. 3:   Fig. 3. The flow chart of specific encoding program

Encoding example
According to the above coding method, in the domain name manager code, 8 of the field is reserved, 0 initial, and the company logo -Guiyang Nanming Old Godmother Flavor Food limited liability company marked as 0000, 0001; in the object classification code, the selling place China is identified as 0000, 0001 and the product seriesrefined beef, fermented bean oil and chilli is marked as 0000, 0001; in the serial number code, the product date was marked as 0010, 1110, 1111, 1100, 1101, 0010, 1010, 1110, 0100, 1110 for 12:30 October 16, 2018, marking one of the millions of products on that day as 0000, 0000, 0000, 0000, 0000, 0001. Get a single product encoding as shown in Table 1.

System Design and Implementation
The purpose of characteristic food safety traceability system is to promote the enterprise's production information transformation, improve the production efficiency, and ensure the market competitiveness of enterprises. According to the enterprise demand analysis, the whole system design and the system software architecture, combined with the actual production situation of the enterprise, the structured programming method is adopted to divide the main functions of the system, Fig. 4 is the functional module structure of food safety traceability system, mainly including the procurement subsystem of raw materials, production and processing subsystem, storage management subsystem, logistics transportation terminal sales subsystem, WEB subsystem, traceability query subsystem, supervision query subsystem, the backstage management center of 8 parts. The characteristic food safety traceability system designed in this paper uses Microsoft SQL Server 2008 as the database server of the platform, and under the Microsoft Visual Studio 2015 development platform, the application C# programming language development and implementation. The system has completed the construction of the physical environment in the laboratory, the specific environment as shown in Fig. 5.When the system test is completed, practical application will be made in the project cooperation unit, Guiyang, Naming Old Godmother Flavor Food limited liability company, which help reduce costs and risks and improve product quality and safety credibility, to achieve organic unity of enterprise management and safety in production, at the same time can clearly define the responsibility for food quality and safety issues, and protect the legitimate rights and interests of consumers and enterprises. The production and processing subsystem page of characteristic food safety traceability system as shown in Fig. 6, which includes process management, production work order management, input information query, test information management, product packaging management, quality reviews and other parts.

Conclusion
The design and development of the characteristic food safety traceability system based on EPC-RFID Technology in this article, the coding design of characteristic food is carried out by using EPC coding standard, the whole life cycle of characteristic food is marked with RFID label, and the whole process of all aspects of characteristic food is traced back. The realization and popularization of this research can pro-vide reference for the establishment of meat, vegetable and other food traceability system.