WO2014063586A1 - 近场通信nfc终端上的应用安装方法和nfc终端 - Google Patents

近场通信nfc终端上的应用安装方法和nfc终端 Download PDF

Info

Publication number
WO2014063586A1
WO2014063586A1 PCT/CN2013/085350 CN2013085350W WO2014063586A1 WO 2014063586 A1 WO2014063586 A1 WO 2014063586A1 CN 2013085350 W CN2013085350 W CN 2013085350W WO 2014063586 A1 WO2014063586 A1 WO 2014063586A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
mode application
simulation mode
application
card simulation
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/CN2013/085350
Other languages
English (en)
French (fr)
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Corp
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 China Mobile Communications Corp filed Critical China Mobile Communications Corp
Publication of WO2014063586A1 publication Critical patent/WO2014063586A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Definitions

  • the present invention relates to the field of data services, and in particular, to an application installation method on a Near Field Communication (NFC) terminal and an NFC terminal.
  • NFC Near Field Communication
  • a contactless receiving environment when an NFC mobile phone is used for a card swiping operation, the premise of successful card swiping is that a corresponding card emulation mode application needs to be installed in the NFC mobile phone, that is, if the NFC mobile phone is not installed with a corresponding one. In the card emulation mode application, the contactless receiving environment will prompt the swipe operation to fail.
  • Figure 1 is a schematic diagram of the relationship between an existing NFC mobile phone and a contactless reception environment.
  • the NPC mobile phone can be swiped by a sales terminal (POS, Po int of Sa le) machine or a gate machine with a contactless read head in a contactless reception environment.
  • POS sales terminal
  • Po int of Sa le POS
  • gate machine with a contactless read head in a contactless reception environment.
  • the specific implementation includes: First, the user needs to know the name of the corresponding card emulation mode application, and then log in to the NFC application management system. Manually search for the card emulation mode application and download the card emulation mode application to the NFC phone for installation. After the installation is completed, the corresponding card swipe operation can be successfully performed.
  • the above methods have certain problems in practical applications, such as: With the development of technology, more and more card simulation modes are installed on NFC, and in daily contactless reception environments, users are often difficult to specify. The name of the corresponding card emulation mode application in the environment is known, and the user cannot find the corresponding card emulation mode application through manual search and download and install in time, which eventually leads to the failure of the card swipe operation. SUMMARY OF THE INVENTION In view of this, the present invention provides an application installation method on an NFC terminal and an NFC terminal, which can improve the success rate of the NFC terminal card swiping operation.
  • an embodiment of the present invention provides a near field communication NFC terminal, including: a security module, an application discovery module, and a client module;
  • the security module is configured to: when performing a card swiping operation, and receive a transaction request sent by the implement in the receiving environment, if it is determined that the card emulation mode application X corresponding to the current swipe operation is not installed, the transaction is performed.
  • the identifier AID of the card emulation mode application X carried in the request is sent to the application discovery module; and the association information corresponding to the AID of the card emulation mode application X returned by the application discovery module is received and provided to the client.
  • the end module, the association information corresponding to the AID of the card emulation mode application X includes: at least: a download uniform resource locator URL address of the card emulation mode application X;
  • the application discovery module is configured to find association information corresponding to the AID of the card simulation mode application X according to the saved AID of the different card simulation mode application and the corresponding association information, and return the association information to the security module;
  • the client module is configured to download the card emulation mode application X according to the download URL address of the card emulation mode application X, and install it on the security module.
  • the NFC terminal further includes: an NFC controller and an operating system module; the security module sends the association information corresponding to the AID of the card emulation mode application X to the NFC controller in the form of an event;
  • the NFC controller is configured to report the event to the operating system module
  • the client module acquires the event from the operating system module, and extracts association information corresponding to the AID of the card simulation mode application X.
  • the security module combines the association information corresponding to the AID of the card emulation mode application X into a parameter string, and sends the parameter string to the NFC controller in the form of an event.
  • the association information corresponding to the AID of the card simulation mode application X further includes: a name of the card simulation mode application X;
  • the client module is further configured to: before downloading the card emulation mode application X, present the name of the card emulation mode application X to the user, and query the user whether to allow the card emulation mode application X to be installed, if receiving Upon confirmation of the instruction, the card simulation mode application X is downloaded.
  • the association information corresponding to the AID of the card simulation mode application X further includes: the preferential information of the card simulation mode application X;
  • the client module is further configured to display the offer information of the card emulation mode application X to the user while presenting the name of the card emulation mode application X to the user.
  • the client module is further configured to periodically or non-periodically update content stored in the application discovery module by using the security module.
  • the embodiment of the present invention further provides an application installation method on a near field communication NFC terminal, including: when an NFC terminal performs a card swiping operation, and receives a transaction request sent by an implement in an environment, if it is determined that it is not installed If X is applied to the card emulation mode corresponding to this card swipe operation, the following processing is performed:
  • association information corresponding to the AID of the card simulation mode application X carried in the transaction request according to the saved identifier AID of the different card simulation mode application and the corresponding association information where at least: the card simulation mode Application X downloads the Uniform Resource Locator URL address;
  • the card emulation mode application X is downloaded and installed according to the download URL address of the card emulation mode application X.
  • the association information corresponding to the AID of the card emulation mode application X further includes: a name of the card analog mode application X;
  • the method further includes: displaying the name of the card emulation mode application X to the user, and asking the user whether to allow the card emulation mode application X to be installed, and if receiving the confirmation instruction, Download the card simulation mode application X.
  • the association information corresponding to the AID of the card simulation mode application X further includes: the preferential information of the card simulation mode application X; While presenting the name of the card emulation mode application X to the user, the offer information of the card emulation mode application X is further presented to the user.
  • the above method further comprises: performing periodic or non-periodic update on the content saved in the NFC terminal.
  • the NFC terminal has the capability of actively discovering an un-installed card emulation mode application, and can complete downloading and installing the un-installed card emulation mode application without user participation, thereby avoiding
  • the problems existing in the prior art further improve the success rate of the NFC terminal card swiping operation.
  • Figure 1 is a schematic diagram showing the relationship between an existing NFC mobile phone and a contactless receiving environment
  • FIG. 2 is a schematic structural diagram of an embodiment of an NFC terminal according to the present invention.
  • mapping data table 3 is a schematic structural diagram of each mapping data table of the present invention.
  • FIG. 4 is a schematic view of a prompt window of the present invention.
  • FIG. 5 is a flowchart of an embodiment of an application installation method on an NFC terminal according to the present invention. DETAILED DESCRIPTION OF THE INVENTION
  • an improved NFC terminal and an application installation method on the NFC terminal are proposed in the present invention.
  • the NFC terminal may be an NFC mobile phone or an NFC terminal having a human-machine interface other than the NFC mobile phone; the NFC mobile phone may cover an NFC full terminal, a near field communication-single line protocol (NFC-SWP, Near Field Communication-Single) All NFC mobile phone types such as Wire Protocol), Near Field Communication (SFC), and NFC-SD (Near Field Communication - Secure Digital Memory Card).
  • NFC-SWP Near Field Communication-Single
  • All NFC mobile phone types such as Wire Protocol), Near Field Communication (SFC), and NFC-SD (Near Field Communication - Secure Digital Memory Card).
  • FIG. 2 is a schematic structural diagram of an embodiment of an NFC terminal according to the present invention. As shown in FIG. 2, the method includes: a security module, an application discovery module, and a client module.
  • the security module is configured to perform a card swipe operation, and when receiving a transaction request sent by the implement in the receiving environment, if it is determined that the card emulation mode application X corresponding to the current card swiping operation is not installed (for convenience, the card emulation is used)
  • the mode application X is used to indicate the card emulation mode application corresponding to the current card swipe operation, and the card emulation mode application X identifier (AID) carried in the transaction request is sent to the application discovery module; and the card emulation returned by the application discovery module is received.
  • the association information corresponding to the AID of the mode application X is provided to the client module, and the association information corresponding to the AID of the card simulation mode application X includes at least: a downloading uniform resource locator (URL, Uniform Resource Locator) address of the card simulation mode application X .
  • URL Uniform Resource Locator
  • the application discovery module is configured to find the association information corresponding to the AID of the card simulation mode application X according to the saved AID of the different card simulation mode application and the corresponding association information, and return the information to the security module.
  • the client module is configured to download the card emulation mode application X according to the download URL address of the card emulation mode application X, and install it on the security module.
  • the NFC terminal shown in Figure 1 may further include: an antenna, an NFC controller, and an operating system module.
  • the security module may send the association information corresponding to the AID of the card simulation mode application X to the NFC controller in the form of an event.
  • the security module may combine the association information corresponding to the AID of the card simulation mode application X into a parameter string, and The parameter string is sent to the NFC controller in the form of an event; correspondingly, the NFC controller reports the received event to the operating system module; the client module obtains the reported event from the operating system module, and extracts the event from the operating system module.
  • the card emulation mode applies the association information corresponding to the AID of X.
  • the transaction request received by the security module is obtained by the NFC controller from the receiving environment through the antenna and processed and sent to the security module.
  • the association information corresponding to the AID of the card emulation mode application X may further include: a name of the card emulation mode application X; correspondingly, the client module may be further used to apply the card emulation mode before downloading the card emulation mode application X
  • the name of X is displayed to the user, and the user is asked if they are allowed to The card emulation mode application X, if a confirmation command is received, downloads the card emulation mode application X.
  • the association information corresponding to the AID of the card emulation mode application X may further include: the offer information of the card emulation mode application X; correspondingly, the client module may be further used to display the name of the card emulation mode application X to the user At the same time, the card simulation mode application X preferential information is displayed to the user to attract the user to use the card simulation mode application X, thereby facilitating the promotion of the card simulation mode application X.
  • the NFC terminal shown in Figure 1 performs a card swipe operation (usually a non-contact card swipe operation)
  • the workflow of each module can be as follows: 1) fly).
  • the NFC controller receives a transaction request initiated by a device such as a POS machine in a non-contact receiving environment through an antenna, and the transaction request is usually a 13.56 M radio frequency signal; the NFC controller converts the radio frequency signal into a digital signal and sends it to the security. Module.
  • the security module After receiving the transaction request, the security module sends the AID of the card emulation mode application X carried in the transaction request to the application discovery module if it is determined that the card emulation mode application X corresponding to the card swiping operation is not installed.
  • the AID of the application of the different card simulation mode and its corresponding association information are pre-stored in the application discovery module, and the AID of each card simulation mode application and its corresponding association information can be saved in the structure of a mapping data table.
  • FIG. 3 is a schematic structural diagram of each mapping data table of the present invention.
  • other information except the AID information may be collectively referred to as associated information, and the associated information at least includes: downloading a URL address, and may also include a name and other information, and other information such as a preferential information, etc. .
  • the application discovery module may find the corresponding association information and return it to the security module, and assume that the card emulation mode applies the association information corresponding to the AID of the X in the embodiment. It also includes the name of the card emulation mode application X, the download URL address, and the offer information.
  • the security module combines the associated information corresponding to the AID of the card simulation mode application X into a parameter string, or the associated information corresponding to the AID of the received card simulation mode application X and the AID of the card simulation mode application X.
  • a parameter string is synthesized, and the latter method is assumed in the embodiment; the parameter string is a variable length structure, and a combination of "AID + name + download URL address + preferential information" can be adopted.
  • the security module sends the combined parameter string to the NFC controller in the form of an event.
  • the NFC controller reports the received event to the operating system module.
  • the client module can open a service process for monitoring events reported from the NFC controller to the operating system module and can parse the received events.
  • the client module listens to the event reported by the NFC controller to the operating system module in step 5), parses the event, and extracts the association information corresponding to the AID of the card simulation mode X or the card simulation mode X.
  • the associated information corresponding to the AID and the AID of the card emulation mode X is included in the client module.
  • the client module can display the name and the preferential information of the card simulation mode application X in the pop-up prompt window, and ask the user whether to allow the card simulation mode application X to be installed.
  • FIG. 4 is a schematic diagram of the prompt window of the present invention.
  • the client module can access the NFC application management system by downloading the card simulation mode application X by using the download URL address of the X simulation mode application mode,
  • the downloaded card emulation mode application X can be installed on the security module by accessing the security module's API (API, ApplI Programming Interface).
  • API API, ApplI Programming Interface
  • the client module can end this process.
  • the client module can also download and install the card emulation mode application X directly without asking whether the user allows it.
  • the card simulation mode application X is installed on the NFC terminal, and the subsequent card swiping operation can be completed accordingly.
  • it is necessary to periodically or non-periodically update the content saved in the application discovery module and periodically may refer to updating every predetermined time interval, and non-period may refer to when needed.
  • the update is performed, and the update includes: modifying an existing one or some mapping data tables, deleting an existing one or some mapping data tables, and adding one or some mapping data. Table, etc., the client module can be used to update the content saved in the application discovery module through the security module.
  • FIG. 5 is a flow chart of an embodiment of an application installation method on an NFC terminal of the present invention. As shown in Figure 5, it includes:
  • Step 51 When the NFC terminal performs a card swipe operation, it receives the tool sent from the receiving environment. At the time of the transaction request, if it is determined that the card simulation mode application X corresponding to the current card-swapping operation is not installed, step 52 is performed.
  • Step 52 The NFC terminal finds the association information corresponding to the AID of the card simulation mode application X carried in the transaction request according to the saved AID of the different card simulation mode application and the corresponding association information, and at least includes: the card simulation mode application X The download URL address; download the card emulation mode application X according to the card emulation mode application X download URL address, and install it.
  • the card simulation mode application X needs to include at least the associated information of the AID: Card emulation mode Application X download URL address.
  • the association information corresponding to the AID of the card simulation mode application X may further include: a name of the card simulation mode application X; correspondingly, the NFC terminal may apply the card simulation mode before downloading the card simulation mode application X
  • the name of X is displayed to the user, and the user is asked whether to allow the card emulation mode application X to be installed, and if a confirmation command is received, the card emulation mode application X is downloaded.
  • association information corresponding to the AID of the card emulation mode application X may further include: the discount information of the card emulation mode application X; correspondingly, the NFC terminal may further display the name of the card emulation mode application X to the user. Present the discount information of the card simulation mode application X to the user.
  • the AID of each card emulation mode application in the NFC terminal and its corresponding association information can be saved in the structure of a mapping data table.
  • the content saved in the NFC terminal can be updated periodically or non-periodically.
  • the update includes: modifying an existing one or some mapping data tables, deleting an existing one or some mapping data tables, and adding one or some mapping data tables.
  • the NFC terminal has the ability to actively discover an un-installed card emulation mode application, and can download and install the un-installed card emulation mode application without user participation, thereby avoiding
  • the problem in the prior art further improves the success rate of the NFC terminal card swiping operation.
  • the user's difficulty in using the NFC terminal can be reduced, thereby increasing the user's interest in using the NFC terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种NFC终端上的应用安装方法以及一种NFC终端:当NFC终端进行刷卡操作,接收到受理环境中的机具发送来的交易请求时,如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应用X,则进行以下处理:根据所保存的不同卡模拟模式应用的AID及其对应的关联信息,找到交易请求中携带的卡模拟模式应用X的AID对应的关联信息,其中至少包括:卡模拟模式应用X的下载URL地址;根据卡模拟模式应用X的下载URL地址下载卡模拟模式应用X,并进行安装。应用本发明所述方案,能够提高NFC终端刷卡操作的成功率。

