[go: up one dir, main page]

WO2018086229A1 - Transaction routing identification method and system - Google Patents

Transaction routing identification method and system Download PDF

Info

Publication number
WO2018086229A1
WO2018086229A1 PCT/CN2016/113430 CN2016113430W WO2018086229A1 WO 2018086229 A1 WO2018086229 A1 WO 2018086229A1 CN 2016113430 W CN2016113430 W CN 2016113430W WO 2018086229 A1 WO2018086229 A1 WO 2018086229A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
secure
terminal device
nfc
card
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.)
Ceased
Application number
PCT/CN2016/113430
Other languages
French (fr)
Chinese (zh)
Inventor
张子敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2018086229A1 publication Critical patent/WO2018086229A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices

Definitions

  • the present invention relates to the field of secure payment technologies, and in particular, to a NFC-based transaction route identification method and system.
  • NFC Near Field Communication
  • the NFC function currently has two ways to implement card emulation: one is hardware-based, called Virtual Card Mode; the other is software-based, called Host Card Mode.
  • the SE provides secure storage of sensitive information and provides a secure execution environment for transaction transactions.
  • the NFC chip acts as a contactless communication front end, and forwards commands received from the external reader to the SE, which are then processed by the SE and replied by the NFC chip.
  • the SE may be integrated in a SIM (Subscriber Identification Module), an SD (Secure Digital Memory Card), or other chips.
  • the SE In the host card mode, the SE is not required to be provided, but the function of the SE is completed by an application running in the mobile phone or a server in the cloud, and the data received by the NFC chip is sent by the operating system or the application to the mobile phone, or The interaction is done through a mobile network to the server in the cloud.
  • NFC-enabled terminals there are more and more NFC-enabled terminals, and various NFC solutions are also emerging.
  • HCE HyperText-based Card Emulation
  • SWP-NFC SWP-NFC based on virtual card mode
  • it supports two kinds of SIM card SWP-NFC solutions, dual-system dual-domain NFC solutions.
  • the combination of the above solutions may have a problem of a card simulating transaction routing.
  • the terminal when the user performs a card simulation transaction, the terminal finally routes the transaction to the HCE host or the SIM card, the first SIM card or the second SIM card, the general domain, or Security domain, etc.
  • Existing solutions generally require manual setting by the user. For example, the location of the security module at the time of payment can be selected from the NFC settings. Therefore, the above operation is inconvenient, the user experience is poor, and it is impossible to switch in the off state.
  • a terminal device includes an NFC chip, and further includes:
  • the at least two NFC antennas are respectively located at different positions on the terminal device.
  • the at least two secure transaction units respectively comprise a host system or a security module
  • the at least two secure transaction units respectively comprise security modules in at least two SIM cards
  • the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.
  • the terminal device stores a transaction routing relationship table for storing a correspondence between an ID of the NFC antenna and a card analog transaction routing destination.
  • a transaction route identification method is applied to the foregoing terminal device, and the transaction route identification method includes:
  • the card simulation transaction information is routed to a secure transaction unit corresponding to the destination.
  • the at least two secure transaction units respectively comprise a host system or a security module
  • the at least two secure transaction units respectively comprise security modules in at least two SIM cards
  • the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.
  • the transaction routing relationship is recorded in a transaction routing relationship table, and the transaction routing relationship table stores a correspondence between an ID of the NFC antenna and a card simulation transaction routing destination.
  • a transaction route identification system running in the foregoing terminal device, the transaction route identification system comprising:
  • a detection module configured to detect a card analog transaction signal of the NFC antenna
  • a determining module configured to determine an NFC antenna that transmits the card analog transaction signal and obtain an ID of the determined NFC antenna
  • a retrieval module configured to retrieve a corresponding card simulation transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship
  • a routing module is configured to route the card simulated transaction information to a secure transaction unit corresponding to the destination.
  • the at least two secure transaction units respectively comprise a host system or a security module
  • the at least two secure transaction units respectively comprise security modules in at least two SIM cards
  • the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.
  • the transaction routing relationship is recorded in a transaction routing relationship table, and the transaction routing relationship table stores a correspondence between an ID of the NFC antenna and a card simulation transaction routing destination.
  • the present invention integrates two or more NFC antennas on a terminal device and deploys them at different locations, and simulates the card from each NFC antenna by retrieving the NFC antenna and the transaction routing relationship table of the transaction.
  • the transaction is routed to a specific secure transaction unit.
  • the solution of the invention can be automatically routed to a specific secure transaction unit during the card simulation transaction process, without manual selection by the user, improving the convenience and enhancing the user experience, and the scheme can perform route switching in the terminal device shutdown state, and the function More powerful.
  • FIG. 1 is a flow chart of a method of a preferred embodiment of the transaction route identification method of the present invention.
  • FIG. 2 is a schematic structural diagram of a preferred embodiment of the transaction route identification system of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • Embodiments of the present invention provide a transaction route identification method, which can automatically identify a transaction route of an NFC. Embodiments of the present invention also provide a corresponding transaction route identification system, terminal device, and computer readable storage medium.
  • FIG. 1 is a flow chart of a method of a preferred embodiment of the transaction route identification method of the present invention.
  • the transaction route identification method of the present invention can be applied to a terminal device.
  • the terminal device may be, but not limited to, a device including an NFC module, such as a personal computer, a smart phone, a tablet, and a smart wearable device.
  • NFC is the abbreviation of Near Field Communication, a short-range wireless communication technology. It is a contactless identification and interconnection technology for short-range wireless communication between mobile devices, consumer electronics, PCs and smart control tools. NFC provides a simple, touch-enabled solution that allows consumers to easily and intuitively exchange information and access content and services.
  • the NFC module is mainly composed of an NFC chip and an NFC antenna.
  • the NFC chip has a communication function and a certain computing capability, and some models even include an encryption logic circuit and an encryption/decryption module, and the NFC antenna is a near-field coupling antenna, generally a coupling coil and a magnetic film. For power transmission and data reception.
  • the NFC antenna may be built in the terminal device.
  • the terminal device includes at least two NFC antennas, which are respectively located at different positions of the terminal device.
  • the terminal device may also have more than two NFC antennas, and is not limited to two.
  • the at least two NFC antennas may be located on the upper side and the lower side of the terminal device, or respectively located on the upper side, the middle side, and the lower side of the terminal device, or on the upper and lower ends of the terminal device. , left and right four vertices, and so on.
  • one of the NFC antennas may be located on the upper side of the terminal device, and the other NFC antenna may be located on the lower side of the terminal device.
  • Each of the NFC antennas has an ID (identification) for distinguishing the NFC antennas.
  • the transaction route identification method includes:
  • the terminal device determines whether a card analog transaction signal of the NFC antenna is detected.
  • the card analog transaction signal may be data received by the NFC antenna.
  • the terminal device determines an NFC antenna that sends the card analog transaction signal and acquires the ID of the determined NFC antenna; and in S12, retrieves a corresponding card according to the ID of the NFC antenna and a preset transaction routing relationship. Simulating the transaction routing destination; further, at S13, the card simulation transaction information is routed to the secure transaction unit corresponding to the destination.
  • the routing destination may be a different secure transaction unit according to different NFC schemes included in the terminal device.
  • the secure transaction unit It may include a host system such as a mobile phone application (APP) and a security module (Secure Element, SE) such as SWP-SIM or SWP-SD.
  • HCE Host-based Card Emulation
  • SWP Single Wire Protocol
  • SWP-SD Single Wire Protocol-NFC scheme
  • APP mobile phone application
  • SE security module
  • the terminal device includes the first SIM card and the second SIM card, and the first SIM card and the second SIM card both have a security module.
  • the secure transaction unit may include a first SIM card and a security module corresponding to the second SIM card.
  • the secure transaction unit may include a common domain and a host system and/or a security module in the security domain.
  • a terminal device supports an NFC scheme of a dual SIM card, and the card analog transaction can be routed to the first SIM card or the second SIM card.
  • the user usually needs to use the first SIM card or the second SIM card, and the device needs to be reset when it needs to be changed, but cannot be changed in the shutdown state.
  • the embodiment of the present invention may preset a transaction routing relationship, where the transaction routing relationship may be recorded in a transaction routing relationship table, where the correspondence between the ID of the NFC antenna and the destination of the card simulated transaction may be stored. As shown in the following table:
  • the transaction routing relationship table may be stored in the terminal device.
  • the card analog transaction routing destination may be retrieved as the first SIM card. And routing the card simulation transaction information to a security module corresponding to the first SIM card.
  • FIG. 1 details the transaction route identification method of the present invention.
  • the transaction route identification system and the terminal device for realizing the above-described transaction route identification method are respectively described below with reference to FIGS. 2 to 3.
  • FIG. 2 is a schematic structural diagram of a preferred embodiment of the transaction route identification system of the present invention.
  • the transaction route identification system 10 of the present invention may comprise a plurality of program segments consisting of computer program code, which may be installed in the terminal device and executed by the terminal device to implement transaction route identification.
  • the transaction route identification system 10 shown in FIG. 2 can be divided into a plurality of functional modules according to the functions performed thereby.
  • the function module at least includes: a detection module 100, a determination module 101, a retrieval module 102, and a routing module 103.
  • the detection module 100 is configured to detect a card analog transaction signal of the NFC antenna.
  • the card analog transaction signal may be data received by the NFC antenna.
  • the determining module 101 is configured to determine an NFC antenna that transmits the card analog transaction signal and acquire an ID of the determined NFC antenna when detecting a card analog transaction signal of the NFC antenna.
  • the retrieval module 102 is configured to retrieve a corresponding card simulation transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship.
  • the routing module 103 is arranged to route the card simulated transaction information to a secure transaction unit corresponding to the destination.
  • the routing destination may be a different secure transaction unit according to different NFC schemes included in the terminal device.
  • the secure transaction unit may include a host system, such as a mobile phone application (APP) and a security module (Secure Element, SE) such as SWP-SIM or SWP-SD.
  • a host system such as a mobile phone application (APP) and a security module (Secure Element, SE) such as SWP-SIM or SWP-SD.
  • SE Secure Element
  • the terminal device includes the first SIM card and the second SIM card, and the first SIM card and the second SIM card both have a security module.
  • the secure transaction unit may include a first SIM card and a security module corresponding to the second SIM card.
  • the secure transaction unit may include a host system and/or a security module in a normal domain or a security domain.
  • a terminal device supports an NFC scheme of a dual SIM card, and the card analog transaction can be routed to the first SIM card or the second SIM card.
  • the user usually needs to use the first SIM card or the second SIM card. If it needs to be changed, it can be reset, but it cannot be changed in the shutdown state.
  • the embodiment of the present invention may preset a transaction routing relationship, where the transaction routing relationship may be recorded in a transaction routing relationship table, where the correspondence between the ID of the NFC antenna and the destination of the card simulated transaction may be stored. As shown in the following table:
  • the retrieval module may retrieve the card analog transaction routing destination according to the preset transaction routing relationship table.
  • the first SIM card is used by the routing module 103 to route the card simulation transaction information to the security module corresponding to the first SIM card.
  • the transaction routing relationship table may be stored in the terminal device.
  • the above-described integrated unit implemented in the form of a software function module can be stored in a computer readable storage medium.
  • the above software function module is stored in a storage medium, and includes a plurality of instructions for causing a terminal device (which may be a personal computer, a smart phone, a tablet computer, a smart wearable device, etc.) or a processor to execute various implementations of the present invention. Part of the steps of the method described.
  • FIG. 3 it is a schematic structural diagram of a terminal device that implements the transaction route identification method of the present invention.
  • the terminal device 1000 of the present invention may be, but not limited to, a personal computer, a smart phone, a tablet computer, and a smart wearable device, including a watch, a wristband, glasses, and the like.
  • the terminal device 1000 in the embodiment of the present invention includes an NFC chip 1, a first NFC antenna 20, a second NFC antenna 21, a first secure transaction unit 30, and a second secure transaction unit 31.
  • the first NFC antenna 20 corresponds to the first secure transaction unit 30, and the second NFC antenna 21 corresponds to the second secure transaction unit 31.
  • the terminal device 1000 may also include more than two NFC antennas and two or more secure transaction units according to different requirements, and is not limited to the above embodiments.
  • the NFC chip 1 has a communication function and a certain computing power, and some models even include an encryption logic circuit and an encryption/decryption module.
  • the first NFC antenna 20 and the second NFC antenna 21 are a near field coupling antenna, and generally a coupling coil is formed with a magnetic film for power transmission and data reception.
  • the first NFC antenna 20 and the second NFC antenna 21 may be built in the terminal device 100 and located at different locations of the terminal device 1000.
  • the first NFC antenna 20 may be located on an upper side of the terminal device 1000, and the second NFC antenna 21 may be located on a lower side of the terminal device 1000.
  • the first NFC antenna 20 and the second NFC antenna 21 both have an ID (identification number).
  • the first secure transaction unit 30 may be a host system, such as a mobile phone application (APP), and the second secure transaction unit 31 may be a Secure Module (SE) such as SWP-SIM or SWP-SD;
  • SE Secure Module
  • SWP-NFC solution supports two SIM cards, that is, the terminal device 1000 includes a first SIM card and a second SIM card, and the first SIM card and the second SIM card both have a security module, and the first secure transaction
  • the unit 30 may be a first SIM card, and the second secure transaction unit 31 may be a second SIM card; and if the terminal device 1000 simultaneously supports a dual system dual domain NFC scheme, the first secure transaction unit 30 may be a host system and/or security module of a common domain, and the second secure transaction unit 31 may be a host system and/or a security module of the security domain.
  • the terminal device 1000 further stores a transaction routing relationship table for storing the correspondence between the ID of the NFC antenna and the card simulation transaction routing destination.
  • the NFC chip 1 may include one or more microprocessors and digital processors, and the transaction route identification system 10 may be executed to implement:
  • the card simulation transaction information is routed to a secure transaction unit corresponding to the destination.
  • the at least two secure transaction units respectively comprise a host system or a security module
  • the at least two secure transaction units respectively comprise security modules in at least two SIM cards
  • the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.
  • the transaction routing relationship is recorded in a transaction routing relationship table, and the transaction routing relationship table stores a correspondence between an ID of the NFC antenna and a card simulation transaction routing destination.
  • Embodiments of the present invention also provide a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a terminal device including one or more processors, cause The terminal device performs a transaction route identification method of a terminal device as described in the foregoing method embodiment.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A terminal device, comprising an NFC chip, and further comprising at least two NFC antennas and at least two secure transaction units, each NFC antenna corresponding to a secure transaction unit. The at least two NFC antennas are respectively located at different positions on the terminal device. The at least two secure transaction units separately comprises a host system or a secure element; or the at least two secure transaction units separately comprises secure elements in at least two SIM cards; or the at least two secure transaction units separately comprises a host system or a secure element in a common domain or a secure domain. The terminal device stores a transaction routing relation table used for storing a correspondence relation between IDs of NFC antennas and card emulation transaction routing destinations. The present invention also provides a transaction routing identification method and system implemented using the terminal device. The present invention can automatically identify the transaction routing of NFC.

