CN105554907A - General method for configuring WiFi device to make same to connect WiFi router - Google Patents

General method for configuring WiFi device to make same to connect WiFi router Download PDF

Info

Publication number
CN105554907A
CN105554907A CN201510918375.0A CN201510918375A CN105554907A CN 105554907 A CN105554907 A CN 105554907A CN 201510918375 A CN201510918375 A CN 201510918375A CN 105554907 A CN105554907 A CN 105554907A
Authority
CN
China
Prior art keywords
wifi
data
multicast
router
multicast packets
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
CN201510918375.0A
Other languages
Chinese (zh)
Other versions
CN105554907B (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 Ogemray Technology Co ltd
Original Assignee
Shenzhen Ogemray 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 Ogemray Technology Co ltd filed Critical Shenzhen Ogemray Technology Co ltd
Priority to CN201510918375.0A priority Critical patent/CN105554907B/en
Publication of CN105554907A publication Critical patent/CN105554907A/en
Application granted granted Critical
Publication of CN105554907B publication Critical patent/CN105554907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a general method for configuring a WiFi device to make the same to connect a WiFi router. The method includes the following steps that: step 1, a unidirectional physical data transmission channel is established between the WiFi device and the WiFi router; step 2, user configuration data are written and are adopted as multicast data packets, wherein the user configuration data include the SSID and password of the WiFi router; step 3, the WiFi router continuously sends the multicast packets through IP multicast; step 4, the WiFi device continuously scan all channels at intervals until a certain channel captures the multicast packets of a WiFi link layer, captures the multicast packets of the WiFi link layer, and filters the captured multicast data packets through a destination MAC address and multicast information so as to filter out illegal data packets, and obtains legitimate data packets, decrypts the data packets, performs analysis to obtain the SSID and password in the data, and is connected to the WiFi router; and step 5, if the WiFi device is successfully connected to the WiFi router, the WiFi device returns successful connection information to the WiFi device, otherwise, the method returns to the step 4, and scanning is further carried out.

Description

A kind of universal method configuring WiFi equipment and connect WiFi router
Technical field
The invention belongs to wireless communication technique field, be specifically related to a kind of method that configuration has the embedded device connection WiFi router of WiFi function.
Background technology
Today of a kind of trend is become in intelligent facilitation, increasing equipment incidentally needs Long-distance Control in other words, WiFi becomes main flow, how quickly configuration has intelligent embedded device (the abbreviation WiFi equipment of WiFi function, such as WiFi audio amplifier, WiFi socket etc.) conveniently connect upper WiFi router, to improve experience sense, being one of user's significant consideration selecting WiFi equipment, is also that developer is devoted to one of important topic studied.
At present WiFi equipment is connected upper WiFi router and has a lot of mode, enumerate as follows in detail:
1, the WiFi equipment of tape input output equipment (as: keyboard, touch-screen, display screen etc.), this equipment can directly by the SSID of router and Password Input, and connection route device; Carry out configuration device connection route device by input-output equipment, this mode needs to set up hardware device, and cost is too high;
2, with the WiFi equipment of web server, first can be signed in the web page of this embedded device by extra computer or smart mobile phone, this embedded device is connected WiFi router with password by the SSID arranging router in web page.Configuration device is carried out by the equipment of web server, the SSID that its web interface needing third party device first to log in embedded device arranges router is connected with password, not only bother, and embedded device must simultaneously with AP function and STA function, there is poor stability, too high, the defect such as user operation is complicated consuming time;
3, with the embedded device of WPS function, and with the WiFi router of WPS function, with the WPS button on WiFi router, embedded device is connected WiFi router by operating the WPS button of embedded device respectively.Configuration device is carried out by WPS, need embedded device and WiFi router simultaneously with WPS function, and the router compatibility of WPS function is not in the market fine, operates more loaded down with trivial details yet, need certain technical difficulty, therefore a lot of user can not use WPS function;
4, by udp broadcast bag the SSID of WiFi router and password be carried in the length of broadcast packet and send to embedded device, embedded device by resolving the length of bag, the SSID obtaining outside router and password and be connected upper outside router.Carry out configuration device by udp broadcast packet length, this mode length consuming time, success rate are low;
5, directly in udp broadcast, SSID and password is attached; Directly subsidiary configuration information in udp broadcast bag, needs Brute Force or cannot use, being configured to power low under encrypting router.
In prior art, one section of application number is the patent of invention of 201310167529.8, disclose a kind of WIFI equipment without the need to configuring the method directly connecting WIFI router, the method comprises: described WIFI router obtains MAC Address, and described MAC Address is saved to MAC Address list, described MAC Address is corresponding with a WIFI equipment; Described WIFI router allows the WIFI network of WIFI router described in the WIFI equipment access corresponding to MAC Address preserved in described MAC Address list.Wherein, described WIFI router obtains at least one MAC Address and specifically comprises: configure page input by the WEB of described WIFI router; Or receive mobile phone by described WIFI router and send MAC Address, described MAC Address is obtained by the MAC Address bar code of mobile telephone scanning WIFI equipment or Quick Response Code.Although the method facilitates user connect WIFI router, but it is need user to pass through scanning or other modes obtain voluntarily that said method obtains the method for MAC Address, if and there is no MAC Address bar code or Quick Response Code to scanning input, then domestic consumer cannot obtain MAC Address completely, has the technical difficulty on certain realization; Meanwhile, also make user's interconnection network voluntarily under the prerequisite of internet security of not knowing connected WIFI, thus considerably increase the security risk of WIFI equipment.
Summary of the invention
Therefore, for above-mentioned problem, the present invention proposes a kind of universal method configuring WiFi equipment and connect WiFi router, and WiFi router is gone up in quick, accurate, safe being connected by the embedded device with WiFi function, and this hinders intelligentized stumbling-block.
In order to solve the problems of the technologies described above, thinking of the present invention is as follows: existing general WiFi router, can be categorized as encrypting router and not encrypting router.For not encrypting router, all data be open; For encrypting router, all data are all encryptions, if by subsidiary for configuration information in UDP or tcp data bag, so just need to go to crack these enciphered datas, the result done like this is that success rate is not high enough.For the problems referred to above, through tests a large amount of for a long time, find no matter whether WiFi router is encrypted, during its transmission ip multicast, the Link Layer MAC address of multicast will be all a unencrypted, and ip multicast address and MAC layer multicast address have corresponding mapping relations (mapping relations are by checking that WiFi agreement obtains), the present invention is exactly the technical scheme expanded based on such a principle.
802.11 protocol families are standards that International Power electronic engineering association (IEEE) formulates for WLAN, referred to as IEEE802.11.Method of the present invention depends on IEEE802.11 protocol family, and also namely its WiFi router meets IEEE802.11 protocol family.Specify that the multicast address of 01-00-5E-00-00-00 to 01-00-5E-7F-FF-FF scope retains in IEEE 802.11, for Ethernet and Fiber Distributed Data Interface MAC Address (MAC, MediaAccessControl or MediumAccessControl, namely media interviews control, or claim physical address, hardware address, be used for the position of define grid equipment).Therefore first 4 of ip multicast address is fixing, and 5 near also having in addition do not need to be mapped to MAC layer multicast address, and 23 low orders of ip multicast address are mapped directly into MAC layer multicast address 23 low orders.According to D class address agreement, in order to use that 23 low orders, first eight hyte can not be used, and only has last 7 to be used in second eight hyte.3rd and the 4th eight hytes directly will be converted to hexadecimal digit, main frame receive some not to one's name belonging to the MAC layer multicast packet of group be inevitable.Under normal condition, these bags can be discarded by judging IP destination address by IP layer.When WiFi equipment is configured to packet capturing pattern, these data will be acquired, and so WiFi equipment will obtain the clear data of 23bit.That is WiFi equipment and WiFi router set up the one-way transmission path of a physics, and when this passage is established, so permission and WiFi equipment are done transfer of data by WiFi router.
Concrete, the technical solution adopted in the present invention is, a kind of universal method configuring WiFi equipment and connect WiFi router, comprises following process:
The one-way data transfer passage of a physics is set up between process 1:WiFi router and WiFi equipment;
Process 2: write user's configuration data as multicast packets, this user's configuration data at least comprises 23 bit data, and low 16 is valid data position, and high 7 is data sequence number position; This user's configuration data is 256Byte to the maximum, and user's configuration data comprises the SSID of WiFi router and password and other custom datas (such as equipment Serial Number, APIKey etc.); These user's configuration datas can be encryptions, also can be open; Wherein, 256Byte gets according to following calculating: multicast packets at least 23 bit data refers to the payload of single data transmit-receive, the present invention uses high 7 to be data sequence number position: 7 bit data are as sequence number, its value is 0-127, each sequence number band 2Byte data, so maximum user's configuration data position 128*2=256Byte;
Process 3:WiFi router constantly sends multicast packets by ip multicast;
Process 4:WiFi equipment interval constantly scans (by sniffer) all channels, when after the multicast packets grabbing WiFi link layer at certain channel, increased resident time, capture the multicast packets of WiFi link layer, by target MAC (Media Access Control) address and multicast information, the multicast packets captured is filtered, filter out illegal packet.Obtain legal packet, after getting all data, to decrypt data, parse the SSID in data and password, and connect WiFi router; Wherein, channel can be arbitrary, at present domestic mainly 1-13, and 14 channels, 14 channels can only use DSSS and CCK modulating mode.
Process 5: if connect the success of WiFi router, then return successful connection information to WiFi equipment; Otherwise return course 4 continues scanning.
Further, in process 5, if it is all failed repeatedly to connect WiFi router in 30s, then make WiFi equipment enter ap mode, under ap mode, this WiFi equipment self is as focus; This WiFi equipment launches focus " SmartConfigO ", other WiFi equipment are connected to this focus, send multicast packets, WiFi equipment receives multicast packets, after verification is correct, send information response's packet, represent the WiFi route configuration information received in multicast packets, then WiFi equipment exits ap mode, connects WiFi router.
Further, conveniently resolve, in process 3, WiFi router constantly sends multicast packets by ip multicast, first multicast packets is handled as follows: according to host-host protocol, the SSID of the WiFi router in user's configuration data and password are carried out being encrypted by cryptographic algorithm, circulate each character of the SSID after by encryption and password and corresponding sequence number to be carried in multicast packets and (each character of the SSID after encryption and password to be put into the valid data position of low 16, the sequence number of correspondence is put into the data sequence number position of high 7), then constantly data are sent by ip multicast.Cryptographic algorithm wherein can adopt simple XOR to be added, and also can adopt AES encryption.
Further, in order to ensure the accuracy of valid data, in process 4, obtain legal packet, after this packet is decrypted, also according to data sequence number and corresponding valid data position, integrality judgement is carried out to the data after its deciphering, if the valid data of valid data position are made mistakes, when then circulation sends multicast packets next time, then search correct valid data position according to the data sequence number of this valid data position correspondence of makeing mistakes, and then revise this valid data of makeing mistakes.
To sum up, the present invention by multicast, using low 16 as data, 17-23 position is transmitted as the data transfer mode of sequence number, reaches the function of configuration Wifi equipment, compared with prior art, tool has the following advantages: 1, cost is extremely low, and not needing increases any hardware cost; 2, without the need to other third party device; 3, simple to operate, user can configure without the need to professional knowledge in one-key operation; 4, power is configured to high; 5, applicability is strong, is suitable for all generic router, no matter encrypts, unencrypted router can use; 6, configuration speed is fast, consuming time short, far away higher than other configuration modes; 7, adopt cryptographic algorithm to be encrypted SSID and password, ensure that the fail safe of data, and cryptographic algorithm can adopt various, have good flexibility, user can select according to different situation, and such as adopt AES encryption, encryption is strong; The cryptographic algorithm such as adopting XOR to be added again, have simple, consumption of natural resource is few, the advantage of wide adaptability, can be widely used in plurality of devices.
Embodiment
Now in conjunction with embodiment, the present invention is further described.
The present invention depends on IEEE802.11 protocol family, uses all routers meeting IEEE802.11 protocol family.The multicast address of regulation 01-00-5E-00-00-00 to 01-00-5E-7F-FF-FF scope is preserved for Ethernet and Fiber Distributed Data Interface media interviews control (MAC) address in IEEE 802.11.Therefore first 4 of ip multicast address is fixing, and 5 near also having in addition do not need to be mapped to MAC layer multicast address, and 23 low orders of ip multicast address are mapped directly into MAC layer multicast address 23 low orders.According to D class address agreement, in order to use that 23 low orders, first eight hyte can not be used, and only has last 7 to be used in second eight hyte.3rd and the 4th eight hytes directly will be converted to hexadecimal digit, main frame receive some not to one's name belonging to the MAC layer multicast packet of group be inevitable.Under normal condition, these bags can be discarded by judging IP destination address by IP layer.When equipment is configured to packet capturing pattern, these data will be acquired, and so equipment will obtain the clear data of 23bit.That is equipment and user set up the one-way transmission path of a physics, and when this passage is established, so permission and equipment are done data interaction by user.
Concrete, a kind of universal method configuring WiFi equipment and connect WiFi router of the present invention, comprises following process:
The one-way data transfer passage of a physics is set up between process 1:WiFi router and WiFi equipment;
Process 2: write user's configuration data as multicast packets, this user's configuration data is 256Byte to the maximum, the 23bit data of the present invention to one-way data transfer passage are arranged, Bit22-Bit16 is as data sequence number, Bit15-Bit0 is as valid data, that is, the present invention allows the user's configuration data transmitting maximum 256Byte, and when these data allow, SSID, password also can be custom data (as equipment Serial Number, APIKey); These data allow to be encryption, also can be open;
The agreement of multicast packets is as follows:
Bit0-Bit15 Bit16-Bit22
Packet Valid data Data sequence number
Process 3:WiFi router constantly sends multicast packets by ip multicast, this multicast packets at least 23 bit data, and low 16 is valid data position, and high 7 is data sequence number position; Before transmission multicast packets, first according to host-host protocol, the SSID of the WiFi router in user's configuration data and password are encrypted by cryptographic algorithm (such as XOR phase computation system or AES encryption algorithm), circulate each character of the SSID after by encryption and password and corresponding sequence number to be carried in multicast packets and (each character of the SSID after encryption and password to be put into the valid data position of low 16, the sequence number of correspondence is put into the data sequence number position of high 7), then constantly data are sent by ip multicast;
Process 4:WiFi equipment interval constantly scans (by sniffer) 1-14 channel, when after the multicast packets grabbing WiFi link layer at certain channel, increased resident time, capture the multicast packets of WiFi link layer, by target MAC (Media Access Control) address and multicast information, the multicast packets captured is filtered, filter out illegal packet.Obtain legal packet, after getting all data, to decrypt data, parse the SSID in data and password, and connect WiFi router; Wherein, channel can be arbitrary, at present domestic mainly 1-13,14 channels, and 14 channels can only use DSSS and CCK modulating mode; In addition, obtain legal packet, after it is decrypted, also according to data sequence number and corresponding valid data position, integrality judgement is carried out to the data after its deciphering, if the valid data of valid data position are made mistakes, when then circulation sends multicast packets next time, then search correct valid data position according to the data sequence number of this valid data position correspondence of makeing mistakes, and then revise this valid data of makeing mistakes;
Process 5: if connect the success of WiFi router, then return successful connection information to WiFi equipment; Otherwise return course 4 continues scanning; If it is all failed repeatedly to connect WiFi router in 30s, that is repeatedly configuring WiFi equipment still cannot configuration successful, then make WiFi equipment enter ap mode, under ap mode, this WiFi equipment self is as focus; This WiFi equipment launches focus " SmartConfigO " (also can be other characters), smart mobile phone or other WiFi equipment are connected to this focus, send route configuration information, WiFi equipment receives data, after verification is correct, send response data packet, represent and receive WiFi route configuration information; Then WiFi equipment exits ap mode (entering STA mode), connects WiFi router.
In process 1, set up data transmission channel specific as follows: such as plan mobile phone connection route device, and the multicast packets that feature preset by the band sent by mobile phone by router is forwarded in space, in that case, the mode that equipment just can be passed judgment on channel receives these multicast packets, and can know whether it is effective network configuration data bag by presetting characteristic value, and take out carrying data.Such one-way data transfer passage has just been successfully established.
When specifically using, user only needs SSID and the password of input router, then WiFi router according to host-host protocol by SSID and password encryption, and each character of SSID and password is carried in ip multicast address with corresponding sequence number by circulation, then constantly data is sent by ip multicast.And WiFi equipment constantly scans 1-14 channel by sniffer interval, when after the multicast packets grabbing WiFi link layer at certain channel, filtered by target MAC (Media Access Control) address and multicast information, filter out illegal bag, obtain legal packet, then legal packet is resolved, obtain the SSID in data and password, according to this SSID and password connection route device.After connecting upstream routers, return successful connection information to user, then this configuration successful.
In said process 1, WiFi router of the present invention constantly sends multicast packets by ip multicast, is the MAC layer directly using IEEE802.11, and attaches the payload (data) preset in a mac address.That is, support the router of 802.11 agreements, all can set up uni-directional physical passage with crossing the present invention, completing network configuration.And in prior art (the 4th point in background technology), will there is some problem following: 1, single broadcast payload data amount few (only 1Byte) in subsidiary payload (data) in udp broadcast bag data length; 2, payload (data) is unordered, when occurring packet loss or even wrapping, in the data received before this all by invalid.And single broadcast payload data amount of the present invention can reach 2Byte.Meanwhile, the present invention uses 7Bit as sequence number position, and that is connecting bag can not affect data, and packet loss only affects data, receives data less, will by polishing in next data transmit-receive circulation.If in other words under certain environment data packetloss rate 1.0%, connect bag rate 1.2%, so the present invention only will carry out 10 data transfer, prior art then needs 20 times, complete 20 data transfer, the success rate of prior art 20 powers of 0.978 (that is 64.1%), and the present invention 10 secondary data transmitting-receiving success rate to be 90.4%, 20 secondary data transmitting-receiving success rates be about 99.44%.Setup time of the present invention, short success rate was high thus, and through test, the 4th in background technology under packet loss is the environment of 1.5% ~ 2%, setup time is 12 ~ 135s, average out to 62.3s, method of the present invention setup time then at 185ms-1575ms, average 2030ms.
For an other prior art (the 5th point in background technology): be connected on subsidiary SSID and password in udp broadcast; Directly subsidiary configuration information in udp broadcast bag, needs Brute Force or cannot use, being configured to power low under encrypting router.In the method, its SSID and password attach in broadcast data, but for encrypting router, these subsidiary data are all encryptions, cipher mode has WEP, WPA-PSK(TKIP), WPA2-PSK(AES) and WPA-PSK(TKIP)+WPA2-PSK(AES), want to obtain the subsidiary data in broadcast, so will Brute Force these 4 kinds encryptions, Brute Force likely needs exhaustive or keyword, so Brute Force success rate is not high, and also chronic.Further, depend on udp broadcast, cannot use when udp broadcast or fire compartment wall are limited, the present invention when forbidding UDP, then adopts process 5 to enter ap mode, himself is configured as focus, thus well solves the problems referred to above.Therefore, said method has 1, encrypts and crack length consuming time; 2, success rate is low; 3, the router forbidding UDP cannot use.Etc. problem, and the present invention adopts such scheme, then overcome the problems referred to above of prior art completely.
In addition, the present invention using low 16 as data, transfer of data is carried out as sequence number in 17-23 position, that is the 23bit payload of every frame data is done following division, wherein high 7bit(17b-23b) as sequence number, low 16bit(1b-16b) as carrying data, reason have following some:
If 1 using 23bit all as carrying data, so all data will be unordered, and when only having data continuously and correctly receive, the data received are only complete, effective, available.Suppose to expect transmission Nbit data, each transmission packet loss and Lian Bao summation are B, and so once acceptance circulation receives the successful probability of data is (1-B) (N*8/23).(such as expect transmission 230 bytes, network is general, and packet loss is 0.5%, and an one successful probability of circulation is 66.96%).And the data that ought be polled to for the first time must be cleared before second time receives, that is this takes defeat and these data received received without any help next time, that is successfully probability and second time have nothing to do for the first time, second time successfully probability is identical with first time, if success rate is V, the probability that so a continuous N poll is all failed is: (1-V) ^M, and the probability that continuous 2 polls of upper example cannot complete transfer of data is 10.9%;
2, when getting wherein, 7bit is as sequence number, and so data are orderly, first can do according to its sequence number at every turn and judge, if accepted, so will be left intact, and if do not received, just can go to obtain this data when receiving data.So, take defeat when first time, second time is the primary recipient data that do not receive of first time only, such as expect transmission 230 bytes, network is general, packet loss is 0.5%, an one successful probability of circulation is 56.19%, the success rate of second time poll is: first time failure, 2 bytes (frame) data packetloss, its probability is 32.5%, second time poll only needs to obtain this frame data, its probability of failure is 0.5%, so its probability of failure is 0.16%, first time failure, 4 bytes (two frames) data packetloss, its probability is 18.50%, second time poll only needs to obtain this two frame data, its probability of failure is 0.005%, so its probability of failure is 0.001%, by that analogy, but after losing 3 frames, differ several order of magnitude, ignore at this, only calculate loss one frame, the impact of two frames, the probability that second poll does not all receive data is 0.161%,
3, every frame data have 23bit payload, if all as carrying data, so there will be a lot of data and being shifted in transmitting procedure, to Data Analysis and unfavorable.
So orderly data its continuous several times transmission failure rate in unidirectional many polled transmission is far smaller than non-ordered data, this is also that the present invention selects the 7bit in load as the reason of sequence number.
The present invention is by multicast, and low 16 as data, 17-23 position is come as the data transfer mode of sequence number, reaches the function of configuration Wifi equipment, simple, has good practicality.In addition, the present invention is suitable for all generic router, comprises encryption, not encrypting router, has good versatility.
Although specifically show in conjunction with preferred embodiment and describe the present invention; but those skilled in the art should be understood that; not departing from the spirit and scope of the present invention that appended claims limits; can make a variety of changes the present invention in the form and details, be protection scope of the present invention.

Claims (5)

1. configure the universal method that WiFi equipment connects WiFi router, it is characterized in that: comprise following process:
The one-way data transfer passage of a physics is set up between process 1:WiFi router and WiFi equipment;
Process 2: write user's configuration data as multicast packets, this user's configuration data at least comprises 23 bit data, and this user's configuration data comprises SSID and the password of WiFi router;
Process 3:WiFi router constantly sends multicast packets by ip multicast;
Process 4:WiFi equipment interval constantly scans all channels, until certain channel grabs the multicast packets of WiFi link layer, capture the multicast packets of WiFi link layer, by target MAC (Media Access Control) address and multicast information, the multicast packets captured is filtered, filter out illegal packet; Obtain legal packet, this packet is decrypted, parse the SSID in data and password, and connect WiFi router;
Process 5: if connect the success of WiFi router, then return successful connection information to WiFi equipment; Otherwise return course 4 continues scanning.
2. universal method according to claim 1, is characterized in that: in process 5, if it is all failed repeatedly to connect WiFi router in 30s, then make WiFi equipment enter ap mode, under ap mode, this WiFi equipment self is as focus; This WiFi equipment launches focus " SmartConfigO ", other WiFi equipment are connected to this focus, send multicast packets, WiFi equipment receives multicast packets, after verification is correct, send information response's packet, represent the WiFi route configuration information received in multicast packets, then WiFi equipment exits ap mode, connects WiFi router.
3. universal method according to claim 1, is characterized in that: the multicast packets in described process 1 at least comprises 23 bit data, and low 16 is valid data position, and high 7 is data sequence number position.
4. universal method according to claim 3, it is characterized in that: in described process 4, obtain legal packet, after this packet is decrypted, also according to data sequence number and corresponding valid data position, integrality judgement is carried out to the data after its deciphering, if the valid data of valid data position are made mistakes, when then circulation sends multicast packets next time, then search correct valid data position according to the data sequence number of this valid data position correspondence of makeing mistakes, and then revise this valid data of makeing mistakes.
5. universal method according to claim 3, it is characterized in that: in described process 3, WiFi router constantly sends multicast packets by ip multicast, first multicast packets is handled as follows: according to host-host protocol, the SSID of the WiFi router in user's configuration data and password are encrypted by cryptographic algorithm, each character of SSID after encryption and password is carried in multicast packets with corresponding sequence number by circulation, then constantly data is sent by ip multicast.
CN201510918375.0A 2015-12-11 2015-12-11 A method of configuration WiFi equipment connects WiFi router Active CN105554907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510918375.0A CN105554907B (en) 2015-12-11 2015-12-11 A method of configuration WiFi equipment connects WiFi router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510918375.0A CN105554907B (en) 2015-12-11 2015-12-11 A method of configuration WiFi equipment connects WiFi router

Publications (2)

Publication Number Publication Date
CN105554907A true CN105554907A (en) 2016-05-04
CN105554907B CN105554907B (en) 2019-03-26

Family

ID=55833776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510918375.0A Active CN105554907B (en) 2015-12-11 2015-12-11 A method of configuration WiFi equipment connects WiFi router

Country Status (1)

Country Link
CN (1) CN105554907B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254147A (en) * 2016-09-08 2016-12-21 珠海全志科技股份有限公司 A kind of collocation method for Wi Fi network, internet-of-things terminal and control end
CN106714092A (en) * 2017-02-13 2017-05-24 惠州Tcl移动通信有限公司 Mobile terminal-based WIFI data processing method and system
CN107017934A (en) * 2017-06-14 2017-08-04 广东合正网络技术有限公司 Multi-functional WIFI relays and control system
CN107390623A (en) * 2017-08-08 2017-11-24 盯盯拍(深圳)技术股份有限公司 Control vehicle device and drive recorder connection method and control vehicle device and drive recorder attachment means
CN107589856A (en) * 2017-09-27 2018-01-16 上海斐讯数据通信技术有限公司 Intelligent keyboard and intelligent input system
CN107888396A (en) * 2016-09-29 2018-04-06 日本电气株式会社 Data transmission method, network node and terminal device in WIFI network
CN108616850A (en) * 2016-12-16 2018-10-02 美的智慧家居科技有限公司 A kind of acquisition methods and device of the routing iinformation of electric appliance
CN108684067A (en) * 2018-05-14 2018-10-19 四川斐讯信息技术有限公司 Time-based wireless connection method and system, radio reception device
CN108834147A (en) * 2018-08-21 2018-11-16 中国平安人寿保险股份有限公司 Examine WiFi cipher safety method, apparatus, computer equipment and storage medium
CN109219045A (en) * 2018-09-17 2019-01-15 北京奇艺世纪科技有限公司 A kind of router connection method, device, electronic equipment and system
CN110012525A (en) * 2018-01-05 2019-07-12 芯光飞株式会社 Reduce the beacon signal processing unit and filtering method of wakeup frequency
CN110087330A (en) * 2019-04-25 2019-08-02 新华三技术有限公司 Wireless network connection method for building up, radio reception device and server
CN111050321A (en) * 2018-10-12 2020-04-21 中兴通讯股份有限公司 Data processing method, device and storage medium
CN111817866A (en) * 2019-04-11 2020-10-23 宁波方太厨具有限公司 Equipment network distribution method
CN116094836A (en) * 2023-03-09 2023-05-09 深圳市网联天下科技有限公司 Router data secure storage method and system based on symmetric encryption

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN104010352A (en) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 Method and device for connecting router with intelligent device
CN104113934A (en) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 Router accessing method for communication equipment and accessing system
CN104270744A (en) * 2014-09-28 2015-01-07 杭州雄迈信息技术有限公司 Rapid configuration system and method for wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN104010352A (en) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 Method and device for connecting router with intelligent device
CN104113934A (en) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 Router accessing method for communication equipment and accessing system
CN104270744A (en) * 2014-09-28 2015-01-07 杭州雄迈信息技术有限公司 Rapid configuration system and method for wireless network

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254147A (en) * 2016-09-08 2016-12-21 珠海全志科技股份有限公司 A kind of collocation method for Wi Fi network, internet-of-things terminal and control end
CN106254147B (en) * 2016-09-08 2019-06-28 珠海全志科技股份有限公司 It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal
CN107888396A (en) * 2016-09-29 2018-04-06 日本电气株式会社 Data transmission method, network node and terminal device in WIFI network
CN107888396B (en) * 2016-09-29 2023-05-09 日本电气株式会社 Data transmission method in WIFI network, network node and terminal equipment
CN108616850A (en) * 2016-12-16 2018-10-02 美的智慧家居科技有限公司 A kind of acquisition methods and device of the routing iinformation of electric appliance
CN108616850B (en) * 2016-12-16 2021-11-26 美的智慧家居科技有限公司 Method and device for acquiring routing information of electric appliance
CN106714092A (en) * 2017-02-13 2017-05-24 惠州Tcl移动通信有限公司 Mobile terminal-based WIFI data processing method and system
CN107017934A (en) * 2017-06-14 2017-08-04 广东合正网络技术有限公司 Multi-functional WIFI relays and control system
CN107390623A (en) * 2017-08-08 2017-11-24 盯盯拍(深圳)技术股份有限公司 Control vehicle device and drive recorder connection method and control vehicle device and drive recorder attachment means
CN107589856A (en) * 2017-09-27 2018-01-16 上海斐讯数据通信技术有限公司 Intelligent keyboard and intelligent input system
CN110012525A (en) * 2018-01-05 2019-07-12 芯光飞株式会社 Reduce the beacon signal processing unit and filtering method of wakeup frequency
CN108684067A (en) * 2018-05-14 2018-10-19 四川斐讯信息技术有限公司 Time-based wireless connection method and system, radio reception device
CN108834147A (en) * 2018-08-21 2018-11-16 中国平安人寿保险股份有限公司 Examine WiFi cipher safety method, apparatus, computer equipment and storage medium
CN108834147B (en) * 2018-08-21 2022-10-21 中国平安人寿保险股份有限公司 WiFi password security checking method and device, computer equipment and storage medium
CN109219045A (en) * 2018-09-17 2019-01-15 北京奇艺世纪科技有限公司 A kind of router connection method, device, electronic equipment and system
CN111050321A (en) * 2018-10-12 2020-04-21 中兴通讯股份有限公司 Data processing method, device and storage medium
CN111817866A (en) * 2019-04-11 2020-10-23 宁波方太厨具有限公司 Equipment network distribution method
CN111817866B (en) * 2019-04-11 2022-03-18 宁波方太厨具有限公司 Equipment network distribution method
CN110087330A (en) * 2019-04-25 2019-08-02 新华三技术有限公司 Wireless network connection method for building up, radio reception device and server
CN116094836A (en) * 2023-03-09 2023-05-09 深圳市网联天下科技有限公司 Router data secure storage method and system based on symmetric encryption
CN116094836B (en) * 2023-03-09 2023-06-06 深圳市网联天下科技有限公司 Router data secure storage method and system based on symmetric encryption

Also Published As

Publication number Publication date
CN105554907B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN105554907A (en) General method for configuring WiFi device to make same to connect WiFi router
CN102130768B (en) Terminal equipment having capability of encrypting and decrypting link layer and data processing method thereof
US8335918B2 (en) MAC frame provision method and apparatus capable of establishing security in IEEE 802.15.4 network
CN104754567B (en) The method and apparatus for sending message to the wireless device of grouping
EP2341724B1 (en) System and method for secure transaction of data between wireless communication device and server
ES2356833T3 (en) METHOD AND SYSTEM FOR DETECTION OF THE DATA TRANSMISSION MODE OF AN ACCESS POINT.
CN102035845B (en) Switching equipment for supporting link layer secrecy transmission and data processing method thereof
CN103609154B (en) A kind of WLAN access authentication method, equipment and system
CN103765847A (en) Apparatus and methods for media access control header compression
WO2005077134A2 (en) A method and apparatus for a per-packet encryption system
CN104410970A (en) Wireless intelligent accessing method
CN102340650B (en) Method and system for video monitoring of terminal
CN107113287A (en) The method that device-to-device communication is performed between subscriber's installation
CN101917272A (en) Secret communication method and system among neighboring user terminals
CN104486759A (en) Method accessing wireless network without obstacle
CN104812093B (en) Method and device for accessing WIFI equipment of smart home to network
CN102057615A (en) A system and method of reducing encryption overhead by concatenating multiple connection packets associated with a security association
US20240107313A1 (en) Control frame processing method, control frame generating method, station, access point, and storage medium
CN109194473A (en) Data transmission method, system, device, terminal and storage medium
US7151765B2 (en) Packets filtering method in a wireless network system
US20130138950A1 (en) Key setting method, node, and network system
CN101917712A (en) Data encryption/decryption method and system for mobile communication network
CN102026186B (en) Service network detection system and method
KR100968472B1 (en) Method and apparatus for configuring signaling radio bearer in a wireless communications system
CN105228144B (en) Cut-in method, apparatus and system based on temporary MAC address

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