WO2013189386A2 - Near field communication-based peer-to-peer communication method and near field communication terminal - Google Patents

Near field communication-based peer-to-peer communication method and near field communication terminal Download PDF

Info

Publication number
WO2013189386A2
WO2013189386A2 PCT/CN2013/081885 CN2013081885W WO2013189386A2 WO 2013189386 A2 WO2013189386 A2 WO 2013189386A2 CN 2013081885 W CN2013081885 W CN 2013081885W WO 2013189386 A2 WO2013189386 A2 WO 2013189386A2
Authority
WO
WIPO (PCT)
Prior art keywords
near field
field communication
communication terminal
verification
phone number
Prior art date
Application number
PCT/CN2013/081885
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013189386A3 (en
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 中兴通讯股份有限公司
Publication of WO2013189386A2 publication Critical patent/WO2013189386A2/en
Publication of WO2013189386A3 publication Critical patent/WO2013189386A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0492Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload by using a location-limited connection, e.g. near-field communication or limited proximity of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • the present invention relates to the field of communications, and in particular, to a point-to-point communication method based on near field communication and a near field communication terminal. Background technique
  • NFC Near Field Communication
  • RFID adio frequency identification
  • RFID adio frequency identification
  • RFID point-to-point communication technology
  • NFC technology complies with the International Standardization Organization (ISO) 18092, IS021481, European Computer Manufactures Association (ECMA) 340, 352 and 356, and the European Telecommunication Standards Institute Technical Specification. , ETSITS ) 102 standard, also compatible with the ISO14441A based inductive smart card infrastructure.
  • ISO International Standardization Organization
  • ECMA European Computer Manufactures Association
  • ETSITS European Telecommunication Standards Institute Technical Specification.
  • NFC defines three usage modes: Card Emulation Mode, Peer-to-Peer Communication Mode, and Reader/Writer Mode.
  • the peer-to-peer communication mode is used to implement data exchange between FC terminals, link multiple NFC-enabled devices, and implement data point-to-point through a link layer communication protocol (ie, the FC-Internet Protocol (IP)). Transfer, for example, sharing download music, exchanging pictures, or synchronizing address books. Therefore, through NFC's peer-to-peer communication mode, multiple devices such as computers, personal digital assistants (PDAs), digital cameras, and mobile phones can be used. Wireless transmission, exchange of data.
  • PDAs personal digital assistants
  • the communication terminal integrated with the NFC function can realize the mutual information transmission between the two terminals.
  • the function transmits data between the two terminals, because the communication distance is relatively close, the security check is not used, and there is a certain hidden danger.
  • the point-to-point communication mode of NFC is to communicate between NFC devices wirelessly, there are security risks such as being intercepted and spoofed, so it is necessary to provide a secure data transmission method for NFC point-to-point communication.
  • the present invention provides a point-to-point communication method based on near field communication and a near field communication terminal, which solves the problem of security risks such as being monitored and spoofed when communicating between near field communication terminals in the related art.
  • An embodiment of the present invention provides a point-to-point communication method based on near field communication, including: sending, by a first near field communication terminal, a verification information to a second near field communication terminal;
  • the first near field communication terminal performs data transmission with the second near field communication terminal through the near field communication point-to-point data transmission function when the received verification result is the verification.
  • the verification information includes a unique verification mark of the first near field communication terminal.
  • the verification information includes a phone number of the first near field communication terminal; and the first near field communication terminal receives a verification result that is verified by the second near field communication terminal to verify the verification information, Includes:
  • the first near field communication terminal receives the first verification result returned by the second near field communication terminal, where the first verification result is that the second near field communication terminal receives the phone number and queries The verified verification result returned when the phone number has been stored;
  • the first near field communication terminal receives the second verification result returned by the second near field communication terminal, wherein the second verification result is that the second near field communication terminal queries the phone number after receiving the The verification result of the verification that is returned when the telephone number is not stored, and the second near field communication terminal performs a storage operation on the telephone number;
  • the first near field communication terminal receives the second verification returned by the second near field communication terminal
  • the results include:
  • the first near The field communication terminal receives information returned by the second near field communication terminal to perform a storage operation on the telephone number, and transmits the telephone number to the second near field communication terminal again;
  • the first near field communication terminal receives the verification result of the verification that is returned when the second near field communication terminal receives the telephone number after checking the telephone number.
  • the embodiment of the present invention further provides a point-to-point communication method based on near field communication, including: receiving, by the second near field communication terminal, verification information sent by the first near field communication terminal;
  • the second near field communication terminal verifies the verification information, and returns the verification result to the first near field communication terminal, wherein the verification result includes verification and fail verification; and the second near field communication terminal
  • the first near field communication terminal starts to perform digital transmission by the near field communication point-to-point data transmission function.
  • the verification information includes a unique verification mark of the first near field communication terminal.
  • the verification information includes a phone number of the first near field communication terminal; the second near field communication terminal verifies the verification information, and returns a verification result to the first near field communication terminal, Includes:
  • the second near field communication terminal After receiving the phone number, the second near field communication terminal, when inquiring that the phone number has been stored, sends a first verification result that is verified to the first near field communication terminal;
  • the second near field communication terminal After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, then the first The near field communication terminal transmits the second verification result that passes the verification;
  • the second near field communication terminal After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal does not perform a storage operation on the phone number, then to the first The near field communication terminal transmits a third verification result that has not passed the verification.
  • the second near field communication terminal after receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal performs a storage operation on the phone number, And sending, by the first near field communication terminal, the second verification result that is verified, including:
  • the second near field communication terminal After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, the first near field communication terminal The field communication terminal transmits information for performing a storage operation on the phone number;
  • the embodiment of the present invention further provides a point-to-point communication device based on near field communication, which is applied to the first near field communication terminal, and includes:
  • a first verification component configured to: send verification information to the second near field communication terminal;
  • the first receiving component is configured to: receive the verification after verifying the verification information returned by the second near field communication terminal a result, wherein the verification result includes a pass verification and a fail verification;
  • a first transmission component configured to: when the received verification result is verified by verification, perform data transmission with the second near field communication terminal by using a near field communication point-to-point data transmission function.
  • the first verification component includes:
  • An extraction module configured to: extract a phone number of the first near field communication terminal; and a first sending module configured to: send the phone number to the second near field communication terminal;
  • the first receiving Components include:
  • a first receiving module configured to: receive a first verification result returned by the second near field communication terminal, where the first verification result is that the second near field communication terminal receives the phone number after receiving And querying the verified verification result returned when the phone number is stored;
  • the second receiving module is configured to: receive the second verification result returned by the second near field communication terminal, where a second verification result is that after the second near field communication terminal receives the phone number, it is queried that the phone number is not stored, and the second near field communication terminal performs a storage operation on the phone number The verified verification result returned;
  • a third receiving module configured to: receive a third verification returned by the second near field communication terminal a result, wherein the third verification result is that after receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal does not The unverified verification result returned by the phone number when performing a store operation.
  • the second receiving module includes:
  • a second sending module configured to: when the second near field communication terminal receives the phone number, querying that the phone number is not stored, and the second near field communication terminal is to the phone Receiving, by the second near field communication terminal, information for performing a storage operation on the telephone number, and transmitting the telephone number to the second near field communication terminal again;
  • a fourth receiving module configured to: after receiving the phone number, the second near field communication terminal queries the verified verification result returned when the phone number is already stored.
  • the embodiment of the invention further provides a point-to-point communication device based on near field communication, which is applied to the second near field communication terminal, and includes:
  • a second receiving component configured to: receive the verification information sent by the first near field communication terminal; the second verification component is configured to: verify the verification information, and return the verification result to the first near field a communication terminal, wherein the verification result includes a pass verification and a fail verification;
  • a second transmission component configured to: start data transmission with the first near field communication terminal by the near field communication point-to-point data transmission function when the verification result is verification.
  • the second receiving component includes:
  • a fifth receiving module configured to: receive a phone number sent by the first near field communication terminal; the second verification module includes:
  • a third sending module configured to: after receiving the phone number, querying that the phone number has been stored, sending a first verification result that is verified to the first near field communication terminal; a sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and performing a storage operation on the phone number, sending a verification to the first near field communication terminal Second verification result; a fifth sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and not performing a storage operation on the phone number, sending the message to the first near field communication terminal The third verification result that failed the verification.
  • the fourth sending module includes:
  • a sixth sending module configured to: after receiving the phone number, querying that the phone number is not stored, and performing a storage operation on the phone number, sending a pair to the first near field communication terminal The phone number performs information of a storage operation;
  • a seventh sending module configured to: receive the phone number that is sent by the first near field communication terminal again, and query, when the phone number is already stored, send the pass to the first near field communication terminal Verification verification results.
  • FIG. 1 is a flow chart showing a method for peer-to-peer communication based on near field communication provided in an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing a processing flow of a first near field communication terminal in a point-to-point communication method based on near field communication provided in an embodiment of the present invention
  • Fig. 3 is a diagram showing the processing flow of the second near field communication terminal in the near field communication based point-to-point communication method provided in the embodiment of the present invention. Preferred embodiment of the invention
  • an embodiment of the present invention provides a point-to-point communication method based on near field communication, which is used for data transmission between a first near field communication terminal and a second near field communication terminal, and the method Including the following steps:
  • Step 1 The first near field communication terminal sends a verification message to the second near field communication terminal.
  • the verification information may be a unique tag code of the first near field communication terminal.
  • the verification information in the embodiment may be the local phone number of the first near field communication terminal. . After the NFC function is turned on, the first near field communication terminal first extracts the telephone number of the local device and transmits it to the second near field communication terminal.
  • the verification information may also include other verification data.
  • Step 2 The first near field communication terminal receives the verification result that is verified by the second near field communication terminal to verify the verification information, where the verification result includes the verification and the failure verification.
  • the second near field communication terminal When the second near field communication terminal queries that the phone number is not stored, the second near field communication terminal prompts the user whether the phone number needs to be stored;
  • the second near field communication terminal transmits information to the first near field communication terminal to perform a storage operation on the phone number.
  • the first near field communication terminal transmits the telephone number to the second near field communication terminal again, and the second near field communication terminal again queries whether the telephone number has been stored in the phone book, and sends the phone number to the first near field communication terminal. Sending a second verification result that passes verification;
  • the second near field communication terminal transmits the third failed authentication to the first near field communication terminal. Validation results.
  • Step 3 When the first near field communication terminal receives the verification result as passing verification, Performing data transmission with the second near field communication terminal through the NFC point-to-point data transmission function; when the first near field communication terminal receives the verification result as failing verification, stopping to the second near field communication terminal Transfer data, this file transfer ends.
  • FIG. 2 is a flow chart showing the processing of a first near field communication terminal of a point-to-point communication method based on near field communication according to an embodiment of the present invention.
  • the first near field communication terminal mainly performs the following processing steps:
  • Step S01 The first near field communication terminal turns on the NFC function, and performs step S02.
  • Step S02 The first near field communication terminal extracts the telephone number of the local machine, and sends the verification result as the verification information to the second near field communication terminal, and then performs step S03.
  • Step S03 The first near field communication terminal receives information returned by the second near field communication terminal to query whether the phone number is stored, and if so (ie, the second near field communication terminal returns information that the phone number has been stored) Then, step S04 is performed; if no (ie, the second near field communication terminal returns information that the phone number is not stored), step S05 is performed.
  • Step S04 The first near field communication terminal starts to transmit data to the second near field communication terminal, starts file transmission, and after the file transmission ends, step S07 is performed.
  • Step S05 The first near field communication terminal receives, by the second near field communication terminal, information about whether to perform an operation of storing the telephone number, if yes (ie, the second near field communication terminal returns information allowing the storage of the telephone number) Then, step S06 is performed; if no (that is, the second near field communication terminal returns information that the phone number is not allowed to be stored), step S07 is performed.
  • Step S06 The first near field communication terminal resends the telephone number of the local device to the second near field communication terminal, and after receiving the verification result of the verification returned by the second near field communication terminal, step S04 is performed.
  • Step S07 The first near field communication terminal stops transmitting data to the second near field communication terminal, and ends the file transmission.
  • FIG. 3 is a flow chart showing the processing of a second near field communication terminal of a point-to-point communication method based on near field communication according to an embodiment of the present invention.
  • the second near field communication terminal mainly performs the following processing steps:
  • Step S1 l The second near field communication terminal turns on the NFC function, and performs step S12.
  • Step S12 The second near field communication terminal receives the telephone number sent by the first near field communication terminal, and performs step S13.
  • Step S13 The second near field communication terminal queries whether the phone number sent by the first near field communication terminal is stored in the phone book, and if so (ie, the second near field communication terminal queries the phone number stored in the phone book), Then, step S14 is performed; if no (ie, the second near field communication terminal queries that the phone number is not stored in the phone book), step S15 is performed.
  • Step S14 The second near field communication terminal starts to receive the data transmitted by the first near field communication terminal, starts file transmission, and performs step S17 after the file transmission ends.
  • Step S15 The second near field communication terminal prompts the user whether to store the phone number of the first near field communication terminal. If yes (ie, the user allows to store the phone number of the first near field communication terminal), step S16 is performed; if not ( That is, the user is not allowed to store the telephone number of the first near field communication terminal, and step S17 is performed.
  • Step S16 The second near field communication terminal stores the telephone number transmitted by the first near field communication terminal again, and returns the verified verification result returned to the first near field communication terminal, and then performs step S14.
  • Step S17 The second near field communication terminal stops receiving data transmitted by the first near field communication terminal, and ends the file transmission.
  • the embodiment of the present invention further provides a point-to-point communication device based on near field communication, and the point-to-point communication device based on the near field communication is used as a data transmitting end, and includes:
  • a first verification component configured to send verification information to another near field communication terminal
  • a first receiving component configured to receive a verification result that is verified by the another near field communication terminal to verify the verification information, where the verification result includes a verification pass and a fail verification
  • a first transmission component It is configured to perform data transmission with the another near field communication terminal through the NFC point-to-point data transmission function when the received verification result is verified.
  • the first verification component includes:
  • An extraction module configured to extract a phone number of the near field communication terminal
  • a first sending module configured to send the phone number to the another near field communication terminal
  • the first receiving component includes: a first receiving module, configured to receive a first verification result returned by the another near field communication terminal, where the first verification result is that the another near field communication terminal receives the phone number, And querying the verified verification result returned when the phone number is already stored;
  • a second receiving module configured to receive a second verification result returned by the another near field communication terminal, where the second verification result is that the another near field communication terminal receives the phone number, Querying the verification result of the verification that is returned when the telephone number is not stored, and the another near field communication terminal performs a storage operation on the telephone number;
  • a third receiving module configured to receive a third verification result returned by the another near field communication terminal, where the third verification result is that the another near field communication terminal, after receiving the phone number, The result of the unverified verification that is returned when the telephone number is not stored and the another near field communication terminal does not perform a storage operation on the telephone number is queried.
  • the second receiving module includes:
  • a second sending module configured to: when the another near field communication terminal receives the phone number, query that the phone number is not stored, and the another near field communication terminal is to the phone number And performing a storage operation, receiving information returned by the another near field communication terminal to perform a storage operation on the phone number, and transmitting the phone number to the another near field communication terminal again;
  • a fourth receiving module configured to receive, by the another near field communication terminal, after the receiving the phone number, querying the verified verification result returned when the phone number has been stored.
  • the embodiment of the present invention further provides a point-to-point communication device based on the near field communication, where the point-to-point communication device based on the near field communication is used as the data receiving end, and includes:
  • a second receiving component configured to receive verification information sent by another near field communication terminal
  • a second verification component configured to verify the verification information, and return the verification result to the another near field communication terminal
  • the verification result includes a pass verification and a fail verification
  • a second transmission component configured to start data transmission with the another near field communication terminal through the NFC point-to-point data transmission function when the verification result is verified.
  • the second receiving component includes a fifth receiving module, configured to receive a phone number sent by the another near field communication terminal;
  • the second verification module includes:
  • a third sending module configured to send, after the receiving the phone number, that the phone number has been stored, send a first verification result that is verified to the another near field communication terminal;
  • a sending module configured to send, after the receiving the phone number, that the phone number is not stored, and perform a storage operation on the phone number, send the verification to the another near field communication terminal Second verification result;
  • a fifth sending module configured to send, after the receiving the phone number, that the phone number is not stored, and perform a non-storage operation on the phone number, send the message to the another near field communication terminal The third verification result that failed the verification.
  • the fourth sending module includes:
  • a sixth sending module configured to: after receiving the phone number, querying that the phone number is not stored, and performing a storage operation on the phone number, sending a message to the another near field communication terminal Describe the phone number to perform the storage operation information;
  • a seventh sending module configured to receive the phone number that is sent by the another near field communication terminal, and query that the phone number is already stored, and send the verification to the another near field communication terminal Verification of the balance.
  • the security problem of information transmission between NFC-enabled communication terminals through NFC is solved, which enables an attacker to obtain data transmission content through the monitoring method, and the attacker cannot perform the data transmission process. Deceive.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A near field communication-based peer-to-peer communication method and device. The method comprises: a first near field communication terminal sending verification information to a second near field communication terminal; the first near field communication terminal receiving a verification result after verifying the verification information which is returned by the second near field communication terminal, the verification result comprising: passing verification and failing verification; and when receiving the verification result of passing verification, the first near field communication terminal conducting data transmission with the second near field communication terminal through a near field communication peer-to-peer data transmission function.

Description

基于近场通信的点对点通信方法及近场通信终端  Point-to-point communication method based on near field communication and near field communication terminal
技术领域 Technical field
本发明涉及通信领域, 尤其涉及一种基于近场通信的点对点通信方法以 及近场通信终端。 背景技术  The present invention relates to the field of communications, and in particular, to a point-to-point communication method based on near field communication and a near field communication terminal. Background technique
近场通信(Near Field Communication, NFC )技术由非接触式射频识别 ( adio Frequency Identification, RFID )技术和点对点通信技术融合演变而来, 在 0cm到 20cm距离内工作于 13.56MHz频率范围, 以 106kbit/s、 212kbit/s、 以及 424kbit/s的传输速率进行数据传输, 并可以在不同的传输速率之间自动 切换。 NFC 技术符合国际标准化组织 ( International Standardization Organization, ISO )18092、 IS021481、欧洲电脑制造商协会( European Computer Manufactures Association, ECMA ) 340、 352和 356 , 以及欧洲电信标准协会 技术规范 ( European Telecommunication Standards Institute Technical Specification, ETSITS ) 102标准, 同时也兼容以 ISO14441A为基础的感应式 智能卡基础架构。  Near Field Communication (NFC) technology evolved from the combination of adio frequency identification (RFID) technology and point-to-point communication technology. It operates in the 13.56MHz frequency range from 0cm to 20cm, with 106kbit/ The transmission rates of s, 212kbit/s, and 424kbit/s are used for data transmission and can be automatically switched between different transmission rates. NFC technology complies with the International Standardization Organization (ISO) 18092, IS021481, European Computer Manufactures Association (ECMA) 340, 352 and 356, and the European Telecommunication Standards Institute Technical Specification. , ETSITS ) 102 standard, also compatible with the ISO14441A based inductive smart card infrastructure.
NFC定义了三种使用模式: 仿卡模式( Card Emulation Mode ) 、 点对点 通信模式 ( Peer-to-Peer Communication Mode )、读 /写卡器模式 ( Reader/Writer Mode ) 。 其中点对点通信模式用于实现 FC终端之间的数据交换, 将多个 具备 NFC 功能的设备链接起来, 通过链路层通信协议(即, NFC互联网协 议( FC- Internet Protocol ( IP ) )实现数据点对点传输, 如, 共享下载音乐、 交换图片或者同步地址薄。 因此通过 NFC的点对点通信模式, 多个设备如计 算机、 个人数字助理(Personal Digital Assistant, PDA ) 、 数码相机, 以及手 机之间都可以进行无线传输, 交换数据。  NFC defines three usage modes: Card Emulation Mode, Peer-to-Peer Communication Mode, and Reader/Writer Mode. The peer-to-peer communication mode is used to implement data exchange between FC terminals, link multiple NFC-enabled devices, and implement data point-to-point through a link layer communication protocol (ie, the FC-Internet Protocol (IP)). Transfer, for example, sharing download music, exchanging pictures, or synchronizing address books. Therefore, through NFC's peer-to-peer communication mode, multiple devices such as computers, personal digital assistants (PDAs), digital cameras, and mobile phones can be used. Wireless transmission, exchange of data.
集成 NFC功能的通讯终端可以实现两台终端的信息互传, 目前该功能在 两台终端之间进行数据传输的时候, 由于通讯距离较近, 不采用安全校验, 存在一定的隐患。 由于 NFC的点对点通信模式是通过无线方式在 NFC设备 之间进行通信, 存在着被监听、 欺骗等安全隐患, 因此需要对 NFC点对点通 信提供一种安全数据传输方法。 发明内容 The communication terminal integrated with the NFC function can realize the mutual information transmission between the two terminals. At present, when the function transmits data between the two terminals, because the communication distance is relatively close, the security check is not used, and there is a certain hidden danger. Since the point-to-point communication mode of NFC is to communicate between NFC devices wirelessly, there are security risks such as being intercepted and spoofed, so it is necessary to provide a secure data transmission method for NFC point-to-point communication. Summary of the invention
为了解决相关技术中在近场通信终端之间进行通信时存在的被监听、 欺 骗等安全隐患的问题, 本发明实施例提供一种基于近场通信的点对点通信方 法以及近场通信终端, 解决了集成 NFC功能的通信终端之间通过 NFC进行 信息传输的安全问题。  The present invention provides a point-to-point communication method based on near field communication and a near field communication terminal, which solves the problem of security risks such as being monitored and spoofed when communicating between near field communication terminals in the related art. The security problem of information transmission between NFC-enabled communication terminals through NFC.
本发明实施例提供一种基于近场通信的点对点通信方法, 包括: 第一近场通信终端向第二近场通信终端发送一验证信息;  An embodiment of the present invention provides a point-to-point communication method based on near field communication, including: sending, by a first near field communication terminal, a verification information to a second near field communication terminal;
第一近场通信终端接收所述第二近场通信终端返回的对所述验证信息进 行验证后的验证结果, 所述验证结果包括通过验证和未通过验证; 以及  Receiving, by the first near field communication terminal, a verification result after verifying the verification information returned by the second near field communication terminal, where the verification result includes a verification and a failure verification;
第一近场通信终端在接收到的所述验证结果为通过验证时, 与所述第二 近场通信终端通过近场通信点对点数据传输功能进行数据传输。  The first near field communication terminal performs data transmission with the second near field communication terminal through the near field communication point-to-point data transmission function when the received verification result is the verification.
可选地, 所述验证信息包括所述第一近场通信终端的唯一验证标记。 可选地, 所述验证信息包括所述第一近场通信终端的电话号码; 第一近场通信终端接收所述第二近场通信终端返回的对所述验证信息进 行验证后的验证结果, 包括:  Optionally, the verification information includes a unique verification mark of the first near field communication terminal. Optionally, the verification information includes a phone number of the first near field communication terminal; and the first near field communication terminal receives a verification result that is verified by the second near field communication terminal to verify the verification information, Includes:
第一近场通信终端接收所述第二近场通信终端返回的第一验证结果, 其 中, 所述第一验证结果为所述第二近场通信终端在接收到所述电话号码后, 并查询到已存储有所述电话号码时所返回的通过验证的验证结果;  The first near field communication terminal receives the first verification result returned by the second near field communication terminal, where the first verification result is that the second near field communication terminal receives the phone number and queries The verified verification result returned when the phone number has been stored;
第一近场通信终端接收所述第二近场通信终端返回的第二验证结果, 其 中, 所述第二验证结果为所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端对所述电话号码执 行存储操作时所返回的通过验证的验证结果; 以及  The first near field communication terminal receives the second verification result returned by the second near field communication terminal, wherein the second verification result is that the second near field communication terminal queries the phone number after receiving the The verification result of the verification that is returned when the telephone number is not stored, and the second near field communication terminal performs a storage operation on the telephone number;
第一近场通信终端接收所述第二近场通信终端返回的第三验证结果, 其 中, 所述第三验证结果为所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端不对所述电话号码 执行存储操作时返回的未通过验证的验证结果。  Receiving, by the first near field communication terminal, a third verification result returned by the second near field communication terminal, wherein the third verification result is that the second near field communication terminal, after receiving the phone number, queries The telephone number is not stored, and the second near field communication terminal does not perform a verification operation on the telephone number when the storage operation is not performed.
可选地, 第一近场通信终端接收所述第二近场通信终端返回的第二验证 结果, 包括: Optionally, the first near field communication terminal receives the second verification returned by the second near field communication terminal The results include:
当所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所 述电话号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 第 一近场通信终端接收所述第二近场通信终端返回的对所述电话号码执行存储 操作的信息, 并向所述第二近场通信终端再次发送所述电话号码; 以及  When the second near field communication terminal receives the phone number, and queries that the phone number is not stored, and the second near field communication terminal performs a storage operation on the phone number, the first near The field communication terminal receives information returned by the second near field communication terminal to perform a storage operation on the telephone number, and transmits the telephone number to the second near field communication terminal again;
第一近场通信终端接收所述第二近场通信终端在接收到所述电话号码 后, 查询到已存储有所述电话号码时所返回的通过验证的验证结果。  The first near field communication terminal receives the verification result of the verification that is returned when the second near field communication terminal receives the telephone number after checking the telephone number.
本发明实施例还提供一种基于近场通信的点对点通信方法, 包括: 第二近场通信终端接收第一近场通信终端发送的验证信息;  The embodiment of the present invention further provides a point-to-point communication method based on near field communication, including: receiving, by the second near field communication terminal, verification information sent by the first near field communication terminal;
第二近场通信终端对所述验证信息进行验证, 并将验证结果返回至所述 第一近场通信终端, 其中, 所述验证结果包括通过验证和未通过验证; 以及 第二近场通信终端在所述验证结果为通过验证时, 开始与所述第一近场 通信终端通过近场通信点对点数据传输功能进行数椐传输。  The second near field communication terminal verifies the verification information, and returns the verification result to the first near field communication terminal, wherein the verification result includes verification and fail verification; and the second near field communication terminal When the verification result is that the verification is passed, the first near field communication terminal starts to perform digital transmission by the near field communication point-to-point data transmission function.
可选地, 所述验证信息包括所述第一近场通信终端的唯一验证标记。 可选地, 所述验证信息包括所述第一近场通信终端的电话号码; 第二近场通信终端对所述验证信息进行验证, 并将验证结果返回至所述 第一近场通信终端, 包括:  Optionally, the verification information includes a unique verification mark of the first near field communication terminal. Optionally, the verification information includes a phone number of the first near field communication terminal; the second near field communication terminal verifies the verification information, and returns a verification result to the first near field communication terminal, Includes:
第二近场通信终端在接收到所述电话号码后, 查询到已存储有所述电话 号码时, 则向所述第一近场通信终端发送通过验证的第一验证结果;  After receiving the phone number, the second near field communication terminal, when inquiring that the phone number has been stored, sends a first verification result that is verified to the first near field communication terminal;
第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话 号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 则向所述 第一近场通信终端发送通过验证的第二验证结果; 以及  After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, then the first The near field communication terminal transmits the second verification result that passes the verification;
第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话 号码, 且所述第二近场通信终端不对所述电话号码执行存储操作时, 则向所 述第一近场通信终端发送未通过验证的第三验证结果。  After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal does not perform a storage operation on the phone number, then to the first The near field communication terminal transmits a third verification result that has not passed the verification.
可选地, 第二近场通信终端在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 则向所述第一近场通信终端发送通过验证的第二验证结果, 包括: Optionally, after receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal performs a storage operation on the phone number, And sending, by the first near field communication terminal, the second verification result that is verified, including:
第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话 号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 向所述第 一近场通信终端发送对所述电话号码执行存储操作的信息; 以及  After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, the first near field communication terminal The field communication terminal transmits information for performing a storage operation on the phone number;
第二近场通信终端接收到所述第一近场通信终端再次发送的所述电话号 码, 并查询到已存储有所述电话号码时, 向所述第一近场通信终端返回通过 验证的验证结果。  Receiving, by the second near field communication terminal, the telephone number that is sent by the first near field communication terminal, and querying that the telephone number has been stored, returning verification by the first near field communication terminal result.
本发明实施例还提供一种基于近场通信的点对点通信装置, 应用于第一 近场通信终端, 包括:  The embodiment of the present invention further provides a point-to-point communication device based on near field communication, which is applied to the first near field communication terminal, and includes:
第一验证组件, 其设置成: 向第二近场通信终端发送验证信息; 第一接收组件, 其设置成: 接收所述第二近场通信终端返回的对所述验 证信息进行验证后的验证结果, 其中, 所述验证结果包括通过验证和未通过 验证; 以及  a first verification component, configured to: send verification information to the second near field communication terminal; the first receiving component is configured to: receive the verification after verifying the verification information returned by the second near field communication terminal a result, wherein the verification result includes a pass verification and a fail verification;
第一传输组件, 其设置成: 在接收到的所述验证结果为通过验证时, 与 所述第二近场通信终端通过近场通信点对点数据传输功能进行数据传输。  And a first transmission component, configured to: when the received verification result is verified by verification, perform data transmission with the second near field communication terminal by using a near field communication point-to-point data transmission function.
可选地, 所述第一验证組件包括:  Optionally, the first verification component includes:
提取模块, 其设置成: 提取所述第一近场通信终端的电话号码; 以及 第一发送模块, 其设置成: 向所述第二近场通信终端发送所述电话号码; 所述第一接收组件包括:  An extraction module, configured to: extract a phone number of the first near field communication terminal; and a first sending module configured to: send the phone number to the second near field communication terminal; the first receiving Components include:
第一接收模块, 其设置成: 接收所述第二近场通信终端返回的第一验证 结果, 其中, 所述第一验证结果为所述第二近场通信终端在接收到所述电话 号码后, 并查询到已存储有所述电话号码时所返回的通过验证的验证结果; 第二接收模块, 其设置成: 接收所述第二近场通信终端返回的第二验证 结果, 其中, 所述第二验证结果为所述第二近场通信终端在接收到所述电话 号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端对所述电 话号码执行存储操作时所返回的通过验证的验证结果; 以及  a first receiving module, configured to: receive a first verification result returned by the second near field communication terminal, where the first verification result is that the second near field communication terminal receives the phone number after receiving And querying the verified verification result returned when the phone number is stored; the second receiving module is configured to: receive the second verification result returned by the second near field communication terminal, where a second verification result is that after the second near field communication terminal receives the phone number, it is queried that the phone number is not stored, and the second near field communication terminal performs a storage operation on the phone number The verified verification result returned; and
第三接收模块, 其设置成: 接收所述第二近场通信终端返回的第三验证 结果, 其中, 所述第三验证结果为所述第二近场通信终端在接收到所述电话 号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端不对所述 电话号码执行存储操作时返回的未通过验证的验证结果。 a third receiving module, configured to: receive a third verification returned by the second near field communication terminal a result, wherein the third verification result is that after receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal does not The unverified verification result returned by the phone number when performing a store operation.
可选地, 所述第二接收模块包括:  Optionally, the second receiving module includes:
第二发送模块, 其设置成: 当所述第二近场通信终端在接收到所述电话 号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端对所述电 话号码执行存储操作时, 接收所述第二近场通信终端返回的对所述电话号码 执行存储操作的信息, 并向所述第二近场通信终端再次发送所述电话号码; 以及  a second sending module, configured to: when the second near field communication terminal receives the phone number, querying that the phone number is not stored, and the second near field communication terminal is to the phone Receiving, by the second near field communication terminal, information for performing a storage operation on the telephone number, and transmitting the telephone number to the second near field communication terminal again; and
第四接收模块, 其设置成: 接收所述第二近场通信终端在接收到所述电 话号码后, 查询到已存储有所述电话号码时所返回的通过验证的验证结果。  And a fourth receiving module, configured to: after receiving the phone number, the second near field communication terminal queries the verified verification result returned when the phone number is already stored.
本发明实施例还提供一种基于近场通信的点对点通信装置, 应用于第二 近场通信终端, 包括:  The embodiment of the invention further provides a point-to-point communication device based on near field communication, which is applied to the second near field communication terminal, and includes:
第二接收组件, 其设置成: 接收第一近场通信终端发送的验证信息; 第二验证组件, 其设置成: 对所述验证信息进行验证, 并将验证结果返 回至所述第一近场通信终端, 其中, 所述验证结果包括通过验证和未通过验 证; 以及  a second receiving component, configured to: receive the verification information sent by the first near field communication terminal; the second verification component is configured to: verify the verification information, and return the verification result to the first near field a communication terminal, wherein the verification result includes a pass verification and a fail verification;
第二传输组件, 其设置成: 在所述验证结果为通过验证时, 开始与所述 第一近场通信终端通过近场通信点对点数据传输功能进行数据传输。  And a second transmission component, configured to: start data transmission with the first near field communication terminal by the near field communication point-to-point data transmission function when the verification result is verification.
可选地, 所述第二接收组件包括:  Optionally, the second receiving component includes:
第五接收模块, 其设置成: 接收所述第一近场通信终端发送的电话号码; 所述第二验证模块包括:  a fifth receiving module, configured to: receive a phone number sent by the first near field communication terminal; the second verification module includes:
第三发送模块, 其设置成: 在接收到所述电话号码后, 查询到已存储有 所述电话号码时,则向所述第一近场通信终端发送通过验证的第一验证结果; 第四发送模块, 其设置成: 在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且对所述电话号码执行存储操作时, 则向所述第一近场通信 终端发送通过验证的第二验证结果; 以及 第五发送模块, 其设置成: 在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且不对所述电话号码执行存储操作时, 则向所述第一近场通 信终端发送未通过验证的第三验证结杲。 a third sending module, configured to: after receiving the phone number, querying that the phone number has been stored, sending a first verification result that is verified to the first near field communication terminal; a sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and performing a storage operation on the phone number, sending a verification to the first near field communication terminal Second verification result; a fifth sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and not performing a storage operation on the phone number, sending the message to the first near field communication terminal The third verification result that failed the verification.
可选地, 所述第四发送模块包括:  Optionally, the fourth sending module includes:
第六发送模块, 其设置成: 在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且对所述电话号码执行存储操作时, 向所述第一近场通信终 端发送对所述电话号码执行存储操作的信息; 以及  a sixth sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and performing a storage operation on the phone number, sending a pair to the first near field communication terminal The phone number performs information of a storage operation;
第七发送模块, 其设置成: 接收到所述第一近场通信终端再次发送的所 述电话号码, 并查询到已存储有所述电话号码时, 向所述第一近场通信终端 发送通过验证的验证结果。  a seventh sending module, configured to: receive the phone number that is sent by the first near field communication terminal again, and query, when the phone number is already stored, send the pass to the first near field communication terminal Verification verification results.
本发明实施例的上述方案中, 通过在 FC终端之间提供信息验证, 解决 了集成 FC功能的通讯终端之间通过 NFC进行信息传输的安全问题, 能够 使攻击者无法通过监听的方法获得数据传输内容, 以及使攻击者无法对数据 传输过程进行欺骗等。 附图概述  In the above solution of the embodiment of the present invention, by providing information verification between the FC terminals, the security problem of information transmission between the communication terminals integrated with the FC function through NFC is solved, and the attacker can not obtain the data transmission through the monitoring method. Content, as well as making it impossible for an attacker to spoof the data transfer process. BRIEF abstract
图 1表示本发明实施例中提供的基于近场通信的点对点通信方法的流程 图;  1 is a flow chart showing a method for peer-to-peer communication based on near field communication provided in an embodiment of the present invention;
图 2表示本发明实施例中所提供的基于近场通信的点对点通信方法中第 一近场通信终端的处理流程的示意图;  2 is a schematic diagram showing a processing flow of a first near field communication terminal in a point-to-point communication method based on near field communication provided in an embodiment of the present invention;
图 3表示本发明实施例中所提供的基于近场通信的点对点通信方法中第 二近场通信终端的处理流程的示意图。 本发明的较佳实施方式  Fig. 3 is a diagram showing the processing flow of the second near field communication terminal in the near field communication based point-to-point communication method provided in the embodiment of the present invention. Preferred embodiment of the invention
以下结合附图对本发明实施例的原理和特征进行描述, 需要说明的是, 在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。  The principles and features of the embodiments of the present invention are described below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图 1所示,本发明实施例提供了一种基于近场通信的点对点通信方法, 用于第一近场通信终端和第二近场通信终端之间进行数据传输, 所述的方法 包括如下步骤: As shown in FIG. 1 , an embodiment of the present invention provides a point-to-point communication method based on near field communication, which is used for data transmission between a first near field communication terminal and a second near field communication terminal, and the method Including the following steps:
步骤 1、 所述第一近场通信终端向所述第二近场通信终端发送一验证信 息。  Step 1. The first near field communication terminal sends a verification message to the second near field communication terminal.
本步骤中, 可选地, 所述验证信息可以是第一近场通信终端的唯一标记 码, 可选地, 本实施例中所述验证信息可以是第一近场通信终端的本机电话 号码。第一近场通信终端可以在打开 NFC功能后,首先提取本机的电话号码, 发送至第二近场通信终端。 当然可以理解的是, 所述的验证信息也可以包括 其他验证数据。  In this step, optionally, the verification information may be a unique tag code of the first near field communication terminal. Optionally, the verification information in the embodiment may be the local phone number of the first near field communication terminal. . After the NFC function is turned on, the first near field communication terminal first extracts the telephone number of the local device and transmits it to the second near field communication terminal. Of course, it can be understood that the verification information may also include other verification data.
步骤 2、 所述第一近场通信终端接收所述第二近场通信终端返回的对所 述验证信息进行验证后的验证结果, 其中, 所述验证结果包括通过验证和未 通过验证。  Step 2: The first near field communication terminal receives the verification result that is verified by the second near field communication terminal to verify the verification information, where the verification result includes the verification and the failure verification.
本步骤中, 当验证信息为第一近场通信终端的电话号码时, 可以包括以 下步骤:  In this step, when the verification information is the phone number of the first near field communication terminal, the following steps may be included:
第二近场通信终端接收到第一近场通信终端发送的电话号码, 并查询电 话本内是否已存储有该电话号码;  Receiving, by the second near field communication terminal, the telephone number sent by the first near field communication terminal, and querying whether the telephone number is already stored in the telephone directory;
当第二近场通信终端查询到已存储该电话号码时, 则向第一近场通信终 端发送通过验证的第一验证结果;  When the second near field communication terminal queries that the phone number has been stored, transmitting the first verification result that is verified to the first near field communication terminal;
当第二近场通信终端查询到未存储该电话号码时, 第二近场通信终端则 会提示用户是否需要存储该电话号码;  When the second near field communication terminal queries that the phone number is not stored, the second near field communication terminal prompts the user whether the phone number needs to be stored;
如果用户允许存储该电话号码, 即, 第二近场通信终端对该电话号码执 行存储操作时, 则第二近场通信终端向第一近场通信终端发送对所述电话号 码执行存储操作的信息, 第一近场通信终端则再次向所述第二近场通信终端 发送所述电话号码, 第二近场通信终端再次查询电话本内是否已存储该电话 号码, 并向第一近场通信终端发送通过验证的第二验证结果;  If the user allows the phone number to be stored, that is, when the second near field communication terminal performs a storage operation on the phone number, the second near field communication terminal transmits information to the first near field communication terminal to perform a storage operation on the phone number. The first near field communication terminal transmits the telephone number to the second near field communication terminal again, and the second near field communication terminal again queries whether the telephone number has been stored in the phone book, and sends the phone number to the first near field communication terminal. Sending a second verification result that passes verification;
如果用户不允许存储该电话号码, 即, 第二近场通信终端不对所述电话 号码执行存储操作时, 则第二近场通信终端向所述第一近场通信终端发送未 通过验证的第三验证结果。  If the user does not allow the phone number to be stored, that is, when the second near field communication terminal does not perform a storage operation on the phone number, the second near field communication terminal transmits the third failed authentication to the first near field communication terminal. Validation results.
步骤 3、 所述第一近场通信终端在接收到的所述验证结果为通过验证时, 与所述第二近场通信终端通过 NFC点对点数据传输功能进行数据传输; 所述 第一近场通信终端在接收到的所述验证结果为未通过验证时, 则停止向第二 近场通信终端传输数据, 本次文件传输结束。 Step 3: When the first near field communication terminal receives the verification result as passing verification, Performing data transmission with the second near field communication terminal through the NFC point-to-point data transmission function; when the first near field communication terminal receives the verification result as failing verification, stopping to the second near field communication terminal Transfer data, this file transfer ends.
图 2所示为本发明实施例的基于近场通信的点对点通信方法的第一近场 通信终端的处理流程图。 如图 2所示, 根据本发明实施例中提供的方法, 第 一近场通信终端主要进行以下处理步骤:  2 is a flow chart showing the processing of a first near field communication terminal of a point-to-point communication method based on near field communication according to an embodiment of the present invention. As shown in FIG. 2, according to the method provided in the embodiment of the present invention, the first near field communication terminal mainly performs the following processing steps:
步骤 S01、 第一近场通信终端打开 NFC功能, 并执行步骤 S02。  Step S01: The first near field communication terminal turns on the NFC function, and performs step S02.
步骤 S02、 第一近场通信终端提取本机的电话号码, 并作为验证信息发 送至第二近场通信终端后, 执行步骤 S03。  Step S02: The first near field communication terminal extracts the telephone number of the local machine, and sends the verification result as the verification information to the second near field communication terminal, and then performs step S03.
步骤 S03、 第一近场通信终端接收由第二近场通信终端查询是否存储有 所述电话号码后返回的信息, 如果是(即, 第二近场通信终端返回已存储所 述电话号码的信息) , 则执行步骤 S04; 如杲否 (即, 第二近场通信终端返 回未存储所述电话号码的信息) , 则执行步骤 S05。  Step S03: The first near field communication terminal receives information returned by the second near field communication terminal to query whether the phone number is stored, and if so (ie, the second near field communication terminal returns information that the phone number has been stored) Then, step S04 is performed; if no (ie, the second near field communication terminal returns information that the phone number is not stored), step S05 is performed.
步骤 S04、 第一近场通信终端开始向第二近场通信终端传输数据, 开始 文件传输, 文件传输结束后执行步骤 S07。  Step S04: The first near field communication terminal starts to transmit data to the second near field communication terminal, starts file transmission, and after the file transmission ends, step S07 is performed.
步骤 S05、 第一近场通信终端接收第二近场通信终端返回的是否执行存 储所述电话号码的操作的信息, 如果是(即, 第二近场通信终端返回允许存 储所述电话号码的信息) , 则执行步骤 S06; 如果否 (即, 第二近场通信终 端返回不允许存储所述电话号码的信息) , 则执行步骤 S07。  Step S05: The first near field communication terminal receives, by the second near field communication terminal, information about whether to perform an operation of storing the telephone number, if yes (ie, the second near field communication terminal returns information allowing the storage of the telephone number) Then, step S06 is performed; if no (that is, the second near field communication terminal returns information that the phone number is not allowed to be stored), step S07 is performed.
步骤 S06、 第一近场通信终端向第二近场通信终端再次发送本机的电话 号码, 在接收到第二近场通信终端返回的通过验证的验证结果后, 执行步骤 S04。  Step S06: The first near field communication terminal resends the telephone number of the local device to the second near field communication terminal, and after receiving the verification result of the verification returned by the second near field communication terminal, step S04 is performed.
步骤 S07、 第一近场通信终端停止向第二近场通信终端传输数据, 结束 本次文件传输。  Step S07: The first near field communication terminal stops transmitting data to the second near field communication terminal, and ends the file transmission.
图 3所示为本发明实施例的基于近场通信的点对点通信方法的第二近场 通信终端的处理流程图。 如图 3所示, 根据本发明实施例中提供的方法, 第 二近场通信终端主要进行以下处理步骤:  3 is a flow chart showing the processing of a second near field communication terminal of a point-to-point communication method based on near field communication according to an embodiment of the present invention. As shown in FIG. 3, according to the method provided in the embodiment of the present invention, the second near field communication terminal mainly performs the following processing steps:
步骤 Sl l、 第二近场通信终端打开 NFC功能, 并执行步骤 S12。 步骤 S12、 第二近场通信终端接收第一近场通信终端发送的电话号码, 并执行步骤 S13。 Step S1 l: The second near field communication terminal turns on the NFC function, and performs step S12. Step S12: The second near field communication terminal receives the telephone number sent by the first near field communication terminal, and performs step S13.
步骤 S13、 第二近场通信终端查询电话本内是否已存储第一近场通信终 端发送的电话号码, 如果是(即, 第二近场通信终端查询电话本内已存储所 述电话号码) , 则执行步骤 S14; 如果否 (即, 第二近场通信终端查询到电 话本内未存储所述电话号码) , 则执行步骤 S15。  Step S13: The second near field communication terminal queries whether the phone number sent by the first near field communication terminal is stored in the phone book, and if so (ie, the second near field communication terminal queries the phone number stored in the phone book), Then, step S14 is performed; if no (ie, the second near field communication terminal queries that the phone number is not stored in the phone book), step S15 is performed.
步骤 S14、 第二近场通信终端开始接收第一近场通信终端传输的数据, 开始文件传输, 文件传输结束后执行步骤 S17。  Step S14: The second near field communication terminal starts to receive the data transmitted by the first near field communication terminal, starts file transmission, and performs step S17 after the file transmission ends.
步骤 S15、 第二近场通信终端提示用户是否存储第一近场通信终端的电 话号码, 如果是(即, 用户允许存储第一近场通信终端的电话号码) , 则执 行步骤 S16; 如果否 (即, 用户不允许存储第一近场通信终端的电话号码) , 则执行步驟 S17。  Step S15: The second near field communication terminal prompts the user whether to store the phone number of the first near field communication terminal. If yes (ie, the user allows to store the phone number of the first near field communication terminal), step S16 is performed; if not ( That is, the user is not allowed to store the telephone number of the first near field communication terminal, and step S17 is performed.
步骤 S16、 第二近场通信终端存储第一近场通信终端再次发送的电话号 码, 向第一近场通信终端返回的通过验证的验证结果后, 执行步骤 S14。  Step S16: The second near field communication terminal stores the telephone number transmitted by the first near field communication terminal again, and returns the verified verification result returned to the first near field communication terminal, and then performs step S14.
步骤 S17、 第二近场通信终端停止接收第一近场通信终端传输的数据, 结束本次文件传输。  Step S17: The second near field communication terminal stops receiving data transmitted by the first near field communication terminal, and ends the file transmission.
本发明实施例还提供一种基于近场通信的点对点通信装置, 所述基于近 场通信的点对点通信装置作为数据发送端, 其包括:  The embodiment of the present invention further provides a point-to-point communication device based on near field communication, and the point-to-point communication device based on the near field communication is used as a data transmitting end, and includes:
第一验证组件, 其用于向另一近场通信终端发送验证信息;  a first verification component, configured to send verification information to another near field communication terminal;
第一接收组件, 其用于接收所述另一近场通信终端返回的对所述验证信 息进行验证后的验证结果, 其中, 所述验证结果包括通过验证和未通过验证; 第一传输组件, 其用于在接收到的所述验证结果为通过验证时, 与所述 另一近场通信终端通过 NFC点对点数据传输功能进行数据传输。  a first receiving component, configured to receive a verification result that is verified by the another near field communication terminal to verify the verification information, where the verification result includes a verification pass and a fail verification; a first transmission component, It is configured to perform data transmission with the another near field communication terminal through the NFC point-to-point data transmission function when the received verification result is verified.
可选地, 所述第一验证组件包括:  Optionally, the first verification component includes:
提取模块, 其用于提取所述近场通信终端的电话号码; 以及  An extraction module, configured to extract a phone number of the near field communication terminal; and
第一发送模块, 其用于向所述另一近场通信终端发送所述电话号码; 所述第一接收组件包括: 第一接收模块,其用于接收所述另一近场通信终端返回的第一验证结果, 其中,所述第一验证结果为所述另一近场通信终端在接收到所述电话号码后, 并查询到已存储有所述电话号码时所返回的通过验证的验证结果; a first sending module, configured to send the phone number to the another near field communication terminal; the first receiving component includes: a first receiving module, configured to receive a first verification result returned by the another near field communication terminal, where the first verification result is that the another near field communication terminal receives the phone number, And querying the verified verification result returned when the phone number is already stored;
第二接收模块,其用于接收所述另一近场通信终端返回的第二验证结果, 其中,所述第二验证结果为所述另一近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话号码, 且所述另一近场通信终端对所述电话号码执 行存储操作时所返回的通过验证的验证结果; 以及  a second receiving module, configured to receive a second verification result returned by the another near field communication terminal, where the second verification result is that the another near field communication terminal receives the phone number, Querying the verification result of the verification that is returned when the telephone number is not stored, and the another near field communication terminal performs a storage operation on the telephone number;
第三接收模块,其用于接收所述另一近场通信终端返回的第三验证结果, 其中,所述第三验证结果为所述另一近场通信终端在接收到所述电话号码后, 查询到未存储有所述电话号码, 且所述另一近场通信终端不对所述电话号码 执行存储操作时返回的未通过验证的猃证结果。  a third receiving module, configured to receive a third verification result returned by the another near field communication terminal, where the third verification result is that the another near field communication terminal, after receiving the phone number, The result of the unverified verification that is returned when the telephone number is not stored and the another near field communication terminal does not perform a storage operation on the telephone number is queried.
可选地, 所述第二接收模块包括:  Optionally, the second receiving module includes:
第二发送模块, 其用于当所述另一近场通信终端在接收到所述电话号码 后, 查询到未存储有所述电话号码, 且所述另一近场通信终端对所述电话号 码执行存储操作时, 接收所述另一近场通信终端返回的对所述电话号码执行 存储操作的信息, 并向所述另一近场通信终端再次发送所述电话号码;  a second sending module, configured to: when the another near field communication terminal receives the phone number, query that the phone number is not stored, and the another near field communication terminal is to the phone number And performing a storage operation, receiving information returned by the another near field communication terminal to perform a storage operation on the phone number, and transmitting the phone number to the another near field communication terminal again;
第四接收模块, 其用于接收所述另一近场通信终端在接收到所述电话号 码后, 查询到已存储有所述电话号码时所返回的通过验证的验证结杲。  And a fourth receiving module, configured to receive, by the another near field communication terminal, after the receiving the phone number, querying the verified verification result returned when the phone number has been stored.
本发明实施例还提供一种基于近场通信的点对点通信装置, 所述基于近 场通信的点对点通信装置作为数据接收端, 包括:  The embodiment of the present invention further provides a point-to-point communication device based on the near field communication, where the point-to-point communication device based on the near field communication is used as the data receiving end, and includes:
第二接收组件, 其用于接收另一近场通信终端发送的验证信息; 第二验证组件, 其用于对所述验证信息进行验证, 并将验证结果返回至 所述另一近场通信终端, 其中, 所述验证结果包括通过验证和未通过验证; 以及  a second receiving component, configured to receive verification information sent by another near field communication terminal; a second verification component, configured to verify the verification information, and return the verification result to the another near field communication terminal Wherein the verification result includes a pass verification and a fail verification;
第二传输组件, 其用于在所述检证结果为通过验证时, 开始与所述另一 近场通信终端通过 NFC点对点数据传输功能进行数据传输。  And a second transmission component, configured to start data transmission with the another near field communication terminal through the NFC point-to-point data transmission function when the verification result is verified.
可选地, 所述第二接收组件包括用于接收所述另一近场通信终端发送的 电话号码的第五接收模块; 所述第二验证模块包括: Optionally, the second receiving component includes a fifth receiving module, configured to receive a phone number sent by the another near field communication terminal; The second verification module includes:
第三发送模块, 其用于在接收到所述电话号码后, 查询到已存储有所述 电话号码时, 则向所述另一近场通信终端发送通过验证的第一验证结果; ; 第四发送模块, 其用于在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且对所述电话号码执行存储操作时, 则向所述另一近场通信终端 发送通过验证的第二验证结果; 以及  a third sending module, configured to send, after the receiving the phone number, that the phone number has been stored, send a first verification result that is verified to the another near field communication terminal; a sending module, configured to send, after the receiving the phone number, that the phone number is not stored, and perform a storage operation on the phone number, send the verification to the another near field communication terminal Second verification result;
第五发送模块, 其用于在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且对所述电话号码执行不存储操作时, 则向所述另一近场通信终 端发送未通过验证的第三验证结果。  a fifth sending module, configured to send, after the receiving the phone number, that the phone number is not stored, and perform a non-storage operation on the phone number, send the message to the another near field communication terminal The third verification result that failed the verification.
可选地, 所述第四发送模块包括:  Optionally, the fourth sending module includes:
第六发送模块, 其用于在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且对所述电话号码执行存储操作时, 向所述另一近场通信终端发 送对所述电话号码执行存储操作的信息;  a sixth sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and performing a storage operation on the phone number, sending a message to the another near field communication terminal Describe the phone number to perform the storage operation information;
第七发送模块, 其用于接收到所述另一近场通信终端再次发送的所述电 话号码, 并查询到已存储有所述电话号码时, 向所述另一近场通信终端发送 通过验证的验证结杲。  a seventh sending module, configured to receive the phone number that is sent by the another near field communication terminal, and query that the phone number is already stored, and send the verification to the another near field communication terminal Verification of the balance.
以上是本发明的优选实施方式, 并不用于限制本发明。 应当指出, 对于 本技术领域的普通技术人员来说, 在不脱离本发明实施例原理的前提下, 还 可以作出若干改进和润饰, 这些改进和润饰也应视为本发明所附权利要求的 的保护范围。 工业实用性  The above is a preferred embodiment of the invention and is not intended to limit the invention. It should be noted that a number of modifications and refinements may be made by those skilled in the art without departing from the principles of the embodiments of the present invention. protected range. Industrial applicability
本发明实施例的方案中,解决了集成 NFC功能的通讯终端之间通过 NFC 进行信息传输的安全问题, 能够使攻击者无法通过监听的方法获得数据传输 内容, 以及使攻击者无法对数据传输过程进行欺骗。  In the solution of the embodiment of the present invention, the security problem of information transmission between NFC-enabled communication terminals through NFC is solved, which enables an attacker to obtain data transmission content through the monitoring method, and the attacker cannot perform the data transmission process. Deceive.

Claims

权 利 要 求 书 Claim
1. 一种基于近场通信的点对点通信方法, 包括:  A point-to-point communication method based on near field communication, comprising:
第一近场通信终端向第二近场通信终端发送一验证信息;  Transmitting, by the first near field communication terminal, a verification information to the second near field communication terminal;
所述第一近场通信终端接收所述第二近场通信终端返回的对所述验证信 息进行验证后的验证结杲, 其中, 所述验证结杲包括通过验证和未通过验证; 以及  Receiving, by the second near field communication terminal, the verification result after verifying the verification information returned by the second near field communication terminal, where the verification result includes verification and failure verification;
所述第一近场通信终端在接收到的所述验证结果为通过验证时, 与所述 第二近场通信终端通过近场通信点对点数据传输功能进行数据传输。  The first near field communication terminal performs data transmission with the second near field communication terminal through the near field communication point-to-point data transmission function when the received verification result is verified.
2. 根据权利要求 1所述的方法, 其中,  2. The method according to claim 1, wherein
所述验证信息包括所述第一近场通信终端的唯一验证标记。  The verification information includes a unique verification token of the first near field communication terminal.
3. 根据权利要求 2所述的方法, 其中,  3. The method according to claim 2, wherein
所述验证信息包括所述第一近场通信终端的电话号码;  The verification information includes a phone number of the first near field communication terminal;
所述第一近场通信终端接收所述第二近场通信终端返回的对所述验证信 息进行验证后的验证结果, 包括:  The first near field communication terminal receives the verification result that is verified by the second near field communication terminal to verify the verification information, and includes:
所述第一近场通信终端接收所述第二近场通信终端返回的第一验证结 果, 其中, 所述第一验证结果为所述第二近场通信终端在接收到所述电话号 码后, 并查询到已存储有所述电话号码时所返回的通过验证的验证结果; 所述第一近场通信终端接收所述第二近场通信终端返回的第二验证结 果, 其中, 所述第二验证结果为所述第二近场通信终端在接收到所述电话号 码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端对所述电话 号码执行存储操作时所返回的通过验证的验证结果; 以及  Receiving, by the first near field communication terminal, the first verification result returned by the second near field communication terminal, where the first verification result is that after the second near field communication terminal receives the phone number, Querying the verified verification result returned when the phone number is stored; the first near field communication terminal receives the second verification result returned by the second near field communication terminal, where the second The verification result is that after the second near field communication terminal receives the phone number, it is queried that the phone number is not stored, and the second near field communication terminal returns when the storage operation is performed on the phone number Verification verification results; and
所述第一近场通信终端接收所述第二近场通信终端返回的第三验证结 果, 其中, 所述第三验证结果为所述第二近场通信终端在接收到所述电话号 码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端不对所述电 话号码执行存储操作时返回的未通过验证的验证结果。  Receiving, by the first near field communication terminal, a third verification result returned by the second near field communication terminal, where the third verification result is that after the second near field communication terminal receives the phone number, A verification result of the unverified verification returned when the telephone number is not stored and the second near field communication terminal does not perform a storage operation on the telephone number is queried.
4. 根据权利要求 3所述的方法, 其中,  4. The method according to claim 3, wherein
所述第一近场通信终端接收所述第二近场通信终端返回的第二验证结 果, 包括:  Receiving, by the first near field communication terminal, the second verification result returned by the second near field communication terminal, including:
当所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所 述电话号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 所 述第一近场通信终端接收所述第二近场通信终端返回的对所述电话号码执行 存储操作的信息, 并向所述第二近场通信终端再次发送所述电话号码; 以及 所述第一近场通信终端接收所述第二近场通信终端在接收到所述电话号 码后, 查询到已存储有所述电话号码时所返回的通过验证的验证结果。 When the second near field communication terminal receives the phone number, the query does not store any Describe the telephone number, and when the second near field communication terminal performs a storage operation on the telephone number, the first near field communication terminal receives a storage operation performed on the telephone number returned by the second near field communication terminal And transmitting the telephone number to the second near field communication terminal; and the first near field communication terminal receiving the second near field communication terminal after receiving the telephone number, querying that The verified verification result returned when the phone number is stored.
5. 一种基于近场通信的点对点通信方法, 包括:  5. A point-to-point communication method based on near field communication, comprising:
第二近场通信终端接收第一近场通信终端发送的验证信息;  The second near field communication terminal receives the verification information sent by the first near field communication terminal;
所述第二近场通信终端对所述验证信息进行验证, 并将验证结果返回至 所述第一近场通信终端, 其中, 所述验证结果包括通过验证和未通过验证; 以及  The second near field communication terminal verifies the verification information, and returns a verification result to the first near field communication terminal, where the verification result includes a verification and a failure verification;
所述第二近场通信终端在所述验证结果为通过验证时, 开始与所述第一 近场通信终端通过近场通信点对点数据传输功能进行数据传输。  The second near field communication terminal starts data transmission with the first near field communication terminal through the near field communication point-to-point data transmission function when the verification result is the verification.
6. 根据权利要求 5所述的方法, 其中,  6. The method according to claim 5, wherein
所述验证信息包括所述第一近场通信终端的唯一验证标记。  The verification information includes a unique verification token of the first near field communication terminal.
7. 根据权利要求 6所述的方法, 其中,  7. The method according to claim 6, wherein
所述验证信息包括所述第一近场通信终端的电话号码;  The verification information includes a phone number of the first near field communication terminal;
所述第二近场通信终端对所述验证信息进行验证, 并将验证结果返回至 所述第一近场通信终端, 包括:  The second near field communication terminal verifies the verification information, and returns the verification result to the first near field communication terminal, including:
所述第二近场通信终端在接收到所述电话号码后, 查询到已存储有所述 电话号码时, 则向所述第一近场通信终端发送通过验证的第一验证结果; 所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 则向 所述第一近场通信终端发送通过验证的第二验证结果; 以及  After receiving the phone number, the second near field communication terminal, when inquiring that the phone number has been stored, sends a first verification result that is verified to the first near field communication terminal; After receiving the phone number, the two near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, the first near field communication terminal The field communication terminal transmits the second verification result that passes the verification;
所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且所述第二近场通信终端不对所述电话号码执行存储操作时, 则 向所述第一近场通信终端发送未通过验证的第三验证结果。  After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and the second near field communication terminal does not perform a storage operation on the phone number, then The first near field communication terminal transmits a third verification result that has not passed the verification.
8. 根据权利要求 7所述的方法, 其中, 所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 则向 所述第一近场通信终端发送通过验证的第二验证结果, 包括: 8. The method according to claim 7, wherein After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, The first near field communication terminal sends the second verification result that is verified, including:
所述第二近场通信终端在接收到所述电话号码后, 查询到未存储有所述 电话号码, 且所述第二近场通信终端对所述电话号码执行存储操作时, 向所 述第一近场通信终端发送对所述电话号码执行存储操作的信息; 以及  After receiving the phone number, the second near field communication terminal queries that the phone number is not stored, and when the second near field communication terminal performs a storage operation on the phone number, a near field communication terminal transmitting information for performing a storage operation on the phone number;
所述第二近场通信终端接收到所述笫一近场通信终端再次发送的所述电 话号码, 并查询到已存储有所述电话号码时, 向所述第一近场通信终端返回 通过验证的验证结果。  Receiving, by the second near field communication terminal, the phone number that is sent by the first field communication terminal again, and querying that the phone number has been stored, returning to the first near field communication terminal for verification Verification results.
9. 一种基于近场通信的点对点通信装置, 应用于第一近场通信终端, 包 括:  9. A point-to-point communication device based on near field communication, applied to a first near field communication terminal, comprising:
第一验证组件, 其设置成: 向第二近场通信终端发送验证信息; 第一接收组件, 其设置成: 接收所述第二近场通信终端返回的对所述验 证信息进行验证后的验证结果, 其中, 所述验证结果包括通过验证和未通过 验证; 以及  a first verification component, configured to: send verification information to the second near field communication terminal; the first receiving component is configured to: receive the verification after verifying the verification information returned by the second near field communication terminal a result, wherein the verification result includes a pass verification and a fail verification;
第一传输组件, 其设置成: 在接收到的所述验证结果为通过验证时, 与 所述第二近场通信终端通过近场通信点对点数据传输功能进行数据传输。  And a first transmission component, configured to: when the received verification result is verified by verification, perform data transmission with the second near field communication terminal by using a near field communication point-to-point data transmission function.
10. 根据权利要求 9所述的装置, 其中,  10. The apparatus according to claim 9, wherein
所述第一验证組件包括:  The first verification component includes:
提取模块, 其设置成: 提取所述第一近场通信终端的电话号码; 以及 第一发送模块, 其设置成: 向所述第二近场通信终端发送所述电话号码; 所述第一接收组件包括:  An extraction module, configured to: extract a phone number of the first near field communication terminal; and a first sending module configured to: send the phone number to the second near field communication terminal; the first receiving Components include:
第一接收模块, 其设置成: 接收所述第二近场通信终端返回的第一验证 结果, 其中, 所述第一验证结果为所述第二近场通信终端在接收到所述电话 号码后, 并查询到已存储有所述电话号码时所返回的通过验证的验证结果; 第二接收模块, 其设置成: 接收所述第二近场通信终端返回的第二验证 结果, 其中, 所述第二验证结果为所述第二近场通信终端在接收到所述电话 号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端对所述电 话号码执行存储操作时所返回的通过验证的验证结果; 以及 a first receiving module, configured to: receive a first verification result returned by the second near field communication terminal, where the first verification result is that the second near field communication terminal receives the phone number after receiving And querying the verified verification result returned when the phone number is stored; the second receiving module is configured to: receive the second verification result returned by the second near field communication terminal, where a second verification result is that the second near field communication terminal is receiving the phone After the number, querying the verification result of the verification that is returned when the telephone number is not stored, and the second near field communication terminal performs a storage operation on the telephone number;
第三接收模块, 其设置成: 接收所述第二近场通信终端返回的第三验证 结果, 其中, 所述第三验证结果为所述第二近场通信终端在接收到所述电话 号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端不对所述 电话号码执行存储操作时返回的未通过验证的验证结果。  a third receiving module, configured to: receive a third verification result returned by the second near field communication terminal, where the third verification result is that the second near field communication terminal receives the phone number after receiving And querying the verification result of the unverified verification that is returned when the telephone number is not stored, and the second near field communication terminal does not perform a storage operation on the telephone number.
11. 根据权利要求 10所述的装置, 其中, 所述笫二接收模块包括: 第二发送模块, 其设置成: 当所述第二近场通信终端在接收到所述电话 号码后, 查询到未存储有所述电话号码, 且所述第二近场通信终端对所述电 话号码执行存储操作时, 接收所述第二近场通信终端返回的对所述电话号码 执行存储操作的信息, 并向所述第二近场通信终端再次发送所述电话号码; 以及  The device according to claim 10, wherein the second receiving module comprises: a second sending module, configured to: when the second near field communication terminal receives the phone number, query When the phone number is not stored, and the second near field communication terminal performs a storage operation on the phone number, receiving information returned by the second near field communication terminal to perform a storage operation on the phone number, and Transmitting the phone number to the second near field communication terminal; and
第四接收模块, 其设置成: 接收所述第二近场通信终端在接收到所述电 话号码后, 查询到已存储有所述电话号码时所返回的通过验证的验证结果。  And a fourth receiving module, configured to: after receiving the phone number, the second near field communication terminal queries the verified verification result returned when the phone number is already stored.
12. 一种基于近场通信的点对点通信装置, 应用于第二近场通信终端, 包括:  12. A point-to-point communication device based on near field communication, applied to a second near field communication terminal, comprising:
第二接收组件, 其设置成: 接收第一近场通信终端发送的验证信息; 第二验证组件, 其设置成: 对所述验证信息进行验证, 并将验证结果返 回至所述第一近场通信终端, 其中, 所述验证结果包括通过验证和未通过验 证; 以及  a second receiving component, configured to: receive the verification information sent by the first near field communication terminal; the second verification component is configured to: verify the verification information, and return the verification result to the first near field a communication terminal, wherein the verification result includes a pass verification and a fail verification;
第二传输组件, 其设置成: 在所述验证结果为通过验证时, 开始与所述 第一近场通信终端通过近场通信点对点数据传输功能进行数据传输。  And a second transmission component, configured to: start data transmission with the first near field communication terminal by the near field communication point-to-point data transmission function when the verification result is verification.
13. 根据权利要求 12所述的装置, 其中,  13. The device according to claim 12, wherein
所述第二接收组件包括:  The second receiving component includes:
第五接收模块, 其设置成: 接收所述第一近场通信终端发送的电话号码; 所述第二验证模块包括:  a fifth receiving module, configured to: receive a phone number sent by the first near field communication terminal; the second verification module includes:
第三发送模块, 其设置成: 在接收到所述电话号码后, 查询到已存储有 所述电话号码时,则向所述第一近场通信终端发送通过验证的第一验证结果; 第四发送模块, 其设置成: 在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且对所述电话号码执行存储操作时, 则向所述第一近场通信 终端发送通过验证的第二验证结果; 以及 a third sending module, configured to: after receiving the phone number, querying that the stored And sending, by the first near field communication terminal, the first verification result that is verified; the fourth sending module is configured to: after receiving the phone number, querying that the a phone number, and performing a storage operation on the phone number, transmitting a second verification result that is verified to the first near field communication terminal;
第五发送模块, 其设置成: 在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且不对所述电话号码执行存储操作时, 则向所述第一近场通 信终端发送未通过验证的笫三验证结杲。  a fifth sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and not performing a storage operation on the phone number, sending the message to the first near field communication terminal The verification result is not verified by the third verification.
14. 根据权利要求 13所述的装置, 其中, 所述第四发送模块包括: 第六发送模块, 其设置成: 在接收到所述电话号码后, 查询到未存储有 所述电话号码, 且对所述电话号码执行存储操作时, 向所述第一近场通信终 端发送对所述电话号码执行存储操作的信息; 以及  The device according to claim 13, wherein the fourth sending module comprises: a sixth sending module, configured to: after receiving the phone number, querying that the phone number is not stored, and Sending information to the first near field communication terminal to perform a storage operation on the phone number when performing a storage operation on the phone number;
第七发送模块, 其设置成: 接收到所述第一近场通信终端再次发送的所 述电话号码, 并查询到已存储有所述电话号码时, 向所述第一近场通信终端 发送通过验证的验证结果。  a seventh sending module, configured to: receive the phone number that is sent by the first near field communication terminal again, and query, when the phone number is already stored, send the pass to the first near field communication terminal Verification verification results.
PCT/CN2013/081885 2013-06-20 2013-08-20 Near field communication-based peer-to-peer communication method and near field communication terminal WO2013189386A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310246445.3 2013-06-20
CN201310246445.3A CN104243156A (en) 2013-06-20 2013-06-20 Point-to-point communication method and near-field communication terminals based on near-field communication

Publications (2)

Publication Number Publication Date
WO2013189386A2 true WO2013189386A2 (en) 2013-12-27
WO2013189386A3 WO2013189386A3 (en) 2014-05-08

Family

ID=49769534

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081885 WO2013189386A2 (en) 2013-06-20 2013-08-20 Near field communication-based peer-to-peer communication method and near field communication terminal

Country Status (2)

Country Link
CN (1) CN104243156A (en)
WO (1) WO2013189386A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104507035A (en) * 2014-12-05 2015-04-08 金硕澳门离岸商业服务有限公司 Data transmission method and communication terminal

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470386A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of near-field communication data transmission method and device
CN106535093B (en) * 2016-10-26 2019-10-15 努比亚技术有限公司 A kind of method and device for transmitting NFC data
CN114693339A (en) * 2022-02-15 2022-07-01 北京优酷科技有限公司 User rights and interests resource processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340705A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for optimizing authentication of radio communication
CN101656960A (en) * 2009-09-16 2010-02-24 中兴通讯股份有限公司 Point-to-point communication method based on near field communication and near field communication device
CN101674109A (en) * 2009-10-19 2010-03-17 宇龙计算机通信科技(深圳)有限公司 NFC monitoring device, NFC communication terminal and monitoring system
US8363086B1 (en) * 2012-02-06 2013-01-29 Google Inc. Initiating communications using short-range wireless communications

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255640B (en) * 2011-07-13 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Data exchange method based on near field communication technology and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340705A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for optimizing authentication of radio communication
CN101656960A (en) * 2009-09-16 2010-02-24 中兴通讯股份有限公司 Point-to-point communication method based on near field communication and near field communication device
CN101674109A (en) * 2009-10-19 2010-03-17 宇龙计算机通信科技(深圳)有限公司 NFC monitoring device, NFC communication terminal and monitoring system
US8363086B1 (en) * 2012-02-06 2013-01-29 Google Inc. Initiating communications using short-range wireless communications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104507035A (en) * 2014-12-05 2015-04-08 金硕澳门离岸商业服务有限公司 Data transmission method and communication terminal

Also Published As

Publication number Publication date
WO2013189386A3 (en) 2014-05-08
CN104243156A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US10285050B2 (en) Method and apparatus for managing a profile of a terminal in a wireless communication system
EP3284274B1 (en) Method and apparatus for managing a profile of a terminal in a wireless communication system
JP6092415B2 (en) Fingerprint authentication system and fingerprint authentication method based on NFC
JP5415600B2 (en) Method and apparatus for deploying a dynamic credential infrastructure based on proximity
JP5740008B2 (en) Method for transmitting a SIM application stored in a first terminal to a second terminal
JP4709556B2 (en) Electronic device and communication system mounted on terminal device
EP3466021B1 (en) A method for managing the status of a connected device
WO2012151848A1 (en) Near field communication terminal, system and method
CN104601324A (en) Verification method specific to applications, terminal and system
US8483661B2 (en) Method for loading credentials into a mobile communication device such as a mobile phone
CN101807944A (en) Mobile terminal and data sharing method thereof
CN103404099A (en) Managing communication channels in a telecommunication device coupled to an NFC circuit
US10924923B2 (en) Method and apparatus for managing a profile of a terminal in a wireless communication system
CN102792724A (en) Protection of a communication channel between a security module and an nfc circuit
CN102792723A (en) Protection of a security module in a telecommunication device coupled to an NFC circuit
CN103098503A (en) Protection of a communication channel of a telecommunication device coupled to an nfc circuit against misrouting
WO2013189386A2 (en) Near field communication-based peer-to-peer communication method and near field communication terminal
JP4717737B2 (en) Communication system, communication method, and authentication information providing server for confirming validity of access point
EP2282563B1 (en) Method for releasing a mobile communication card for the use of a servcie of a mobile communication network and user equipment for interaction with a mobile communication network
KR20090106103A (en) System and Method for Managing Smart Card Information
CN106612131B (en) Information exchange method and device
Maxa et al. Near field communication interface for a packet-based serial data transmission using a dual interface EEPROM
CN113455025A (en) Method for SSP terminal to interoperate between bundle downloading process and ESIM configuration file downloading process
KR20150019971A (en) Method for Providing Duplex Interchange of Information by using Near Field Communication

Legal Events

Date Code Title Description
122 Ep: pct application non-entry in european phase

Ref document number: 13806982

Country of ref document: EP

Kind code of ref document: A2