WO2016172948A1 - Routing information configuration method and apparatus - Google Patents

Routing information configuration method and apparatus Download PDF

Info

Publication number
WO2016172948A1
WO2016172948A1 PCT/CN2015/078048 CN2015078048W WO2016172948A1 WO 2016172948 A1 WO2016172948 A1 WO 2016172948A1 CN 2015078048 W CN2015078048 W CN 2015078048W WO 2016172948 A1 WO2016172948 A1 WO 2016172948A1
Authority
WO
WIPO (PCT)
Prior art keywords
nfcee
aid
routing table
routing information
nfcees
Prior art date
Application number
PCT/CN2015/078048
Other languages
French (fr)
Chinese (zh)
Inventor
梅敬青
常新苗
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580040720.3A priority Critical patent/CN106664637B/en
Priority to PCT/CN2015/078048 priority patent/WO2016172948A1/en
Publication of WO2016172948A1 publication Critical patent/WO2016172948A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a routing information configuration method and apparatus.
  • NFC Near Field Communication
  • the NFCEE includes a device host-NFCEE (DH-NFCEE) and a physical NFCEE
  • DH-NFCEE device host-NFCEE
  • multiple NFCEEs may be deployed on the same NFC terminal.
  • Different contactless applications may be configured.
  • the NFCC After receiving the application request using the contactless application, the NFCC needs to obtain an Application Identifier (AID) of the contactless application, and find the NFCEE of the contactless application corresponding to the AID, and then apply the application. The request is forwarded to the NFCEE where the contactless application corresponding to the AID is located for processing.
  • AID Application Identifier
  • a common practice in the prior art is to configure multiple routing information on the NFCC, where each routing information is used to record the AID of a contactless application and the location of the contactless application. NFCEE.
  • the NFCC can determine the NFCEE in which the contactless application is located based on the AID of the contactless application.
  • the routing information is configured for the NFCC by using the prior art. When different non-contact applications with the same AID are configured in different NFCEEs, multiple NFCCs with the same AID routing information are configured.
  • the NFCC searches for the NFCEE in which the contactless application corresponding to the AID is located, first finds all the routing information including the AID value from the configured routing information, and then selects one of the found routing information according to the predetermined selection rule. In order to determine the NFCEE in which the contactless application corresponding to the AID is located according to the selected routing information.
  • the embodiment of the invention provides a method and a device for configuring routing information, so as to solve the problem that the process of configuring routing information for the NFCC by using the prior art may cause the NFCC to forward the application request.
  • an embodiment of the present invention provides a routing information configuration method, where the routing information configuration method is used for a near field communication NFC terminal, including: generating a first routing table, where the first routing table includes a first application identifier The first routing information corresponding to the AID, wherein the non-contact application corresponding to the first AID exists in the at least two near-field communication execution environments NFCEE, where the first routing information includes the first AID and the first The near field communication of the NFCEE executes an environment identifier NFCEE ID, the first NFCEE being one of the at least two NFCEEs; configuring the first routing table to the near field communication controller NFCC.
  • the first NFCEE is the one with the highest priority among the at least two NFCEEs; or the first NFCEE is the at least two One of the NFCEEs specified by the user; or the first NFCEE is one selected from the at least two NFCEEs according to a selection rule.
  • the first routing table further includes second routing information corresponding to the second AID, where The non-contact application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the NFCEE ID of the NFCEE where the contactless application corresponding to the second AID and the second AID is located.
  • the method further includes: When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE, Obtaining a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; configuring the second routing table to the NFCC.
  • the method further includes: When a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed contactless application is located is the first NFCEE Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE, to obtain a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; The third routing table is configured to the NFCC.
  • the embodiment of the present invention further provides a routing information configuration apparatus, where the routing information configuration apparatus is used in a near field communication NFC terminal, including:
  • a generating unit configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists simultaneously in at least two In the field communication execution environment NFCEE, the first routing information includes the first AID and a near field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the at least two NFCEEs a configuration unit configured to configure the first routing table to the near field communication controller NFCC.
  • the first NFCEE is the one with the highest priority among the at least two NFCEEs; or the first NFCEE is the at least two One of the NFCEEs specified by the user; or the first NFCEE is one selected from the at least two NFCEEs according to a selection rule.
  • the first routing table further includes second routing information corresponding to the second AID, where The non-contact application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the NFCEE ID of the NFCEE where the contactless application corresponding to the second AID and the second AID is located.
  • the apparatus further includes a first update unit, where the first update unit is used by When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE.
  • the apparatus further includes a second update unit, where the second update unit is specifically used When the non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed non-contact application is located is the first
  • the NFCEE replaces the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE to obtain a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs;
  • the configuration unit is further configured to configure the third routing table to the NFCC.
  • an embodiment of the present invention further provides a near field communication terminal, including a processor and a near field communication controller NFCC, where the processor is configured to generate a first routing table, where the first routing table includes An application standard Identifying the first routing information corresponding to the AID, where the non-contact application corresponding to the first AID exists in at least two near-field communication execution environments NFCEE, where the first routing information includes the first AID and The near field communication of the first NFCEE performs an environment identifier NFCEE ID, the first NFCEE being one of the at least two NFCEEs; and configuring the first routing table to the near field communication controller NFCC.
  • the processor is further configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEEID of the candidate NFCEE to obtain a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs;
  • the second routing table is configured to the NFCC.
  • the processor is further configured to: when the non-contact application is removed in the NFC terminal, if the AID of the contactless application is removed For the first AID, and the NFCEE in which the removed contactless application is located is the first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with the NFCEE of the alternative NFCEE ID, obtaining a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; configuring the third routing table to the NFCC.
  • the first routing table is generated, where the first routing table includes the first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists in multiple
  • the first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE
  • the first NFCEE is one of the plurality of NFCEEs.
  • the first routing table is configured to the near field communication controller NFCC.
  • FIG. 1 is a flowchart of an embodiment of a routing information configuration method according to the present invention.
  • FIG. 2 is a flowchart of another embodiment of a method for configuring routing information according to the present invention.
  • FIG. 3 is a flowchart of another embodiment of a method for configuring routing information according to the present invention.
  • FIG. 4 is a schematic structural diagram of an embodiment of a routing information configuration apparatus according to the present invention.
  • FIG. 5 is a schematic structural diagram of another embodiment of a routing information configuration apparatus according to the present invention.
  • FIG. 6 is a schematic structural diagram of another embodiment of a routing information configuration apparatus according to the present invention.
  • FIG. 1 is a schematic diagram of an embodiment of a routing information configuration method according to the present invention.
  • Step 101 Generate a first routing table, where the first routing table includes first routing information corresponding to the first AID, where the non-contact application corresponding to the first AID exists in multiple NFCEEs at the same time, the first The routing information includes the first AID and an NFCEE ID of the first NFCEE, and the first NFCEE is one of the plurality of NFCEEs.
  • the management entity (ME) or the device host (DH) in the NFC terminal may first generate a first routing table including multiple pieces of routing information.
  • the routing table may include first routing information corresponding to the first AID, and may further include second routing information corresponding to the second AID.
  • the non-contact application corresponding to the first AID exists in multiple near field communication execution environments NFCEE at the same time.
  • the first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the plurality of NFCEEs.
  • the first NFCEE may be the one with the highest priority among the plurality of NFCEEs; or the first NFCEE may be one of the plurality of NFCEEs specified by the user; or the first NFCEE may also be One selected from the plurality of NFCEEs according to a selection rule.
  • the non-contact application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the NFCEE ID of the NFCEE where the contactless application corresponding to the second AID and the second AID is located.
  • the first AID and the second AID in the embodiment of the present invention are not specific. AID. If the non-contact application corresponding to an AID exists in multiple NFCEEs at the same time, the AID may be the first AID. If the non-contact application corresponding to the AID exists only in the second NFCEE, the AID may be the second. AID.
  • Step 102 Configure the first routing table to the near field communication controller NFCC.
  • the ME or DH may send an RF_SET_LISTEN_MODE_ROUTING_CMD instruction to the NFCC after generating the first routing table, wherein the Routing Entry portion of the instruction carries the first routing table. After receiving the instruction, the NFCC determines whether the content of the first routing table is valid.
  • the content of the first routing table is valid, saves the first routing table, and sends an RF_SET_LISTEN_MODE_ROUTING_RSP response message with a Status value of STATUS_OK to the ME or DH; If the content of the first routing table is invalid, the first routing table is not saved, and an RF_SET_LISTEN_MODE_ROUTING_RSP response message with a Status value of STATUS_FAILED is sent to the ME or DH.
  • the ME or the DH can configure the routing information included in the first routing table to the NFCC, so that the NFCC can use the routing information in the first routing table to complete the forwarding of the application request.
  • NCI NFC Forum Interface
  • the NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
  • the NFCEE or contactless application on the NFC terminal may change in actual use, for example, NFCEE or contactless application is removed, etc.
  • the first routing table is updated to generate a second routing table, and the second routing table is configured with NFCC.
  • the method may further include:
  • Step 103 When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, replace the NFCEE ID of the first NFCEE in the first routing information with the candidate NFCEE.
  • the NFCEE ID obtains a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs.
  • the method updates the first routing table. Specifically:
  • the specific manner of updating the first routing table may be: replacing the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE.
  • the candidate NFCEE is one of the plurality of NFCEEs.
  • the candidate NFCEE may be one of the plurality of NFCEEs having the highest priority except the first NFCEE; or the candidate NFCEE may be one of the plurality of NFCEEs specified by the user; or
  • the candidate NFCEE may also be one selected from the plurality of NFCEEs according to a selection rule.
  • the specific manner of updating the first routing table is: deleting the second routing information from the first routing table.
  • the NFCEE ID of the first NFCEE in the first routing information needs to be replaced with an alternative at the same time.
  • Step 104 Configure the second routing table to the NFCC.
  • the ME may configure the routing information included in the second routing table to the NFCC to replace the routing information configured to the NFCC, so that the NFCC can use the routing information in the second routing table to complete. Forwarding of application requests.
  • the specific configuration process of the second routing table is similar to the configuration process of the first routing table, and details are not described herein again.
  • the method may further include:
  • Step 105 When a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed contact application is located is the a first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with an NFCEE ID of the candidate NFCEE, to obtain a third routing table, wherein the candidate NFCEE includes at least two NFCEEs One.
  • the first routing table may be updated by using an update manner corresponding to the contactless application. Specifically:
  • the specific manner of updating the first routing table is: The NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the alternate NFCEE.
  • the AID of the removed contact application is the second AID
  • updating the first routing table The specific manner is: deleting the second routing information.
  • the first routing table need not be updated.
  • Step 106 Configure the third routing table to the NFCC.
  • the ME may configure the routing information included in the third routing table to the NFCC to replace the routing information configured to the NFCC, so that the NFCC can use the routing information in the third routing table to complete. Forwarding of application requests.
  • the specific configuration process of the third routing table is similar to the configuration process of the first routing table, and details are not described herein again.
  • the routing information configured to the NFCC is updated, and only one routing information on the NFCC can be maintained corresponding to the NFCEE.
  • the NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
  • the routing information configuration device can be set on the NFC terminal.
  • the routing information configuration apparatus includes a generating unit 401 and a configuration unit 402.
  • the generating unit 401 is configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists at the same time
  • the first routing information includes the first AID and a near field communication execution environment identifier NFCEE ID of the first NFCEE, where the first NFCEE is the plurality of NFCEEs One.
  • the configuration unit 402 is configured to configure the first routing table to the near field communication controller NFCC.
  • the first NFCEE may be the highest priority among the plurality of NFCEEs; or the first NFCEE may be one of the plurality of NFCEEs specified by a user; or the first NFCEE It is also possible to select one of the plurality of NFCEEs according to the selection rule.
  • the first routing table may further include second routing information corresponding to the second AID, where the contactless application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the second AID and the second The NFCEE ID of the NFCEE where the contactless application corresponding to the AID is located.
  • the apparatus may further include: a first updating unit 403, configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed, the first NFCEE, Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the alternative NFCEE, A second routing table is obtained, wherein the candidate NFCEE is one of the plurality of NFCEEs.
  • the configuration unit 402 is further configured to configure the second routing table to the NFCC.
  • the apparatus may further include: a second updating unit 404, configured to: when the non-contact application is removed in the NFC terminal, if the AID of the contactless application is removed Determining, by the first AID, that the NFCEE in which the removed contactless application is located is the first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with an NFCEE ID of an alternate NFCEE Obtaining a third routing table, wherein the candidate NFCEE is one of the plurality of NFCEEs.
  • the configuration unit 402 is further configured to configure the third routing table to the NFCC.
  • the routing information configured to the NFCC is updated, and only one routing information on the NFCC can be maintained corresponding to the NFCEE.
  • the NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
  • FIG. 6 is a schematic structural diagram of an embodiment of an NFC terminal according to an embodiment of the present invention.
  • the NFC terminal may be any mobile or portable electronic device, including but not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), a media player, a smart TV, and the like. Two or more combinations, etc.
  • the NFC terminal in the embodiment of the present invention includes components such as a processor 601, a memory 602, and an NFCC 603, and may further include components such as a transceiver 604, an input/output device 605, and a peripheral interface 606.
  • the components can be connected by one or more buses.
  • the memory 602 is used to store a software program such as a contactless application, and may include a high speed random access memory 602, and may also include a nonvolatile memory 602, such as at least one disk storage device 602, a flash memory device, or other volatile. 602 pieces of solid state memory.
  • the processor 601 implements various functions of the NFC terminal by running a software program stored in the memory 602.
  • the processor 601 may be the central processing unit 601 of the NFC terminal, or may be a component of the NFC terminal, such as the NFCC, and the processor 601 core.
  • the processor 601 is configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists in at least two In the near field communication execution environment NFCEE, the first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is the at least two NFCEEs One of them; configuring the first routing table to the NFCC.
  • the processor 601 is further configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the first one of the first routing information is The NFCEE ID of the NFCEE is replaced with the NFCEE ID of the alternate NFCEE, resulting in a second routing table, wherein the candidate NFCEE describes one of the at least two NFCEEs; configuring the second routing table to the NFCC 603.
  • the processor 601 is further configured to: when a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the removed The NFCEE in which the contactless application is located is the first NFCEE, and the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE, to obtain a third routing table, where the standby One of the at least two NFCEEs described by the NFCEE is selected; the third routing table is configured to the NFCC 603.
  • the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the routing information configuration method provided by the present invention.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a routing information configuration method and apparatus. The method comprises: generating a first routing table, where the first routing table comprises first routing information corresponding to a first application identifier (AID), a non-contact application corresponding to the first AID simultaneously exists in at least two near-field communication execution environments (NFCEEs), the first routing information comprises the first AID and a near-field communication execution environment identifier (NFCEE ID) of a first NFCEE, and the first NFCEE is one of the at least two NFCEEs; and configuring the first routing table to a near-field communication controller (NFCC). By means of this embodiment of the present invention, an NFCC may directly determine, according to routing information, an NFCEE where a non-contact application corresponding to an AID is located, to complete forwarding of an application request, so that a processing process of forwarding an application request can be simplified.

Description

路由信息配置方法及装置Routing information configuration method and device 技术领域Technical field
本发明涉及无线通信领域,尤其涉及路由信息配置方法及装置。The present invention relates to the field of wireless communications, and in particular, to a routing information configuration method and apparatus.
背景技术Background technique
为使具有近场通信(Near Field Communication,简称NFC)功能的NFC终端能够安全地实现非接触式支付功能,通常需要在NFC终端上部署一个或多个近场通信执行环境(NFC Excution Environment,简称NFCEE),并将用于完成支付非接触式支付的非接触应用配置到NFCEE中。在NFC终端接收到使用非接触应用的应用请求后,由NFC终端中的近场通信控制器(NFC Controller,简称NFCC)将应用请求转发到NFCEE中进行处理。In order to enable the NFC terminal with Near Field Communication (NFC) function to implement the contactless payment function securely, it is usually necessary to deploy one or more near field communication execution environments (NFC Excution Environment) on the NFC terminal. NFCEE), and the contactless application used to complete the payment of contactless payment is configured into NFCEE. After the NFC terminal receives the application request using the contactless application, the application request is forwarded to the NFCEE for processing by the Near Field Communication Controller (NFC Controller) in the NFC terminal.
由于NFCEE包括设备主机近场通信执行环境(Device Host-NFCEE,简称DH-NFCEE)及物理NFCEE多种,同一个NFC终端上可能同时部署有多个不同的NFCEE,不同的非接触应用可能被配置在不同的NFCEE中。当接收到使用非接触应用的应用请求后,NFCC需要获取该非接触应用的应用标识符(Application Identifier,简称AID),并查找该AID对应的非接触应用所处的NFCEE,然后才能将该应用请求转发到该AID对应的非接触应用所处的NFCEE进行处理。Since the NFCEE includes a device host-NFCEE (DH-NFCEE) and a physical NFCEE, multiple NFCEEs may be deployed on the same NFC terminal. Different contactless applications may be configured. In different NFCEE. After receiving the application request using the contactless application, the NFCC needs to obtain an Application Identifier (AID) of the contactless application, and find the NFCEE of the contactless application corresponding to the AID, and then apply the application. The request is forwarded to the NFCEE where the contactless application corresponding to the AID is located for processing.
为便于NFCC查找AID对应的非接触应用,现有技术中通常的做法是在NFCC上配置多条路由信息,其中每一条路由信息用于记录一个非接触应用的AID及该非接触应用所处的NFCEE。从而使NFCC可以根据非接触应用的AID确定该非接触应用所处的NFCEE。但是采用现有技术为NFCC配置路由信息,当不同的NFCEE中配置有AID相同的非接触应用时,会导致NFCC上配置有多条包含相同AID路由信息。NFCC查找某AID对应的非接触应用所处的NFCEE时,首先要从已配置的路由信息中找出所有包含该AID值的路由信息,然后根据预定的选取规则从查找到的路由信息中选取一条,进而才能根据被选中的路由信息确定该AID对应的非接触应用所处的NFCEE。In order to facilitate the NFCC to find the contactless application corresponding to the AID, a common practice in the prior art is to configure multiple routing information on the NFCC, where each routing information is used to record the AID of a contactless application and the location of the contactless application. NFCEE. Thereby the NFCC can determine the NFCEE in which the contactless application is located based on the AID of the contactless application. However, the routing information is configured for the NFCC by using the prior art. When different non-contact applications with the same AID are configured in different NFCEEs, multiple NFCCs with the same AID routing information are configured. When the NFCC searches for the NFCEE in which the contactless application corresponding to the AID is located, first finds all the routing information including the AID value from the configured routing information, and then selects one of the found routing information according to the predetermined selection rule. In order to determine the NFCEE in which the contactless application corresponding to the AID is located according to the selected routing information.
由此可以看出,当不同的NFCEE中配置有AID相同的非接触应用时,采用现有技术为NFCC配置路由信息,会导致NFCC转发应用请求的过程复杂。 It can be seen that when the non-contact application with the same AID is configured in different NFCEEs, configuring the routing information for the NFCC by using the prior art may cause the process of forwarding the application request by the NFCC to be complicated.
发明内容Summary of the invention
本发明实施例提供了路由信息配置方法及装置,以解决采用现有技术为NFCC配置路由信息,会导致NFCC转发应用请求的过程复杂的问题。The embodiment of the invention provides a method and a device for configuring routing information, so as to solve the problem that the process of configuring routing information for the NFCC by using the prior art may cause the NFCC to forward the application request.
第一方面,本发明实施例提供了一种路由信息配置方法,该路由信息配置方法用于近场通信NFC终端,包括:生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE其中之一;将所述第一路由表配置至近场通信控制器NFCC。In a first aspect, an embodiment of the present invention provides a routing information configuration method, where the routing information configuration method is used for a near field communication NFC terminal, including: generating a first routing table, where the first routing table includes a first application identifier The first routing information corresponding to the AID, wherein the non-contact application corresponding to the first AID exists in the at least two near-field communication execution environments NFCEE, where the first routing information includes the first AID and the first The near field communication of the NFCEE executes an environment identifier NFCEE ID, the first NFCEE being one of the at least two NFCEEs; configuring the first routing table to the near field communication controller NFCC.
结合第一方面,在第一方面第一种可能的实现方式中,所述第一NFCEE为所述至少两个NFCEE中优先级最高的一个;或者,所述第一NFCEE为所述至少两个NFCEE中由用户指定的一个;或者,所述第一NFCEE为依据选取规则从所述至少两个NFCEE中选出的一个。With reference to the first aspect, in a first possible implementation manner of the first aspect, the first NFCEE is the one with the highest priority among the at least two NFCEEs; or the first NFCEE is the at least two One of the NFCEEs specified by the user; or the first NFCEE is one selected from the at least two NFCEEs according to a selection rule.
结合第一方面或第一方面第一种可能的实现方式,在第一方面第二种可能的实现方式中,所述第一路由表还包含第二AID对应的第二路由信息,其中,所述第二AID对应的非接触应用仅存在于第二NFCEE中,所述第二路由信息包含第二AID及第二AID对应的非接触应用所在NFCEE的NFCEE ID。With reference to the first aspect, or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the first routing table further includes second routing information corresponding to the second AID, where The non-contact application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the NFCEE ID of the NFCEE where the contactless application corresponding to the second AID and the second AID is located.
结合第一方面或第一方面第一至二种可能的实现方式,在第一方面第三种可能的实现方式中,在将所述第一路由表配置至近场通信控制器NFCC之后还包括:当所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第二路由表配置至所述NFCC。With reference to the first aspect or the first to the second possible implementation manners of the first aspect, in the third possible implementation manner of the first aspect, after configuring the first routing table to the near field communication controller NFCC, the method further includes: When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE, Obtaining a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; configuring the second routing table to the NFCC.
结合第一方面或第一方面第一至二种可能的实现方式,在第一方面第四种可能的实现方式中,在将所述第一路由表配置至近场通信控制器NFCC之后还包括:当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第三路由表配置至所述NFCC。 With reference to the first aspect or the first to the second possible implementation manners of the first aspect, in the fourth possible implementation manner of the first aspect, after configuring the first routing table to the near field communication controller NFCC, the method further includes: When a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed contactless application is located is the first NFCEE Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE, to obtain a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; The third routing table is configured to the NFCC.
第二方面,本发明实施例还提供了一种路由信息配置装置,该路由信息配置装置用于近场通信NFC终端,包括:In a second aspect, the embodiment of the present invention further provides a routing information configuration apparatus, where the routing information configuration apparatus is used in a near field communication NFC terminal, including:
生成单元,用于生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE其中之一;配置单元,用于将所述第一路由表配置至近场通信控制器NFCC。a generating unit, configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists simultaneously in at least two In the field communication execution environment NFCEE, the first routing information includes the first AID and a near field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the at least two NFCEEs a configuration unit configured to configure the first routing table to the near field communication controller NFCC.
结合第二方面,在第二方面第一种可能的实现方式中,所述第一NFCEE为所述至少两个NFCEE中优先级最高的一个;或者,所述第一NFCEE为所述至少两个NFCEE中由用户指定的一个;或者,所述第一NFCEE为依据选取规则从所述至少两个NFCEE中选出的一个。With reference to the second aspect, in a first possible implementation manner of the second aspect, the first NFCEE is the one with the highest priority among the at least two NFCEEs; or the first NFCEE is the at least two One of the NFCEEs specified by the user; or the first NFCEE is one selected from the at least two NFCEEs according to a selection rule.
结合第二方面或第二方面第一种可能的实现方式,在第二方面第二种可能的实现方式中,所述第一路由表还包含第二AID对应的第二路由信息,其中,所述第二AID对应的非接触应用仅存在于第二NFCEE中,所述第二路由信息包含第二AID及第二AID对应的非接触应用所在NFCEE的NFCEE ID。With reference to the second aspect, or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first routing table further includes second routing information corresponding to the second AID, where The non-contact application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the NFCEE ID of the NFCEE where the contactless application corresponding to the second AID and the second AID is located.
结合第二方面或第二方面第一至二种可能的实现方式,在第二方面第三种可能的实现方式中,所述装置还包括第一更新单元,所述第一更新单元,具体用于当所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID的,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;所述配置单元,还用于将所述第二路由表配置至所述NFCC。With reference to the second aspect or the first to the second possible implementation manners of the second aspect, in the third possible implementation manner of the second aspect, the apparatus further includes a first update unit, where the first update unit is used by When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE. Obtaining a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; the configuration unit is further configured to configure the second routing table to the NFCC.
结合第二方面或第二方面第一至二种可能的实现方式,在第二方面第四种可能的实现方式中,所述装置还包括第二更新单元,所述第二更新单元,具体用于当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;所述配置单元,还用于将所述第三路由表配置至所述NFCC。With reference to the second aspect or the first to the second possible implementation manners of the second aspect, in the fourth possible implementation manner of the second aspect, the apparatus further includes a second update unit, where the second update unit is specifically used When the non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed non-contact application is located is the first The NFCEE replaces the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE to obtain a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; The configuration unit is further configured to configure the third routing table to the NFCC.
第三方面,本发明实施例还提供了一种近场通信终端,包括处理器和近场通信控制器NFCC,所述处理器,用于生成第一路由表,所述第一路由表包含第一应用标 识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE其中之一;以及,将所述第一路由表配置至近场通信控制器NFCC。In a third aspect, an embodiment of the present invention further provides a near field communication terminal, including a processor and a near field communication controller NFCC, where the processor is configured to generate a first routing table, where the first routing table includes An application standard Identifying the first routing information corresponding to the AID, where the non-contact application corresponding to the first AID exists in at least two near-field communication execution environments NFCEE, where the first routing information includes the first AID and The near field communication of the first NFCEE performs an environment identifier NFCEE ID, the first NFCEE being one of the at least two NFCEEs; and configuring the first routing table to the near field communication controller NFCC.
结合第三方面,在第三方面第一种可能的实现方式中,所述处理器,还用于在所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEEID,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第二路由表配置至所述NFCC。With reference to the third aspect, in a first possible implementation manner of the third aspect, the processor is further configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEEID of the candidate NFCEE to obtain a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; The second routing table is configured to the NFCC.
结合第三方面,在第三方面第二种可能的实现方式中,所述处理器,还用于在所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第三路由表配置至所述NFCC。With reference to the third aspect, in a second possible implementation manner of the third aspect, the processor is further configured to: when the non-contact application is removed in the NFC terminal, if the AID of the contactless application is removed For the first AID, and the NFCEE in which the removed contactless application is located is the first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with the NFCEE of the alternative NFCEE ID, obtaining a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; configuring the third routing table to the NFCC.
在本发明实施例中,生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于多个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述多个NFCEE其中之一;将所述第一路由表配置至近场通信控制器NFCC。采用本发明实施例,无论AID对应的非接触应用同时处于多少个NECEE中,所述NFCC上都只有一条路由信息与该NFCEE相对应。NFCC可以直接根据该路由信息确定AID对应的非接触应用所处的NFCEE,完成应用请求的转发,从而可以简化转发应用请求的处理过程。In the embodiment of the present invention, the first routing table is generated, where the first routing table includes the first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists in multiple In the near field communication execution environment NFCEE, the first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the plurality of NFCEEs. The first routing table is configured to the near field communication controller NFCC. With the embodiment of the present invention, no matter how many NECEEs the non-contact application corresponding to the AID is in the same time, only one routing information on the NFCC corresponds to the NFCEE. The NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it will be apparent to those skilled in the art that In other words, other drawings can be obtained based on these drawings without paying for creative labor.
图1为本发明路由信息配置方法一个实施例的流程图;1 is a flowchart of an embodiment of a routing information configuration method according to the present invention;
图2为本发明路由信息配置方法另一个实施例的流程图; 2 is a flowchart of another embodiment of a method for configuring routing information according to the present invention;
图3为本发明路由信息配置方法另一个实施例的流程图;3 is a flowchart of another embodiment of a method for configuring routing information according to the present invention;
图4为本发明路由信息配置装置一个实施例的结构示意图;4 is a schematic structural diagram of an embodiment of a routing information configuration apparatus according to the present invention;
图5为本发明路由信息配置装置另一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of another embodiment of a routing information configuration apparatus according to the present invention; FIG.
图6为本发明路由信息配置装置另一个实施例的结构示意图。FIG. 6 is a schematic structural diagram of another embodiment of a routing information configuration apparatus according to the present invention.
具体实施方式detailed description
为了使本领域技术人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所述描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 a partial embodiment of the invention, and 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 are within the scope of the present invention.
参见图1,为本发明路由信息配置方法一个实施例的示意图。FIG. 1 is a schematic diagram of an embodiment of a routing information configuration method according to the present invention.
步骤101,生成第一路由表,所述第一路由表包含第一AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于多个NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的NFCEE ID,所述第一NFCEE为所述多个NFCEE其中之一。Step 101: Generate a first routing table, where the first routing table includes first routing information corresponding to the first AID, where the non-contact application corresponding to the first AID exists in multiple NFCEEs at the same time, the first The routing information includes the first AID and an NFCEE ID of the first NFCEE, and the first NFCEE is one of the plurality of NFCEEs.
在初次为NFCC配置路由信息时,NFC终端中的管理实体(Managing Entity,ME)或设备主机(Device Host,简称DH)可以首先生成包含多条路由信息的第一路由表。该路由表可以包括第一AID对应的第一路由信息,并且还可以包括第二AID对应的第二路由信息。When the routing information is configured for the NFCC for the first time, the management entity (ME) or the device host (DH) in the NFC terminal may first generate a first routing table including multiple pieces of routing information. The routing table may include first routing information corresponding to the first AID, and may further include second routing information corresponding to the second AID.
其中,所述第一AID对应的非接触应用同时存在于多个近场通信执行环境NFCEE中。所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述多个NFCEE其中之一。所述第一NFCEE可以为所述多个NFCEE中优先级最高的一个;或者,所述第一NFCEE也可以为所述多个NFCEE中由用户指定的一个;或者,所述第一NFCEE也可以为依据选取规则从所述多个NFCEE中选出的一个。The non-contact application corresponding to the first AID exists in multiple near field communication execution environments NFCEE at the same time. The first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the plurality of NFCEEs. The first NFCEE may be the one with the highest priority among the plurality of NFCEEs; or the first NFCEE may be one of the plurality of NFCEEs specified by the user; or the first NFCEE may also be One selected from the plurality of NFCEEs according to a selection rule.
所述第二AID对应的非接触应用仅存在于第二NFCEE中,所述第二路由信息包含第二AID及第二AID对应的非接触应用所在NFCEE的NFCEE ID。The non-contact application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the NFCEE ID of the NFCEE where the contactless application corresponding to the second AID and the second AID is located.
在此需要说明的是,本发明实施例中所说的第一AID及第二AID均非指特定的 AID。如果某AID对应的非接触应用同时存在于多个NFCEE中,那么该AID就可以为第一AID,如果某AID对应的非接触应用只存在于第二NFCEE中,那么该AID就可以为第二AID。It should be noted that the first AID and the second AID in the embodiment of the present invention are not specific. AID. If the non-contact application corresponding to an AID exists in multiple NFCEEs at the same time, the AID may be the first AID. If the non-contact application corresponding to the AID exists only in the second NFCEE, the AID may be the second. AID.
步骤102,将所述第一路由表配置至近场通信控制器NFCC。Step 102: Configure the first routing table to the near field communication controller NFCC.
ME或DH可以在生成第一路由表,之后向NFCC发送RF_SET_LISTEN_MODE_ROUTING_CMD指令,其中,该指令的Routing Entry部分携带所述第一路由表。NFCC在收到这个指令后,判断第一路由表的内容是否有效,如果第一路由表的内容有效的话,保存该第一路由表,并向ME或DH发送Status值为STATUS_OK的RF_SET_LISTEN_MODE_ROUTING_RSP响应消息;如果第一路由表的内容无效的话,则不保存该第一路由表,并向ME或DH发送Status值为STATUS_FAILED的RF_SET_LISTEN_MODE_ROUTING_RSP响应消息。The ME or DH may send an RF_SET_LISTEN_MODE_ROUTING_CMD instruction to the NFCC after generating the first routing table, wherein the Routing Entry portion of the instruction carries the first routing table. After receiving the instruction, the NFCC determines whether the content of the first routing table is valid. If the content of the first routing table is valid, saves the first routing table, and sends an RF_SET_LISTEN_MODE_ROUTING_RSP response message with a Status value of STATUS_OK to the ME or DH; If the content of the first routing table is invalid, the first routing table is not saved, and an RF_SET_LISTEN_MODE_ROUTING_RSP response message with a Status value of STATUS_FAILED is sent to the ME or DH.
ME或DH可以采用此方式将第一路由表中所包含的路由信息配置到NFCC,从而使NFCC可以使用第一路由表中的路由信息,完成对应用请求的转发。判断第一路由表是否有效的方式,及第一路由表的详细配置方式可以参考NFC Forum的NFC Controller Interface(NCI)协议。In this way, the ME or the DH can configure the routing information included in the first routing table to the NFCC, so that the NFCC can use the routing information in the first routing table to complete the forwarding of the application request. For the manner of determining whether the first routing table is valid, and the detailed configuration of the first routing table, refer to the NFC Forum Interface (NCI) protocol of the NFC Forum.
采用本实施例,无论AID对应的非接触应用同时处于多少个NECEE中,所述NFCC上都只有一条路由信息与该NFCEE相对应。NFCC可以直接根据该路由信息确定AID对应的非接触应用所处的NFCEE,完成应用请求的转发,从而可以简化转发应用请求的处理过程。With this embodiment, no matter how many NECEEs the non-contact application corresponding to the AID is in the same time, only one routing information on the NFCC corresponds to the NFCEE. The NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
由于在实际使用中,NFC终端上的NFCEE或非接触应用可能会发生变化,例如有NFCEE或非接触应用被移除等,因此在将第一路由表配置至NFCC之后,还需要根据NFCEE或非接触应用的变化,对第一路由表进行更新生成第二路由表,并将第二路由表配置NFCC。Since the NFCEE or contactless application on the NFC terminal may change in actual use, for example, NFCEE or contactless application is removed, etc., after configuring the first routing table to the NFCC, it is also required to be based on NFCEE or non- In response to changes in the application, the first routing table is updated to generate a second routing table, and the second routing table is configured with NFCC.
如图2所示,在步骤102之后还可以包括:As shown in FIG. 2, after step 102, the method may further include:
步骤103,当所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一。Step 103: When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, replace the NFCEE ID of the first NFCEE in the first routing information with the candidate NFCEE. The NFCEE ID obtains a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs.
当所述NFC终端中有NFCEE被移除时,可以采用与所述NFCEE对应的更新 方式对第一路由表进行更新。具体来说:When the NFCEE is removed in the NFC terminal, an update corresponding to the NFCEE may be adopted. The method updates the first routing table. Specifically:
如果被移除NFCEE为所述第一NFCEE,那么对第一路由表进行更新的具体方式可以为:将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,其中,所述备选NFCEE所述多个NFCEE其中之一。所述备选NFCEE可以为所述多个NFCEE中除所述第一NFCEE外优先级最高的一个;或者,所述备选NFCEE也可以为所述多个NFCEE中由用户指定的一个;或者,所述备选NFCEE也可以为依据选取规则从所述多个NFCEE中选出的一个。If the NFCEE is removed as the first NFCEE, the specific manner of updating the first routing table may be: replacing the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE. Wherein the candidate NFCEE is one of the plurality of NFCEEs. The candidate NFCEE may be one of the plurality of NFCEEs having the highest priority except the first NFCEE; or the candidate NFCEE may be one of the plurality of NFCEEs specified by the user; or The candidate NFCEE may also be one selected from the plurality of NFCEEs according to a selection rule.
如果被移除NFCEE为第二AID对应的非接触应用所在NFCEE,那么对第一路由表进行更更新的具体方式为:从所述第一路由表中删除所述第二路由信息。If the NFCEE is removed as the NFCEE where the contactless application corresponding to the second AID is located, the specific manner of updating the first routing table is: deleting the second routing information from the first routing table.
如果被移除NFCEE既为所述第一NFCEE又为所述第二AID对应的非接触应用所在NFCEE,那么需要同时将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,并从所述第一路由表中删除所述第二路由信息。If the removed NFCEE is both the first NFCEE and the NFCEE where the contactless application corresponding to the second AID is located, then the NFCEE ID of the first NFCEE in the first routing information needs to be replaced with an alternative at the same time. The NFCEE ID of the NFCEE, and deleting the second routing information from the first routing table.
步骤104,将所述第二路由表配置至所述NFCC。Step 104: Configure the second routing table to the NFCC.
在第二路由表生成之后,ME可以将第二路由表中所包含的路由信息配置到NFCC,替换已配置到NFCC上的路由信息,从而使NFCC可以使用第二路由表中的路由信息,完成对应用请求的转发。第二路由表的具体配置过程与第一路由表的配置过程相类似,在此就不再赘述。After the second routing table is generated, the ME may configure the routing information included in the second routing table to the NFCC to replace the routing information configured to the NFCC, so that the NFCC can use the routing information in the second routing table to complete. Forwarding of application requests. The specific configuration process of the second routing table is similar to the configuration process of the first routing table, and details are not described herein again.
如图3所示,在步骤102之后还可以包括:As shown in FIG. 3, after step 102, the method may further include:
步骤105,当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一。Step 105: When a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed contact application is located is the a first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with an NFCEE ID of the candidate NFCEE, to obtain a third routing table, wherein the candidate NFCEE includes at least two NFCEEs One.
当所述NFC终端中有非接触应用被移除时,可以采用与所述非接触应用对应的更新方式对第一路由表进行更新。具体来说:When a non-contact application is removed from the NFC terminal, the first routing table may be updated by using an update manner corresponding to the contactless application. Specifically:
如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,那么对第一路由表进行更新的具体方式为:将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID。If the AID of the removed contact application is the first AID, and the NFCEE where the removed contactless application is located is the first NFCEE, the specific manner of updating the first routing table is: The NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the alternate NFCEE.
如果被移除非接触应用的AID为所述第二AID,那么对第一路由表进行更新的 具体方式为:删除所述第二路由信息。If the AID of the removed contact application is the second AID, then updating the first routing table The specific manner is: deleting the second routing information.
如果被移除非接触应用的AID为所述第一AID,但所述被移除非接触应用所处的NFCEE不为所述第一NFCEE,则无需更新所述第一路由表。If the AID of the removed contact application is the first AID, but the NFCEE in which the removed contactless application is located is not the first NFCEE, then the first routing table need not be updated.
步骤106,将所述第三路由表配置至所述NFCC。Step 106: Configure the third routing table to the NFCC.
在第三路由表生成之后,ME可以将第三路由表中所包含的路由信息配置到NFCC,替换已配置到NFCC上的路由信息,从而使NFCC可以使用第三路由表中的路由信息,完成对应用请求的转发。第三路由表的具体配置过程与第一路由表的配置过程相类似,在此就不再赘述。After the third routing table is generated, the ME may configure the routing information included in the third routing table to the NFCC to replace the routing information configured to the NFCC, so that the NFCC can use the routing information in the third routing table to complete. Forwarding of application requests. The specific configuration process of the third routing table is similar to the configuration process of the first routing table, and details are not described herein again.
采用本实施例,在NFC终端上的NFCEE或非接触应用发生变化后对已配置到NFCC上的路由信息进行更新,可以保持所述NFCC上都只有一条路由信息与该NFCEE相对应。NFCC可以直接根据该路由信息确定AID对应的非接触应用所处的NFCEE,完成应用请求的转发,从而可以简化转发应用请求的处理过程。With this embodiment, after the NFCEE or the non-contact application on the NFC terminal changes, the routing information configured to the NFCC is updated, and only one routing information on the NFCC can be maintained corresponding to the NFCEE. The NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
参见图4,为本发明路由配置装置一个实施例的结构示意图。该路由信息配置装置可以设置在NFC终端上。4 is a schematic structural diagram of an embodiment of a route configuration apparatus according to the present invention. The routing information configuration device can be set on the NFC terminal.
该路由信息配置装置包括:生成单元401及配置单元402。The routing information configuration apparatus includes a generating unit 401 and a configuration unit 402.
所述生成单元401,用于生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于多个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述多个NFCEE其中之一。所述配置单元402,用于将所述第一路由表配置至近场通信控制器NFCC。The generating unit 401 is configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists at the same time In the near field communication execution environment NFCEE, the first routing information includes the first AID and a near field communication execution environment identifier NFCEE ID of the first NFCEE, where the first NFCEE is the plurality of NFCEEs One. The configuration unit 402 is configured to configure the first routing table to the near field communication controller NFCC.
其中,所述第一NFCEE可以为所述多个NFCEE中优先级最高的一个;或者,所述第一NFCEE也可以为所述多个NFCEE中由用户指定的一个;或者,所述第一NFCEE也可以为依据选取规则从所述多个NFCEE中选出的一个。所述第一路由表还可以包含第二AID对应的第二路由信息,所述第二AID对应的非接触应用仅存在于第二NFCEE中,所述第二路由信息包含第二AID及第二AID对应的非接触应用所在NFCEE的NFCEE ID。The first NFCEE may be the highest priority among the plurality of NFCEEs; or the first NFCEE may be one of the plurality of NFCEEs specified by a user; or the first NFCEE It is also possible to select one of the plurality of NFCEEs according to the selection rule. The first routing table may further include second routing information corresponding to the second AID, where the contactless application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the second AID and the second The NFCEE ID of the NFCEE where the contactless application corresponding to the AID is located.
可选的,如图5所示,所述装置还可以包括:第一更新单元403,用于当所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID的, 得到第二路由表,其中,所述备选NFCEE所述多个NFCEE其中之一。所述配置单元402,还用于将所述第二路由表配置至所述NFCC。Optionally, as shown in FIG. 5, the apparatus may further include: a first updating unit 403, configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed, the first NFCEE, Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the alternative NFCEE, A second routing table is obtained, wherein the candidate NFCEE is one of the plurality of NFCEEs. The configuration unit 402 is further configured to configure the second routing table to the NFCC.
可选的,如图5所示,所述装置还可以包括:第二更新单元404,用于当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述多个NFCEE其中之一。所述配置单元402,还用于将所述第三路由表配置至所述NFCC。Optionally, as shown in FIG. 5, the apparatus may further include: a second updating unit 404, configured to: when the non-contact application is removed in the NFC terminal, if the AID of the contactless application is removed Determining, by the first AID, that the NFCEE in which the removed contactless application is located is the first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with an NFCEE ID of an alternate NFCEE Obtaining a third routing table, wherein the candidate NFCEE is one of the plurality of NFCEEs. The configuration unit 402 is further configured to configure the third routing table to the NFCC.
采用本实施例,在NFC终端上的NFCEE或非接触应用发生变化后对已配置到NFCC上的路由信息进行更新,可以保持所述NFCC上都只有一条路由信息与该NFCEE相对应。NFCC可以直接根据该路由信息确定AID对应的非接触应用所处的NFCEE,完成应用请求的转发,从而可以简化转发应用请求的处理过程。With this embodiment, after the NFCEE or the non-contact application on the NFC terminal changes, the routing information configured to the NFCC is updated, and only one routing information on the NFCC can be maintained corresponding to the NFCEE. The NFCC can directly determine the NFCEE in which the contactless application corresponding to the AID is located according to the routing information, and complete the forwarding of the application request, thereby simplifying the process of forwarding the application request.
图6为本发明实施例提供的NFC终端实施例的一个结构示意图。本发明实施方式中,NFC终端可以是任何移动或便携式电子设备,包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、媒体播放器、智能电视,以及上述两项或两项以上的组合等。FIG. 6 is a schematic structural diagram of an embodiment of an NFC terminal according to an embodiment of the present invention. In an embodiment of the present invention, the NFC terminal may be any mobile or portable electronic device, including but not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), a media player, a smart TV, and the like. Two or more combinations, etc.
如图6所示,发明实施例中的NFC终端,所述装置包括处理器601、存储器602及NFCC 603等组件,还可以包括收发器604、输入输出装置605、外设接口606等组件,所述组件之间可以通过一条或多条总线连接。As shown in FIG. 6, the NFC terminal in the embodiment of the present invention includes components such as a processor 601, a memory 602, and an NFCC 603, and may further include components such as a transceiver 604, an input/output device 605, and a peripheral interface 606. The components can be connected by one or more buses.
其中,所述存储器602用于存储非接触应用等软件程序,可以包括高速随机存取存储器602,也可以包括非易失性存储器602,例如至少一个磁盘存储器602件、闪存器件、或其他易失性固态存储器602件。处理器601通过运行存储在存储器602的软件程序,实现NFC终端的各种功能。The memory 602 is used to store a software program such as a contactless application, and may include a high speed random access memory 602, and may also include a nonvolatile memory 602, such as at least one disk storage device 602, a flash memory device, or other volatile. 602 pieces of solid state memory. The processor 601 implements various functions of the NFC terminal by running a software program stored in the memory 602.
所述处理器601可以是所述NFC终端的中央处理器601,也可以是所述NFC终端某个组件,例如NFCC,所拥有的处理器601核心.The processor 601 may be the central processing unit 601 of the NFC terminal, or may be a component of the NFC terminal, such as the NFCC, and the processor 601 core.
所述处理器601用于生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE 其中之一;将所述第一路由表配置至NFCC。The processor 601 is configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists in at least two In the near field communication execution environment NFCEE, the first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is the at least two NFCEEs One of them; configuring the first routing table to the NFCC.
可选的,所述处理器601,还用于当所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第二路由表配置至所述NFCC 603。Optionally, the processor 601 is further configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the first one of the first routing information is The NFCEE ID of the NFCEE is replaced with the NFCEE ID of the alternate NFCEE, resulting in a second routing table, wherein the candidate NFCEE describes one of the at least two NFCEEs; configuring the second routing table to the NFCC 603.
可选的,所述处理器601,还用于当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第三路由表配置至所述NFCC 603。Optionally, the processor 601 is further configured to: when a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the removed The NFCEE in which the contactless application is located is the first NFCEE, and the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE, to obtain a third routing table, where the standby One of the at least two NFCEEs described by the NFCEE is selected; the third routing table is configured to the NFCC 603.
具体实现中,本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的路由信息配置方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the routing information configuration method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。It will be apparent to those skilled in the art that the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、终端等实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for an embodiment of a device, a terminal, etc., since it is substantially similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
以上所述的本发明实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The embodiments of the invention described above are not intended to limit the scope of the invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (13)

  1. 一种路由信息配置方法,用于近场通信NFC终端,其特征在于,所述方法包括:A routing information configuration method for a near field communication NFC terminal, wherein the method includes:
    生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE其中之一;Generating a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the contactless application corresponding to the first AID exists in at least two near field communication execution environments NFCEE The first routing information includes the first AID and a near field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the at least two NFCEEs;
    将所述第一路由表配置至近场通信控制器NFCC。The first routing table is configured to the near field communication controller NFCC.
  2. 如权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述第一NFCEE为所述至少两个NFCEE中优先级最高的一个;The first NFCEE is one of the at least two NFCEEs having the highest priority;
    或者,or,
    所述第一NFCEE为所述至少两个NFCEE中由用户指定的一个;The first NFCEE is one of the at least two NFCEEs specified by a user;
    或者,or,
    所述第一NFCEE为依据选取规则从所述至少两个NFCEE中选出的一个。The first NFCEE is one selected from the at least two NFCEEs according to a selection rule.
  3. 如权利要求1或2所述的方法,其特征在于,A method according to claim 1 or 2, wherein
    所述第一路由表还包含第二AID对应的第二路由信息,其中,所述第二AID对应的非接触应用仅存在于第二NFCEE中,所述第二路由信息包含第二AID及第二AID对应的非接触应用所在NFCEE的NFCEE ID。The first routing table further includes second routing information corresponding to the second AID, where the contactless application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the second AID and the The NFCEE ID of the NFCEE where the contactless application corresponding to the second AID is located.
  4. 如权利要求1至3任一项所述的方法,其特征在于,在将所述第一路由表配置至近场通信控制器NFCC之后还包括:The method according to any one of claims 1 to 3, further comprising: after configuring the first routing table to the near field communication controller NFCC:
    当所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;When the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE, Obtaining a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs;
    将所述第二路由表配置至所述NFCC。The second routing table is configured to the NFCC.
  5. 如权利要求1至3任一项所述的方法,其特征在于,在将所述第一路由 表配置至近场通信控制器NFCC之后还包括:Method according to any of claims 1 to 3, wherein said first route is After the table is configured to the near field communication controller NFCC, it also includes:
    当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;When a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the NFCEE where the removed contactless application is located is the first NFCEE Substituting the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE to obtain a third routing table, wherein the candidate NFCEE is one of the at least two NFCEEs;
    将所述第三路由表配置至所述NFCC。The third routing table is configured to the NFCC.
  6. 一种路由信息配置装置,用于近场通信NFC终端,其特征在于,所述装置包括:A routing information configuration device for a near field communication NFC terminal, wherein the device comprises:
    生成单元,用于生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE其中之一;a generating unit, configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists simultaneously in at least two In the field communication execution environment NFCEE, the first routing information includes the first AID and a near field communication execution environment identifier NFCEE ID of the first NFCEE, and the first NFCEE is one of the at least two NFCEEs ;
    配置单元,用于将所述第一路由表配置至近场通信控制器NFCC。And a configuration unit, configured to configure the first routing table to the near field communication controller NFCC.
  7. 如权利要求6所述的装置,其特征在于,The device of claim 6 wherein:
    所述第一NFCEE为所述至少两个NFCEE中优先级最高的一个;The first NFCEE is one of the at least two NFCEEs having the highest priority;
    或者,or,
    所述第一NFCEE为所述至少两个NFCEE中由用户指定的一个;The first NFCEE is one of the at least two NFCEEs specified by a user;
    或者,or,
    所述第一NFCEE为依据选取规则从所述至少两个NFCEE中选出的一个。The first NFCEE is one selected from the at least two NFCEEs according to a selection rule.
  8. 如权利要求6或7所述的装置,其特征在于,A device according to claim 6 or claim 7 wherein:
    所述第一路由表还包含第二AID对应的第二路由信息,其中,所述第二AID对应的非接触应用仅存在于第二NFCEE中,所述第二路由信息包含第二AID及第二AID对应的非接触应用所在NFCEE的NFCEE ID。The first routing table further includes second routing information corresponding to the second AID, where the contactless application corresponding to the second AID exists only in the second NFCEE, and the second routing information includes the second AID and the The NFCEE ID of the NFCEE where the contactless application corresponding to the second AID is located.
  9. 如权利要求6至8任一项所述的装置,其特征在于,所述装置还包括第一更新单元,The apparatus according to any one of claims 6 to 8, wherein the apparatus further comprises a first update unit,
    所述第一更新单元,具体用于当所述NFC终端中有NFCEE被移除时,如果 被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID的,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;The first update unit is specifically configured to: when the NFCEE in the NFC terminal is removed, if Removing the NFCEE as the first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information with the NFCEE ID of the candidate NFCEE, to obtain a second routing table, wherein the candidate NFCEE One of the at least two NFCEEs;
    所述配置单元,还用于将所述第二路由表配置至所述NFCC。The configuration unit is further configured to configure the second routing table to the NFCC.
  10. 如权利要求6至8任一项所述的装置,其特征在于,所述装置还包括第二更新单元,The apparatus according to any one of claims 6 to 8, wherein the apparatus further comprises a second updating unit,
    所述第二更新单元,具体用于当所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;The second update unit is specifically configured to: when a non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the removed contactless application The NFCEE is the first NFCEE, and the NFCEE ID of the first NFCEE in the first routing information is replaced with the NFCEE ID of the candidate NFCEE, to obtain a third routing table, where the candidate NFCEE is Said one of at least two NFCEEs;
    所述配置单元,还用于将所述第三路由表配置至所述NFCC。The configuration unit is further configured to configure the third routing table to the NFCC.
  11. 一种近场通信终端,包括处理器和近场通信控制器NFCC,其特征在于,A near field communication terminal comprising a processor and a near field communication controller NFCC, characterized in that
    所述处理器,用于生成第一路由表,所述第一路由表包含第一应用标识符AID对应的第一路由信息,其中,所述第一AID对应的非接触应用同时存在于至少两个近场通信执行环境NFCEE中,所述第一路由信息中包含所述第一AID及第一NFCEE的近场通信执行环境标识符NFCEE ID,所述第一NFCEE为所述至少两个NFCEE其中之一;以及,将所述第一路由表配置至近场通信控制器NFCC。The processor is configured to generate a first routing table, where the first routing table includes first routing information corresponding to the first application identifier AID, where the non-contact application corresponding to the first AID exists in at least two In the near field communication execution environment NFCEE, the first routing information includes a first field ID and a first field communication execution environment identifier NFCEE ID of the first NFCEE, where the first NFCEE is the at least two NFCEEs And configuring the first routing table to the near field communication controller NFCC.
  12. 如权利要求11所述的近场通信终端,其特征在于,A near field communication terminal according to claim 11, wherein:
    所述处理器,还用于在所述NFC终端中有NFCEE被移除时,如果被移除NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEEID替换为备选NFCEE的NFCEE ID,得到第二路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第二路由表配置至所述NFCC。The processor is further configured to: when the NFCEE is removed in the NFC terminal, if the NFCEE is removed as the first NFCEE, replace the NFCEEID of the first NFCEE in the first routing information with An NFCEE ID of the alternative NFCEE, resulting in a second routing table, wherein the candidate NFCEE is one of the at least two NFCEEs; configuring the second routing table to the NFCC.
  13. 如权利要求11所述的近场通信终端,其特征在于,A near field communication terminal according to claim 11, wherein:
    所述处理器,还用于在所述NFC终端中有非接触应用被移除时,如果被移除非接触应用的AID为所述第一AID,且所述被移除非接触应用所处的NFCEE为所述第一NFCEE,将所述第一路由信息中所述第一NFCEE的NFCEE ID替换 为备选NFCEE的NFCEE ID,得到第三路由表,其中,所述备选NFCEE所述至少两个NFCEE其中之一;将所述第三路由表配置至所述NFCC。 The processor is further configured to: when the non-contact application is removed in the NFC terminal, if the AID of the removed contact application is the first AID, and the removed contactless application is located NFCEE is the first NFCEE, replacing the NFCEE ID of the first NFCEE in the first routing information For the NFCEE ID of the alternative NFCEE, a third routing table is obtained, wherein the candidate NFCEE is one of the at least two NFCEEs; the third routing table is configured to the NFCC.
