The design of shopping system
The design of a shopping system mainly involves networking, database, and RFID technology. The system has advantages of high efficiency and high accuracy [10]. The system mainly includes self-checkout, self-purchase, member mechanism, and anti-theft measures.
Self-checkout
To solve the collisions of a plurality of electronic tags in the identification of shopping, the binary search algorithm is used to achieve the function of self-checkout, which can make it faster for customers to check out in a specific area.
Self-purchase
The function of self-purchase is similar to self-checkout. The goods are identified in a specific area to count the purchased goods. This function can meet the clutter purchase of small items to avoid the trouble of artificial statistics and reduce labor costs.
Member mechanism
In order to further expand the sales, the RFID membership cards are issued to the customers who purchase over a certain amount. Thus, it can increase the frequency of the customers’ consumption.
Security measures
RFID technology also can achieve security management. In the supermarket, there are special inlet and outlet. After customers purchase goods, when they went through the outlet-installed RFID technology, the information of goods can be read again. Compared with the first time, we can know whether customers steal goods. This method is of high reliability and reduces the configuration of supermarket supervisors and operating costs (Fig. 1).
The hardware design of RFID system
Supermarket shopping system should have fast and a plurality of object recognition functions, but the traditional bar code scanning is completely unable to meet the need. On this basis, this paper will connect electronic tags with readers to achieve the function of quick checkout. On that basis, the paper will design the module of quick checkout and anti-theft function [11]. For supermarkets, in order to carry out the anti-theft function, the two modules can be designed in the unified Internet of Things of supermarket. The two can be transmitted to each other. The hardware design of quick checkout is shown in Fig. 2.
As shown in Fig. 2, the hardware design of quick checkout includes three components: RFID system, ARM board, and peripherals.
RFID system
This paper uses the PR9200 UHF RFID reader module. The amount and information of electronic tags are detected within a specified area by radio signal. On this basis, the acquired information is fed back to the ARM board. The RFID system covers the reading and writing module, antenna, and adapter base. Among them, the built-in anti-collision algorithm is mainly used in information detection. The antenna is the receiver of the signal, and the adapter base is mainly used to link up the antenna with the reader module.
ARM board
ARM board uses ARMCortex-A8 processor, which is mainly used to post-process the received data and then displays it on the terminal.
Peripherals
The signal should be detected within a designated area. So, this paper designed peripherals (Fig. 2) to shield the information of electronic tags outside the area to ensure the accuracy of the information reader.
The hardware design process of a security area is shown in Fig. 3.
The hardware design of a security area is shown in Fig. 3. It includes RFID system, ARM board, and 80C51 microcontroller. The function of the RFID system and ARM board is the same as quick checkout, so I will not explore it in this paper. To achieve the alarm simulation, the buzzer of 80C51 microcontroller can alarm. Besides, it also needs other aided design, such as the LED display (Fig. 4).
The software design of RFID system
The supermarket shopping system uses ARMCortex-A8 intelligent terminal platform, which is equipped with a perfect Linux operating system and Qt4.7 platform. On this basis, this paper developed and designed the software system [12] (Fig. 5).
The design of the system includes two parts: information transformation and security processing and testing.
Information transformation is the main part of the software system. It achieves the data transmission between the RFID reader and software system. In order to achieve quick reading the information of electronic tag and ensure the accuracy of information transmission, the data can be planned in advance. After the reader receives the signals, it can store identification information according to requirements.
The anti-thief information should be processed in the checkout. In the checkout process, a lot of electronic tag data has been classified, selected characters RFID tag tagging information. When RFID reader module makes wireless search process, all tags are set. The function of anti-theft detection is mainly to detect the product again using anti-collision algorithm when leaving the area. When products which are not paid are detected, the SCM buzzer will sound the alarm. At the same time, the information will be transmitted to the LED display to guide the on-site supervision and personnel management.