Description

交易路由识别方法及系统Transaction route identification method and system

本申请要求于2016年11月11日提交中国专利局,申请号为201610994444.0、发明名称为“交易路由识别方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610994444.0, entitled "Transaction Routing Identification Method and System", filed on November 11, 2016, the entire disclosure of which is incorporated herein by reference.

技术领域Technical field

本发明涉及安全支付技术领域,具体涉及一种基于NFC的交易路由识别方法及系统。The present invention relates to the field of secure payment technologies, and in particular, to a NFC-based transaction route identification method and system.

背景技术Background technique

NFC(Near Field Communication,近场通信)支付是最近两年科技圈的持续热议的一项技术。有NFC功能的终端,可以通过卡模拟,将信用卡、借记卡、会员卡等卡片模拟到手机中,只需轻轻一碰POS机,“嘀”的一下,不在卡槽里刷卡、不输密码,也不用签字。NFC (Near Field Communication) payment is a technology that has been continuously debated in the technology circle in the last two years. The terminal with NFC function can simulate the credit card, debit card, membership card and other cards into the mobile phone through the card simulation. Just touch the POS machine gently, “嘀”, do not swipe the card in the card slot, do not lose Password, no signature.

NFC功能目前有两种方式实现卡模拟:一种是基于硬件的,称为虚拟卡模式(Virtual Card Mode);一种是基于软件的,被称为主机卡模式(Host Card Mode)。The NFC function currently has two ways to implement card emulation: one is hardware-based, called Virtual Card Mode; the other is software-based, called Host Card Mode.

