[go: up one dir, main page]

CN105704679A - Method for quickly connecting AP and SD with confirming function under uncorrelated WIFI environment - Google Patents

Method for quickly connecting AP and SD with confirming function under uncorrelated WIFI environment Download PDF

Info

Publication number
CN105704679A
CN105704679A CN201610287907.XA CN201610287907A CN105704679A CN 105704679 A CN105704679 A CN 105704679A CN 201610287907 A CN201610287907 A CN 201610287907A CN 105704679 A CN105704679 A CN 105704679A
Authority
CN
China
Prior art keywords
broadcast frame
broadcast
information
embedded
wifi environment
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.)
Granted
Application number
CN201610287907.XA
Other languages
Chinese (zh)
Other versions
CN105704679B (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.)
Shenzhen Fenglian Technology Co ltd
Original Assignee
SHENZHEN FENGLIAN TECHNOLOGY 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 SHENZHEN FENGLIAN TECHNOLOGY Co Ltd filed Critical SHENZHEN FENGLIAN TECHNOLOGY Co Ltd
Priority to CN201610287907.XA priority Critical patent/CN105704679B/en
Publication of CN105704679A publication Critical patent/CN105704679A/en
Application granted granted Critical
Publication of CN105704679B publication Critical patent/CN105704679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种在无关联的WIFI环境下AP和有确认功能的SD快速连接的方法,包括:所述AP提取自身的设备信息;并将提取的设备信息加密为数据流;AP将数据流以内嵌数据的形式嵌入到至少一个广播帧中;然后将所有内嵌数据的广播帧按照顺序周期性地广播;根据需要通过确认功能启动SD,所述SD周期性地切换工作信道,捕捉广播帧;然后对广播帧进行解析,提取其内嵌的数据流信息,获得所述AP的设备信息;最后SD根据获得的AP设备信息发送链路认证请求;AP与SD进行关联,完成快速连接。本发明利用了AP主动广播加密的自身设备信息为SD探知来AP建立连接,方便快捷,并通过确认功能在需要时开启或关闭SD,降低在智能组网过程中SD误组网的概率。

The invention discloses a method for fast connection between an AP and an SD with a confirmation function in an unrelated WIFI environment, comprising: the AP extracts its own device information; encrypts the extracted device information into a data stream; the AP encrypts the data The stream is embedded in at least one broadcast frame in the form of embedded data; then all broadcast frames with embedded data are broadcast periodically in order; SD is started through the confirmation function as required, and the SD periodically switches the working channel to capture the broadcast frame; then analyze the broadcast frame, extract its embedded data flow information, and obtain the AP device information; finally, the SD sends a link authentication request according to the obtained AP device information; the AP associates with the SD to complete the fast connection. The present invention utilizes the self-device information actively broadcasted and encrypted by the AP to detect the SD to establish a connection to the AP, which is convenient and quick, and enables or disables the SD when needed through the confirmation function, reducing the probability of the SD mistakenly forming a network in the process of intelligent networking.

Description

一种在无关联的WIFI环境下AP和有确认功能的SD快速连接的方法A method for quick connection between AP and SD with confirmation function in unassociated WIFI environment

技术领域 technical field

本发明涉及无线通信技术领域,具体地讲,是涉及一种在无关联的WIFI环境下AP和有确认功能的SD快速连接的方法。 The invention relates to the technical field of wireless communication, in particular to a method for fast connection between an AP and an SD with a confirmation function in an unrelated WIFI environment.

背景技术 Background technique

随着互联网不断兴起,移动需求的日益凸显,无线互联的需求也越发强烈。在现有的无线通信技术中,蓝牙通信技术覆盖范围小,红外线通信技术受到环境影响大穿墙效果不理想。而WIFI通信技术由于应用广泛,逐渐被企业、家庭接受。在传统的基于标准的IEEE802.11定义了无线网络的规范:一个无线点作为AP(AccessPoint)模式,其他的无线点作为STA(STAtion)模式,通过STA关联到AP后,STA才能与AP之间进行通信,STA与STA之间的通信也依靠AP进行中转,类似移动通信的基站与手机的模式。在没有进行认证关联并关联成功之前,STA与AP、STA与STA这些设备之间是不能够进行数据通信的。在通常的网络通信中STA和AP提供认证、解除认证、数据加密、数据传输的服务,这种设计方案的安全性很高,在正常情况下,STA和AP建立连接的过程如图1所示,即是人为地控制STA以主动或被动的方式扫描周围的AP,获得周围AP的信息,然后STA通过手动或自动地输入key,进行链路认证,建立与AP的关联。 With the continuous rise of the Internet and the increasingly prominent mobile demand, the demand for wireless interconnection is also becoming stronger. Among the existing wireless communication technologies, the bluetooth communication technology has a small coverage area, and the infrared communication technology is greatly affected by the environment, and the effect of penetrating walls is not ideal. Due to its wide application, WIFI communication technology is gradually accepted by enterprises and families. In the traditional standard-based IEEE802.11, the wireless network specification is defined: one wireless point is used as the AP (AccessPoint) mode, and other wireless points are used as the STA (STAtion) mode. After the STA is associated with the AP, the STA can communicate with the AP. For communication, the communication between STA and STA also relies on AP for relay, similar to the mode of mobile communication base station and mobile phone. Before the authentication and association is performed and the association is successful, data communication between STA and AP, STA and STA cannot be performed. In normal network communication, STA and AP provide authentication, deauthentication, data encryption, and data transmission services. This design scheme has high security. Under normal circumstances, the process of establishing a connection between STA and AP is shown in Figure 1. , that is to artificially control the STA to scan the surrounding APs in an active or passive manner to obtain the information of the surrounding APs, and then the STA manually or automatically enters the key to perform link authentication and establish an association with the AP.

