2015 Seventh International Conference on Measuring Technology and Mechatronics Automation
Implementation of Smart Shopping System based on NFC Technology
Ou Wenxing1, Wang Lei1, Jiang Zhipeng2, Yu Changhong2
1 Shenzhen Excelsecu Data Technology Co.. Ltd, Shenzhen, Guangzhou, 518057, China
2
Zhejiang Gongshang University, Hangzhou, Zhejiang, 310018, China
wlooseven518@163.com
Abstract---The fusion of online and offline trading has become This article is based on the combination of NFC and
a significant pivot point of the Internet Era. Under the existing smart mobile terminals. With NFC smartphones can replace
operation structure of supermarkets, this article aims to traditional credit cards and optimize the shopping experience,
propose a Smart Shopping System based on NFC Technology. ultimately realizing a better service for customers.
This system includes technical support of mobile applications,
and users will be able to conduct a series of actions like
product searching, pre-ordering and online payment on the II. BASIC INFORMATION OF THE SYSTEM
mobile app. With NFC users can even pay the bills without
credit card which would simplify the purchasing process. This NFC generally has advantages including low costs,
article also proposed a corresponding management platform simple operations and high security, which indicates
aiming to optimize the service and administration of the enormous possibilities in certain industries. This smart
supermarket, which fits the emerging trend of O2O business shopping system is an application of NFC aiming to
mode. implement mobile payment. Apart from a more user-friendly
shopping experience, it can also bring down the operation
Keywords---NFC, smart shopping, mobile payment cost.
A. Software Structure
I. INTRODUCTION Figure 1 shows the software structure of the supermarket
system.
With the progress of economical situations, people now
have more avenues to arrange their expenditures. Many
would choose online shopping. However, it may bring loads
of problems, a typical one being dissatisfaction with the
goods. Meanwhile there are still traditional ways, yet it
would consume much more time and energy.
These days NFC has gradually become a standard
component of mobile terminals. Besides the mobile payment
system, NFC technology can be integrated into other
systems, such as access control, check-in system and
security alarms. Take the access control system for example.
First you need to authorize both the door control hardware
and the mobile phone, then by placing your phone in the
sensing area, you can gain access control. This simplifies the
traditional procedure when an access card is needed
additionally.
NFC(Near Field Communication) is a set of short
distance wireless communication solutions based on RFID Figure 1. The software structure of the supermarket system
and internet technology. Any two mobile devices share the
same NFC protocol will be able to automatically activate the The system consists of the following divisions: the
communication system within 10cm and transfer data in a communication subsystem, the management subsystem, the
non-contact mode to complement functions like digital power control subsystem, the pre-order subsystem, the
wallet or authentication systems. It operates within the radio navigation subsystem, the checkout subsystem, the access
frequency ISM band of 13.56 MHz on air interface and at control subsystem and the alarm subsystem. The
rates ranging from 106 kbit/s to 424 kbit/s. It also supports communication subsystem is built upon the combination of
other protocols including Bluetooth and 802.11 wireless wired and wireless networks. Its main function is to
specifications. NFC technology meets the international coordinate the exchange of signals between multiple
communication standards and has the potential to become a subsystems and communications with the cloud computing
very competitive technology in short distance wireless platform. The management subsystem is designed to handle
connection territories. procedures like the automations of inventory reports and
978-1-4673-7143-8/15 $31.00 © 2015 IEEE 554
553
DOI 10.1109/ICMTMA.2015.140
marketing reports. The power control subsystem is set to D. Navigation
balance the electrical load of the supermarket. The pre-order The client app provides the geographical information of
subsystem will answer all the online order requests from the supermarket, so customers will be advised with the best
customers. The navigation subsystem is supposed to guide route by the navigation system on their phone.
customers to locate the supermarket. The checkout
III. IMPLEMENTATION OF THE SYSTEM
subsystem and access control subsystem will function
together at the cashier. The alarm subsystem will handle The whole system is developed with JavaEE and
emergencies like goods stealing breakdowns. Android development platform and can be divided as two
major parts: the web server system and the mobile client
B. The Purchase Process application.
Users will be able to search for product details in A. Web server system
advance through the mobile app. Once they are logged in, The web server system deploys JAVA development
they can also pre-order any products they want. If it is the environment including common framework technologies on
first time the user comes to the supermarket, then he should different layers of web projects.
register his personal information at the service counter. For The Structure of the systematic web framework is
users who already completed the registration, the system will shown in Figure 3.
match his account with the identity information
automatically, so the whole process will only take place for
one time. If the user has already pre-ordered certain products,
he can directly come to the supermarket and check in at the
NFC sensor of the entrance with his mobile phone. The
system will transfer the total amount of money into a third
party payment platform from the credit card the user
assigned. If the operation is successful, the user will receive
an authorization code from the system on his mobile phone
(with a period of validity that can be adjusted in real time
according to particular situations). If the code matches the
access control system, the entry will be granted. After the
user get everything he need, he can check out with his
mobile phone at the register and confirm the payment. The
whole process is ggiven as a flow chart in figure
g 2.
Figure 3. The structure of the systematic web framework
As we can see, the entire system is constituted by four
different layers:
Presentation tier: Governed by ExtJs4. Specifically,
ExtJs4 is responsible for the interface display. The interface
is mainly constructed with JavaScript and Css technologies.
With the arrangement of essential images, the exquisite
interface could bring users appropriate visual impressions.
Control tier: DWR of the Ajax technology is responsible
for this tier. It can fetch the data from the user interface
through ExtJs4 components on the presentation tier. Then it
will transfer the data to the middle tier for operations without
refreshment. Lastly it will notify the client app to call the
callback functions and present the result to the user.
Middle tier: formed by Business logic classes and
Figure 2. The whole process Spring. The name of the Business logic class ends with Srv.
First it interacts with the DWR, using the transferred input
data of the DWR to process the business logic. Second it
C. Refund Policy calls the Hibernate tier class to complete interactions with
When the customer has submitted the request of the database. Lastly it returns the results to the calling back
returning goods on the mobile client app, the system will function. All the relevant business logic classes are run by
inform correspondent service staff to identify the goods. If it the Spring IOC containers.
meets the policy, the service staff can accept the request on Hibernate tier: formed by Spring and Hibernate. The
authorized mobile devices and the system will activate the Business Logic classes of the Middle tier can call them to
refund process with the third party payment account of the execute interactions with database. Hibernates take charge of
customer. the interactions with the database information through ORM
mapping. Spring is responsible for the commanding of
554
555
DAO(Data Access Object) Classes as well as the Session In the near future, part of people's lives is certain to be
connections and Transaction control. This aims to simplify occupied with widespread emergence of the NFC technology,
the application of Hibernate and improve the access particularly with respect to mobile payment. It is an industry
performance with the utilization of the database connection worth continued attention.
pool.
B. Mobile client application I. ACKNOWLEDGE
The mobile client application is developed with the This paper is supported by sub project of
Android 4.1 SDK. It deploys multiple threads in data National Science and Technology Major Project of the Mini
interchange with the web server system in the format of Json. stry of Science and Technology of China (Grant No.
The results will be updated into the Activity through Handler. 2014ZX01032401-001-Z04) and Zhejiang Provincial
As for the NFC access control subsystem, the mobile Natural Science Foundation of China (Grant No.
client app will first use the API provided by third party LQ12F01005).
payment platforms to verify whether the user's balance is
sufficient. If it is enough then the app will send a request to REFERENCES
the Web system to fetch the supermarket NFC authorization
[1] J. Pesonen, E. Horster, Near field communication technology .
code. Using the SDK provided by NFC Manager through a Tourism Management Perspectives, 2012(4):11-18.
provided NFC adapter case with the Bind and Service [2] A. Prinz, P. Menschner, Electronic data capture in healthcare--NFC
communications main program, the authorization code can as easy way for self-reported health status information, Health Policy
be obtained through the NFC Adapter and it will match the and Technology, 2012(3):137-144.
NFC sensors. [3] C. Hohberger, R. Davis, Briggs Letal, Applying radio-frequency
identification (RFID) technology in transfusion medicine. Biologicals,
IV. CHARACTERISTICS OF THE SYSTEM 2012, 40(3): 209-213.
[4] Y. Zhijian, An Organizational Mode with Reputation for O2O E-
The deployment of NFC technologies enables a mobile Commerce, Proceedings of the First Symposium on Aviation
phone to serve as a payment device, allowing a shorter and Maintenance and Management, 2014, 2: 707-714.
more convenient shopping experience. The standard of the [5] Hasoo Eun, Hoonjung Lee, Heekuck Oh, Conditional privacy
service has been improved while the supermarket can cut preserving security protocol for NFC applications, Consumer
down its expenses on human labor. Electronics, IEEE Transactions on, 2013, 59(1): 153 – 160
O2O business model with the combination of offline [6] Debiao He, Kumar, N., Jong-Hyouk Lee, Secure pseudonym-based
activities with the Internet, the Internet now acts as the near field communication protocol for the consumer internet of things,
foreground of real life businesses, simplifying the Consumer Electronics, IEEE Transactions on, 2015, 61(1): 56 – 62.
accounting process. It should be also pointed out that O2O
business mode can conduct intuitive statistical analyses and
tracking evaluations, which is crucial in avoiding the
unpredictability of promotional effectiveness in traditional
commercial channels. O2O integrates the online orders with
real life consumptions: every consumer behavior can be
analyzed so that the supermarket will be offering ever
improved services to the customers. In addition, by posting
discount information and reservation privileges, the
promotions and introductions of the supermarket can reach a
large scope of Internet users, thus encouraging grouped
purchase activities. Eventually these users can be converted
into frequent customers.
V. CONCLUSIONS
A smart supermarket shopping system based on NFC
should have advantages including high reliability, real-time
interactions, convenience of installation and maintenance as
well as high efficiency. However there is still a long way to
go before it is widely put into use. The problems now focus
on the superintendence of e-tags and lack of research in NFC
terminals.
With the development of mobile communication
technologies, the way of life will become more intelligent,
the system of mobile payment will be ameliorated too. The
future of NFC payment is still bright and the applications
supporting NFC will continue to turn up with the maturation
of the market.
555
556