New! View global litigation for patent families

CN104159219A - WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP - Google Patents

WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP Download PDF

Info

Publication number
CN104159219A
CN104159219A CN 201410379683 CN201410379683A CN104159219A CN 104159219 A CN104159219 A CN 104159219A CN 201410379683 CN201410379683 CN 201410379683 CN 201410379683 A CN201410379683 A CN 201410379683A CN 104159219 A CN104159219 A CN 104159219A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
wifi
network
access
terminals
ap
Prior art date
Application number
CN 201410379683
Other languages
Chinese (zh)
Inventor
田帅坡
Original Assignee
深圳市晶讯软件通讯技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention relates to WiFi terminals and a method and a system both for quick access of WiFi terminals to a WiFi AP. The method comprises the following steps: S1, accessing WiFi network of the WiFi AP through a first WiFi terminal; obtaining a network name and an access password of the WiFi network; sending a series of specific UDP data packages through the WiFi network, wherein the lengths of the UDP data packages contain the Network name and the access password; S2, receiving the specific UDP data packages through a second WiFi terminal; analyzing the length information of the specific UDP data packages to obtain the network name and the network password; accessing the WiFi AP based on the network name and the access password. According to the invention, the WiFi AP can be quickly accessed through the WiFi terminals with no need of complicated configuration operation of users; moreover, good compatibility, simple operation and optimal user experience are realized.

Description

WiFi终端及WiFi终端快速接入WiFi AP的方法和系统 WiFi terminal quick access terminal and WiFi WiFi AP methods and systems

技术领域 FIELD

[0001] 本发明涉及WiFi网络技术,更具体地说,涉及WiFi终端以及WiFi终端快速接入WiFi AP的方法和系统。 [0001] The present invention relates to a WiFi network technology, and more particularly, to a method and system terminals and WiFi WiFi terminal quick access to the WiFi AP.

背景技术 Background technique

[0002] 当支持WiFi的终端例如智能手机需要连接到某一个WiFi网络时,目前通常的方法是由手机扫描当前网络中存在的WiFi热点,然后选择需要连接的网络,输入密码之后就会连接该网络。 [0002] When a WiFi enabled terminal such as smart phones need to be connected to a WiFi network, now commonly a scanning method by a mobile phone network in the presence of WiFi hotspot, and then select the network to be connected, the connector will enter the password after The internet. 这种方法对于有屏幕显示、可以方便输入的高级智能终端设备来说是恰当的,但是对于一个没有显示屏也没有输入按键、更没有触摸屏的WiFi智能插座就显得毫无用处。 This approach has the display screen, you can easily enter the advanced intelligent terminal equipment is appropriate, but for a no display and no input keys, touch screen and no WiFi smart socket becomes useless.

[0003] 针对这个问题,很多公司提出了自己的解决方案,主要有以下几种: [0003] To address this problem, many companies put forward their own solutions, are the following:

[0004] 1、通过WPS按键配置。 [0004] 1, arranged by the WPS button. 现在有很多无线路由器都会有一个称为"WPS"的按键,当WiFi终端需要连接到这个无线路由器的时候,首先按下无线路由器的WPS按键,然后再按下WiFi终端的WPS按键,这样,WiFi终端和无线路由器就会自动配对,最后可成功连接到这个无线路由器。 There are many wireless router will have a button called "WPS", and when the WiFi terminal needs to connect to the wireless router, wireless router WPS button pressed first, and then press the WPS button WiFi terminal, so that, WiFi terminal and the wireless router will automatically match the last successfully connect to the wireless router. 这种方法有一个致命的缺点就是,有很多高级的加密算法不支持WPS,这样为了方便配置便不得不降低无线路由器的加密等级,这是很多客户无法接受的。 This approach has a fatal flaw is that there are a lot of advanced encryption algorithm does not support WPS, so in order to facilitate the configuration will have to reduce the level of encryption of the wireless router, which is unacceptable to many customers. 这种方法的另外一个大的缺陷就是部分无线路由器不支持WPS。 This method is another big flaw is that part of the wireless router does not support WPS. 因此这种方法很难做到通用,无法兼容到市场上的所有无线路由器。 Therefore, this method is very difficult to achieve universal, not be compatible with all wireless routers on the market.

