CN104123643A - Payment method and payment system on basis of NFC (near field communication) - Google Patents
Payment method and payment system on basis of NFC (near field communication) Download PDFInfo
- Publication number
- CN104123643A CN104123643A CN201410381861.9A CN201410381861A CN104123643A CN 104123643 A CN104123643 A CN 104123643A CN 201410381861 A CN201410381861 A CN 201410381861A CN 104123643 A CN104123643 A CN 104123643A
- Authority
- CN
- China
- Prior art keywords
- payment
- nfc
- terminals equipment
- request
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/16—Payments settled via telecommunication systems
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0009—Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Finance (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本发明提供了一种基于NFC的支付方法和系统,包括设NFC芯片的被支付端设备和设NFC芯片的支付端设备,在被支付端设备侧,该方法包括:接收购买指定商品对象的请求并根据用户选择的商品对象的销售属性生成订单;当接收到确认提交订单的操作后,提取该订单中的信息以生成支付请求;向支付端设备发送建立通信连接的请求以建立两者的近场通信连接;将支付请求发送给支付端设备,以便支付端执行支付操作;接收支付端返回的支付完成信息并根据支付完成信息对相应的订单进行后续操作。采用本发明提供的基于NFC的支付方法和系统,更便利于智能电视用户进行网上支付,提高智能电视用户网上支付的效率,且基于该近场通信的支付操作的安全性更高。
The present invention provides an NFC-based payment method and system, including a paid terminal device equipped with an NFC chip and a payment terminal device equipped with an NFC chip. On the paid terminal device side, the method includes: receiving a request for purchasing a specified commodity object And generate an order according to the sales attribute of the commodity object selected by the user; after receiving the operation of confirming and submitting the order, extract the information in the order to generate a payment request; send a request to establish a communication connection to the payment terminal device to establish a close relationship between the two Field communication connection; send the payment request to the payment terminal device, so that the payment terminal can perform the payment operation; receive the payment completion information returned by the payment terminal and perform follow-up operations on the corresponding order according to the payment completion information. The NFC-based payment method and system provided by the present invention are more convenient for smart TV users to pay online, improve the efficiency of smart TV users' online payment, and the security of the payment operation based on the near field communication is higher.
Description
技术领域technical field
本发明涉及金融支付领域,特别地,涉及一种基于NFC的支付方法和系统。The present invention relates to the field of financial payment, in particular, to an NFC-based payment method and system.
背景技术Background technique
随着电子信息技术的发展,基于网络的消费越来越多,进而带动了网上支付业务的发展。With the development of electronic information technology, there are more and more consumptions based on the Internet, which in turn drives the development of online payment services.
现有的网上支付业务包括通过网上银行支付、通过类似于支付宝的支付应用支付等方式。Existing online payment services include payment through online banking, payment through payment applications similar to Alipay, and the like.
这些网上支付方式都是在终端设备中安装支付应用,例如在手机中安装支付宝,当通过手机进行网上购物时,就可以直接使用支付宝进行支付。These online payment methods all install payment applications in terminal devices, such as installing Alipay in mobile phones. When shopping online through mobile phones, you can directly use Alipay for payment.
智能电视也是一种终端设备,随着智能电视的普及应用,在智能电视上也会有一些需要付费的项目,例如在电视商城购物、支付服务费等。虽然现在的智能电视一般也搭载有操作系统且支持第三方应用的安装,但对于用户而言,一方面,使用智能电视还是以观看电视节目为主,从主观上来说可能不太愿意直接在智能电视中安装支付应用;另一方面,即使用户想要安装这种支付应用,也需要软件开发商开发出能够运行于智能电视操作系统的相关应用才可以,如果没有专门针对智能电视开发的支付应用,则用户也无法实现安装。总之,以上种种都限制了网上支付在智能电视中的应用。因此,现有技术中,对于智能电视中产生的付费项目,只能采用人工交付、购买充值卡、银行柜台或者自动存/取款机转账等方式来实现,对于用户来说较为不方便。Smart TV is also a kind of terminal device. With the popularization and application of smart TV, there will also be some paid items on smart TV, such as shopping in TV mall and paying service fees. Although current smart TVs are generally equipped with an operating system and support the installation of third-party applications, for users, on the one hand, the use of smart TVs is still mainly for watching TV programs, and subjectively, they may not be willing to directly use smart TVs. Install payment applications on TV; on the other hand, even if users want to install such payment applications, software developers need to develop related applications that can run on smart TV operating systems. If there is no payment application specially developed for smart TVs , the user cannot implement the installation. In short, all of the above limits the application of online payment in smart TVs. Therefore, in the prior art, payment items generated in smart TVs can only be realized by manual delivery, purchase of recharge cards, bank counter or automatic deposit/cash machine transfer, which is inconvenient for users.
总之,现有技术的网上支付方式还不能很好的应用于智能电视等终端设备上。In short, the online payment methods in the prior art cannot be well applied to terminal devices such as smart TVs.
发明内容Contents of the invention
本发明所要解决的技术问题是提供一种基于NFC的支付方法和系统,利用NFC的近场通信特性解决现有技术中网上支付不适用于智能电视等终端设备的问题,更便利于智能电视用户进行网上支付,提高智能电视用户网上支付的效率,且基于该近场通信的支付操作的安全性更高。The technical problem to be solved by the present invention is to provide a payment method and system based on NFC, which uses the near-field communication characteristics of NFC to solve the problem that online payment in the prior art is not applicable to terminal devices such as smart TVs, and is more convenient for smart TV users Performing online payment improves the efficiency of online payment for smart TV users, and the security of the payment operation based on the near field communication is higher.
为了解决上述问题,一方面,提供了一种基于NFC的支付方法,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,所述被支付端设备和支付端设备均连接于网络,In order to solve the above problems, on the one hand, an NFC-based payment method is provided, including a payee device provided with an NFC chip and a payer device provided with an NFC chip, and the payee device and the payer device are connected on the network,
在所述被支付端设备侧,所述方法包括:On the side of the paid terminal device, the method includes:
接收购买指定商品对象的请求并根据用户选择的商品对象的销售属性生成订单;Receive a request to purchase a specified commodity object and generate an order according to the sales attribute of the commodity object selected by the user;
当接收到确认提交订单的操作后,提取该订单中的信息以生成支付请求;After receiving the operation of confirming the submission of the order, extract the information in the order to generate a payment request;
向所述支付端设备发送建立通信连接的请求,以通过两者的NFC芯片建立两者之间的近场通信连接;Send a request for establishing a communication connection to the payment terminal device, so as to establish a near field communication connection between the two through the NFC chips of the two;
将所述支付请求发送给所述支付端设备,以便所述支付端根据所述支付请求执行支付操作;sending the payment request to the payment terminal device, so that the payment terminal performs a payment operation according to the payment request;
接收所述支付端设备返回的支付完成信息并根据所述支付完成信息对相应的订单进行后续操作,其中,所述支付完成信息包括订单标识。Receive the payment completion information returned by the payment terminal device and perform subsequent operations on the corresponding order according to the payment completion information, wherein the payment completion information includes an order identifier.
进一步的,在向所述支付端设备发送建立通信连接的请求之前,还包括:Further, before sending the request for establishing a communication connection to the payment terminal device, it also includes:
当通过所述被支付端设备中的NFC芯片发出电磁场后,判断所述电磁场内是否存在通过其他NFC芯片发出的电磁波,如是,则存在支付端设备。After the electromagnetic field is emitted by the NFC chip in the paid-end device, it is judged whether there are electromagnetic waves sent by other NFC chips in the electromagnetic field, and if so, there is a payment-end device.
进一步的,所述被支付端设备包括智能电视、PC机、POS机,所述支付端设备包括手机、平板电脑。Further, the paid-end devices include smart TVs, PCs, and POS machines, and the paid-end devices include mobile phones and tablet computers.
此外,还提供了一种基于NFC的支付方法,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,所述被支付端设备和支付端设备均连接于网络,In addition, an NFC-based payment method is also provided, including a payee device provided with an NFC chip and a payer device provided with an NFC chip, the payee device and the payer device are both connected to the network,
在所述支付端设备侧,所述方法包括:On the side of the payment terminal device, the method includes:
接收所述被支付端设备发来的建立通信连接的请求,并通过两者的NFC芯片建立两者之间的近场通信连接;Receive the request for establishing a communication connection sent by the paid terminal device, and establish a near field communication connection between the two through the NFC chips of the two;
接收所述被支付端设备发来的支付请求;receiving the payment request sent by the paid terminal device;
当接收到确认支付的操作后,启动所述支付端设备中预置的支付应用并将所述支付请求发送给所述支付应用对应的支付服务器;After receiving the operation of confirming the payment, start the payment application preset in the payment terminal device and send the payment request to the payment server corresponding to the payment application;
接收所述支付服务器根据所述支付请求生成的支付指令,并根据所述支付指令从所述支付应用中扣款;receiving a payment instruction generated by the payment server according to the payment request, and deducting money from the payment application according to the payment instruction;
生成支付完成信息并将所述支付完成信息通过所述近场通信连接发送给所述被支付端设备,以便所述被支付端设备根据所述支付完成信息对相应的订单进行后续操作,其中,所述支付完成信息包括订单标识。generating payment completion information and sending the payment completion information to the paid-end device through the near-field communication connection, so that the paid-end device performs subsequent operations on the corresponding order according to the payment completion information, wherein, The payment completion information includes an order identifier.
进一步的,所述支付端设备中还设有安全元件芯片,所述安全元件芯片中设有用于对数据加密的加密逻辑电路,Further, the payment terminal device is also provided with a secure element chip, and the secure element chip is provided with an encryption logic circuit for encrypting data,
在接收所述支付服务器根据所述支付请求生成的支付指令之后,还包括:After receiving the payment instruction generated by the payment server according to the payment request, it further includes:
显示支付应用的支付密码输入页面;Display the payment password input page of the payment application;
当接收到支付密码后通过安全元件芯片将所述支付密码进行加密并发送给支付服务器,以便当接收到支付服务器发送的确认密码正确的信息后,根据所述支付指令从所述支付应用中扣款。After receiving the payment password, encrypt the payment password through the secure element chip and send it to the payment server, so that after receiving the information confirming that the password is correct sent by the payment server, the payment will be deducted from the payment application according to the payment instruction. payment.
进一步的,所述根据所述支付指令从所述支付应用中扣款时,还包括:Further, when deducting money from the payment application according to the payment instruction, it also includes:
通过所述安全元件芯片对支付应用中预存的银行卡信息进行加密,以在扣款过程中保证所述银行卡信息的安全。The bank card information pre-stored in the payment application is encrypted by the secure element chip, so as to ensure the security of the bank card information during the deduction process.
另一方面,还提供了一种基于NFC的支付系统,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,所述被支付端设备和支付端设备均连接于网络,On the other hand, a payment system based on NFC is also provided, including a payee device provided with an NFC chip and a payer device provided with an NFC chip, the payee device and the payer device are both connected to the network,
在所述被支付端设备侧,包括:On the side of the paid terminal device, it includes:
订单生成单元,用于接收购买指定商品对象的请求并根据用户选择的商品对象的销售属性生成订单;An order generating unit, configured to receive a request for purchasing a specified commodity object and generate an order according to the sales attribute of the commodity object selected by the user;
支付请求生成单元,当接收到确认提交订单的操作后,提取该订单中的信息以生成支付请求,其中,支付请求信息包括订单标识、付款金额和收款方账户信息;The payment request generation unit extracts the information in the order to generate a payment request after receiving the operation of confirming the submission of the order, wherein the payment request information includes the order identifier, payment amount and payee account information;
连接请求单元,用于向所述支付端设备发送建立通信连接的请求,以通过两者的NFC芯片建立两者之间的近场通信连接;A connection request unit, configured to send a request for establishing a communication connection to the payment terminal device, so as to establish a near field communication connection between the two through their NFC chips;
支付请求发送单元,用于将所述支付请求发送给所述支付端设备,以便所述支付端根据所述支付请求执行支付操作;a payment request sending unit, configured to send the payment request to the payment terminal device, so that the payment terminal performs a payment operation according to the payment request;
信息接收单元,用于接收所述支付端返回的支付完成信息并根据所述支付完成信息对相应的订单进行后续操作,其中,所述支付完成信息包括订单标识。The information receiving unit is configured to receive the payment completion information returned by the payment terminal and perform follow-up operations on the corresponding order according to the payment completion information, wherein the payment completion information includes an order identifier.
进一步的,在所述被支付端设备侧,还包括:Further, on the side of the paid terminal device, it also includes:
判断单元,用于当通过所述被支付端设备中的NFC芯片发出电磁场后,判断所述电磁场内是否存在通过其他NFC芯片发出的电磁波,如是,则存在支付端设备。The judging unit is used for judging whether there are electromagnetic waves sent by other NFC chips in the electromagnetic field after the electromagnetic field is sent by the NFC chip in the paid terminal device, and if so, there is the paid terminal device.
进一步的,所述被支付端设备包括智能电视、PC机、POS机,所述支付端设备包括手机、平板电脑。Further, the paid-end devices include smart TVs, PCs, and POS machines, and the paid-end devices include mobile phones and tablet computers.
此外,还提供了一种基于NFC的支付系统,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,所述被支付端设备和支付端设备均连接于网络,In addition, an NFC-based payment system is also provided, including a payee device provided with an NFC chip and a payer device provided with an NFC chip, the payee device and the payer device are both connected to the network,
在所述支付端设备侧,包括:On the side of the payment terminal device, it includes:
接收连接请求单元,用于接收所述被支付端设备发来的建立通信连接的请求,并通过两者的NFC芯片建立两者之间的近场通信连接;The receiving connection request unit is used to receive the request for establishing a communication connection sent by the paid terminal device, and establish a near field communication connection between the two through the NFC chips of the two;
接收支付请求单元,用于接收所述被支付端设备发来的支付请求,其中,支付请求信息包括订单标识、支付金额和收款方账户信息;The receiving payment request unit is used to receive the payment request sent by the paid terminal device, wherein the payment request information includes the order identifier, payment amount and payee account information;
启动单元,用于当接收到确认支付的操作后,启动所述支付端设备中预置的支付应用并将所述支付请求发送给所述支付应用对应的支付服务器;The starting unit is configured to start the payment application preset in the payment terminal device and send the payment request to the payment server corresponding to the payment application after receiving the operation of confirming the payment;
接收指令单元,用于接收所述支付服务器根据所述支付请求生成的支付指令,并根据所述支付指令从所述支付应用中扣款;A receiving instruction unit, configured to receive a payment instruction generated by the payment server according to the payment request, and deduct money from the payment application according to the payment instruction;
信息生成单元,用于生成支付完成信息并将所述支付完成信息通过所述近场通信连接发送给所述被支付端,以便所述被支付端根据所述支付完成信息对相应的订单进行后续操作,其中,所述支付完成信息包括订单标识。An information generation unit, configured to generate payment completion information and send the payment completion information to the paid terminal through the near field communication connection, so that the paid terminal can follow up the corresponding order according to the payment completion information Operation, wherein the payment completion information includes an order identifier.
进一步的,所述支付端设备中还设有安全元件芯片,所述安全元件芯片中设有用于对数据加密的加密逻辑电路,Further, the payment terminal device is also provided with a secure element chip, and the secure element chip is provided with an encryption logic circuit for encrypting data,
所述系统,还包括:The system also includes:
显示单元,用于显示支付应用的支付密码输入页面;The display unit is used to display the payment password input page of the payment application;
加密单元,用于当支付密码输入页面接收到支付密码后通过安全元件芯片将所述支付密码进行加密并发送给支付服务器,以便当接收到支付服务器发送的确认密码正确的信息后,根据所述支付指令从所述支付应用中扣款。The encryption unit is used to encrypt the payment password through the secure element chip and send it to the payment server after receiving the payment password on the payment password input page, so that after receiving the information confirming that the password is correct sent by the payment server, according to the The payment instruction deducts money from the payment application.
进一步的,所述加密单元,还用于:Further, the encryption unit is also used for:
通过所述安全元件芯片对支付应用中预存的银行卡信息进行加密,以在扣款过程中保证所述银行卡信息的安全。The bank card information pre-stored in the payment application is encrypted by the secure element chip, so as to ensure the security of the bank card information during the deduction process.
与现有技术相比,上述技术方案中的一个技术方案具有以下优点:Compared with the prior art, one of the above technical solutions has the following advantages:
采用本发明实施例提供的基于NFC的支付方法和系统,被支付端设备和支付端设备可通过两者的NFC芯片建立两者的近场通信连接,并通过支付端中预置的支付应用完成被支付端的网上付费,解决了现有网上支付不适用于智能电视等终端设备的问题,更便利于智能电视用户进行网上支付,该方法操作步骤简单,可提高智能电视用户网上支付的效率,且由于近场通信具有天然的安全性,因此基于被支付端设备与支付端设备之间的近场通信的支付操作,其安全性更高。而且,由于在支付过程中设置了输入密码页面,也使得支付过程更安全,此外还可在支付端设备中设置SE芯片,以进一步提高支付过程的安全性。Using the NFC-based payment method and system provided by the embodiments of the present invention, the paid-end device and the payer-end device can establish a near-field communication connection between the two through their NFC chips, and complete the payment through the payment application preset in the payer. The online payment at the paid end solves the problem that the existing online payment is not applicable to terminal devices such as smart TVs, and it is more convenient for smart TV users to pay online. The method has simple steps and can improve the efficiency of online payment for smart TV users. Since near-field communication has natural security, the security of the payment operation based on the near-field communication between the payee device and the payer device is higher. Moreover, since the password input page is set during the payment process, the payment process is also safer. In addition, an SE chip can be set in the payment terminal device to further improve the security of the payment process.
附图说明Description of drawings
图1是本发明基于NFC的支付方法实施例一的流程示意图;Fig. 1 is a schematic flow chart of Embodiment 1 of the NFC-based payment method of the present invention;
图2是本发明基于NFC的支付方法实施例一中智能电视的显示界面示意图;2 is a schematic diagram of a display interface of a smart TV in Embodiment 1 of the NFC-based payment method of the present invention;
图3是本发明基于NFC的支付方法实施例二的流程示意图;FIG. 3 is a schematic flow diagram of Embodiment 2 of the NFC-based payment method of the present invention;
图4是本发明基于NFC的支付方法实施例二中手机的显示界面示意图(一);Fig. 4 is a schematic diagram (1) of the display interface of the mobile phone in the second embodiment of the NFC-based payment method of the present invention;
图5是本发明基于NFC的支付方法实施例二中手机的显示界面示意图(二);Fig. 5 is a schematic diagram (2) of the display interface of the mobile phone in the second embodiment of the NFC-based payment method of the present invention;
图6是本发明基于NFC的支付系统实施例一的结构示意图;6 is a schematic structural diagram of Embodiment 1 of the NFC-based payment system of the present invention;
图7是本发明基于NFC的支付系统实施例二的结构示意图。Fig. 7 is a schematic structural diagram of Embodiment 2 of the NFC-based payment system of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
首先,对本发明所涉及的NFC作简单的介绍。First, a brief introduction is made to the NFC involved in the present invention.
NFC是Near Field Communication的缩写,通常称为近场通信,是一种近距离的工作在13.56MHz频段的高频无线通信技术,是由免接触式射频识别(RFID)演变而来,并向下兼容RFID。NFC芯片上可集成非接触式读卡器、非接触式智能卡和点对点的通信功能,可在大约10cm范围内建立NFC设备(设有NFC芯片的设备)之间的近场通信连接,传输速率可为106kbit/s、212kbit/s、424kbit/s,甚至还可提高到848kbit/s。NFC采用双向识别和连接,通信双方不存在固定的主从关系,通信可以由任意一个NFC设备发起。NFC is the abbreviation of Near Field Communication, commonly known as near field communication, which is a short-range high-frequency wireless communication technology working in the 13.56MHz frequency band. Compatible with RFID. The NFC chip can integrate non-contact card readers, non-contact smart cards and point-to-point communication functions, and can establish a near-field communication connection between NFC devices (devices equipped with NFC chips) within a range of about 10cm. It is 106kbit/s, 212kbit/s, 424kbit/s, and can even be increased to 848kbit/s. NFC adopts two-way identification and connection. There is no fixed master-slave relationship between the communication parties, and communication can be initiated by any NFC device.
NFC设备工作模式有以下三种:There are three working modes of NFC devices:
第一种,卡模式(Card emulation):该模式下的NFC设备相当于一张采用RFID技术的IC卡,可以用于商场刷卡、公交卡、门禁管制、车票等场合。在此种工作模式下,卡片通过非接触读卡器的RF域来供电,即便是移动终端(如手机)处于关机状态下也可以工作。The first one, Card emulation: The NFC device in this mode is equivalent to an IC card using RFID technology, which can be used in shopping malls, bus cards, access control, ticketing and other occasions. In this working mode, the card is powered by the RF domain of the contactless card reader, and it can work even when the mobile terminal (such as a mobile phone) is turned off.
第二种,点对点模式(P2P mode):该模式下的NFC设备可用于数据交换,传输距离较短,但传输速度快且功耗低,在这种模式下,将两个NFC设备连接,可以实现如交换图片、同步通讯录等点对点数据传输。The second, peer-to-peer mode (P2P mode): The NFC device in this mode can be used for data exchange, the transmission distance is short, but the transmission speed is fast and the power consumption is low. In this mode, two NFC devices can be connected. Realize peer-to-peer data transmission such as exchanging pictures and synchronizing contacts.
第三种,读卡器模式(Reader/writer mode):该模式下的NFC设备可作为非接触读卡器使用,典型应用场景为从海报或者展览信息的电子标签上读取相关信息。The third type, reader mode (Reader/writer mode): The NFC device in this mode can be used as a contactless card reader. The typical application scenario is to read relevant information from electronic tags of posters or exhibition information.
NFC设备之间传输数据的格式为NDEF(NFC Data Exchange Format,NFC数据交换格式),NDEF是一种轻量级的紧凑二进制格式,能够承载URL(网页地址)等类型的数据,在NFC设备间所传递的数据可被称为NdefMessage(NDEF消息)。每个NdefMessage中包含若干NdefRecord(NDEF记录),每条NdefRecord包含一个头部(Header)和一个有效载荷(Payload),记录中的数据类型和大小由头部注明,记录内容可包括URL、MIME(多用途互联网邮件扩展)或者NFC自定义的数据类型,若使用NFC定义的数据类型,则有效载荷的内容必须被定义在一个NFC记录类型定义(RTD)文档中。The format of data transmitted between NFC devices is NDEF (NFC Data Exchange Format, NFC Data Exchange Format). NDEF is a lightweight and compact binary format that can carry URL (web page address) and other types of data. Between NFC devices The transferred data may be called NdefMessage (NDEF message). Each NdefMessage contains several NdefRecords (NDEF records), each NdefRecord contains a header (Header) and a payload (Payload), the data type and size in the record are indicated by the header, and the record content can include URL, MIME (Multipurpose Internet Mail Extensions) or NFC-defined data types, if using NFC-defined data types, the content of the payload must be defined in an NFC Record Type Definition (RTD) document.
在本发明实施例中,涉及到的执行主体包括被支付端设备和支付端设备,其中,被支付端设备包括智能电视、PC机、POS机等,支付端设备包括手机、平板电脑等。In the embodiment of the present invention, the execution subject involved includes the paid terminal device and the paid terminal device, wherein the paid terminal device includes smart TV, PC, POS machine, etc., and the paid terminal device includes mobile phone, tablet computer, etc.
在具体实现过程中,被支付端设备和支付端设备各自独立,同时又相互联系,共同实现本发明实施例提供的技术方案。为了便于描述,下面分别从被支付端设备和支付端设备两个角度出发,对本发明实施例进行介绍。In a specific implementation process, the payee device and the payer device are independent of each other, and at the same time, they are connected with each other to jointly realize the technical solutions provided by the embodiments of the present invention. For ease of description, the embodiments of the present invention will be introduced below from two perspectives of the payee device and the payer device.
参照图1,示出了本发明基于NFC的支付方法实施例一的流程图。Referring to FIG. 1 , it shows a flow chart of Embodiment 1 of the NFC-based payment method of the present invention.
在该实施例中,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,该被支付端设备和支付端设备均连接于网络,且该被支付端设备连接于预置后台服务器,所述支付端设备连接于预置支付服务器。In this embodiment, it includes a payee device provided with an NFC chip and a payer device provided with an NFC chip. Both the payee device and the payer device are connected to the network, and the payee device is connected to a preset A background server, the payment terminal device is connected to a preset payment server.
在被支付端设备侧,该方法包括:On the payee device side, the method includes:
S101,接收购买指定商品对象的请求并根据用户选择的商品对象的销售属性生成订单。S101. Receive a request for purchasing a specified commodity object and generate an order according to the sales attribute of the commodity object selected by the user.
在本实施例中,被支付端设备可为设有NFC芯片的智能电视,在智能电视中会有一些需要付费的项目,例如电视商城购物、支付服务费等,电视商城中的商品对象的销售属性可包括商品名称、商品ID、型号、价格、数量、卖家信息(比如包括卖家的名称、联系地址、账号等)、买家信息(买家的电视用户账号、姓名、地址等)等,支付服务费类的销售属性可包括服务费名称、价格、收费方信息(智能电视厂商名称、收费账户等)、付费方信息(付费的电视用户账号、姓名、地址等)等,上述销售属性都存储于智能电视的后台服务器中。In this embodiment, the device to be paid can be a smart TV equipped with an NFC chip. There will be some items that need to be paid in the smart TV, such as shopping in the TV mall, payment of service fees, etc., and sales of commodity objects in the TV mall Attributes can include product name, product ID, model, price, quantity, seller information (such as seller's name, contact address, account number, etc.), buyer information (buyer's TV user account, name, address, etc.), payment The sales attribute of the service fee category may include service fee name, price, billing party information (smart TV manufacturer name, charging account, etc.), payer information (paying TV user account, name, address, etc.), and the above sales attributes are all stored in the background server of the smart TV.
以在电视商城购物为例,比如用户在电视商城的相关页面对指定商品对象发出了购买请求,具体可为通过智能电视的遥控器在相关页面上对指定商品对象进行选择,并触发该页面预设位置的“购买”按钮。Taking shopping in the TV mall as an example, for example, if the user sends a purchase request for a specified product object on a relevant page of the TV mall, the specific item may be to select the specified product object on the relevant page through the remote control of the smart TV, and trigger the page to pre-order. Set the location of the "Buy" button.
当智能电视接收到该购买请求后,根据上述商品的销售属性生成一个订单,上述销售属性可不全部显示于订单上,订单中可仅显示部分销售属性,比如商品名称、ID、价格、数量等,另外该订单可包括订单标识(比如订单号)、付款金额、“提交”按钮等。When the smart TV receives the purchase request, it generates an order according to the sales attributes of the above-mentioned commodities. The above-mentioned sales attributes may not be displayed on the order, and only some of the sales attributes may be displayed in the order, such as product name, ID, price, quantity, etc. In addition, the order may include an order identifier (such as an order number), a payment amount, a "submit" button, and the like.
S102,当接收到确认提交订单的操作后,也就是当用户触发订单中的“提交”按钮后,提取该订单中的信息以生成支付请求,该支付请求为NDEF格式。S102, after receiving the operation of confirming the submission of the order, that is, after the user triggers the "submit" button in the order, extract the information in the order to generate a payment request, and the payment request is in NDEF format.
其中,支付请求信息包括订单标识(比如订单号)、付款金额和收款方账户信息(比如卖家账号)。Wherein, the payment request information includes an order identifier (such as an order number), a payment amount, and account information of the payee (such as a seller's account number).
S103,向支付端设备发送建立通信连接的请求,以通过两者的NFC芯片建立两者之间的近场通信连接。在该实施例中,支付端设备可为设有NFC芯片的手机。S103. Send a request for establishing a communication connection to the payment terminal device, so as to establish a near field communication connection between the two through their NFC chips. In this embodiment, the payment terminal device may be a mobile phone equipped with an NFC chip.
具体的,可将支付端设备靠近被支付端设备(10cm以内),当被支付端发现该支付端设备并向该支付端设备发出建立通信连接的请求,则该支付端设备会接收到并显示该连接请求,当支付端设备确认接受该连接请求后,被支付端设备和支付端设备之间即可实现由NFC芯片建立的近场通信连接。Specifically, the payer device can be brought close to the payee device (within 10cm), and when the payee finds the payer device and sends a request for establishing a communication connection to the payer device, the payer device will receive and display The connection request, when the payment terminal device confirms to accept the connection request, the near field communication connection established by the NFC chip can be realized between the paid terminal device and the payment terminal device.
进一步的,在向支付端设备发送建立通信连接的请求之前,还可先搜索是否存在支付端设备。具体可为,通过被支付端设备中的NFC芯片发出电磁场,然后判断在该电磁场内是否存在通过其他NFC芯片发出的电磁波,如果存在,则存在支付端设备。Further, before sending a request for establishing a communication connection to the payment terminal device, it may also search whether there is a payment terminal device. Specifically, an electromagnetic field is emitted by the NFC chip in the paid terminal device, and then it is judged whether there are electromagnetic waves emitted by other NFC chips in the electromagnetic field, and if so, there is the paid terminal device.
S104,在建立了上述近场通信连接后,将支付请求发送给支付端设备,以便该支付端设备根据该支付请求执行相关的支付操作,也就是根据支付请求中的付款金额、收款方账户信息等,将款项支付给收款方。S104. After the above-mentioned near-field communication connection is established, send the payment request to the payment terminal device, so that the payment terminal device can perform related payment operations according to the payment request, that is, according to the payment amount in the payment request, the payee account Information, etc., and pay the money to the payee.
S105,接收支付端返回的支付完成信息并根据该支付完成信息对相应的订单进行后续操作,其中,所述支付完成信息包括订单标识。S105. Receive the payment completion information returned by the payment terminal and perform follow-up operations on the corresponding order according to the payment completion information, wherein the payment completion information includes an order identifier.
当支付端完成支付后,会生成包括订单标识的支付完成信息并会把该信息发送给该被支付端,该被支付端可根据该订单标识对该订单进行后续操作,比如将订单、与订单相关的销售属性信息、支付完成信息等发送给卖方,以便该卖方根据销售属性信息中的买家地址等进行发货等操作。When the payer completes the payment, it will generate payment completion information including the order ID and send the information to the payee, and the payee can perform follow-up operations on the order according to the order ID, such as combining the order with the order Related sales attribute information, payment completion information, etc. are sent to the seller, so that the seller can perform operations such as delivery according to the buyer's address in the sales attribute information.
图2为本发明基于NFC的支付方法实施例一中智能电视的显示界面示意图,下面以被支付端设备为设有NFC芯片的智能电视、支付端设备为设有NFC芯片的手机、在智能电视的电视商城购物为例并结合图2对上述步骤进行进一步说明。Fig. 2 is a schematic diagram of the display interface of a smart TV in the first embodiment of the NFC-based payment method of the present invention. Below, the paid terminal device is a smart TV with an NFC chip, and the payment terminal device is a mobile phone with an NFC chip. Take the shopping in the TV mall as an example and further illustrate the above steps with reference to FIG. 2 .
当用户在电视商城的某一页面看到了牙刷并希望购买,则通过智能电视遥控器对该牙刷进行了选择(比如选择的数量为两个等),并触发了该页面上的“购买”按钮。When the user sees a toothbrush on a certain page of the TV mall and wants to buy it, the toothbrush is selected through the smart TV remote control (for example, the number of choices is two, etc.), and the "buy" button on the page is triggered .
该牙刷的销售属性包括,商品名称:牙刷、商品ID:100001、价格:15元、数量:2个、卖家名称:A、卖家地址:B、卖家账号:100020003000、买家姓名:C、买家地址:D。The sales attributes of the toothbrush include: commodity name: toothbrush, commodity ID: 100001, price: 15 yuan, quantity: 2, seller name: A, seller address: B, seller account number: 100020003000, buyer name: C, buyer Address: D.
当智能电视21接收到该购买请求后,根据上述商品属性生成一个订单22(如图2所示)。When the smart TV 21 receives the purchase request, it generates an order 22 (as shown in FIG. 2 ) according to the above-mentioned product attributes.
当触发订单中的“提交”按钮23后,则对该订单中的信息进行提取以生成支付请求,该支付请求中包括订单标识(也就是订单号:123456)、付款金额(30元)和收款方账户信息(也就是卖家账号:100020003000)。When the "submit" button 23 in the order is triggered, the information in the order is extracted to generate a payment request, which includes the order identifier (that is, the order number: 123456), the payment amount (30 yuan) and the payment request. The payer's account information (that is, the seller's account number: 100020003000).
智能电视可先搜索在预置范围内(10cm)是否存在支付端设备,当搜索到支付端设备后,向该支付端设备(手机)发送建立通信连接的请求。The smart TV can first search whether there is a payment terminal device within a preset range (10cm), and when the payment terminal device is found, send a request for establishing a communication connection to the payment terminal device (mobile phone).
当该手机接受该请求后,即可建立起智能电视与手机之间的近场通信连接。After the mobile phone accepts the request, a near-field communication connection between the smart TV and the mobile phone can be established.
通过该近场通信连接,智能电视将支付请求发送给手机,以便手机将相应的金额支付给收款方,在支付完成后生成支付完成信息,并将该支付完成信息发送给智能电视。Through the near-field communication connection, the smart TV sends the payment request to the mobile phone, so that the mobile phone pays the corresponding amount to the payee, generates payment completion information after the payment is completed, and sends the payment completion information to the smart TV.
智能电视接收该支付完成信息,并根据支付信息中的订单标识对相应的订单进行后续操作。The smart TV receives the payment completion information, and performs subsequent operations on the corresponding order according to the order identifier in the payment information.
其次,本发明实施例还从支付端设备侧提供了一种基于NFC的支付方法,参看图3所示,为基于NFC的支付方法实施例二的流程示意图。Secondly, the embodiment of the present invention also provides an NFC-based payment method from the payment terminal device side, as shown in FIG. 3 , which is a schematic flowchart of Embodiment 2 of the NFC-based payment method.
在该实施例中,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,该被支付端设备和支付端设备均连接于网络,且该被支付端设备连接于预置后台服务器,所述支付端设备连接于预置支付服务器。In this embodiment, it includes a payee device provided with an NFC chip and a payer device provided with an NFC chip. Both the payee device and the payer device are connected to the network, and the payee device is connected to a preset A background server, the payment terminal device is connected to a preset payment server.
在该支付端设备侧,该方法包括:On the side of the payment terminal device, the method includes:
S201,接收被支付端设备发来的建立通信连接的请求,并通过两者的NFC芯片建立两者之间的近场通信连接。S201. Receive a request for establishing a communication connection sent by the payment terminal device, and establish a near field communication connection between the two through the NFC chips of the two.
具体的,该支付端设备会接收到并显示被支付端设备发来的建立通信连接的请求,当支付端设备确认接受该连接请求后,被支付端设备和支付端设备之间即可实现由NFC芯片建立的近场通信连接。Specifically, the payment terminal device will receive and display the request for establishing a communication connection sent by the paid terminal device. Near field communication connection established by NFC chip.
S202,接收被支付端设备发来的支付请求,比如可为在被支付端设备上显示该支付请求,其中,支付请求信息包括订单标识、支付金额、收款方账户信息及“确认支付”按钮、“取消支付”按钮等。S202. Receive the payment request sent by the paid terminal device, for example, display the payment request on the paid terminal device, wherein the payment request information includes the order identifier, payment amount, payee account information and the "confirm payment" button , "Cancel Payment" button, etc.
S203,当接收到确认支付的操作后(比如当触发上述“确认支付”按钮后),启动支付端设备中预置的支付应用并将支付请求发送给支付应用所对应的支付服务器。S203. After receiving the operation of confirming the payment (such as when the above-mentioned "confirm payment" button is triggered), start the payment application preset in the payment terminal device and send the payment request to the payment server corresponding to the payment application.
该支付应用可用于存储电子货币,电子货币包括电子现金、电子信用卡、电子银行卡、电子零钱、安全零钱、在线货币等。The payment application can be used to store electronic money, and the electronic money includes electronic cash, electronic credit card, electronic bank card, electronic change, safe change, online currency, and the like.
支付端设备与支付服务器通过网络连接,该支付应用中的金额信息与支付服务器中记录的支付应用中的金额信息时刻保持一致,且支付服务器可根据支付应用发送的支付请求生成支付指令,以便该支付应用根据支付请求中的金额等进行扣款操作。The payment terminal device is connected to the payment server through the network, and the amount information in the payment application is always consistent with the amount information in the payment application recorded in the payment server, and the payment server can generate payment instructions according to the payment request sent by the payment application, so that the The payment application performs the deduction operation according to the amount in the payment request, etc.
S204,接收支付服务器根据支付请求生成的支付指令,并根据该支付指令从支付应用中扣款。S204. Receive a payment instruction generated by the payment server according to the payment request, and deduct money from the payment application according to the payment instruction.
S205,在扣款完成后生成包括订单标识的支付完成信息,并将该支付完成信息通过近场通信连接发送给被支付端设备,以便该被支付端设备根据支付完成信息对相应的订单进行后续操作。S205. After the deduction is completed, the payment completion information including the order identification is generated, and the payment completion information is sent to the paid terminal device through the near field communication connection, so that the paid terminal device can follow up the corresponding order according to the payment completion information. operate.
进一步的,在支付端设备中还可设有用于保证支付安全的安全元件芯片(也就是SE芯片),在该SE芯片中可设有用于对数据加密的加密逻辑电路及相应的对加密数据进行解密的解密逻辑电路,该SE芯片比如可设置于手机的SIM卡中、设置于手机的主板中等等,以进一步提高该支付过程的安全度。Further, a secure element chip (that is, an SE chip) for ensuring payment security can also be provided in the payment terminal device, and an encryption logic circuit for encrypting data and corresponding encryption data can be provided in the SE chip. Decryption decryption logic circuit, the SE chip, for example, can be set in the SIM card of the mobile phone, in the motherboard of the mobile phone, etc., to further improve the security of the payment process.
基于该SE芯片的设置,在S204中的接收支付服务器根据支付请求生成的支付指令之后,还可显示支付应用的支付密码输入页面,且当接收到支付密码后通过SE芯片将支付密码进行加密并发送给支付服务器,以便当接收到支付服务器发送的确认密码正确的信息后,根据支付指令从所述支付应用中扣款。以此,首先可通过支付密码的输入进一步加强支付的安全性和谨慎性,而且还可通过SE芯片对用户输入的支付密码先进行加密再发给支付服务器以便支付服务器确认支付密码的正确与否并传回确认信息,这样可确保支付密码在传输过程中的安全性,避免支付密码在传输过程中被恶意截取以造成用户财产损失等情况的发生。Based on the setting of the SE chip, after receiving the payment instruction generated by the payment server according to the payment request in S204, the payment password input page of the payment application can also be displayed, and when the payment password is received, the payment password is encrypted by the SE chip and Send it to the payment server, so that after receiving the information confirming that the password is correct sent by the payment server, the payment will be deducted from the payment application according to the payment instruction. In this way, the security and prudence of the payment can be further enhanced through the input of the payment password, and the payment password input by the user can also be encrypted through the SE chip and then sent to the payment server so that the payment server can confirm whether the payment password is correct or not And send back confirmation information, which can ensure the security of the payment password during the transmission process, and prevent the payment password from being maliciously intercepted during the transmission process to cause the user's property loss and other situations.
在支付应用中,用户通常会将银行卡信息(比如户名、银行名称、卡号等信息)预存于支付应用中,以方便每次的支付行为(无需每次支付时重新输入),基于该SE芯片的设置,还可在从支付应用中扣款时,通过SE芯片对支付应用中预存的银行卡信息进行加密,以在扣款过程中保证银行卡信息的安全,避免在支付行为发生时银行卡信息被恶意截取以造成用户财产损失等情况的发生。In payment applications, users usually pre-store bank card information (such as account name, bank name, card number, etc.) in the payment application to facilitate each payment behavior (no need to re-enter each payment), based on this The setting of the chip can also encrypt the pre-stored bank card information in the payment application through the SE chip when deducting money from the payment application, so as to ensure the security of the bank card information during the deduction process and avoid bank card information when the payment occurs. The card information is maliciously intercepted to cause the user's property loss and other situations.
图4和图5为本发明基于NFC的支付方法实施例二中手机的显示界面示意图(一)和(二),下面以被支付端设备为设有NFC芯片的智能电视、支付端设备为设有NFC芯片的手机、在智能电视的电视商城购物为例并结合图3对上述步骤进行进一步说明。Figure 4 and Figure 5 are schematic diagrams (1) and (2) of the display interface of the mobile phone in the second embodiment of the NFC-based payment method of the present invention, and the paid terminal device is assumed to be a smart TV with an NFC chip and a payment terminal device below A mobile phone with an NFC chip and shopping in a TV mall of a smart TV are taken as examples and the above steps are further described in conjunction with FIG. 3 .
手机41接收到智能电视发来的建立通信连接的请求并显示于手机的界面42上个(如图4所示),该请求可以包括“是否接收与NFC设备的通信连接?”、“是”、“否”等,当手机用户触发“是”的按钮,则表示接受建立与智能电视之间的通信连接。The mobile phone 41 receives the request for establishing a communication connection sent by the smart TV and displays it on the interface 42 of the mobile phone (as shown in Figure 4). This request can include "whether to receive the communication connection with the NFC device?" , "No", etc., when the mobile phone user triggers the "Yes" button, it means accepting the establishment of a communication connection with the smart TV.
在接收上述通信连接后,可通过该通信连接来接收来自智能电视发送的支付请求(如图5所示)并显示于手机的界面42上,该支付请求可包括订单标识、支付金额、收款方账户信息(收款方名称也就是卖家名称、收款方账号也就是卖家账号)及“确认支付”按钮、“取消支付”按钮等。After receiving the above-mentioned communication connection, the payment request sent from the smart TV (as shown in Figure 5 ) can be received through the communication connection and displayed on the interface 42 of the mobile phone. The account information of the payee (the name of the payee is also the name of the seller, and the account of the payee is also the account of the seller), the "confirm payment" button, the "cancel payment" button, etc.
当接收到确认支付的操作后,也就是当触发上述“确认支付”的按钮后,则启动手机中预置安装的支付应用(比如叫做“手机钱包”的支付应用),并将上述支付请求发送给手机钱包所对应的支付服务器。After receiving the operation of confirming the payment, that is, when the above-mentioned "confirm payment" button is triggered, the pre-installed payment application in the mobile phone (such as the payment application called "mobile wallet") is started, and the above-mentioned payment request is sent Give the payment server corresponding to the mobile wallet.
该支付服务器根据上述请求生成支付指令,并将支付指令发送给送手机钱包,手机钱包接收该支付指令,并显示支付密码输入页面。The payment server generates a payment instruction according to the above request, and sends the payment instruction to the mobile wallet, and the mobile wallet receives the payment instruction and displays a payment password input page.
当手机钱包接收到用户输入的正确的支付密码后,手机钱包根据接收到的支付指令执行扣款操作。After the mobile wallet receives the correct payment password input by the user, the mobile wallet executes the deduction operation according to the received payment instruction.
在上述扣款操作之后生成付完成信息,该支付完成信息包括订单标识,比如该支付完成信息为“123456号订单已支付完成”等。The payment completion information is generated after the above deduction operation, and the payment completion information includes the order identifier, for example, the payment completion information is "order 123456 has been paid".
手机将该支付完成信息发送给智能电视,以便智能电视根据该支付完成信息对应的订单进行后续操作,比如对123456号的订单、与该订单相关的销售属性信息、支付完成信息等发送给卖方,以便卖方根据销售属性信息中的买家姓名、买家地址等进行发货等操作。The mobile phone sends the payment completion information to the smart TV, so that the smart TV can perform follow-up operations according to the order corresponding to the payment completion information, such as sending the order No. 123456, sales attribute information related to the order, payment completion information, etc. to the seller, In order for the seller to carry out operations such as delivery according to the buyer's name and buyer's address in the sales attribute information.
在本发明提供的基于NFC的支付方法实施例中,被支付端设备和支付端设备可通过两者的NFC芯片建立两者的近场通信连接,并通过支付端中预置的支付应用完成被支付端的网上付费,解决了现有网上支付不适用于智能电视等终端设备的问题,更便利于智能电视用户进行网上支付,该方法操作步骤简单,可提高智能电视用户网上支付的效率,且由于近场通信具有天然的安全性,因此基于被支付端设备与支付端设备之间的近场通信的支付操作,其安全性更高。而且,由于在支付过程中设置了输入密码页面,也使得支付过程更安全,比外,还可在支付端设备中设置SE芯片,可进一步提高支付过程的安全性。In the embodiment of the NFC-based payment method provided by the present invention, the paid-end device and the payer-end device can establish a near-field communication connection between the two through their NFC chips, and use the preset payment application in the payer to complete the payment. The online payment at the payment end solves the problem that the existing online payment is not applicable to terminal devices such as smart TVs, and it is more convenient for smart TV users to pay online. This method has simple operation steps and can improve the efficiency of online payment for smart TV users. Near field communication has natural security, so the payment operation based on the near field communication between the paid terminal device and the payment terminal device has higher security. Moreover, since the password input page is set during the payment process, the payment process is also safer. In addition, an SE chip can be set in the payment terminal device, which can further improve the security of the payment process.
对应上述本发明基于NFC的支付方法实施例,还提供了基于NFC的支付系统实施例,下面结合附图进行具体说明。Corresponding to the above-mentioned embodiment of the NFC-based payment method of the present invention, an embodiment of the NFC-based payment system is also provided, which will be described in detail below with reference to the accompanying drawings.
图6示出了本发明基于NFC的支付系统实施例一的结构示意图。FIG. 6 shows a schematic structural diagram of Embodiment 1 of the NFC-based payment system of the present invention.
在该实施例中,包括设有NFC芯片的被支付端设备和设有NFC芯片的支付端设备,该被支付端设备和支付端设备均连接于网络,且该被支付端设备连接于预置后台服务器,所述支付端设备连接于预置支付服务器。In this embodiment, it includes a payee device provided with an NFC chip and a payer device provided with an NFC chip. Both the payee device and the payer device are connected to the network, and the payee device is connected to a preset A background server, the payment terminal device is connected to a preset payment server.
设置在被支付端设备侧,包括:It is set on the side of the device to be paid, including:
订单生成单元61,用于接收购买指定商品对象的请求并根据用户选择的商品对象的销售属性生成订单。The order generating unit 61 is configured to receive a request for purchasing a specified commodity object and generate an order according to the sales attribute of the commodity object selected by the user.
支付请求生成单元62,当接收到确认提交订单的操作后,提取该订单中的信息以生成支付请求,其中,支付请求信息包括订单标识、付款金额和收款方账户信息。The payment request generation unit 62, after receiving the operation of confirming the submission of the order, extracts the information in the order to generate a payment request, wherein the payment request information includes the order identifier, payment amount and payee account information.
连接请求单元63,用于向支付端设备发送建立通信连接的请求,以通过两者的NFC芯片建立两者之间的近场通信连接。The connection request unit 63 is configured to send a request for establishing a communication connection to the payment terminal device, so as to establish a near field communication connection between the two through their NFC chips.
支付请求发送单元64,用于将支付请求发送给支付端设备,以便支付端根据支付请求执行支付操作。The payment request sending unit 64 is configured to send the payment request to the payment terminal device, so that the payment terminal performs a payment operation according to the payment request.
信息接收单元65,用于接收支付端返回的支付完成信息并根据支付完成信息对相应的订单进行后续操作,其中,支付完成信息包括订单标识。The information receiving unit 65 is configured to receive the payment completion information returned by the payment terminal and perform follow-up operations on the corresponding order according to the payment completion information, wherein the payment completion information includes the order identifier.
进一步的,在该被支付端设备侧,还可包括:Further, on the side of the paid terminal device, it may also include:
判断单元,用于当通过被支付端设备中的NFC芯片发出电磁场后,判断电磁场内是否存在通过其他NFC芯片发出的电磁波,如是,则存在支付端设备。The judging unit is used for judging whether there are electromagnetic waves sent by other NFC chips in the electromagnetic field after the electromagnetic field is emitted by the NFC chip in the paid terminal device, and if so, there is the paid terminal device.
此外,参看图7所示,为本发明基于NFC的支付系统实施例二的结构示意图。In addition, referring to FIG. 7 , it is a schematic structural diagram of Embodiment 2 of the NFC-based payment system of the present invention.
本发明还提供了一种基于NFC的支付系统,如图7所示,设置在支付端设备侧,包括:The present invention also provides a payment system based on NFC, as shown in Figure 7, which is set on the side of the payment terminal device, including:
接收连接请求单元71,用于接收被支付端设备发来的建立通信连接的请求,并通过两者的NFC芯片建立两者之间的近场通信连接。The receiving connection request unit 71 is configured to receive a request for establishing a communication connection sent by the payment terminal device, and establish a near field communication connection between the two through the NFC chips of the two.
接收支付请求单元72,用于接收被支付端设备发来的支付请求,其中,支付请求信息包括订单标识、支付金额和收款方账户信息。The receiving payment request unit 72 is configured to receive the payment request sent by the payment terminal device, wherein the payment request information includes the order identifier, the payment amount and the account information of the payee.
启动单元73,用于当接收到确认支付的操作后,启动支付端设备中预置的支付应用并将支付请求发送给支付应用对应的支付服务器。The starting unit 73 is configured to start the payment application preset in the payment terminal device and send the payment request to the payment server corresponding to the payment application after receiving the payment confirmation operation.
接收指令单元74,用于接收支付服务器根据支付请求生成的支付指令,并根据支付指令从支付应用中扣款。The receiving instruction unit 74 is configured to receive a payment instruction generated by the payment server according to the payment request, and deduct money from the payment application according to the payment instruction.
信息生成单元75,用于生成支付完成信息并将支付完成信息通过近场通信连接发送给被支付端,以便被支付端根据支付完成信息对相应的订单进行后续操作,其中,支付完成信息包括订单标识。The information generation unit 75 is configured to generate payment completion information and send the payment completion information to the paid end through the near field communication connection, so that the paid end can perform follow-up operations on the corresponding order according to the payment completion information, wherein the payment completion information includes the order logo.
进一步的,在支付端设备中还可设有用于保证支付安全的安全元件芯片(也就是SE芯片),在该SE芯片中可设有用于对数据加密的加密逻辑电路及相应的对加密数据进行解密的解密逻辑电路,该SE芯片比如设置于手机的SIM卡中、设置于PAD的主板中等等,以进一步提高该支付过程的安全度。Further, a secure element chip (that is, an SE chip) for ensuring payment security can also be provided in the payment terminal device, and an encryption logic circuit for encrypting data and corresponding encryption data can be provided in the SE chip. Decryption decryption logic circuit, the SE chip is set in the SIM card of the mobile phone, the main board of the PAD, etc., to further improve the security of the payment process.
基于该SE芯片的设置,该系统,还可包括:Based on the setting of the SE chip, the system may also include:
显示单元,用于显示支付应用的支付密码输入页面。The display unit is used to display the payment password input page of the payment application.
加密单元,用于当支付密码输入页面接收到支付密码后通过安全元件芯片将支付密码进行加密并发送给支付服务器,以便当接收到支付服务器发送的确认密码正确的信息后,根据支付指令从所述支付应用中扣款。The encryption unit is used to encrypt the payment password through the secure element chip and send it to the payment server after receiving the payment password on the payment password input page, so that after receiving the information confirming that the password is correct sent by the payment server, according to the payment instruction from the debit in the payment app mentioned above.
进一步的,该加密单元,还用于:通过安全元件芯片对支付应用中预存的银行卡信息进行加密,以在扣款过程中保证银行卡信息的安全。Further, the encryption unit is also used for: encrypting the pre-stored bank card information in the payment application through the secure element chip, so as to ensure the security of the bank card information during the deduction process.
在本发明提供的基于NFC的支付系统实施例中,被支付端设备和支付端设备可通过两者的NFC芯片建立两者的近场通信连接,并通过支付端中预置的支付应用完成被支付端的网上付费,解决了现有网上支付不适用于智能电视等终端设备的问题,更便利于智能电视用户进行网上支付,操作步骤简单,可提高智能电视用户网上支付的效率,且由于近场通信具有天然的安全性,因此基于被支付端设备与支付端设备之间的近场通信的支付操作,其安全性更高。而且,由于在支付过程中设置了输入密码页面,也使得支付过程更安全,此外还可在支付端设备中设置SE芯片,可进一步提高支付过程的安全性。In the embodiment of the NFC-based payment system provided by the present invention, the payee device and the payer device can establish a near-field communication connection between the two through their NFC chips, and complete the payment process through the payment application preset in the payer. The online payment at the payment end solves the problem that the existing online payment is not applicable to smart TV and other terminal devices, and it is more convenient for smart TV users to pay online. The operation steps are simple, and the efficiency of online payment for smart TV users can be improved. Communication has natural security, so the payment operation based on the near-field communication between the paid terminal device and the paid terminal device is more secure. Moreover, since the password input page is set during the payment process, the payment process is also safer. In addition, an SE chip can be set in the payment terminal device, which can further improve the security of the payment process.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.
以上对本发明所提供的一种基于NFC的支付方法和系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The NFC-based payment method and system provided by the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the present invention. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood as Limitations on the Invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410381861.9A CN104123643A (en) | 2014-08-05 | 2014-08-05 | Payment method and payment system on basis of NFC (near field communication) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410381861.9A CN104123643A (en) | 2014-08-05 | 2014-08-05 | Payment method and payment system on basis of NFC (near field communication) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104123643A true CN104123643A (en) | 2014-10-29 |
Family
ID=51769045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410381861.9A Pending CN104123643A (en) | 2014-08-05 | 2014-08-05 | Payment method and payment system on basis of NFC (near field communication) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104123643A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104463580A (en) * | 2014-12-22 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Mobile payment system based on NFC communication |
CN104463576A (en) * | 2014-11-26 | 2015-03-25 | 深圳市智惠付信息技术有限公司 | NFC mobile payment communication method based on online payment |
CN105184563A (en) * | 2015-09-17 | 2015-12-23 | 广东欧珀移动通信有限公司 | A security processing method and device for an NFC chip |
CN105279645A (en) * | 2015-05-21 | 2016-01-27 | 维沃移动通信有限公司 | Mobile payment method, mobile terminal and mobile payment system |
CN105631779A (en) * | 2016-03-16 | 2016-06-01 | 宁波市江东精诚自动化设备有限公司 | Intelligent payment restaurant system |
CN105744374A (en) * | 2016-02-01 | 2016-07-06 | 四川长虹电器股份有限公司 | NFC near field communication payment method based on smart television |
CN105913246A (en) * | 2015-02-24 | 2016-08-31 | 三星电子株式会社 | Handheld electronic device capable of magnetic field communication and payment method using the same |
CN106251138A (en) * | 2016-07-25 | 2016-12-21 | 恒宝股份有限公司 | The payment system of bracelet and method for parameter configuration, bracelet and method of payment |
CN106296169A (en) * | 2016-07-29 | 2017-01-04 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method of payment based on NFC and device |
CN106941615A (en) * | 2016-01-04 | 2017-07-11 | 中国移动通信集团公司 | A kind of method of payment, set top box and system |
WO2018166097A1 (en) * | 2017-03-15 | 2018-09-20 | 华为技术有限公司 | Payment method, terminal and server |
WO2019080853A1 (en) * | 2017-10-24 | 2019-05-02 | 丘炎卫 | System supporting peer-to-peer interactive connection technology for noncash transaction information accessibility |
CN109788362A (en) * | 2019-01-21 | 2019-05-21 | 湖北省广播电视信息网络股份有限公司 | TV shopping method, smart television and shopping system |
CN115439976A (en) * | 2021-06-01 | 2022-12-06 | 深圳市汇顶科技股份有限公司 | Mobile deduction method, electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050222961A1 (en) * | 2004-04-05 | 2005-10-06 | Philippe Staib | System and method of facilitating contactless payment transactions across different payment systems using a common mobile device acting as a stored value device |
CN101290669A (en) * | 2008-04-24 | 2008-10-22 | 北京爱奥时代信息科技有限公司 | NFC mobile phones payment terminal, payment procedure and system |
CN102855562A (en) * | 2012-09-11 | 2013-01-02 | 守望者科技(北京)有限公司 | NFC (near field communication) mobile terminal and payment method |
CN102968717A (en) * | 2012-11-07 | 2013-03-13 | 华为技术有限公司 | Electronic payment method, relevant device and system |
US20130080228A1 (en) * | 2006-08-25 | 2013-03-28 | Blaze Mobile, Inc. | Single tap using a user selected card |
CN103778533A (en) * | 2012-10-23 | 2014-05-07 | 三星电子株式会社 | System for performing payment in mobile terminal |
-
2014
- 2014-08-05 CN CN201410381861.9A patent/CN104123643A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050222961A1 (en) * | 2004-04-05 | 2005-10-06 | Philippe Staib | System and method of facilitating contactless payment transactions across different payment systems using a common mobile device acting as a stored value device |
US20130080228A1 (en) * | 2006-08-25 | 2013-03-28 | Blaze Mobile, Inc. | Single tap using a user selected card |
CN101290669A (en) * | 2008-04-24 | 2008-10-22 | 北京爱奥时代信息科技有限公司 | NFC mobile phones payment terminal, payment procedure and system |
CN102855562A (en) * | 2012-09-11 | 2013-01-02 | 守望者科技(北京)有限公司 | NFC (near field communication) mobile terminal and payment method |
CN103778533A (en) * | 2012-10-23 | 2014-05-07 | 三星电子株式会社 | System for performing payment in mobile terminal |
CN102968717A (en) * | 2012-11-07 | 2013-03-13 | 华为技术有限公司 | Electronic payment method, relevant device and system |
Non-Patent Citations (1)
Title |
---|
曹红辉: "《中国第三方支付行业发展蓝皮书 2011》", 31 December 2012 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104463576A (en) * | 2014-11-26 | 2015-03-25 | 深圳市智惠付信息技术有限公司 | NFC mobile payment communication method based on online payment |
CN104463580A (en) * | 2014-12-22 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Mobile payment system based on NFC communication |
CN105913246A (en) * | 2015-02-24 | 2016-08-31 | 三星电子株式会社 | Handheld electronic device capable of magnetic field communication and payment method using the same |
US11232339B2 (en) | 2015-02-24 | 2022-01-25 | Samsung Electronics Co., Ltd. | Handheld electronic device capable of magnetic field communication and payment method using the same |
CN105279645A (en) * | 2015-05-21 | 2016-01-27 | 维沃移动通信有限公司 | Mobile payment method, mobile terminal and mobile payment system |
CN105184563A (en) * | 2015-09-17 | 2015-12-23 | 广东欧珀移动通信有限公司 | A security processing method and device for an NFC chip |
CN106941615B (en) * | 2016-01-04 | 2020-01-07 | 中国移动通信集团公司 | A payment method, set-top box and system |
CN106941615A (en) * | 2016-01-04 | 2017-07-11 | 中国移动通信集团公司 | A kind of method of payment, set top box and system |
CN105744374A (en) * | 2016-02-01 | 2016-07-06 | 四川长虹电器股份有限公司 | NFC near field communication payment method based on smart television |
CN105631779A (en) * | 2016-03-16 | 2016-06-01 | 宁波市江东精诚自动化设备有限公司 | Intelligent payment restaurant system |
CN106251138A (en) * | 2016-07-25 | 2016-12-21 | 恒宝股份有限公司 | The payment system of bracelet and method for parameter configuration, bracelet and method of payment |
CN106251138B (en) * | 2016-07-25 | 2020-05-12 | 恒宝股份有限公司 | Payment system and parameter configuration method of bracelet, bracelet and payment method |
CN106296169A (en) * | 2016-07-29 | 2017-01-04 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method of payment based on NFC and device |
CN109074570A (en) * | 2017-03-15 | 2018-12-21 | 华为技术有限公司 | A payment method, terminal and server |
WO2018166097A1 (en) * | 2017-03-15 | 2018-09-20 | 华为技术有限公司 | Payment method, terminal and server |
WO2019080853A1 (en) * | 2017-10-24 | 2019-05-02 | 丘炎卫 | System supporting peer-to-peer interactive connection technology for noncash transaction information accessibility |
CN109788362A (en) * | 2019-01-21 | 2019-05-21 | 湖北省广播电视信息网络股份有限公司 | TV shopping method, smart television and shopping system |
CN115439976A (en) * | 2021-06-01 | 2022-12-06 | 深圳市汇顶科技股份有限公司 | Mobile deduction method, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104123643A (en) | Payment method and payment system on basis of NFC (near field communication) | |
US10395238B2 (en) | Two step near field communication transactions | |
US10445723B2 (en) | NFC-transaction processing systems and methods | |
CN102985885B (en) | Systems, devices and methods for proximity-based peer-to-peer payment transactions | |
CN102768787B (en) | Action transaction method and handheld electronic device for action transaction | |
CN104823383B (en) | The long-range method and system for producing NFC transaction | |
CN103400461B (en) | The system and method for POS, card business realizing | |
CN103208064A (en) | Online short-range payment method | |
CN103778533A (en) | System for performing payment in mobile terminal | |
CN103400460B (en) | Mobile POS, the system and method for card business realizing | |
TWI643141B (en) | Payment service equipment that can perform payment operations with multiple third-party payment platforms and payment method | |
CN104700262A (en) | NFC (near field communication) mobile terminal and POS (point of sale) terminal based payment system | |
KR20130106899A (en) | Receipt Issuing Device and User Terminal Using Receipt | |
CN102542697B (en) | Based on the POS terminal of electronic equipment with network access functions | |
CN108416581A (en) | A kind of methods, devices and systems of on-line payment | |
WO2013173339A1 (en) | Nfc transaction processing systems and methods | |
TWI642007B (en) | 2D barcode scanning code transfer system | |
EP2582062A1 (en) | System, method and readable media for mobile distribution and transaction applied in near field communication (nfc) service | |
CN118974757A (en) | In-person peer-to-peer transfers with a tap | |
JP2015207209A (en) | Card settlement system and card settlement method using the same | |
KR20120029203A (en) | Electronic settlement method using storage medium of mobile smart device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141029 |