在虚拟卡模式下,需要提供安全模块(Secure Element,SE)。所述SE提供对敏感信息的安全存储和对交易事务提供一个安全的执行环境。NFC芯片作为非接触通讯前端,将从外部读写器接收到的命令转发到SE,然后由SE处理,并通过NFC芯片回复。所述SE可以集成在SIM(Subscriber Identification Module 客户识别模块)、SD(Secure Digital Memory Card,安全数字存储卡)或者其它芯片中。In virtual card mode, you need to provide a Secure Module (SE). The SE provides secure storage of sensitive information and provides a secure execution environment for transaction transactions. The NFC chip acts as a contactless communication front end, and forwards commands received from the external reader to the SE, which are then processed by the SE and replied by the NFC chip. The SE may be integrated in a SIM (Subscriber Identification Module), an SD (Secure Digital Memory Card), or other chips.

在主机卡模式下,不需要提供SE,而是由在手机中运行的一个应用或云端的服务器完成SE的功能,此时NFC芯片接收到的数据由操作系统或发送至手机中的应用,或通过移动网络发送至云端的服务器来完成交互。In the host card mode, the SE is not required to be provided, but the function of the SE is completed by an application running in the mobile phone or a server in the cloud, and the data received by the NFC chip is sent by the operating system or the application to the mobile phone, or The interaction is done through a mobile network to the server in the cloud.

目前,支持NFC功能的终端越来越多,各种NFC方案的组合也层出不穷,例如同时支持HCE(Host-based Card Emulation,基于主机的卡模拟)方案和基于虚拟卡模式的SWP-NFC方案、同时支持两种SIM卡的SWP-NFC方案、双系统双域NFC方案等。At present, there are more and more NFC-enabled terminals, and various NFC solutions are also emerging. For example, both HCE (Host-based Card Emulation) and SWP-NFC based on virtual card mode are supported. At the same time, it supports two kinds of SIM card SWP-NFC solutions, dual-system dual-domain NFC solutions.

上述这些方案的组合都会存在一个卡模拟交易路由的问题,如用户进行卡模拟交易时终端最终是把所述交易路由到HCE主机还是SIM卡、第一SIM卡还是第二SIM卡、普通域还是安全域等等这都属于交易路由的问题,现有方案一般需要用户手动设置,如可从NFC设置中选择支付时安全模块的位置。因此,上述操作不方便、用户体验差、且在关机状态下无法切换。The combination of the above solutions may have a problem of a card simulating transaction routing. For example, when the user performs a card simulation transaction, the terminal finally routes the transaction to the HCE host or the SIM card, the first SIM card or the second SIM card, the general domain, or Security domain, etc. This is a problem of transaction routing. Existing solutions generally require manual setting by the user. For example, the location of the security module at the time of payment can be selected from the NFC settings. Therefore, the above operation is inconvenient, the user experience is poor, and it is impossible to switch in the off state.

发明内容Summary of the invention

鉴于以上内容,有必要提出一种终端设备,其可以自动识别NFC的交易路由。In view of the above, it is necessary to propose a terminal device that can automatically recognize the transaction route of the NFC.

一种终端设备,所述终端设备包括有NFC芯片,还包括:A terminal device includes an NFC chip, and further includes:

至少两个NFC天线以及至少两个安全交易单元,其中每一个NFC天线对应一个安全交易单元。At least two NFC antennas and at least two secure transaction units, each of which corresponds to a secure transaction unit.

本发明优选实施例中,所述至少两个NFC天线分别位于所述终端设备上的不同位置。In a preferred embodiment of the present invention, the at least two NFC antennas are respectively located at different positions on the terminal device.

本发明优选实施例中,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块;In a preferred embodiment of the present invention, the at least two secure transaction units respectively comprise a host system or a security module;

或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards;

或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.

本发明优选实施例中,所述终端设备存储有一个交易路由关系表,用于存储NFC天线的ID与卡模拟交易路由目的地的对应关系。In a preferred embodiment of the present invention, the terminal device stores a transaction routing relationship table for storing a correspondence between an ID of the NFC antenna and a card analog transaction routing destination.

鉴于以上内容,还有必要提出一种交易路由识别方法,其可以自动识别NFC的交易路由。In view of the above, it is also necessary to propose a transaction route identification method, which can automatically identify the transaction route of the NFC.

一种交易路由识别方法,应用于上述的终端设备中,所述交易路由识别方法包括:A transaction route identification method is applied to the foregoing terminal device, and the transaction route identification method includes:

在检测到NFC天线的卡模拟交易信号时,确定发送所述卡模拟交易信号的NFC天线并获取所述确定的NFC天线的ID;When detecting a card analog transaction signal of the NFC antenna, determining an NFC antenna that transmits the card analog transaction signal and acquiring an ID of the determined NFC antenna;

根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地;及Retrieving a corresponding card analog transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship; and

将所述卡模拟交易信息路由到目的地对应的安全交易单元中。The card simulation transaction information is routed to a secure transaction unit corresponding to the destination.

本发明优选实施例中,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块;In a preferred embodiment of the present invention, the at least two secure transaction units respectively comprise a host system or a security module;