[0005] 2、通过使WiFi终端工作在AP或者Soft AP的方式下实现配置。 [0005] 2, by making the WiFi terminal is operating in a mode to achieve disposed Soft AP or the AP. 实际的连接过程是:首先按下WiFi终端的某一个按键,使得WiFi终端工作在AP模式,然后通过智能手机搜索到该WiFi终端的网络并连接上,然后运行手机上的特有软件,输入需要连接的无线路由器的网络名称和密码,点击配置按钮后就可以将需要连接到的无线路由器的信息发送给WiFi终端,WiFi终端收到后就根据这个信息连接目标无线路由器。 The actual connection process is: firstly pressing one key WiFi terminal, such that the terminal is operating in WiFi AP mode, and then search through the smart phone to the network and WiFi connection terminal, and run specific software on the mobile phone, need to connect the input information transmitted from the wireless router's network name and password, click on the configure button after you can will need to connect to a wireless router to the WiFi terminal, WiFi connection target terminal receives information after the wireless router based on this. 当WiFi终端成功连接到无线路由器后,智能手机需要手动的再切换回无线路由器网络。 When the terminal successfully connected to WiFi wireless router, smart phones need to manually switch back to the wireless router network. 这种方法的缺点是,用户需要的操作太多,往往需要用户手动从当前网络切换到WiFi终端的网络上去,完成配置后再切换回原来使用的网络,对普通用户来说难度稍高。 A disadvantage of this method is that the user needs many operations, often require users to manually switch from the current network to the WiFi network terminal up to complete the configuration after switching back to the original use of the network, slightly difficult for ordinary users.

[0006] 以上两种方案都无法使用户获得最佳的用户体验。 [0006] the above two schemes can not enable users to get the best user experience.

发明内容 SUMMARY

[0007] 本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种简单高效的WiFi终端快速接入WiFi AP的方法和系统以及WiFi终端。 [0007] The present invention is to solve the technical problem, for the above-described drawbacks of the prior art, to provide a simple and efficient WiFi terminal quick access WiFi AP methods and systems, and WiFi terminals.

[0008] 本发明解决其技术问题所采用的技术方案是:提出一种WiFi终端快速接入WiFi AP的方法,包括如下步骤: [0008] The aspect of the present invention to solve the technical problem is that: WiFi terminal to propose a method of quick access WiFi AP, comprising the steps of:

[0009] S1、由第一WiFi终端接入WiFi AP的WiFi网络,获取所述WiFi网络的网络名称和接入密码,并通过所述WiFi网络发送一系列特定的UDP数据包,其中,所述UDP数据包的长度携带了所述网络名称和接入密码; [0009] S1, the first access terminal WiFi WiFi AP of the WiFi network, and obtaining network name of the access password of the WiFi network, and sending a series of specific UDP packet through the WiFi network, wherein the the length of the UDP packet carries the access network name and password;

[0010] S2、由第二WiFi终端接收所述特定的UDP数据包,解析所述特定的UDP数据包的长度信息以获得所述网络名称和接入密码,并基于所述网络名称和接入密码接入所述WiFi AP。 [0010] S2, WiFi received by the second terminal of the specific UDP packet, said specific length parsing UDP packet of information to obtain access to the network name and password, and access based on the network name and password access to the WiFi AP.

[0011] 根据本发明的一个实施例中,所述特定的UDP数据包包含有特定的标识头; [0011] In accordance with one embodiment of the present invention, the UDP data packet contains a specific identification of a specific head;

[0012] 所述步骤S2进一步包括:由第二WiFi终端接收UDP数据包,通过识别UDP数据包的标识头确定所述特定的UDP数据包。 [0012] Step S2 further comprising: receiving a second UDP data packet by the WiFi terminal, determining that the particular UDP packet header is identified by identifying UDP packet.

[0013] 本发明为解决其技术问题还提出一种WiFi终端快速接入WiFi AP的系统,包括: [0013] The present invention is to solve the technical problem also provides a WiFi AP WiFi terminal quick access system, comprising:

[0014] WiFi AP,用于提供WiFi网络; [0014] WiFi AP, for providing a WiFi network;

[0015] 第一WiFi终端,用于接入所述WiFi AP的WiFi网络,获取所述WiFi网络的网络名称和接入密码,并通过所述WiFi网络发送一系列特定的UDP数据包,其中,所述UDP数据包的长度携带了所述网络名称和接入密码; [0015] WiFi a first terminal, for accessing the WiFi AP of the WiFi network, and obtaining network name of the access password of the WiFi network, and sending a series of specific UDP packet through the WiFi network, wherein the length of the UDP packet carries the access network name and password;

[0016] 第二WiFi终端,用于接收所述特定的UDP数据包,解析所述特定的UDP数据包的长度信息以获得所述网络名称和接入密码,并基于所述网络名称和接入密码接入所述WiFi AP。 [0016] WiFi a second terminal for receiving said UDP data packet particular, information of a specific length parsing the UDP packet to obtain access to the network name and password, and access based on the network name and password access to the WiFi AP.

[0017] 根据本发明的一个实施例中,所述特定的UDP数据包包含有特定的标识头;所述第二WiFi终端接收UDP数据包,通过识别UDP数据包的标识头确定所述特定的UDP数据包。 [0017] In accordance with one embodiment of the present invention, the UDP data packet contains a specific identifier of a specific head; WiFi terminal receives the second UDP data packet, is determined by identifying the particular header of the UDP packet identification UDP packet.

