Movatterモバイル変換


[0]ホーム

URL:


CN103327644B - A kind of method and apparatus of wireless connections - Google Patents

A kind of method and apparatus of wireless connections
Download PDF

Info

Publication number
CN103327644B
CN103327644BCN201310198537.9ACN201310198537ACN103327644BCN 103327644 BCN103327644 BCN 103327644BCN 201310198537 ACN201310198537 ACN 201310198537ACN 103327644 BCN103327644 BCN 103327644B
Authority
CN
China
Prior art keywords
terminal
wireless connections
display screen
connection
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310198537.9A
Other languages
Chinese (zh)
Other versions
CN103327644A (en
Inventor
亢治
黄波
方文仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201310198537.9ApriorityCriticalpatent/CN103327644B/en
Publication of CN103327644ApublicationCriticalpatent/CN103327644A/en
Application grantedgrantedCritical
Publication of CN103327644BpublicationCriticalpatent/CN103327644B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明实施例提供一种无线连接的方法,所述方法通过第一终端接收第二终端接入无线访问接入点AP的所述服务器标识SSID、媒体介入层地址MAC、密码PWD接入所述AP,从而实现第一终端接入第二终端所在的无线局域网;并产生随机数作为是否连接正确的密码,使得第一终端和第二终端通过交换密码确定是否连入同一个无线局域网。

An embodiment of the present invention provides a method for wireless connection. In the method, the first terminal receives the server identification SSID, the media intervention layer address MAC, and the password PWD to access the wireless access point AP by the second terminal. AP, so that the first terminal can access the wireless local area network where the second terminal is located; and generate a random number as the password for whether the connection is correct, so that the first terminal and the second terminal can determine whether to connect to the same wireless local area network by exchanging passwords.

Description

Translated fromChinese
一种无线连接的方法及设备Method and device for wireless connection

技术领域technical field

本发明涉及通信领域,尤其涉及到一种无线连接的方法及设备。The present invention relates to the communication field, in particular to a wireless connection method and equipment.

背景技术Background technique

无线连接在当前各类终端中普遍使用,常见的有无线相容性验证(WirelessFidelitY,WIFI)、蓝牙(BlueTooth,BT)、近距离无线通讯(NearFieldCommunication,NFC)、无线射频识别(RadioFrequencYIdentification,RFID)等。NFC、RFID连接认证的方式是通过终端的近距离接触完成认证和信息交互,而WIFI和蓝牙等设备的连接会借助终端的显示屏幕、键盘输入等完成无线连接。Wireless connections are commonly used in various types of terminals, such as wireless compatibility verification (WirelessFidelitY, WIFI), Bluetooth (BlueTooth, BT), near-field communication (NearFieldCommunication, NFC), radio frequency identification (RadioFrequencYIdentification, RFID) Wait. The way of NFC and RFID connection authentication is to complete the authentication and information interaction through the close contact of the terminal, while the connection of WIFI and Bluetooth and other devices will complete the wireless connection through the display screen and keyboard input of the terminal.

WIFI、蓝牙等常见的无线连接的认证方式的基本步骤如下:终端开启无线功能;终端会显示扫描到的对应连接对象端连接;终端选择对应的连接对象;终端输入对应的连接密码,然后完成连接。The basic steps of common wireless connection authentication methods such as WIFI and Bluetooth are as follows: the terminal turns on the wireless function; the terminal will display the scanned corresponding connection object terminal connection; the terminal selects the corresponding connection object; the terminal enters the corresponding connection password, and then completes the connection .

如果是在WIFI的无线访问接入点(AccessPoint,AP)/Station模式中,如平板电脑PAD和AP之间的连接步骤如下:开启PAD的无线功能;PAD显示扫描到的AP列表信息;PAD选择需要连接的AP对象;PAD输入对应的连接密码;完成连接。因此,WIFIAP/station的方式中,终端都会借助显示屏幕、键盘输入等设备来完成无线连接的过程。If it is in the WIFI wireless access point (AccessPoint, AP)/Station mode, the connection steps between the tablet PC PAD and the AP are as follows: enable the wireless function of the PAD; the PAD displays the scanned AP list information; the PAD selects The AP object that needs to be connected; PAD enters the corresponding connection password; completes the connection. Therefore, in the WIFIAP/station mode, the terminal will complete the wireless connection process with the help of display screens, keyboard input and other devices.

如果是在BT模式中,如手机和蓝牙耳机之间的连接步骤如下:通过手机界面开启蓝牙功能;手机搜索蓝牙设备;长按蓝牙耳机开启键,直到手机搜索到蓝牙耳机;手机输入对应的配对密码;完成连接。因此,蓝牙的WIFI直连技术(WIFIPeertoPeer,P2P)的方式中,其中一侧终端作为被动接受方不需要任何显示和输入手段可达到WIFI/BT的P2P连接,或者借助一个按键如BT耳机来进行连接。If it is in BT mode, the connection steps between the mobile phone and the Bluetooth headset are as follows: turn on the Bluetooth function through the mobile phone interface; search for the Bluetooth device on the mobile phone; press and hold the Bluetooth headset start button until the mobile phone searches for the Bluetooth headset; password; complete the connection. Therefore, in the way of Bluetooth WIFI direct connection technology (WIFIPeertoPeer, P2P), one side of the terminal as a passive receiver can achieve WIFI/BT P2P connection without any display and input means, or use a button such as a BT headset to perform connect.

如果是在NFC模式中,直接采用近距离无线通讯技术接触进行连接。因此,NFC的连接方式通过接触即可完成连接认证,可以不需要借助终端本身的屏幕显示和键盘、按键等输入操作。If it is in the NFC mode, it directly uses the short-range wireless communication technology to contact and connect. Therefore, the NFC connection method can complete the connection authentication through contact, and does not need to rely on the terminal's own screen display and input operations such as keyboards and buttons.

现有的无线连接的技术如NFC通过接触进行连接,或者如WIFI、蓝牙等借助带有显示屏幕或者键盘输入的终端完成连接。Existing wireless connection technologies such as NFC are used to connect through contact, or such as WIFI, Bluetooth, etc. to complete the connection by means of a terminal with a display screen or keyboard input.

在某种应用场景中,如果一个WIFI终端B需要通过AP/Station的方法接入WIFI终端A所在的WIFI局域网中,B可以扫描当前环境下的所有AP,但B无法知悉A是接入哪一个AP所在的WIFI局域网。In a certain application scenario, if a WIFI terminal B needs to access the WIFI LAN where WIFI terminal A is located through the AP/Station method, B can scan all APs in the current environment, but B cannot know which one A is connected to The WIFI LAN where the AP is located.

发明内容Contents of the invention

本发明实施例提供了一种无线连接的方法,旨在解决一个WIFI终端如何接入另一个WIFI终端所在的局域网并如何验证上述两个WIFI终端是否接入同一个局域网的问题。The embodiment of the present invention provides a wireless connection method, aiming to solve the problem of how to access a local area network where another WIFI terminal is located and how to verify whether the above two WIFI terminals are connected to the same local area network.

第一方面,一种无线连接的方法,所述方法包括:In a first aspect, a method for wireless connection, the method comprising:

第一终端和第二终端通过无线相容性验证WIFI直连技术P2P连接,接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD;The first terminal and the second terminal verify the WIFI direct connection technology P2P connection through wireless compatibility, and receive the server identification SSID and media intervention layer of the wireless access point AP that the second terminal accesses sent by the second terminal. Address MAC, password PWD;

接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;receiving the random number X sent by the second terminal, generating a random number Y corresponding to the X, saving the correspondence between X and Y, and sending the Y to the second terminal, so that the second terminal saves The corresponding relationship between X and Y;

断开和所述第二终端的所述P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;Disconnecting the P2P connection with the second terminal, accessing the AP according to the server identifier SSID, the media access layer address MAC, and the password PWD;

发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;sending the broadcast information containing the X, so that the second terminal sends a response frame containing Y to the first terminal according to the correspondence between X and Y;

接收所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功。When the response frame containing Y is received, according to the correspondence between X and Y, it is displayed that the wireless connection is successful.

结合第一方面,在第一方面的第一种可能的实现方式中,所述第一终端和第二终端通过P2P连接,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the first terminal and the second terminal are connected through P2P, including:

当第一终端有显示屏幕时,所述第一终端通过屏幕触发使能P2P功能的指令,使得所述第一终端和第二终端通过P2P连接;When the first terminal has a display screen, the first terminal triggers an instruction to enable the P2P function through the screen, so that the first terminal and the second terminal are connected through P2P;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发使能P2P功能的指令,使得所述第一终端和所述第二终端通过P2P连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to enable the P2P function by pressing a button, so that the first terminal and the second terminal are connected through P2P.

结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述显示无线连接成功,包括:With reference to the first aspect or the first possible implementation of the first aspect, in the second possible implementation of the first aspect, the displaying that the wireless connection is successful includes:

当所述第一终端有显示屏幕时,通过显示屏幕显示无线连接成功;When the first terminal has a display screen, the display screen displays that the wireless connection is successful;

当所述第一终端不带显示屏幕时,通过发光二极管LED的亮灯表示无线连接成功。When the first terminal does not have a display screen, the light of the light-emitting diode LED indicates that the wireless connection is successful.

结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述方法在断开和所述第二终端的P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP的步骤之后,还包括:With reference to the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in the third possible implementation of the first aspect, the method is disconnected and The P2P connection of the second terminal, after the step of accessing the AP according to the server identification SSID, the media intervention layer address MAC, and the password PWD, further includes:

所述第一终端断开和所述AP的无线连接;The first terminal disconnects the wireless connection with the AP;

所述第一终端和所述第二终端通过P2P连接;The first terminal and the second terminal are connected through P2P;

发送与所述AP连接成功的信息到所述第二终端,使得所述第二终端收到所述信息后,发送应答帧到所述第一终端,断开和所述第一终端的P2P连接,并恢复和所述AP的无线连接;Sending information that the connection with the AP is successful to the second terminal, so that the second terminal sends a response frame to the first terminal after receiving the information, and disconnects the P2P connection with the first terminal , and restore the wireless connection with the AP;

接收所述第二终端发送的所述应答帧,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。receiving the response frame sent by the second terminal, disconnecting the P2P connection with the second terminal, and restoring the wireless connection with the AP.

结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述第一终端断开与所述AP的无线连接,包括:With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the first terminal disconnecting the wireless connection with the AP includes:

当所述第一终端有显示屏幕时,所述第一终端通过屏幕触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接;When the first terminal has a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP through the screen, so that the first terminal disconnects the wireless connection with the AP;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP by pressing a button, so that the first terminal disconnects the wireless connection with the AP.

第二方面,一种无线连接的方法,所述方法包括:In a second aspect, a method for wireless connection, the method comprising:

第二终端和第一终端通过P2P连接,向所述第一终端发送所述第二终端接入AP的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP,使得所述第一终端通过所述所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;The second terminal and the first terminal are connected through P2P, and send to the first terminal the server identification SSID for the second terminal to access the AP, the media access layer address MAC, and the password PWD to access the AP , enabling the first terminal to access the AP through the server identifier SSID, the media access layer address MAC, and the password PWD;

向所述第一终端发送随机数X,并接收所述第一终端产生的所述X对应的随机数Y,保存X和Y的对应关系;Sending a random number X to the first terminal, receiving a random number Y corresponding to X generated by the first terminal, and saving the correspondence between X and Y;

断开和所述第一终端的所述P2P连接,接入所述AP;disconnecting the P2P connection with the first terminal, and accessing the AP;

接收所述第一终端发送的包含X的广播信息,根据所述X和Y的对应关系,将包含Y的应答帧发送到所述第一终端,使得所述第一终端根据所述X和Y的对应关系,显示无线连接成功。receiving the broadcast information containing X sent by the first terminal, and sending a response frame containing Y to the first terminal according to the correspondence between X and Y, so that the first terminal The corresponding relationship shows that the wireless connection is successful.

结合第二方面,在第二方面的第一种可能的实现方式中,所述第二终端和第一终端通过P2P连接,包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the second terminal and the first terminal are connected through P2P, including:

当第二终端有显示屏幕时,所述第二终端通过屏幕触发使能P2P功能的指令,使得所述第二终端和第一终端通过P2P连接;When the second terminal has a display screen, the second terminal triggers an instruction to enable the P2P function through the screen, so that the second terminal and the first terminal are connected through P2P;

或者,当第二终端不带显示屏幕时,所述第二终端通过按键触发使能P2P功能的指令,使得所述第二终端和所述第一终端通过P2P连接。Alternatively, when the second terminal does not have a display screen, the second terminal triggers an instruction to enable the P2P function by pressing a button, so that the second terminal and the first terminal are connected through P2P.

结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述方法在断开和所述第一终端的P2P连接,接入所述AP的步骤之前,还包括:With reference to the second aspect or the first possible implementation of the second aspect, in the second possible implementation of the second aspect, the method disconnects the P2P connection with the first terminal and accesses the Before the AP steps described above, also include:

当所述第一终端断开和所述AP的无线连接,通过P2P连接所述第二终端时,接收所述第一终端发送的连接成功的信息;When the first terminal disconnects the wireless connection with the AP and connects to the second terminal through P2P, receiving the connection success information sent by the first terminal;

发送应答帧到所述第一终端,使得所述第一终端接收到所述应答帧后,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。Sending a response frame to the first terminal, so that the first terminal disconnects the P2P connection with the second terminal after receiving the response frame, and resumes the wireless connection with the AP.

第三方面,一种终端,所述终端包括以下单元:In a third aspect, a terminal, the terminal includes the following units:

连接单元,用于第一终端和第二终端通过无线相容性验证WIFI直连技术P2P连接;The connection unit is used for the first terminal and the second terminal to verify the P2P connection of the WIFI direct connection technology through wireless compatibility;

第一接收单元,用于接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD;The first receiving unit is configured to receive the server identifier SSID, media intervention layer address MAC, and password PWD of the wireless access point AP accessed by the second terminal sent by the second terminal;

第二接收单元,用于接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;The second receiving unit is configured to receive the random number X sent by the second terminal, generate a random number Y corresponding to the X, save the correspondence between X and Y, and send the Y to the second terminal, making the second terminal save the correspondence between X and Y;

断开单元,用于断开和所述第二终端的所述P2P连接;a disconnection unit, configured to disconnect the P2P connection with the second terminal;

接入单元,用于根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;An access unit, configured to access the AP according to the server identifier SSID, the media access layer address MAC, and the password PWD;

发送单元,用于发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;a sending unit, configured to send the broadcast information containing the X, so that the second terminal sends a response frame containing Y to the first terminal according to the correspondence between X and Y;

显示单元,用于接收所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功。The display unit is configured to display that the wireless connection is successful according to the correspondence between X and Y when receiving the response frame containing Y.

结合第三方面,在第三方面的第一种可能的实现方式中,所述连接单元,具体用于:With reference to the third aspect, in a first possible implementation manner of the third aspect, the connecting unit is specifically configured to:

当第一终端有显示屏幕时,所述第一终端通过屏幕触发使能P2P功能的指令,使得所述第一终端和第二终端通过P2P连接;When the first terminal has a display screen, the first terminal triggers an instruction to enable the P2P function through the screen, so that the first terminal and the second terminal are connected through P2P;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发使能P2P功能的指令,使得所述第一终端和所述第二终端通过P2P连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to enable the P2P function by pressing a button, so that the first terminal and the second terminal are connected through P2P.

结合第三方面或者第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述显示单元,具体用于:With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the display unit is specifically configured to:

当所述第一终端有显示屏幕时,通过显示屏幕显示无线连接成功;When the first terminal has a display screen, the display screen displays that the wireless connection is successful;

当所述第一终端不带显示屏幕时,通过发光二极管LED的亮灯表示无线连接成功。When the first terminal does not have a display screen, the light of the light-emitting diode LED indicates that the wireless connection is successful.

结合第三方面或者第三方面的第一种可能的实现方式或者第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述终端还包括第一处理单元,所述第一处理单元具体用于:With reference to the third aspect or the first possible implementation manner of the third aspect or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the terminal further includes a first A processing unit, the first processing unit is specifically used for:

所述第一终端断开和所述AP的无线连接;The first terminal disconnects the wireless connection with the AP;

所述第一终端和所述第二终端通过P2P连接;The first terminal and the second terminal are connected through P2P;

发送与所述AP连接成功的信息到所述第二终端,使得所述第二终端收到所述信息后,发送应答帧到所述第一终端,断开和所述第一终端的P2P连接,并恢复和所述AP的无线连接;Sending information that the connection with the AP is successful to the second terminal, so that the second terminal sends a response frame to the first terminal after receiving the information, and disconnects the P2P connection with the first terminal , and restore the wireless connection with the AP;

接收所述第二终端发送的所述应答帧,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。receiving the response frame sent by the second terminal, disconnecting the P2P connection with the second terminal, and restoring the wireless connection with the AP.

结合第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述第一处理单元中执行步骤所述第一终端断开与所述AP的无线连接,包括:With reference to the third possible implementation of the third aspect, in a fourth possible implementation of the third aspect, the first processing unit executes the step of disconnecting the first terminal from the wireless connection with the AP ,include:

当所述第一终端有显示屏幕时,所述第一终端通过屏幕触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接;When the first terminal has a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP through the screen, so that the first terminal disconnects the wireless connection with the AP;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接。结合第三方面或者第三方面的第一种可能的实现方式或者第三方面的第二种可能的实现方式或者第三方面的第四种可能的实现方式,在第三方面的第五种可能的实现方式中,所述终端还包括第二处理单元,所述第二处理单元用于:Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP by pressing a button, so that the first terminal disconnects the wireless connection with the AP. In combination with the third aspect or the first possible implementation of the third aspect or the second possible implementation of the third aspect or the fourth possible implementation of the third aspect, the fifth possible implementation of the third aspect In an implementation manner, the terminal further includes a second processing unit, and the second processing unit is configured to:

第二终端和第一终端通过P2P连接,向所述第一终端发送所述第二终端接入AP的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP,使得所述第一终端通过所述所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;The second terminal and the first terminal are connected through P2P, and send to the first terminal the server identification SSID for the second terminal to access the AP, the media access layer address MAC, and the password PWD to access the AP , enabling the first terminal to access the AP through the server identifier SSID, the media access layer address MAC, and the password PWD;

向所述第一终端发送随机数X,并接收所述第一终端产生的所述X对应的随机数Y,保存X和Y的对应关系;Sending a random number X to the first terminal, receiving a random number Y corresponding to X generated by the first terminal, and saving the correspondence between X and Y;

断开和所述第一终端的所述P2P连接,接入所述AP;disconnecting the P2P connection with the first terminal, and accessing the AP;

接收所述第一终端发送的包含X的广播信息,根据所述X和Y的对应关系,将包含Y的应答帧发送到所述第一终端,使得所述第一终端根据所述X和Y的对应关系,显示无线连接成功。receiving the broadcast information containing X sent by the first terminal, and sending a response frame containing Y to the first terminal according to the correspondence between X and Y, so that the first terminal The corresponding relationship shows that the wireless connection is successful.

结合第三方面的第五种可能的实现方式,在第三方面的第六种可能的实现方式中,所述第二处理单元中执行步骤所述第二终端和第一终端通过P2P连接,包括:With reference to the fifth possible implementation of the third aspect, in a sixth possible implementation of the third aspect, the second processing unit executes the step of connecting the second terminal and the first terminal through P2P, including :

当第二终端有显示屏幕时,所述第二终端通过屏幕触发使能P2P功能的指令,使得所述第二终端和第一终端通过P2P连接;When the second terminal has a display screen, the second terminal triggers an instruction to enable the P2P function through the screen, so that the second terminal and the first terminal are connected through P2P;

或者,当第二终端不带显示屏幕时,所述第二终端通过按键触发使能P2P功能的指令,使得所述第二终端和所述第一终端通过P2P连接。Alternatively, when the second terminal does not have a display screen, the second terminal triggers an instruction to enable the P2P function by pressing a button, so that the second terminal and the first terminal are connected through P2P.

结合第三方面的第五种可能的实现方式或者第三方面的第六种可能的实现方式,在第三方面的第七种可能的实现方式中,所述终端还包括第三处理单元,所述第三处理单元具体用于:With reference to the fifth possible implementation manner of the third aspect or the sixth possible implementation manner of the third aspect, in a seventh possible implementation manner of the third aspect, the terminal further includes a third processing unit, so The third processing unit is specifically used for:

当所述第一终端断开和所述AP的无线连接,通过P2P连接所述第二终端时,接收所述第一终端发送的连接成功的信息;When the first terminal disconnects the wireless connection with the AP and connects to the second terminal through P2P, receiving the connection success information sent by the first terminal;

发送应答帧到所述第一终端,使得所述第一终端接收到所述应答帧后,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。Sending a response frame to the first terminal, so that the first terminal disconnects the P2P connection with the second terminal after receiving the response frame, and resumes the wireless connection with the AP.

本发明实施例提供一种无线连接的方法,所述方法通过第一终端接收第二终端接入无线访问接入点AP的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP,从而实现第一终端接入第二终端所在的无线局域网;并产生随机数作为是否连接正确的密码,使得第一终端和第二终端通过交换密码确定是否连入同一个无线局域网。An embodiment of the present invention provides a method for wireless connection. The method receives the server identification SSID, the media intervention layer address MAC, and the password PWD for the second terminal to access the wireless access point AP through the first terminal. Access the AP, so that the first terminal accesses the wireless local area network where the second terminal is located; and generates a random number as a password for whether the connection is correct, so that the first terminal and the second terminal determine whether to connect to the same wireless network by exchanging passwords. local area network.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例提供的一种无线连接的方法流程图;FIG. 1 is a flowchart of a method for wireless connection provided by an embodiment of the present invention;

图2是本发明实施例提供的一种无线连接的方法示意图;FIG. 2 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention;

图3是本发明实施例提供的一种无线连接的方法示意图;Fig. 3 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention;

图4是本发明实施例提供的一种无线连接的方法流程图;FIG. 4 is a flowchart of a wireless connection method provided by an embodiment of the present invention;

图5是本发明实施例提供的一种无线连接的方法示意图;FIG. 5 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention;

图6是本发明实施例提供的一种无线连接的方法示意图;FIG. 6 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention;

图7是本发明实施例提供的一种终端的装置结构图;FIG. 7 is a device structure diagram of a terminal provided by an embodiment of the present invention;

图8是本发明实施例提供的一种终端的装置结构图。FIG. 8 is a device structural diagram of a terminal provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

参考图1,图1是本发明实施例提供的一种无线连接的方法流程图。如图1所示,所述方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a wireless connection method provided by an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:

步骤101,第一终端和第二终端通过无线相容性验证WIFI直连技术P2P连接,接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD;Step 101, the first terminal and the second terminal verify the WIFI direct connection technology P2P connection through wireless compatibility, and receive the server identification SSID, Media intervention layer address MAC, password PWD;

可选地,所述第一终端和第二终端通过P2P连接,包括:Optionally, the first terminal and the second terminal are connected through P2P, including:

当第一终端有显示屏幕时,所述第一终端通过屏幕触发使能P2P功能的指令,使得所述第一终端和第二终端通过P2P连接;When the first terminal has a display screen, the first terminal triggers an instruction to enable the P2P function through the screen, so that the first terminal and the second terminal are connected through P2P;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发使能P2P功能的指令,使得所述第一终端和所述第二终端通过P2P连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to enable the P2P function by pressing a button, so that the first terminal and the second terminal are connected through P2P.

具体的,参考图2和图3,图2是本发明实施例提供的一种无线连接的方法示意图,图3是本发明实施例提供的一种无线连接方法示意图。Specifically, referring to FIG. 2 and FIG. 3 , FIG. 2 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention, and FIG. 3 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention.

如图2所示,步骤202,当第一终端B带有显示屏幕时,B通过屏幕触发使能WIFI直接技术(Wifipeertopeer,P2P)功能的指令,使得B和第二终端A通过P2P连接。As shown in Figure 2, step 202, when the first terminal B has a display screen, B triggers an instruction to enable the WIFI direct technology (Wifipeertopeer, P2P) function through the screen, so that B and the second terminal A are connected through P2P.

如图3所示,步骤302,当第一终端B不带显示屏幕时,用户长按P2P使能按键,使能P2P功能,发光二级管(LightEmittingDiode,LED)闪烁,使得第二终端可以被其他设备扫描到,其他设备包括第二终端,也可以是第二终端以外的终端设备。As shown in Figure 3, in step 302, when the first terminal B does not have a display screen, the user presses and holds the P2P enabling button to enable the P2P function, and the Light Emitting Diode (LED) flashes, so that the second terminal can be Scanned by other devices, the other devices include the second terminal, and may also be terminal devices other than the second terminal.

步骤102,接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;Step 102, receiving the random number X sent by the second terminal, generating a random number Y corresponding to X, storing the correspondence between X and Y, and sending the Y to the second terminal, so that the first The second terminal saves the corresponding relationship between X and Y;

本发明中,通过X和Y的对应关系,可以验证终端B是否接入终端A所在的局域网,当终端B发送X到终端A时,终端A查找X和Y的对应关系发现是X对应的是Y,则将包含Y的应答帧发送到终端B,同时终端B也保持X和Y的对应关系,终端B收到包含Y的应答帧后查找X和Y的对应关系,当终端B获知X和Y是对应的,则可获知终端B接入终端A所在的局域网。In the present invention, through the corresponding relationship between X and Y, it can be verified whether terminal B is connected to the local area network where terminal A is located. When terminal B sends X to terminal A, terminal A searches for the corresponding relationship between X and Y and finds that X corresponds to Y, then send a response frame containing Y to terminal B, and terminal B also maintains the corresponding relationship between X and Y. After receiving the response frame containing Y, terminal B searches for the corresponding relationship between X and Y. When terminal B learns that X and Y If Y is corresponding, it can be learned that terminal B accesses the local area network where terminal A is located.

具体的,如图2的步骤204-步骤209。Specifically, as shown in steps 204 to 209 in FIG. 2 .

步骤204,终端A和终端B完成P2P连接;Step 204, terminal A and terminal B complete the P2P connection;

步骤205,终端A发送AP信息给终端B,所述信息包括终端A接入的无线访问接入点(AccessPoint,AP)的服务器标识(ServiceSetIdentifier,SSID)、媒体介入层地址(MediaAccessControl,MAC)、密码(Password,PWD);Step 205, terminal A sends AP information to terminal B, the information includes the server identifier (ServiceSetIdentifier, SSID) of the wireless access point (AccessPoint, AP) accessed by terminal A, the address of the media access layer (MediaAccessControl, MAC), password(Password, PWD);

步骤206,终端B保存AP信息并应答;Step 206, terminal B saves the AP information and responds;

步骤207,终端A发送8位随机数X到终端B,Step 207, terminal A sends an 8-digit random number X to terminal B,

步骤208,终端B保存X并应答8位随机数Y;Step 208, terminal B saves X and responds with an 8-digit random number Y;

步骤209,终端A保存8位随机数Y,并应答。Step 209, terminal A saves the 8-digit random number Y, and responds.

步骤103,断开和所述第二终端的所述P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;Step 103, disconnecting the P2P connection with the second terminal, and accessing the AP according to the server identification SSID, the media access layer address MAC, and the password PWD;

具体的,如图2的步骤210-211。Specifically, steps 210-211 in FIG. 2 .

步骤210,当终端B保存X和Y的对应关系后,终端B断开与终端A的连接;Step 210, after terminal B saves the corresponding relationship between X and Y, terminal B disconnects from terminal A;

步骤211,终端B使用AP信息与AP连接。In step 211, terminal B uses the AP information to connect to the AP.

步骤104,发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;Step 104, sending the broadcast information containing the X, so that the second terminal sends a response frame containing Y to the first terminal according to the correspondence between X and Y;

具体的,参考图2的步骤219和步骤220。Specifically, refer to step 219 and step 220 in FIG. 2 .

步骤219,当终端A接入所述AP时,终端B发送广播信息,在所述广播信息中携带X;Step 219, when terminal A accesses the AP, terminal B sends broadcast information, carrying X in the broadcast information;

步骤220,终端A收到X后,根据X和Y的对应关系,将包含Y的应答帧发送到终端B。Step 220, after receiving X, terminal A sends a response frame containing Y to terminal B according to the correspondence between X and Y.

步骤105,接收所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功。Step 105: When the response frame containing Y is received, according to the correspondence between X and Y, it is displayed that the wireless connection is successful.

可选地,所述显示无线连接成功,包括:Optionally, the displaying that the wireless connection is successful includes:

当所述第一终端有显示屏幕时,通过显示屏幕显示无线连接成功;When the first terminal has a display screen, the display screen displays that the wireless connection is successful;

当所述第一终端不带显示屏幕时,通过发光二极管LED的亮灯表示无线连接成功。When the first terminal does not have a display screen, the light of the light-emitting diode LED indicates that the wireless connection is successful.

具体的,参考图2的步骤221。Specifically, refer to step 221 in FIG. 2 .

步骤221,终端B收到A的应答帧后,显示无线连接成功。In step 221, after terminal B receives the response frame from A, it displays that the wireless connection is successful.

具体的,参考图3的步骤321。Specifically, refer to step 321 in FIG. 3 .

步骤321,终端B收到A的应答帧后,LED亮灯显示连接成功。In step 321, after terminal B receives the response frame from A, the LED turns on to indicate that the connection is successful.

作为一种可选的实施例,所述方法在断开和所述第二终端的P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP的步骤之后,还包括:As an optional embodiment, the method disconnects the P2P connection with the second terminal, and accesses the AP according to the server identifier SSID, the media access layer address MAC, and the password PWD After the steps, also include:

所述第一终端断开和所述AP的无线连接;The first terminal disconnects the wireless connection with the AP;

所述第一终端和所述第二终端通过P2P连接;The first terminal and the second terminal are connected through P2P;

发送与所述AP连接成功的信息到所述第二终端,使得所述第二终端收到所述信息后,发送应答帧到所述第一终端,断开和所述第一终端的P2P连接,并恢复和所述AP的无线连接;Send information that the connection with the AP is successful to the second terminal, so that the second terminal sends a response frame to the first terminal after receiving the information, and disconnects the P2P connection with the first terminal , and restore the wireless connection with the AP;

接收所述第二终端发送的所述应答帧,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。receiving the response frame sent by the second terminal, disconnecting the P2P connection with the second terminal, and restoring the wireless connection with the AP.

具体的,参考图2的步骤212-218。Specifically, refer to steps 212-218 in FIG. 2 .

步骤212,当终端B接入AP后,终端B断开和AP的无线连接;Step 212, after terminal B accesses the AP, terminal B disconnects the wireless connection with the AP;

步骤213,终端B和终端A通过P2P连接;Step 213, terminal B and terminal A are connected through P2P;

步骤214,终端B发送与AP连接成功的信息到终端A;Step 214, terminal B sends information to terminal A that the connection with the AP is successful;

步骤215,终端A发送应答帧,断开和终端B的连接;Step 215, terminal A sends a response frame and disconnects from terminal B;

步骤216,终端A恢复和AP的无线连接;Step 216, terminal A restores the wireless connection with the AP;

步骤217,终端B断开和终端A的连接;Step 217, Terminal B disconnects from Terminal A;

具体的,终端B端口和终端A的连接是通过预设的程序实现的。Specifically, the connection between the terminal B port and the terminal A is realized through a preset program.

步骤218,终端B恢复和AP的无线连接。Step 218, terminal B restores the wireless connection with the AP.

所述第一终端断开与所述AP的无线连接,包括:The first terminal disconnecting the wireless connection with the AP includes:

当所述第一终端有显示屏幕时,所述第一终端通过屏幕触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接;When the first terminal has a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP through the screen, so that the first terminal disconnects the wireless connection with the AP;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP by pressing a button, so that the first terminal disconnects the wireless connection with the AP.

具体的,参考图2的步骤212和图3的步骤312。Specifically, refer to step 212 in FIG. 2 and step 312 in FIG. 3 .

步骤212通过屏幕触发断开和所述AP的无线连接的指令,步骤312通过长按键触发断开和所述AP的无线连接的指令。Step 212 triggers an instruction to disconnect the wireless connection with the AP through the screen, and step 312 triggers an instruction to disconnect the wireless connection with the AP through a long key.

本发明实施例提供一种无线连接的方法,所述方法通过第一终端和第二终端通过P2P连接,接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;断开和所述第二终端的P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;当所述第二终端接入所述AP时,发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;当所述第一终端收到所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功,从而实现第一终端接入第二终端所在的无线局域网,并且第一终端通过和第二终端交互信息确定是否连入同一个无线局域网。An embodiment of the present invention provides a wireless connection method. The method uses a P2P connection between a first terminal and a second terminal to receive the information sent by the second terminal about the wireless access point AP that the second terminal accesses. The server identifies the SSID, the media access layer address MAC, and the password PWD access the AP; receives the random number X sent by the second terminal, generates a random number Y corresponding to X, and saves X and Y and send the Y to the second terminal, so that the second terminal saves the correspondence between X and Y; disconnect the P2P connection with the second terminal, and according to the server identification SSID, the media access layer address MAC, and the password PWD to access the AP; when the second terminal accesses the AP, send broadcast information containing the X, so that the second terminal according to the According to the corresponding relationship between X and Y, the response frame containing Y is sent to the first terminal; when the first terminal receives the response frame containing Y, according to the corresponding relationship between X and Y, the wireless The connection is successful, so that the first terminal accesses the wireless local area network where the second terminal is located, and the first terminal determines whether to connect to the same wireless local area network by exchanging information with the second terminal.

参考图4,图4是本发明实施例提供的一种无线连接的方法流程图。如图4所示,所述方法包括以下步骤:Referring to FIG. 4 , FIG. 4 is a flowchart of a wireless connection method provided by an embodiment of the present invention. As shown in Figure 4, described method comprises the following steps:

步骤401,第二终端和第一终端通过P2P连接,向所述第一终端发送所述第二终端接入AP的服务器标识SSID、媒体介入层地址MAC、密码PWD接入所述AP,使得所述第一终端通过所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;Step 401, the second terminal and the first terminal are connected through P2P, and send the server identification SSID, media access layer address MAC, and password PWD of the second terminal to access the AP to the first terminal, so that all The first terminal accesses the AP through the server identifier SSID, the media access layer address MAC, and the password PWD;

可选地,所述第二终端和第一终端通过P2P连接,包括:Optionally, the second terminal and the first terminal are connected through P2P, including:

当第二终端有显示屏幕时,所述第二终端通过屏幕触发使能P2P功能的指令,使得所述第二终端和第一终端通过P2P连接;When the second terminal has a display screen, the second terminal triggers an instruction to enable the P2P function through the screen, so that the second terminal and the first terminal are connected through P2P;

或者,当第二终端不带显示屏幕时,所述第二终端通过按键触发使能P2P功能的指令,使得所述第二终端和所述第一终端通过P2P连接。Alternatively, when the second terminal does not have a display screen, the second terminal triggers an instruction to enable the P2P function by pressing a button, so that the second terminal and the first terminal are connected through P2P.

具体的,参考图3的步骤303。Specifically, refer to step 303 in FIG. 3 .

步骤303,当终端A带显示屏幕时,所述终端A通过屏幕触发使能P2P功能的指令,使得所述终端A和终端B通过P2P连接。Step 303, when the terminal A has a display screen, the terminal A triggers an instruction to enable the P2P function through the screen, so that the terminal A and the terminal B are connected through P2P.

参考图5,图5是本发明实施例提供的一种无线连接的方法示意图。Referring to FIG. 5 , FIG. 5 is a schematic diagram of a wireless connection method according to an embodiment of the present invention.

步骤503,当终端A不带显示屏幕时,长按终端A的P2P使能按键,使能P2P功能,LED闪烁,断开和AP的无线连接。Step 503, when terminal A does not have a display screen, press and hold the P2P enabling button of terminal A to enable the P2P function, the LED blinks, and disconnect the wireless connection with the AP.

步骤402,向所述第一终端发送随机数X,并接收所述第一终端产生的所述X对应的随机数Y,保存X和Y的对应关系;Step 402, sending a random number X to the first terminal, receiving a random number Y corresponding to X generated by the first terminal, and saving the correspondence between X and Y;

具体的,参考图2的步骤204-步骤209。Specifically, refer to step 204-step 209 in FIG. 2 .

步骤403,断开和所述第一终端的P2P连接,接入所述AP;Step 403, disconnecting the P2P connection with the first terminal, and accessing the AP;

具体的,参考图2的步骤216。Specifically, refer to step 216 in FIG. 2 .

步骤404,接收所述第一终端发送的包含X的广播信息,根据所述X和Y的对应关系,将包含Y的应答帧发送到所述第一终端,使得所述第一终端根据所述X和Y的对应关系,显示无线连接成功。Step 404: Receive the broadcast information containing X sent by the first terminal, and send a response frame containing Y to the first terminal according to the correspondence between X and Y, so that the first terminal according to the The corresponding relationship between X and Y indicates that the wireless connection is successful.

具体的,参考图2的步骤219-221。Specifically, refer to steps 219-221 in FIG. 2 .

作为一种可选的实施例,所述方法在断开和所述第一终端的所述P2P连接,接入所述AP的步骤之前,还包括:As an optional embodiment, before the step of disconnecting the P2P connection with the first terminal and accessing the AP, the method further includes:

当所述第一终端断开和所述AP的无线连接,通过P2P连接所述第二终端时,接收所述第一终端发送的连接成功的信息;When the first terminal disconnects the wireless connection with the AP and connects to the second terminal through P2P, receiving the connection success information sent by the first terminal;

发送应答帧到所述第一终端,使得所述第一终端接收到所述应答帧后,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。Sending a response frame to the first terminal, so that the first terminal disconnects the P2P connection with the second terminal after receiving the response frame, and resumes the wireless connection with the AP.

具体的,参考图2的步骤212-218。Specifically, refer to steps 212-218 in FIG. 2 .

本发明实施例应用场景有如下四种情况:The application scenarios of the embodiment of the present invention have the following four situations:

第一,如图2所示,终端B带屏幕,终端A带屏幕;First, as shown in Figure 2, terminal B has a screen, and terminal A has a screen;

第二,如图3所示,终端B不带屏幕,终端A带屏幕;Second, as shown in Figure 3, terminal B does not have a screen, and terminal A has a screen;

第三,如图5所示,终端B带屏幕,终端A不带屏幕;Third, as shown in Figure 5, terminal B has a screen, and terminal A does not have a screen;

第四,如图6所示,终端B不带屏幕,终端A不带屏幕。Fourth, as shown in Figure 6, terminal B does not have a screen, and terminal A does not have a screen.

以下详细介绍图2、图3、图5、图6的各步骤。Each step in FIG. 2 , FIG. 3 , FIG. 5 , and FIG. 6 will be described in detail below.

参考图2,步骤201,终端A接入AP,接入的方式采用AP/Station模式,终端A保存当前AP的连接信息;Referring to FIG. 2, step 201, terminal A accesses the AP, and the access mode adopts the AP/Station mode, and terminal A saves the connection information of the current AP;

步骤202,终端B上电,使能自身的无线P2P功能,并使得第二终端可以被其他设备扫描到,其他设备包括第二终端,也可以是第二终端以外的终端设备;Step 202, terminal B is powered on, enables its own wireless P2P function, and enables the second terminal to be scanned by other devices, and other devices include the second terminal, and can also be terminal devices other than the second terminal;

步骤203,终端A使能自身无线P2P功能,此时会断开与AP的连接;Step 203, terminal A enables its own wireless P2P function, and will disconnect from the AP at this time;

步骤204,终端A扫描P2P设备,在P2P设备列表中,选择终端B进行连接,终端A与终端B的P2P连接完成;Step 204, terminal A scans for P2P devices, selects terminal B to connect in the P2P device list, and the P2P connection between terminal A and terminal B is completed;

步骤205,终端A推送最近断开的AP连接信息给终端B,包括AP的服务器标识(ServiceSetIdentifier,SSID)、媒体介入层地址(MediaAccessControl,MAC)、密码(Password,PWD)等连接信息;Step 205, terminal A pushes the recently disconnected AP connection information to terminal B, including connection information such as AP server identifier (ServiceSetIdentifier, SSID), media access layer address (MediaAccessControl, MAC), password (Password, PWD);

步骤206,终端B收到终端A推送的AP信息,保存AP信息,回复应答帧;Step 206, terminal B receives the AP information pushed by terminal A, saves the AP information, and replies with a response frame;

步骤207,终端A收到终端B的应答帧之后,产生并保存8位随机数X,发送8位随机数X给终端B;Step 207: After terminal A receives the response frame from terminal B, it generates and saves an 8-digit random number X, and sends the 8-digit random number X to terminal B;

步骤208,终端B收到8位随机数X后,保存8位随机数X,终端B产生并保存8位随机数Y,发送应答帧,应答帧中包含8位随机数Y;Step 208, after terminal B receives the 8-digit random number X, save the 8-digit random number X, terminal B generates and saves the 8-digit random number Y, and sends a response frame, which contains the 8-digit random number Y;

步骤209,终端A收到8位随机数Y后,保存8位随机数Y,发送应答帧;Step 209, after receiving the 8-digit random number Y, terminal A saves the 8-digit random number Y, and sends a response frame;

步骤210,终端B收到应答帧之后,断开与终端A的连接Step 210, after terminal B receives the response frame, it disconnects from terminal A

步骤211,尝试使用收到的AP信息,与AP进行连接;Step 211, try to use the received AP information to connect with the AP;

步骤212,连接成功后,断开与AP的连接;Step 212, after the connection is successful, disconnect the connection with the AP;

步骤213,终端B切换到无线P2P模式,并完成与终端A的连接;Step 213, terminal B switches to the wireless P2P mode, and completes the connection with terminal A;

步骤214,发送与AP连接成功信息给终端A;Step 214, sending information about successful connection with the AP to terminal A;

步骤215,终端A收到终端B的连接成功信息后,发送应答帧,并断开与终端B的连接;Step 215, after terminal A receives the connection success message from terminal B, it sends a response frame and disconnects from terminal B;

步骤216,恢复与无线AP的连接;Step 216, recovering the connection with the wireless AP;

步骤217,终端B收到终端A的应答帧之后,断开与终端A的连接;Step 217, after terminal B receives the response frame from terminal A, it disconnects from terminal A;

步骤218,恢复与无线AP的连接;Step 218, recovering the connection with the wireless AP;

步骤219,终端B广播发送8位随机数X;Step 219, terminal B broadcasts and sends an 8-digit random number X;

步骤220,终端A收到8位随机数X后,发送应答帧,包含8位随机数Y;Step 220, after terminal A receives the 8-digit random number X, it sends a response frame, which contains the 8-digit random number Y;

步骤221,终端B收到8位随机数Y之后,界面显示连接成功。Step 221, after terminal B receives the 8-digit random number Y, the interface displays that the connection is successful.

参考图3,步骤301,终端A接入AP,接入的方式采用AP/Station模式,终端A保存当前AP的连接信息;Referring to Figure 3, step 301, terminal A accesses the AP, the access mode adopts AP/Station mode, and terminal A saves the connection information of the current AP;

步骤302,终端B上电,使能自身的无线P2P功能,并使得第二终端可以被其他设备扫描到,其他设备包括第二终端,也可以是第二终端以外的终端设备;Step 302, terminal B is powered on, enables its own wireless P2P function, and enables the second terminal to be scanned by other devices, and other devices include the second terminal, and may also be terminal devices other than the second terminal;

步骤303,终端A使能自身无线P2P功能,此时会断开与AP的连接;Step 303, terminal A enables its own wireless P2P function, and will disconnect from the AP at this time;

步骤304,终端A扫描P2P设备,在P2P设备列表中,选择终端B进行连接,终端A与终端B的P2P连接完成;Step 304, terminal A scans for P2P devices, selects terminal B to connect in the P2P device list, and the P2P connection between terminal A and terminal B is completed;

步骤305,终端A推送最近断开的AP连接信息给终端B,包括AP的SSID,MAC,PWD等连接信息;Step 305, Terminal A pushes the recently disconnected AP connection information to Terminal B, including the AP's SSID, MAC, PWD and other connection information;

步骤306,终端B收到终端A推送的AP信息,保存AP信息,回复应答帧;Step 306, terminal B receives the AP information pushed by terminal A, saves the AP information, and replies with a response frame;

步骤307,终端A收到终端B的应答帧之后,产生并保存8位随机数X,发送8位随机数X给终端B;Step 307: After terminal A receives the response frame from terminal B, it generates and saves an 8-digit random number X, and sends the 8-digit random number X to terminal B;

步骤308,终端B收到8位随机数X后,保存8位随机数X,终端B产生并保存8位随机数Y,发送应答帧,应答帧中包含8位随机数Y;Step 308, after terminal B receives the 8-digit random number X, save the 8-digit random number X, terminal B generates and saves the 8-digit random number Y, and sends a response frame, which contains the 8-digit random number Y;

步骤309,终端A收到8位随机数Y后,保存8位随机数Y,发送应答帧;Step 309, after terminal A receives the 8-digit random number Y, saves the 8-digit random number Y, and sends a response frame;

步骤310,终端B收到应答帧之后,断开与终端A的连接Step 310, Terminal B disconnects from Terminal A after receiving the response frame

步骤311,尝试使用收到的AP信息,与AP进行连接;Step 311, try to use the received AP information to connect with the AP;

步骤312,连接成功后,断开与AP的连接;Step 312, after the connection is successful, disconnect the connection with the AP;

步骤313,终端B切换到无线P2P模式,并完成与终端A的连接;Step 313, terminal B switches to the wireless P2P mode, and completes the connection with terminal A;

步骤314,发送与AP连接成功信息给终端A;Step 314, sending information about successful connection with the AP to terminal A;

步骤315,终端A收到终端B的连接成功信息后,发送应答帧,并断开与终端B的连接;Step 315, after terminal A receives the connection success message from terminal B, it sends a response frame and disconnects from terminal B;

步骤316,恢复与无线AP的连接;Step 316, recovering the connection with the wireless AP;

步骤317,终端B收到终端A的应答帧之后,断开与终端A的连接;Step 317, after terminal B receives the response frame from terminal A, it disconnects from terminal A;

步骤318,恢复与无线AP的连接;Step 318, recovering the connection with the wireless AP;

步骤319,终端B广播发送8位随机数X;Step 319, terminal B broadcasts and sends an 8-digit random number X;

步骤320,终端A收到8位随机数X后,发送应答帧,包含8位随机数Y;Step 320, after terminal A receives the 8-digit random number X, it sends a response frame, which contains the 8-digit random number Y;

步骤321,终端B收到8位随机数Y之后,LED常亮表示连接成功。Step 321, after terminal B receives the 8-digit random number Y, the LED is always on to indicate that the connection is successful.

参考图5,步骤501,终端A接入AP,接入的方式采用AP/Station模式,终端A保存当前AP的连接信息;Referring to Figure 5, step 501, terminal A accesses the AP, the access mode adopts AP/Station mode, and terminal A saves the connection information of the current AP;

步骤502,终端B上电,使能自身的无线P2P功能,并使得第二终端可以被其他设备扫描到,其他设备包括第二终端,也可以是第二终端以外的终端设备;Step 502, terminal B is powered on, enables its own wireless P2P function, and enables the second terminal to be scanned by other devices, and other devices include the second terminal, and may also be terminal devices other than the second terminal;

步骤503,长按终端A上的P2P使能按键,终端A使能自身无线P2P功能,并设为其它设备可以扫描,LED显示绿色闪烁状态,此时会断开与AP的连接;Step 503, press and hold the P2P enable button on terminal A, terminal A enables its own wireless P2P function, and sets it to be scanned by other devices, and the LED displays a green blinking state, and the connection with the AP will be disconnected at this time;

步骤504,终端B扫描P2P设备,在P2P设备列表中,选择终端A进行连接,长按终端A上的P2P使能按键,终端A与终端B的P2P连接完成;Step 504, terminal B scans for P2P devices, in the list of P2P devices, selects terminal A to connect, press and hold the P2P enabling button on terminal A, and the P2P connection between terminal A and terminal B is completed;

步骤505,终端A推送最近断开的AP连接信息给终端B,包括AP的SSID,MAC,PWD等连接信息;Step 505, Terminal A pushes the recently disconnected AP connection information to Terminal B, including the AP's SSID, MAC, PWD and other connection information;

步骤506,终端B收到终端A推送的AP信息,保存AP信息,回复应答帧;Step 506, terminal B receives the AP information pushed by terminal A, saves the AP information, and replies with a response frame;

步骤507,终端A收到终端B的应答帧之后,产生并保存8位随机数X,发送8位随机数X给终端B;Step 507: After terminal A receives the response frame from terminal B, it generates and saves an 8-digit random number X, and sends the 8-digit random number X to terminal B;

步骤508,终端B收到8位随机数X后,保存8位随机数X,终端B产生并保存8位随机数Y,发送应答帧,应答帧中包含8位随机数Y;Step 508, after terminal B receives the 8-digit random number X, save the 8-digit random number X, terminal B generates and saves the 8-digit random number Y, and sends a response frame, which contains the 8-digit random number Y;

步骤509,终端A收到8位随机数Y后,保存8位随机数Y,发送应答帧;Step 509, after receiving the 8-digit random number Y, terminal A saves the 8-digit random number Y, and sends a response frame;

步骤510,终端B收到应答帧之后,断开与终端A的连接Step 510, Terminal B disconnects from Terminal A after receiving the response frame

步骤511,尝试使用收到的AP信息,与AP进行连接;Step 511, try to use the received AP information to connect with the AP;

步骤512,连接成功后,断开与AP的连接;Step 512, after the connection is successful, disconnect the connection with the AP;

步骤513,终端B切换到无线P2P模式,并完成与终端A的连接;Step 513, terminal B switches to the wireless P2P mode, and completes the connection with terminal A;

步骤514,发送与AP连接成功信息给终端A;Step 514, sending information about successful connection with the AP to terminal A;

步骤515,终端A收到终端B的连接成功信息后,发送应答帧,并断开与终端B的连接;Step 515, after terminal A receives the connection success message from terminal B, it sends a response frame and disconnects from terminal B;

步骤516,恢复与无线AP的连接;Step 516, recovering the connection with the wireless AP;

步骤517,终端B收到终端A的应答帧之后,断开与终端A的连接;Step 517, after terminal B receives the response frame from terminal A, it disconnects from terminal A;

步骤518,恢复与无线AP的连接;Step 518, recovering the connection with the wireless AP;

步骤519,终端B广播发送8位随机数X;Step 519, terminal B broadcasts and sends an 8-digit random number X;

步骤520,终端A收到8位随机数X后,发送应答帧,包含8位随机数Y;Step 520, after terminal A receives the 8-digit random number X, it sends a response frame, which contains the 8-digit random number Y;

步骤521,终端B收到8位随机数Y之后,界面显示连接成功。Step 521, after terminal B receives the 8-digit random number Y, the interface displays that the connection is successful.

参考图6,步骤601,终端A接入AP,接入的方式采用AP/Station模式,终端A保存当前AP的连接信息;Referring to FIG. 6, step 601, terminal A accesses the AP, and the access mode adopts the AP/Station mode, and terminal A saves the connection information of the current AP;

步骤602,同时长按终端A和终端B上的P2P使能按键,终端A与终端B的P2P连接完成;Step 602, press and hold the P2P enable button on terminal A and terminal B at the same time, and the P2P connection between terminal A and terminal B is completed;

步骤603,终端A推送最近断开的AP连接信息给终端B,包括AP的SSID,MAC,PWD等连接信息;Step 603, Terminal A pushes the recently disconnected AP connection information to Terminal B, including the AP's SSID, MAC, PWD and other connection information;

步骤604,终端B收到终端A推送的AP信息,保存AP信息,回复应答帧;Step 604, terminal B receives the AP information pushed by terminal A, saves the AP information, and replies with a response frame;

步骤605,终端A收到终端B的应答帧之后,产生并保存8位随机数X,发送8位随机数X给终端B;Step 605, after receiving the response frame from terminal B, terminal A generates and saves an 8-digit random number X, and sends the 8-digit random number X to terminal B;

步骤606,终端B收到8位随机数X后,保存8位随机数X,终端B产生并保存8位随机数Y,发送应答帧,应答帧中包含8位随机数Y;Step 606, after terminal B receives the 8-digit random number X, save the 8-digit random number X, terminal B generates and saves the 8-digit random number Y, and sends a response frame, which contains the 8-digit random number Y;

步骤607,终端A收到8位随机数Y后,保存8位随机数Y,发送应答帧;Step 607, after terminal A receives the 8-digit random number Y, save the 8-digit random number Y, and send a response frame;

步骤608,终端B收到应答帧之后,断开与终端A的连接;Step 608, after terminal B receives the response frame, it disconnects from terminal A;

步骤609,尝试使用收到的AP信息,与AP进行连接;Step 609, try to use the received AP information to connect with the AP;

步骤610,连接成功后,断开与AP的连接;Step 610, after the connection is successful, disconnect the connection with the AP;

步骤611,同时长按终端A和终端B上的P2P使能按键,完成终端B与终端A的P2P连接,终端B发送与AP连接成功信息给终端A;Step 611, press and hold the P2P enable button on terminal A and terminal B at the same time to complete the P2P connection between terminal B and terminal A, and terminal B sends a message of successful connection with the AP to terminal A;

步骤612,发送与AP连接成功信息给终端A;Step 612, sending information about successful connection with the AP to terminal A;

步骤613,终端A收到终端B的连接成功信息后,发送应答帧,并断开与终端B的连接;Step 613, after terminal A receives the connection success message from terminal B, it sends a response frame and disconnects from terminal B;

步骤614,恢复与无线AP的连接;Step 614, recovering the connection with the wireless AP;

步骤615,终端B收到终端A的应答帧之后,断开与终端A的连接;Step 615, after terminal B receives the response frame from terminal A, it disconnects from terminal A;

步骤616,恢复与无线AP的连接;Step 616, recovering the connection with the wireless AP;

步骤617,终端B广播发送8位随机数X;Step 617, terminal B broadcasts and sends an 8-digit random number X;

步骤618,终端A收到8位随机数X后,发送应答帧,包含8位随机数Y;Step 618, after terminal A receives the 8-digit random number X, it sends a response frame, which contains the 8-digit random number Y;

步骤619,终端B收到8位随机数Y之后,LED常亮表示连接成功。Step 619, after terminal B receives the 8-digit random number Y, the LED is always on to indicate that the connection is successful.

本发明实施例提供一种无线连接的方法,所述方法通过第一终端和第二终端通过P2P连接,接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD接入所述AP;接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;断开和所述第二终端的P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;当所述第二终端接入所述AP时,发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;当所述第一终端收到所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功,从而实现第一终端接入第二终端所在的无线局域网,并且第一终端通过和第二终端交互信息确定是否连入同一个无线局域网。An embodiment of the present invention provides a wireless connection method. The method uses a P2P connection between a first terminal and a second terminal to receive the information sent by the second terminal about the wireless access point AP that the second terminal accesses. The server identifies the SSID, the media access layer address MAC, and the password PWD to access the AP; receives the random number X sent by the second terminal, generates the random number Y corresponding to the X, saves the correspondence between X and Y, and The Y is sent to the second terminal, so that the second terminal saves the corresponding relationship between X and Y; the P2P connection with the second terminal is disconnected, and according to the server identification SSID, the media intervention The layer address MAC and the password PWD access the AP; when the second terminal accesses the AP, send the broadcast information including the X, so that the second terminal according to the correspondence between X and Y The relationship sends a response frame containing Y to the first terminal; when the first terminal receives the response frame containing Y, according to the correspondence between X and Y, it indicates that the wireless connection is successful, thereby realizing the first terminal A terminal accesses the wireless local area network where the second terminal is located, and the first terminal determines whether to connect to the same wireless local area network by exchanging information with the second terminal.

参考图7,图7是本发明实施例提供的一种终端的装置结构图。如图7所示,所述终端包括以下单元:Referring to FIG. 7, FIG. 7 is a device structural diagram of a terminal provided by an embodiment of the present invention. As shown in Figure 7, the terminal includes the following units:

连接单元701,用于第一终端和第二终端通过无线相容性验证WIFI直连技术P2P连接;The connection unit 701 is used for the first terminal and the second terminal to verify the P2P connection of the WIFI direct connection technology through wireless compatibility;

可选地,所述连接单元701,具体用于:Optionally, the connecting unit 701 is specifically used for:

当第一终端有显示屏幕时,所述第一终端通过屏幕触发使能P2P功能的指令,使得所述第一终端和第二终端通过P2P连接;When the first terminal has a display screen, the first terminal triggers an instruction to enable the P2P function through the screen, so that the first terminal and the second terminal are connected through P2P;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发使能P2P功能的指令,使得所述第一终端和所述第二终端通过P2P连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to enable the P2P function by pressing a button, so that the first terminal and the second terminal are connected through P2P.

第一接收单元702,用于接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD;The first receiving unit 702 is configured to receive the server identifier SSID, media access layer address MAC, and password PWD of the wireless access point AP accessed by the second terminal sent by the second terminal;

具体的,参考图2和图3,图2是本发明实施例提供的一种无线连接的方法示意图,图3是本发明实施例提供的一种无线连接方法示意图。Specifically, referring to FIG. 2 and FIG. 3 , FIG. 2 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention, and FIG. 3 is a schematic diagram of a wireless connection method provided by an embodiment of the present invention.

如图2所示,步骤202,当第一终端B带有显示屏幕时,B通过屏幕触发使能WIFI直接技术(Wifipeertopeer,P2P)功能的指令,使得B和第二终端A通过P2P连接。As shown in Figure 2, step 202, when the first terminal B has a display screen, B triggers an instruction to enable the WIFI direct technology (Wifipeertopeer, P2P) function through the screen, so that B and the second terminal A are connected through P2P.

如图3所示,步骤302,当第一终端B不带显示屏幕时,用户长按P2P使能按键,使能P2P功能,发光二级管(LightEmittingDiode,LED)闪烁,使得第二终端可以被其他设备扫描到,其他设备包括第二终端,也可以是第二终端以外的终端设备。As shown in Figure 3, in step 302, when the first terminal B does not have a display screen, the user presses and holds the P2P enabling button to enable the P2P function, and the Light Emitting Diode (LED) flashes, so that the second terminal can be Scanned by other devices, the other devices include the second terminal, and may also be terminal devices other than the second terminal.

第二接收单元703,用于接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;The second receiving unit 703 is configured to receive the random number X sent by the second terminal, generate a random number Y corresponding to X, save the correspondence between X and Y, and send the Y to the second terminal , so that the second terminal saves the corresponding relationship between X and Y;

本发明中,通过X和Y的对应关系,可以验证终端B是否接入终端A所在的局域网,当终端B发送X到终端A时,终端A查找X和Y的对应关系发现是X对应的是Y,则将包含Y的应答帧发送到终端B,同时终端B也保持X和Y的对应关系,终端B收到包含Y的应答帧后查找X和Y的对应关系,当终端B获知X和Y是对应的,则可获知终端B接入终端A所在的局域网。In the present invention, through the corresponding relationship between X and Y, it can be verified whether terminal B is connected to the local area network where terminal A is located. When terminal B sends X to terminal A, terminal A searches for the corresponding relationship between X and Y and finds that X corresponds to Y, then send a response frame containing Y to terminal B, and terminal B also maintains the corresponding relationship between X and Y. After receiving the response frame containing Y, terminal B searches for the corresponding relationship between X and Y. When terminal B learns that X and Y If Y is corresponding, it can be learned that terminal B accesses the local area network where terminal A is located.

具体的,如图2的步骤204-步骤209。Specifically, as shown in steps 204 to 209 in FIG. 2 .

步骤204,终端A和终端B完成P2P连接;Step 204, terminal A and terminal B complete the P2P connection;

步骤205,终端A发送AP信息给终端B,所述信息包括终端A接入的无线访问接入点(AccessPoint,AP)的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;Step 205, terminal A sends AP information to terminal B, the information includes the server identification SSID of the wireless access point (AccessPoint, AP) accessed by terminal A, the media intervention layer address MAC, and the password PWD access the AP;

步骤206,终端B保存AP信息并应答;Step 206, terminal B saves the AP information and responds;

步骤207,终端A发送8位随机数X到终端B,Step 207, terminal A sends an 8-digit random number X to terminal B,

步骤208,终端B保存X并应答8位随机数Y;Step 208, terminal B saves X and responds with an 8-digit random number Y;

步骤209,终端A保存8位随机数Y,并应答。Step 209, terminal A saves the 8-digit random number Y, and responds.

断开单元704,用于断开和所述第二终端的所述P2P连接;a disconnection unit 704, configured to disconnect the P2P connection with the second terminal;

接入单元705,用于根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;An access unit 705, configured to access the AP according to the server identifier SSID, the media access layer address MAC, and the password PWD;

具体的,如图2的步骤210-211。Specifically, steps 210-211 in FIG. 2 .

步骤210,当终端B保存X和Y的对应关系后,终端B断开与终端A的连接;Step 210, after terminal B saves the corresponding relationship between X and Y, terminal B disconnects from terminal A;

步骤211,终端B使用AP信息与AP连接。In step 211, terminal B uses the AP information to connect to the AP.

发送单元706,用于发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;A sending unit 706, configured to send the broadcast information containing the X, so that the second terminal sends a response frame containing Y to the first terminal according to the correspondence between X and Y;

具体的,参考图2的步骤219和步骤220。Specifically, refer to step 219 and step 220 in FIG. 2 .

步骤219,当终端A接入所述AP时,终端B发送广播信息,在所述广播信息中携带X;Step 219, when terminal A accesses the AP, terminal B sends broadcast information, carrying X in the broadcast information;

步骤220,终端A收到X后,根据X和Y的对应关系,将包含Y的应答帧发送到终端B。Step 220, after receiving X, terminal A sends a response frame containing Y to terminal B according to the correspondence between X and Y.

显示单元707,用于接收所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功。The display unit 707 is configured to, when receiving the response frame containing Y, display that the wireless connection is successful according to the correspondence between X and Y.

可选地,所述显示单元707,具体用于:Optionally, the display unit 707 is specifically configured to:

当所述第一终端有显示屏幕时,通过显示屏幕显示无线连接成功;When the first terminal has a display screen, the display screen displays that the wireless connection is successful;

当所述第一终端不带显示屏幕时,通过发光二极管LED的亮灯表示无线连接成功。When the first terminal does not have a display screen, the light of the light-emitting diode LED indicates that the wireless connection is successful.

具体的,参考图2的步骤221。Specifically, refer to step 221 in FIG. 2 .

步骤221,终端B收到A的应答帧后,显示无线连接成功。In step 221, after terminal B receives the response frame from A, it displays that the wireless connection is successful.

具体的,参考图3的步骤321。Specifically, refer to step 321 in FIG. 3 .

步骤321,终端B收到A的应答帧后,LED亮灯显示连接成功。In step 321, after terminal B receives the response frame from A, the LED turns on to indicate that the connection is successful.

作为一种可选的实施例,所述终端还包括第一处理单元,所述第一处理单元具体用于:As an optional embodiment, the terminal further includes a first processing unit, and the first processing unit is specifically configured to:

所述第一终端断开和所述AP的无线连接;The first terminal disconnects the wireless connection with the AP;

所述第一终端和所述第二终端通过P2P连接;The first terminal and the second terminal are connected through P2P;

发送与所述AP连接成功的信息到所述第二终端,使得所述第二终端收到所述信息后,发送应答帧到所述第一终端,断开和所述第一终端的P2P连接,并恢复和所述AP的无线连接;Sending information that the connection with the AP is successful to the second terminal, so that the second terminal sends a response frame to the first terminal after receiving the information, and disconnects the P2P connection with the first terminal , and restore the wireless connection with the AP;

接收所述第二终端发送的所述应答帧,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。receiving the response frame sent by the second terminal, disconnecting the P2P connection with the second terminal, and restoring the wireless connection with the AP.

具体的,参考图2的步骤212-218。Specifically, refer to steps 212-218 in FIG. 2 .

步骤212,当终端B接入AP后,终端B断开和AP的无线连接;Step 212, after terminal B accesses the AP, terminal B disconnects the wireless connection with the AP;

步骤213,终端B和终端A通过P2P连接;Step 213, terminal B and terminal A are connected through P2P;

步骤214,终端B发送与AP连接成功的信息到终端A;Step 214, terminal B sends information to terminal A that the connection with the AP is successful;

步骤215,终端A发送应答帧,断开和终端B的连接;Step 215, terminal A sends a response frame and disconnects from terminal B;

步骤216,终端A恢复和AP的无线连接;Step 216, terminal A restores the wireless connection with the AP;

步骤217,终端B断开和终端A的连接;Step 217, Terminal B disconnects from Terminal A;

具体的,终端B端口和终端A的连接是通过预设的程序实现的。Specifically, the connection between the terminal B port and the terminal A is realized through a preset program.

步骤218,终端B恢复和AP的无线连接。Step 218, terminal B restores the wireless connection with the AP.

所述第一处理单元中执行步骤所述第一终端断开和所述AP的无线连接,包括;当所述第一终端有显示屏幕时,所述第一终端通过屏幕触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接;The first processing unit executes the step of disconnecting the first terminal from the wireless connection with the AP, including: when the first terminal has a display screen, the first terminal triggers disconnection from the AP through the screen An instruction of the wireless connection of the AP, so that the first terminal disconnects the wireless connection with the AP;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP by pressing a button, so that the first terminal disconnects the wireless connection with the AP.

具体的,参考图2的步骤212和图3的步骤312。Specifically, refer to step 212 in FIG. 2 and step 312 in FIG. 3 .

步骤212通过屏幕触发断开和所述AP的无线连接的指令,步骤312通过长按键触发断开和所述AP的无线连接的指令。Step 212 triggers an instruction to disconnect the wireless connection with the AP through the screen, and step 312 triggers an instruction to disconnect the wireless connection with the AP through a long key.

作为另一种可选的实施例,所述终端还包括第二处理单元,所述第二处理单元用于:As another optional embodiment, the terminal further includes a second processing unit, where the second processing unit is configured to:

第二终端和第一终端通过P2P连接,向所述第一终端发送所述第二终端接入AP的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP,使得所述第一终端通过所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;The second terminal and the first terminal are connected through P2P, and send to the first terminal the server identification SSID for the second terminal to access the AP, the media access layer address MAC, and the password PWD to access the AP , enabling the first terminal to access the AP through the server identifier SSID, the media access layer address MAC, and the password PWD;

向所述第一终端发送随机数X,并接收所述第一终端产生的所述X对应的随机数Y,保存X和Y的对应关系;Sending a random number X to the first terminal, receiving a random number Y corresponding to X generated by the first terminal, and saving the correspondence between X and Y;

断开和所述第一终端的所述P2P连接,接入所述AP;disconnecting the P2P connection with the first terminal, and accessing the AP;

接收所述第一终端发送的包含X的广播信息,根据所述X和Y的对应关系,将包含Y的应答帧发送到所述第一终端,使得所述第一终端根据所述X和Y的对应关系,显示无线连接成功。receiving the broadcast information containing X sent by the first terminal, and sending a response frame containing Y to the first terminal according to the correspondence between X and Y, so that the first terminal The corresponding relationship shows that the wireless connection is successful.

可选地,所述第二处理单元中执行步骤所述第二终端和第一终端通过P2P连接,包括:Optionally, the second terminal and the first terminal are connected through P2P by executing the step in the second processing unit, including:

当第二终端有显示屏幕时,所述第二终端通过屏幕触发使能P2P功能的指令,使得所述第二终端和第一终端通过P2P连接;When the second terminal has a display screen, the second terminal triggers an instruction to enable the P2P function through the screen, so that the second terminal and the first terminal are connected through P2P;

或者,当第二终端不带显示屏幕时,所述第二终端通过按键触发使能P2P功能的指令,使得所述第二终端和所述第一终端通过P2P连接。Alternatively, when the second terminal does not have a display screen, the second terminal triggers an instruction to enable the P2P function by pressing a button, so that the second terminal and the first terminal are connected through P2P.

具体的,参考图3的步骤303。Specifically, refer to step 303 in FIG. 3 .

步骤303,当终端A带显示屏幕时,所述终端A通过屏幕触发使能P2P功能的指令,使得所述终端A和终端B通过P2P连接。Step 303, when the terminal A has a display screen, the terminal A triggers an instruction to enable the P2P function through the screen, so that the terminal A and the terminal B are connected through P2P.

参考图5,图5是本发明实施例提供的一种无线连接的方法示意图。Referring to FIG. 5 , FIG. 5 is a schematic diagram of a wireless connection method according to an embodiment of the present invention.

步骤503,当终端A不带显示屏幕时,长按终端A的P2P使能按键,使能P2P功能,LED闪烁,断开和AP的无线连接。Step 503, when terminal A does not have a display screen, press and hold the P2P enabling button of terminal A to enable the P2P function, the LED blinks, and disconnect the wireless connection with the AP.

可选地,所述终端还包括第三处理单元,所述第三处理单元具体用于:Optionally, the terminal further includes a third processing unit, and the third processing unit is specifically configured to:

当所述第一终端断开和所述AP的无线连接,通过P2P连接所述第二终端时,接收所述第一终端发送的连接成功的信息;When the first terminal disconnects the wireless connection with the AP and connects to the second terminal through P2P, receiving the connection success information sent by the first terminal;

发送应答帧到所述第一终端,使得所述第一终端接收到所述应答帧后,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。Sending a response frame to the first terminal, so that the first terminal disconnects the P2P connection with the second terminal after receiving the response frame, and resumes the wireless connection with the AP.

具体的,参考图2的步骤212-218。Specifically, refer to steps 212-218 in FIG. 2 .

本发明实施例提供一种终端,所述终端通过第一终端和第二终端通过P2P连接,接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD接入所述AP;接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;断开和所述第二终端的P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;当所述第二终端接入所述AP时,发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;当所述第一终端收到所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功,从而实现第一终端接入第二终端所在的无线局域网,并且第一终端通过和第二终端交互信息确定是否连入同一个无线局域网。An embodiment of the present invention provides a terminal, the terminal is connected to the second terminal through P2P through the first terminal, and receives the server identification SSID of the wireless access point AP accessed by the second terminal sent by the second terminal , media intervention layer address MAC, password PWD to access the AP; receive the random number X sent by the second terminal, generate the random number Y corresponding to X, save the corresponding relationship between X and Y, and store the Y Send to the second terminal, so that the second terminal saves the corresponding relationship between X and Y; disconnect the P2P connection with the second terminal, according to the server identification SSID, the media intervention layer address MAC , the password PWD to access the AP; when the second terminal accesses the AP, send broadcast information containing the X, so that the second terminal will include the X and Y according to the corresponding relationship The response frame of Y is sent to the first terminal; when the first terminal receives the response frame containing Y, according to the corresponding relationship between X and Y, it is displayed that the wireless connection is successful, so that the first terminal is connected access the wireless local area network where the second terminal is located, and the first terminal determines whether to connect to the same wireless local area network by exchanging information with the second terminal.

图8是本发明实施例提供的一种终端的装置结构图。参考图8,图8是本发明实施例提供的一种终端800,本发明具体实施例并不对所述终端的具体实现做限定。所述终端800包括:FIG. 8 is a device structural diagram of a terminal provided by an embodiment of the present invention. Referring to FIG. 8 , FIG. 8 is a terminal 800 provided by an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the terminal. The terminal 800 includes:

处理器(processor)801,通信接口(CommunicationsInterface)802,存储器(memory)803,总线804。A processor (processor) 801 , a communication interface (Communications Interface) 802 , a memory (memory) 803 , and a bus 804 .

处理器801,通信接口802,存储器803通过总线804完成相互间的通信。The processor 801 , the communication interface 802 , and the memory 803 communicate with each other through the bus 804 .

通信接口802,用于与其他设备进行通信;A communication interface 802, configured to communicate with other devices;

处理器801,用于执行程序。The processor 801 is configured to execute programs.

具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。Specifically, the program may include program code, and the program code includes computer operation instructions.

处理器801可能是一个中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecificIntegratedCircuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 801 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.

存储器803,用于存放程序。存储器803可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。程序具体可以包括:The memory 803 is used to store programs. The memory 803 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Specific procedures may include:

第一终端和第二终端通过无线相容性验证WIFI直连技术P2P连接,接收所述第二终端发送的所述第二终端接入的无线访问接入点AP的服务器标识SSID、媒体介入层地址MAC、密码PWD;The first terminal and the second terminal verify the WIFI direct connection technology P2P connection through wireless compatibility, and receive the server identification SSID and media intervention layer of the wireless access point AP that the second terminal accesses sent by the second terminal. Address MAC, password PWD;

接收所述第二终端发送的随机数X,产生所述X对应的随机数Y,保存X和Y的对应关系,并将所述Y发送到所述第二终端,使得所述第二终端保存所述X和Y的对应关系;receiving the random number X sent by the second terminal, generating a random number Y corresponding to the X, saving the correspondence between X and Y, and sending the Y to the second terminal, so that the second terminal saves The corresponding relationship between X and Y;

断开和所述第二终端的所述P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;Disconnecting the P2P connection with the second terminal, accessing the AP according to the server identifier SSID, the media access layer address MAC, and the password PWD;

发送包含所述X的广播信息,使得所述第二终端根据所述X和Y的对应关系将包含Y的应答帧发送到所述第一终端;sending the broadcast information containing the X, so that the second terminal sends a response frame containing Y to the first terminal according to the correspondence between X and Y;

接收所述包含Y的应答帧时,根据所述X和Y的对应关系,显示无线连接成功。When the response frame containing Y is received, according to the correspondence between X and Y, it is displayed that the wireless connection is successful.

所述第一终端和第二终端通过P2P连接,包括:The first terminal and the second terminal are connected through P2P, including:

当第一终端有显示屏幕时,所述第一终端通过屏幕触发使能P2P功能的指令,使得所述第一终端和第二终端通过P2P连接;When the first terminal has a display screen, the first terminal triggers an instruction to enable the P2P function through the screen, so that the first terminal and the second terminal are connected through P2P;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发使能P2P功能的指令,使得所述第一终端和所述第二终端通过P2P连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to enable the P2P function by pressing a button, so that the first terminal and the second terminal are connected through P2P.

所述显示无线连接成功,包括:The display shows that the wireless connection is successful, including:

当所述第一终端有显示屏幕时,通过显示屏幕显示无线连接成功;When the first terminal has a display screen, the display screen displays that the wireless connection is successful;

当所述第一终端不带显示屏幕时,通过发光二极管LED的亮灯表示无线连接成功。When the first terminal does not have a display screen, the light of the light-emitting diode LED indicates that the wireless connection is successful.

在断开和所述第二终端的P2P连接,根据所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP的步骤之后,还包括:After disconnecting the P2P connection with the second terminal, and accessing the AP according to the server identification SSID, the media access layer address MAC, and the password PWD, it further includes:

所述第一终端断开和所述AP的无线连接;The first terminal disconnects the wireless connection with the AP;

所述第一终端和所述第二终端通过P2P连接;The first terminal and the second terminal are connected through P2P;

发送与所述AP连接成功的信息到所述第二终端,使得所述第二终端收到所述信息后,发送应答帧到所述第一终端,断开和所述第一终端的P2P连接,并恢复和所述AP的无线连接;Sending information that the connection with the AP is successful to the second terminal, so that the second terminal sends a response frame to the first terminal after receiving the information, and disconnects the P2P connection with the first terminal , and restore the wireless connection with the AP;

接收所述第二终端发送的所述应答帧,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。receiving the response frame sent by the second terminal, disconnecting the P2P connection with the second terminal, and restoring the wireless connection with the AP.

所述第一终端断开与所述AP的无线连接,包括:The first terminal disconnecting the wireless connection with the AP includes:

当所述第一终端有显示屏幕时,所述第一终端通过屏幕触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接;When the first terminal has a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP through the screen, so that the first terminal disconnects the wireless connection with the AP;

或者,当第一终端不带显示屏幕时,所述第一终端通过按键触发断开和所述AP的无线连接的指令,使得所述第一终端断开和所述AP的无线连接。Alternatively, when the first terminal does not have a display screen, the first terminal triggers an instruction to disconnect the wireless connection with the AP by pressing a button, so that the first terminal disconnects the wireless connection with the AP.

第二终端和第一终端通过P2P连接,向所述第一终端发送所述第二终端接入AP的所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP,使得所述第一终端通过所述服务器标识SSID、所述媒体介入层地址MAC、所述密码PWD接入所述AP;The second terminal and the first terminal are connected through P2P, and send to the first terminal the server identification SSID for the second terminal to access the AP, the media access layer address MAC, and the password PWD to access the AP , enabling the first terminal to access the AP through the server identifier SSID, the media access layer address MAC, and the password PWD;

向所述第一终端发送随机数X,并接收所述第一终端产生的所述X对应的随机数Y,保存X和Y的对应关系;Sending a random number X to the first terminal, receiving a random number Y corresponding to X generated by the first terminal, and saving the correspondence between X and Y;

断开和所述第一终端的所述P2P连接,接入所述AP;disconnecting the P2P connection with the first terminal, and accessing the AP;

接收所述第一终端发送的包含X的广播信息,根据所述X和Y的对应关系,将包含Y的应答帧发送到所述第一终端,使得所述第一终端根据所述X和Y的对应关系,显示无线连接成功。receiving the broadcast information containing X sent by the first terminal, and sending a response frame containing Y to the first terminal according to the correspondence between X and Y, so that the first terminal The corresponding relationship shows that the wireless connection is successful.

所述第二终端和第一终端通过P2P连接,包括:The second terminal and the first terminal are connected through P2P, including:

当第二终端有显示屏幕时,所述第二终端通过屏幕触发使能P2P功能的指令,使得所述第二终端和第一终端通过P2P连接;When the second terminal has a display screen, the second terminal triggers an instruction to enable the P2P function through the screen, so that the second terminal and the first terminal are connected through P2P;

或者,当第二终端不带显示屏幕时,所述第二终端通过按键触发使能P2P功能的指令,使得所述第二终端和所述第一终端通过P2P连接。Alternatively, when the second terminal does not have a display screen, the second terminal triggers an instruction to enable the P2P function by pressing a button, so that the second terminal and the first terminal are connected through P2P.

所述方法在断开和所述第一终端的P2P连接,接入所述AP的步骤之前,还包括:Before the step of disconnecting the P2P connection with the first terminal and accessing the AP, the method further includes:

当所述第一终端断开和所述AP的无线连接,通过P2P连接所述第二终端时,接收所述第一终端发送的连接成功的信息;When the first terminal disconnects the wireless connection with the AP and connects to the second terminal through P2P, receiving the connection success information sent by the first terminal;

发送应答帧到所述第一终端,使得所述第一终端接收到所述应答帧后,断开和所述第二终端的P2P连接,并恢复和所述AP的无线连接。Sending a response frame to the first terminal, so that the first terminal disconnects the P2P connection with the second terminal after receiving the response frame, and resumes the wireless connection with the AP.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlYMemorY,ROM)或随机存取存储器(RandomAccessMemorY,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-OnlYMemorY, ROM) or a random access memory (RandomAccessMemorY, RAM for short), and the like.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (13)