或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards;

或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.

本发明优选实施例中,所述交易路由关系记录于交易路由关系表中,所述交易路由关系表存储有NFC天线的ID与卡模拟交易路由目的地的对应关系。In a preferred embodiment of the present invention, the transaction routing relationship is recorded in a transaction routing relationship table, and the transaction routing relationship table stores a correspondence between an ID of the NFC antenna and a card simulation transaction routing destination.

鉴于以上内容,还有必要提出一种交易路由识别系统,其可以自动识别NFC的交易路由。In view of the above, it is also necessary to propose a transaction route identification system that can automatically identify NFC transaction routes.

一种交易路由识别系统,运行于上述的终端设备中,所述交易路由识别系统包括:A transaction route identification system, running in the foregoing terminal device, the transaction route identification system comprising:

检测模块,设置为检测NFC天线的卡模拟交易信号;a detection module configured to detect a card analog transaction signal of the NFC antenna;

判断模块,设置为确定发送所述卡模拟交易信号的NFC天线并获取所述确定的NFC天线的ID;a determining module, configured to determine an NFC antenna that transmits the card analog transaction signal and obtain an ID of the determined NFC antenna;

检索模块,设置为根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地;及a retrieval module, configured to retrieve a corresponding card simulation transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship; and

路由模块,设置为将所述卡模拟交易信息路由到目的地对应的安全交易单元中。A routing module is configured to route the card simulated transaction information to a secure transaction unit corresponding to the destination.

本发明优选实施例中,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块;In a preferred embodiment of the present invention, the at least two secure transaction units respectively comprise a host system or a security module;

或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards;

或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.

本发明优选实施例中,所述交易路由关系记录于交易路由关系表中,所述交易路由关系表存储有NFC天线的ID与卡模拟交易路由目的地的对应关系。In a preferred embodiment of the present invention, the transaction routing relationship is recorded in a transaction routing relationship table, and the transaction routing relationship table stores a correspondence between an ID of the NFC antenna and a card simulation transaction routing destination.

相较于现有技术,本发明在终端设备上集成两根或者以上NFC天线,且部署在不同的位置上,通过检索所属交易的NFC天线和交易路由关系表,将来自各NFC天线的卡模拟交易路由至特定的安全交易单元。通过本发明方案可在卡模拟交易过程中自动路由至特定的安全交易单元,无需用户手动选择,提高便利性的同时增强了用户体验,而且该方案可在终端设备关机状态下进行路由切换,功能更强大。Compared with the prior art, the present invention integrates two or more NFC antennas on a terminal device and deploys them at different locations, and simulates the card from each NFC antenna by retrieving the NFC antenna and the transaction routing relationship table of the transaction. The transaction is routed to a specific secure transaction unit. The solution of the invention can be automatically routed to a specific secure transaction unit during the card simulation transaction process, without manual selection by the user, improving the convenience and enhancing the user experience, and the scheme can perform route switching in the terminal device shutdown state, and the function More powerful.

附图说明DRAWINGS

为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those skilled in the art without any inventive effort.

图1是本发明所述交易路由识别方法较佳实施例的方法流程图。1 is a flow chart of a method of a preferred embodiment of the transaction route identification method of the present invention.

图2是本发明所述交易路由识别系统较佳实施例的结构示意图。2 is a schematic structural diagram of a preferred embodiment of the transaction route identification system of the present invention.

图3是本发明实施例提供的终端设备的结构示意图。FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

主要元件符号说明Main component symbol description

终端设备 1000Terminal equipment 1000

NFC芯片 1NFC chip 1

第一NFC天线 20First NFC antenna 20

第二NFC天线 21Second NFC antenna 21

第一安全交易单元 30First secure transaction unit 30

第二安全交易单元 31Second Secure Transaction Unit 31

交易路由识别系统 10Transaction routing identification system 10

检测模块 100Detection module 100

判断模块 101Judgment module 101

检索模块 102Search module 102

路由模块 103Routing module 103

具体实施方式detailed description

本发明实施例提供一种交易路由识别方法,可以自动识别NFC的交易路由。本发明实施例还提供相应的交易路由识别系统、终端设备以及计算机可读存储介质。Embodiments of the present invention provide a transaction route identification method, which can automatically identify a transaction route of an NFC. Embodiments of the present invention also provide a corresponding transaction route identification system, terminal device, and computer readable storage medium.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.

下面通过具体实施例,分别进行详细的说明。The detailed description will be respectively made below through specific embodiments.

实施例一、Embodiment 1

图1是本发明所述交易路由识别方法较佳实施例的方法流程图。1 is a flow chart of a method of a preferred embodiment of the transaction route identification method of the present invention.

根据不同的需求,该图所示流程图中的执行顺序可以改变,某些可以省略。The order of execution in the flowchart shown in the figure may vary depending on various requirements, and some may be omitted.

本发明所述交易路由识别方法可以应用于一个终端设备中。所述终端设备可以是,但不限于,例如,个人计算机,智能手机,平板电脑,以及智能穿戴设备等包括有NFC模块的设备。The transaction route identification method of the present invention can be applied to a terminal device. The terminal device may be, but not limited to, a device including an NFC module, such as a personal computer, a smart phone, a tablet, and a smart wearable device.

NFC是Near Field Communication缩写,即近距离无线通讯技术,是一种非接触式识别和互联技术,可以在移动设备、消费类电子产品、PC 和智能控件工具间进行近距离无线通信。NFC 提供了一种简单、触控式的解决方案,可以让消费者简单直观地交换信息、访问内容与服务。NFC is the abbreviation of Near Field Communication, a short-range wireless communication technology. It is a contactless identification and interconnection technology for short-range wireless communication between mobile devices, consumer electronics, PCs and smart control tools. NFC provides a simple, touch-enabled solution that allows consumers to easily and intuitively exchange information and access content and services.

所述NFC模块主要由NFC芯片与NFC天线组成。其中,所述NFC芯片具有通信功能和一定的计算能力,部分型号甚至含有加密逻辑电路以及加密/解密模块,而NFC天线则是一种近场耦合天线,一般来说是耦合线圈搭配磁性薄膜构成,用于实现功率发射和数据接收。The NFC module is mainly composed of an NFC chip and an NFC antenna. The NFC chip has a communication function and a certain computing capability, and some models even include an encryption logic circuit and an encryption/decryption module, and the NFC antenna is a near-field coupling antenna, generally a coupling coil and a magnetic film. For power transmission and data reception.

所述NFC天线可以内置于所述终端设备。The NFC antenna may be built in the terminal device.

本发明较佳实施例中,所述终端设备包括有至少两个NFC天线,可以分别位于所述终端设备的不同位置上。In a preferred embodiment of the present invention, the terminal device includes at least two NFC antennas, which are respectively located at different positions of the terminal device.

本发明其他较佳实施例中,所述终端设备也可以有两个以上的NFC天线,而不限于两个。In other preferred embodiments of the present invention, the terminal device may also have more than two NFC antennas, and is not limited to two.

例如,所述至少两个NFC天线可以分别位于所述终端设备的上侧、下侧,或者分别位于所述终端设备的上侧、中侧以及下侧,或者位于所述终端设备的上、下、左、右四个顶点处等等。For example, the at least two NFC antennas may be located on the upper side and the lower side of the terminal device, or respectively located on the upper side, the middle side, and the lower side of the terminal device, or on the upper and lower ends of the terminal device. , left and right four vertices, and so on.