[0018] 本发明为解决其技术问题还提出一种WiFi终端,包括: [0018] The present invention is to solve the technical problem also provides a WiFi terminal, comprising:

[0019] WiFi接入模块,用于接入WiFi AP的WiFi网络; [0019] WiFi access module for accessing a WiFi network WiFi AP;

[0020] WiFi接入信息配置模块,用于获取所述WiFi网络的网络名称和接入密码,并将所述网络名称和接入密码携带在一系列特定的UDP数据包的长度信息中; [0020] WiFi access information configuring module, configured to obtain access to the network name and password of the WiFi network, and the network name and the access password length information carried in a series of specific UDP data packet;

[0021] 发送模块,用于通过所述WiFi网络发送所述特定的UDP数据包。 [0021] transmitting means for transmitting the specific packet through the UDP data WiFi network.

[0022] 根据本发明的一个实施例中,所述WiFi接入信息配置模块在所述特定的UDP数据包中设置特定的标识头。 [0022] In accordance with one embodiment of the present invention, the module configuration information provided WiFi access specific identification of the head specific UDP packet.

[0023] 本发明为解决其技术问题还提出一种WiFi终端,包括: [0023] The present invention is to solve the technical problem also provides a WiFi terminal, comprising:

[0024] 接收模块,用于接收特定的UDP数据包; [0024] a receiving module configured to receive a specific UDP packet;

[0025] 解析模块,用于解析所述特定的UDP数据包的长度信息以获得网络名称和接入密码; [0025] The parsing module, for parsing the information of a specific length to obtain a UDP packet access network name and password;

[0026] WiFi接入模块,用于基于所述网络名称和接入密码接入WiFi AP。 [0026] WiFi access module for accessing a WiFi AP based on the network name and password for access.

[0027] 根据本发明的一个实施例中,所述接收模块通过识别UDP数据包的标识头确定所述特定的m)P数据包。 [0027] In accordance with one embodiment of the present invention, the receiving module determines that the particular identifying m by identifying UDP packet header) P packets.

[0028] 本发明通过智能手机等方便接入操作的第一WiFi终端连接到无线路由器上,将接入相应WiFi网络的网络名称和接入密码携带在其通过该WiFi网络发送的UDP数据包中的长度信息中,由待接入该WiFi网络的智能家电等不方面输入操作的第二WiFi终端通过接收并解析数据包的长度信息获得网络名称和接入密码,从而自动接入该WiFi网络,无需用户进行复杂的配置操作,而且兼容性好,操作简单,给用户带来最佳的用户体验。 [0028] The present invention is easy to access via the smart phone operating a first terminal to a wireless WiFi router, the network name and password for access to the appropriate access WiFi network is carried in UDP packets which it sends via the WiFi network the length information in the WiFi network to be accessed by the intelligent home appliances and other aspects without operation of the second input terminal via WiFi receives and analyzes the packet length information to obtain access to the network name and password to automatically access the WiFi network, without requiring the user to configure complex operations, and good compatibility, easy to operate, giving users the best user experience.

附图说明 BRIEF DESCRIPTION

[0029] 下面将结合附图及实施例对本发明作进一步说明,附图中: [0029] The accompanying drawings and the following embodiments of the present invention is further illustrated drawings in which:

[0030] 图1是本发明一个实施例的WiFi终端快速接入WiFi AP的系统的示意图; [0030] FIG. 1 is a schematic view of an embodiment of a WiFi terminal of the present invention, the quick access WiFi AP system;

[0031] 图2是本发明一个实施例的第一WiFi终端的逻辑框图; [0031] FIG. 2 is a logic diagram of a first embodiment of the WiFi terminal of the present invention;

[0032] 图3是本发明一个实施例的第二WiFi终端的逻辑框图; [0032] FIG. 3 is a logic diagram of a second embodiment of the WiFi terminal of the present invention;

[0033] 图4是本发明一个实施例的UDP数据包的结构示意图; [0033] FIG. 4 is a schematic structural diagram of a UDP packet according to an embodiment of the present invention;

[0034] 图5是本发明一个实施例的WiFi终端快速接入WiFi AP的方法的流程图。 [0034] FIG. 5 is a flowchart of a WiFi terminal WiFi AP to an embodiment of the present invention, the quick access.

具体实施方式 detailed description