但是针对某些的特殊智能设备,如一些没有输入设备、没有串口、没有触摸屏的智能设备SD(SmartDevice),想要与AP进行关联通信,现有的这种技术方案就无能为力了。另一方面,用户在使用绝对安全可靠的SD设备连接AP时,希望获得一种比现有技术方案更为快速高效的连接方案,而在目前的市场上暂时没有合理快速高效的解决方案。而且在智能家居的组网应用中,通常可能存在很多SD,就会导致一些误组网的情况发生,但这并不是设计者所希望看到的,因此这也是一个需要解决的问题。 But for some special smart devices, such as some smart devices SD (SmartDevice) without input devices, serial ports, and touch screens, if they want to communicate with APs, the existing technical solutions are helpless. On the other hand, when users use absolutely safe and reliable SD devices to connect to APs, they hope to obtain a faster and more efficient connection solution than the existing technical solutions, but there is no reasonable, fast and efficient solution in the current market. Moreover, in the networking application of smart home, there may usually be many SDs, which will lead to some false networking situations, but this is not what the designer wants to see, so this is also a problem that needs to be solved.

发明内容 Contents of the invention

为克服现有技术中的上述问题,本发明提供一种构思新颖、设计巧妙、安全性和可靠性高的在无关联的WIFI环境下AP和有确认功能的SD快速连接的方法。 In order to overcome the above-mentioned problems in the prior art, the present invention provides a method for quick connection between AP and SD with confirmation function in an unrelated WIFI environment with novel concept, ingenious design, high security and reliability.

为了实现上述目的,本发明采用的技术方案如下: In order to achieve the above object, the technical scheme adopted in the present invention is as follows:

一种在无关联的WIFI环境下AP和有确认功能的SD快速连接的方法,包括如下步骤: A method for fast connection between an AP and an SD with a confirmation function in an unassociated WIFI environment, comprising the following steps:

(S1)所述AP提取自身的至少包含服务集标识SSID和密钥Key的设备信息; (S1) The AP extracts its own device information including at least the service set identifier SSID and the key Key;

(S2)所述AP将提取的设备信息加密为包含长度信息、数据主体和CRC校验信息的数据流; (S2) The AP encrypts the extracted device information into a data stream including length information, data body and CRC check information;

(S3)所述AP将加密的数据流以内嵌数据的形式嵌入到至少一个广播帧中; (S3) The AP embeds the encrypted data stream into at least one broadcast frame in the form of embedded data;

(S4)所述AP将所有内嵌数据的广播帧在当前信道按照顺序周期性地广播; (S4) The AP periodically broadcasts all broadcast frames with embedded data on the current channel in order;

(S5)用户通过确认功能启动SD快速连接; (S5) The user starts the SD quick connection through the confirmation function;

(S6)将所述SD配置为监听模式持续一段设定时间,在该模式下SD周期性地切换工作信道,捕捉当前信道内的广播帧;若在该设定时间内捕捉到广播帧,则进行下一步,否则关闭所述SD; (S6) Configure the SD to monitor mode for a set period of time. In this mode, the SD periodically switches working channels to capture broadcast frames in the current channel; if a broadcast frame is captured within the set time, then Proceed to the next step, otherwise close said SD;

(S7)所述SD对捕捉到的广播帧进行解析,提取其内嵌的数据流信息,获得所述AP的设备信息; (S7) The SD parses the captured broadcast frame, extracts its embedded data flow information, and obtains the device information of the AP;

(S8)所述SD根据获得的AP设备信息向所述AP定向发送链路认证请求; (S8) The SD sends a link authentication request to the AP according to the obtained AP device information;

(S9)所述AP接收到定向发送的链路认证请求后,与所述SD进行关联,完成快速连接。 (S9) After receiving the directed link authentication request, the AP associates with the SD to complete the quick connection.

进一步地,所述AP的设备信息还包括带宽信息BANDWIDTH、认证方式信息AUTHENTICATION、加解密方式信息ENCRYPTION、信道信息CHANNEL和可选信息OPTION。 Further, the device information of the AP also includes bandwidth information BANDWIDTH, authentication mode information AUTHENTICATION, encryption and decryption mode information ENCRYPTION, channel information CHANNEL and optional information OPTION.

具体地,所述AP的设备信息加密后储存于所述数据流的数据主体中。 Specifically, the device information of the AP is encrypted and stored in the data body of the data stream.

为了保证数据的安全性,所述步骤(S3)中,当所述数据流嵌入到多个广播帧构成一组待发送的广播帧时,对这些广播帧的格式、顺序以及嵌入方式进行约定; In order to ensure data security, in the step (S3), when the data stream is embedded into a plurality of broadcast frames to form a set of broadcast frames to be sent, the format, order and embedding method of these broadcast frames are agreed upon;

相应地,在所述步骤(S7)中,所述SD根据约定从捕捉到的整组广播帧中提取对应的数据流信息。其中具体的约定方式可以采用现有的编码方式执行,本发明不再赘述。 Correspondingly, in the step (S7), the SD extracts the corresponding data flow information from the whole group of captured broadcast frames according to the agreement. The specific agreed manner can be implemented by using the existing encoding method, which will not be repeated in the present invention.

为了便于识别,当所述数据流嵌入到多个广播帧时,在连续一定数目的广播帧后插入连续的3个长度之差固定的广播识别帧。 To facilitate identification, when the data stream is embedded into multiple broadcast frames, three consecutive broadcast identification frames with fixed length differences are inserted after a certain number of consecutive broadcast frames.

相应地,所述步骤(S6)中SD在捕捉到当前信道内的广播帧后,还对捕捉到的连续多个广播帧进行验证,判断这些连续的广播帧中是否存在广播识别帧,若是,则所述SD停留在当前信道接收完整组广播帧,否则所述SD在一设定时间后将工作信道切换至相邻信道。验证的方法即是检验这些连续的广播帧中任意3个连续的广播帧的长度之差是否符合广播识别帧之间设定的固定差值。 Correspondingly, in the step (S6), after the SD captures the broadcast frames in the current channel, it also verifies the captured multiple continuous broadcast frames, and judges whether there are broadcast identification frames in these continuous broadcast frames, and if so, Then the SD stays on the current channel to receive the complete set of broadcast frames, otherwise the SD switches the working channel to an adjacent channel after a set time. The verification method is to check whether the length difference of any three consecutive broadcast frames in these consecutive broadcast frames conforms to the fixed difference set between the broadcast identification frames.

进一步地,为了保证SD接收内容的准确性,所述步骤(S7)中SD对捕捉的广播帧进行解析后,通过验证提取到的数据流信息内的长度信息判断一组广播帧是否接收完整,若不完整,则丢弃所接收到的广播帧,并重新接收。 Further, in order to ensure the accuracy of the content received by the SD, after the SD parses the captured broadcast frame in the step (S7), it judges whether a group of broadcast frames are received completely by verifying the length information in the extracted data stream information, If it is incomplete, the received broadcast frame is discarded and received again.

并且,当所述一组广播帧完整接收时,通过验证提取到的数据流信息内的CRC校验信息判断该组广播帧的内容是否完整,若不完整,则丢弃所接收到的广播帧,并重新接收,若完整则执行下一步。 And, when the group of broadcast frames is completely received, it is judged whether the content of the group of broadcast frames is complete by verifying the CRC check information in the extracted data stream information, and if not complete, discarding the received broadcast frames, And receive it again, if it is complete, go to the next step.

进一步地,为了降低消耗,所述步骤(S9)中,在所述AP与SD关联后,AP中止广播帧的广播。当有多个SD需要进行快速连接时,则在所有SD都与AP关联后AP才中止广播。 Further, in order to reduce consumption, in the step (S9), after the AP is associated with the SD, the AP stops broadcasting the broadcast frame. When there are multiple SDs that need to be connected quickly, the AP stops broadcasting only after all SDs are associated with the AP.

相应地,在所述SD与AP关联后,所述SD切换为WIFI传输模式,并在与AP断开连接后,关闭SD。以此避免SD一直监听信道广播产生多余的消耗,并且也保证了连接的稳定性。 Correspondingly, after the SD is associated with the AP, the SD is switched to the WIFI transmission mode, and after being disconnected from the AP, the SD is closed. In this way, it avoids unnecessary consumption caused by SD monitoring channel broadcast all the time, and also ensures the stability of the connection.

与现有技术相比,本发明具有以下有益效果: Compared with the prior art, the present invention has the following beneficial effects:

本发明构思巧妙,利用了AP主动广播加密的自身设备信息为SD探知并以此信息与AP建立连接,方便快捷,在整个过程中SD设备不需要任何输入信息,特别方便了没有串口没有触摸屏等没有输入装置的智能设备进行与AP的关联,并且通过确认功能在需要时开启或关闭SD,一方面可以节约SD能量消耗,更重要的是可以在智能组网过程中降低SD误组网的概率,新颖独特,具有广泛的应用前景,适合推广应用。 The invention is cleverly conceived. It utilizes the self-device information actively broadcasted and encrypted by the AP to be detected by the SD and establishes a connection with the AP based on this information. A smart device without an input device associates with the AP, and through the confirmation function, the SD can be turned on or off when needed. On the one hand, it can save energy consumption of the SD, and more importantly, it can reduce the probability of wrong networking of the SD in the process of intelligent networking. , novel and unique, has broad application prospects, and is suitable for popularization and application.

本发明旨在简化现有技术中SD和AP建立连接的过程,尤其是其中的扫描过程和链路认证过程:现有技术中是在SD先扫描到AP的SSID后再进行手动或自动输入对应的Key,在验证成功后,二者建立连接;本发明则是在通过对AP进行处理,将AP的设备信息加密封装嵌入广播帧内,然后广播出去,在可控情况下对SD接收到广播帧后能够从中提取到关于AP的这些关键信息,并通过这些关键信息与AP直接进行关联,简化了SD的接入过程,缩短了接入时间,提高了接入效率,而且在整个接入过程中,SD设备既不需要已知AP的Key值,更不需要输入AP的Key值,方便可靠。 The present invention aims to simplify the process of establishing a connection between SD and AP in the prior art, especially the scanning process and link authentication process: in the prior art, the SD first scans the SSID of the AP and then performs manual or automatic input corresponding After the verification is successful, the two establish a connection; the present invention encrypts and encapsulates the device information of the AP and embeds it in the broadcast frame by processing the AP, and then broadcasts it, and receives the broadcast to the SD under controllable conditions. The key information about the AP can be extracted after the frame, and the key information can be directly associated with the AP, which simplifies the SD access process, shortens the access time, and improves the access efficiency. Among them, the SD device does not need to know the key value of the AP, nor does it need to input the key value of the AP, which is convenient and reliable.

附图说明 Description of drawings

图1为现有技术中AP和SD建立连接的流程示意图。 Fig. 1 is a schematic flow chart of establishing a connection between an AP and an SD in the prior art.

图2为本发明的流程示意图。 Fig. 2 is a schematic flow chart of the present invention.

图3为本发明中数据流结构和设备信息组成示意图。 Fig. 3 is a schematic diagram of the structure of the data stream and the composition of device information in the present invention.

图4为本发明中广播帧的封装示意图。 Fig. 4 is a schematic diagram of encapsulation of broadcast frames in the present invention.

具体实施方式 detailed description

下面结合附图和实施例对本发明作进一步说明,本发明的实施方式包括但不限于下列实施例。 The present invention will be further described below with reference to the accompanying drawings and examples, and the embodiments of the present invention include but not limited to the following examples.

实施例 Example

如图2至图4所示,该在无关联的WIFI环境下AP和有确认功能的SD快速连接的方法,主要是为了解决现有技术中没有串口、没有触摸屏等没有输入装置的智能设备SD无法直接与AP建立连接的问题,以及加快安全可靠的SD设备与AP间的连接效率,可以适应各种复杂的无线网络通信环境,包括AD-Hoc网络、BSS网络、ESS网络;并且本方法是基于802.11标准设计,可以扩展兼容802.11协议族。 As shown in Figure 2 to Figure 4, the method of fast connection between AP and SD with confirmation function in an unrelated WIFI environment is mainly to solve the problem of smart device SD with no serial port, no touch screen and no input device in the prior art. The problem of being unable to directly establish a connection with the AP, and speeding up the connection efficiency between the safe and reliable SD device and the AP, can adapt to various complex wireless network communication environments, including AD-Hoc networks, BSS networks, and ESS networks; and this method is Based on the 802.11 standard design, it can be extended and compatible with the 802.11 protocol family.

该方法的实现包括如下步骤: The realization of this method comprises the following steps:

(S1)所述AP提取自身的至少包含服务集标识SSID和密钥Key的设备信息;具体地,所述AP的设备信息还包括带宽信息BANDWIDTH、认证方式信息AUTHENTICATION、加解密方式信息ENCRYPTION、信道信息CHANNEL和可选信息OPTION。 (S1) The AP extracts its own device information including at least the service set identifier SSID and key Key; specifically, the AP device information also includes bandwidth information BANDWIDTH, authentication mode information AUTHENTICATION, encryption and decryption mode information ENCRYPTION, channel Information CHANNEL and optional information OPTION.

(S2)所述AP将提取的设备信息加密为包含长度信息、数据主体和CRC校验信息的数据流;具体地,所述AP的设备信息加密后储存于该数据主体中。 (S2) The AP encrypts the extracted device information into a data stream including length information, data body and CRC check information; specifically, the AP's device information is encrypted and stored in the data body.

(S3)所述AP将加密的数据流以内嵌数据的形式嵌入到至少一个广播帧中;当嵌入一个广播帧时,需要对数据流的大小、嵌入广播帧的位置进行提前约定;当嵌入到多个广播帧构成一组广播帧时,则对数据流的整体大小无特别要求,但为了保证数据的安全性,需要对这些广播帧的格式、顺序以及嵌入方式进行约定。其中具体的约定方式可以采用现有的编码方式执行,本发明不再赘述。 (S3) The AP embeds the encrypted data stream into at least one broadcast frame in the form of embedded data; when embedding a broadcast frame, it is necessary to agree in advance on the size of the data stream and the position where the broadcast frame is embedded; When multiple broadcast frames constitute a group of broadcast frames, there is no special requirement on the overall size of the data stream, but in order to ensure data security, the format, order and embedding method of these broadcast frames need to be agreed. The specific agreed manner can be implemented by using the existing encoding method, which will not be repeated in the present invention.

为了便于识别,当所述数据流嵌入到多个广播帧时,在连续一定数目的广播帧后插入连续的3个长度之差固定的广播识别帧。 To facilitate identification, when the data stream is embedded into multiple broadcast frames, three consecutive broadcast identification frames with fixed length differences are inserted after a certain number of consecutive broadcast frames.

(S4)所述AP将所有内嵌数据的广播帧在当前信道按照顺序周期性地广播。 (S4) The AP periodically broadcasts all broadcast frames with embedded data on the current channel in sequence.

(S5)用户通过确认功能启动SD快速连接; (S5) The user starts the SD quick connection through the confirmation function;

(S6)将所述SD配置为监听模式持续一段设定时间,在该模式下SD周期性地切换工作信道,捕捉当前信道内的广播帧;若在该设定时间内捕捉到广播帧,则进行下一步,否则关闭所述SD。在SD在捕捉到当前信道内的广播帧后,还对捕捉到的连续多个广播帧进行验证,判断这些连续的广播帧中是否存在广播识别帧,若是,则所述SD停留在当前信道接收完整组广播帧,否则所述SD在一设定时间后将工作信道切换至相邻信道。验证的方法即是检验这些连续的广播帧中任意3个连续的广播帧的长度之差是否符合广播识别帧之间设定的固定差值。 (S6) Configure the SD to monitor mode for a set period of time. In this mode, the SD periodically switches working channels to capture broadcast frames in the current channel; if a broadcast frame is captured within the set time, then Proceed to the next step, otherwise close said SD. After the SD captures the broadcast frames in the current channel, it also verifies the captured continuous broadcast frames, and judges whether there are broadcast identification frames in these continuous broadcast frames. If so, the SD stays in the current channel to receive A complete set of broadcast frames, otherwise the SD switches the working channel to an adjacent channel after a set time. The verification method is to check whether the length difference of any three consecutive broadcast frames in these consecutive broadcast frames conforms to the fixed difference set between the broadcast identification frames.

(S7)所述SD对捕捉到的广播帧进行解析,提取其内嵌的数据流信息,获得所述AP的设备信息;所述SD根据约定从捕捉到的整组广播帧中提取对应的数据流信息。 (S7) The SD parses the captured broadcast frame, extracts its embedded data flow information, and obtains the device information of the AP; the SD extracts the corresponding data from the entire group of captured broadcast frames according to the agreement stream information.

为了保证SD接收内容的准确性,所述SD对捕捉的广播帧进行解析后,通过验证提取到的数据流信息内的长度信息判断一组广播帧是否接收完整,若不完整,则丢弃所接收到的广播帧,并重新接收。 In order to ensure the accuracy of the content received by the SD, after the SD parses the captured broadcast frames, it judges whether a group of broadcast frames are received completely by verifying the length information in the extracted data flow information, and discards the received broadcast frames if they are not complete. Received broadcast frames and receive them again.

并且,当所述一组广播帧完整接收时,通过验证提取到的数据流信息内的CRC校验信息判断该组广播帧的内容是否完整,若不完整,则丢弃所接收到的广播帧,并重新接收,若完整则执行下一步。 And, when the group of broadcast frames is completely received, it is judged whether the content of the group of broadcast frames is complete by verifying the CRC check information in the extracted data stream information, and if not complete, discarding the received broadcast frames, And receive it again, if it is complete, go to the next step.

(S8)所述SD根据获得的AP设备信息向所述AP定向发送链路认证请求。 (S8) The SD sends a link authentication request to the AP according to the obtained AP device information.

(S9)所述AP接收到定向发送的链路认证请求后,与所述SD进行关联,完成快速连接。为了降低消耗,在所述AP与SD关联后,AP中止广播帧的广播。当有多个SD需要进行快速连接时,则在所有SD都与AP关联后AP才中止广播。相应地,在所述SD与AP关联后,所述SD切换为WIFI传输模式,并在与AP断开连接后,关闭SD。以此避免SD一直监听信道广播产生多余的消耗,并且也保证了连接的稳定性。 (S9) After receiving the directed link authentication request, the AP associates with the SD to complete the quick connection. In order to reduce consumption, after the AP associates with the SD, the AP stops broadcasting the broadcast frame. When there are multiple SDs that need to be connected quickly, the AP stops broadcasting only after all SDs are associated with the AP. Correspondingly, after the SD is associated with the AP, the SD is switched to the WIFI transmission mode, and after being disconnected from the AP, the SD is closed. In this way, it avoids unnecessary consumption caused by SD monitoring channel broadcast all the time, and also ensures the stability of the connection.

在实际应用中,当用户购买了应用本发明的智能设备,如智能路由器AP和智能灯SD,由于智能灯SD没有触摸屏、没有串口、没有任何输入装置,因此其无法直接通过操作连接AP,此时即可采用本发明方法通过AP将含有其自身设备信息的数据生成广播帧并广播。用户通过确认功能启动智能灯,当智能灯SD接收到相应广播帧后,通过提取出的AP设备信息与AP进行关联,便能快速完成连接,从而实现对智能灯的控制。 In practical applications, when a user purchases a smart device applying the present invention, such as a smart router AP and a smart light SD, since the smart light SD has no touch screen, no serial port, and no input device, it cannot directly connect to the AP through operation. At that time, the method of the present invention can be used to generate a broadcast frame and broadcast the data containing its own device information through the AP. The user activates the smart light through the confirmation function. When the smart light SD receives the corresponding broadcast frame, it can quickly complete the connection by associating the extracted AP device information with the AP, thereby realizing the control of the smart light.

上述实施例仅为本发明的优选实施例,并非对本发明保护范围的限制,但凡采用本发明的设计原理,以及在此基础上进行非创造性劳动而作出的变化,均应属于本发明的保护范围之内。 The above-described embodiments are only preferred embodiments of the present invention, and are not limitations on the scope of protection of the present invention. However, all changes made by adopting the design principle of the present invention and performing non-creative work on this basis should belong to the protection scope of the present invention. within.

Claims (10)

1. an AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment, it is characterised in that comprise the steps:
(S1) described AP extracts the facility information including at least service set SSID and key Key of self;
(S2) facility information of extraction is encrypted as the data stream comprising length information, data subject and CRC check information by described AP;
(S3) the data stream of encryption is embedded at least one broadcast frame by described AP with the form of embedded data;
(S4) broadcast frame of all embedded data is periodically broadcasted in order by described AP at present channel;
(S5) user is by confirming that function on SD quickly connects;
(S6) it is configured to described SD monitor the one setting period of mode duration, SD periodically switch operating channel in this mode, catches the broadcast frame in present channel;If capturing broadcast frame within this setting time, then carry out next step, otherwise close described SD;
(S7) broadcast frame captured is resolved by described SD, extracts its embedded traffic flow information, it is thus achieved that the facility information of described AP;
(S8) described SD asks to described AP directive sending link authentication according to the AP facility information obtained;
(S9), after described AP receives the link authentication request of directive sending, it is associated with described SD, completes quick connection。
2. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 1, it is characterized in that, the facility information of described Ap also includes bandwidth information BANDWIDTH, authentication mode information AUTHENTICATION, encryption and decryption mode information ENCRYPTION, channel information CHANNEL and optional information OPTION。
3. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 2, it is characterised in that be stored in the data subject of described data stream after the facility information encryption of described AP。
4. a kind of according to any one of claims 1 to 3 AP and have the SD the confirming function method quickly connected under uncorrelated WIFI environment, it is characterized in that, in described step (S3), when described data stream be embedded into multiple broadcast frame constitute broadcast frame one group to be sent time, the form of these broadcast frames, order and embedded mode are arranged;
Correspondingly, in described step (S7), described SD extracts the traffic flow information of correspondence according to a preconcerted arrangement from the whole group of broadcast frame captured。
5. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 4, it is characterized in that, when described data stream is embedded into multiple broadcast frame, after the broadcast frame of continuous some, insert the broadcast identification frame that the difference of 3 length of continuous print is fixing。
6. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 5, it is characterized in that, in described step (S6), SD is after the broadcast frame captured in present channel, also the continuous multiple broadcast frames captured are verified, judge that whether there is broadcast in these continuous print broadcast frames identifies frame, if, then described SD rests on present channel and receives close set broadcast frame, and otherwise working channel is switched to adjacent channel by described SD after another setting time。
7. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 6, it is characterized in that, after in described step (S7), the broadcast frame caught is resolved by SD, by verifying that the length information in the traffic flow information extracted judges whether one group of broadcast frame receives completely, if it is imperfect, then abandon received broadcast frame, lay equal stress on newly received。
8. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 7, it is characterized in that, when described one group of broadcast frame completely receives, by verifying that the CRC check information in the traffic flow information extracted judges that whether the content of this group broadcast frame is complete, if it is imperfect, then abandon received broadcast frame, lay equal stress on newly received, if complete, perform next step。
9. a kind of according to any one of claim 5~8 AP and have the SD the confirming function method quickly connected under uncorrelated WIFI environment, it is characterised in that in described step (S9), after described AP and SD associates, the broadcast of AP termination broadcast frame。
10. a kind of AP and have the method that quickly connects of SD confirming function under uncorrelated WIFI environment according to claim 9, it is characterised in that after described SD and AP associates, described SD switches to WIFI transmission mode, and after disconnecting with AP, closedown SD。
CN201610287907.XA 2016-05-04 2016-05-04 A method of AP and there is the SD of confirmation function quickly to connect under the WIFI environment of onrelevant Active CN105704679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610287907.XA CN105704679B (en) 2016-05-04 2016-05-04 A method of AP and there is the SD of confirmation function quickly to connect under the WIFI environment of onrelevant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610287907.XA CN105704679B (en) 2016-05-04 2016-05-04 A method of AP and there is the SD of confirmation function quickly to connect under the WIFI environment of onrelevant

Publications (2)

Publication Number Publication Date
CN105704679A true CN105704679A (en) 2016-06-22
CN105704679B CN105704679B (en) 2019-04-16

Family

ID=56217831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610287907.XA Active CN105704679B (en) 2016-05-04 2016-05-04 A method of AP and there is the SD of confirmation function quickly to connect under the WIFI environment of onrelevant

Country Status (1)

Country Link
CN (1) CN105704679B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213017A (en) * 2019-04-30 2019-09-06 普联技术有限公司 A kind of data transmission method, device, system, storage medium and terminal device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004297292A (en) * 2003-03-26 2004-10-21 Nec Corp Wireless terminal, authentication server, wireless authentication information management system, and wireless authentication information management method
WO2013009775A3 (en) * 2011-07-10 2013-05-02 Qualcomm Incorporated Methods and apparatuses for low -overhead wireless beacons having next full beacon time indications
CN103139775A (en) * 2011-12-02 2013-06-05 中国移动通信集团上海有限公司 Access method of wireless local area network (WLAN), access device of WLAN and access system of WLAN
CN103260214A (en) * 2012-02-17 2013-08-21 华为终端有限公司 Equipment access method, equipment access point and equipment access device
CN103929767A (en) * 2014-05-04 2014-07-16 韩竹 Wireless network setting method based on sound wave or light wave communication
CN104363588A (en) * 2014-11-19 2015-02-18 贵州万臻时代通讯技术有限公司 Mobile terminal internet access control method and mobile terminal
CN104410970A (en) * 2014-12-23 2015-03-11 北京极科极客科技有限公司 Wireless intelligent accessing method
CN104540126A (en) * 2014-05-16 2015-04-22 生迪光电科技股份有限公司 Method and system for multiple pieces of WI-FI equipment to automatically access specified access point (AP)
CN104735260A (en) * 2015-04-01 2015-06-24 深圳市蜂联科技有限公司 Correlation method applied to intelligent terminal
CN104993981A (en) * 2015-05-14 2015-10-21 小米科技有限责任公司 Method and apparatus for controlling access of device
CN105007163A (en) * 2015-07-15 2015-10-28 普联技术有限公司 Pre-shared key (PSK) transmitting and acquiring methods and transmitting and acquiring devices
CN105992209A (en) * 2016-04-21 2016-10-05 深圳市蜂联科技有限公司 Method for communication through beacon frame embedded data under unrelated WIFI environment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004297292A (en) * 2003-03-26 2004-10-21 Nec Corp Wireless terminal, authentication server, wireless authentication information management system, and wireless authentication information management method
WO2013009775A3 (en) * 2011-07-10 2013-05-02 Qualcomm Incorporated Methods and apparatuses for low -overhead wireless beacons having next full beacon time indications
CN103139775A (en) * 2011-12-02 2013-06-05 中国移动通信集团上海有限公司 Access method of wireless local area network (WLAN), access device of WLAN and access system of WLAN
CN103260214A (en) * 2012-02-17 2013-08-21 华为终端有限公司 Equipment access method, equipment access point and equipment access device
CN103929767A (en) * 2014-05-04 2014-07-16 韩竹 Wireless network setting method based on sound wave or light wave communication
CN104540126A (en) * 2014-05-16 2015-04-22 生迪光电科技股份有限公司 Method and system for multiple pieces of WI-FI equipment to automatically access specified access point (AP)
CN104363588A (en) * 2014-11-19 2015-02-18 贵州万臻时代通讯技术有限公司 Mobile terminal internet access control method and mobile terminal
CN104410970A (en) * 2014-12-23 2015-03-11 北京极科极客科技有限公司 Wireless intelligent accessing method
CN104735260A (en) * 2015-04-01 2015-06-24 深圳市蜂联科技有限公司 Correlation method applied to intelligent terminal
CN104993981A (en) * 2015-05-14 2015-10-21 小米科技有限责任公司 Method and apparatus for controlling access of device
CN105007163A (en) * 2015-07-15 2015-10-28 普联技术有限公司 Pre-shared key (PSK) transmitting and acquiring methods and transmitting and acquiring devices
CN105992209A (en) * 2016-04-21 2016-10-05 深圳市蜂联科技有限公司 Method for communication through beacon frame embedded data under unrelated WIFI environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213017A (en) * 2019-04-30 2019-09-06 普联技术有限公司 A kind of data transmission method, device, system, storage medium and terminal device
CN110213017B (en) * 2019-04-30 2021-11-12 普联技术有限公司 Data transmission method, device and system, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN105704679B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US7929504B2 (en) Systems and methods for the connection and remote configuration of wireless clients
US9154935B2 (en) Wireless home mesh network bridging adaptor
CN106658659B (en) Method and device for accessing intelligent terminal equipment to Internet
CN101621800B (en) Method for exchanging authentication information between wireless terminal and wireless router
CN106254189A (en) A kind of WiFi distribution method
CN103297968B (en) A kind of method, equipment and the system of wireless terminal certification
EP3547759B1 (en) Method, access point and wireless local area network system for establishing a wireless local area network connection between an access point and a station
CN113132983B (en) Smart terminal disconnection and reconnection method
EP3534648B1 (en) Automated network access based on same mac address
WO2014183404A1 (en) Data transmission method, apparatus, system and terminal
EP2291017A1 (en) Method for network connection
CN104768150A (en) Method and system for connecting WiFi equipment with wireless hot spot
CN105228264A (en) A kind of quick WI-FI network matching method being applicable to Internet of Things
CN106507346A (en) Network access password synchronization method, network access device and wireless access point
CN101964976B (en) Terminal authentication method and base station
CN106535316A (en) Method for connecting internet-of-things module to network, router and internet-of-things module
CN105992162A (en) Method for communication through multicast frame embedded data under unrelated WIFI environment
CN106060824B (en) A method for feeding back SD status by using broadcast frame embedded data in the process of SD networking
WO2019080312A1 (en) Wps-based quick connection method and wireless device
CN105245695A (en) Method and system for improving WeChat AirKiss compatibility
KR20140113237A (en) Method for wireless link setup of wireless access point in congested environments
CN202551353U (en) Wireless unvarnished transmission terminal device and wireless system equipped therewith
CN105704679A (en) Method for quickly connecting AP and SD with confirming function under uncorrelated WIFI environment
CN105979511B (en) A method of realizing that SD and AP is quickly connected using the encryption of SD information under the WIFI environment of onrelevant
US9071966B2 (en) Methods and apparatus for wireless networking connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210819

Address after: No. 1201, 12 / F, building 6, No. 599, shijicheng South Road, Chengdu hi tech Zone, Chengdu pilot Free Trade Zone, Sichuan 610000

Patentee after: Chengdu panorama Intelligent Technology Co.,Ltd.

Address before: 518000 room A201, comprehensive office building of Qianhai Shenzhen Hong Kong Cooperation Zone Administration Bureau, No.1 liyumen street, Qianwan 1st Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN FENGLIAN TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210917

Address after: 518000 area D, 4th floor, building A2, Nanshan wisdom Park, 1001 Xueyuan Avenue, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN FENGLIAN TECHNOLOGY Co.,Ltd.

Address before: No. 1201, 12 / F, building 6, No. 599, shijicheng South Road, Chengdu hi tech Zone, Chengdu pilot Free Trade Zone, Sichuan 610000

Patentee before: Chengdu panorama Intelligent Technology Co.,Ltd.

TR01 Transfer of patent right