本发明其中一个较佳实施例中,其中一个NFC天线可以位于所述终端设备的上侧,另一个NFC天线可以位于所述终端设备的下侧。In a preferred embodiment of the present invention, one of the NFC antennas may be located on the upper side of the terminal device, and the other NFC antenna may be located on the lower side of the terminal device.

其中,所述每一个NFC天线都具有一个ID(identification,身份标识号),用于对所述NFC天线进行区分。Each of the NFC antennas has an ID (identification) for distinguishing the NFC antennas.

参阅图1所示,所述交易路由识别方法包括:Referring to FIG. 1, the transaction route identification method includes:

S10,所述终端设备判断是否检测到NFC天线的卡模拟交易信号。S10. The terminal device determines whether a card analog transaction signal of the NFC antenna is detected.

本发明实施例中,所述卡模拟交易信号可以是所述NFC天线接收到的数据。In the embodiment of the present invention, the card analog transaction signal may be data received by the NFC antenna.

当检测到NFC天线的卡模拟交易信号时,执行下述的S11。When the card analog transaction signal of the NFC antenna is detected, the following S11 is performed.

S11,所述终端设备确定发送所述卡模拟交易信号的NFC天线并获取所述确定的NFC天线的ID;于S12,根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地;进一步地,于S13,将所述卡模拟交易信息路由到目的地对应的安全交易单元中。S11, the terminal device determines an NFC antenna that sends the card analog transaction signal and acquires the ID of the determined NFC antenna; and in S12, retrieves a corresponding card according to the ID of the NFC antenna and a preset transaction routing relationship. Simulating the transaction routing destination; further, at S13, the card simulation transaction information is routed to the secure transaction unit corresponding to the destination.

本发明较佳实施例中,所述路由目的地根据所述终端设备所包括的不同的NFC方案,可以是不同的安全交易单元。In a preferred embodiment of the present invention, the routing destination may be a different secure transaction unit according to different NFC schemes included in the terminal device.

例如,若所述终端设备同时支持HCE(Host-based Card Emulation,基于主机的卡模拟)方案和基于虚拟卡模式的SWP(Single Wire Protocol,单线连接协议)-NFC方案,则所述安全交易单元可以包括主机系统,如手机应用(APP)以及SWP-SIM或者SWP-SD之类的安全模块(Secure Element,SE)。For example, if the terminal device supports both a Host-based Card Emulation (HCE) scheme and a SWP (Single Wire Protocol)-NFC scheme based on a virtual card mode, the secure transaction unit It may include a host system such as a mobile phone application (APP) and a security module (Secure Element, SE) such as SWP-SIM or SWP-SD.

又如,若所述终端设备同时支持两种SIM卡的SWP-NFC方案,即所述终端设备包括第一SIM卡和第二SIM卡,而第一SIM卡以及第二SIM卡都存在安全模块,则所述安全交易单元可以包括第一SIM卡以及第二SIM卡对应的安全模块。For example, if the terminal device supports the SWP-NFC solution of the two SIM cards at the same time, the terminal device includes the first SIM card and the second SIM card, and the first SIM card and the second SIM card both have a security module. The secure transaction unit may include a first SIM card and a security module corresponding to the second SIM card.

再如,若所述终端设备同时支持双系统双域的NFC方案,则所述安全交易单元可以包括普通域以及安全域中的主机系统及/或安全模块。For another example, if the terminal device supports the dual system dual domain NFC solution at the same time, the secure transaction unit may include a common domain and a host system and/or a security module in the security domain.

假设,某终端设备支持双SIM卡的NFC方案,所述卡模拟交易可以路由至第一SIM卡或第二SIM卡中。现有方案中,通常需要用户设定具体是使用第一SIM卡或者第二SIM卡,需要变更时重新设置下即可,但在关机状态下无法变更。It is assumed that a terminal device supports an NFC scheme of a dual SIM card, and the card analog transaction can be routed to the first SIM card or the second SIM card. In the existing solution, the user usually needs to use the first SIM card or the second SIM card, and the device needs to be reset when it needs to be changed, but cannot be changed in the shutdown state.

本发明实施例可以预设交易路由关系,所述交易路由关系可以记录在一个交易路由关系表,所述交易路由关系表中可以存储有NFC天线的ID与卡模拟交易路由目的地的对应关系,如下表所示:The embodiment of the present invention may preset a transaction routing relationship, where the transaction routing relationship may be recorded in a transaction routing relationship table, where the correspondence between the ID of the NFC antenna and the destination of the card simulated transaction may be stored. As shown in the following table:

NFC 天线IDNFC antenna ID 卡模拟交易路由目的地Card simulation transaction routing destination 11 第一SIM卡First SIM card 22 第二SIM卡Second SIM card ……...... ……......

本发明较佳实施例中,所述交易路由关系表可以存储于所述终端设备中。In the preferred embodiment of the present invention, the transaction routing relationship table may be stored in the terminal device.

因此,当所述终端设备确定获取所述模拟交易信号的NFC天线的ID为1,则根据所述预设的交易路由关系表,可以检索到所述卡模拟交易路由目的地为第一SIM卡,并将所述卡模拟交易信息路由到所述第一SIM卡对应的安全模块中。Therefore, when the terminal device determines that the ID of the NFC antenna that acquires the analog transaction signal is 1, according to the preset transaction routing relationship table, the card analog transaction routing destination may be retrieved as the first SIM card. And routing the card simulation transaction information to a security module corresponding to the first SIM card.

上述图1详细介绍了本发明的交易路由识别方法,下面结合第2~3图,分别对实现上述交易路由识别方法的交易路由识别系统以及终端设备进行介绍。The above-mentioned FIG. 1 details the transaction route identification method of the present invention. The transaction route identification system and the terminal device for realizing the above-described transaction route identification method are respectively described below with reference to FIGS. 2 to 3.

应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the described embodiments are for illustrative purposes only and are not limited by the scope of the application.

实施例二、Embodiment 2

如图2所示,是本发明所述交易路由识别系统较佳实施例的结构示意图。2 is a schematic structural diagram of a preferred embodiment of the transaction route identification system of the present invention.

本发明所述交易路由识别系统10可以包括多个由计算机程序代码所组成的程序段,可以安装在终端设备中,并由所述终端设备所执行,以实现交易路由识别。The transaction route identification system 10 of the present invention may comprise a plurality of program segments consisting of computer program code, which may be installed in the terminal device and executed by the terminal device to implement transaction route identification.

本实施例中,图2所示的交易路由识别系统10根据其所执行的功能,可以被划分为多个功能模块。本实施例中,所述功能模块至少包括:检测模块100、判断模块101、检索模块102以及路由模块103。In this embodiment, the transaction route identification system 10 shown in FIG. 2 can be divided into a plurality of functional modules according to the functions performed thereby. In this embodiment, the function module at least includes: a detection module 100, a determination module 101, a retrieval module 102, and a routing module 103.

所述检测模块100设置为检测NFC天线的卡模拟交易信号。The detection module 100 is configured to detect a card analog transaction signal of the NFC antenna.

本发明实施例中,所述卡模拟交易信号可以是所述NFC天线接收到的数据。In the embodiment of the present invention, the card analog transaction signal may be data received by the NFC antenna.