Description

近场通信 NFC终端上的应用安装方法和 NFC终端 本申请要求于 2012 年 10 月 25 日提交中国专利局、 申请号为 201210412999. 发明名称为 "近场通信 NFC终端上的应用安装方法和 NFC 终端" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及数据业务领域, 特别涉及一种近场通信 (NFC , Near Fi eld Communica t ion )终端上的应用安装方法以及一种 NFC终端。 背景技术 在非接触的受理环境中, 当使用 NFC手机进行刷卡操作时, 成功刷卡的 前提是 NFC手机中需要安装有相应的卡模拟模式应用, 也就是说, 如果 NFC 手机中未安装有相应的卡模拟模式应用, 则非接触受理环境会提示刷卡操作 失败。
图 1为现有 NFC手机与非接触受理环境之间的关系示意图。如图 1所示, 可利用非接触受理环境中的带有非接触读头的销售终端(POS , Po int of Sa le ) 机、 闸机等机具来完成对 NFC手机的刷卡操作。
当 NFC手机刷卡操作失败以后, 需要用户手动去下载和安装相应的卡模 拟模式应用, 具体实现包括: 首先, 用户需要知道相应的卡模拟模式应用的 名称, 之后, 登录到 NFC应用管理系统, 通过手动搜索发现该卡模拟模式应 用, 并将该卡模拟模式应用下载到 NFC手机上, 进行安装。 安装完成后, 即 可成功地进行相应的刷卡操作。
但是, 上述方式在实际应用中会存在一定的问题, 如: 随着技术的发展, NFC 手上安装的卡模拟模式应用越来越多, 在日常的非接触受理环境中, 用 户通常很难明确地获知该环境下对应的卡模拟模式应用的名称, 进而导致用 户无法通过手动搜索发现相应的卡模拟模式应用并及时地进行下载和安装, 最终导致刷卡操作失败。 发明内容 有鉴于此, 本发明提供了一种 NFC终端上的应用安装方法以及一种 NFC 终端, 能够提高 NFC终端刷卡操作的成功率。
为实现上述目的, 本发明实施例提供了一种近场通信 NFC终端, 包括: 安全模块、 应用发现模块和客户端模块;
所述安全模块, 用于当进行刷卡操作, 接收到受理环境中的机具发送来 的交易请求时, 如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应 用 X, 则将所述交易请求中携带的所述卡模拟模式应用 X的标识 AID发送给 所述应用发现模块; 并接收所述应用发现模块返回的所述卡模拟模式应用 X 的 AID对应的关联信息, 提供给所述客户端模块, 所述卡模拟模式应用 X的 AID对应的关联信息中至少包括: 所述卡模拟模式应用 X的下载统一资源定 位符 URL地址;
所述应用发现模块, 用于根据所保存的不同卡模拟模式应用的 AID及其 对应的关联信息, 找到所述卡模拟模式应用 X的 AID对应的关联信息, 返回 给所述安全模块;
所述客户端模块, 用于根据所述卡模拟模式应用 X的下载 URL地址下载 所述卡模拟模式应用 X, 并安装到所述安全模块上。
优选地, 上述 NFC终端中进一步包括: NFC控制器以及操作系统模块; 所述安全模块将所述卡模拟模式应用 X的 AID对应的关联信息以事件的 形式发送给所述 NFC控制器;
所述 NFC控制器, 用于将所述事件报送到所述操作系统模块;
所述客户端模块从所述操作系统模块中获取所述事件, 并从中提取出所 述卡模拟模式应用 X的 AID对应的关联信息。
优选地, 在上述 NFC终端中,
所述安全模块将所述卡模拟模式应用 X的 AID对应的关联信息组合成一 个参数串, 将所述参数串以事件的形式发送给所述 NFC控制器。
优选地, 在上述 NFC终端中,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的名称; 所述客户端模块进一步用于, 在下载所述卡模拟模式应用 X之前, 将所 述卡模拟模式应用 X的名称展示给用户, 并询问用户是否允许安装所述卡模 拟模式应用 X, 如果接收到确认指令, 则下载所述卡模拟模式应用 X。
优选地, 在上述 NFC终端中,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的优惠信息;
所述客户端模块进一步用于, 在将所述卡模拟模式应用 X的名称展示给 用户的同时, 将所述卡模拟模式应用 X的优惠信息展示给用户。
优选地, 在上述 NFC终端中,
所述客户端模块进一步用于, 通过所述安全模块对所述应用发现模块中 保存的内容进行定期或非定期更新。
本发明实施例还提供了一种近场通信 NFC终端上的应用安装方法, 包括: 当 NFC终端进行刷卡操作, 接收到受理环境中的机具发送来的交易请求 时, 如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应用 X, 则进 行以下处理:
根据所保存的不同卡模拟模式应用的标识 AID及其对应的关联信息, 找 到所述交易请求中携带的所述卡模拟模式应用 X的 AID对应的关联信息, 其 中至少包括: 所述卡模拟模式应用 X的下载统一资源定位符 URL地址;
根据所述卡模拟模式应用 X的下载 URL地址下载所述卡模拟模式应用 X, 并进行安装。
优选地, 在上述方法中,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的名称;
所述下载所述卡模拟模式应用 X之前, 进一步包括: 将所述卡模拟模式 应用 X的名称展示给用户, 并询问用户是否允许安装所述卡模拟模式应用 X, 如果接收到确认指令, 则下载所述卡模拟模式应用 X。
优选地, 在上述方法中,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的优惠信息; 在将所述卡模拟模式应用 X的名称展示给用户的同时, 进一步将所述卡 模拟模式应用 X的优惠信息展示给用户。
优选地, 上述方法进一步包括: 对所述 NFC终端中保存的内容进行定期 或非定期更新。
可见, 采用本发明所述方案, NFC 终端具备主动发现未安装的卡模拟模 式应用的能力, 并可在无需用户参与的情况下完成对未安装的卡模拟模式应 用的下载和安装, 从而避免了现有技术中存在的问题, 进而提高了 NFC终端 刷卡操作的成功率。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面 描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不 付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有 NFC手机与非接触受理环境之间的关系示意图;
图 2为本发明 NFC终端实施例的组成结构示意图;
图 3为本发明每个映射数据表的结构示意图;
图 4为本发明提示窗口的示意图;
图 5为本发明 NFC终端上的应用安装方法实施例的流程图。 具体实施方式 针对现有技术中存在的问题, 本发明中提出一种改进后的 NFC终端及该 NFC终端上的应用安装方法。
所述 NFC终端可为 NFC手机, 也可为除 NFC手机外其它具有人机交互界 面的 NFC终端; NFC手机可涵盖 NFC全终端、 近场通信-单线协议( NFC-SWP, Near Field Communication -Single Wire Protocol )、 近场通信-安全数字 记忆卡 ( NFC-SD, Near Field Communication -Secure Digital Memory Card ) 等全部 NFC手机类型。
为了使本发明的技术方案更加清楚、 明白, 以下参照附图并举实施例, 对本发明所述方案作进一步地详细说明。 图 2为本发明 NFC终端实施例的组成结构示意图。 如图 2所示, 包括: 安全模块、 应用发现模块和客户端模块。
安全模块, 用于当进行刷卡操作, 接收到受理环境中的机具发送来的交 易请求时, 如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应用 X (为便于表述, 用卡模拟模式应用 X来表示与本次刷卡操作对应的卡模拟模 式应用 ), 则将交易请求中携带的卡模拟模式应用 X的标识(AID )发送给应 用发现模块; 并接收应用发现模块返回的卡模拟模式应用 X的 AID对应的关 联信息, 提供给客户端模块, 卡模拟模式应用 X的 AID对应的关联信息中至 少包括: 卡模拟模式应用 X的下载统一资源定位符(URL, Uniform Resource Locator )地址。
应用发现模块, 用于根据所保存的不同卡模拟模式应用的 AID及其对应 的关联信息, 找到卡模拟模式应用 X的 AID对应的关联信息, 返回给安全模 块。
客户端模块, 用于根据卡模拟模式应用 X的下载 URL地址下载卡模拟模 式应用 X, 并安装到安全模块上。
图 1所示 NFC终端中还可进一步包括: 天线、 NFC控制器以及操作系统模 块。
安全模块可以将卡模拟模式应用 X的 AID对应的关联信息以事件的形式 发送给 NFC控制器, 具体地, 安全模块可以将卡模拟模式应用 X的 AID对应 的关联信息组合成一个参数串,将该参数串以事件的形式发送给 NFC控制器; 相应地, NFC 控制器将接收到的事件报送到操作系统模块; 客户端模块从操 作系统模块中获取所报送的事件, 并从中提取出卡模拟模式应用 X的 AID对 应的关联信息。
另外, 安全模块接收到的交易请求为 NFC控制器通过天线从受理环境中 获取并经处理后发送给安全模块的。
卡模拟模式应用 X的 AID对应的关联信息中还可进一步包括: 卡模拟模 式应用 X的名称; 相应地, 客户端模块可进一步用于, 在下载卡模拟模式应 用 X之前, 将卡模拟模式应用 X的名称展示给用户, 并询问用户是否允许安 装卡模拟模式应用 X, 如果接收到确认指令, 则下载卡模拟模式应用 X。
卡模拟模式应用 X的 AID对应的关联信息中还可进一步包括: 卡模拟模 式应用 X的优惠信息; 相应地, 客户端模块还可进一步用于, 在将卡模拟模 式应用 X的名称展示给用户的同时, 将卡模拟模式应用 X的优惠信息展示给 用户, 以吸引用户对卡模拟模式应用 X的使用, 从而便于对卡模拟模式应用 X进行推广。 当图 1所示 NFC终端进行刷卡操作时(通常为非接触式刷卡操作 ), 其中 的各模块的工作流程可如下步骤 1 )飞)所示。
1 ) NFC控制器通过天线接收非接触受理环境中的 P0S机等机具发起的交 易请求, 该交易请求通常为 1 3. 56M射频信号; NFC控制器将该射频信号转化 为数字信号后发送给安全模块。
2 )安全模块接收到交易请求后, 如果确定自身未安装有与本次刷卡操作 对应的卡模拟模式应用 X, 则将交易请求中携带的卡模拟模式应用 X的 AID 发送给应用发现模块。
3 )应用发现模块中预先保存有不同卡模拟模式应用的 AID及其对应的关 联信息, 每个卡模拟模式应用的 AID及其对应的关联信息均可以一个映射数 据表的结构进行保存。
图 3为本发明每个映射数据表的结构示意图。 如图 3所示, 其中除 AID 信息外的其它信息均可统称为关联信息,关联信息中至少需要包括: 下载 URL 地址, 另外还可包括名称和其它信息等, 其它信息比如可以是优惠信息等。
应用发现模块接收到安全模块发送来的卡模拟模式应用 X的 AID后, 可 找到其对应的关联信息, 并返回给安全模块, 假设本实施例中卡模拟模式应 用 X的 AID对应的关联信息中同时包括卡模拟模式应用 X的名称、 下载 URL 地址和优惠信息。
4 )安全模块将接收到的卡模拟模式应用 X的 AID对应的关联信息组合成 一个参数串, 或者, 将接收到的卡模拟模式应用 X的 AID对应的关联信息以 及卡模拟模式应用 X的 AID组合成一个参数串, 假设本实施例中采用后一种 方式; 参数串是一个可变长的结构, 可采用 "AID +名称 +下载 URL地址 +优 惠信息" 组合的方式。 安全模块将组合得到的参数串以事件的形式发送给 NFC控制器。
5 ) NFC控制器将接收到的事件报送到操作系统模块。
6 )客户端模块可开启一个服务进程, 用于监听从 NFC控制器报送至操作 系统模块的事件, 并能够对接收到的事件进行解析。
相应地, 当客户端模块监听到步骤 5 )中 NFC控制器报送到操作系统模块 的事件后, 对其进行解析, 从中提取出卡模拟模式 X的 AID对应的关联信息 或卡模拟模式 X的 AID对应的关联信息以及卡模拟模式 X的 AID。
之后, 客户端模块可将卡模拟模式应用 X的名称以及优惠信息展示在弹 出的提示窗口中, 并询问用户是否允许安装卡模拟模式应用 X, 图 4 为本发 明提示窗口的示意图。
如果接收到确认指令, 即用户点击了 "一键下载、 安装" 按钮, 则客户 端模块可 ^据卡模拟模式应用 X的下载 URL地址, 访问 NFC应用管理系统, 从中下载卡模拟模式应用 X, 并可通过访问安全模块的应用程序接口 (API , Appl i cat ion Programming Interface ), 将所下载的卡模拟模式应用 X安装 到安全模块上。 如果接收到否认指令, 即用户点击了 "取消" 按钮, 则客户 端模块可结束本次处理。 当然, 在实际应用中, 客户端模块也可以不询问用 户是否允许, 而是直接对卡模拟模式应用 X进行下载和安装。
经过步骤 1 )飞) 的处理后, NFC终端上即安装了卡模拟模式应用 X, 并 可相应地完成后续的刷卡操作。 另外, 为了保证卡模拟模式应用的时效性, 需要定期或非定期地对应用 发现模块中所保存的内容进行更新, 定期可以是指每间隔预定时长则进行一 次更新, 非定期可以是指当需要时才进行更新, 所述更新包括: 对已有的某 一个或某些映射数据表中的内容进行修改、 删除已有的某一个或某些映射数 据表, 以及增加某一个或某些映射数据表等, 可利用客户端模块通过安全模 块对应用发现模块中保存的内容进行更新。
至此, 即完成了关于本发明 NFC终端实施例的介绍。 基于上述介绍, 图 5为本发明 NFC终端上的应用安装方法实施例的流程 图。 如图 5所示, 包括:
步骤 51 : 当 NFC终端进行刷卡操作, 接收到受理环境中的机具发送来的 交易请求时, 如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应用 X, 则执行步骤 52。
步骤 52 : NFC终端根据所保存的不同卡模拟模式应用的 AID及其对应的 关联信息,找到交易请求中携带的卡模拟模式应用 X的 AID对应的关联信息, 其中至少包括: 卡模拟模式应用 X的下载 URL地址; 根据卡模拟模式应用 X 的下载 URL地址下载卡模拟模式应用 X , 并进行安装。
卡模拟模式应用 X的 AID对应的关联信息中至少需要包括: 卡模拟模式 应用 X的下载 URL地址。
在此基础上, 卡模拟模式应用 X的 AID对应的关联信息中还可进一步包 括: 卡模拟模式应用 X的名称; 相应地, 在下载卡模拟模式应用 X之前, NFC 终端可将卡模拟模式应用 X的名称展示给用户, 并询问用户是否允许安装卡 模拟模式应用 X, 如果接收到确认指令, 则下载卡模拟模式应用 X。
另外, 卡模拟模式应用 X的 AID对应的关联信息中还可进一步包括: 卡 模拟模式应用 X的优惠信息; 相应地, NFC终端在将卡模拟模式应用 X的名 称展示给用户的同时,可进一步将卡模拟模式应用 X的优惠信息展示给用户。
NFC终端中的每个卡模拟模式应用的 AID及其对应的关联信息均可以一 个映射数据表的结构进行保存。 在实际应用中, 可对 NFC终端中保存的内容 进行定期或非定期更新。 所述更新包括: 对已有的某一个或某些映射数据表 中的内容进行修改、 删除已有的某一个或某些映射数据表, 以及增加某一个 或某些映射数据表等。
图 5所示方法实施例的具体工作流程请参照前述装置实施例中的相应说 明, 此处不再赘述。 总之,采用本发明所述方案, NFC终端具备主动发现未安装的卡模拟模式 应用的能力, 并可在无需用户参与的情况下完成对未安装的卡模拟模式应用 的下载和安装, 从而避免了现有技术中存在的问题, 进而提高了 NFC终端刷 卡操作的成功率; 而且, 采用本发明所述方案后, 可降低用户对 NFC终端的 使用难度, 从而增加了用户对 NFC终端的使用兴趣, 进而提高了 NFC终端的 普及程度; 再有, 本发明所述方案的主要操作均由安全模块来完成, 从而保 证了信息的安全性。 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本 发明的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均应包含在 本发明保护的范围之内。