CN201310198537.9A2013-05-242013-05-24A kind of method and apparatus of wireless connectionsActiveCN103327644B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310198537.9ACN103327644B (en)2013-05-242013-05-24A kind of method and apparatus of wireless connections

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310198537.9ACN103327644B (en)2013-05-242013-05-24A kind of method and apparatus of wireless connections

Publications (2)

Publication NumberPublication Date
CN103327644A CN103327644A (en)2013-09-25
CN103327644Btrue CN103327644B (en)2016-03-30

Family

ID=49196093

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310198537.9AActiveCN103327644B (en)2013-05-242013-05-24A kind of method and apparatus of wireless connections

Country Status (1)

CountryLink
CN (1)CN103327644B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104080194A (en)*2014-06-252014-10-01扬州芯云智能系统有限公司Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
CN104159219A (en)*2014-08-042014-11-19深圳市晶讯软件通讯技术有限公司WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP
CN105357666A (en)*2014-08-202016-02-24中兴通讯股份有限公司WIFI (Wireless Fidelity) password sharing method and terminals
US10374819B2 (en)2014-09-192019-08-06Xiaomi Inc.Methods and devices of accessing wireless network
CN104378801A (en)*2014-09-192015-02-25小米科技有限责任公司 Method and device for accessing wireless network
US10205776B2 (en)2014-12-232019-02-12Xiaomi Inc.Method and device for wireless connection
CN104580401A (en)*2014-12-232015-04-29小米科技有限责任公司Connecting method and device
CN104581647A (en)*2015-01-302015-04-29青岛海尔智能家电科技有限公司 Smart device network access method and device
CN104797002B (en)*2015-03-122018-04-27上海汉物天物联网技术有限公司A kind of method for allowing field device to rapidly join WirelessHART network
CN104994560B (en)*2015-05-282019-02-26西安诺瓦电子科技有限公司Display screen attention rate statistical method and system
CN104967995A (en)*2015-06-302015-10-07北京奇虎科技有限公司 A method, client and server for obtaining WIFI network password
CN104955048A (en)*2015-06-302015-09-30北京奇虎科技有限公司WiFi (wireless fidelity) network login information sharing method, server, terminal and system
CN104980927A (en)*2015-06-302015-10-14北京奇虎科技有限公司Method and device for sharing WiFi passwords
CN105050085A (en)*2015-07-062015-11-11广东欧珀移动通信有限公司 A kind of WiFi access method and device
CN107852579B (en)*2015-08-042020-02-14华为技术有限公司Network connection method and related equipment
CN105357740B (en)*2015-09-232020-09-25Tcl移动通信科技(宁波)有限公司Wireless network access method and wireless access node
TWI590693B (en)*2015-12-072017-07-01宏碁股份有限公司Method and system for setting network of connected device
CN107172617A (en)*2017-04-182017-09-15鲁学敏The wireless connection method and system of a kind of smart machine and intelligent terminal
CN108629882A (en)*2018-04-242018-10-09四川斐讯信息技术有限公司A kind of voting method and system
CN111757421A (en)*2020-06-092020-10-09四川虹美智能科技有限公司Method and device for intelligent equipment network distribution
CN113660732B (en)*2021-10-202022-03-01翱捷科技(深圳)有限公司Earphone communication method and system and earphone

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102315864A (en)*2011-09-072012-01-11百度在线网络技术(北京)有限公司Method of point-to-point data transmission for mobile device and device
CN102420876A (en)*2012-01-062012-04-18重庆国虹科技发展有限公司Method for actively pushing files in point-to-point mode in android-based intelligent mobile terminal
CN102711175A (en)*2012-05-162012-10-03中兴通讯股份有限公司南京分公司Method and device for transmitting data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102315864A (en)*2011-09-072012-01-11百度在线网络技术(北京)有限公司Method of point-to-point data transmission for mobile device and device
CN102420876A (en)*2012-01-062012-04-18重庆国虹科技发展有限公司Method for actively pushing files in point-to-point mode in android-based intelligent mobile terminal
CN102711175A (en)*2012-05-162012-10-03中兴通讯股份有限公司南京分公司Method and device for transmitting data

Also Published As

Publication numberPublication date
CN103327644A (en)2013-09-25

Similar Documents

PublicationPublication DateTitle
CN103327644B (en)A kind of method and apparatus of wireless connections
JP6784306B2 (en) Communication device and communication method
CN110191450B (en) Service connection establishment method, bluetooth master device, chip and bluetooth system
EP3484196B1 (en)Method and apparatus for registering wireless device in wireless communication system
CN104936266A (en) A network access method and device
US11134435B2 (en)Electronic device supporting multiple wireless communication protocols and method therefor
CN107147549B (en)Intelligent household equipment networking method and device
CN110870353B (en) A method and terminal for WiFi connection
KR20160007259A (en)Apparatus and method for selecting channel in wireless communication system
EP3182787B1 (en)Communication method and device
CN106331302B (en) A method and device for adding contacts
CN110601986A (en)Router supporting peripheral control over mobile terminal equipment, control method and device
CN115209510B (en)Wireless network connection method and device, electronic equipment and storage medium
WO2022188538A1 (en)Method for authenticating wi-fi connection, wireless terminal, access node, and storage medium
JP2015050721A (en)External storage device, data file transmission and reception system, data file transmission and reception method and program

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp