CN106845974B - Method and device for realizing point-to-point communication of near field communication - Google Patents
Method and device for realizing point-to-point communication of near field communication Download PDFInfo
- Publication number
- CN106845974B CN106845974B CN201510886423.2A CN201510886423A CN106845974B CN 106845974 B CN106845974 B CN 106845974B CN 201510886423 A CN201510886423 A CN 201510886423A CN 106845974 B CN106845974 B CN 106845974B
- Authority
- CN
- China
- Prior art keywords
- instruction
- ndef message
- nfc
- apdu
- communication link
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 123
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000002452 interceptive effect Effects 0.000 claims abstract description 60
- 230000004044 response Effects 0.000 claims abstract description 35
- 230000003993 interaction Effects 0.000 claims description 70
- 238000005538 encapsulation Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 abstract description 11
- 230000002457 bidirectional effect Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 7
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种实现近场通信(NFC)的点对点(P2P)通信的方法的装置,所述方法包括:建立与上层应用通信的第一连接通信链路;建立与NFC控制器通信的第二连接通信链路;通过第一连接通信链路接收上层应用发送的NFC数据交互格式(NDEF)消息、NFC读写模式下的交互指令或应用协议数据单元(APDU)指令;为NDEF消息、或交互指令、或APDU指令分配相应的发送标识或应答标识;结合相应的发送标识或应答标识进行封装,并将封装后的NDEF消息、或交互指令、或APDU指令通过第二连接通信链路发送至NFC控制器中。采用本发明技术方案,能实现单次触碰信息双向传输的脱机交易。
The invention discloses a device for realizing a method for point-to-point (P2P) communication of near field communication (NFC). The method includes: establishing a first connection communication link for communication with an upper-layer application; Two connection communication links; receive NFC data exchange format (NDEF) messages, interactive instructions in NFC read-write mode or application protocol data unit (APDU) instructions sent by upper-layer applications through the first connection communication link; it is an NDEF message, or The interactive instruction or APDU instruction allocates the corresponding sending identifier or response identifier; encapsulates it in combination with the corresponding sending identifier or response identifier, and sends the encapsulated NDEF message, or interactive instruction, or APDU instruction through the second connection communication link to the in the NFC controller. By adopting the technical scheme of the present invention, the offline transaction of bidirectional transmission of single-touch information can be realized.
Description
技术领域technical field
本发明涉及通信领域中近场通信(NFC,Near Field Communication)交易处理技术,尤其涉及一种实现近场通信的点对点(Peer to Peer,简称P2P)通信的方法及装置。The invention relates to a near field communication (NFC, Near Field Communication) transaction processing technology in the communication field, and in particular, to a method and device for implementing near field communication peer-to-peer (Peer to Peer, P2P for short) communication.
背景技术Background technique
现有的NFC P2P交易系统一般如图1所示,在该NFC P2P交易系统中,其工作流程主要包括:1)设备1的应用程序(APP)及上层应用向NFC控制器(Controller)发送的NFC数据交互格式(NDEF,NFC Data Exchange Format)NDEF消息;2)设备1的NFC Controller向设备2的NFC Controller发送建联请求消息;3)设备2的NFC Controller接收到设备1的建联请求消息后发送至设备2的APP及上层应用;4)上层应用使用联网的非脱机交易方式完成交易,或通过再次触碰完成虚线部分信息传输过程。The existing NFC P2P transaction system is generally shown in Figure 1. In the NFC P2P transaction system, its workflow mainly includes: 1) The application program (APP) of the device 1 and the upper-layer application send the message to the NFC controller (Controller). NFC Data Exchange Format (NDEF, NFC Data Exchange Format) NDEF message; 2) The NFC Controller of Device 1 sends a connection establishment request message to the NFC Controller of Device 2; 3) The NFC Controller of Device 2 receives the connection establishment request message of Device 1 Then send it to the APP and the upper-layer application of the device 2; 4) The upper-layer application completes the transaction by using the networked non-offline transaction method, or completes the information transmission process of the dotted line part by touching it again.
在交易过程中,随着业务使用场景的需要及用户需求不断提高,在上述描述的交易场景中,出现了繁琐及受网络局限的技术问题:In the transaction process, with the continuous improvement of business usage scenarios and user requirements, in the transaction scenarios described above, there are technical problems that are cumbersome and limited by the network:
问题1:使用NFC P2P单次触碰无法完成交易。由于手机操作系统规则的限制,若使用NFC P2P方式进行数据传输,两台设备单次触碰仅能完成设备1向设备2的单向数据传输,如需要设备2向设备1返回数据则需要两台设备再次触碰完成反向数据应答。在这个过程中,不但增加了用户的时间成本,同时与新兴的雷达建联、声波建联的单次建联快速传输相比,严重降低了交易过程中的用户体验。Question 1: The transaction cannot be completed with a single touch using NFC P2P. Due to the restrictions of the mobile phone operating system rules, if the NFC P2P method is used for data transmission, a single touch between two devices can only complete one-way data transmission from device 1 to device 2. If device 2 needs to return data to device 1, it takes two The device touches it again to complete the reverse data reply. In this process, it not only increases the time cost of users, but also seriously reduces the user experience in the transaction process compared with the emerging radar connection and sonic connection fast transmission for a single connection.
问题2:若为了提高用户体验使用单次触碰的数据传输方式,由于手机操作系统规则的限制,设备2向设备1的反向数据应答只能通过联网的方式完成。而交易过程中的诸多使用场景是在没有网络或网络条件很差的情况下进行的,网络的限制同时也限制了NFCP2P交易的使用场景,大大制约了业务的发展。Question 2: If the single-touch data transmission method is used to improve the user experience, due to the restrictions of the mobile phone operating system rules, the reverse data response from device 2 to device 1 can only be completed through the Internet. Many usage scenarios in the transaction process are carried out in the absence of network or with poor network conditions. Network restrictions also limit the usage scenarios of NFCP2P transactions, which greatly restricts business development.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明期望提供一种实现近场通信的点对点通信的方法及装置,能实现单次触碰信息双向传输的脱机交易。In view of this, the present invention expects to provide a method and device for realizing point-to-point communication of near field communication, which can realize offline transaction of bidirectional transmission of information with a single touch.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:
本发明提供了一种实现近场通信的点对点通信的方法,所述方法包括:The present invention provides a method for realizing point-to-point communication of near field communication, the method comprising:
建立与上层应用通信的第一连接通信链路;establishing a first connection communication link for communicating with the upper-layer application;
建立与NFC控制器通信的第二连接通信链路;establishing a second connected communication link in communication with the NFC controller;
通过第一连接通信链路接收上层应用发送的NFC P2P模式下的NDEF消息、或NFC读写模式下的交互指令、或NFC读写模式下的应用协议数据单元(APDU,ApplicationProtocol Data Unit)指令;Receive an NDEF message in the NFC P2P mode sent by the upper-layer application through the first connection communication link, or an interactive command in the NFC read-write mode, or an application protocol data unit (APDU, ApplicationProtocol Data Unit) command in the NFC read-write mode;
为NDEF消息、或交互指令、或APDU指令分配相应的发送标识或应答标识;Allocate the corresponding sending identifier or response identifier to the NDEF message, or interactive command, or APDU command;
结合相应的发送标识或应答标识,对NDEF消息、或交互指令、或APDU指令进行封装,并将封装后的NDEF消息、或交互指令、或APDU指令通过第二连接通信链路发送至自身终端的NFC控制器中。Combined with the corresponding sending identifier or response identifier, encapsulate the NDEF message, or the interactive instruction, or the APDU instruction, and send the encapsulated NDEF message, or the interactive instruction, or the APDU instruction to the terminal's own terminal through the second connection communication link. in the NFC controller.
上述方案中,优选地,所述方法还包括:In the above scheme, preferably, the method also includes:
通过自身终端的NFC控制器将封装后的NDEF消息、或交互指令、或APDU指令发送至对方终端的NFC控制器中,以由对方终端对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作,并基于解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理。The encapsulated NDEF message, or interactive command, or APDU command is sent to the NFC controller of the opposite terminal through the NFC controller of its own terminal, so that the opposite terminal can process the encapsulated NDEF message, or interactive command, or APDU. The instruction performs decapsulation operation, and the response processing is performed based on the decapsulated NDEF message, or the interaction instruction, or the APDU instruction.
上述方案中,优选地,所述由对方终端对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作,并基于解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理,包括:In the above scheme, preferably, the opposite terminal performs a decapsulation operation on the encapsulated NDEF message, or the interaction instruction, or the APDU instruction, and performs the decapsulation operation based on the decapsulated NDEF message, or the interaction instruction, or the APDU instruction. Response processing, including:
通过第二连接通信链路接收NFC控制器发送的封装后的NDEF消息、或交互指令、或APDU指令;Receive the encapsulated NDEF message, or the interaction instruction, or the APDU instruction sent by the NFC controller through the second connection communication link;
对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作;将解封装后的NDEF消息、或交互指令、或APDU指令通过第一连接通信链路发送至上层应用,以由上层应用对所述解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理。Decapsulate the encapsulated NDEF message, or the interactive instruction, or the APDU instruction; send the decapsulated NDEF message, or the interactive instruction, or the APDU instruction to the upper-layer application through the first connection communication link, so that the The upper-layer application performs response processing on the decapsulated NDEF message, or the interaction command, or the APDU command.
上述方案中,优选地,通过第一连接通信链路接收上层应用发送的NFC P2P模式下的NDEF消息、NFC读写模式下的交互指令以及APDU指令,包括:In the above scheme, preferably, the NDEF message in the NFC P2P mode sent by the upper-layer application, the interaction command in the NFC read-write mode and the APDU command are received through the first connection communication link, including:
满足第一预设条件时,自身终端的上层应用发送NFC P2P模式下的NDEF消息;自身终端通过自身终端的第一连接通信链路接收NFC P2P模式下的NDEF消息;When the first preset condition is met, the upper-layer application of the self-terminal sends the NDEF message in the NFC P2P mode; the self-terminal receives the NDEF message in the NFC P2P mode through the first connection communication link of the self-terminal;
或者,满足第二预设条件时,对方终端的上层应用发送NFC读写模式下的交互指令或APDU指令;对方终端通过对方终端的第一连接通信链路接收NFC读写模式下的交互指令或APDU指令。Or, when the second preset condition is met, the upper-layer application of the counterpart terminal sends an interaction command or an APDU instruction in the NFC read-write mode; the counterpart terminal receives the interaction instruction or APDU in the NFC read-write mode through the first connection communication link of the counterpart terminal. APDU command.
上述方案中,优选地,所述NDEF消息至少包括账户信息;In the above scheme, preferably, the NDEF message includes at least account information;
所述交互指令至少包括:寻卡指令,或选卡指令,或参数交换指令。The interaction instruction at least includes: a card search instruction, or a card selection instruction, or a parameter exchange instruction.
本发明还提供了一种实现近场通信的点对点通信的装置,所述装置包括:The present invention also provides a device for realizing point-to-point communication of near field communication, the device comprising:
通信模块,用于建立与上层应用通信的第一连接通信链路;建立与NFC控制器通信的第二连接通信链路;a communication module for establishing a first connection communication link for communicating with an upper-layer application; establishing a second connection communication link for communicating with the NFC controller;
封装模块,用于通过第一连接通信链路接收上层应用发送的NFC P2P模式下的NDEF消息、或NFC读写模式下的交互指令、或NFC读写模式下的APDU指令;为NDEF消息、或交互指令、或APDU指令分配相应的发送标识或应答标识;结合相应的发送标识或应答标识,对NDEF消息、或交互指令、或APDU指令进行封装,并将封装后的NDEF消息、或交互指令、或APDU指令通过第二连接通信链路发送至所在终端的NFC控制器中。The encapsulation module is used to receive the NDEF message in the NFC P2P mode sent by the upper-layer application through the first connection communication link, or the interactive command in the NFC read-write mode, or the APDU command in the NFC read-write mode; it is an NDEF message, or The interactive instruction or APDU instruction is assigned the corresponding sending identifier or response identifier; combined with the corresponding sending identifier or response identifier, the NDEF message, or interactive instruction, or APDU instruction is encapsulated, and the encapsulated NDEF message, or interactive instruction, or APDU instruction is encapsulated. Or the APDU command is sent to the NFC controller of the terminal through the second connection communication link.
上述方案中,优选地,所述装置还包括:In the above scheme, preferably, the device further comprises:
解封装模块,用于接收NFC控制器发送的封装后的NDEF消息、或交互指令、或APDU指令,其中,所述封装后的NDEF消息、或交互指令、或APDU指令是由对方终端发送的;对接收的封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作。a decapsulation module, configured to receive an encapsulated NDEF message, or an interaction instruction, or an APDU instruction sent by the NFC controller, wherein the encapsulated NDEF message, or the interaction instruction, or the APDU instruction is sent by the opposite terminal; A decapsulation operation is performed on the received encapsulated NDEF message, or the interaction command, or the APDU command.
上述方案中,优选地,所述解封装模块,还用于:In the above scheme, preferably, the decapsulation module is also used for:
通过第二连接通信链路接收NFC控制器发送的封装后的NDEF消息、或交互指令、或APDU指令;其中,所述封装后的NDEF消息、或交互指令、或APDU指令是由对方终端发送的;Receive the encapsulated NDEF message, or the interaction instruction, or the APDU instruction sent by the NFC controller through the second connection communication link; wherein, the encapsulated NDEF message, or the interaction instruction, or the APDU instruction is sent by the opposite terminal ;
对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作;decapsulating the encapsulated NDEF message, or the interaction instruction, or the APDU instruction;
将解封装后的NDEF消息、或交互指令、或APDU指令通过第一连接通信链路发送至上层应用,以由上层应用对所述解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理。Send the decapsulated NDEF message, or the interaction command, or the APDU command to the upper-layer application through the first connection communication link, so that the upper-layer application responds to the decapsulated NDEF message, or the interaction command, or the APDU command deal with.
上述方案中,优选地,所述封装模块,还用于:In the above scheme, preferably, the encapsulation module is also used for:
满足第一预设条件时,通过所在终端的第一连接通信链路接收NFC P2P模式下的NDEF消息;其中,所述NDEF消息是由所在终端的上层应用发送的;When the first preset condition is met, the NDEF message in the NFC P2P mode is received through the first connection communication link of the terminal where the terminal is located; wherein, the NDEF message is sent by the upper-layer application of the terminal where the terminal is located;
或者,满足第二预设条件时,通过所在终端的的第一连接通信链路接收NFC读写模式下的交互指令或APDU指令;其中,所述交互指令或APDU指令是由所在终端的上层应用发送的。Or, when the second preset condition is met, the interactive command or APDU command in the NFC read/write mode is received through the first connection communication link of the terminal where the terminal is located; wherein, the interactive command or APDU command is issued by the upper-layer application of the terminal where the terminal is located. sent.
上述方案中,优选地,所述NDEF消息至少包括账户信息;所述交互指令至少包括:寻卡指令,或选卡指令,或参数交换指令。In the above solution, preferably, the NDEF message includes at least account information; the interaction instruction includes at least: a card search instruction, or a card selection instruction, or a parameter exchange instruction.
本发明所提供的一种实现近场通信的点对点通信的方法及装置,通过对NFC P2P模式中的NDEF消息、NFC读写模式(也称NFC Reader模式)中的交互指令、APDU指令增加对应的发送标识或应答标识,结合所述发送标识或应答标识进行二次封装或解封装,改变了原有的信息互通模式,简化了用户使用流程,避开了操作系统及网络条件制约,实现了单次触碰信息双向传输的脱机交易。A method and device for realizing point-to-point communication of near field communication provided by the present invention, by adding corresponding NDEF messages in NFC P2P mode, interactive instructions in NFC read-write mode (also called NFC Reader mode), and APDU instructions The sending identification or response identification, combined with the sending identification or the answering identification for secondary encapsulation or decapsulation, changes the original information exchange mode, simplifies the user's use process, avoids the constraints of the operating system and network conditions, and realizes a single Offline transactions with two-way transmission of information in one touch.
附图说明Description of drawings
图1为现有的NFC P2P交易系统的示意图;1 is a schematic diagram of an existing NFC P2P transaction system;
图2为本发明提供的实现近场通信的点对点通信的方法的实现流程图;Fig. 2 is the realization flow chart of the method for realizing the point-to-point communication of near field communication provided by the present invention;
图3为本发明提供的实现近场通信的点对点通信的装置的组成结构示意图;3 is a schematic diagram of the composition and structure of an apparatus for realizing point-to-point communication of near field communication provided by the present invention;
图4为本发明提供的一种实现近场通信的点对点通信的系统的流程示意图。FIG. 4 is a schematic flowchart of a system for implementing point-to-point communication of near field communication provided by the present invention.
具体实施方式Detailed ways
为了能够更加详尽地了解本发明的特点与技术内容,下面结合附图对本发明的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明。In order to be able to understand the features and technical content of the present invention in more detail, the implementation of the present invention is described in detail below with reference to the accompanying drawings, which are for reference only and are not intended to limit the present invention.
实施例一Example 1
图2为本发明提供的实现近场通信的点对点通信的方法的实现流程图,所述方法应用于具有NFC支付功能的终端中,如图2所示,所述方法主要包括以下步骤:Fig. 2 is the realization flow chart of the method for realizing the point-to-point communication of near field communication provided by the present invention. The method is applied to a terminal with NFC payment function. As shown in Fig. 2, the method mainly includes the following steps:
步骤201:建立与上层应用通信的第一连接通信链路;建立与NFC控制器通信的第二连接通信链路。Step 201: Establish a first connection communication link for communication with an upper-layer application; establish a second connection communication link for communication with an NFC controller.
本实施例中,所述终端中包括上层应用(APP)、NFC控制器(Controller)、NFC-SWPSIM卡;其中,SWP是Single Wire Protocol的简称,其中文名称是“单线协议”。In this embodiment, the terminal includes an upper-layer application (APP), an NFC controller (Controller), and an NFC-SWPSIM card; wherein, SWP is the abbreviation of Single Wire Protocol, and the Chinese name is "single wire protocol".
步骤202:通过第一连接通信链路接收上层应用发送的NFC P2P模式下的NDEF消息、或NFC读写模式下的交互指令、或NFC读写模式下的APDU指令。Step 202: Receive an NDEF message in the NFC P2P mode, or an interaction command in the NFC read-write mode, or an APDU command in the NFC read-write mode, sent by the upper-layer application through the first connection communication link.
优选地,通过第一连接通信链路接收上层应用发送的NFC P2P模式下的NDEF消息、NFC读写模式下的交互指令以及APDU指令,包括:Preferably, the NDEF message in the NFC P2P mode, the interaction command in the NFC read-write mode and the APDU command sent by the upper-layer application are received through the first connection communication link, including:
满足第一预设条件时,自身终端的上层应用发送NFC P2P模式下的NDEF消息;自身终端通过自身终端的第一连接通信链路接收NFC P2P模式下的NDEF消息;When the first preset condition is met, the upper-layer application of the self-terminal sends the NDEF message in the NFC P2P mode; the self-terminal receives the NDEF message in the NFC P2P mode through the first connection communication link of the self-terminal;
或者,满足第二预设条件时,对方终端的上层应用发送NFC读写模式下的交互指令或APDU指令;对方终端通过对方终端的第一连接通信链路接收NFC读写模式下的交互指令或APDU指令。Or, when the second preset condition is met, the upper-layer application of the counterpart terminal sends an interaction command or an APDU instruction in the NFC read-write mode; the counterpart terminal receives the interaction instruction or APDU in the NFC read-write mode through the first connection communication link of the counterpart terminal. APDU command.
这里,所述第一预设条件可以是指所在终端的上层应用触发进行电子商务交易操作;Here, the first preset condition may refer to that an upper-layer application of the terminal where the terminal is located triggers an e-commerce transaction operation;
所述第二预设条件可以是指所在终端的上层应用接收到其他终端发送的包含有账户信息的NDEF消息。The second preset condition may refer to that an upper-layer application of the terminal where the terminal is located receives an NDEF message that includes account information and is sent by other terminals.
步骤203:为NDEF消息、或交互指令、或APDU指令分配相应的发送标识或应答标识。Step 203: Allocate the corresponding sending identifier or response identifier to the NDEF message, the interaction instruction, or the APDU instruction.
优选地,所述NDEF消息至少包括账户信息。Preferably, the NDEF message includes at least account information.
优选地,所述交互指令至少包括:寻卡指令,或选卡指令,或参数交换指令。Preferably, the interaction instruction includes at least: a card search instruction, or a card selection instruction, or a parameter exchange instruction.
具体地,当由上层应用下发NDEF消息、或交互指令、或APDU指令时,为所述NDEF消息、或交互指令、或APDU指令分配相应的发送标识;Specifically, when an NDEF message, or an interaction instruction, or an APDU instruction is issued by an upper-layer application, a corresponding sending identifier is allocated to the NDEF message, or the interaction instruction, or the APDU instruction;
当由上层应用对NDEF消息、或交互指令、或APDU指令进行应答处理时,为由上层应用发送的对所述NDEF消息、或交互指令、或APDU指令的应答处理消息分配相应的应答标识。When the upper-layer application performs response processing on the NDEF message, the interaction command, or the APDU command, a corresponding response identifier is allocated to the response processing message sent by the upper-layer application to the NDEF message, or the interaction command, or the APDU command.
步骤204:结合相应的发送标识或应答标识,对NDEF消息、或交互指令、或APDU指令进行封装,并将封装后的NDEF消息、或交互指令、或APDU指令通过第二连接通信链路发送至自身终端的NFC控制器中。Step 204: Encapsulate the NDEF message, or the interaction instruction, or the APDU instruction in combination with the corresponding sending identifier or the response identifier, and send the encapsulated NDEF message, or the interaction instruction, or the APDU instruction to the communication link through the second connection. in the NFC controller of its own terminal.
上述方案中,所述方法还可以包括:In the above scheme, the method may also include:
通过自身终端的NFC控制器将封装后的NDEF消息、或交互指令、或APDU指令发送至对方终端的NFC控制器中,以由对方终端对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作,并基于解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理。The encapsulated NDEF message, or interactive command, or APDU command is sent to the NFC controller of the opposite terminal through the NFC controller of its own terminal, so that the opposite terminal can process the encapsulated NDEF message, or interactive command, or APDU. The instruction performs decapsulation operation, and the response processing is performed based on the decapsulated NDEF message, or the interaction instruction, or the APDU instruction.
具体地,所述由对方终端对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作,并基于解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理,包括:Specifically, the opposite terminal performs a decapsulation operation on the encapsulated NDEF message, or the interaction instruction, or the APDU instruction, and performs response processing based on the decapsulated NDEF message, or the interaction instruction, or the APDU instruction, including :
通过第二连接通信链路接收NFC控制器发送的封装后的NDEF消息、或交互指令、或APDU指令;Receive the encapsulated NDEF message, or the interaction instruction, or the APDU instruction sent by the NFC controller through the second connection communication link;
对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作;将解封装后的NDEF消息、或交互指令、或APDU指令通过第一连接通信链路发送至上层应用,以由上层应用对所述解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理。Decapsulate the encapsulated NDEF message, or the interactive instruction, or the APDU instruction; send the decapsulated NDEF message, or the interactive instruction, or the APDU instruction to the upper-layer application through the first connection communication link, so that the The upper-layer application performs response processing on the decapsulated NDEF message, or the interaction command, or the APDU command.
本实施例所述实现近场通信的点对点通信的方法,通过对NFC P2P模式中的NDEF消息、NFC读写模式中的交互指令、APDU指令增加对应的发送标识或应答标识,结合所述发送标识或应答标识进行二次封装或解封装,改变了原有的信息互通模式,简化了用户使用流程,避开了操作系统及网络条件制约,实现了单次触碰信息双向传输的脱机交易;另外,能完全兼容现有的标准流程;提升了用户的体验感受;增加更多的业务使用场景,如网络不佳及无网络情况下;交易过程采用脱机方式保证了交易的高安全性。In the method for realizing point-to-point communication of near field communication described in this embodiment, the corresponding sending identifier or response identifier is added to the NDEF message in the NFC P2P mode, the interactive instruction and the APDU instruction in the NFC read-write mode, and the sending identifier is combined with the sending identifier. Or the response identification is re-encapsulated or de-encapsulated, which changes the original information exchange mode, simplifies the user's use process, avoids the constraints of the operating system and network conditions, and realizes the offline transaction of two-way transmission of information with a single touch; In addition, it is fully compatible with the existing standard processes; it improves the user experience; adds more business usage scenarios, such as poor or no network conditions; the transaction process adopts an offline method to ensure high transaction security.
实施例二Embodiment 2
图3为本发明提供的实现近场通信的点对点通信的装置的组成结构示意图;如图3所示,所述装置主要包括:FIG. 3 is a schematic structural diagram of a device for realizing point-to-point communication of near field communication provided by the present invention; as shown in FIG. 3 , the device mainly includes:
通信模块31,用于建立与上层应用通信的第一连接通信链路;建立与NFC控制器通信的第二连接通信链路;The
封装模块32,用于通过第一连接通信链路接收上层应用发送的NFC P2P模式下的NDEF消息、或NFC读写模式下的交互指令、或NFC读写模式下的APDU指令;为NDEF消息、或交互指令、或APDU指令分配相应的发送标识或应答标识;结合相应的发送标识或应答标识,对NDEF消息、或交互指令、或APDU指令进行封装,并将封装后的NDEF消息、或交互指令、或APDU指令通过第二连接通信链路发送至所在终端的NFC控制器中。The
其中,所述NDEF消息至少包括账户信息;Wherein, the NDEF message includes at least account information;
所述交互指令至少包括:寻卡指令,或选卡指令,或参数交换指令。The interaction instruction at least includes: a card search instruction, or a card selection instruction, or a parameter exchange instruction.
优选地,所述装置还包括:Preferably, the device further comprises:
解封装模块33,用于接收NFC控制器发送的封装后的NDEF消息、或交互指令、或APDU指令,其中,所述封装后的NDEF消息、或交互指令、或APDU指令是由对方终端发送的;对接收的封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作。The
优选地,所述解封装模块33,还用于:Preferably, the
通过第二连接通信链路接收NFC控制器发送的封装后的NDEF消息、或交互指令、或APDU指令;其中,所述封装后的NDEF消息、或交互指令、或APDU指令是由对方终端发送的;Receive the encapsulated NDEF message, or the interaction instruction, or the APDU instruction sent by the NFC controller through the second connection communication link; wherein, the encapsulated NDEF message, or the interaction instruction, or the APDU instruction is sent by the opposite terminal ;
对所述封装后的NDEF消息、或交互指令、或APDU指令进行解封装操作;decapsulating the encapsulated NDEF message, or the interaction instruction, or the APDU instruction;
将解封装后的NDEF消息、或交互指令、或APDU指令通过第一连接通信链路发送至上层应用,以由上层应用对所述解封装后的NDEF消息、或交互指令、或APDU指令进行应答处理。Send the decapsulated NDEF message, or the interaction command, or the APDU command to the upper-layer application through the first connection communication link, so that the upper-layer application responds to the decapsulated NDEF message, or the interaction command, or the APDU command deal with.
优选地,所述封装模块32,还用于:Preferably, the
满足第一预设条件时,通过所在终端的第一连接通信链路接收NFC P2P模式下的NDEF消息;其中,所述NDEF消息是由所在终端的上层应用发送的;When the first preset condition is met, the NDEF message in the NFC P2P mode is received through the first connection communication link of the terminal where the terminal is located; wherein, the NDEF message is sent by the upper-layer application of the terminal where the terminal is located;
或者,满足第二预设条件时,通过所在终端的的第一连接通信链路接收NFC读写模式下的交互指令或APDU指令;其中,所述交互指令或APDU指令是由所在终端的上层应用发送的。Or, when the second preset condition is met, the interactive command or APDU command in the NFC read/write mode is received through the first connection communication link of the terminal where the terminal is located; wherein, the interactive command or APDU command is issued by the upper-layer application of the terminal where the terminal is located. sent.
这里,所述第一预设条件可以是指所在终端的上层应用触发进行电子商务交易操作;Here, the first preset condition may refer to that an upper-layer application of the terminal where the terminal is located triggers an e-commerce transaction operation;
所述第二预设条件可以是指所在终端的上层应用接收到其他终端发送的包含有账户信息的NDEF消息。The second preset condition may refer to that an upper-layer application of the terminal where the terminal is located receives an NDEF message that includes account information and is sent by other terminals.
在一具体子实施例中,所述通信模块31可以包括:In a specific sub-embodiment, the
第一通信子模块311,用于建立与上层应用通信的第一连接通信链路;The
第二通信子模块312,用于建立与NFC控制器通信的第二连接通信链路。The
在一具体子实施例中,所述封装模块32,可以包括:In a specific sub-embodiment, the
第一封装子模块321,用于对NDEF消息进行封装操作;The
第二封装子模块322,用于对交互指令进行封装操作;The
第三封装子模块323,用于对APDU指令进行封装操作。The
在一具体子实施例中,所述解封装模块33,可以包括:In a specific sub-embodiment, the
第一解封装子模块331,用于对封装好的NDEF消息进行解封装操作;The
第二解封装子模块332,用于对封装好的交互指令进行解封装操作;The
第三解封装子模块333,用于对封装好的APDU指令进行解封装操作。The
具体地,所述实现近场通信的点对点通信的装置可应用于具有NFC支付功能的终端中。Specifically, the device for realizing point-to-point communication of near field communication can be applied to a terminal with NFC payment function.
在实际应用中,所述通信模块31、封装模块32、解封装模块33的具体结构均可对应于处理器。所述处理器具体的结构可以为CPU、MCU、DSP或PLC等具有处理功能的电子元器件或电子元器件的集合。其中,所述处理器包括可执行代码,所述可执行代码存储在存储介质中,所述处理器可以通过总线等通信接口与所述存储介质中相连,在执行具体的各模块的对应功能时,从所述存储介质中读取并运行所述可执行代码。所述存储介质用于存储所述可执行代码的部分优选为非瞬间存储介质。In practical applications, the specific structures of the
所述通信模块31、封装模块32、解封装模块33可以集成对应于同一处理器,或分别对应不同的处理器;当集成对应于同一处理器时,所述处理器采用时分处理所述通信模块31、封装模块32、解封装模块33对应的功能。The
本实施例所述终端,为实施例一所述的方法提供了具体实现的硬件,能用于实现实施例一所述的技术方案,同样的,本实施例所述实现近场通信的点对点通信的装置,能改变原有的信息互通模式,简化用户使用流程,避开操作系统及网络条件制约,实现单次触碰信息双向传输的脱机交易;另外,能完全兼容现有的标准流程;提升了用户的体验感受;增加更多的业务使用场景,如网络不佳及无网络情况下;交易过程采用脱机方式保证了交易的高安全性。The terminal described in this embodiment provides hardware for the specific implementation of the method described in Embodiment 1, and can be used to implement the technical solution described in Embodiment 1. Similarly, the point-to-point communication for near field communication described in this embodiment is implemented The device can change the original information exchange mode, simplify the user's use process, avoid the constraints of the operating system and network conditions, and realize offline transactions of two-way transmission of information with a single touch; in addition, it is fully compatible with the existing standard process; Improve the user experience; add more business usage scenarios, such as poor network and no network conditions; the transaction process adopts an offline method to ensure high transaction security.
实施例三Embodiment 3
图4为本发明提供的一种实现近场通信的点对点通信的系统的流程示意图,如图4所示,设备1与设备2中均安装有实施例二所述的实现近场通信的点对点通信的装置,为了方便描述,在该实施例中,将所述实现近场通信的点对点通信的装置简称为“解析装置”。FIG. 4 is a schematic flowchart of a system for realizing point-to-point communication of near field communication provided by the present invention. As shown in FIG. 4 , both device 1 and device 2 are installed with the point-to-point communication for realizing near field communication described in Embodiment 2 For the convenience of description, in this embodiment, the device for realizing the point-to-point communication of near field communication is simply referred to as a "parsing device".
具体地,该流程主要包括:Specifically, the process mainly includes:
步骤401:设备1中的上层应用向解析装置发送包含有账户信息的NDEF消息;Step 401: the upper-layer application in the device 1 sends an NDEF message containing account information to the parsing apparatus;
步骤402:解析装置为所述NDEF消息分配发送标识,并将所述发送标识以及所述NDEF消息封装在请求消息(Request Message)中,将封装好的请求消息发送至设备1的NFC控制器中;Step 402: The parsing apparatus allocates a sending identifier to the NDEF message, encapsulates the sending identifier and the NDEF message in a Request Message, and sends the encapsulated request message to the NFC controller of Device 1 ;
步骤403:设备1的NFC控制器将所述封装好的请求消息发送至设备2的NFC控制器;Step 403: the NFC controller of device 1 sends the encapsulated request message to the NFC controller of device 2;
步骤404:设备2的NFC控制器将接收到的所述封装好的请求消息发送至设备2的解析装置中;Step 404: the NFC controller of the device 2 sends the received encapsulated request message to the parsing device of the device 2;
步骤405:设备2的解析装置对所述封装好的请求消息进行解封装操作,获取NDEF消息,将解封装后的NDEF消息发送至设备2的上层应用;Step 405: the parsing device of the device 2 decapsulates the encapsulated request message, obtains the NDEF message, and sends the decapsulated NDEF message to the upper-layer application of the device 2;
步骤406:设备2的上层应用向设备2的解析装置发送NFC读写模式下的交互指令或APDU指令;Step 406: the upper-layer application of the device 2 sends an interaction command or an APDU command in the NFC read-write mode to the parsing device of the device 2;
这里,所述交互指令为寻卡指令,或选卡指令,或参数交换指令等。Here, the interaction instruction is a card search instruction, a card selection instruction, or a parameter exchange instruction, or the like.
这里,所述APDU指令包括设备2的账户信息。Here, the APDU instruction includes the account information of the device 2 .
步骤407:设备2的解析装置为所述交互指令分配应答标识,并将所述应答标识封装到所述交互指令中,将封装好的交互指令发送到设备2的NFC控制器中;Step 407: the parsing device of the device 2 allocates a response identifier to the interaction instruction, encapsulates the response identifier into the interaction instruction, and sends the encapsulated interaction instruction to the NFC controller of the device 2;
步骤408:设备2的NFC控制器将所述封装好的交互指令发送到设备1的NFC控制器中;Step 408: the NFC controller of the device 2 sends the encapsulated interaction instruction to the NFC controller of the device 1;
步骤409:设备1的NFC控制器将所述封装好的交互指令发送到设备1的解析装置中,由所述解析装置对所述封装好的交互指令进行解封装处理,获取交互指令,并通过所述NFC控制器将解封装后的交互指令发送至NFC-SWP SIM卡中,以由NFC-SWP SIM卡根据所述解封装后的交互指令进行相应的处理,如通知扣款等操作;Step 409: The NFC controller of the device 1 sends the encapsulated interaction instruction to the parsing device of the device 1, and the parsing device decapsulates the encapsulated interaction instruction, obtains the interaction instruction, and passes the The NFC controller sends the decapsulated interaction instruction to the NFC-SWP SIM card, so that the NFC-SWP SIM card performs corresponding processing according to the decapsulated interaction instruction, such as notifying deductions and other operations;
步骤410:设备1的NFC-SWP SIM卡进行相应的处理后,向设备1的上层应用发送事件通知,以告知上层应用其处理情况;Step 410: After the NFC-SWP SIM card of the device 1 performs corresponding processing, an event notification is sent to the upper-layer application of the device 1 to inform the upper-layer application of its processing status;
步骤411:设备1的上层应用向设备1的解析装置发送交互指令;Step 411: the upper-layer application of the device 1 sends an interaction instruction to the parsing device of the device 1;
这里,所述交互指令至少包括:寻卡指令,或选卡指令,或参数交换指令。Here, the interaction instruction includes at least: a card search instruction, or a card selection instruction, or a parameter exchange instruction.
步骤412:解析装置为所述交互指令分配二次请求标识,并将所述二次请求标识封装到交互指令中,将封装后的交互指令发送至设备1的NFC控制器中;Step 412: the parsing device allocates a secondary request identifier to the interactive instruction, encapsulates the secondary request identifier into the interactive instruction, and sends the encapsulated interactive instruction to the NFC controller of the device 1;
步骤413:设备1的NFC控制器将所述封装好的交互指令发送至设备2的NFC控制器中;Step 413: the NFC controller of device 1 sends the encapsulated interaction instruction to the NFC controller of device 2;
步骤414:设备2的NFC控制器将所述封装好的交互指令发送到设备2的解析装置中,由所述解析装置对所述封装好的交互指令进行解封装处理,获取交互指令,并通过所述NFC控制器将解封装后的交互指令发送至NFC-SWP SIM卡中,以由NFC-SWP SIM卡根据所述解封装后的交互指令进行相应的处理,如执行扣款等操作;Step 414: The NFC controller of the device 2 sends the encapsulated interaction instruction to the parsing device of the device 2, and the parsing device decapsulates the encapsulated interaction instruction, obtains the interaction instruction, and passes the The NFC controller sends the decapsulated interaction instruction to the NFC-SWP SIM card, so that the NFC-SWP SIM card performs corresponding processing according to the decapsulated interaction instruction, such as performing operations such as deduction;
步骤415:设备2的NFC-SWP SIM卡进行相应的处理后,向设备2的上层应用发送事件通知,以告知上层应用其处理情况。Step 415: After the NFC-SWP SIM card of the device 2 performs the corresponding processing, it sends an event notification to the upper-layer application of the device 2 to inform the upper-layer application of its processing status.
如此,对NDEF消息及NFC读写模式下的交互指令、APDU指令进行二次封装,改变了原有的互通模式,由解析装置作为中转,避免操作系统对NFC P2P双向通信的限制;与此同时,不仅可进行一次请求及应答,通过解析装置,可完成两设备单次触碰,信息多次传输;具体地,通过解析装置,对上层应用下发的NDEF消息进行封装,增加单次触碰过程中的发送标识或应答标识,以区分NFC P2P单次触碰过程中的发送消息及应答消息;对NFC控制发送的Request Message或应答指令进行解封,将解封后的标准NDEF消息或发交互指令、APDU送至上层应用,解决NFC P2P单次触碰信息双向传输的问题。In this way, the secondary encapsulation of NDEF messages and interactive commands and APDU commands in NFC read and write mode changes the original intercommunication mode, and the parsing device is used as a relay to avoid the operating system's restrictions on NFC P2P two-way communication; at the same time, , not only a request and a response can be made, but also through the parsing device, a single touch between two devices can be completed, and information can be transmitted multiple times; specifically, through the parsing device, the NDEF message sent by the upper-layer application is encapsulated to increase a single touch. Sending identification or response identification in the process to distinguish the sending message and response message in the single touch process of NFC P2P; decapsulate the Request Message or response command sent by the NFC control, and decapsulate the standard NDEF message or send message after decapsulation. Interactive commands and APDUs are sent to upper-layer applications to solve the problem of bidirectional transmission of NFC P2P single-touch information.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法、装置和电子设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method, apparatus and electronic device may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.
或者,本发明实施例上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units in the embodiments of the present invention are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510886423.2A CN106845974B (en) | 2015-12-04 | 2015-12-04 | Method and device for realizing point-to-point communication of near field communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510886423.2A CN106845974B (en) | 2015-12-04 | 2015-12-04 | Method and device for realizing point-to-point communication of near field communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106845974A CN106845974A (en) | 2017-06-13 |
CN106845974B true CN106845974B (en) | 2020-08-25 |
Family
ID=59152078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510886423.2A Active CN106845974B (en) | 2015-12-04 | 2015-12-04 | Method and device for realizing point-to-point communication of near field communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106845974B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114386960A (en) * | 2020-10-19 | 2022-04-22 | 中国移动通信有限公司研究院 | NFC-based transaction method, device, user identification device and terminal |
CN113300174B (en) * | 2021-07-28 | 2021-10-12 | 深圳市集鸿发电子有限公司 | Plug connector and connector combination |
CN114006638B (en) * | 2021-11-03 | 2022-09-30 | 厦门市美亚柏科信息股份有限公司 | NFC-based unidirectional data transmission method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559523A (en) * | 2013-11-15 | 2014-02-05 | 武汉天喻信息产业股份有限公司 | Contactless read-write equipment and method achieved on basis of SWP SE |
CN104350513A (en) * | 2013-07-26 | 2015-02-11 | 华为终端有限公司 | Method and device for identifying label |
CN104471600A (en) * | 2014-04-01 | 2015-03-25 | 华为终端有限公司 | Safety unit management method and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014060873A1 (en) * | 2012-10-15 | 2014-04-24 | Koninklijke Philips N.V. | A wireless communication system |
US9544020B2 (en) * | 2013-11-07 | 2017-01-10 | Verizon Patent And Licensing Inc. | NFC negotiated pairing |
-
2015
- 2015-12-04 CN CN201510886423.2A patent/CN106845974B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104350513A (en) * | 2013-07-26 | 2015-02-11 | 华为终端有限公司 | Method and device for identifying label |
CN103559523A (en) * | 2013-11-15 | 2014-02-05 | 武汉天喻信息产业股份有限公司 | Contactless read-write equipment and method achieved on basis of SWP SE |
CN104471600A (en) * | 2014-04-01 | 2015-03-25 | 华为终端有限公司 | Safety unit management method and terminal |
Non-Patent Citations (1)
Title |
---|
近场通信设备间的P2P通信设计与实现;何晨晖等;《计算机工程》;20150331;第41卷(第3期);第77-80页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106845974A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104253840B (en) | For the device and its communication means for supporting to communicate between polytype safety barrier | |
CN113505007A (en) | Protocol stack data transmission method based on Linux system, computer equipment and storage medium | |
CN104636924B (en) | Secure payment method, server and system | |
JP2019536155A (en) | Data transmission method and apparatus | |
KR102396801B1 (en) | System of providing product information using copy/paste function of electronic commerce shopping cart, method thereof and computer readable medium having computer program recorded thereon | |
CN104753911A (en) | Information processing method based on communication & social application, relevant device and system | |
CN105992306A (en) | Binding method of terminal and home gateway | |
US20160226997A1 (en) | Method and system for sharing data | |
WO2014205849A1 (en) | Contactless payment method, device and system | |
CN105531979A (en) | Messaging api over http protocol to establish context for data exchange | |
JP2016517222A (en) | Connection handover method and corresponding apparatus based on short-range wireless communication | |
CN106845974B (en) | Method and device for realizing point-to-point communication of near field communication | |
JP2016524880A (en) | NFC radio frequency communication control method, apparatus, and system | |
KR102066802B1 (en) | Business processing method and device | |
CN115623057B (en) | RDMA-based connection establishment method, device, equipment and storage medium | |
CN102594893A (en) | Method and system for remote mutual control between mobile terminal equipment and computer | |
CN102594892B (en) | Data access method and device | |
CN108234673B (en) | Vehicle distributed mapping system and mapping method | |
CN110692072A (en) | NFC initiated proxy communication | |
WO2021237975A1 (en) | Bluetooth data encapsulation communication method and apparatus | |
JP2013229021A (en) | Mobile broadband device, and mobile broadband service processing method for mobile broadband device | |
CN101917780B (en) | Function implementation method and device of wireless communication terminal network equipment | |
CN110866240A (en) | Intelligent password key calling method and system | |
WO2019104989A1 (en) | Terminal and communication method | |
JP2014049077A (en) | Information exchange system, terminal, and stylus pen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |