WO2014067053A1 - 通信连接建立方法和终端 - Google Patents
通信连接建立方法和终端 Download PDFInfo
- Publication number
- WO2014067053A1 WO2014067053A1 PCT/CN2012/083692 CN2012083692W WO2014067053A1 WO 2014067053 A1 WO2014067053 A1 WO 2014067053A1 CN 2012083692 W CN2012083692 W CN 2012083692W WO 2014067053 A1 WO2014067053 A1 WO 2014067053A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- group
- configuration information
- direct
- module
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 127
- 238000004891 communication Methods 0.000 title claims abstract description 103
- 230000002452 interceptive effect Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 53
- 230000003993 interaction Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 27
- 230000004044 response Effects 0.000 description 18
- 230000011664 signaling Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000005538 encapsulation Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 241000605059 Bacteroidetes Species 0.000 description 1
- 230000005674 electromagnetic induction Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/72—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/20—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
- H04B5/48—Transceivers
-
- 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
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W92/00—Interfaces specially adapted for wireless communication networks
- H04W92/16—Interfaces between hierarchically similar devices
- H04W92/18—Interfaces between hierarchically similar devices between terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a communication connection establishing method and terminal. Background technique
- NFC Near Field Communication
- RFID Radio Frequency Identification
- NFC operates at 13.56MHz and supports 106kbit/s, 212kbit/s, 424kbit/s and 848kbit/s.
- the effective distance of communication is 0-20cm, and the typical value is 4cm.
- NFC is suitable for the interaction of a small amount of data because of its simple operation and low data transmission rate.
- the NFC Forum proposed an NFC-based connection switching technology.
- NFC wireless Fidelity
- Wi-Fi Direct is an 802.11-based point-to-point connection technology developed by the Wi-Fi Alliance.
- Wi-Fi Direct can also be called Wi-Fi Point to Point (hereinafter referred to as Wi-Fi Point to Point; Fi P2P ) 0
- Wi-Fi Direct uses the physical layer of 802.11 to modify the existing Media Access Control (MAC) layer and above of 802.11 to make it suitable for mutual Found a scene to establish a point-to-point connection.
- MAC Media Access Control
- connection establishment process defined by the Wi-Fi Direct protocol includes: device discovery, group owner (hereinafter referred to as: GO) negotiation, and protocol for Wi-Fi network installation and security configuration (Wi-Fi) Protected Setup; hereinafter referred to as: WPS) authentication information interaction process, the entire connection establishment process is cumbersome and tedious.
- GO group owner
- WPS Wi-Fi Protected Setup
- two terminals that are not added to any group can establish a connection by using the method defined by the Wi-Fi Direct protocol;
- the Wi-Fi Direct protocol join an existing group, communicate with the GO or through the GO with the client (Client); due to the limitation of the Wi-Fi Direct protocol, the Client in one group cannot A group of GOs or Clients discover each other to establish a connection and communicate.
- the invention provides a communication connection establishing method and a terminal, so as to simplify the establishment process of the Wi-Fi direct connection, and realize that within the NFC communication range, both terminals can establish Wi-Fi straight between the two terminals. Connected.
- a first aspect of the present invention provides a communication connection establishment method, including:
- Wi-Fi Direct configuration information where the interactive Wi-Fi Direct configuration information includes group information of the first terminal or the second terminal;
- the first terminal and the second terminal exchange wireless fidelity Wi-Fi direct connection configuration information by using a near field communication connection between the two terminals:
- the first terminal receives the Wi-Fi Direct configuration information of the second terminal that is sent by the second terminal by using the near field communication connection; the Wi-Fi Direct configuration information of the second terminal includes the Group information of the second terminal;
- the establishing a Wi-Fi direct connection between the first terminal and the second terminal according to the interacting Wi-Fi Direct configuration information includes:
- the first terminal determines that the first terminal and the second terminal are not members of an existing group according to the group information of the first terminal and the group information of the second terminal, the first terminal is configured according to the first terminal Establishing a Wi-Fi direct connection with the second terminal by using the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal; or
- the Wi-Fi Direct configuration information of the second terminal further includes: a group of the second terminal Owner's intent and the number of media access control MAC entities in the second terminal and the address of each MAC entity;
- the group information of the second terminal includes that the second terminal is not a member of an existing group, or the second terminal is a group owner of an existing group where the second terminal is located, or the second terminal is the second The client of the existing group where the terminal is located;
- the Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal; the group information of the first terminal includes that the first terminal is not a member of an existing group or the first terminal is a group owner of the existing group in which the first terminal is located or the first terminal is a client of an existing group where the first terminal is located;
- the Wi-Fi Direct configuration information of the first terminal further includes: a group owner's intention of the first terminal, a number of MAC entities in the first terminal, and an address of each MAC entity;
- the Wi-Fi Direct configuration information of the new group includes the identifier of the new group to be established, the basic service set identifier of the new group to be established, the working channel of the new group to be established, and the first The group of the terminal belongs to the main intent, the IP base address of the new group to be established, and the address of the MAC entity used by the first terminal in the new group to be established.
- a second aspect of the present invention provides a terminal, where the terminal is a first terminal, and the terminal includes: a receiving module, configured to receive a near field communication between the first terminal and the second terminal by the second terminal Connecting the wireless fidelity Wi-Fi Direct configuration information of the second terminal that is sent; the Wi-Fi Direct configuration information of the second terminal includes group information of the second terminal;
- a determining module configured to determine, according to the group information of the first terminal and the group information of the second terminal that is received by the receiving module, that the first terminal and the second terminal are not members of an existing group; or Determining, according to the group information of the first terminal and the group information of the second terminal received by the receiving module, that at least one of the first terminal and the second terminal is a member of an existing group;
- a establishing module configured to: when the determining module determines that the first terminal and the second terminal are not members of an existing group, according to the Wi-Fi direct configuration information of the first terminal and the second terminal And establishing, by the determining module, at least one of the first terminal and the second terminal is When the members of the group are saved, a Wi-Fi direct connection is established with the second terminal according to the existing group or the Wi-Fi Direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the second terminal that is received by the receiving module further includes: a group owner intent of the second terminal, and the The number of media access control MAC entities and the address of each MAC entity in the second terminal; the group information of the second terminal includes the second terminal is not a member of an existing group or the second terminal is the second The group owner of the existing group where the terminal is located or the second terminal is the client of the existing group where the second terminal is located;
- the Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal; the group information of the first terminal includes that the first terminal is not a member of an existing group or the first terminal is a group owner of the existing group in which the first terminal is located or the first terminal is a client of an existing group where the first terminal is located;
- the Wi-Fi Direct configuration information of the first terminal further includes: a group owner's intention of the first terminal, a number of MAC entities in the first terminal, and an address of each MAC entity;
- the Wi-Fi Direct configuration information of the new group includes the identifier of the new group to be established, the basic service set identifier of the new group to be established, the working channel of the new group to be established, and the first The group of the terminal belongs to the main intent, the IP base address of the new group to be established, and the address of the MAC entity used by the first terminal in the new group to be established.
- a third aspect of the present invention provides a terminal, where the terminal is a first terminal, and the terminal includes: a sending module, configured to pass the wireless fidelity Wi-Fi Direct configuration information of the first terminal by using the first And transmitting, by the second terminal, the near-field communication connection between the terminal and the second terminal; the Wi-Fi direct connection configuration information of the first terminal includes group information of the first terminal;
- a setting module configured to: when the first terminal and the second terminal are not members of an existing group, according to the Wi-Fi direct configuration information of the first terminal and the Wi-Fi straight of the second terminal And establishing, by the configuration information, a Wi-Fi direct connection with the second terminal; or, when at least one of the first terminal and the second terminal is a member of an existing group, according to an existing group or to be established
- the new group's Wi-Fi Direct configuration information establishes a Wi-Fi Direct connection with the second terminal.
- the Wi-Fi Direct configuration information of the first terminal that is sent by the sending module further includes: a group owner intent of the first terminal, and the The number of media access control MAC entities in one terminal and the address of each MAC entity;
- the group information of the first terminal includes that the first terminal is not a member of an existing group, or the first terminal is a group owner of an existing group where the first terminal is located, or the first terminal is the first terminal.
- the Wi-Fi Direct configuration information of the second terminal includes: group information of the second terminal, a group main intention of the second terminal, and a number of MAC entities in the second terminal and each MAC The address of the entity;
- the group information of the second terminal includes that the second terminal is not a member of an existing group, or the second terminal is a group owner of an existing group where the second terminal is located, or the second terminal is the second The client of the existing group where the terminal is located;
- the Wi-Fi Direct configuration information of the new group to be established includes the identifier of the new group to be established, the basic service set identifier of the new group to be established, and the working channel of the new group to be established.
- the group of the second terminal belongs to the main intent, the IP base address of the new group to be established, and the address of the MAC entity used by the second terminal in the new group to be established.
- a fourth aspect of the present invention provides a terminal, where the terminal is a first terminal, the terminal includes: at least one processor, and a memory, where the memory is used to store executable program code, where the processor reads Executing program code stored in the memory to execute a program corresponding to the executable program code for:
- the configuration information includes group information of the second terminal;
- the first terminal and the second terminal are not members of an existing group according to the group information of the first terminal and the group information of the second terminal, according to the Wi-Fi of the first terminal And the configuration information and the Wi-Fi direct connection configuration information of the second terminal, establishing a Wi-Fi direct connection with the second terminal; or if according to the group information of the first terminal and the second terminal
- the group information determines that at least one of the first terminal and the second terminal is a member of an existing group, and establishes with the second terminal according to the existing group or the new group's Wi-Fi Direct configuration information to be established. Wi-Fi direct connection.
- a fifth aspect of the present invention provides a terminal, where the terminal is a first terminal, the terminal includes: at least one processor, and a memory, where the memory is used to store executable program code, where the processor reads Taking the executable program code stored in the memory to run and a program corresponding to the executable program code for:
- the Fi Direct connection configuration information includes group information of the first terminal
- the second terminal establishes a Wi-Fi direct connection; or, if at least one of the first terminal and the second terminal is a member of an existing group, according to an existing group or a new group to be established Wi-
- the Fi Direct connection configuration information establishes a Wi-Fi Direct connection with the second terminal.
- the first terminal and the second terminal use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, thereby eliminating the Wi-Fi Direct protocol.
- the defined handshake process such as device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling, simplifies the process of establishing a Wi-Fi direct connection.
- the Wi-Fi Direct protocol stipulates that a client of a Wi-Fi Direct group cannot actively discover other groups of GOs and clients. In this scenario, wireless signaling cannot be used to establish a Wi-Fi direct connection.
- the technical solution provided by the invention has no such limitation, as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range, the Wi-Fi direct connection between the first terminal and the second terminal can be established. connection.
- FIG. 1 is a flowchart of an embodiment of a method for establishing a communication connection according to the present invention
- FIG. 2 is a schematic diagram of an embodiment of an application scenario of the present invention.
- FIG. 3 is a flowchart of another embodiment of a method for establishing a communication connection according to the present invention.
- FIG. 4 is a schematic diagram of an embodiment of a format of a connection handover request according to the present invention.
- FIG. 5 is a schematic diagram of an embodiment of a format of a connection handover response according to the present invention
- FIG. 6 is a flowchart of still another embodiment of a method for establishing a communication connection according to the present invention
- FIG. 7 is a schematic diagram of another embodiment of a format of a connection handover request according to the present invention
- FIG. 8 is a schematic diagram of another embodiment of a format of a connection handover response according to the present invention.
- FIG. 9 is a flowchart of still another embodiment of a method for establishing a communication connection according to the present invention.
- FIG. 10 is a schematic diagram of still another embodiment of a format of a connection handover request according to the present invention.
- FIG. 11 is a schematic diagram of still another embodiment of a format of a connection handover response according to the present invention.
- FIG. 12 is a schematic structural diagram of an embodiment of a terminal according to the present invention.
- FIG. 13 is a schematic structural diagram of another embodiment of a terminal according to the present invention.
- FIG. 14 is a schematic structural diagram of still another embodiment of a terminal according to the present invention.
- FIG. 15 is a schematic structural diagram of still another embodiment of a terminal according to the present invention.
- FIG. 16 is a schematic structural diagram of still another embodiment of a terminal according to the present invention.
- FIG. 17 is a schematic structural diagram of still another embodiment of a terminal according to the present invention.
- the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
- the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
- FIG. 1 is a flowchart of an embodiment of a method for establishing a communication connection according to the present invention. As shown in FIG. 1 , the method for establishing a communication connection may include:
- Step 101 The first terminal and the second terminal exchange Wi-Fi Direct configuration information by using an NFC connection between the two terminals, where the interactive Wi-Fi Direct configuration information includes group information of the first terminal or the second terminal.
- Step 102 Establish a Wi-Fi direct connection between the first terminal and the second terminal according to the interactive Wi-Fi Direct configuration information.
- the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using an NFC connection between the two terminals, where the first terminal receives the second terminal to send by using the NFC connection. Wi-Fi Direct configuration information of the second terminal.
- the Wi-Fi Direct configuration information of the second terminal includes group information of the second terminal.
- Step 102 Establish a Wi-Fi direct connection between the first terminal and the second terminal according to the interaction Wi-Fi Direct configuration information: if the first terminal is based on the group information of the first terminal and the second terminal The group information determines that the first terminal and the second terminal are not members of the existing group, and the first terminal is configured according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, and the second terminal.
- the terminal establishes a Wi-Fi direct connection; or, if the first terminal determines, according to the group information of the first terminal and the group information of the second terminal, that at least one of the first terminal and the second terminal is a member of the existing group, the first The terminal establishes a Wi-Fi direct connection with the second terminal according to the existing group or the Wi-Fi Direct configuration information of the new group to be established.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established, that is, the new terminal establishes a new connection with the second terminal. group.
- the Wi-Fi Direct configuration information of the first terminal includes the group information of the first terminal, where the group information of the first terminal may be a value of the first terminal is not a member of the existing group or the first terminal is the The group of the existing group in which the first terminal is located or the first terminal is the client of the existing group where the first terminal is located; further, the Wi-Fi Direct configuration information of the first terminal may further include: The group owner's intention and the number of MAC entities in the first terminal and the address of each MAC entity;
- the Wi-Fi Direct configuration information of the second terminal may further include: a group owner intent of the second terminal, and a number of MAC entities in the second terminal and an address of each MAC entity; where the group information of the second terminal may be The value is that the second terminal is not a member of the existing group or the second terminal is the group owner of the existing group where the second terminal is located, or the second terminal is the client of the existing group where the second terminal is located;
- the Wi-Fi Direct configuration information of the new group to be established includes the identifier of the new group to be established, the BSSID of the new group to be established, the working channel of the new group to be established, and the group owner's intention of the first terminal.
- the first terminal determines, according to the group information of the first terminal and the group information of the second terminal, that the first terminal and the second terminal are not members of the existing group, the first terminal is configured according to the first terminal.
- the Wi-Fi direct connection configuration information of the terminal and the Wi-Fi direct connection configuration information of the second terminal may be: establishing, by the first terminal, the Wi-Fi direct connection: the first terminal according to the first terminal Wi-Fi Direct configuration information and Wi-Fi Direct configuration information of the second terminal, setting the Wi-Fi Direct configuration information of the new group to be established; then, the first terminal will set the Wi of the new group to be established
- the -Fi direct connection configuration information is sent to the second terminal through the foregoing NFC connection.
- the first terminal and the second terminal establish a Wi-Fi direct connection according to the Wi-Fi direct connection configuration information of the new group to be established.
- the Wi-Fi direct connection configuration of the first terminal may be used.
- the group identifier in the information may also use the group identifier in the Wi-Fi Direct configuration information of the second terminal, or may not use the group identifier in the Wi-Fi Direct configuration information of the first terminal, or use the second identifier.
- the group identifier in the Wi-Fi Direct configuration information of the terminal but resets an identifier for the new group to be established, and the BSSID of the new group to be established, the working channel of the new group to be established, and the to-be-established
- the IP address of the new group and the address of the MAC entity used by the new group to be established may also adopt the above setting manner, that is, the corresponding information included in the Wi-Fi Direct configuration information of the first terminal or the second terminal may be used. , or reset a new value, no longer repeat them here.
- the first terminal determines, according to the group information of the first terminal and the group information of the second terminal, that at least one of the first terminal and the second terminal is a member of the existing group.
- the first terminal determines, according to the group information of the first terminal and the group information of the second terminal, that the first terminal is a member of an existing group, and the second terminal is not a member of an existing group.
- the first terminal further receives a default setting of the second terminal sent by the second terminal through the NFC connection.
- the default setting of the second terminal may be sent to the first terminal in the Wi-Fi Direct configuration information of the second terminal; or the default setting may not be included in the Wi-Fi Direct configuration of the second terminal.
- the information is sent to the first terminal together with the Wi-Fi direct configuration information of the second terminal, where the default setting reflects that the second terminal requests to join the existing terminal where the first terminal is located or the second terminal requires the first terminal. Create a new group.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the existing group: the first terminal determines according to the default setting of the second terminal. The second terminal is required to join the existing group where the first terminal is located; if the first terminal determines, according to the group information of the first terminal, that the first terminal is the group owner of the existing group where the first terminal is located, the first terminal will be the first terminal.
- the Wi-Fi Direct configuration information of the existing group is sent to the second terminal through the NFC connection, so that the second terminal is based on the Wi-Fi of the existing group.
- the first terminal may establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the existing group: the first terminal is configured according to the default setting of the second terminal. Determining that the second terminal is required to join the existing group where the first terminal is located; if the first terminal determines that the first terminal is the client of the existing group where the first terminal is located according to the group information of the first terminal, the first terminal will be the Wi of the existing group.
- the configuration information other than the encrypted information and the description information of the group owner of the existing group are sent to the second terminal through the NFC connection, so that the second terminal sends the group information according to the description information of the group owner.
- the owner requests the encrypted information in the Wi-Fi Direct configuration information of the existing group, and receives the encrypted information in the Wi-Fi Direct configuration information of the existing group sent by the group owner, so that the second terminal obtains the first All Wi-Fi direct connection configuration information of the existing group where the terminal is located; then, the first terminal establishes Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the existing group Access.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established, where the first terminal is configured according to the second terminal.
- the default setting determines that the second terminal requires to establish a new group with the first terminal; if the first terminal determines that the first terminal includes at least one MAC entity that has not been used yet, the first terminal has not used the MAC from the first terminal. Selecting one of the entities as the MAC entity used by the first terminal in the new group to be established, and setting the Wi-Fi Direct configuration information of the new group to be established, and then the first terminal will set the new group to be established.
- the Wi-Fi Direct configuration information is sent to the second terminal by using the NFC connection, and the Wi-Fi direct connection is established with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established;
- the Wi-Fi Direct configuration information of the new group does not conflict with the Wi-Fi Direct configuration information of the existing group in which the first terminal is located, and the Wi-Fi Direct configuration information of the new group to be established further includes the first Terminal group letter Specifically, when the first terminal sets the Wi-Fi Direct configuration information of the new group to be established, the first terminal may use the Wi-Fi Direct configuration information of the second terminal partially or completely, or may not use the second terminal.
- the Wi-Fi direct configuration information is set separately, and the Wi-Fi direct configuration information of the new group to be established is separately set.
- the method for setting the Wi-Fi direct configuration information of the new group to be established by the first terminal is not used. Limit As long as the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the first terminal is located.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established, where the first terminal is configured according to the second terminal.
- the default setting determines that the second terminal requests to establish a new group with the first terminal; if the first terminal determines that the MAC entities in the first terminal are all used, the first terminal prompts the user who uses the first terminal whether to exit the first terminal. If the user of the first terminal chooses to exit the existing group where the first terminal is located, the first terminal exits the existing group where the first terminal is located, and then according to the Wi-Fi direct connection configuration information of the first terminal.
- Wi-Fi Direct configuration information of the second terminal setting the Wi-Fi Direct configuration information of the new group to be established; and the group idea of the first terminal in the Wi-Fi Direct configuration information of the new group to be established.
- the value of the map is different from the value of the group owner's intention of the second terminal; next, the first terminal sends the Wi-Fi direct connection configuration information of the new group to be established to the second terminal by using the NFC connection.
- the Wi-Fi and the new group to be established direct connection configuration information with the second terminal establishing Wi-Fi Direct connection.
- the first terminal according to the group information of the first terminal and the group information of the second terminal, determining that at least one of the first terminal and the second terminal is a member of the existing group, may be: The terminal determines, according to the group information of the first terminal and the group information of the second terminal, that the second terminal is a member of the existing group, and the first terminal is not a member of the existing group.
- the first terminal may establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct configuration information of the existing group: the first terminal is configured according to the default setting of the first terminal. Determining that the first terminal is required to join the existing group where the second terminal is located; if the first terminal determines, according to the group information of the second terminal, that the second terminal is the group owner of the existing group where the second terminal is located, the first terminal The value of the group main intention in the Wi-Fi Direct configuration information of the terminal is set to be smaller than the value of the group main intention in the Wi-Fi Direct configuration information of the second terminal, so that the first terminal can serve as the second terminal.
- the client of the existing group joins the existing group; then, the first terminal and the second terminal establish a Wi-Fi direct connection according to the Wi-Fi direct configuration information of the second terminal, and then the Wi of the second terminal
- the -Fi direct connection configuration information is the Wi-Fi Direct configuration information of the existing group where the second terminal is located.
- the Wi-Fi direct connection configuration information of the second terminal is where the second terminal is located.
- the information may not be included in the Wi-Fi Direct configuration information of the second terminal, but is sent to the first terminal together with the Wi-Fi Direct configuration information of the second terminal.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the existing group.
- the first terminal determines that the first terminal requests to join the second terminal according to the default setting of the first terminal.
- the existing terminal is located; the first terminal requests, according to the description information of the group owner of the existing group where the second terminal is located, the group owner to request the encrypted information in the Wi-Fi direct connection configuration information of the existing group where the second terminal is located, and receives the encrypted information.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established, where the first terminal is according to the first
- the default setting of the terminal determines that the first terminal requests to establish a new group with the second terminal; if the first terminal determines that the second terminal includes at least one MAC entity that has not been used yet, the first terminal has not used the MAC from the second terminal.
- the first terminal sends the Wi-Fi Direct configuration information of the new group to be established to the second terminal through the NFC connection, and Establishing a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the new group to be established further includes an address of the MAC entity selected by the first terminal from the second terminal, and the Wi-Fi Direct configuration information of the new group to be established is
- the Wi-Fi Direct configuration information of the existing group where the second terminal is located does not conflict; specifically, when the first terminal sets the Wi-Fi Direct configuration information of the new group to be established, the first terminal may be partially or completely used.
- the Wi-Fi direct connection configuration information may not use the Wi-Fi direct connection configuration information of the first terminal, but separately set the Wi-Fi direct connection configuration information of the new group to be established, and the present invention is directed to the first terminal.
- the method of setting the Wi-Fi Direct configuration information of the new group to be established is not limited, as long as the Wi-Fi Direct configuration information of the new group to be established and the Wi-Fi Direct configuration information of the existing group where the second terminal is located are not limited. Conflict can be.
- the first terminal is configured according to a new group to be established.
- the Wi-Fi Direct connection between the Wi-Fi Direct configuration information and the second terminal may be: the first terminal determines, according to the default setting of the first terminal, that the first terminal requests to establish a new group with the second terminal; The second terminal includes at least one MAC entity that has not been used, and the first terminal sets the Wi-Fi Direct configuration information of the new group to be established, and the Wi-Fi Direct configuration information of the new group to be established and the second The Wi-Fi Direct configuration information of the existing group where the terminal is located does not conflict; then, the first terminal sends the Wi-Fi Direct configuration information of the new group to be established to the second terminal by using the NFC connection, so that the second terminal The second terminal is selected from one of the MAC entities that have not been used, and establishes a Wi-Fi direct connection with the first terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the first terminal may be partially or completely used, or the Wi of the first terminal may not be used.
- the method of directly configuring the Wi-Fi Direct configuration information of the new group to be established is not limited, and the method for setting the Wi-Fi Direct configuration information of the new group to be established by the first terminal is not limited. As long as the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the second terminal is located.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established, where the first terminal is according to the first terminal.
- the default setting determines that the first terminal requires to establish a new group with the second terminal; if the first terminal determines that the MAC entities in the second terminal are all used, the first terminal sends the first terminal request and the second terminal to the second terminal Establishing a new group indication, so that the second terminal prompts the user who uses the second terminal to exit the existing group where the second terminal is located, and after the user using the second terminal opts out of the existing group where the second terminal is located, exits the above
- the existing group in which the second terminal is located sets the Wi-Fi Direct configuration information of the new group to be established according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, according to the foregoing
- the established new Wi-Fi Direct configuration information establishes a Wi-Fi direct connection with the first terminal.
- the first terminal according to the group information of the first terminal and the group information of the second terminal, determining that at least one of the first terminal and the second terminal is a member of the existing group, may be: The terminal determines that the first terminal and the second terminal are members of the existing group according to the group information of the first terminal and the group information of the second terminal.
- the first terminal is configured according to a new group to be established.
- the Wi-Fi Direct connection between the Wi-Fi Direct configuration information and the second terminal may be: if the first terminal is configured according to the Wi-Fi Direct configuration of the first terminal and the Wi-Fi Direct configuration of the second terminal Determining that the first terminal and the second terminal are not in the same group, and the first terminal and the second terminal both include at least one MAC entity that has not been used, and the first terminal is configured according to the group information of the first terminal and the second terminal.
- the group information determines that at least one of the first terminal and the second terminal is a group owner, and the first terminal selects one of the MAC entities that have not been used by the first terminal as the first terminal to use in the new group to be established. a MAC entity, and selecting one of the MAC entities that have not been used by the second terminal, and then setting the Wi-Fi Direct configuration information of the new group to be established, and the Wi-Fi Direct configuration information of the new group to be established is still The address of the MAC entity selected by the first terminal from the second terminal may be included. Finally, the first terminal sends the Wi-Fi Direct configuration information of the new group to be established to the second terminal by using the NFC connection, and the Wi-Fi direct configuration information of the new group to be established is compared with the second terminal. Establish a Wi-Fi direct connection.
- the terminal that is the group owner in the existing group must be a client in the new group, and the Wi- in the new group.
- the group owner's intention must be set to be smaller than the peer group's main intention; if the first terminal and the second terminal are group owners in the existing group, the group is in the new group configuration information.
- the main intent can be set arbitrarily, and it is only necessary to set the values of the group main intentions of the two terminals to different values.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the existing group or the Wi-Fi direct connection configuration information of the new group to be established, if the first terminal is: Determining that the first terminal and the second terminal are not in the same group according to the Wi-Fi direct configuration information of the first terminal and the Wi-Fi direct configuration information of the second terminal, and the first terminal is configured according to the group information of the first terminal And determining, by the group information of the second terminal, that the first terminal and the second terminal are not the group owner, or if the first terminal is directly connected to the second terminal according to the Wi-Fi direct configuration information of the first terminal Determining whether the first terminal and the second terminal are not in the same group, and the MAC entity in the first terminal and/or the second terminal is used, the first terminal prompts the user using the first terminal whether to exit the first terminal.
- the Wi-Fi direct connection configuration information of the group terminal or the Wi-Fi direct connection configuration information of the new group to be established establishes a Wi-Fi direct connection.
- the terminal cannot serve as a client in both groups. Specifically, if the terminal acts as a client in the original connection, it must be the group owner in the new connection; if the terminal is the group owner in the original connection, the terminal can be used as a group in the new group.
- the Lord can be a client.
- the first terminal and the second terminal exchange Wi-Fi direct connection configuration information by using an NFC connection between the two terminals: the first terminal may Wi-Fi the first terminal
- the direct connection configuration information is sent to the second terminal by using an NFC connection between the first terminal and the second terminal.
- the Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal.
- Step 102 Establish a Wi-Fi direct connection between the first terminal and the second terminal according to the interaction Wi-Fi Direct configuration information: if both the first terminal and the second terminal are not members of the existing group, The first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal; or, if the first terminal and the second terminal At least one of the members of the existing group, the first terminal establishes a Wi-Fi direct connection with the second terminal according to the existing group or the Wi-Fi Direct configuration information of the new group to be established.
- the first terminal establishes a Wi-Fi direct connection with the second terminal, that is, the first terminal establishes a new group with the second terminal.
- the Wi-Fi Direct configuration information of the first terminal may further include: a group owner intent of the first terminal, and a number of MAC entities in the first terminal and an address of each MAC entity; group information of the first terminal The value of the first terminal is not a member of the existing group, or the first terminal is the group owner of the existing group where the first terminal is located, or the first terminal is the client of the existing group where the first terminal is located;
- the Wi-Fi Direct configuration information of the second terminal may include: group information of the second terminal, a group owner's intention of the second terminal, and a number of MAC entities in the second terminal and an address of each MAC entity;
- the group information may be a value of the second terminal is not a member of the existing group or the second terminal is a group owner of the existing group where the second terminal is located or the second terminal is a client of the existing group where the second terminal is located;
- the Wi-Fi Direct configuration information of the new group to be established includes the identifier of the new group to be established, the BSSID of the new group to be established, the working channel of the new group to be established, and the group idea of the second terminal.
- Figure the IP base address of the new group to be established and the address of the MAC entity used by the second terminal in the new group to be established.
- the first terminal is configured according to the Wi-Fi direct connection configuration of the first terminal and the Wi-Fi of the second terminal.
- establishing a Wi-Fi direct connection with the second terminal may be: the first terminal receives the Wi-Fi direct connection configuration information of the new group to be established that is sent by the second terminal through the NFC connection, and the new group to be established
- the Wi-Fi Direct configuration information is set by the second terminal according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, and is sent to the first terminal; Establishing a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the first terminal further sends the default of the first terminal to the second terminal by using the NFC connection.
- Settings The default setting of the first terminal may be sent to the second terminal in the Wi-Fi Direct configuration information of the first terminal; or the default setting of the first terminal may not be included in the Wi-Fi Direct connection of the first terminal.
- the configuration information is sent to the second terminal together with the Wi-Fi direct configuration information of the first terminal.
- the default setting of the first terminal may be that the first terminal requests to join the existing group where the second terminal is located or the first terminal requests to establish a new group with the second terminal.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the existing group: when the first terminal is not a member of the existing group, When the second terminal is a member of the existing group, the first terminal receives the Wi-Fi direct connection configuration information of the existing group where the second terminal is sent by using the NFC connection, and the Wi-Fi direct configuration information of the existing group.
- the second terminal determines, according to the default setting of the first terminal, that the first terminal requests to join the existing group where the second terminal is located, and the second terminal determines, according to the group information of the second terminal, that the second terminal is the existing group where the second terminal is located.
- the first terminal sends the value of the group main intention in the Wi-Fi direct configuration information of the first terminal according to the Wi-Fi direct configuration information of the existing group.
- the value of the value of the primary intent of the group in the Wi-Fi Direct configuration information of the second terminal is smaller than that, so that the first terminal joins the existing group where the second terminal is located as the client.
- the first terminal is based on the Wi of the existing group.
- the -Fi direct connection configuration information establishes a Wi-Fi direct connection with the second terminal.
- the first terminal may establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the existing group: when the first terminal is not a member of the existing group, When the second terminal is a member of the existing group, the first terminal receives configuration information other than the encrypted information and the existing group in the Wi-Fi Direct configuration information of the existing group where the second terminal is sent by the second terminal through the NFC connection.
- the description information of the group owner wherein, the configuration information other than the encrypted information in the Wi-Fi direct configuration information of the existing group where the second terminal is located, and the description information of the group owner of the existing group are the second terminal according to
- the default setting of the first terminal determines that the first terminal needs to join the existing group where the second terminal is located, and the second terminal determines, according to the group information of the second terminal, that the second terminal is the client of the existing group where the second terminal is located, and then sends the The first terminal then requests the group owner to encrypt the information in the Wi-Fi Direct configuration information of the existing group according to the description information of the group owner, and receives the group.
- Main group of the above-described transmitted existing Wi-Fi Direct configuration information is encrypted; Finally, a first terminal directly connected with the second terminal configuration information established according to Wi-Fi above the existing Wi-Fi Direct connection group.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established, where the first terminal is not an existing group.
- the second terminal is a member of the existing group, and the first terminal receives the Wi-Fi Direct configuration information of the new group to be established that is sent by the second terminal through the NFC connection, and is compared with the second terminal according to the foregoing
- the Wi-Fi Direct connection information of the new group is established.
- the Wi-Fi Direct configuration information of the new group to be established is determined by the second terminal according to the default setting of the first terminal.
- the second terminal When the second terminal establishes a new group, and the second terminal determines that the second terminal includes at least one MAC entity that has not been used, select one of the MAC entities that have not been used by the second terminal as the new group to be established by the second terminal.
- the MAC entity used in the setting, and setting the Wi-Fi Direct configuration information of the new group to be established to be sent to the first terminal; the Wi-Fi Direct configuration information of the new group to be established and the second Wi-Fi terminal group where the existing direct connection configuration information does not conflict, Wi-Fi of the new group to be established directly connected to the above-described configuration information further includes group information of the second terminal.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established, where the first terminal is not an existing group. a member, when the second terminal is a member of the existing group, the first terminal receives the Wi-Fi Direct configuration information of the new group to be established sent by the second terminal through the NFC connection; The terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the new group to be established is the second terminal according to the second terminal.
- the default setting of a terminal determines that the first terminal requests to establish a new group with the second terminal, and the second terminal determines that the MAC entity in the second terminal is used, and prompts the user who uses the second terminal to exit the second terminal. If the user of the second terminal chooses to exit the existing group where the second terminal is located, the second terminal exits the existing group where the second terminal is located, according to the Wi-Fi direct configuration information of the first terminal and the second The Wi-Fi Direct configuration information of the terminal is sent to the first terminal after setting the Wi-Fi Direct configuration information of the new group to be established.
- the value of the group owner's intention of the second terminal in the Wi-Fi Direct configuration information of the new group to be established is different from the value of the group owner's intention of the first terminal.
- the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct configuration information of the existing group: when the first terminal is a member of the existing group, If the second terminal is not a member of the existing terminal, if the second terminal determines, according to the default setting of the second terminal, the second terminal needs to join the existing group where the first terminal is located, and the second terminal determines, according to the group information of the first terminal, that the first terminal is The group of the existing group in which the first terminal is located belongs to the second terminal, and the value of the group main intention in the Wi-Fi direct connection configuration information of the second terminal is set to be smaller than the Wi-Fi direct connection configuration of the first terminal.
- the first terminal and the second terminal establish a Wi-Fi direct connection according to the Wi-Fi direct connection configuration information of the first terminal; at this time, the Wi-Fi of the first terminal is
- the direct connection configuration information is the Wi-Fi Direct configuration information of the existing group where the first terminal is located.
- the first terminal when the first terminal is a member of an existing group, the second terminal is not a member of an existing group, and the first terminal is a client of an existing group where the first terminal is located, the first terminal is The Wi-Fi Direct configuration information of the first terminal that is sent is configuration information other than the encrypted information in the Wi-Fi Direct configuration information of the existing group where the first terminal is located.
- the first terminal also connects through the NFC. Sending, to the second terminal, description information of the group owner of the existing group where the first terminal is located.
- the description information of the group owner of the existing group where the first terminal is located may be included in the Wi-Fi direct connection configuration information of the first terminal; or the description information of the group owner of the existing group where the first terminal is located is also The information may be not included in the Wi-Fi Direct configuration information of the first terminal, but sent to the second terminal together with the Wi-Fi Direct configuration information of the first terminal.
- the second terminal when the terminal is not a member of the existing group, the first terminal establishes a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct configuration information of the new group to be established.
- the first terminal receives the second terminal and sends the second terminal through the NFC connection.
- -Fi Direct configuration information is that the second terminal determines that the second terminal requires to establish a new group with the first terminal according to the default setting of the second terminal, and the second terminal determines that the first terminal includes at least one MAC entity that has not been used yet. Selecting one of the MAC entities that have not been used by the first terminal, and setting the Wi-Fi Direct configuration information of the new group to be established, and then sending the information to the first terminal; the Wi-Fi Direct connection of the new group to be established.
- the configuration information further includes an address of the MAC entity selected by the second terminal from the first terminal, and the Wi-Fi Direct configuration information of the new group to be established and the Wi-Fi Direct configuration information of the existing group where the second terminal is located Do not conflict.
- the first terminal when the first terminal is a member of the existing group, and the second terminal is not a member of the existing group, the first terminal is configured according to the Wi-Fi direct connection configuration information of the new group to be established.
- the second terminal establishes a Wi-Fi direct connection.
- the first terminal receives the Wi-Fi Direct configuration information of the new group to be established that is sent by the second terminal through the NFC connection, and the new group that is sent by the second terminal to be established.
- the Wi-Fi Direct configuration information is that the second terminal determines, according to the default setting of the second terminal, that the second terminal requests to establish a new group with the first terminal, and determines that the first terminal includes at least one MAC entity that has not been used, and then sets and sends.
- the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the first terminal is located; and then, the first terminal is from the first One of the MAC entities that have not been used by the terminal is selected, and a Wi-Fi direct connection is established with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the first terminal when the first terminal is a member of the existing group, and the second terminal is not a member of the existing group, the first terminal is configured according to the Wi-Fi direct connection configuration information of the new group to be established.
- the second terminal establishes a Wi-Fi direct connection.
- the first terminal receives an indication that the second terminal sent by the second terminal requests to establish a new group with the first terminal.
- the foregoing indication is that the second terminal determines, according to the default setting of the second terminal.
- the second terminal requests to establish a new group with the first terminal, and determines that the MAC entity in the first terminal is used after being sent to the first terminal. Then, the first terminal prompts the user who uses the first terminal whether to exit the first terminal.
- the existing terminal where the first terminal is located is exited.
- the Wi-Fi Direct configuration information establishes a Wi-Fi direct connection with the second terminal.
- the first terminal when the first terminal and the second terminal are both members of the existing group, the first terminal establishes Wi with the second terminal according to the Wi-Fi direct connection configuration information of the new group to be established.
- the Fi-direct connection may be: the first terminal receives the Wi-Fi Direct configuration information of the new group to be established sent by the second terminal through the NFC connection, and the Wi-Fi according to the new group to be established according to the second terminal.
- the Wi-Fi direct connection connection is established by the Fi direct connection configuration information; the Wi-Fi direct connection configuration information of the new group to be established is the second terminal according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi connection of the second terminal.
- the Fi-direct connection configuration information determines that the first terminal and the second terminal are not in the same group, and the first terminal and the second terminal both include at least one MAC entity that has not been used yet, and the second terminal is configured according to the group information of the first terminal.
- the group information of the second terminal determines that at least one of the first terminal and the second terminal is a group owner, one of the MAC entities that have not been used by the second terminal is selected as the second terminal to be used in the new group to be established.
- MAC Body and selects one of the first MAC entity in the terminal has not been used, transmits Wi-Fi is provided a new group to be established after the direct connection configuration information to the first terminal.
- the Wi-Fi Direct configuration information of the new group to be established further includes an address of a MAC entity selected by the second terminal from the first terminal.
- the terminal belonging to the group owner in the existing group must be a client in the new group, and the Wi-Fi connection in the new group is directly connected.
- the group owner's main intention must be set to be smaller than the peer group's main intention; if the first terminal and the second terminal are group owners in the existing group, the group's main intention may be in the new group configuration information. Feel free to set, just need to set the value of the group owner's intention of the two terminals to different values.
- the first terminal and the second terminal use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, thereby eliminating the Wi-Fi Direct protocol.
- the handshake process such as device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling simplifies the establishment process of Wi-Fi direct connection.
- the Wi-Fi Direct protocol defines that the client cannot actively discover other groups of GOs and clients. In this scenario, the wireless signaling cannot be used to establish a Wi-Fi direct connection, and the technical solution provided in this embodiment is used. Without such a limitation, as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range, both the first terminal and the second terminal can be established. Wi-Fi direct connection.
- the Wi-Fi direct connection is established by using the NFC connection switch, and the two terminals that establish the Wi-Fi direct connection by using the method provided by the present invention need to support the NFC and the Wi-Fi Direct function.
- terminal A and terminal B respectively read their own Wi-Fi direct connection configuration information, and then interact with the established peer end Wi-Fi direct connection configuration information through the NFC interface.
- the method provided by the present invention establishes a Wi-Fi direct connection. 2 is a schematic diagram of an embodiment of an application scenario of the present invention.
- the Wi-Fi Direct configuration information that Terminal A and Terminal B interact with includes the following:
- Wi-Fi P2P Wi-Fi Direct
- authentication information which may be WP S related authentication information, or other authentication information
- Encrypted information which may be WPS encrypted information, or other encrypted information
- Group information which may be a value in which the terminal is not in the existing group or the terminal is a group owner in an existing group or the terminal is a client in an existing group;
- IP base address (When a terminal is prevented from acting as a member of two groups, IP address conflicts occur between the two groups);
- Wi-Fi Direct protocol-defined content that can be exchanged via wireless signal frames; 12) Default setting options, whether the terminal requires to join an existing group or a new group is required; this item is optional.
- FIG. 3 is a flowchart of another embodiment of a method for establishing a communication connection according to the present invention. As shown in FIG. 3, the method for establishing a communication connection may include:
- Step 301 The terminal A unlocks the screen, opens the NFC function, touches the NFC function, unlocks the terminal B of the screen, and establishes an NFC connection between the terminal A and the terminal B.
- Step 302 The terminal B receives the Wi-Fi Direct configuration information of the terminal A sent by the terminal A through the NFC connection.
- the terminal A and the terminal B can determine the Requester and the Selector identity by using the "Handover Request Collision Resolution Mechanism" defined by the NFC connection switching protocol.
- the terminal A is the Requester and the terminal B is the Selector. .
- the Wi-Fi Direct configuration information of the terminal B includes the group information of the terminal B
- the Wi-Fi direct configuration information of the terminal A includes the group information of the terminal A.
- the Wi-Fi Direct configuration information of the terminal B may further include: a group owner's intention of the terminal B, a number of MAC entities in the terminal B, and an address of each MAC entity; where, the group information of the terminal B The value of the terminal B is not a member of the existing group or the terminal B is the group owner of the existing group where the terminal B is located, or the terminal B is the client of the existing group where the terminal B is located;
- the Wi-Fi Direct configuration information of the terminal A may further include: a group owner's intention of the terminal A, a number of MAC entities in the terminal A, and an address of each MAC entity; where the group information of the terminal A may be a terminal A is not a member of the existing group or the terminal A is the group owner of the existing group where the terminal A is located or the terminal A is the client of the existing group where the terminal A is located.
- Step 303 If the terminal B determines that both the terminal B and the terminal A are not members of the existing group according to the group information of the terminal B and the group information of the terminal A, the terminal B is based on the Wi-Fi direct configuration information of the terminal B and the terminal A.
- the Wi-Fi Direct configuration information establishes a Wi-Fi Direct connection with Terminal A.
- the terminal B can be configured according to the Wi-Fi direct connection configuration of the terminal B and the terminal A.
- Wi-Fi direct configuration information setting the Wi-Fi Direct configuration information of the new group to be established, and the Wi-Fi Direct configuration information of the new group to be established includes the identifier of the new group to be established, and the new to be established.
- the Wi-Fi Direct configuration information of the new group to be established is sent to the terminal A through the NFC connection.
- the terminal B and the terminal A establish Wi- according to the Wi-Fi direct configuration information of the new group to be established. Fi direct connection.
- the terminal B When setting the Wi-Fi Direct configuration information of the new group to be established, for example, when setting the identity of the new group to be established, the terminal B can use the Wi-Fi direct configuration information of the terminal B. Group ID, you can also use the group ID in the Wi-Fi Direct configuration information of terminal A. The group identifier in the Wi-Fi Direct configuration information of the terminal B is not used, and the group identifier in the Wi-Fi Direct configuration information of the terminal A is not used, but an identifier is newly set for the new group to be established.
- the BSSID of the new group to be established, the working channel of the new group to be established, the IP base address of the new group to be established, and the address of the MAC entity used by the new group to be established may also use the above setting manner, that is, Use the corresponding information included in the Wi-Fi Direct configuration information of the terminal B or the terminal A, or reset a new value, and details are not described herein again.
- the terminal A sends the Wi-Fi direct connection configuration information of the terminal A to the terminal B through the NFC connection, and the terminal A sends an NFC connection switching request message to the terminal B, where the NFC connection switching request message is carried.
- Terminal A's Wi-Fi Direct configuration information is carried.
- the encapsulation format of the NFC connection switching request message may be as shown in FIG. 4, and the steps are as follows:
- the encapsulation format of the NFC connection switching response can be as shown in FIG. 5.
- 4 is a schematic diagram of an embodiment of a format of a connection handover request according to the present invention.
- FIG. 5 is a schematic diagram of an embodiment of a format of a connection handover response according to the present invention.
- part of the Wi-Fi Direct configuration information is placed in the connection configuration data, and a part of the Wi-Fi Direct configuration information is placed in the auxiliary description data.
- all Wi-Fi Direct configuration information can be placed in the connection configuration data. It can also be placed in the auxiliary description data; this embodiment does not limit this.
- the terminal B and the terminal A exchange a group of parameters required for establishing a Wi-Fi direct connection, such as the group information, the number of MAC entities, and the address of each MAC entity.
- the parameters are mutually interactive by using wireless signaling, and the foregoing parameters are included in the Wi-Fi direct configuration information, and the interaction is completed through the NFC connection once, which simplifies Wi-Fi. The process of establishing a direct connection.
- FIG. 6 is a flowchart of still another embodiment of a method for establishing a communication connection according to the present invention. As shown in FIG. 6, the method for establishing a communication connection may include:
- Step 601 the terminal A unlocks the screen, opens the NFC function, touches the NFC function, unlocks the terminal B of the screen, and establishes an NFC connection between the terminal A and the terminal B.
- Step 602 The terminal B receives the Wi-Fi Direct configuration information of the terminal A sent by the terminal A through the NFC connection.
- the terminal A and the terminal B may determine the Requester and the Selector identity by using the "Handover Request Conflict Resolution Mechanism" defined by the NFC connection switching protocol, but this embodiment The description is made by taking the terminal A as the Requester and the terminal B as the Selector.
- the Wi-Fi Direct configuration information of the terminal B includes the group information of the terminal B
- the Wi-Fi direct configuration information of the terminal A includes the group information of the terminal A.
- the Wi-Fi Direct configuration information of the terminal B may further include: a group owner's intention of the terminal B, a number of MAC entities in the terminal B, and an address of each MAC entity; where, the group information of the terminal B The value of the terminal B is not a member of the existing group or the terminal B is the group owner of the existing group where the terminal B is located, or the terminal B is the client of the existing group where the terminal B is located;
- the Wi-Fi Direct configuration information of the terminal A may further include: a group owner's intention of the terminal A, a number of MAC entities in the terminal A, and an address of each MAC entity; where the group information of the terminal A may be a terminal A is not a member of the existing group or the terminal A is the group owner of the existing group where the terminal A is located, or the terminal A is the client of the existing group where the terminal A is located.
- Step 603 The terminal B determines, according to the group information of the terminal A and the terminal B, that one of the terminal A and the terminal B is a member of the existing group. If terminal B is a member of the existing group, and terminal A is not a member of the existing group, step 604 is performed. If terminal B is not a member of the existing group and terminal A is a member of the existing group, step 620 is performed.
- Step 604 the terminal B receives the default setting of the terminal A sent by the terminal A through the NFC connection.
- the default setting of the terminal A may be included in the Wi-Fi Direct configuration information of the terminal A; or the default setting may not be included in the Wi-Fi Direct configuration information of the terminal A, but with the terminal A.
- the Wi-Fi Direct configuration information is sent to the terminal B.
- the default setting of terminal A reflects that the terminal A requires to join the existing group where terminal B is located or terminal A requires a new group to be established with terminal B.
- Step 605 The terminal B determines, according to the default setting of the terminal A, whether the terminal A is required to join the existing group where the terminal B is located; if yes, step 606 is performed; if not, the terminal B determines the terminal A request and the terminal according to the default setting of the terminal A. B. To establish a new group, go to step 613.
- Step 606 The terminal B determines, according to the group information of the terminal B, whether the terminal B is the group owner of the existing group in which the terminal B is located. If yes, step 607 is performed; if terminal B is not the group owner of the existing group where terminal B is located, but the client of the existing group, step 610 is performed.
- Step 607 the terminal B encapsulates the Wi-Fi direct configuration information of the existing group where the terminal B is located. It is sent to terminal A in the NFC connection switching response.
- Step 608 The terminal A sets the value of the group main intention in the Wi-Fi direct configuration information of the terminal A to be smaller than the Wi-Fi direct configuration information of the terminal B according to the Wi-Fi direct configuration information of the existing group.
- the value of the value of the group's primary intent In this way, terminal A can join the existing group where terminal B is located as a client.
- Step 609 The terminal B establishes a Wi-Fi direct connection with the terminal A according to the Wi-Fi direct connection configuration information of the existing group.
- Step 610 The terminal B encapsulates the configuration information other than the encrypted information and the description information of the group owner of the existing group in the Wi-Fi direct configuration information of the existing group in the NFC connection switching response, and sends the information to the terminal A.
- Step 611 The terminal A requests the group owner to encrypt the information in the Wi-Fi direct connection configuration information of the existing group according to the description information of the group owner, and receives the Wi-Fi direct connection configuration of the existing group sent by the group owner. Encrypted information in the message.
- the terminal A may request the encrypted information from the group owner by using a wireless connection (for example, Wi-Fi), or may use an additional touch (ie, establish an NFC connection with the group owner) to obtain the above encryption. information.
- a wireless connection for example, Wi-Fi
- an additional touch ie, establish an NFC connection with the group owner
- terminal A also obtains the Wi-Fi Direct configuration information of all existing groups, and then proceeds to step 612.
- Step 612 The terminal B establishes a Wi-Fi direct connection with the terminal A according to the Wi-Fi direct connection configuration information of the existing group.
- Step 613 The terminal B determines whether the terminal B includes at least one MAC entity that has not been used yet. If yes, step 614 is performed. If no, that is, terminal B determines that the MAC entities in terminal B are all used, step 616 is performed.
- Step 614 The terminal B selects one of the MAC entities that have not been used by the terminal B as the MAC entity used by the terminal B in the new group to be established, and sets the Wi-Fi direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the terminal B is located.
- the terminal B is configured to set up a new group of Wi-Fi to be established.
- the Wi-Fi Direct configuration information of the terminal A may be partially or completely used.
- the group ID in the Wi-Fi Direct configuration information of the terminal A may be used as the identifier of the new group to be established.
- the Wi-Fi Direct configuration information of the new group to be established is separately set, and the present invention is directed to the terminal B.
- the method of setting the Wi-Fi Direct configuration information of the new group to be established is not limited, as long as the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the terminal B is located. Just fine.
- the Wi-Fi Direct configuration information of the new group to be established further includes group information of the first terminal.
- Step 615 The terminal B encapsulates the Wi-Fi direct configuration information of the new group to be established in the NFC connection switching response, and sends the configuration to the terminal A according to the Wi-Fi direct connection configuration of the new group to be established. Information establishes a Wi-Fi direct connection.
- Step 616 the terminal B prompts the user who uses the terminal B to exit the existing group where the terminal B is located; if the user using the terminal B chooses to exit the existing group where the terminal B is located, step 617 is performed; if the user using the terminal B chooses not to exit If the terminal B is in the existing group, step 619 is performed.
- step 617 the terminal B exits the existing group where the terminal B is located, and sets the Wi-Fi direct connection of the new group to be established according to the Wi-Fi direct configuration information of the terminal B and the Wi-Fi direct configuration information of the terminal A. Configuration information.
- the Wi-Fi Direct configuration information of the new group to be established includes the identifier of the new group to be established, the BSSID of the new group to be established, the working channel of the new group to be established, and the group idea of the terminal B.
- the value of the group owner's intention of the terminal B in the Wi-Fi Direct configuration information of the new group to be established is different from the value of the group owner's intention of the terminal A.
- Step 618 The terminal B encapsulates the Wi-Fi direct connection configuration information of the new group to be established in the NFC connection switching response, and sends the information to the terminal A according to the new group's Wi-Fi direct connection configuration information and the terminal to be established. A establishes a Wi-Fi direct connection.
- Step 619 the terminal B returns a connection establishment failure response to the terminal A.
- Step 620 The terminal B determines, according to the default setting of the terminal B, whether the terminal B is required to join the existing group where the terminal A is located. If yes, step 621 is performed; if terminal B determines, according to the default setting of terminal B, that terminal B is not required to join the existing group where terminal A is located, but requests and ends End A establishes a new group, and step 626 is performed.
- Step 621 The terminal B determines, according to the group information of the terminal A, whether the terminal A is the group owner of the existing group in which the terminal A is located. If yes, step 622 is performed; if terminal A is not the group owner of the existing group where terminal A is located, but the client of the existing group, step 623 is performed.
- Step 622 The terminal B sets the value of the group main intention in the Wi-Fi Direct configuration information of the terminal B to be smaller than the value of the group main intention in the Wi-Fi direct configuration information of the terminal A, and the terminal A establishes a Wi-Fi Direct connection according to the Wi-Fi Direct configuration information of the terminal A.
- the terminal B sets the value of the group owner's intention in the Wi-Fi Direct configuration information of the terminal B to be smaller than the value of the group owner's intention in the Wi-Fi direct configuration information of the terminal A, such that the terminal B can join the existing group as the client of the existing group where the terminal A is located.
- the Wi-Fi Direct configuration information of the terminal A is the Wi-Fi Direct configuration information of the existing group where the terminal A is located.
- Step 623 The terminal B receives the description information of the group owner of the existing group where the terminal A is sent by the terminal A through the NFC connection.
- the description information of the group owner of the existing group where the terminal A is located may be included in the Wi-Fi Direct configuration information of the terminal A; or the description information of the group owner of the existing group where the terminal A is located may not include In the Wi-Fi Direct configuration information of the terminal A, it is sent to the terminal B together with the Wi-Fi direct configuration information of the terminal A.
- the Wi-Fi Direct configuration information of the terminal A is configuration information other than the encrypted information in the Wi-Fi Direct configuration information of the existing group where the terminal A is located.
- the description information of the group owner of the existing group in which the terminal A is located may be sent together with the Wi-Fi direct configuration information of the terminal A, or may be separately sent, which is not limited in this embodiment;
- the terminal A may, in step 602, connect the Wi-Fi direct connection configuration information of the terminal A and the description information of the group owner of the existing group where the terminal A is located through the NFC connection.
- the terminal B for example, the two pieces of information are encapsulated in the NFC connection switching request and sent to the terminal B.
- the terminal A may first carry the Wi-Fi direct configuration information of the terminal A in the NFC in step 602.
- the connection switching request is sent to the terminal B, and the description information of the group owner of the existing group in which the terminal A is located is carried in the NFC connection switching request or other message to the terminal B through the NFC connection.
- Step 624 The terminal B sends a group to the group according to the description information of the group owner of the existing group where the terminal A is located.
- the owner requests the encrypted information in the Wi-Fi Direct configuration information of the existing group where the terminal A is located, and receives the encrypted information in the Wi-Fi Direct configuration information of the existing group sent by the group owner.
- the terminal B may request the encrypted information from the group owner by means of a wireless connection, or may obtain the encrypted information by using an additional touch (ie, establishing an NFC connection with the group owner). Thus, terminal B also obtains Wi-Fi Direct configuration information for all existing groups, and then proceeds to step 625.
- Step 625 The terminal B establishes a Wi-Fi direct connection with the terminal A according to the Wi-Fi direct configuration information of the existing group.
- Step 626 The terminal B determines whether at least one MAC entity that has not been used is included in the terminal A. If yes, go to step 627. If no, that is, terminal B determines that the MAC entities in terminal A are all used, step 629 is performed.
- Step 627 The terminal B selects one of the MAC entities that have not been used by the terminal A, and sets the Wi-Fi direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the new group to be established further includes the address of the MAC entity selected by the terminal B from the terminal A, and the Wi-Fi direct configuration information of the new group to be established and the terminal A are located.
- the existing Wi-Fi Direct configuration information of the existing group does not conflict; specifically, when the terminal B sets the Wi-Fi Direct configuration information of the new group to be established, the Wi-Fi Direct connection of the terminal B may be partially or completely used.
- the configuration information may be, for example, the group ID in the Wi-Fi Direct configuration information of the terminal B as the identifier of the new group to be established, and/or the group BSSID in the Wi-Fi Direct configuration information of the terminal B.
- the Wi-Fi Direct configuration information of the new group to be established may be separately set, and the present invention is directed to the terminal B.
- the method of setting the Wi-Fi Direct configuration information of the new group to be established is not limited, as long as the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the terminal A is located. Just fine.
- Step 628 the terminal B encapsulates the Wi-Fi direct connection configuration information of the new group to be established.
- the NFC connection switching response is sent to the terminal A, and the terminal A establishes a Wi-Fi direct connection according to the Wi-Fi direct configuration information of the new group to be established.
- the step 627 to the step 628 may be: the terminal B sets the Wi-Fi direct connection configuration information of the new group to be established, and the Wi-Fi direct connection configuration of the new group to be established.
- the information does not conflict with the Wi-Fi Direct configuration information of the existing group where Terminal A is located; then, The terminal B sends the Wi-Fi Direct configuration information of the new group to be established to the terminal A through the NFC connection.
- the terminal A selects one of the MAC entities that have not been used by the terminal A, and establishes a Wi-Fi direct connection with the terminal B according to the Wi-Fi Direct configuration information of the new group to be established.
- the Wi-Fi direct configuration information of the terminal B may be partially or completely used.
- the Wi-Fi connection of the terminal B may be used.
- the group ID in the configuration information is used as the identifier of the new group to be established, and/or the group BSSID in the Wi-Fi Direct configuration information of the terminal B is used as the BSSID of the new group to be established, and the like;
- the Wi-Fi direct connection configuration information of the terminal B is set separately, and the Wi-Fi direct connection configuration information of the new group to be established is separately set.
- the method for setting the Wi-Fi direct connection configuration information of the new group to be established by the terminal B is set. It is not limited as long as the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the terminal A is located.
- Step 629 the terminal B sends an indication to the terminal A that the terminal B requests to establish a new group with the terminal A.
- Step 630 The terminal A prompts the user who uses the terminal A to exit the existing group where the terminal A is located. If the user using terminal A chooses to exit the existing group where terminal A is located, step 631 is performed; if the user using terminal A chooses not to exit the existing group where terminal A is located, step 632 is performed.
- Step 631 The terminal A exits the existing group where the terminal A is located, and sets the Wi-Fi direct connection configuration information of the new group to be established according to the Wi-Fi direct configuration information of the terminal B and the Wi-Fi direct configuration information of the terminal A. And establishing a Wi-Fi direct connection with the terminal B according to the Wi-Fi Direct configuration information of the new group to be established.
- both the terminal A and the terminal B are not members of the existing group, and then the terminal A and the terminal B can establish a Wi-Fi direct connection according to the method provided in the embodiment shown in FIG. 3 of the present invention. , will not repeat them here.
- Step 632 the Wi-Fi direct connection establishment between the terminal B and the terminal A fails.
- only one of the terminal A and the terminal B is a member of the existing group. If the member of the existing group is the group owner of the existing group, the group can be used as the group owner in the new group to be established. Client; If the existing group member is the client of the existing group, the terminal can only be the group owner in the new group to be established.
- FIG. 7 is a schematic diagram of another embodiment of a format of a connection handover request according to the present invention.
- FIG. 8 is a schematic diagram of another embodiment of a format of a connection handover response according to the present invention.
- connection switching request shown in FIG. 7 or the connection switching response shown in FIG. 8 does not include the authentication information and the encryption information; when the members of the existing group retreat
- FIG. 4 and FIG. 5 For the format of the connection switching request and the connection switching response when the group or the two terminals establish a new group, refer to FIG. 4 and FIG. 5, and details are not described herein again.
- the terminal A and the terminal B use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, and the definition in the Wi-Fi Direct protocol is omitted.
- the handshake process of device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling simplifies the process of establishing a Wi-Fi direct connection.
- the Wi-Fi Direct protocol defines that the client cannot actively discover other groups of GOs and clients. In this scenario, the wireless signaling cannot be used to establish a Wi-Fi direct connection, and the technical solution provided in this embodiment is used. Without such a limitation, as long as the terminal A and the terminal B can exchange configuration information within the NFC communication range, a Wi-Fi direct connection between the terminal A and the terminal B can be established.
- FIG. 9 is a flowchart of still another embodiment of a method for establishing a communication connection according to the present invention. As shown in FIG. 9, the method for establishing a communication connection may include:
- Step 901 The terminal A unlocks the screen, opens the NFC function, touches the NFC function, unlocks the terminal B of the screen, and establishes an NFC connection between the terminal A and the terminal B.
- Step 902 The terminal B receives the Wi-Fi Direct configuration information of the terminal A sent by the terminal A through the NFC connection.
- the terminal A and the terminal B can determine the Requester and the Selector identity by using the "Handover Request Collision Resolution Mechanism" defined by the NFC connection switching protocol.
- the terminal A is the Requester and the terminal B is the Selector. .
- the Wi-Fi Direct configuration information of the terminal B includes the group information of the terminal B.
- the Wi-Fi Direct configuration information of the terminal B may further include: a group of the terminal B.
- the group owner or terminal B is the client of the existing group where the terminal B is located;
- the Wi-Fi Direct configuration information of the terminal A includes the group information of the terminal A.
- the Wi-Fi Direct configuration information of the terminal A may further include: the group owner's intention of the terminal A and the number of MAC entities in the terminal A and each The address of the MAC entity; where the group information of the terminal A can be a member of the existing group of the terminal A or the terminal A of the existing group where the terminal A is located, or the terminal A is the existing group where the terminal A is located. Client.
- Step 903 The terminal B determines that the terminal B and the terminal A are members of the existing group according to the group information of the terminal B and the group information of the terminal A.
- Step 904 The terminal B determines whether the terminal B and the terminal A are in the same group according to the Wi-Fi direct configuration information of the terminal B and the Wi-Fi direct configuration information of the terminal A. If yes, step 905 is performed; if no, that is, terminal B and terminal A are not in the same group, step 906 is performed.
- the terminal B can compare whether the group ID, the group BSSID, the MAC address of the GO, and the IP base address in the Wi-Fi Direct configuration information of the terminal B and the terminal A are the same, and determine whether the terminal B and the terminal A are in the same group. If the group ID, the group BSSID, the MAC address of the GO, and the IP base address in the Wi-Fi Direct configuration information are the same, it may be determined that the terminal B and the terminal A are in the same group; otherwise, it may be determined that the terminal B and the terminal A are not in the same group; The same group.
- Step 905 The terminal B sends a message to the terminal A that the terminal B can directly communicate with the terminal A. Specifically, if both the terminal B and the terminal A are clients, the direct data connection can be established through GO communication or under the assistance of the GO; if the terminal B and the terminal A are GO and the client is a client, the communication can be directly performed.
- Step 906 The terminal B determines, according to the group information of the terminal B and the group information of the terminal A, whether at least one of the terminal B and the terminal A is a group owner. If yes, go to step 907; if no, if there is no group owner in terminal B and terminal A, that is, terminal B and terminal A are clients of the existing group, go to step 910.
- Step 907 the terminal B determines whether the terminal A and the terminal B both contain at least one MAC entity that has not been used; if yes, that is, both the terminal A and the terminal B include at least one MAC entity that has not been used yet, step 908 is performed; If no, ie in terminal A and/or terminal B If the MAC entities are all used, step 910 is performed.
- Step 908 The terminal B selects one of the MAC entities that are not used by the terminal B as the MAC entity used by the terminal B in the new group to be established, and selects one of the MAC entities that have not been used by the terminal A, and sets the to-be-established.
- the new group's Wi-Fi Direct configuration information The new group's Wi-Fi Direct configuration information.
- the Wi-Fi Direct configuration information of the new group to be established may further include the address of the MAC entity selected by the terminal B from the terminal A.
- the terminal that is the group owner in the existing group must be the client in the new group, and the Wi-Fi in the new group is straight.
- the group owner's main intention must be set to be smaller than the peer group's main intention; if both terminal B and terminal A are group owners in the existing group, the group owner's main intention is optional in the new group configuration information. To set, you only need to set the values of the group owner's intentions of the two terminals to different values.
- step 909 the terminal B encapsulates the Wi-Fi direct configuration information of the new group to be established in the NFC connection switching response, and sends the configuration to the terminal A according to the Wi-Fi direct connection configuration of the new group to be established.
- Information establishes a Wi-Fi direct connection.
- Step 910 The terminal B prompts the user who uses the terminal B to exit the existing group where the terminal B is located, and instructs the terminal A to prompt the user who uses the terminal A to exit the existing group where the terminal A is located.
- Step 911 after the user using the terminal B chooses to exit the existing group where the terminal B is located, and/or the user who uses the terminal A chooses to exit the existing group where the terminal A is located, the terminal B and the terminal A are based on the terminal of the existing group that is not exiting.
- the Wi-Fi Direct configuration information or the Wi-Fi Direct configuration information of the new group to be established establishes a Wi-Fi Direct connection.
- the terminal B or the terminal A retains both the original connection and the new connection, the terminal cannot serve as the client in both groups. Specifically, if the terminal acts as a client in the original connection, it must be the group owner in the new connection; if the terminal is the group owner in the original connection, the terminal can be used as a group in the new group.
- the Lord can be a client.
- the terminal A and the terminal B can use the embodiment shown in FIG. 6 of the present invention.
- the provided method establishes Wi-Fi direct connection and communication; if the user using terminal B opts out of the existing group where terminal B is located, and uses the user of terminal A If the existing group in which the terminal A is located is also selected, the terminal A and the terminal B can establish a Wi-Fi direct connection and communication by using the method provided in the embodiment shown in FIG. 3 of the present invention;
- FIG. 10 is a schematic diagram of still another embodiment of a format of a connection handover request according to the present invention
- FIG. 11 is a schematic diagram of still another embodiment of a format of a connection handover response according to the present invention.
- the terminal A and the terminal B use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, and the definition in the Wi-Fi Direct protocol is omitted.
- the handshake process of device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling simplifies the Wi-Fi Direct connection establishment process.
- the Wi-Fi Direct protocol defines that the client cannot actively discover other groups of GOs and clients. In this scenario, the wireless signaling cannot be used to establish a Wi-Fi direct connection, and the technical solution provided in this embodiment is used. Without such a limitation, as long as the terminal A and the terminal B can exchange configuration information within the NFC communication range, a Wi-Fi direct connection between the terminal A and the terminal B can be established.
- FIG. 12 is a schematic structural diagram of an embodiment of a terminal according to the present invention.
- the terminal 12 in the embodiment is a first terminal, and the process of the embodiment shown in FIG. 1 can be implemented.
- the terminal 12 can include: Receiving module 121, determining module 122 and establishing module 123;
- the receiving module 121 is configured to receive Wi-Fi direct connection configuration information of the second terminal that is sent by the second terminal by using the NFC connection between the first terminal and the second terminal; and the Wi-Fi direct connection configuration of the second terminal
- the information includes group information of the second terminal;
- the determining module 122 is configured to determine, according to the group information of the first terminal and the group information of the second terminal that is received by the receiving module 121, that the first terminal and the second terminal are not members of the existing group; or, according to the group information of the first terminal And the group information of the second terminal received by the receiving module 121 determines that at least one of the first terminal and the second terminal is a member of the existing group;
- the establishing module 123 is configured to: when the determining module 122 determines that the first terminal and the second terminal are not When the member of the existing group, the Wi-Fi direct connection is established with the second terminal according to the Wi-Fi direct configuration information of the first terminal and the Wi-Fi direct configuration information of the second terminal; when the determining module 122 determines the first When at least one of the terminal and the second terminal is a member of the existing group, the Wi-Fi direct connection is established with the second terminal according to the existing group or the new group's Wi-Fi Direct configuration information to be established.
- the Wi-Fi Direct configuration information of the second terminal received by the receiving module 121 may further include: a group owner intent of the second terminal, and a number of MAC entities in the second terminal and an address of each MAC entity. ;
- the group information of the second terminal includes that the second terminal is not a member of the existing group, or the second terminal is a group owner of the existing group where the second terminal is located, or the second terminal is a client of the existing group where the second terminal is located. ;
- the Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal; the group information of the first terminal includes the first terminal is not a member of the existing group or the first terminal is a group of the existing group where the first terminal is located.
- the Owner or the first terminal is a client of the existing group where the first terminal is located; further, the Wi-Fi Direct configuration information of the first terminal may further include: a group owner's intention of the first terminal and the first terminal.
- the number of MAC entities and the address of each MAC entity; the Wi-Fi Direct configuration information of the new group to be established includes the identity of the new group to be established, the BSSID of the new group to be established, and the new group to be established.
- the first terminal and the second terminal use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, thereby eliminating the Wi-Fi Direct protocol.
- the handshake process such as device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling simplifies the establishment process of Wi-Fi direct connection.
- the Wi-Fi Direct protocol stipulates that a client of a Wi-Fi Direct group cannot actively discover other groups of GOs and clients. In this scenario, wireless signaling cannot be used to establish a Wi-Fi direct connection. For example, there is no such limitation. As long as the first terminal and the second terminal can exchange configuration information within the NFC communication range, a Wi-Fi direct connection between the first terminal and the second terminal can be established.
- FIG. 13 is a schematic structural diagram of another embodiment of the terminal according to the present invention.
- the terminal 13 shown in FIG. 13 is different from the terminal 12 shown in FIG. 12 in that, in an implementation manner of this embodiment,
- the establishing module 123 may include: a first establishing submodule 1231, a first setting submodule 1232, and a first sending submodule 1233;
- the first setting sub-module 1232 is configured to set, according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, the Wi-Fi Direct configuration information of the new group to be established;
- the first setting sub-module 1232 may use the first when setting the identifier of the new group to be established.
- the group identifier in the Wi-Fi Direct configuration information of the terminal may also use the group identifier in the Wi-Fi Direct configuration information of the second terminal, or may not use the Wi-Fi Direct configuration information of the first terminal.
- the group identifier does not use the group identifier in the Wi-Fi Direct configuration information of the second terminal, but resets an identifier for the new group to be established.
- the BSSID of the new group to be established and the new to be established may also adopt the above setting manner, that is, the Wi-Fi of the first terminal or the second terminal may be used.
- the first sending sub-module 1233 is configured to send the Wi-Fi direct connection configuration information of the new group to be established set by the first setting sub-module 1232 to the second terminal by using an NFC connection;
- the first establishing submodule 1231 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct configuration information of the new group to be established.
- the determining module 122 is configured to determine, according to the group information of the first terminal and the group information of the second terminal, that at least one of the first terminal and the second terminal is a member of an existing group.
- the determining module 122 is specifically configured to determine, according to the group information of the first terminal and the group information of the second terminal, that the first terminal is a member of an existing group, and the second terminal is not a member of an existing group.
- the receiving module 121 is further configured to receive a default setting of the second terminal that is sent by the second terminal by using the NFC connection.
- the default setting of the second terminal may be included in the Wi-Fi Direct configuration information of the second terminal; or the default setting may not be included in the Wi-Fi Direct configuration information of the second terminal, but And sending the Wi-Fi direct configuration information of the second terminal to the first terminal, where the default setting reflects that the second terminal requests to join the existing group where the first terminal is located or the second terminal requests to establish a new group with the first terminal.
- the establishing module 123 may include: a first determining submodule 1234, a second sending submodule 1235, and a second establishing submodule 1236;
- the first determining sub-module 1234 is configured to determine, according to the default setting of the second terminal received by the receiving module 121, that the second terminal requests to join the existing group where the first terminal is located;
- the second sending sub-module 1235 is configured to determine, after the first determining sub-module 1234, that the second terminal is required to join the existing group where the first terminal is located, the determining module 122 determines that the first terminal is the first terminal according to the group information of the first terminal.
- the Wi-Fi direct configuration information of the existing group where the first terminal is located is sent to the second terminal through the NFC connection, so that the second terminal is configured according to the Wi-Fi connection of the existing group.
- the information, the value of the group owner's intention in the Wi-Fi Direct configuration information of the second terminal is set to be smaller than the value of the group owner's intention in the Wi-Fi Direct configuration information of the first terminal, such that the second terminal It can be added as a client to the existing group where the first terminal is located;
- the second establishing sub-module 1236 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group.
- the establishing module 123 may include: a second determining submodule 1237, a third sending submodule 1238, and a third establishing submodule 1239;
- the second determining sub-module 1237 is configured to determine, according to the default setting of the second terminal received by the receiving module 121, that the second terminal requests to join the existing group where the first terminal is located;
- the third sending sub-module 1238 is configured to determine, after the second determining sub-module 1237 determines that the second terminal is required to join the existing group where the first terminal is located, the determining module 122 determines that the first terminal is the first terminal according to the group information of the first terminal.
- the configuration information other than the encrypted information in the Wi-Fi direct configuration information of the existing group and the description information of the group owner of the existing group are sent to the second terminal through the NFC connection. So that the second terminal requests the group owner to encrypt the information in the Wi-Fi direct connection configuration information of the existing group according to the description information of the group owner, and receives the Wi-Fi direct connection configuration of the existing group sent by the group owner.
- the encrypted information in the information; the third establishing sub-module 1239 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group.
- the establishing module 123 may include: a third determining submodule 12310, a fourth establishing submodule 12311, a second setting submodule 12312, and a fourth sending submodule 12313;
- the third determining sub-module 12310 is configured to determine, according to a default setting of the second terminal that is received by the receiving module 121, that the second terminal requests to establish a new group with the first terminal;
- a second setting sub-module 12312 configured to: after the third determining sub-module 12310 determines that the second terminal requests to establish a new group with the first terminal, when the third determining sub-module 12310 determines that the first terminal includes at least one MAC that has not been used yet When the entity is selected, one of the MAC entities that have not been used by the first terminal is selected as the MAC entity used by the first terminal in the new group to be established, and the Wi-Fi Direct configuration information of the new group to be established is set; The Wi-Fi Direct configuration information of the new group does not conflict with the Wi-Fi Direct configuration information of the existing group where the first terminal is located, and the Wi-Fi Direct configuration information of the new group to be established further includes the first terminal.
- the second setting sub-module 12312 may partially or completely use the Wi-Fi direct configuration information of the second terminal when setting the Wi-Fi direct configuration information of the new group to be established, or may not
- the Wi-Fi Direct configuration information of the second terminal is used, and the Wi-Fi Direct configuration information of the new group to be established is separately set.
- the second setting sub-module 12312 of the present invention sets the Wi- of the new group to be established. Fi Even embodiment is not limited in the configuration information, Wi-Fi of the new group to be established as long as the Wi-Fi direct connection configuration information existing at a first terminal directly connected to the group configuration information can not conflict.
- the fourth sending sub-module 12313 is configured to send the Wi-Fi direct connection configuration information of the new group to be established set by the second setting sub-module 12312 to the second terminal by using the NFC connection;
- the fourth establishing sub-module 12311 is configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established set by the second terminal according to the second setting sub-module 12312.
- the establishing module 123 may include: a fourth determining submodule 12314, a first prompting submodule 12315, a first exiting submodule 12316, a third setting submodule 12317, and a fifth sending sub The module 12318 and the fifth establishing sub-module 12319; wherein, the fourth determining sub-module 12314 is configured to determine, according to the default setting of the second terminal received by the receiving module 121, that the second terminal requests to establish a new group with the first terminal;
- a first prompt sub-module 12315 configured to: after the fourth determining sub-module 12314 determines that the second terminal requests to establish a new group with the first terminal, when the fourth determining sub-module 12314 determines that the MAC entities in the first terminal are all used, Prompting to the user who uses the first terminal whether to exit the existing group where the first terminal is located;
- a first exit sub-module 12316 configured to opt out of the first end when the user using the first terminal
- the first terminal is exited from the existing group where the first terminal is located
- the third setting sub-module 12317 is configured to exit the first terminal from the existing terminal where the first terminal is located in the first exiting sub-module 12316.
- the Wi-Fi Direct configuration information of the new group to be established is set according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal;
- the value of the group owner's intention of the first terminal in the Wi-Fi Direct configuration information is different from the value of the group owner's intention of the second terminal.
- the fifth sending sub-module 12318 is configured to send the Wi-Fi Direct configuration information of the new group to be established set by the third setting sub-module 12317 to the second terminal by using the NFC connection;
- the fifth establishing submodule 12319 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established set by the third setting submodule 12317.
- the determining module 122 is configured to determine, according to the group information of the first terminal and the group information of the second terminal, that at least one of the first terminal and the second terminal is a member of the existing group, including: determining The module 122 is specifically configured to determine, according to the group information of the first terminal and the group information of the second terminal, that the second terminal is a member of the existing group, and the first terminal is not a member of the existing group.
- the establishing module 123 may include: a sixth determining sub-module 12320, a fourth setting sub-module 12321, and a sixth establishing sub-module 12322;
- the sixth determining sub-module 12320 is configured to determine, according to the default setting of the first terminal received by the receiving module 121, that the first terminal requests to join the existing group where the second terminal is located;
- a fourth setting sub-module 12321 configured to determine, after the sixth determining sub-module 12320 determines that the first terminal is required to join the existing group where the second terminal is located, the determining module 122 determines, according to the group information of the second terminal, that the second terminal is the second
- the value of the group owner's intention in the Wi-Fi direct configuration information of the first terminal is set to be smaller than the group owner's intention in the Wi-Fi direct configuration information of the second terminal. The value of the value, so that the first terminal can join the existing group as the client of the existing group where the second terminal is located;
- the sixth establishing sub-module 12322 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi direct configuration information of the second terminal, where the Wi-Fi direct configuration information of the second terminal is Wi-Fi Direct configuration information of the existing group where the second terminal is located.
- the Wi-Fi direct configuration information of the second terminal received by the receiving module 121 is the second terminal.
- the receiving module 121 is further configured to receive, by the second terminal, the description information of the group owner of the existing group where the second terminal is sent by using the NFC connection; specifically, the group of the existing group where the second terminal is located.
- the description information of the owner may be included in the Wi-Fi Direct configuration information of the second terminal; or the description information of the group owner of the existing group where the second terminal is located may not be included in the Wi-Fi of the second terminal.
- the Wi-Fi direct configuration information of the second terminal is sent to the first terminal.
- the establishing module 123 may include: a seventh determining submodule 12323, a first requesting submodule 12324, a first receiving submodule 12325, and a seventh establishing submodule 12326; wherein, the seventh determining submodule 12323 is used by Determining, according to the default setting of the first terminal received by the receiving module 121, that the first terminal requests to join the existing group where the second terminal is located;
- the first requesting sub-module 12324 is configured to request, from the group owner, the Wi-Fi direct connection configuration information of the existing group where the second terminal is located according to the description information of the group owner of the existing group where the second terminal is received by the receiving module 121. Encrypted information;
- the first receiving sub-module 12325 is configured to receive the encrypted information in the Wi-Fi direct connection configuration information of the existing group sent by the group owner, so that the first terminal obtains all Wi-Fi direct connection configuration information of the existing group;
- the seventh establishing submodule 12326 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group.
- the establishing module 123 may include: an eighth determining submodule 12327, an eighth establishing submodule 12328, a fifth setting submodule 12329, and a sixth sending submodule 12330;
- the eighth determining sub-module 12327 is configured to determine, according to a default setting of the first terminal received by the receiving module 121, that the first terminal requests to establish a new group with the second terminal;
- the fifth setting sub-module 12329 is configured to, after the eighth determining sub-module 12327 determines that the first terminal requires to establish a new group with the second terminal, when the eighth determining sub-module 12327 determines that the second terminal includes at least one MAC that has not been used yet.
- the Wi-Fi Direct configuration information of the new group to be established further includes the first The address of the MAC entity selected by the terminal from the second terminal, and the Wi-Fi Direct configuration information of the new group to be established and the second The Wi-Fi Direct configuration information of the existing group where the terminal is located does not conflict; specifically, the fifth setting sub-module 12329 may use the first or all of the first set when the Wi-Fi Direct configuration information of the new group to be established is set.
- the Wi-Fi direct configuration information of the terminal may not use the Wi-Fi direct configuration information of the first terminal, but separately set the Wi-Fi direct configuration information of the new group to be established, and the present invention is fifth.
- the manner in which the setting sub-module 12329 sets the Wi-Fi Direct configuration information of the new group to be established is not limited, as long as the Wi-Fi Direct configuration information of the new group to be established and the Wi-Fi straight of the existing group where the second terminal is located are not limited. Even the configuration information does not conflict;
- a sixth sending sub-module 12330 configured to send the Wi-Fi direct connection configuration information of the new group to be established set by the fifth setting sub-module 12329 to the second terminal by using the NFC connection;
- the eighth establishing sub-module 12328 is further configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established set by the second terminal according to the fifth setting sub-module 12329.
- the establishing module 123 may include: a ninth determining submodule 12331, a sixth setting submodule 12332, and a seventh sending submodule 12333;
- the ninth determining sub-module 12331 is configured to determine, according to the default setting of the first terminal received by the receiving module 121, that the first terminal requests to establish a new group with the second terminal;
- the sixth setting sub-module 12332 is configured to, after the ninth determining sub-module 12331 determines that the first terminal requests to establish a new group with the second terminal, when the ninth determining sub-module 12331 determines that the second terminal includes at least one MAC that has not been used yet.
- the Wi-Fi Direct configuration information of the new group to be established is set, and the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the second terminal is located.
- the sixth setting sub-module 12332 sets the Wi-Fi direct configuration information of the new group to be established, the Wi-Fi direct configuration information of the first terminal may be partially or completely used, or may not be used.
- the Wi-Fi Direct configuration information of a terminal is separately set, and the Wi-Fi Direct configuration information of the new group to be established is separately set.
- the present invention sets the Wi-Fi Direct connection of the new group to be established to the sixth setting submodule 12332.
- the configuration information is not limited, as long as the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the second terminal is located;
- a seventh sending sub-module 12333 configured to send the Wi-Fi direct connection configuration information of the new group to be established set by the sixth setting sub-module 12332 to the second terminal by using the NFC connection, so that the second terminal is from the second terminal One of the MAC entities that have not been used is selected, and a Wi-Fi direct connection is established with the first terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the establishing module 123 may include: a tenth determining submodule 12334 and an eighth sending submodule 12335;
- the tenth determining submodule 12334 is configured to determine, according to the default setting of the first terminal received by the receiving module 121, that the first terminal requests to establish a new group with the second terminal;
- the eighth sending submodule 12335 is configured to, after the tenth determining submodule 12334 determines that the first terminal requests to establish a new group with the second terminal, when the tenth determining submodule 12334 determines that the MAC entity in the second terminal is used, The second terminal sends an indication that the first terminal requests to establish a new group with the second terminal, so that the second terminal prompts the user who uses the second terminal to exit the existing group where the second terminal is located, and selects the user in the second terminal.
- the existing group in which the second terminal is located is exited, and the new group to be established is set according to the Wi-Fi direct configuration information of the first terminal and the Wi-Fi direct configuration information of the second terminal.
- the Wi-Fi direct connection configuration information establishes a Wi-Fi direct connection with the first terminal according to the Wi-Fi direct connection configuration information of the new group to be established.
- the determining module 122 is configured to determine, according to the group information of the first terminal and the group information of the second terminal, that at least one of the first terminal and the second terminal is a member of the existing group, including: determining The module 122 is specifically configured to determine, according to the group information of the first terminal and the group information of the second terminal, that the first terminal and the second terminal are members of an existing group.
- the establishing module 123 may include: a ninth establishing submodule 12336, a seventh setting submodule 12337, and a ninth sending submodule 12338;
- the seventh setting sub-module 12337 is configured to determine, according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, that the first terminal and the second terminal are not in the same group, and the first The terminal and the second terminal each include at least one MAC entity that has not been used, and the determining module 122 determines, according to the group information of the first terminal and the group information of the second terminal, that at least one of the first terminal and the second terminal is a group In the primary time, one of the MAC entities that have not been used by the first terminal is selected as the MAC entity used by the first terminal in the new group to be established, and one of the MAC entities that have not been used by the second terminal is selected. Establishing a new group of Wi-Fi Direct configuration information; the Wi-Fi Direct configuration information of the new group to be established further includes an address of the MAC entity selected by the first terminal from the second terminal;
- the ninth sending sub-module 12338 configured to send the Wi-Fi direct connection configuration information of the new group to be established set by the seventh setting sub-module 12337 to the second terminal by using the NFC connection;
- the ninth establishing sub-module 12336 is configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established set by the second terminal according to the seventh setting sub-module 12337.
- the terminal that is the group owner in the existing group must be a client in the new group.
- the group owner's main intention must be set to be smaller than the peer's group owner's intention; if the first terminal and the second terminal are group owners in the existing group, the new group is configured.
- the main intention of the group belongings in the information can be set arbitrarily, and only the values of the group intent of the two terminals are set to different values.
- the establishing module 123 may include: a second prompting submodule 12339 and a tenth establishing submodule 12340;
- the second prompt sub-module 12339 is configured to determine, according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, that the first terminal is not in the same group as the second terminal, and the determining module Determining, according to the group information of the first terminal and the group information of the second terminal, that the first terminal and the second terminal are not the group owner, or, according to the Wi-Fi direct connection configuration information of the first terminal, and the second terminal Wi-Fi direct configuration information, determining that the first terminal and the second terminal are not in the same group, and when the MAC entity in the first terminal and/or the second terminal is used, prompting the user who uses the first terminal to withdraw the An existing group where the first terminal is located, and a user instructing the second terminal to use the second terminal to prompt whether to exit the existing group where the second terminal is located;
- the tenth establishing submodule 12340 is configured to: after the user using the first terminal opts out of the existing group where the first terminal is located, and/or after the user using the second terminal opts out of the existing group where the second terminal is located, and the second terminal
- the Wi-Fi Direct connection is established according to the Wi-Fi Direct configuration information of the terminal that is not in the existing group or the Wi-Fi Direct configuration information of the new group to be established.
- the terminal cannot serve as a client in both groups. Specifically, if the terminal acts as a client in the original connection, it must be the group owner in the new connection; if the terminal is the group owner in the original connection, the terminal can be used as a group in the new group.
- the Lord can be a client.
- the first terminal and the second terminal use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, thereby eliminating the Wi-Fi Direct protocol.
- the handshake process such as device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling simplifies the establishment process of Wi-Fi direct connection.
- the Wi-Fi Direct protocol defines that the client cannot actively discover other groups of GOs and clients. In this scenario, the wireless signaling cannot be used to establish a Wi-Fi direct connection, and the technical solution provided in this embodiment is used. Without such a limitation, as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range, a Wi-Fi direct connection between the first terminal and the second terminal can be established.
- FIG. 14 is a schematic structural diagram of still another embodiment of the terminal of the present invention.
- the terminal 14 in this embodiment can be used as the first terminal to implement the process of the embodiment shown in FIG. 1 of the present invention.
- the terminal 14 can include the following. : sending module 141 and establishing module 142;
- the sending module 141 is configured to send the Wi-Fi direct connection configuration information of the first terminal to the second terminal by using an NFC connection between the first terminal and the second terminal, where the Wi-Fi direct connection configuration information of the first terminal is Including group information of the first terminal;
- the establishing module 142 is configured to: when the first terminal and the second terminal are not members of the existing group, according to the Wi-Fi direct configuration information of the first terminal and the Wi-Fi direct configuration information of the second terminal, and the second The terminal establishes a Wi-Fi direct connection; or, when at least one of the first terminal and the second terminal is a member of the existing group, according to the existing group or the new group to be established, the Wi-Fi direct connection configuration information and the second The terminal establishes a Wi-Fi direct connection.
- the Wi-Fi Direct configuration information of the first terminal sent by the sending module 141 may further include: a group owner intent of the first terminal, a number of MAC entities in the first terminal, and an address of each MAC entity. ;
- the group information of the first terminal may be a value of the first terminal is not a member of the existing group or the first terminal is a group owner of the existing group where the first terminal is located or the first terminal is a client of the existing group where the first terminal is located.
- the Wi-Fi Direct configuration information of the second terminal may include: group information of the second terminal, a group owner's intention of the second terminal, and a number of MAC entities in the second terminal and an address of each MAC entity;
- the group information of the second terminal may be a member of the existing terminal that is not a member of the existing group, or the second terminal is the group owner of the existing group where the second terminal is located, or the second terminal is the existing group where the second terminal is located. Client.
- the Wi-Fi Direct configuration information of the new group to be established includes the identifier of the new group to be established, the BSSID of the new group to be established, the working channel of the new group to be established, and the group idea of the second terminal.
- the first terminal and the second terminal use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process, thereby eliminating the Wi-Fi Direct protocol.
- the handshake process such as device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling simplifies the establishment process of Wi-Fi direct connection.
- the Wi-Fi Direct protocol defines that the client cannot actively discover other groups of GOs and clients. In this scenario, the wireless signaling cannot be used to establish a Wi-Fi direct connection, and the technical solution provided in this embodiment is used. Without such a limitation, as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range, a Wi-Fi direct connection between the first terminal and the second terminal can be established.
- FIG. 15 is a schematic structural diagram of still another embodiment of the terminal of the present invention.
- the terminal 15 shown in FIG. 15 is different from the terminal 14 shown in FIG. 14 in that, in an implementation manner of this embodiment, the first When the terminal and the second terminal are not members of the existing group, the establishing module 142 may include: a first receiving submodule 1421 and a first establishing submodule 1422;
- the first receiving sub-module 1421 is configured to receive the Wi-Fi Direct configuration information of the new group to be established that is sent by the second terminal by using the foregoing NFC connection, where the Wi-Fi Direct configuration information of the new group to be established is the second
- the terminal is configured according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, and is sent to the first terminal;
- the first establishing sub-module 1422 is configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established that is received by the second terminal according to the first receiving sub-module 1421.
- the sending module 141 is further configured to send, by using the NFC connection, the first terminal to the second terminal.
- the default setting of the first terminal may be sent to the second terminal in the Wi-Fi Direct configuration information of the first terminal; or the default setting of the first terminal may not be included in the Wi- of the first terminal.
- the Wi-Fi direct configuration information of the first terminal is sent to the second terminal.
- the default setting of the first terminal may be that the first terminal requests to join the existing group where the second terminal is located or the first terminal requests to establish a new group with the second terminal.
- the establishing module 142 may include: a receiving sub-module 1423, a first setting sub-module 1424 and a second establishing sub-module 1425;
- the second receiving sub-module 1423 is configured to: when the first terminal is not a member of the existing group, and the second terminal is a member of the existing group, receive the Wi-Fi of the existing group where the second terminal sent by the second terminal by using the NFC connection Direct connection configuration information; the Wi-Fi direct connection configuration information of the existing group is determined by the second terminal according to the default setting of the first terminal, the first terminal is required to join the existing group where the second terminal is located, and the second terminal is configured according to the second terminal The group information is determined to be sent to the first terminal after the second terminal is the group owner of the existing group where the second terminal is located;
- the first setting sub-module 1424 is configured to set, according to the Wi-Fi direct connection configuration information of the existing group received by the second receiving submodule 1423, a value of the group main intention in the Wi-Fi direct configuration information of the first terminal.
- the second setup sub-module 1425 is configured to set the Wi-Fi direct configuration information of the first terminal in the first setup sub-module 1424, which is smaller than the value of the value of the group-owner intent in the Wi-Fi Direct configuration information of the second terminal.
- the Wi-Fi direct connection is established with the second terminal according to the Wi-Fi Direct configuration information of the existing group received by the second receiving submodule 1423.
- the establishing module 142 may include: a third receiving submodule 1426, a first requesting submodule 1427, and a third establishing submodule 1428;
- the third receiving sub-module 1426 is configured to: when the first terminal is not a member of the existing group, and the second terminal is a member of the existing group, receive the Wi-Fi of the existing group where the second terminal sent by the second terminal by using the NFC connection
- the information and the description information of the group owner of the existing group are that the second terminal determines, according to the default setting of the first terminal, that the first terminal requests to join the existing group where the second terminal is located, and the second terminal determines according to the group information of the second terminal.
- the second terminal is sent to the first terminal by the client of the existing group where the second terminal is located;
- the first request sub-module 1427 is configured to request, according to the description information of the group owner that is received by the third receiving sub-module 1426, the group owner to request the encrypted information in the Wi-Fi direct configuration information of the existing group, such that the first terminal Obtain all Wi-Fi Direct configuration information of the existing group;
- the third receiving sub-module 1426 is further configured to: after the first requesting sub-module 1427 requests the group owner for the encrypted information in the Wi-Fi Direct configuration information of the existing group, receive the Wi- of the existing group sent by the group owner. Fi is directly connected to the encrypted information in the configuration information;
- a third establishing sub-module 1428 configured to use the Wi-Fi Direct configuration information of the existing group according to the foregoing
- the second terminal establishes a Wi-Fi direct connection.
- the establishing module 142 may include: a fourth receiving submodule 1429 and a fourth establishing submodule 14210;
- the fourth receiving sub-module 1429 is configured to: when the first terminal is not a member of the existing group, and the second terminal is a member of the existing group, receive the Wi-Fi of the new group to be established that is sent by the second terminal by using the NFC connection. Direct connection configuration information;
- the fourth establishing sub-module 14210 is configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established that is received by the second receiving submodule 1429;
- the Wi-Fi Direct configuration information of the new group to be established is that the second terminal determines that the first terminal needs to establish a new group with the second terminal according to the default setting of the first terminal, and the second terminal determines that the second terminal includes at least one yet When the used MAC entity is used, one of the MAC entities that have not been used by the second terminal is selected as the MAC entity used by the second terminal in the new group to be established, and the Wi-Fi direct connection of the new group to be established is set.
- the Wi-Fi Direct configuration information of the new group to be established does not conflict with the Wi-Fi Direct configuration information of the existing group where the second terminal is located, and the new group to be established is
- the Wi-Fi Direct configuration information also includes group information of the second terminal.
- the establishing module 142 may include: a fifth receiving submodule 14211 and a fifth establishing submodule 14212;
- the fifth receiving sub-module 14211 is configured to: when the first terminal is not a member of the existing group, and the second terminal is a member of the existing group, receive the Wi-Fi direct connection of the new group to be established that is sent by the second terminal by using the NFC connection. Configuration information;
- the fifth establishing sub-module 14212 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established.
- the Wi-Fi Direct configuration information of the new group to be established is that the second terminal determines that the first terminal requires to establish a new group with the second terminal according to the default setting of the first terminal, and the second terminal determines that the second terminal is in the second terminal.
- the MAC entity When the MAC entity is used, the user who uses the second terminal is prompted to exit the existing group where the second terminal is located. If the user using the second terminal chooses to exit the existing group where the second terminal is located, the second terminal exits.
- the existing group in which the second terminal is located according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, setting the Wi-Fi direct connection configuration information of the new group to be established, and then sending the information to the first a terminal; the above new to be established
- the value of the group owner's intention of the second terminal in the Wi-Fi Direct configuration information of the group is different from the value of the group owner's intention of the first terminal.
- the establishing module 142 may include: a sixth establishing sub-module 14213;
- the sixth establishing sub-module 14213 is configured to: when the first terminal is a member of the existing group, and the second terminal is not a member of the existing group, if the second terminal determines, according to the default setting of the second terminal, that the second terminal requests to join the first terminal
- the value of the group owner's intention in the configuration information is set to be smaller than the value of the group owner's intention in the Wi-Fi direct configuration information of the first terminal, and the second terminal is configured according to the Wi-Fi direct connection of the first terminal.
- a Wi-Fi direct connection is established.
- the Wi-Fi Direct configuration information of the first terminal is the Wi-Fi Direct configuration information of the existing group where the first terminal is located.
- the sending module when the first terminal is a member of the existing group, the second terminal is not a member of the existing group, and the first terminal is a client of the existing group where the first terminal is located, the sending module
- the Wi-Fi Direct configuration information of the first terminal that is sent by the 141 is configuration information other than the encrypted information in the Wi-Fi Direct configuration information of the existing group where the first terminal is located;
- the sending module 141 is further configured to send the description information of the group owner of the existing group where the first terminal is located to the second terminal by using the foregoing NFC connection.
- the description information of the group owner of the existing group where the first terminal is located may include In the Wi-Fi Direct configuration information of the first terminal, or the description information of the group owner of the existing group where the first terminal is located may not be included in the Wi-Fi Direct configuration information of the first terminal, but And transmitting the Wi-Fi direct configuration information of the first terminal to the second terminal.
- the establishing module 142 may include: a sixth receiving sub-module 14214 and a seventh establishing sub-module 14215;
- the sixth receiving sub-module 14214 is configured to: when the first terminal is a member of the existing group, and the second terminal is not a member of the existing group, receive the Wi-Fi of the new group to be established that is sent by the second terminal by using the NFC connection. Direct connection configuration information;
- the seventh establishing sub-module 14215 is configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established that is received by the second terminal according to the sixth receiving sub-module 14214;
- the setting information is that the second terminal determines that the second terminal requests to establish a new group with the first terminal according to the default setting of the second terminal, and the second terminal determines that the first terminal includes at least one that has not been used yet.
- the Fi Direct connection configuration information further includes an address of the MAC entity selected by the second terminal from the first terminal, and the Wi-Fi Direct configuration information of the new group to be established and the Wi-Fi line of the existing group where the second terminal is located Even the configuration information does not conflict.
- the establishing module 142 may include: a seventh receiving sub-module 14216 and an eighth establishing sub-module 14217;
- the seventh receiving sub-module 14216 is configured to: when the first terminal is a member of the existing group, and the second terminal is not a member of the existing group, receive the Wi-Fi direct connection configuration information sent by the second terminal by using the NFC connection;
- the Wi-Fi Direct configuration information sent by the second terminal is that the second terminal determines that the second terminal needs to establish a new group with the first terminal according to the default setting of the second terminal, and determines that the first terminal includes at least one MAC entity that has not been used yet. And then set and send to the first terminal; the Wi-Fi direct configuration information of the new group to be established does not conflict with the Wi-Fi direct configuration information of the existing group where the first terminal is located;
- the eighth establishing sub-module 14217 is configured to select one of the MAC entities that have not been used by the first terminal, and select the Wi-Fi Direct configuration information of the new group to be established and the second terminal according to the seventh receiving sub-module 14216. Establish a Wi-Fi direct connection.
- the establishing module 142 may include: an eighth receiving submodule 14218, a first prompting submodule 14219, a first exiting submodule 14220, a ninth establishing submodule 14221, and a second setting submodule. 14222;
- the eighth receiving sub-module 14218 is configured to: when the first terminal is a member of the existing group, and the second terminal is not a member of the existing group, receive an indication that the second terminal sent by the second terminal requests to establish a new group with the first terminal.
- the above indication is that the second terminal determines that the second terminal needs to establish a new group with the first terminal according to the default setting of the second terminal, and determines that the MAC entity in the first terminal is used, and then sends the information to the first terminal;
- the first prompt sub-module 14219 is configured to prompt the user who uses the first terminal to exit the existing group where the first terminal is located;
- a first exit sub-module 14220 configured to opt out of the first end when the user using the first terminal After the existing group where the terminal is located, exit the existing group where the first terminal is located;
- the second setting sub-module 14222 is configured to set, according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, the ninth Wi-Fi Direct configuration information of the new group to be established.
- the establishing sub-module 14221 is configured to establish a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be established set by the second setting sub-module 14222.
- the establishing module 142 may include: a ninth receiving sub-module 14223 and a tenth establishing sub-module 14224;
- the ninth receiving sub-module 14223 is configured to: when the first terminal and the second terminal are members of the existing group, receive the Wi-Fi direct configuration information of the new group to be established that is sent by the second terminal by using the NFC connection;
- a tenth establishing sub-module 14224 configured to establish a Wi-Fi direct connection with the Wi-Fi direct configuration information of the new group to be established that is received by the second terminal according to the ninth receiving sub-module 14223;
- the Wi-Fi Direct configuration information of the new group to be established is that the second terminal determines the first terminal and the second according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal.
- the terminal is not in the same group, and the first terminal and the second terminal both include at least one MAC entity that has not been used, and the second terminal determines the first terminal and the second according to the group information of the first terminal and the group information of the second terminal.
- at least one of the terminals is a group owner
- one of the MAC entities that have not been used by the second terminal is selected as the MAC entity used by the second terminal in the new group to be established, and the first terminal is not used yet.
- the Wi-Fi Direct configuration information of the new group to be established further includes the second terminal The address of the MAC entity selected in a terminal.
- the terminal belonging to the group owner in the existing group must be a client in the new group, and the Wi-Fi connection in the new group is directly connected.
- the group owner's main intention must be set to be smaller than the peer group's main intention; if the first terminal and the second terminal are group owners in the existing group, the group's main intention may be in the new group configuration information. Feel free to set, just need to set the value of the group owner's intention of the two terminals to different values.
- the first terminal and the second terminal use the NFC connection to perform Wi-Fi direct configuration information interaction, and the device discovery process and the GO negotiation process are implicit in the interaction process.
- the handshake process such as device discovery, GO negotiation, and WPS authentication information interaction using wireless signaling defined in the Wi-Fi Direct protocol is simplified, which simplifies the establishment process of the Wi-Fi direct connection.
- the Wi-Fi Direct protocol defines that the client cannot actively discover other groups of GOs and clients. In this scenario, the wireless signaling cannot be used to establish a Wi-Fi direct connection, and the technical solution provided in this embodiment is used. Without such a limitation, as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range, a Wi-Fi direct connection between the first terminal and the second terminal can be established.
- FIG. 16 is a schematic structural diagram of still another embodiment of a terminal according to the present invention.
- the terminal 16 can serve as a first terminal.
- the terminal 16 can include: at least one processor 161, and a memory 162.
- the memory 162 is configured to store An executable program code, where the processor 161 is configured to: receive Wi-Fi Direct configuration information of the second terminal sent by the second terminal by using an NFC connection between the first terminal and the second terminal;
- the Wi-Fi Direct configuration information of the second terminal includes group information of the second terminal; if it is determined that the first terminal and the second terminal are not members of the existing group according to the group information of the first terminal and the group information of the second terminal, Establishing a Wi-Fi direct connection with the second terminal according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal; if the group information according to the first terminal and the second terminal
- the group information determines that at least one of the first terminal and the second terminal is a member of the existing group, and establish
- the computer system described above can also include a user interface 163 and a bus 164.
- the above processor 161, memory 162 and user interface 163 are all connected to bus 164.
- the first terminal in this embodiment can establish a communication connection with the second terminal according to the process provided by the method embodiment of the present invention when establishing a communication connection, and details are not described herein again.
- the above computer system simplifies the establishment process of the Wi-Fi direct connection, and the Wi between the first terminal and the second terminal can be established as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range. -Fi direct connection.
- FIG. 17 is a schematic structural diagram of still another embodiment of a terminal according to the present invention.
- the terminal 17 can serve as a first terminal.
- the terminal 17 can include: at least one processor 171, and a memory 172.
- the memory 172 is configured to store Executable program code, where processor 171 a program corresponding to the code, configured to: send the Wi-Fi direct connection configuration information of the first terminal to the second terminal by using an NFC connection between the first terminal and the second terminal; and the Wi-Fi direct connection configuration of the first terminal
- the information includes the group information of the first terminal.
- first terminal and the second terminal are not members of the existing terminal, according to the Wi-Fi direct connection configuration information of the first terminal and the Wi-Fi direct connection configuration information of the second terminal, Establishing a Wi-Fi direct connection with the second terminal; if at least one of the first terminal and the second terminal is a member of the existing group, establishing the Wi-Fi Direct configuration information of the existing group or the new group with the second terminal Wi-Fi direct connection.
- the computer system described above can also include a user interface 173 and a bus 174.
- the above processor 171, memory 172 and user interface 173 are all connected to bus 174.
- the first terminal in this embodiment can establish a communication connection with the second terminal according to the process provided by the method embodiment of the present invention when establishing a communication connection, and details are not described herein again.
- the above computer system simplifies the establishment process of the Wi-Fi direct connection, and the Wi between the first terminal and the second terminal can be established as long as the first terminal and the second terminal can exchange configuration information within the NFC communication range. -Fi direct connection.
- modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the embodiment description, or the corresponding changes may be located in one or more apparatuses different from the embodiment.
- the modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Databases & Information Systems (AREA)
Abstract
Description
Claims
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP12887769.3A EP2914046B1 (en) | 2012-10-29 | 2012-10-29 | Communication connection establishment method and terminal |
KR1020157000061A KR101624944B1 (ko) | 2012-10-29 | 2012-10-29 | 통신 접속을 구축하는 방법 및 장치 |
KR1020167013219A KR101658495B1 (ko) | 2012-10-29 | 2012-10-29 | 통신 접속을 구축하는 방법 및 장치 |
CA2911210A CA2911210C (en) | 2012-10-29 | 2012-10-29 | Method and terminal for establishing communication connection |
CN201710489658.7A CN107249174B (zh) | 2012-10-29 | 2012-10-29 | 通信连接建立方法和终端 |
CN201280003992.2A CN103931264B (zh) | 2012-10-29 | 2012-10-29 | 通信连接建立方法和终端 |
JP2015535955A JP6009682B2 (ja) | 2012-10-29 | 2012-10-29 | 通信接続を確立するための方法及び端末 |
PCT/CN2012/083692 WO2014067053A1 (zh) | 2012-10-29 | 2012-10-29 | 通信连接建立方法和终端 |
EP16187947.3A EP3185642B1 (en) | 2012-10-29 | 2012-10-29 | Method and terminal for establishing communication connection |
US14/690,701 US9345057B2 (en) | 2012-10-29 | 2015-04-20 | Method and terminal for establishing a communication connection |
US15/981,509 USRE48986E1 (en) | 2012-10-29 | 2018-05-16 | Method and terminal for establishing a communication connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/083692 WO2014067053A1 (zh) | 2012-10-29 | 2012-10-29 | 通信连接建立方法和终端 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/690,701 Continuation US9345057B2 (en) | 2012-10-29 | 2015-04-20 | Method and terminal for establishing a communication connection |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014067053A1 true WO2014067053A1 (zh) | 2014-05-08 |
Family
ID=50626292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/083692 WO2014067053A1 (zh) | 2012-10-29 | 2012-10-29 | 通信连接建立方法和终端 |
Country Status (7)
Country | Link |
---|---|
US (2) | US9345057B2 (zh) |
EP (2) | EP2914046B1 (zh) |
JP (1) | JP6009682B2 (zh) |
KR (2) | KR101658495B1 (zh) |
CN (2) | CN107249174B (zh) |
CA (1) | CA2911210C (zh) |
WO (1) | WO2014067053A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640374A (zh) * | 2017-10-09 | 2019-04-16 | 腾讯科技(深圳)有限公司 | 无线网络接入、处理方法、装置、存储介质和计算机设备 |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6344893B2 (ja) * | 2013-07-19 | 2018-06-20 | キヤノン株式会社 | 通信装置、通信方法およびプログラム |
EP3028525B1 (en) * | 2013-08-04 | 2019-03-20 | LG Electronics Inc. | Method and apparatus for starting or stopping device-to-device operation in wireless communication system |
JP6399681B2 (ja) * | 2013-09-03 | 2018-10-03 | 株式会社東芝 | 通信装置、処理方法及びプログラム |
CN106454696B (zh) * | 2013-12-31 | 2019-10-01 | 深圳市汇顶科技股份有限公司 | 一种电子设备的近场通信方法和系统 |
JP2015180043A (ja) * | 2014-02-25 | 2015-10-08 | キヤノン株式会社 | 通信装置、通信装置の制御方法およびプログラム |
US10225338B1 (en) | 2014-04-15 | 2019-03-05 | Marvell International Ltd. | Peer to peer ranging exchange |
US9788255B2 (en) * | 2014-08-26 | 2017-10-10 | Plantronics, Inc. | Roaming for Wi-Fi/Wi-Fi direct devices |
US9686690B2 (en) * | 2014-08-29 | 2017-06-20 | Blackberry Limited | Method and apparatus for calculating a coverage signal strength indicator |
US10082557B1 (en) | 2015-02-11 | 2018-09-25 | Marvell International Ltd. | Methods and apparatus for frame filtering in snoop-based range measurements |
CN104683003A (zh) * | 2015-03-05 | 2015-06-03 | 丰唐物联技术(深圳)有限公司 | 一种蓝牙连接的切换方法及系统 |
JP6551547B2 (ja) * | 2015-09-03 | 2019-07-31 | 日本電気株式会社 | マルチグループp2pネットワークにおけるトラフィック認識型グループ再構成 |
CN105407450A (zh) * | 2015-10-21 | 2016-03-16 | 珠海奔图电子有限公司 | 智能设备、电子装置及基于近场通信的网络连接方法 |
KR102447179B1 (ko) * | 2015-11-19 | 2022-09-26 | 삼성전자 주식회사 | 무선 통신 방법 및 이를 제공하는 전자 장치 |
JP6184580B1 (ja) * | 2016-01-29 | 2017-08-23 | キヤノン株式会社 | 情報処理装置、制御方法およびプログラム |
JP6700969B2 (ja) * | 2016-05-20 | 2020-05-27 | キヤノン株式会社 | 通信装置及びその制御方法、プログラム |
CN107079256A (zh) * | 2016-12-30 | 2017-08-18 | 深圳市大疆灵眸科技有限公司 | 用于自动配对的方法和设备 |
KR101908306B1 (ko) * | 2017-01-05 | 2018-10-16 | 엘지전자 주식회사 | 공기조화기 및 그 제어방법 |
CN111448825B (zh) | 2018-06-13 | 2021-06-15 | 华为技术有限公司 | 一种传输控制方法及设备 |
US11184772B2 (en) * | 2018-11-14 | 2021-11-23 | Bioconnect Inc. | Secure communication platform |
CN113630297B (zh) * | 2019-07-26 | 2023-05-12 | 华为技术有限公司 | 一种控制第一设备的方法及终端 |
CN111061447A (zh) * | 2019-12-18 | 2020-04-24 | 青岛海信商用显示股份有限公司 | 无线传屏方法、装置及系统 |
CN112713918B (zh) * | 2020-12-23 | 2022-04-29 | 厦门市美亚柏科信息股份有限公司 | 一种用于手机数据的提取方法、系统及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594578A (zh) * | 2008-05-30 | 2009-12-02 | 深圳华为通信技术有限公司 | 直连链路的建立方法、站设备及通信系统 |
US20110275316A1 (en) * | 2010-05-10 | 2011-11-10 | Nokia Corporation | Device to device connection setup using near-field communication |
CN102523562A (zh) * | 2010-12-16 | 2012-06-27 | 微软公司 | 快速加入具有节能模式的对等群组 |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10244610A1 (de) | 2002-09-25 | 2004-04-15 | Siemens Ag | Verfahren sowie Kommunikationsendgerät zum gesicherten Aufbau einer Kommunikationsverbindung |
US7970350B2 (en) * | 2007-10-31 | 2011-06-28 | Motorola Mobility, Inc. | Devices and methods for content sharing |
US7882244B2 (en) * | 2008-04-23 | 2011-02-01 | Sharp Laboratories Of America, Inc. | Method and system for facilitating group organization using mobile devices |
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 |
JP5597624B2 (ja) * | 2010-12-29 | 2014-10-01 | ノキア コーポレイション | 短距離通信を介したネットワーク設定 |
US8554970B2 (en) * | 2011-04-18 | 2013-10-08 | Nokia Corporation | Method, apparatus and computer program product for creating a wireless docking group |
WO2012173423A2 (ko) * | 2011-06-15 | 2012-12-20 | 엘지전자 주식회사 | 무선데이터통신장치 및 무선데이터통신방법 |
US9288228B2 (en) * | 2011-08-05 | 2016-03-15 | Nokia Technologies Oy | Method, apparatus, and computer program product for connection setup in device-to-device communication |
KR101915314B1 (ko) * | 2011-10-25 | 2018-11-07 | 삼성전자주식회사 | 휴대단말기에서 WPS(Wi-Fi Protecte d Setup)을 이용한 와이파이 연결 방법 및 장치 |
JP6090309B2 (ja) | 2012-04-10 | 2017-03-08 | ソニー株式会社 | 通信装置、通信制御方法及びプログラム |
CN102711175A (zh) * | 2012-05-16 | 2012-10-03 | 中兴通讯股份有限公司南京分公司 | 数据传输方法及装置 |
US20130337806A1 (en) * | 2012-06-19 | 2013-12-19 | Yair Barash | Device, system and method of scanning wireless communication channels |
US9148854B2 (en) * | 2012-07-27 | 2015-09-29 | Broadcom Corporation | Method and system for adaptive enhanced power saving for peer to peer group owner |
US8917708B2 (en) * | 2012-09-28 | 2014-12-23 | Intel Corporation | Discovery and operation of hybrid wireless wide area and wireless local area networks |
US9075923B2 (en) | 2012-12-27 | 2015-07-07 | Intel Corporation | Discovery mechanisms for universal serial bus (USB) protocol adaptation layer |
-
2012
- 2012-10-29 KR KR1020167013219A patent/KR101658495B1/ko active IP Right Grant
- 2012-10-29 CN CN201710489658.7A patent/CN107249174B/zh active Active
- 2012-10-29 WO PCT/CN2012/083692 patent/WO2014067053A1/zh active Application Filing
- 2012-10-29 EP EP12887769.3A patent/EP2914046B1/en active Active
- 2012-10-29 CN CN201280003992.2A patent/CN103931264B/zh active Active
- 2012-10-29 EP EP16187947.3A patent/EP3185642B1/en active Active
- 2012-10-29 JP JP2015535955A patent/JP6009682B2/ja active Active
- 2012-10-29 KR KR1020157000061A patent/KR101624944B1/ko active IP Right Grant
- 2012-10-29 CA CA2911210A patent/CA2911210C/en active Active
-
2015
- 2015-04-20 US US14/690,701 patent/US9345057B2/en not_active Ceased
-
2018
- 2018-05-16 US US15/981,509 patent/USRE48986E1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594578A (zh) * | 2008-05-30 | 2009-12-02 | 深圳华为通信技术有限公司 | 直连链路的建立方法、站设备及通信系统 |
US20110275316A1 (en) * | 2010-05-10 | 2011-11-10 | Nokia Corporation | Device to device connection setup using near-field communication |
CN102523562A (zh) * | 2010-12-16 | 2012-06-27 | 微软公司 | 快速加入具有节能模式的对等群组 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2914046A4 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640374A (zh) * | 2017-10-09 | 2019-04-16 | 腾讯科技(深圳)有限公司 | 无线网络接入、处理方法、装置、存储介质和计算机设备 |
Also Published As
Publication number | Publication date |
---|---|
CN103931264A (zh) | 2014-07-16 |
EP3185642A1 (en) | 2017-06-28 |
EP2914046B1 (en) | 2017-04-05 |
JP6009682B2 (ja) | 2016-10-19 |
US20150230283A1 (en) | 2015-08-13 |
CA2911210C (en) | 2018-05-22 |
KR20150023625A (ko) | 2015-03-05 |
CA2911210A1 (en) | 2014-05-08 |
US9345057B2 (en) | 2016-05-17 |
EP3185642B1 (en) | 2019-07-24 |
CN107249174B (zh) | 2020-08-07 |
KR101658495B1 (ko) | 2016-09-21 |
EP2914046A4 (en) | 2016-01-20 |
JP2015537425A (ja) | 2015-12-24 |
CN107249174A (zh) | 2017-10-13 |
KR20160062206A (ko) | 2016-06-01 |
KR101624944B1 (ko) | 2016-05-27 |
EP2914046A1 (en) | 2015-09-02 |
USRE48986E1 (en) | 2022-03-22 |
CN103931264B (zh) | 2017-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014067053A1 (zh) | 通信连接建立方法和终端 | |
US10966268B2 (en) | Method for using legacy Wi-Fi and Wi-Fi P2P simultaneously | |
US9769732B2 (en) | Wireless network connection establishment method and terminal device | |
KR101707364B1 (ko) | 무선 도킹 서비스를 수행하기 위한 방법 및 장치 | |
EP3550888B1 (en) | Wireless connection switching method and terminal | |
WO2017067430A1 (zh) | 智能设备、电子装置及基于近场通信的网络连接方法 | |
US10390113B2 (en) | Method and apparatus for controlling device using bluetooth technology | |
US20150223046A1 (en) | Method and apparatus for generating p2p group for wi-fi direct service | |
US20170289277A1 (en) | Method and device for performing wireless docking service | |
US10841165B2 (en) | Information processing apparatus, and information processing method that change data transmission roles of different devices | |
KR101689613B1 (ko) | 네트워크 연결 방법 및 이를 지원하는 장치 | |
WO2020054365A1 (ja) | 通信装置、通信方法及びプログラム | |
JP6030600B2 (ja) | 無線通信装置、無線lanシステム、及び通信方法 | |
CN113475036A (zh) | 通过wi-fi保护设置进行安全的证书共享 | |
WO2007045134A1 (fr) | Systeme de communication et procede de communication | |
JP6169237B2 (ja) | 通信接続を確立するための方法及び端末 | |
WO2024199060A1 (zh) | 一种安全建立方法及相关装置 | |
CN118870451A (zh) | 网络协调方法、装置、相关设备、存储介质及计算机程序产品 |
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: 12887769 Country of ref document: EP Kind code of ref document: A1 |
|
REEP | Request for entry into the european phase |
Ref document number: 2012887769 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012887769 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 20157000061 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2015535955 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2911210 Country of ref document: CA |