[0035] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0035] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0036] 本发明提出一种WiFi终端快速接入WiFi AP的方法和系统,所基于的原理是:未接入目标路由器(AP)的WiFi终端不知道目标路由器的加密方法、密钥、信道,但是可以看到和接收已经接入目标AP的WiFi终端在这个WiFi网络内传输的所有数据包。 [0036] The present invention proposes a terminal quick access WiFi WiFi AP methods and systems, is based on the principle: No target access router (AP) of a WiFi terminal does not know the encryption method of the target router, the key channel, but we can see and have access to all packets received the target AP WiFi terminal transmissions in the WiFi network. 虽然未接入的WiFi终端不能将数据包内的数据内容解码出来,但是仍然可以获得很多关于数据包的信息,例如数据发送者和接收者的MAC地址、发送数据的长度。 Although not a WiFi terminal can not access the data in the packet contents decoded, but still a lot of information about the data packet, such as a MAC address of the sender and receiver of data, the transmission length of the data. 因此,本发明所采用的解决方案是:利用数据包的长度来携带需要传送的数据。 Thus, the solution used in the present invention are: the use of data packet length to carry the data to be transferred. 加密对数据的影响是恒定的,例如发送了η字节,那么加密后的数据是n+x字节。 Effect of the encrypted data is constant, for example, the η bytes transmitted, the encrypted data is byte n + x. 若要发送字母《(ASCII码为119)给未接入目标AP的WiFi终端,那么就需要发送一个长度为119的数据包,该WiFi终端收到的数据包可能的长度是219,减去加密的影响100,就得到了字母w的ASCII码。 To send a letter "(ASCII code 119) is not connected to a WiFi AP target terminal, then it needs to send a packet of length 119, the WiFi packet received by the terminal 219 may be a length, subtracting encryption It impacts 100, get the ASCII code of the letter w. 这样,便可以通过已接入目标AP的WiFi终端在该WiFi网络上发送一系列特殊的UDP数据包来向未接入目标AP的WiFi终端传递网络名称和接入密码,以便未接入的WiFi终端基于该网络名称和接入密码自动接入目标AP,无需复杂的用户操作。 Thus, it can be sent via a WiFi AP has access to the target terminal over the range of a WiFi network to a particular UDP packet transfer network name and password to access the target AP is not connected WiFi terminals, not connected to a WiFi terminal based on the network name and the access password automatically access the target AP, without complicated user operation.

[0037] 图1示出了本发明一个实施例的WiFi终端快速接入WiFi AP的系统100。 [0037] FIG. 1 shows an embodiment of the present invention, a WiFi terminal quick access to the WiFi AP 100 system. 如图1 所示,该系统100包括WiFi AP 110、第一WiFi终端120和第二WiFi终端130。 As shown in FIG. 1, the system 100 includes a WiFi AP 110, a first terminal 120 and a second WiFi WiFi terminal 130. 其中,WiFi AP 110用于提供WiFi网络。 Wherein, WiFi AP 110 for providing a WiFi network. 第一WiFi终端120用于接入WiFi AP 110的WiFi网络,获取该WiFi网络的网络名称(SSID)和接入密码,并通过该WiFi网络发送一系列特定的UDP 数据包,利用该Μ)Ρ数据包的长度携带WiFi网络的网络名称和接入密码。 The first terminal 120 WiFi access WiFi AP 110 for a WiFi network, acquires a network name of the WiFi network (SSID) and the access password, and transmit a specific set of UDP packets via the WiFi network, with which Μ) Ρ length of the packet carrying the network name and password for access to the WiFi network. 第二WiFi终端130用于接收第一WiFi终端120发送的特定的UDP数据包,解析该特定的UDP数据包的长度信息以获得网络名称和接入密码,并基于所述网络名称和接入密码接入WiFi AP 110。 The second terminal 130 for receiving a first WiFi WiFi terminal specific UDP packets sent 120, information of the specific length parsing UDP packet to obtain access to the network name and password, and access based on the network name and password access WiFi AP 110.

[0038] 第一WiFi终端120可以是例如智能手机、PAD等具有友好的用户输入界面的WiFi 终端设备,用户通过第一WiFi终端120可以以常规的方式很方便的接入WiFi AP 110。 [0038] The first terminal 120 may be a WiFi such as smart phones, like the PAD WiFi terminal device has a friendly user interface to input, by a first user terminal 120 may be WiFi conventional manner easy access WiFi AP 110. 图2示出了本发明一个实施例的第一WiFi终端120的逻辑框图。 Figure 2 shows a logic diagram of a first embodiment of a WiFi terminal 120 of the embodiment of the present invention. 如图2所示,第一WiFi终端120包括WiFi接入模块121、WiFi接入信息配置模块122和发送模块123。 2, the first terminal 120 includes a WiFi module 121 in FIG WiFi access, a WiFi access information configuring module 122 and a sending module 123. WiFi接入模块121用于接入WiFi AP 110的WiFi网络。 WiFi access module 121 for accessing a WiFi AP 110 WiFi network. 具体来说,WiFi接入模块121用于扫描并选择目标WiFi AP 110,基于用户输入的接入密码连接上WiFi AP 110,然后便可以使用WiFi AP 110提供的WiFi网络。 Specifically, WiFi access module 121 is used to scan and select the target WiFi AP 110, the WiFi AP 110 connected to the access based on user-entered password, and a WiFi network can use the WiFi AP 110 provides. WiFi接入信息配置模块122用于获取该WiFi网络的网络名称和接入密码,并产生一系列特定的UDP数据包,将网络名称和接入密码携带在该UDP数据包的长度信息中。 WiFi access module 122 for acquiring the configuration information of the network name and password for the WiFi access network, and to generate a specific set of UDP packets, the network name and password for access to the information carried in the length of the UDP data packet. 一个具体实施例中,WiFi接入信息配置模块122可以从WiFi接入模块121获得该WiFi网络的网络名称和接入密码信息。 In a particular embodiment, WiFi module 122 may access the configuration information 121 to obtain access to the network name and password information from the WiFi network is a WiFi access module. 发送模块123用于通过该WiFi网络发送WiFi 接入信息配置模块122产生的特定的UDP数据包。 Sending UDP module 123 for a particular data packet WiFi access information through the configuration module 122 generates a WiFi network.

[0039] 第二WiFi终端130可以是各种不方便用户输入操作的WiFi终端,例如各种智能家电产品,如WiFi智能插座、WiFi智能遥控器、WiFi智能LED灯等。 [0039] The second terminal 130 may be a WiFi inconvenient for a variety of user input operations WiFi terminal, such as various intelligent home appliances, such as smart socket WiFi, intelligent remote WiFi, WiFi intelligent LED lamp. 这些终端都没有输入设备,无法输入需要连接网络的网络名称和接入密码,因此无法以常规的方式快捷连接到WiFi AP 110上。 These terminals have no input device, can not enter the network name and password for access to the network to be connected, in a conventional manner and therefore can not be connected to the fast WiFi AP 110. 图3示出了本发明一个实施例的第二WiFi终端130的逻辑框图。 Figure 3 shows a logic diagram of a second embodiment of a WiFi terminal 130 of the embodiment of the present invention. 如图3所示,第二WiFi终端130包括接收模块131、解析模块132和WiFi接入模块133。 As shown, a second WiFi terminal 1303 includes a receiver module 131, a parsing module 132 and a WiFi access module 133. 接收模块131用于接收第一WiFi终端120通过WiFi AP 110提供的WiFi网络发送的一系列特定的UDP数据包。 A first receiving module 131 is configured to receive a particular set of WiFi terminal 120 UDP data packets sent through the WiFi network WiFi AP 110 provides. 解析模块132用于解析该特定的UDP数据包的长度信息以获得网络名称和接入密码。 Parsing module 132 to parse a particular length information of the UDP packet to obtain network access name and password. 解析模块132只对UDP数据包的长度感兴趣,并不解析UDP数据包内的数据内容。 Length interest UDP packet parsing module 132 pairs, does not parse the data content within UDP packets. WiFi接入模块133用于基于网络名称和接入密码接入对应的WiFi AP 110。 WiFi access module 133 based on the network name and the access password corresponding to the access WiFi AP 110. 具体来说,WiFi接入模块133根据网络名称连接目标WiFi AP 110,并用接入密码完成接入认证, 接入WiFi AP 110提供的WiFi网络。 Specifically, WiFi access module 133 is connected according to the network name of the target WiFi AP 110, and the completion of the access by the access authentication password, access to a WiFi network WiFi AP 110 provides.

[0040] 第二WiFi终端130通过以上方式接入WiFi AP 110,操作简单,无需用户进行复杂的配置操作,给用户带来最佳的用户体验。 [0040] The second WiFi access terminal 130 in the above manner WiFi AP 110, simple operation, without complicated user configuration operation, giving users the best user experience. 但是,第二WiFi终端130还会面临一个问题,就是第二WiFi终端130收到的UDP数据包中可能包含大量的其它终端发送的无用的数据包, 还有很多无线网络的管理数据包、QoS服务数据包等,影响第二WiFi终端130对第一WiFi 终端120发送的特定UDP数据包的辨识。 However, the second terminal 130 WiFi will face a problem that the UDP packet received by the second WiFi terminal 130 may contain a lot of useless data packets sent by other terminals, there are a lot of wireless network management packets, QoS other service data packet, the UDP packet affect specific identification WiFi second terminal 130 first transmits the WiFi terminal 120. 因此,本发明的一个优选实施例中,第二WiFi终端120的WiFi接入信息配置模块122对其产生的UDP数据包进行了特殊处理,在该特定的UDP数据包中设置特定的标识头,以便第二WiFi终端能够辨识这些特定的UDP数据包,如图4所示。 Thus, a preferred embodiment of the present invention, the second terminal WiFi access WiFi module 120 configuration information 122 has been specially designed to generate its UDP packet, provided the specific identification head specific UDP packet, so that the second terminal can recognize these particular WiFi UDP packets, as shown in FIG. 第二WiFi终端130的接收模块131在收到UDP数据包后,首先识别UDP数据包的标识头以确定该UDP数据包是否是第一WiFi终端发送的特定UDP数据包,然后再由解析模块132解析该UDP数据包的长度信息获取网络名称和接入密码。 A second receiving module 130 WiFi terminal 131 after receiving a UDP packet, header identification mark is first UDP data packet to determine whether the UDP packet is a specific UDP packet transmitted from a first terminal WiFi, then by the parsing module 132 parses the UDP data packet length information obtaining access network name and password.

[0041] 图5示出了本发明一个实施例的WiFi终端快速接入WiFi AP的方法500的流程图。 [0041] FIG. 5 shows a flowchart of a method embodiment of the WiFi terminal according to one embodiment of the present invention, the quick access WiFi AP 500. 如图5所示,该方法500包括: 5, the method 500 comprising:

[0042] 步骤S501中,由第一WiFi终端接入WiFi AP的WiFi网络,获取所述WiFi网络的网络名称和接入密码,并通过所述WiFi网络发送一系列特定的UDP数据包。 [0042] In step S501, the first terminal WiFi access WiFi AP of the WiFi network, and obtaining network name of the access password of the WiFi network, and sending a series of specific UDP packet through the WiFi network. 其中,所述UDP 数据包的长度携带了所述网络名称和接入密码。 Wherein the length of the UDP packet carries the access network name and password. 优选实施例中,所述UDP数据包还包含有特定的标识头。 In a preferred embodiment, the UDP data packet further includes a header specific identity.

[0043] 步骤S502中,由第二WiFi终端接收所述特定的UDP数据包,解析所述特定的UDP 数据包的长度信息以获得所述网络名称和接入密码,并基于所述网络名称和接入密码接入所述WiFi AP。 [0043] In step S502, received by the second terminal of the WiFi specific UDP data packet, said specific length parsing UDP packet of information to obtain access to the network name and password, and based on the network name and an access password to access the WiFi AP. 具体实施例中,第二WiFi终端接收到UDP数据包后,首先通过识别该UDP数据包的标识头来确定该UDP数据包是否为第一WiFi终端发送的特定UDP数据包,然后再解析该UDP数据包的长度信息获取网络名称和接入密码。 Specific embodiment, the second terminal after receiving the WiFi UDP packets, the UDP data packet is first determined whether a particular UDP packets sent by a first terminal WiFi identification mark up the UDP data packet, and then parses the UDP packet length information obtaining network access name and password.

[0044] 本发明的以上方法通过第一WiFi终端连接到无线路由器上,将接入相应WiFi网络的网络名称和接入密码携带在其通过该WiFi网络发送的UDP数据包的长度信息中,由待接入该WiFi网络的第二WiFi终端通过接收并解析数据包的长度信息获得网络名称和接入密码,从而自动接入该WiFi网络,无需用户进行复杂的配置操作,而且兼容性好,操作简单,给用户带来最佳的用户体验。 [0044] The method of the present invention is connected by a first terminal to a wireless WiFi router, the access network name and password for access to the WiFi network corresponding length information carried in UDP packets which it sends via the WiFi network, the the WiFi network to be accessed a second WiFi terminal by receiving and parsing the data packet length information to obtain access to the network name and password, access to the WiFi network to automatically, without the user configure complicated operation, and good compatibility, operation simple, giving users the best user experience. 因而本发明尤其适用于那些没有输入设备的需要连接无线路由器的WiFi终端。 Accordingly, the present invention is particularly useful for those who need to connect to a wireless router WiFi terminal does not input device.

[0045] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0045] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present within the scope of the invention.

Claims (8)

1. 一种WiFi终端快速接入WiFi AP的方法,其特征在于,包括如下步骤: 51、 由第一WiFi终端接入WiFi AP的WiFi网络,获取所述WiFi网络的网络名称和接入密码,并通过所述WiFi网络发送一系列特定的UDP数据包,其中,所述UDP数据包的长度携带了所述网络名称和接入密码; 52、 由第二WiFi终端接收所述特定的UDP数据包,解析所述特定的UDP数据包的长度信息以获得所述网络名称和接入密码,并基于所述网络名称和接入密码接入所述WiFi AP。 A method of quick access terminal WiFi WiFi AP, the method comprising the steps of: 51, by a first terminal WiFi access WiFi AP of the WiFi network, and obtaining network name of the access password of the WiFi network, and transmitting a specific set of UDP packets via the WiFi network, wherein the length of the UDP packet carries the access network name and password; 52, a second terminal receiving the WiFi specific UDP packet , information of a specific length parsing the UDP packet to obtain access to the network name and password, and access based on the network name and password to access the WiFi AP.
2. 根据权利要求1所述的方法,其特征在于,所述特定的UDP数据包包含有特定的标识头; 所述步骤S2进一步包括:由第二WiFi终端接收UDP数据包,通过识别UDP数据包的标识头确定所述特定的Μ)Ρ数据包。 2. The method according to claim 1, wherein said specific UDP data packet contains a specific header identifier; S2 further comprising the step of: receiving a UDP packet by the second terminal WiFi, UDP by identifying data determining the packet header identifies the specific Μ) Ρ packet.
3. -种WiFi终端快速接入WiFi AP的系统,其特征在于,包括: WiFi AP,用于提供WiFi网络; 第一WiFi终端,用于接入所述WiFi AP的WiFi网络,获取所述WiFi网络的网络名称和接入密码,并通过所述WiFi网络发送一系列特定的UDP数据包,其中,所述UDP数据包的长度携带了所述网络名称和接入密码; 第二WiFi终端,用于接收所述特定的UDP数据包,解析所述特定的UDP数据包的长度信息以获得所述网络名称和接入密码,并基于所述网络名称和接入密码接入所述WiFi AP。 3 - Species WiFi AP WiFi terminal quick access system, characterized by comprising: WiFi AP, for providing a WiFi network; WiFi a first terminal for accessing the WiFi AP of the WiFi network, obtaining the WiFi network name and password access network, the WiFi network and sent through a series of specific UDP packet, wherein the length of the UDP packet carries the access network name and password; WiFi a second terminal, with to receive the UDP packet particular, information of a specific length parsing the UDP packet to obtain access to the network name and password, and access to the WiFi AP based on the network name and password for access.
4. 根据权利要求3所述的系统,其特征在于,所述特定的UDP数据包包含有特定的标识头;所述第二WiFi终端接收UDP数据包,通过识别UDP数据包的标识头确定所述特定的UDP数据包。 4. The system of claim 3, wherein said specific UDP data packet contains a specific header identifier; WiFi terminal receives the second UDP data packet, is determined by identifying the UDP packet header identifying said specific UDP packet.
5. -种WiFi终端,其特征在于,包括: WiFi接入模块,用于接入WiFi AP的WiFi网络; WiFi接入信息配置模块,用于获取所述WiFi网络的网络名称和接入密码,并将所述网络名称和接入密码携带在一系列特定的Μ)Ρ数据包的长度信息中; 发送模块,用于通过所述WiFi网络发送所述特定的UDP数据包。 5. - species WiFi terminal, comprising: an access module WiFi, WiFi AP for accessing a WiFi network; WiFi access information configuring module, configured to obtain access to the network name and password of the WiFi network, the network name and password and access the information carried in a series of specified length Μ) Ρ data packet; transmitting means for transmitting the specific packet through the UDP data WiFi network.
6. 根据权利要求5所述的WiFi终端,其特征在于,所述WiFi接入信息配置模块在所述特定的UDP数据包中设置特定的标识头。 WiFi terminal according to claim 5, wherein the set of WiFi access module specific configuration information identifying said head specific UDP packet.
7. -种WiFi终端,其特征在于,包括: 接收模块,用于接收特定的UDP数据包; 解析模块,用于解析所述特定的UDP数据包的长度信息以获得网络名称和接入密码; WiFi接入模块,用于基于所述网络名称和接入密码接入WiFi AP。 7. - species WiFi terminal, comprising: a receiving module configured to receive a specific UDP packet; parsing module, for parsing the information of the specific length UDP packet to obtain access to the network name and password; WiFi access module, based on the network name and the access password access WiFi AP.
8. 根据权利要求7所述的WiFi终端,其特征在于,所述接收模块通过识别UDP数据包的标识头确定所述特定的UDP数据包。 WiFi terminal according to claim 7, wherein, the receiving module determines the specific UDP packet header is identified by identifying UDP packet.
CN 201410379683 2014-08-04 2014-08-04 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP CN104159219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410379683 CN104159219A (en) 2014-08-04 2014-08-04 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410379683 CN104159219A (en) 2014-08-04 2014-08-04 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Publications (1)

Publication Number Publication Date
CN104159219A true true CN104159219A (en) 2014-11-19

Family

ID=51884605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410379683 CN104159219A (en) 2014-08-04 2014-08-04 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Country Status (1)