Claims

1、 一种近场通信 NFC终端, 其特征在于, 包括: 安全模块、 应用发现模 块和客户端模块;
所述安全模块, 用于当进行刷卡操作, 接收到受理环境中的机具发送来 的交易请求时, 如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应 用 X, 则将所述交易请求中携带的所述卡模拟模式应用 X的标识 AID发送给 权
所述应用发现模块; 并接收所述应用发现模块返回的所述卡模拟模式应用 X 利
的 AID对应的关联信息, 提供给所述客 - I 户端模块, 所述卡模拟模式应用 X的 o
AID对应的关联信息中至少包括: 所述卡要模拟模式应用 X的下载统一资源定 位符 URL地址; 求
所述应用发现模块, 用于根据所保存的不同卡模拟模式应用的 AID及其 对应的关联信息, 找到所述卡模拟模式应用 X的 AID对应的关联信息, 返回 给所述安全模块;
所述客户端模块, 用于根据所述卡模拟模式应用 X的下载 URL地址下载 所述卡模拟模式应用 X, 并安装到所述安全模块上。
2、 根据权利要求 1所述的 NFC终端, 其特征在于, 所述 NFC终端中进一 步包括: NFC控制器以及操作系统模块;
所述安全模块将所述卡模拟模式应用 X的 AID对应的关联信息以事件的 形式发送给所述 NFC控制器;
所述 NFC控制器, 用于将所述事件报送到所述操作系统模块;
所述客户端模块从所述操作系统模块中获取所述事件, 并从中提取出所 述卡模拟模式应用 X的 AID对应的关联信息。
3、 根据权利要求 2所述的 NFC终端, 其特征在于,
所述安全模块将所述卡模拟模式应用 X的 AID对应的关联信息组合成一 个参数串, 将所述参数串以事件的形式发送给所述 NFC控制器。
4、 根据权利要求 1、 2或 3所述的 NFC终端, 其特征在于,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的名称;
所述客户端模块进一步用于, 在下载所述卡模拟模式应用 X之前, 将所 述卡模拟模式应用 X的名称展示给用户, 并询问用户是否允许安装所述卡模 拟模式应用 X, 如果接收到确认指令, 则下载所述卡模拟模式应用 X。
5、 根据权利要求 4所述的 NFC终端, 其特征在于,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的优惠信息;
所述客户端模块进一步用于, 在将所述卡模拟模式应用 X的名称展示给 用户的同时, 将所述卡模拟模式应用 X的优惠信息展示给用户。
6、 根据权利要求 1、 2或 3所述的 NFC终端, 其特征在于,
所述客户端模块进一步用于, 通过所述安全模块对所述应用发现模块中 保存的内容进行定期或非定期更新。
7、 一种近场通信 NFC终端上的应用安装方法, 其特征在于, 包括: 当 NFC终端进行刷卡操作, 接收到受理环境中的机具发送来的交易请求 时, 如果确定自身未安装有与本次刷卡操作对应的卡模拟模式应用 X , 则进 行以下处理:
根据所保存的不同卡模拟模式应用的标识 AID及其对应的关联信息, 找 到所述交易请求中携带的所述卡模拟模式应用 X的 AID对应的关联信息, 其 中至少包括: 所述卡模拟模式应用 X的下载统一资源定位符 URL地址;
根据所述卡模拟模式应用 X的下载 URL地址下载所述卡模拟模式应用 X, 并进行安装。
8、 根据权利要求 7所述的方法, 其特征在于,
所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的名称;
所述下载所述卡模拟模式应用 X之前, 进一步包括: 将所述卡模拟模式 应用 X的名称展示给用户, 并询问用户是否允许安装所述卡模拟模式应用 X, 如果接收到确认指令, 则下载所述卡模拟模式应用 X。
9、 根据权利要求 8所述的方法, 其特征在于, 所述卡模拟模式应用 X的 AID对应的关联信息中进一步包括: 所述卡模 拟模式应用 X的优惠信息;
在将所述卡模拟模式应用 X的名称展示给用户的同时, 进一步将所述卡 模拟模式应用 X的优惠信息展示给用户。
10、 根据权利要求 7、 8或 9所述的方法, 其特征在于, 该方法进一步包 括: 对所述 NFC终端中保存的内容进行定期或非定期更新。
PCT/CN2013/085350 2012-10-25 2013-10-17 近场通信nfc终端上的应用安装方法和nfc终端 Ceased WO2014063586A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210412999.1A CN103778395B (zh) 2012-10-25 2012-10-25 近场通信nfc终端上的应用安装方法和nfc终端
CN201210412999.1 2012-10-25