PCT/CN2015/078048 2015-04-30 2015-04-30 Routing information configuration method and apparatus WO2016172948A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580040720.3A CN106664637B (en) 2015-04-30 2015-04-30 Routing information configuration method and device
PCT/CN2015/078048 WO2016172948A1 (en) 2015-04-30 2015-04-30 Routing information configuration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/078048 WO2016172948A1 (en) 2015-04-30 2015-04-30 Routing information configuration method and apparatus

Publications (1)

Publication Number Publication Date
WO2016172948A1 true WO2016172948A1 (en) 2016-11-03

Family

ID=57198012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078048 WO2016172948A1 (en) 2015-04-30 2015-04-30 Routing information configuration method and apparatus

Country Status (2)

Country Link
CN (1) CN106664637B (en)
WO (1) WO2016172948A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629213A (en) * 2017-03-15 2018-10-09 恩智浦有限公司 NFC device and initial method
US10397276B2 (en) 2014-04-01 2019-08-27 Huawei Device Co., Ltd. Secure element management method and terminal
CN112512094A (en) * 2021-01-29 2021-03-16 北京紫光青藤微系统有限公司 Method and device for generating routing table, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103222291A (en) * 2010-11-17 2013-07-24 捷讯研究有限公司 Application routing configuration for NFC controller supporting multiple NFC execution environments NFCEE
US20130225073A1 (en) * 2012-02-28 2013-08-29 Qualcomm Incorporated Methods and apparatuses for reducing the nonvolatile memory used to support application identifier routing in an nfc controller
CN104094620A (en) * 2012-02-13 2014-10-08 高通股份有限公司 Methods and apparatus for secure updates to persistent data in a near field communication controller
CN104471600A (en) * 2014-04-01 2015-03-25 华为终端有限公司 Safety unit management method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE554593T1 (en) * 2008-03-27 2012-05-15 Motorola Mobility Inc METHOD AND APPARATUS FOR AUTOMATIC NEAR FIELD COMMUNICATIONS APPLICATION SELECTION IN AN ELECTRONIC DEVICE
US8589541B2 (en) * 2009-01-28 2013-11-19 Headwater Partners I Llc Device-assisted services for protecting network capacity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103222291A (en) * 2010-11-17 2013-07-24 捷讯研究有限公司 Application routing configuration for NFC controller supporting multiple NFC execution environments NFCEE
CN104094620A (en) * 2012-02-13 2014-10-08 高通股份有限公司 Methods and apparatus for secure updates to persistent data in a near field communication controller
US20130225073A1 (en) * 2012-02-28 2013-08-29 Qualcomm Incorporated Methods and apparatuses for reducing the nonvolatile memory used to support application identifier routing in an nfc controller
CN104471600A (en) * 2014-04-01 2015-03-25 华为终端有限公司 Safety unit management method and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10397276B2 (en) 2014-04-01 2019-08-27 Huawei Device Co., Ltd. Secure element management method and terminal
CN108629213A (en) * 2017-03-15 2018-10-09 恩智浦有限公司 NFC device and initial method
CN112512094A (en) * 2021-01-29 2021-03-16 北京紫光青藤微系统有限公司 Method and device for generating routing table, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106664637A (en) 2017-05-10
CN106664637B (en) 2020-01-17

Similar Documents

Publication Publication Date Title
EP3148225B1 (en) Bluetooth connection-based audio playback method and apparatus
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN103036597B (en) Method and device of sharing resources among devices in close range
CN105493069A (en) Method for sharing media data and electronic device thereof
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
KR20220038827A (en) Partitioning and rebalancing data storage
US20200068005A1 (en) Transferring files between computer nodes on different networks
US11455117B2 (en) Data reading method, apparatus, and system, avoiding version rollback issues in distributed system
KR20140129149A (en) Methods and apparatus for secure updates to persistent data in a near field communication controller
CN107580032B (en) Data processing method, device and equipment
WO2016023199A1 (en) Method, device and system for security domain management
US9509832B2 (en) Recommending preferred ringer settings for a mobile communications device
US9628567B2 (en) Methods and systems for efficient discovery of devices in a peer-to-peer network
WO2019076282A1 (en) Method and device for managing user
CN104965730A (en) Version upgrading method and system
WO2016172948A1 (en) Routing information configuration method and apparatus
CN103580918B (en) A kind of configuration data processing method and device
CN110581784B (en) Node health check method, device and equipment
CN105144073A (en) Removable storage device identity and configuration information
WO2016197884A1 (en) Identity-based data processing method and device
JP6293743B2 (en) Method and apparatus for performing optimized object search
US9363290B2 (en) Access control information generating system
CN107547382B (en) Neighbor relation discovery method and device
JP2015201762A (en) Device, method and program for radio communication
JP6227055B1 (en) Storage system and file writing method

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

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

Country of ref document: EP

Kind code of ref document: A1