Country Link
CN (1) CN104159219A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394577A (en) * 2014-12-09 2015-03-04 上海斐讯数据通信技术有限公司 Wireless network access method of wireless route equipment and electronic equipment
CN104540237A (en) * 2014-11-28 2015-04-22 普联技术有限公司 Method and system for connecting intelligent device to network
CN104581647A (en) * 2015-01-30 2015-04-29 青岛海尔智能家电科技有限公司 Network access method and device of intelligent equipment
CN104678846A (en) * 2015-01-27 2015-06-03 宁波瑞明电器有限公司 Wireless control method
CN105099839A (en) * 2015-07-20 2015-11-25 江苏惠通集团有限责任公司 Intelligent socket and networking method and system, wireless gateway and pairing method
CN105142135A (en) * 2015-08-18 2015-12-09 四川长虹电器股份有限公司 Method for rapidly configuring intelligent device network connection based on quick connection protocol
CN105228152A (en) * 2015-10-21 2016-01-06 珠海市杰理科技有限公司 WIFI (Wireless Fidelity) network device and WIFI network access method
WO2016183914A1 (en) * 2015-05-18 2016-11-24 乐鑫信息科技(上海)有限公司 Compatibility configuration method and system for internet of things device
WO2017054355A1 (en) * 2015-09-30 2017-04-06 小米科技有限责任公司 Wireless network access method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030210126A1 (en) * 2002-04-18 2003-11-13 Ritsuko Kanazawa Control system and method for controlling system
CN103327644A (en) * 2013-05-24 2013-09-25 华为技术有限公司 Method and equipment for wireless connection
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103888908A (en) * 2014-02-26 2014-06-25 北京信惠宝科技有限公司 Method and system for transmitting data to receiving terminal not logging in WI-FI access point

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030210126A1 (en) * 2002-04-18 2003-11-13 Ritsuko Kanazawa Control system and method for controlling system
CN103327644A (en) * 2013-05-24 2013-09-25 华为技术有限公司 Method and equipment for wireless connection
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103888908A (en) * 2014-02-26 2014-06-25 北京信惠宝科技有限公司 Method and system for transmitting data to receiving terminal not logging in WI-FI access point

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540237A (en) * 2014-11-28 2015-04-22 普联技术有限公司 Method and system for connecting intelligent device to network
CN104394577A (en) * 2014-12-09 2015-03-04 上海斐讯数据通信技术有限公司 Wireless network access method of wireless route equipment and electronic equipment
CN104678846A (en) * 2015-01-27 2015-06-03 宁波瑞明电器有限公司 Wireless control method
CN104581647A (en) * 2015-01-30 2015-04-29 青岛海尔智能家电科技有限公司 Network access method and device of intelligent equipment
WO2016183914A1 (en) * 2015-05-18 2016-11-24 乐鑫信息科技(上海)有限公司 Compatibility configuration method and system for internet of things device
CN105099839A (en) * 2015-07-20 2015-11-25 江苏惠通集团有限责任公司 Intelligent socket and networking method and system, wireless gateway and pairing method
CN105142135A (en) * 2015-08-18 2015-12-09 四川长虹电器股份有限公司 Method for rapidly configuring intelligent device network connection based on quick connection protocol
WO2017054355A1 (en) * 2015-09-30 2017-04-06 小米科技有限责任公司 Wireless network access method, device and system
CN105228152A (en) * 2015-10-21 2016-01-06 珠海市杰理科技有限公司 WIFI (Wireless Fidelity) network device and WIFI network access method

Similar Documents

Publication Publication Date Title
US20080175187A1 (en) Automatic wireless network device configuration
US20130178163A1 (en) Systems for Facilitating Wireless Communication and Related Methods
WO2013100912A1 (en) Systems and methods for cross-layer secure connection set up
US20090271709A1 (en) Method and apparatus for setting up wireless lan of device
CN101772199A (en) Method and device for establishing D2D network
CN101668290A (en) Method and device for configuring wireless local area network (WLAN)
US20110039494A1 (en) System, method and apparatus for wireless network connection using near field communication
US20140226817A1 (en) Apparatus and method to register wi-fi clients on a wi-fi network
CN103369707A (en) The method of establishing a wireless network connection and terminal equipment
CN103458399A (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103068066A (en) Intelligent mobile communication terminal and wireless network access method and system thereof
CN103825788A (en) WIFI network configuration method and system
CN1705245A (en) Authentication and connection method between mobile phones having bluetooth module
CN103281752A (en) WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN103281327A (en) Method, system and cloud server for multi-device safe logging
CN101257326A (en) Method and system for matching pair of wireless transmitting kit and wireless receiving kit
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
CN103841626A (en) Internet of Things wireless terminal, configuration method thereof and mobile terminal
CN104010327A (en) Method and system for quickly having access to WIFI wireless network
CN103379477A (en) Method for network configuration of wireless device, apparatus, wireless device and terminal
CN103281759A (en) WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
JP2010213334A (en) Communication device, communicating method and communication system
JP2006086936A (en) Radio network system and communication method, communication apparatus, radio terminal, communication control program and terminal control program
CN101616017A (en) Method, equipment and system for configuring network application equipment
CN102843686A (en) Wireless network system and portable electronic device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination