NCI --- 体系结构

1 NCI Components

1.1 NCI Core:

  1.    定义了NCI Packet格式,命令(commands)、响应(response)、通知(Notification)、数据交换(Data exchange);
  2.    A flow control mechanism for Command/Response Message exchange  (流控制机制)
  3.    A Logical Connection concept for Data Messages (数据消息的逻辑连接)
  4.    A credit-based flow control mechanism for Data Messages sent from the DH to the NFCC (数据消息 基于credit 流控制)
  5.    Segmentation and reassembly(分包和组包) for Control and Data Messages.
  6.    An addressing scheme for NFC Execution Environments (NFCEE).  (NFCEE的地址策略)
  7.    An addressing scheme for Remote NFC Endpoints  (Remote NFC Endpoints 的地址策略)
  8.    Reset, initialization, and configuration of the NFCC. 
  9. Exception handling, including Control Messages for indicating errors, and rules for how to use them.

1.2 Transport Mappings:

    Transport Mappings SHALL provide means to transport Data and Control Packets in both directions between the DH and NFCC. (提供DH和NFCC之间 数据包和控制包双向传输的方式)
  Transport Mappings SHALL provide a reliable data transfer.(提供可靠的数据传输)
  Transport Mappings MAY include flow control mechanisms. However, if possible they SHOULD rely on the flow control built into the NCI protocol. (也可以提供流控制机制)
  Transport Mappings providing framing SHALL NOT forward Packets with a size smaller than 3 bytes to the NCI Core.

1.3 NCI modules:

  • Each module provides a well-defined functionality to the DH. (提供定义好的功能模块)
  • NCI modules provide the functionality to configure the NFCC and to discover and communicate with Remote NFC Endpoints or with local NFCEEs.(NCI模块提供了配置NFCC和发现远程NFC端点或与本地NFCEE通信的功能。)

1.4 Interface:

An NCI module might contain a single Interface. Each Interface defines how a DH can
communicate via NCI with a Remote NFC Endpoint or NFCEE. Each Interface is defined to
support specific protocols and can only be used for those protocols (the majority of Interfaces
support exactly one protocol). NCI defines two types of Interfaces: RF Interfaces and NFCEE
Interfaces.

每个interface 定义支持为特定的协议;

NCI 定义了两种类型接口:

  • RF Interfaces : DH与Remote NFC Endpoint 通过HCI通讯
  • NFCEE Interfaces: DH与NFCEE通过HCI通讯

Protocols used to communicate with a Remote NFC Endpoint are called RF Protocols. Protocols
used to communicate with an NFCEE are called NFCEE Protocols.

根据通讯方不同,有分为2中类型协议

  • RF Protocols
  • NFCEE Protocols.

An NFCEE Interface has a one-to-one relationship to an NFCEE Protocol. However, there might
be multiple RF Interfaces for one RF Protocol. The multiple RF Interfaces allow NCI to support
different splits of the protocol implementation between the NFCC and DH. An NCI
implementation on an NFCC includes the RF Interfaces that match the functionality implemented
on the NFCC.

RF Interface 与 RF Protocol  存在多对1的关系

NFCEE Interface 与NFCEE Protocol 存在1对1的关系

 

 

 

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值