Publications (1)

Publication Number Publication Date
WO2014063586A1 true WO2014063586A1 (zh) 2014-05-01

Family

ID=50544005

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085350 Ceased WO2014063586A1 (zh) 2012-10-25 2013-10-17 近场通信nfc终端上的应用安装方法和nfc终端

Country Status (2)

Country Link
CN (1) CN103778395B (zh)
WO (1) WO2014063586A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751327B (zh) * 2013-12-31 2018-08-14 中国移动通信集团公司 一种激活卡应用的方法和设备
CN105574749A (zh) * 2015-03-24 2016-05-11 西安酷派软件科技有限公司 一种安全元件se中卡片应用的选择方法、装置及系统
CN104778065B (zh) * 2015-04-20 2019-03-01 丰唐物联技术(深圳)有限公司 信息下载方法及终端
EP3333701B1 (en) * 2015-09-02 2022-11-02 Huawei Technologies Co., Ltd. Method for implementing host card emulation, terminal, and data routing method and apparatus
CN106162524B (zh) * 2016-06-17 2019-08-09 青岛海信移动通信技术股份有限公司 一种nfc操作方法和装置
CN106960235B (zh) * 2017-03-30 2020-03-27 北京字节跳动网络技术有限公司 一种文件调用方法、装置及电子设备
CN111124503B (zh) * 2018-11-01 2021-09-14 华为终端有限公司 一种nfc应用的自动激活方法及终端
US11977946B2 (en) 2018-11-01 2024-05-07 Huawei Technologies Co., Ltd. Method for automatically activating NFC application and terminal
CN119887194B (zh) * 2024-08-05 2026-03-10 支付宝(杭州)数字服务技术有限公司 一种基于nfc的业务执行方法、装置及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272722A (zh) * 2009-01-08 2011-12-07 德国捷德有限公司 用于在移动终端设备上安装电子票据和/或支付应用的方法
US20120220282A1 (en) * 2011-02-24 2012-08-30 Samsung Electronics Co. Ltd. Method and system for acquiring application in mobile device
CN102694846A (zh) * 2012-05-03 2012-09-26 华为技术有限公司 一种应用程序的推荐方法、设备和系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098371B (zh) * 2006-06-29 2011-01-26 中国银联股份有限公司 金融数据处理方法和移动终端设备
CN101453714B (zh) * 2007-12-03 2013-03-27 中兴通讯股份有限公司 近场通讯移动支付系统的应用下载的方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272722A (zh) * 2009-01-08 2011-12-07 德国捷德有限公司 用于在移动终端设备上安装电子票据和/或支付应用的方法
US20120220282A1 (en) * 2011-02-24 2012-08-30 Samsung Electronics Co. Ltd. Method and system for acquiring application in mobile device
CN102694846A (zh) * 2012-05-03 2012-09-26 华为技术有限公司 一种应用程序的推荐方法、设备和系统

