NFC-based communication method and apparatus
AssigneeChina Unionpay Co., Ltd.
InventorsChengqian Chen, Yu Zhou, Wei Guo
Life of this patent
Estimating the term…
Abstract
The invention provides communication method and apparatus based on NFC, and in particular, to communication method and apparatus based on NFC in a security element (SE), a communication method based on NFC in a smart terminal, a security element and a smart terminal. The invention proposes a new way of connection with the NFC device so that the TEE applications can have NFC ability.
Claims11
A communication method based on near field communication (NFC) in a security element (SE), comprising:
- receiving a first message from a communication module in a trusted execution environment (TEE) system of a smart terminal, wherein an SE drive in the TEE system is used to interact with the SE via the communication module;
- forwarding the first message to a NFC device connected with and controlled by a rich execution environment (REE) system of the smart terminal;
- receiving a second message from the NFC device;
- forwarding the second message to the communication module;
- and,
- establishing a communication channel between a TEE application and the NFC device, in which:
- a channel establishment command originating from the TEE application is received by the communication module,
- the channel establishment command is forwarded to the NFC device,
- a return message comprising a channel number which is used for identifying the TEE application is received from the NFC device, and
- the return message comprising the channel number is forwarded to the communication module,
- wherein message transmission with the communication module and message transmission with the NFC device use the same communication protocol.
A communication apparatus based on near field communication (NFC) in a security element (SE), comprising:
- a first module for receiving a first message from a communication module in a trusted execution environment (TEE) system of a smart terminal, wherein an SE drive in the TEE system is used to interact with the SE via the communication module;
- a second module for forwarding the first message to a NFC device connected with and controlled by a rich execution environment (REE) system of the smart terminal;
- a third module for receiving a second message from the NFC device;
- and
- a fourth module for forwarding the second message to the communication module,
- wherein message transmission with the communication module and message transmission with the NFC device use the same communication protocol.
A communication method based on near field communication (NFC) in a smart terminal, comprising:
- sending a first message to a NFC device connected with and controlled by a rich execution environment (REE) system of the smart terminal via a security element (SE) and receiving a second message from the NFC device via the SE, when the smart terminal is operating in a trusted execution environment (TEE) system,
- further comprising establishing a communication channel between a TEE application and the NFC device, in which:
- a channel establishment command originating from the TEE application is sent to the NFC device via the SE, and
- a return message comprising a channel number which is used for identifying the TEE application is received from the NFC device via the SE,
- wherein message communication with the SE is based on a communication protocol between the SE and the NFC device, and wherein
- an SE drive in the TEE system is used to interact with the SE via the communication module.
A communication apparatus based on near field communication (NFC) in a smart terminal, wherein the communication apparatus is configured to:
- send a first message to a NFC device connected with and controlled by a rich execution environment (REE) system of the smart terminal via a security element (SE) and to receive a second message from the NFC device via the SE, when the smart terminal is operating in a trusted execution environment (TEE) system, and wherein an SE drive in the TEE system is used to interact with the SE via a communication module;
- wherein the apparatus is configured to establish a communication channel between a TEE application and the NFC device, and the apparatus is further configured to:
- send a channel establishment command originating from the application to the NFC device via the SE;
- and
- receive a return message comprising a channel number which is used for identifying the application from the NFC device via the SE,
- wherein the apparatus is configured to communicate messages with the SE based on a communication protocol between the SE and the NFC device.
Dependencies are inferred from the claim text.