WO2014146563A1 - 一种基于近场通信的连接切换方法及相应装置 - Google Patents
一种基于近场通信的连接切换方法及相应装置 Download PDFInfo
- Publication number
- WO2014146563A1 WO2014146563A1 PCT/CN2014/073571 CN2014073571W WO2014146563A1 WO 2014146563 A1 WO2014146563 A1 WO 2014146563A1 CN 2014073571 W CN2014073571 W CN 2014073571W WO 2014146563 A1 WO2014146563 A1 WO 2014146563A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- connection
- zeroth
- idle
- resource
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 215
- 230000006854 communication Effects 0.000 title claims abstract description 65
- 238000004891 communication Methods 0.000 title claims abstract description 62
- 230000008569 process Effects 0.000 claims abstract description 153
- 230000004044 response Effects 0.000 claims abstract description 100
- 230000000977 initiatory effect Effects 0.000 claims abstract description 18
- 230000004913 activation Effects 0.000 claims description 141
- 230000009471 action Effects 0.000 claims description 64
- 238000012545 processing Methods 0.000 claims description 49
- 230000001960 triggered effect Effects 0.000 claims description 14
- 238000001994 activation Methods 0.000 description 108
- 238000010586 diagram Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000013459 approach Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 101150011263 Tap2 gene Proteins 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000009849 deactivation Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005674 electromagnetic induction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0079—Transmission or use of information for re-establishing the radio link in case of hand-off failure or rejection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/03—Reselecting a link using a direct mode connection
- H04W36/035—Reselecting a link using a direct mode connection in self-organising networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a connection switching method based on near field communication and a corresponding device. Background technique
- NFC Near Field Communication
- RFID radio frequency identification
- the peer-to-peer (P2P) mode of operation is a major two-way interaction protocol defined in the NFC standard.
- the primary protocol used by the two NFC terminals to establish a data link layer link during the interaction in this mode of operation is the Logical Link Control Protocol (LLP).
- LLP Logical Link Control Protocol
- NFCC NFC controller
- DH device host
- the NCI specification also specifically defines the method of configuring NFCC for DH.
- NFC connection switching technique For two NFC terminals, if they have matching bearers (ie: they support at least one of the same bearers, eg Bluetooth or Wi-Fi), then they can work in P2P by touching the singles In the mode, Bluetooth and/or Wi-Fi connection configuration information is exchanged through NFC communication, thereby quickly establishing a Bluetooth or Wi-Fi connection between terminals.
- This technique of switching connection configuration information through NFC communication and quickly establishing a second type of connection is an NFC connection switching technique.
- the NFC Forum proposed in the draft Connection Handover 1.3 through a mobile NFC terminal (such as mobile phones, tablets, etc.) as a switching medium. To assist the two terminals in completing the connection switch to establish a Bluetooth or Wi-Fi connection.
- the prior art has the following problems: When the latter has no connection resources available for establishing a connection, the latter connection configuration information is still fed back to the former, and the Bluetooth and/or Wi-Fi module is triggered to try. Establishing a wireless connection (in this case, even if Bluetooth and/or Wi-Fi modules are triggered, the two parties cannot successfully establish a connection), the communication efficiency is low; there is no guarantee that the connection switching selector can use the connection configuration information to establish a connection. Connect resources; poor user experience. Summary of the invention
- the technical problem to be solved by the embodiments of the present invention is to provide a connection switching method and a corresponding device based on the near field communication, which are used to solve the problem that the NFC terminal cannot reasonably control whether to feed back the connection configuration information to other terminals in the prior art.
- the following technical problems There is no guarantee that the connection switching selector will have connection resources available for establishing a connection when feeding back its connection configuration information; communication efficiency is low; user experience is poor.
- a connection switching method based on near field communication including:
- the zeroth terminal acquires idle connection resource information of the zeroth terminal
- the idle connection resource information of the zeroth terminal includes: a number of idle Bluetooth connection resources, and/or a number of idle Wi-Fi connection resources.
- the first connection switching request carries a first identifier for identifying the first terminal; the first terminal is specifically a switching medium for assisting the zeroth terminal to establish a connection with the second terminal;
- the zeroth terminal has an idle connection resource, and the method further includes: the zeroth terminal reserves connection resources for the second terminal to update idle connection resource information of the zeroth terminal; and sends the first connection After the medium message is switched and the connection resource is reserved for the second terminal, the method further includes: receiving, by the third terminal, a second connection switching request, where the third terminal establishes a connection with the second terminal,
- the second connection switching request carries a second identifier for identifying the third terminal, and determining, according to the second identifier and the first identifier, whether the third terminal and the first terminal are the same terminal, and further determining Whether to feed back the connection configuration information of the zeroth terminal to the third terminal.
- the determining whether to feed back the connection configuration information of the zeroth terminal to the third terminal includes: when the third terminal and the first terminal are the same terminal, The third terminal sends a second connection switching medium message, where the second connection switching medium message includes connection configuration information of the zeroth terminal; when the third terminal is not the same terminal as the first terminal, The idle terminal resource that reserves the connection resource for the second terminal determines whether the connection configuration information of the zeroth terminal is fed back to the third terminal.
- the third terminal has an idle connection resource, if the third terminal is a connection handover requester, sending a second connection handover selection message to the third terminal, where the second connection handover selection message includes a connection configuration information of the zeroth terminal; if the third terminal is a handover medium, sending a fourth connection handover medium message to the third terminal, where the fourth connection handover medium message includes the zeroth terminal Connection configuration information.
- a seventh possible implementation manner of the first aspect is further provided, where the first connection handover selection message includes: The connection resource is limited by the error code and the reason value.
- an eighth possible implementation manner of the first aspect is further provided, where the first device activation request further carries a identifier for identifying the first terminal. a third identifier; the first terminal is specifically a switching medium for assisting the zeroth terminal to establish a connection with the second terminal; if it is determined that the zeroth terminal has an idle connection resource, the method further includes: The zeroth terminal reserves a connection resource for the second terminal to update the zeroth The idle connection resource information of the terminal; after the first device activation response is sent and the connection resource is reserved for the second terminal, before the zeroth terminal establishes a connection with the second terminal, the method further includes :
- the second device activation request carries the second action identifier and the fourth identifier, where the fourth identifier is used to identify the third terminal; Determining whether a connection switching process needs to be performed; determining whether the third terminal and the first terminal are the same terminal according to the fourth identifier and the third identifier, and further determining whether to send a second device activation response to the third terminal.
- Determining, according to the idle connection resource information of the zeroth terminal, whether the zeroth terminal has an idle connection resource comprises: the near field communication controller NFCC of the zeroth terminal according to the configuration configured by the main controller DH
- the idle connection resource information of the zeroth terminal determining whether the zeroth terminal has an idle connection resource; the first terminal configuring the first action identifier and the third identifier to the NFCC through the DH, so as to send the a first device activation request; the second action identifier and the fourth identifier of the second device activation request are configured by the third terminal to the NFCC through the DH, and the second device activation request is sent by the NFCC.
- determining whether to send the second device to the third terminal Activation responses include:
- connection configuration information of the zeroth terminal if the third terminal is not the same terminal as the first terminal, determining, according to the idle connection resource after the zeroth terminal reserves the connection resource for the second terminal Determining whether the zeroth terminal has an idle connection resource, and if yes, sending the second device activation response, so as to perform a connection handover process with the third terminal, and provide feedback to the third terminal during the connection handover process. Connection configuration information of the zeroth terminal; otherwise, the second device activation response is not sent.
- a twelfth possible implementation manner of the first aspect is further provided, if the first terminal is a connection handover requester , then:
- the request message is a third connection switching request for initiating a connection handover process; the response message is a third connection handover selection message including connection configuration information of the zeroth terminal; or, the request message is carrying
- the third device identifies the third device activation request, so that the zeroth terminal determines, according to the third action identifier, that a connection handover process needs to be performed, where the third action identifier is configured by the first terminal to the NFCC through the DH to pass
- the NFCC sends the third device activation request; the response message is a third device activation response, so as to perform a connection handover process with the first terminal and feed back the zeroth to the first terminal during the connection handover process.
- connection configuration information of the terminal determining, according to the idle connection resource information of the zeroth terminal, whether the zeroth terminal has an idle connection resource, the NFCC of the zeroth terminal according to the zeroth configured by the DH
- the idle connection resource information of the terminal determines whether the zeroth terminal has an idle connection resource.
- a first receiving unit configured to receive a request message sent by the first terminal, where the request message is used to initiate a connection switching process, or used to notify the zeroth terminal that a connection switching process is required;
- the request message determines that the first determining unit needs to be triggered;
- the first determining unit is configured to determine, according to the idle connection resource information of the zeroth terminal, whether the zeroth terminal has an idle connection resource, and if yes, triggering the first sending a unit; if not, the connection switching device does not feed back the connection configuration information of the zeroth terminal to the first terminal;
- a first sending unit configured to send a response message to the first terminal, to feed back, to the first terminal, connection configuration information of the zeroth terminal.
- the idle terminal of the zeroth terminal The resource information includes: the number of idle Bluetooth connection resources, and/or the number of idle Wi-Fi connection resources.
- the first receiving unit is specifically configured to: when the first terminal is a switching medium, receive a first connection switching request that is sent by the first terminal to initiate a connection switching process; When the first terminal is a switching medium, send, to the first terminal, a first connection switching medium message that includes connection configuration information of the zeroth terminal, where the connection configuration information of the zeroth terminal includes: The Bluetooth connection configuration information of the zeroth terminal, and/or the Wi-Fi connection configuration information.
- the first receiving unit is specifically configured to: when the first terminal is a switching medium, receive a first device activation request that is sent by the first terminal to initiate a device activation request, where the first device activation request carries
- the first determining unit is configured to: when the first terminal is a switching medium, determining, according to the first action identifier, that the connection switching process needs to be performed, triggering the first determining unit;
- the first sending unit is specifically configured to: when the first terminal is a switching medium, send a first device activation response to the first terminal, to perform a connection switching process with the first terminal, and in a connection switching process
- the connection configuration information of the zeroth terminal is fed back to the first terminal, and the connection configuration information of the zeroth terminal includes: Bluetooth connection configuration information of the zeroth terminal, and/or Wi-Fi connection configuration information.
- a fifth possible implementation manner of the second aspect is further provided, where the second processing unit includes:
- a first determining module configured to determine, according to the second identifier and the first identifier, whether the third terminal and the first terminal are the same terminal, and if yes, triggering the first sending module, otherwise triggering the first processing module a first sending module, configured to send a second connection switching medium message to the third terminal, where the second connection switching medium message includes connection configuration information of the zeroth terminal;
- the idle terminal resource that reserves the connection resource for the second terminal determines whether the connection configuration information of the zeroth terminal is fed back to the third terminal.
- the first processing module includes:
- a first determining sub-module configured to determine, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, whether the zeroth terminal has an idle connection resource, and when it is determined to be absent, triggering the first Transmitting a sub-module, otherwise triggering the second sending sub-module;
- the first sending sub-module configured to send, when the third terminal is a connection switching requester, a first connection switching selection message to the third terminal to indicate the The connection resource of the zeroth terminal is limited; when the third terminal is the switching medium, the third connection switching medium message including only the message header and the message tail is sent to the third terminal; the second sending submodule is used for And sending, by the third terminal, a second connection handover selection message to the third terminal, where the second connection handover selection message includes connection configuration information of the zeroth terminal; When the three terminals are switching media, sending a fourth connection switching medium message to the third terminal, where the fourth connection switching media message includes the connection of the zeroth terminal Connect to the configuration information.
- a seventh possible implementation manner of the second aspect is further provided, where the first connection switching selection message includes: The error code and cause value of the connection resource of the zeroth terminal are limited.
- the eighth possible implementation manner of the second aspect is further provided, where the acquiring unit includes: a first configuration module, configured to pass the zeroth The primary controller DH of the terminal configures the idle connection resource information of the zeroth terminal to the near field communication controller NFCC, so that the first determining unit determines the zeroth terminal according to the idle connection resource information of the zeroth terminal. Is there an idle connection resource?
- a ninth possible implementation manner of the second aspect is further provided, where the first device activation request is further carried to identify the a third identifier of the first terminal; the device further includes:
- a third processing unit configured to: when the first terminal is a switching medium for assisting the zeroth terminal to establish a connection with the second terminal, determining, by the first determining unit, that the zeroth terminal is idle When the resource is connected, the connection resource is reserved for the second terminal to update the idle connection resource information of the zeroth terminal; the third receiving unit is configured to send the first device activation response and the After the second terminal reserves the connection resource, before the zeroth terminal establishes a connection with the second terminal, receiving a second device activation request sent by the third terminal, where the second device activation request carries the second action identifier and a fourth identifier, the fourth identifier is used to identify the third terminal, and the third determining unit is configured to determine, according to the second action identifier, that a connection switching process needs to be performed, thereby triggering a fourth processing unit; And determining, according to the fourth identifier and the third identifier, whether the third terminal and the first terminal are the same terminal, and determining whether to The third terminal sends a
- a second determining module configured to determine, according to the fourth identifier and the third identifier, whether the third terminal and the first terminal are the same terminal, and if yes, triggering the second sending module, otherwise triggering the third determining module a second sending module, configured to send the second device activation response, to perform a connection switching process with the third terminal, and feed back the connection configuration information of the zeroth terminal to the third terminal during the connection switching process; a third determining module, configured to determine, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, to determine whether the zeroth terminal has an idle connection resource, and if yes, trigger the Said second sending module; otherwise not touch hair.
- an eleventh possible implementation manner of the second aspect is further provided, where the apparatus further includes: And a unit, configured to reserve a connection resource for the third terminal.
- the first receiving unit is specifically configured to: receive, when the first terminal is a connection switching requester, a third connection switching request that is sent by the first terminal to initiate a connection switching process; Specifically, when the first terminal is a connection handover requesting party, sending, to the first terminal, a third connection switching selection message that includes connection configuration information of the zeroth terminal; or
- the acquiring unit includes: a second configuration module, configured to configure idle connection resource information of the zeroth terminal to the NFCC by using the DH of the zeroth terminal, so that the first determining unit determines whether the zeroth terminal is
- the first receiving unit is configured to: when the first terminal is a connection switching requester, receive a third device activation request that is sent by the first terminal and carries a third action identifier, so that The first determining unit determines that the connection switching process needs to be performed according to the third action identifier; the first sending unit is specifically configured to: when the first terminal is a connection switching requester, send the first terminal to the first terminal
- the third device activates a response to perform a connection handover process with the first terminal and feed back connection configuration information of the zeroth terminal to the first terminal during the connection handover process.
- a sending unit configured to send a request message to the zeroth terminal, where the request message is used to initiate a connection switching process, or used to notify the zeroth terminal that a connection switching process is required; wherein the request message carries a terminal identifier, where The terminal identifier is used to identify the sender of the request message, so that the zeroth terminal identifies the sender of the request message according to the terminal identifier.
- the request message is a connection switching request, and is used to initiate a connection switching process; or the request message is a device activation request carrying an action identifier, so that the zeroth
- the terminal determines, according to the action identifier, that a connection switching process needs to be performed.
- the device further includes: a configuration unit, configured to configure the NFCC by using DH a terminal identifier and the action identifier, so that the sending unit sends the device activation request.
- the device further includes: a receiving unit, configured to receive the a response message sent by the zeroth terminal after receiving the request message, where: in a case that the request message is the connection handover request, if the zeroth terminal has an idle connection resource, the response message includes Connection configuration information of the zeroth terminal (for example, the response message may be a first connection switching selection message including an error code and a cause value indicating that the connection resource is limited, or may include only a message header and a message tail Third connection switching medium message), otherwise, does not include connection configuration information of the zeroth terminal; in case the request message is the device activation request, and when the zeroth terminal has idle connection resources, The response message is a device activation response.
- a receiving unit configured to receive the a response message sent by the zeroth terminal after receiving the request message, where: in a case that the request message is the connection handover request, if the zeroth terminal has an idle connection resource, the response message includes Connection configuration information of the zeroth terminal (for example, the response message may be a first connection switching selection
- FIG. 1 is a schematic flow chart of a connection switching method based on near field communication according to an embodiment of the present invention
- 2A is a flow chart showing a method of connection switching based on near field communication according to an embodiment of the present invention
- FIG. 2B is a schematic diagram of a format of a connection handover request message according to an embodiment of the present invention
- FIG. 3A and FIG. 3B are schematic flowcharts of a connection handover method based on near field communication according to an embodiment of the present invention
- FIG. 4 is a schematic flow chart of a connection switching method based on near field communication according to an embodiment of the present invention
- 5A and 5B are schematic flowcharts of a connection switching method based on near field communication according to an embodiment of the present invention.
- FIG. 6 is a schematic structural view of a connection switching device according to an embodiment of the present invention
- FIG. 7 is a schematic structural view of a connection switching device according to an embodiment of the present invention
- FIG. 8 is a connection switching device according to an embodiment of the present invention.
- FIG. 9A is a schematic structural diagram of an NFC terminal according to an embodiment of the present invention.
- FIG. 9B is a schematic structural diagram of an NFC terminal according to an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a connection switching apparatus according to an embodiment of the present invention
- FIG. 11 is a schematic structural diagram of an NFC terminal according to an embodiment of the present invention. detailed description
- NFC working mode Card emulation mode (NFC terminal emulates itself as an NFC-compliant card, read by other NFC reading devices), peer-to-peer mode (two equivalent NFC devices, in compliance with NFC standards) Two-way interaction of information), card reader mode (NFC terminal as a card reader, to read information from other NFC-compliant cards).
- NFC Connection Handover An NFC-based application technology. For terminals that support NFC and support Bluetooth and/or Wi-Fi, you can use NFC to exchange the Bluetooth and/or Wi-Fi connection configuration information of the device to quickly establish a Bluetooth connection or Wi-Fi connection between the terminals.
- the technique of using NFC to exchange configuration information and establish a second connection is NFC connection switching.
- Alternative Carrier A wireless communication technology that can be used to exchange data between a connection switch requester and a connection switch selector.
- NFC Data Exchange Format record (NDEF record): Contains a payload described by a type, a certain length, and an optional identifier.
- DH Device Host
- NFC controller A logical entity responsible for transmitting data on the NFC radio interface. Take the NFC-enabled mobile phone as an example. NFCC refers to the NFC chip on the mobile phone. In the present invention, the NFCC can work by acquiring the power provided by the POS machine through the passive communication mode.
- NFC controller interface NCI: A logical interface between DH and NFCC, which provides various interfaces for configuring NFCC for DH.
- FIG. 1 is a schematic flow chart of a connection switching method based on near field communication according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
- the zeroth terminal acquires idle connection resource information of the zeroth terminal.
- the idle connection resource information of the zeroth terminal includes: information about the connection resource that is not used by the zeroth terminal and that is not reserved.
- Step 102 Receive a request message sent by the first terminal, where the request message is used to initiate a connection handover process, or is used to notify the zeroth terminal that a connection handover process is required.
- the first terminal may serve as a connection handover requestor or a handover medium. It should be understood by those skilled in the art that the zeroth terminal may determine the identity of the first terminal according to the bearer content in the request message, which is not limited by the present invention.
- the connection configuration information of the zeroth terminal includes: Bluetooth connection configuration information of the zeroth terminal, and/or Wi-Fi connection configuration information.
- the request message is a connection switching request
- the response message is a connection switching medium message that includes connection configuration information of the zeroth terminal
- the The first terminal feedbacks the connection configuration information of the zeroth terminal, including: sending a connection handover medium message to the first terminal, where the message does not include connection configuration information of the zeroth terminal.
- the request message is a device activation request
- the response message is a device activation response
- the connection configuration information of the zeroth terminal is not fed back to the first terminal.
- the method includes: not transmitting a device activation response to the first terminal.
- the request message is a third connection handover request for initiating a connection handover process; and the response message is connection configuration information including the zeroth terminal.
- the third connection switching selection message; the notifying the connection configuration information of the zeroth terminal to the first terminal includes: sending a connection handover selection message to the first terminal, where the message includes the zeroth terminal.
- the connection resource is limited by the error code and the reason value.
- the request message is a third device activation request that carries a third action identifier, so that the zeroth terminal determines that a connection switch needs to be performed according to the third action identifier.
- the response message is a third device activation response, so as to perform a connection handover process with the first terminal and feed back connection configuration information of the zeroth terminal to the first terminal during the connection handover process;
- the feeding back the connection configuration information of the zeroth terminal to the first terminal includes: not sending a device activation response to the first terminal.
- if it is determined in 104 that the zeroth terminal has an idle connection resource, not only sending a response message to the first terminal, but also performing a reserved connection resource operation include: If the first terminal is a connection handover requester, reserve connection resources for the first terminal to update the idle connection resource information of the zeroth terminal. If the first terminal is a switching medium for assisting the zeroth terminal to establish a connection with the second terminal, reserve a connection resource for the second terminal to update the idle connection resource information of the zeroth terminal.
- the purpose of updating the idle connection resource of the zeroth terminal is: establishing a connection between the zeroth terminal and the first terminal (or by the assistance of the first terminal and the second terminal) For example, after the first zero terminal receives the request message sent by the third terminal, determining, according to the idle connection resource information after the zeroth terminal reserves the connection resource, whether to go to the third The terminal feeds back the connection configuration information of the zeroth terminal.
- the zeroth terminal determines whether to feed back the connection configuration information to the first terminal according to the idle connection resource, and ensures that the zeroth terminal has an idle connection resource when feeding back the connection configuration information to the first terminal; For the case where the zeroth terminal has no idle connection resources before receiving the request message, the zeroth terminal may directly determine not to feed back the connection configuration information to the first terminal, so that the Bluetooth and/or Wi of the zeroth terminal is not triggered.
- the -Fi module performs an attempt to establish a connection, which improves communication efficiency and improves user experience.
- the third terminal touches or approaches the zeroth terminal before the zeroth terminal establishes a connection with the second terminal (the zeroth terminal is the object that the switching medium touches or approaches for the first time)
- the third terminal The Bluetooth and/or Wi-Fi connection configuration information of the zeroth terminal is obtained.
- the zero terminal currently has only the only idle Bluetooth or Wi-Fi connection resources, the third terminal that is unexpectedly will preempt the content.
- the connection resources to the second terminal should be reserved, resulting in failure of the Bluetooth or Wi-Fi connection of the zeroth terminal and the second terminal.
- the method further includes: the zeroth terminal receiving the request sent by the third terminal
- the message eg, receiving a connection handover request or a device activation request sent by the third terminal
- FIG. 2A is a schematic flowchart of a connection switching method based on near field communication according to an embodiment of the present invention. Referring to FIG. 2A, the method includes:
- the zeroth terminal acquires idle connection resource information of the zeroth terminal.
- the present embodiment does not limit the chronological order of executions 200 and 202, for example: 200 may be after 202 and performed before 204.
- a switching medium in this case, the first terminal is used as a switching medium, and is used to assist the zeroth terminal to establish a connection with the second terminal
- Receive a switching medium (in this case, the first terminal is used as a switching medium, and is used to assist the zeroth terminal to establish a connection with the second terminal) to send a first connection switching request for initiating a connection switching process, thereby determining that the need is performed.
- the connection is switched, and execution 204 is performed, where the first connection switching request carries a first identifier for identifying the switching medium.
- connection configuration information of the zeroth terminal includes: a Bluetooth connection of the zeroth terminal
- the configuration information and/or the Wi-Fi connection configuration information may be connected.
- connection configuration information of other connection technologies may also be included.
- the second connection switching request sent by the third terminal is received, and the second connection switching request is carried to identify the third terminal.
- the second logo is a registered trademark of the second terminal.
- the identity of the third terminal includes: a switching medium or a connection switching requester.
- the zeroth terminal may determine the identity of the third terminal according to the bearer content in the second connection handover request message.
- 208 includes the following two scenarios:
- Scenario 1 When the third terminal and the switching medium are the same terminal, the second connection switching medium message including the connection configuration information of the zeroth terminal is sent to the third terminal.
- Scenario 2 When the third terminal is not the same terminal as the switching medium, determining, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, whether to feed back to the third terminal The connection configuration information of the zeroth terminal is described.
- determining, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, whether the zeroth terminal has an idle connection resource including the following conditions:
- the method provided in this embodiment can also: reserve connection resources for the second terminal to avoid connection resources. Preempting the phenomenon, so as to ensure that the zeroth terminal and the second terminal successfully establish a connection; and identifying and distinguishing the third terminal and the switching medium according to the terminal identifier (for example, the first identifier and the second identifier), Therefore, when the third terminal is the switching medium that sends the first connection switching request, the connection resource is repeatedly reserved for the second terminal; according to the identity of the third terminal and the zeroth terminal.
- the terminal identifier for example, the first identifier and the second identifier
- 3A and 3B are flow diagrams of a connection switching method based on near field communication according to an embodiment of the present invention, the entire process including a first touch (Tapl) and a second touch (Tap2) process.
- Step 1 Switching the medium (at this time, the first terminal as a switching medium) sends a connection switching request message (bearing type "Hm" indicating that the other party is a switching medium, instead of switching the requesting party), which includes the switching medium, to the zeroth terminal.
- Identification information ID - INFO is a part of the switching medium.
- step 3b If no, perform step 3b and subsequent steps.
- Step 6 The zero terminal determines whether the third terminal and the switching medium are the same terminal, that is, whether ID_INFO in step 1 is the same as ID_INFO in step 5.
- the zeroth terminal resends the connection switching medium message sent in step 3b to the other party (in this case, X is not required to be decremented by 1).
- the zeroth terminal sends a connection switching selection message to the third terminal (when the third terminal acts as a connection switching requestor) or connects the switching medium message (when the third terminal is used as the switching medium) Time).
- the connection switching selection message and the connection switching media message include Bluetooth connection configuration information of the zeroth terminal.
- the zeroth terminal acquires the number of idle Bluetooth connection resources X, and establishes a connection reservation resource by establishing a connection between the zeroth terminal and other devices by using the value of the control X, thereby avoiding that the zeroth terminal has only a unique idle connection resource. And the zeroth terminal has already fed back the connection configuration information to the switching medium (the switching medium is used to assist the zeroth terminal to establish a connection with the second terminal), the unique idle connection resource is preempted by the third terminal, and the first The zero terminal successfully establishes a connection with the second terminal to improve user experience.
- the terminal identification ID_INFO (the first identifier and the second identifier are both terminal identifiers) are new parameters added to the additional data field pointed to by an additional data pointer in the ac record (ac record (s)), the additional The data field is located on the payload of the NDEF record, which is 1 octet (octet), and the format definition is as shown in Table 1:
- connection switching request message format is as shown in Fig. 2B.
- the zeroth terminal When the third terminal touches or approaches the zeroth terminal as the connection handover requester, if the zeroth terminal has no idle connection resources except the reserved connection resources, the zeroth terminal needs to feed back the error code and the reason to the third terminal.
- the error code and reason are defined as follows:
- An 8-bit unsigned integer used to indicate that the connection is sent back to the peer.
- connection switching method based on near field communication includes:
- the zeroth terminal acquires idle connection resource information of the zeroth terminal. For details, please refer to the description of 200 above.
- the method 400 includes: the primary controller DH of the zeroth terminal configures idle connection resource information of the zeroth terminal to its near field communication controller NFCC, according to the NFCC according to the zeroth
- the idle connection resource information of the terminal determines whether the zeroth terminal has an idle connection resource. Further optionally, the idle connection resource information of the zeroth terminal is updated by its NFCC.
- the first terminal is used as a switching medium, and the first zero terminal is used to establish a connection between the first terminal and the second terminal
- the first The device activation request carries a first action identifier and a third identifier for identifying the handover medium, so that the zeroth terminal determines that a connection handover process needs to be performed according to the first action identifier, thereby determining to perform 404.
- the switching medium configures the first action identifier and the third identifier to the NFCC through the DH, so as to send the first device activation request by using the NFCC.
- connection handover process includes a process of radio frequency interface activation, LLCP activation, and data exchange, in the data exchange process.
- a feedback of the connection configuration information is performed, and a connection resource is reserved for the second terminal to update the idle connection resource information of the zeroth terminal.
- the identity of the third terminal includes: a switching medium or a connection switching requester.
- the third terminal configures the second action identifier and the fourth identifier to the NFCC through the DH, so as to send the second device activation request by using the NFCC.
- 410 includes two scenarios:
- Scenario 1 The third terminal and the switching medium are the same terminal, and then send the second device activation response, so as to perform a connection switching process with the third terminal, and to the third terminal during the connection switching process.
- the connection configuration information of the zeroth terminal is fed back.
- the second device activation response is sent by the NFCC of the zeroth terminal.
- Scenario 2 The third terminal and the switching medium are not the same terminal, and determining, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, determining whether the zeroth terminal has The idle connection resource, if any, sends the second device activation response; otherwise it is not sent.
- the zeroth terminal reserves a connection resource for the third terminal, or, when the third terminal is a handover medium, The fourth terminal that establishes a connection between the third terminal and the zeroth terminal reserves connection resources to avoid a potential resource preemption problem.
- the method provided in this embodiment can directly determine that the device activation request sent by the switching medium or the third terminal is not directly determined when the zeroth terminal has no idle connection resources. Subsequent processes such as LLCP activation and data exchange will not be performed, that is, the NFC communication process is terminated early, so that feedback of the connection configuration information is not performed, and the Bluetooth and/or Wi-Fi module of the zeroth terminal is attempted to establish a connection, etc. The process greatly saves communication time and improves communication efficiency.
- 5A and 5B are connection switching parties based on near field communication according to an embodiment of the present invention.
- Schematic diagram of the process, the overall process includes the first touch (Tapl) and the second touch (Tap2) process.
- the first touch process, the zeroth terminal and the switching medium (used to assist the zeroth terminal to establish a connection with the second terminal) communicate through the P2P working mode, including none, the zeroth terminal and the third terminal support Bluetooth and Wi-Fi modules):
- Step 0 The DH of the zeroth terminal acquires the values of the current idle connection resource information X and y, where X represents the number of currently idle Bluetooth connection resources, and y represents the number of currently idle Wi-Fi connection resources.
- Step 1 Configure the parameter procedure
- the DH of the zeroth terminal configures the currently idle Bluetooth connection resource information HO_BT_CONN_INFO and/or Wi-Fi connection resource information HO WIFI CON INFO (HO BT CON INFO) to its NFCC through the CORE_SET_CONFIG_CMD command.
- the update operation of HO WIFI CON INFO can be performed at NFCC); the DH of the switching medium configures the terminal identification ID_INFO information and action flag information ACT_FLAG to its NFCC through the CORE_SET-CONFIG-CMD command.
- the NFCC For the zeroth terminal and the switching medium, after the NFCC receives the configuration command and successfully configures it, it feeds back the CORE_SET_CONFIG_RSP response to the DH to indicate that the configuration is successful.
- step 0 and step 1 are performed after step 4a and before step 5.
- Step 2 RF Discovery Process
- the DH of the switching medium triggers the NFCC to initiate the radio frequency discovery process through the RF-DISCOVER-CMD command; the NFCC sends a feedback response to the DH RF-DISCOVER-RSP, which is used to indicate that the radio frequency discovery process is in progress.
- Step 3 The NFCC of the switching medium sends a device activation request to the zeroth terminal, an ATR_REQ request, which includes ID_INFO information and ACT_FLAG information.
- Step 4 After receiving the ATR_REQ request, the NFCC of the zero terminal determines whether the other party's intention is a connection switch according to the ACT_FLAG.
- step 6 If no, go to step 6, then skip to step 8 and continue until the Tapl process ends.
- the zeroth terminal can directly respond to the other party's ATR_RES and subsequent data exchange without performing the subtraction 1 operation in step 7 below.
- Step 5 The NFCC of the zeroth terminal judges whether there is no idle connection resource according to its current idle connection resource (that is, whether there is x 0 and y 0 ).
- the zeroth terminal may determine that it needs to feed back Bluetooth or Wi-Fi connection configuration information according to the provisions of the existing protocol, and then determine according to the corresponding X or y.
- step 6 If no, proceed to step 6 and continue.
- the NFCC of the zeroth terminal responds to the switching medium feedback device activation response with an ATR RES response.
- the NFCC notifies the DH radio interface activation via RF-INTF-ACTIVATED-NTF, RF-INTF-ACTIVATED-NTF contains the received ATR-REQ (including ID_INFO and ACT-FLAG);
- the NFCC notifies the DH radio interface activation via RF-INTF-ACTIVATED-NTF, RF-INTF-ACTIVATED-NT contains the received ATR-RES.
- Step 7 X or y is correspondingly decremented.
- Step 8 The LLCP activation process.
- Step 9 Data exchange process.
- Step 10 The LLCP deactivation process.
- Step 11 The RF interface is deactivated.
- the zeroth terminal can prepare to establish a Bluetooth or Wi-Fi connection with the second terminal. Before the connection between the two terminals is received, the zeroth terminal receives the connection switching request sent by the third terminal, and the processing procedure is as shown in FIG. 5B, including :
- Step 12 Configure the parameter process
- the DH of the third terminal configures its terminal identification information ID_INFO and action flag information ACT_FLAG to the NFCC through CORE_SET_CONFIG_CMD;
- Step 13 RF Discovery Process
- the DH of the third terminal triggers the NFCC to initiate the radio frequency discovery process through the RF-DISCOVER-CMD command; the NFCC sends a feedback response to the DH RF-DISCOVER-RSP, which is used to indicate that the radio frequency discovery process is in progress.
- Step 14 The third terminal determines and sends an ATR_REQ request to the zeroth terminal through the NFCC, where the ID_INFO information and the ACT_FLAG information are included.
- Step 15 After receiving the request through the NFCC, the zeroth terminal determines whether the other party's intention is a connection switch according to ACT_FLAG.
- step 16 If yes, proceed to step 16 and continue;
- step 15b If no, go to step 17, then skip to step 19 and continue.
- Step 16 The zero terminal determines whether the third terminal and the switching medium are the same terminal, that is, whether ID_INFO in step 1 is the same as ID_INFO in step 12.
- step 16a If yes, proceed to step 17 and then skip to step 19 and continue;
- the zeroth terminal determines whether x 0 and y 0; when the third terminal acts as the connection handover requesting party, the zeroth terminal may be supported according to the third terminal simultaneously The idle connection resource information of the bearer is judged.
- the zeroth terminal feeds back the device activation response to an ATR_RES response through the NFCC to the third terminal.
- the NFCC notifies the DH radio interface activation via RF-INTF-ACTIVATED-NTF, which contains the received ATR-REQ (including ID_INFO and
- the NFCC notifies the DH radio interface activation via RF-INTF-ACTIVATED-NTF, which contains the received ATR-RES.
- Step 18 - Step 22 is the same as Step 7 - Step 11 in Figure 5A.
- the method provided in this embodiment can also terminate the NFC early when the zeroth terminal has no idle connection resources by controlling the values of X and/or y.
- the communication flow (the principle is the same as the embodiment shown in Figure 4) avoids the Bluetooth and/or Wi-Fi module attempting to establish a wireless connection, etc., which greatly saves communication time and improves communication efficiency.
- FIG. 5B illustrate the case where the first terminal is used as the terminal medium, and those skilled in the art should understand that the processing ideas provided by the foregoing embodiments are also applicable to the case where the first terminal is used as the connection switching requester. , and can achieve the corresponding technical effects, not to repeat here.
- the parameters added in the embodiment shown in FIG. 1, FIG. 4, FIG. 5A and FIG. 5B are: current idle connection resource information HO_BT_CONN_INFO (Bluetooth connection resource information) and/or HO WIFI CON INFO (Wi- Fi connection resource information), terminal identifier (for example: first identifier, second identifier) information ID_INFO and action identifier (for example: first action identifier) information ACT_FLAG.
- terminal identifier for example: first identifier, second identifier
- ID_INFO and action identifier for example: first action identifier
- PN-ATR-REQ-HO-MANAGE is as follows:
- the obtaining unit 61 is configured to acquire idle connection resource information of the zeroth terminal.
- the idle connection resource information of the zeroth terminal is obtained from the Bluetooth module and/or the Wi-Fi module.
- the idle connection resource information of the zeroth terminal includes: a number of idle Bluetooth connection resources, and/or a number of idle Wi-Fi connection resources.
- the first receiving unit 62 is configured to receive a request message sent by the first terminal, where the request message is used to initiate a connection handover process, or is used to notify the zeroth terminal that a connection handover process is required.
- the first terminal is a connection switching requestor or a switching medium.
- the first receiving unit 62 receives a first device activation request for initiating a device activation request, where the first device activation request carries a first action identifier;
- the first determining unit 63 determines that a connection switching process needs to be performed according to the first action identifier, and further triggers the first determining unit 64;
- the first sending unit 65 may send a first device activation response, so as to The first terminal performs a connection handover process and feeds back connection configuration information of the zeroth terminal to the first terminal during the connection handover process.
- the connection switching device 60 ensures that the zeroth terminal has idle connection resources when feeding back the connection configuration information to the first terminal; before the zeroth terminal receives the request message of the first terminal In the case that there is no idle connection resource, the zeroth terminal does not feed back the connection configuration information, thereby avoiding the process that the zeroth terminal's Bluetooth and/or Wi-Fi module attempts to establish a connection, improving communication efficiency, and improving user experience.
- the device 60 includes the first processing module 66, it can also perform an operation of reserving connection resources, thereby ensuring that the zeroth terminal and the first terminal (or assistance through the first terminal) The second terminal) successfully establishes a connection.
- the first determining unit 63 determines to trigger the first determining unit 64 after the first receiving unit 62 receives the first connection switching request.
- the first determining unit 64 when determining that the zeroth terminal has an idle connection resource according to the idle connection resource information of the zeroth terminal, triggers the first sending unit 65 and the first processing unit 71. (For the case where the zeroth terminal has no free connection resources, refer to the description in the embodiment shown in FIG. 6)
- the first processing unit 71 is configured to reserve connection resources for the second terminal to update idle connection resource information of the zeroth terminal.
- a second receiving unit 72 configured to: after the device 70 sends the first connection switching medium message and reserves connection resources for the second terminal, before the zeroth terminal establishes a connection with the second terminal And receiving a second connection switching request sent by the third terminal, where the second connection switching request carries a second identifier used to identify the third terminal.
- the second determining unit 73 is configured to determine to trigger the second processing unit 74 according to the second connection switching request.
- the second processing unit 74 is configured to determine, according to the second identifier and the first identifier, whether the third terminal and the switching medium are the same terminal, and further determine whether to feed back the zeroth terminal to the third terminal. Connection configuration information.
- the second processing unit 74 includes: a first determining module 741, configured to determine, according to the second identifier and the first identifier, the third terminal and the Whether the switching medium is the same terminal, if yes, triggering the first sending module 742, The first processing module 743 is then triggered.
- the first sending module 742 is configured to send, to the third terminal, a second connection switching medium message that includes connection configuration information of the zeroth terminal.
- the first processing module 743 is configured to determine, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, whether to feed back the connection configuration information of the zeroth terminal to the third terminal.
- the first processing module 743 includes:
- a first determining sub-module configured to determine, according to the idle connection resource that the zeroth terminal reserves the connection resource for the second terminal, whether the zeroth terminal has an idle connection resource, and when it is determined to be absent, triggering the first Send the submodule, otherwise trigger the second transmit submodule.
- a second sending submodule configured to: when the third terminal is a connection switching requester, send, to the third terminal, a second connection switching selection message that includes connection configuration information of the zeroth terminal; When the third terminal is the switching medium, the fourth terminal switching medium message including the connection configuration information of the zeroth terminal is sent to the third terminal.
- connection switching device 70 in addition to the technical effect of the first terminal as a switching medium, can also: reserve connection resources for the second terminal in addition to the embodiment shown in FIG. Avoiding the connection resource preemption phenomenon, ensuring that the zeroth terminal successfully establishes a connection with the second terminal; identifying the switching medium and the third terminal to avoid repeating the pre-preparation for the second terminal Retaining the connection resource; avoiding the connection resource preemption phenomenon when the third terminal establishes a connection with the third terminal (or when the third terminal establishes a connection with other terminals), improving the communication effect.
- FIG. 8 is according to the present invention. A schematic structural diagram of a connection switching device of an embodiment. Referring to FIG.
- the connection switching device 80 includes, in addition to the acquisition unit 61, the first receiving unit 62, the first determining unit 63, the first determining unit 64, and the first transmitting unit 65. Also included is a third processing unit 81, a third receiving unit 82, a third determining unit 83, and a fourth processing unit 84, wherein:
- the acquisition unit 61 please refer to the description in the embodiment shown in FIG. 6.
- the obtaining unit 61 includes a first configuration module, configured to configure, by using the primary controller DH of the zeroth terminal, the zeroth of the near field communication controller NFCC The idle connection resource information of the terminal, so that the first determining unit 64 determines, according to the idle connection resource information of the zeroth terminal, whether the zeroth terminal has an idle connection resource.
- the first receiving unit 62 receives a first device activation request for initiating a device activation request, which is sent by the switching medium (in this case, the first terminal serves as a switching medium, and is used to assist the zeroth terminal to establish a connection with the second terminal).
- the first device activation request carries a first action identifier and a third identifier for identifying the switching medium.
- the third processing unit 81 is configured to reserve connection resources for the second terminal to update idle connection resource information of the zeroth terminal.
- a third receiving unit 82 configured to: after the connection switching device 80 sends the first device activation response and reserves connection resources for the second terminal, at the zeroth terminal and the second terminal Before the connection is established, the second device activation request sent by the third terminal is received, where the second device activation request carries a second action identifier and a fourth identifier used to identify the third terminal.
- the connection switching device 80 further includes: a fifth processing unit 85, configured to reserve a connection resource for the third terminal.
- a fifth processing unit 85 configured to reserve a connection resource for the third terminal. For example, when the third terminal is a connection handover requester, and the zeroth terminal still has idle connection resources after reserving the connection resource for the second terminal, the fifth processing unit 85 is triggered.
- connection switching device 80 provided in this embodiment can directly determine that the device is not responding to the switching medium or the device activation sent by the third terminal when the zeroth terminal has no idle connection resources.
- the request will not perform the subsequent LLCP activation and data exchange process, that is, terminate the NFC communication process in advance, avoiding the process of Bluetooth and/or Wi-Fi of the zeroth terminal attempting to establish a wireless connection, which greatly saves communication time and improves communication. effectiveness.
- a processor 91 a processor 91, a memory 92 coupled to the processor 91, and an NFCC 93.
- the memory 92 stores a corresponding program, application, data or instruction for the processor 91 to call.
- the processor 91 communicates with the NFCC 93 through an NCI specification, and the NFCC 93 includes Receiver 931 and transmitter 932 for messaging, specifically:
- the NFCC 93 receives the request message sent by the first terminal by the receiver 931, and triggers the processor 91 to determine to perform a first determination according to the request message, where the request message is used to initiate a connection handover process or for Notifying the NFC terminal 90 that a connection connection process is required, the first determining is: determining whether the NFC terminal 90 has an idle connection resource according to the idle connection resource information of the NFC terminal 90;
- the processor 91 performs the first determination. If it is determined that the NFC terminal 90 has an idle connection resource, the transmitter 932 of the NFCC 93 sends a response message to the first terminal to the first terminal. The connection configuration information of the NFC terminal 90 is fed back; if it is determined that the NFC terminal 90 has no idle connection resources, the processor 91 determines not to feed back the connection configuration information of the NFC terminal 90 to the first terminal.
- the idle connection resource information of the NFC terminal 90 includes: a number of idle Bluetooth connection resources, and/or a number of idle Wi-Fi connection resources.
- the second connection switching medium including the connection configuration information of the NFC terminal 90 is sent to the third terminal by the transmitter 932 of the NFCC 93.
- Scenario 2 If the NFC terminal 90 has idle connection resources, if the third The terminal is a connection switching requester, and the second connection switching selection message including the connection configuration information of the NFC terminal 90 is sent to the third terminal by the transmitter 932 of the NFCC 93; if the third terminal is a handover The medium transmits a fourth connection switching medium message including the connection configuration information of the NFC terminal 90 to the third terminal through the transmitter 932 of the NFCC 93.
- the processor 91 implements the DH function of the NFC terminal 90.
- FIG. 9B is a schematic structural diagram of an NFC terminal according to an embodiment of the present invention.
- the NFC terminal 90' includes:
- the second processor 933 performs the first determination. If the NFC terminal 90 is determined to have an idle connection resource, the transmitter 932 sends a response message to the first terminal to the first terminal. The connection configuration information of the NFC terminal 90 is fed back; if the NFC terminal 90 is determined to have no idle connection resources, the second processor 933 determines not to feed back the NFC terminal 90' to the first terminal. Connection configuration information.
- the second processor 933 acquires The idle connection resource information of the NFC terminal 90 includes: the first processor 91, acquiring idle connection resource information of the NFC terminal 90, and configuring the NFC terminal 90 to the NFCC 93 according to an NCI specification, Idle connection resource information.
- the idle connection resource information of the NFC terminal 90 includes: the first processor 91, acquiring idle connection resource information of the NFC terminal 90, and configuring the NFC terminal 90 to the NFCC 93 according to an NCI specification, Idle connection resource information.
- the request message is a first device activation request for initiating a device activation request, where the first device is activated.
- the request carries the first action identifier, so that the NFC terminal 90 determines, according to the first action identifier, that a connection handover process needs to be performed, so as to determine that the first determination needs to be performed;
- the response message is a first device activation response, so that Performing a connection switching process with the first terminal and feeding back the connection configuration information of the NFC terminal 90 to the first terminal during the connection switching process, where the connection configuration information of the NFC terminal 90' includes: the NFC terminal 90' Bluetooth connection configuration information, and / or Wi-Fi connection configuration information.
- the following processing is further performed: the NFCC 93, Receiving, by the receiver 931, the second device activation request sent by the third terminal, and triggering the second processor 933 to perform a second determination, where the second device activation request carries the second action identifier and the fourth identifier
- the fourth identifier is used to identify the third terminal
- the second processor 933 determines, according to the second action identifier, the second determination, where the second determination is: according to the fourth
- the identifier and the third identifier determine whether the third terminal and the first terminal are the same terminal, and further determine whether the second device activation response is sent to the third terminal by using the transmitter 932.
- the third terminal and the first terminal are the same terminal, send the second device activation response, so as to perform a connection switching process with the third terminal and switch over the connection.
- the connection configuration information of the NFC terminal 90 is fed back to the third terminal; if not the same terminal, the idle connection resource after the connection resource is reserved for the second terminal according to the second processor 933 A determination is made to determine whether the NFC terminal 90 has an idle connection resource, and if so, the second device activation response is sent, otherwise it is not sent.
- the second processor 933 is further configured to reserve a connection resource for the third terminal, for example, the third terminal is a connection handover requesting party. Time).
- the first processor 91 implements the DH function of the NFC terminal 90'.
- the request message is a connection handover request, and is used to initiate a connection handover process; or, the request message is a device activation request that carries an action identifier, so that the zeroth terminal determines that a connection needs to be performed according to the action identifier. Switching process.
- the apparatus 100 further includes: a configuration unit 102, configured to configure, by using the DH, the terminal identifier and the action identifier to the NFCC, so that the sending unit 101 sends The device activation request.
- a configuration unit 102 configured to configure, by using the DH, the terminal identifier and the action identifier to the NFCC, so that the sending unit 101 sends The device activation request.
- the apparatus 100 further includes: a receiving unit 103, configured to receive a response message sent by the zeroth terminal after receiving the request message, where: the request If the message is the connection switching request, if the zeroth terminal has an idle connection resource, the response message includes connection configuration information of the zeroth terminal, otherwise the connection configuration information is not included; Where the request message is the device activation request, and when the zeroth terminal has an idle connection resource, the response message is a device activation response.
- a receiving unit 103 configured to receive a response message sent by the zeroth terminal after receiving the request message, where: the request If the message is the connection switching request, if the zeroth terminal has an idle connection resource, the response message includes connection configuration information of the zeroth terminal, otherwise the connection configuration information is not included; Where the request message is the device activation request, and when the zeroth terminal has an idle connection resource, the response message is a device activation response.
- the apparatus 100 provided in this embodiment is used for performing NFC communication with the zeroth terminal by connecting The handover request message or the device activation request message transmits its own terminal identifier to the zeroth terminal, so that the zeroth terminal identifies and distinguishes the terminal with which the NFC communication is performed according to the terminal identifier.
- the processor 111 the memory 112 connected to the processor 111, and the NFCC 113.
- the memory 112 stores corresponding programs, applications, data or signaling to be called by the processor 111, and the processor 111 communicates with the NFCC 113 through an NCI specification, and the NFCC 113 includes a transmitter 1131. specific:
- the processor 111 sends a request message to the zeroth terminal by using the transmitter 1131, where the request message is used to initiate a connection handover process, or is used to notify the zeroth terminal that a connection handover process is required; wherein the request message includes a terminal identifier, where the terminal identifier is used to identify a sender of the request message, so that the zeroth terminal identifies a sender of the request message according to the terminal identifier.
- the request message is a connection switch request for initiating a connection handover process; or, the request message is a device activation request that carries an action identifier, so that the zeroth terminal determines that a connection needs to be performed according to the action identifier. Switching process.
- the processor 111 configures the terminal identifier and the action identifier to the NFCC 113 according to an NCI specification, so as to send the device activation request by using the transmitter 1131 of the NFCC 113.
- processor 91 in FIG. 9A and the first processor 91 in FIG. 9B may be a central processing unit (CPU), and may also be other general-purpose processors and digital signal processors. (DSP), ASIC (off-the-shelf available) Programming gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like. Furthermore, there may be a function in which the terminal has the components of the embodiment shown in Figs. 9A, 9B and 11 at the same time.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016503528A JP6140357B2 (ja) | 2013-03-18 | 2014-03-18 | 近距離無線通信に基づく接続ハンドオーバー方法および対応する装置 |
KR1020157026445A KR101812042B1 (ko) | 2013-03-18 | 2014-03-18 | 니어 필드 통신에 기초한 접속 핸드오버 방법 및 대응하는 장치 |
EP14768358.5A EP2961220B1 (en) | 2013-03-18 | 2014-03-18 | Connection switching method and corresponding apparatuses based on near field communication |
US14/774,873 US9560565B2 (en) | 2013-03-18 | 2014-03-18 | Connection handover method based on near field communication, and corresponding apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310086370.7A CN104066135B (zh) | 2013-03-18 | 2013-03-18 | 一种基于近场通信的连接切换方法及相应装置 |
CN201310086370.7 | 2013-03-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014146563A1 true WO2014146563A1 (zh) | 2014-09-25 |
Family
ID=51553617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/073571 WO2014146563A1 (zh) | 2013-03-18 | 2014-03-18 | 一种基于近场通信的连接切换方法及相应装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US9560565B2 (zh) |
EP (1) | EP2961220B1 (zh) |
JP (1) | JP6140357B2 (zh) |
KR (1) | KR101812042B1 (zh) |
CN (1) | CN104066135B (zh) |
WO (1) | WO2014146563A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022132424A (ja) * | 2019-08-15 | 2022-09-08 | ブラザー工業株式会社 | 通信機器 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9674756B2 (en) * | 2015-04-02 | 2017-06-06 | Harman International Industries, Incorporated | Expedited handover between wireless carriers |
CN104822167B (zh) * | 2015-04-15 | 2018-11-06 | 宇龙计算机通信科技(深圳)有限公司 | 一种nfc载波切换的选择方法、装置和系统 |
US9961669B2 (en) * | 2016-04-27 | 2018-05-01 | Qualcomm Incorporated | Near field communication (NFC) to bluetooth handover |
CN106973358B (zh) * | 2017-02-28 | 2019-12-10 | 宇龙计算机通信科技(深圳)有限公司 | 一种通信连接方法及终端 |
US10419984B2 (en) * | 2017-06-19 | 2019-09-17 | GM Global Technology Operations LLC | Wireless device connection management |
JP6702916B2 (ja) | 2017-07-04 | 2020-06-03 | キヤノン株式会社 | 通信装置、外部装置、通信装置の制御方法、外部装置の制御方法、及び、プログラム |
CN113491167A (zh) * | 2019-03-07 | 2021-10-08 | 索尼集团公司 | 通信方法、通信系统和无线通信设备 |
CN112291123B (zh) * | 2019-07-24 | 2023-04-21 | 中兴通讯股份有限公司 | 基于邻居协商实现网络对通的方法及装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404861A (zh) * | 2011-06-30 | 2012-04-04 | 华为终端有限公司 | 控制用户接入网络的方法及便携式wifi热点设备 |
CN102714829A (zh) * | 2010-01-14 | 2012-10-03 | Lg电子株式会社 | 电子设备及其操作方法 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4941496B2 (ja) * | 2009-04-03 | 2012-05-30 | カシオ計算機株式会社 | 無線通信装置及びプログラム |
JP5310580B2 (ja) * | 2010-01-25 | 2013-10-09 | 富士通モバイルコミュニケーションズ株式会社 | 通信端末 |
US20110183614A1 (en) | 2010-01-25 | 2011-07-28 | Kabushiki Kaisha Toshiba | Communication terminal |
CN102771064B (zh) * | 2010-02-26 | 2015-09-30 | Lg电子株式会社 | 电子设备及其操作方法 |
US8224246B2 (en) * | 2010-05-10 | 2012-07-17 | Nokia Corporation | Device to device connection setup using near-field communication |
US8462734B2 (en) | 2010-10-20 | 2013-06-11 | Nokia Corporation | Wireless docking with out-of-band initiation |
US20120100803A1 (en) | 2010-10-20 | 2012-04-26 | Nokia Corporation | Delayed and conditional transport switch |
EP2739116B1 (en) * | 2011-07-25 | 2018-11-21 | LG Electronics Inc. | Electronic device and operating method thereof |
KR20150087841A (ko) * | 2012-10-29 | 2015-07-30 | 엘지전자 주식회사 | 엔에프씨를 이용한 와이파이 다이렉트 서비스 방법 및 이를 위한 장치 |
-
2013
- 2013-03-18 CN CN201310086370.7A patent/CN104066135B/zh active Active
-
2014
- 2014-03-18 JP JP2016503528A patent/JP6140357B2/ja active Active
- 2014-03-18 US US14/774,873 patent/US9560565B2/en active Active
- 2014-03-18 KR KR1020157026445A patent/KR101812042B1/ko active IP Right Grant
- 2014-03-18 WO PCT/CN2014/073571 patent/WO2014146563A1/zh active Application Filing
- 2014-03-18 EP EP14768358.5A patent/EP2961220B1/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102714829A (zh) * | 2010-01-14 | 2012-10-03 | Lg电子株式会社 | 电子设备及其操作方法 |
CN102404861A (zh) * | 2011-06-30 | 2012-04-04 | 华为终端有限公司 | 控制用户接入网络的方法及便携式wifi热点设备 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2961220A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022132424A (ja) * | 2019-08-15 | 2022-09-08 | ブラザー工業株式会社 | 通信機器 |
JP7388491B2 (ja) | 2019-08-15 | 2023-11-29 | ブラザー工業株式会社 | 通信機器 |
Also Published As
Publication number | Publication date |
---|---|
CN104066135B (zh) | 2017-12-29 |
US9560565B2 (en) | 2017-01-31 |
EP2961220A4 (en) | 2016-03-16 |
EP2961220B1 (en) | 2019-05-08 |
KR20150121186A (ko) | 2015-10-28 |
KR101812042B1 (ko) | 2017-12-26 |
CN104066135A (zh) | 2014-09-24 |
JP2016517222A (ja) | 2016-06-09 |
EP2961220A1 (en) | 2015-12-30 |
JP6140357B2 (ja) | 2017-05-31 |
US20160037413A1 (en) | 2016-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014146563A1 (zh) | 一种基于近场通信的连接切换方法及相应装置 | |
KR101624944B1 (ko) | 통신 접속을 구축하는 방법 및 장치 | |
US9544819B2 (en) | Electronic device and method for operating an electronic device | |
TWI617919B (zh) | 用於促進無線對接系統中的直接配對的設備和方法 | |
US9872129B2 (en) | Communication apparatus, method for controlling the same, and storage medium | |
EP3080704B1 (en) | Automatic internet sharing | |
CN103326749B (zh) | 一种nfc射频通信的控制方法、装置及系统 | |
EP2861037A1 (en) | Radio frequency communication method, device and terminal device for near field communication | |
EP4258710A1 (en) | Method for transmitting data in near field, device and system | |
JP6564070B2 (ja) | 近距離無線通信nfcにおいてデータパケット長を調整するための方法、装置、およびシステム | |
WO2014146229A1 (zh) | Nfc设备通信方法、装置和nfc设备 | |
CN103765791B (zh) | 近场通信射频发现控制方法、装置和终端设备 | |
JP2024537662A (ja) | チャネル構成方法、及び装置 | |
WO2014113960A1 (zh) | 近场通信射频发现控制方法、装置和终端设备 | |
KR20190021121A (ko) | 근거리 무선 통신 장치 및 방법 | |
Yue et al. | P2P File Transfer System Based on NFC | |
KR20190125963A (ko) | 근거리 무선 통신 장치 및 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14768358 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14774873 Country of ref document: US |
|
ENP | Entry into the national phase |
Ref document number: 2016503528 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014768358 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 20157026445 Country of ref document: KR Kind code of ref document: A |