Also Published As

Publication number Publication date
CN103778395A (zh) 2014-05-07
CN103778395B (zh) 2016-12-21

Similar Documents

Publication Publication Date Title
WO2014063586A1 (zh) 近场通信nfc终端上的应用安装方法和nfc终端
EP3761606A1 (en) Method for transmitting configuration file, related device and storage medium
CN113133086B (zh) 智能设备配网方法、装置、电子设备及存储介质
US8621571B2 (en) Online service providing system, method, server and mobile device thereof, and computer program product
US20110238498A1 (en) Service stage for subscription management
WO2019165941A1 (zh) Profile生成、获取方法及相关设备和存储介质
CN101636720A (zh) 具备应用程序更新管理功能的终端、应用程序更新管理程序以及系统
CN102752369B (zh) 电视应用服务的提供方法及虚拟化内容服务平台
EP2704358B1 (en) Method and device for managing mobile broadband device
CN103384367A (zh) 设备搜索方法
US9836958B2 (en) Device control method, server, system and computer storage medium
CN109600401A (zh) 家电升级方法、客户端及服务器
JP6396663B2 (ja) 中継装置、中継方法、および情報処理システム
CN105389175A (zh) 一种应用程序共享方法及移动终端
CN102387482A (zh) 手机服务信息获取方法、系统及手机
WO2015000379A1 (zh) 空调器的远程控制方法和空调器的远程控制系统
WO2009109980A2 (en) Method and system for transfer of application between devices
CN103024067A (zh) 向智能终端推送信息的方法及服务器
CN102083244A (zh) 一种基于嵌入式虚拟机方式的移动增值业务系统
CN110209339B (zh) 一种存储空间的管理方法、安全元件以及终端
CN111147402A (zh) 交换机出厂设置项的定制方法、装置、交换机及系统
CN103220566A (zh) 智能电视终端的定位方法、智能电视及系统
CN111782972A (zh) 一种设备夏令时设置方法、装置、电子设备及存储介质
WO2015043451A1 (zh) 一种cgs模式下图形化页面呈现的方法及装置
CN102547630B (zh) 移动终端业务多媒体显示方法、终端及系统

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: 13849691

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13849691

Country of ref document: EP

Kind code of ref document: A1