所述判断模块101设置为在检测NFC天线的卡模拟交易信号时,确定发送所述卡模拟交易信号的NFC天线并获取所述确定的NFC天线的ID。The determining module 101 is configured to determine an NFC antenna that transmits the card analog transaction signal and acquire an ID of the determined NFC antenna when detecting a card analog transaction signal of the NFC antenna.

所述检索模块102设置为根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地。The retrieval module 102 is configured to retrieve a corresponding card simulation transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship.

所述路由模块103设置为将所述卡模拟交易信息路由到所述目的地对应的安全交易单元中。The routing module 103 is arranged to route the card simulated transaction information to a secure transaction unit corresponding to the destination.

本发明较佳实施例中,所述路由目的地根据所述终端设备所包括的不同的NFC方案,可以是不同的安全交易单元。In a preferred embodiment of the present invention, the routing destination may be a different secure transaction unit according to different NFC schemes included in the terminal device.

例如,若所述终端设备同时支持HCE(Host-based Card Emulation,基于主机的卡模拟)方案和基于虚拟卡模式的SWP-NFC方案,则所述安全交易单元可以包括主机系统,如手机应用(APP) 以及SWP-SIM或者SWP-SD之类的安全模块(Secure Element,SE)。For example, if the terminal device supports both a Host-based Card Emulation (HCE) scheme and a SWP-NFC scheme based on a virtual card mode, the secure transaction unit may include a host system, such as a mobile phone application ( APP) and a security module (Secure Element, SE) such as SWP-SIM or SWP-SD.

又如,若所述终端设备同时支持两种SIM卡的SWP-NFC方案,即所述终端设备包括第一SIM卡和第二SIM卡,而第一SIM卡以及第二SIM卡都存在安全模块,则所述安全交易单元可以包括第一SIM卡以及第二SIM卡对应的安全模块。For example, if the terminal device supports the SWP-NFC solution of the two SIM cards at the same time, the terminal device includes the first SIM card and the second SIM card, and the first SIM card and the second SIM card both have a security module. The secure transaction unit may include a first SIM card and a security module corresponding to the second SIM card.

再如,若所述终端设备同时支持双系统双域NFC方案,则所述安全交易单元可以包括普通域还是安全域中的主机系统及/或安全模块。For another example, if the terminal device supports the dual-system dual-domain NFC solution at the same time, the secure transaction unit may include a host system and/or a security module in a normal domain or a security domain.

假设,某终端设备支持双SIM卡的NFC方案, 所述卡模拟交易可以路由至第一SIM卡或第二SIM卡中。现有方案中,通常需要用户设定具体是使用第一SIM卡或者卡第二SIM卡,需要变更时重新设置下即可,但在关机状态下无法变更。It is assumed that a terminal device supports an NFC scheme of a dual SIM card, and the card analog transaction can be routed to the first SIM card or the second SIM card. In the existing solution, the user usually needs to use the first SIM card or the second SIM card. If it needs to be changed, it can be reset, but it cannot be changed in the shutdown state.

本发明实施例可以预设交易路由关系,所述交易路由关系可以记录在一个交易路由关系表,所述交易路由关系表中可以存储有NFC天线的ID与卡模拟交易路由目的地的对应关系,如下表所示:The embodiment of the present invention may preset a transaction routing relationship, where the transaction routing relationship may be recorded in a transaction routing relationship table, where the correspondence between the ID of the NFC antenna and the destination of the card simulated transaction may be stored. As shown in the following table:

NFC 天线的IDID of the NFC antenna 卡模拟交易路由目的地(安全交易单元)Card simulation transaction routing destination (secure transaction unit) 11 第一SIM卡First SIM card 22 第二SIM卡Second SIM card ……...... ……......

因此,当所述判断模块101确定获取所述模拟交易信号的NFC天线的ID为1,则所述检索模块根据所述预设的交易路由关系表,可以检索到所述卡模拟交易路由目的地为第一SIM卡,并由所述路由模块103将所述卡模拟交易信息路由到所述第一SIM卡对应的安全模块中。Therefore, when the determining module 101 determines that the ID of the NFC antenna that acquires the analog transaction signal is 1, the retrieval module may retrieve the card analog transaction routing destination according to the preset transaction routing relationship table. The first SIM card is used by the routing module 103 to route the card simulation transaction information to the security module corresponding to the first SIM card.

本发明较佳实施例中,所述交易路由关系表可以存储于所述终端设备中。In the preferred embodiment of the present invention, the transaction routing relationship table may be stored in the terminal device.

上述以软件功能模块的形式实现的集成单元,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台终端设备(可以是个人计算机,智能手机,平板电脑,以及智能穿戴设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。The above-described integrated unit implemented in the form of a software function module can be stored in a computer readable storage medium. The above software function module is stored in a storage medium, and includes a plurality of instructions for causing a terminal device (which may be a personal computer, a smart phone, a tablet computer, a smart wearable device, etc.) or a processor to execute various implementations of the present invention. Part of the steps of the method described.

实施例三、Embodiment 3

如图3所示,是实现本发明所述交易路由识别方法的终端设备的结构示意图。As shown in FIG. 3, it is a schematic structural diagram of a terminal device that implements the transaction route identification method of the present invention.

本发明所述终端设备1000可以是,但不限于,例如,个人计算机、智能手机,平板电脑,以及智能穿戴设备,包括手表、手环、眼镜等。The terminal device 1000 of the present invention may be, but not limited to, a personal computer, a smart phone, a tablet computer, and a smart wearable device, including a watch, a wristband, glasses, and the like.

如图3所示,本发明实施例中的终端设备1000包括NFC芯片1、第一NFC天线20、第二NFC天线 21、第一安全交易单元30以及第二安全交易单元31。As shown in FIG. 3, the terminal device 1000 in the embodiment of the present invention includes an NFC chip 1, a first NFC antenna 20, a second NFC antenna 21, a first secure transaction unit 30, and a second secure transaction unit 31.

其中,所述第一NFC天线20对应所述第一安全交易单元30,以及所述第二NFC天线21对应所述第二安全交易单元31。The first NFC antenna 20 corresponds to the first secure transaction unit 30, and the second NFC antenna 21 corresponds to the second secure transaction unit 31.

本发明其他较佳实施例中,根据不同的需求,所述终端设备1000也可以包括两个以上的NFC天线以及两个以上的安全交易单元,而不限于上述的实施例。In other preferred embodiments of the present invention, the terminal device 1000 may also include more than two NFC antennas and two or more secure transaction units according to different requirements, and is not limited to the above embodiments.

所述NFC芯片1具有通信功能和一定的计算能力,部分型号甚至含有加密逻辑电路以及加密/解密模块。The NFC chip 1 has a communication function and a certain computing power, and some models even include an encryption logic circuit and an encryption/decryption module.

所述第一NFC天线20以及第二NFC天线21是一种近场耦合天线,一般来说是耦合线圈搭配磁性薄膜构成,用于实现功率发射和数据接收。The first NFC antenna 20 and the second NFC antenna 21 are a near field coupling antenna, and generally a coupling coil is formed with a magnetic film for power transmission and data reception.

所述第一NFC天线20以及所述第二NFC天线21可以内置于所述终端设备100,并位于所述终端设备1000的不同位置。The first NFC antenna 20 and the second NFC antenna 21 may be built in the terminal device 100 and located at different locations of the terminal device 1000.

本发明其中一个较佳实施例中,所述第一NFC天线20可以位于所述终端设备1000的上侧,以及所述第二NFC天线21可以位于所述终端设备1000的下侧。In a preferred embodiment of the present invention, the first NFC antenna 20 may be located on an upper side of the terminal device 1000, and the second NFC antenna 21 may be located on a lower side of the terminal device 1000.

其中,所述第一NFC天线20以及第二NFC 天线21都具有一个ID(identification,身份标识号)。The first NFC antenna 20 and the second NFC antenna 21 both have an ID (identification number).

本发明较佳实施例中,若所述终端设备1000同时支持HCE(Host-based Card Emulation,基于主机的卡模拟)方案和基于虚拟卡模式的SWP-NFC方案,则所述第一安全交易单元30可以是主机系统,如手机应用(APP),以及所述第二安全交易单元31可以是SWP-SIM或者SWP-SD之类的安全模块(Secure Element,SE);若所述终端设备1000同时支持两种SIM卡的SWP-NFC方案,即所述终端设备1000包括第一SIM卡和第二SIM卡,而第一SIM卡以及第二SIM卡都存在安全模块,则所述第一安全交易单元30可以是第一SIM卡,以及所述第二安全交易单元31可以是第二SIM卡;以及若所述终端设备1000同时支持双系统双域的NFC方案,则所述第一安全交易单元30可以是普通域的主机系统和/或安全模块,以及所述第二安全交易单元31可以是安全域的主机系统和/或安全模块。In the preferred embodiment of the present invention, if the terminal device 1000 supports both a Host-based Card Emulation (HCE) scheme and a SWP-NFC scheme based on a virtual card mode, the first secure transaction unit 30 may be a host system, such as a mobile phone application (APP), and the second secure transaction unit 31 may be a Secure Module (SE) such as SWP-SIM or SWP-SD; The SWP-NFC solution supports two SIM cards, that is, the terminal device 1000 includes a first SIM card and a second SIM card, and the first SIM card and the second SIM card both have a security module, and the first secure transaction The unit 30 may be a first SIM card, and the second secure transaction unit 31 may be a second SIM card; and if the terminal device 1000 simultaneously supports a dual system dual domain NFC scheme, the first secure transaction unit 30 may be a host system and/or security module of a common domain, and the second secure transaction unit 31 may be a host system and/or a security module of the security domain.

本发明较佳实施例中,所述终端设备1000还存储有一个交易路由关系表,用于存储有NFC天线的ID与卡模拟交易路由目的地的对应关系。In the preferred embodiment of the present invention, the terminal device 1000 further stores a transaction routing relationship table for storing the correspondence between the ID of the NFC antenna and the card simulation transaction routing destination.

本发明实施例中,所述NFC芯片1可以包括一个或者多个微处理器、数字处理器,可执行所述交易路由识别系统10,从而实现:In the embodiment of the present invention, the NFC chip 1 may include one or more microprocessors and digital processors, and the transaction route identification system 10 may be executed to implement:

在检测到NFC天线的卡模拟交易信号时,确定发送所述卡模拟交易信号的NFC天线并获取所述确定的NFC天线的ID;When detecting a card analog transaction signal of the NFC antenna, determining an NFC antenna that transmits the card analog transaction signal and acquiring an ID of the determined NFC antenna;

根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地;及Retrieving a corresponding card analog transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship; and

将所述卡模拟交易信息路由到目的地对应的安全交易单元中。The card simulation transaction information is routed to a secure transaction unit corresponding to the destination.

本发明优选实施例中,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块;In a preferred embodiment of the present invention, the at least two secure transaction units respectively comprise a host system or a security module;

或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards;

或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain.

本发明优选实施例中,所述交易路由关系记录于交易路由关系表中,所述交易路由关系表存储有NFC天线的ID与卡模拟交易路由目的地的对应关系。In a preferred embodiment of the present invention, the transaction routing relationship is recorded in a transaction routing relationship table, and the transaction routing relationship table stores a correspondence between an ID of the NFC antenna and a card simulation transaction routing destination.

实施例四、Embodiment 4

本发明实施例还提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括一个或多个处理器的终端设备执行时,使所述终端设备执行如上文方法实施例所述的一种终端设备的交易路由识别方法。Embodiments of the present invention also provide a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a terminal device including one or more processors, cause The terminal device performs a transaction route identification method of a terminal device as described in the foregoing method embodiment.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related description of other embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In accordance with the present invention, certain steps may be performed in other sequences or concurrently. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other manners. For example, the system embodiment described above is merely illustrative. For example, the division of the module is only a logical function division, and the actual implementation may have another division manner.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个模块或系统也可以由一个模块或系统通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in the present invention. Any accompanying drawings in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. The plurality of modules or systems set forth in the system claims may also be implemented by a module or system by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

最之后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。In the following, it should be understood that the above embodiments are only illustrative of the technical solutions of the present invention, and are not intended to limit the details of the present invention, and those skilled in the art will understand that the technology of the present invention can be Modifications or equivalents are made without departing from the spirit and scope of the invention.

Claims (10)

一种终端设备,所述终端设备包括有NFC芯片,其特征在于,所述终端设备还包括: A terminal device, the terminal device includes an NFC chip, and the terminal device further includes: 至少两个NFC天线以及至少两个安全交易单元,其中每一个NFC天线对应一个安全交易单元。At least two NFC antennas and at least two secure transaction units, each of which corresponds to a secure transaction unit. 如权利要求1所示的终端设备,其特征在于,所述至少两个NFC天线分别位于所述终端设备上的不同位置。 The terminal device according to claim 1, wherein the at least two NFC antennas are respectively located at different positions on the terminal device. 如权利要求1所示的终端设备,其特征在于,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块; The terminal device according to claim 1, wherein said at least two secure transaction units respectively comprise a host system or a security module; 或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards; 或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain. 如权利要求3所示的终端设备,其特征在于,所述终端设备存储有一个交易路由关系表,用于存储NFC天线的ID与卡模拟交易路由目的地的对应关系。 The terminal device as claimed in claim 3, wherein the terminal device stores a transaction routing relationship table for storing a correspondence between an ID of the NFC antenna and a card analog transaction routing destination. 一种交易路由识别方法,其特征在于,所述交易路由识别方法应用于如权利要求1所述的终端设备中,所述交易路由识别方法包括: A transaction route identification method, wherein the transaction route identification method is applied to the terminal device according to claim 1, the transaction route identification method includes: 在通过NFC天线接收到卡模拟交易信号时,确定接收所述卡模拟交易信号的NFC天线ID;Determining an NFC antenna ID that receives the card analog transaction signal when receiving the card analog transaction signal through the NFC antenna; 根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地;及Retrieving a corresponding card analog transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship; and 将所述卡模拟交易信息路由到目的地对应的安全交易单元中。The card simulation transaction information is routed to a secure transaction unit corresponding to the destination. 如权利要求5所述的交易路由识别方法,其特征在于,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块; The transaction route identification method according to claim 5, wherein the at least two secure transaction units respectively comprise a host system or a security module; 或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards; 或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain. 如权利要求5所示的交易路由识别方法,其特征在于,所述交易路由关系记录于交易路由关系表中,所述交易路由关系表存储有NFC天线的ID与卡模拟交易路由目的地的对应关系。 The transaction route identification method according to claim 5, wherein said transaction routing relationship is recorded in a transaction routing relationship table, wherein said transaction routing relationship table stores an ID of an NFC antenna and a correspondence of a card simulation transaction routing destination relationship. 一种交易路由识别系统,其特征在于,所述交易路由识别系统运行于如权利要求1所述的终端设备中,所述交易路由识别系统包括: A transaction route identification system, characterized in that the transaction route identification system is operated in the terminal device according to claim 1, the transaction route identification system comprising: 检测模块,设置为检测NFC天线的卡模拟交易信号;a detection module configured to detect a card analog transaction signal of the NFC antenna; 判断模块,设置为确定发送所述卡模拟交易信号的NFC天线并获取所述确定的NFC天线的ID;a determining module, configured to determine an NFC antenna that transmits the card analog transaction signal and obtain an ID of the determined NFC antenna; 检索模块,设置为根据所述NFC天线的ID以及预设的交易路由关系检索相对应的卡模拟交易路由目的地;及a retrieval module, configured to retrieve a corresponding card simulation transaction routing destination according to the ID of the NFC antenna and a preset transaction routing relationship; and 路由模块,设置为将所述卡模拟交易信息路由到目的地对应的安全交易单元中。A routing module is configured to route the card simulated transaction information to a secure transaction unit corresponding to the destination. 如权利要求8所述的交易路由识别系统,其特征在于,所述至少两个安全交易单元分别包括一个主机系统或一个安全模块; The transaction route identification system according to claim 8, wherein said at least two secure transaction units respectively comprise a host system or a security module; 或者所述至少两个安全交易单元分别包括至少两个SIM卡中的安全模块;Or the at least two secure transaction units respectively comprise security modules in at least two SIM cards; 或者所述至少两个安全交易单元分别包括一个普通域或一个安全域中的主机系统或安全模块。Or the at least two secure transaction units respectively comprise a common domain or a host system or a security module in a secure domain. 如权利要求9所示的交易路由识别系统,其特征在于,所述交易路由关系记录于交易路由关系表中,所述交易路由关系表存储有NFC天线的ID与卡模拟交易路由目的地的对应关系。 The transaction route identification system according to claim 9, wherein said transaction routing relationship is recorded in a transaction routing relationship table, wherein said transaction routing relationship table stores an ID of an NFC antenna and a correspondence of a card simulation transaction routing destination relationship.
PCT/CN2016/113430 2016-11-11 2016-12-30 Transaction routing identification method and system Ceased WO2018086229A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610994444.0 2016-11-11
CN201610994444.0A CN106570695A (en) 2016-11-11 2016-11-11 Transaction routing recognition method and system

Publications (1)

Publication Number Publication Date
WO2018086229A1 true WO2018086229A1 (en) 2018-05-17

Family

ID=58541735

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113430 Ceased WO2018086229A1 (en) 2016-11-11 2016-12-30 Transaction routing identification method and system

Country Status (2)

Country Link
CN (1) CN106570695A (en)
WO (1) WO2018086229A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001767A1 (en) * 2022-06-30 2024-01-04 华为技术有限公司 Method for switching security service, and terminal

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3094516A1 (en) 2019-03-25 2020-10-02 Proton World International N.V. Electronic system
FR3094517A1 (en) 2019-03-25 2020-10-02 Proton World International N.V. Electronic system
FR3094514A1 (en) 2019-03-25 2020-10-02 Proton World International N.V. Electronic system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007068991A1 (en) * 2005-12-15 2007-06-21 Nokia Corporation Method, device, and system for network-based remote control over contactless secure storages
CN101771754A (en) * 2008-12-31 2010-07-07 北京联想软件有限公司 Mobile terminal and method for near-field communication thereof
CN102970063A (en) * 2012-10-26 2013-03-13 北京三星通信技术研究有限公司 Near-field communication method and device
CN104102890A (en) * 2014-07-18 2014-10-15 Tcl通讯(宁波)有限公司 NFC (Near Field Communication) mobile communication terminal and card detection method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3116161B1 (en) * 2014-04-01 2018-03-14 Huawei Device (Dongguan) Co., Ltd. Security unit management method and terminal
CN106101989A (en) * 2016-06-22 2016-11-09 依偎科技(南昌)有限公司 A kind of method selecting safe unit and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007068991A1 (en) * 2005-12-15 2007-06-21 Nokia Corporation Method, device, and system for network-based remote control over contactless secure storages
CN101771754A (en) * 2008-12-31 2010-07-07 北京联想软件有限公司 Mobile terminal and method for near-field communication thereof
CN102970063A (en) * 2012-10-26 2013-03-13 北京三星通信技术研究有限公司 Near-field communication method and device
CN104102890A (en) * 2014-07-18 2014-10-15 Tcl通讯(宁波)有限公司 NFC (Near Field Communication) mobile communication terminal and card detection method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001767A1 (en) * 2022-06-30 2024-01-04 华为技术有限公司 Method for switching security service, and terminal
EP4346250A4 (en) * 2022-06-30 2024-09-11 Huawei Technologies Co., Ltd. Method for switching security service, and terminal

Also Published As

Publication number Publication date
CN106570695A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
WO2015167160A1 (en) Command displaying method and command displaying device
WO2015186925A1 (en) Wearable device and method for providing augmented reality information
WO2016137307A1 (en) Attestation by proxy
WO2015182964A1 (en) Electronic device with foldable display and method of operating the same
WO2015102440A1 (en) Charging method and charging apparatus for electronic device
WO2017010792A1 (en) Card registration method for payment service and mobile electronic device implementing the same
WO2015133847A1 (en) Method and apparatus for detecting user input in an electronic device
WO2017122980A1 (en) Electronic device and method for authenticating identification information thereof
WO2016060424A1 (en) Method for connecting to external devices and electronic device implementing the same
WO2018086229A1 (en) Transaction routing identification method and system
WO2016027983A1 (en) Method and electronic device for classifying contents
WO2016129936A1 (en) Security message transmission apparatus and processing method therefor
WO2015108371A1 (en) Method and apparatus for controlling user interface
WO2018034518A1 (en) Electronic device and method thereof for grip recognition
WO2015068904A1 (en) Card reader, terminal, and payment information processing method using same
WO2015099300A1 (en) Method and apparatus for processing object provided through display
WO2015178661A1 (en) Method and apparatus for processing input using display
WO2015152628A1 (en) Input device, method, and system for electronic device
WO2014104539A1 (en) Method and apparatus for managing passcode
WO2017206506A1 (en) Secure element management method for nfc mobile payment terminal, and terminal
WO2016036124A1 (en) Electronic device and method for configuring message, and wearable electronic device and method for receiving and executing the message
WO2017034240A1 (en) Apparatus and method for performing payment transaction using dynamic mst configuration
WO2017026645A1 (en) Content security processing method and electronic device supporting the same
EP3516843A1 (en) Electronic device and method for operating the same
EP3362877A1 (en) Method for recording execution screen and electronic device for processing the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16921029

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 18.10.19.

122 Ep: pct application non-entry in european phase

Ref document number: 16921029

Country of ref document: EP

Kind code of ref document: A1