CN104703176A - Configuration method of wireless network, intelligent terminal and wireless network equipment - Google Patents

Configuration method of wireless network, intelligent terminal and wireless network equipment Download PDF

Info

Publication number
CN104703176A
CN104703176A CN201510118753.7A CN201510118753A CN104703176A CN 104703176 A CN104703176 A CN 104703176A CN 201510118753 A CN201510118753 A CN 201510118753A CN 104703176 A CN104703176 A CN 104703176A
Authority
CN
China
Prior art keywords
wireless network
packet
configuration information
service set
request
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
CN201510118753.7A
Other languages
Chinese (zh)
Other versions
CN104703176B (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.)
BEIJING WINNER MICROELECTRONICS Co Ltd
Original Assignee
BEIJING WINNER MICROELECTRONICS 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 BEIJING WINNER MICROELECTRONICS Co Ltd filed Critical BEIJING WINNER MICROELECTRONICS Co Ltd
Priority to CN201510118753.7A priority Critical patent/CN104703176B/en
Publication of CN104703176A publication Critical patent/CN104703176A/en
Application granted granted Critical
Publication of CN104703176B publication Critical patent/CN104703176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

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

Abstract

The invention relates to a configuration method of a wireless network, an intelligent terminal and wireless network equipment. The configuration method of the wireless network comprises the following steps of coding and encrypting configuration information of a wireless network; writing coded and encrypted configuration information of the wireless network in effective data of a data package in a mode of corresponding bytes one by one and writing the data package in an identification SSID (service set identifier) field of a service set in a probe request frame; and transmitting a probe request which comprises a probe request frame to the wireless network. The configuration information of the wireless network is transmitted through the probe request frame by the intelligent terminal. By the configuration method of the wireless network, the problem that equipment of the wireless network cannot acquire the configuration information of the wireless network independently can be solved, a step of performing network configuration in a wired connection mode is omitted, and automatic and high-efficiency wireless network configuration is implemented.

Description

The collocation method of wireless network, intelligent terminal and Wireless Communication Equipment
Technical field
The present invention relates to Internet of Things field, particularly relate to a kind of collocation method of wireless network, and be suitable for intelligent terminal and the Wireless Communication Equipment of the method.
Background technology
Internet of Things is the extension of wireless network application, comprises the agreement according to agreement, the network equipment be in wireless network environment and the Internet is coupled together and carry out information exchange and communicate, to realize the technology of Weigh sensor, location, tracking, monitor and managment.
Current, intelligent terminal uses IEEE802.11 agreement usually, be connected with router by WLAN WLAN, specifically can comprise: by the Beacon frame of listen routers, or send the Probe response frame that Proberequest frame obtains router, thus obtain the information of router, and the password that input router requires is networked.
But, for other network equipments not possessing input function, by may because cannot input router password and cannot realize network connect.
Summary of the invention
technical problem
In view of this, the technical problem to be solved in the present invention is, how to provide a kind of collocation method of automatic, high efficiency wireless network to be connected to wireless network to make Wireless Communication Equipment.
solution
In order to solve the problems of the technologies described above, according to one embodiment of the invention, in first aspect, provide a kind of collocation method of wireless network, the configuration information of wireless network be encoded and encrypts;
By the configuration information of the described wireless network after coding and encryption, write the valid data of packet according to the mode of corresponding 1 byte of 1 byte, and described packet write Probe Request is detected the service set ssid field in claim frame;
Send to described wireless network and detect request, described in the request of detecting comprise described Probe Request and detect claim frame.
In a kind of possible implementation, the configuration information of described wireless network comprises the password of described wireless network, and in the mode keeping the figure place of described password constant, encodes and encrypt described password.
In a kind of possible implementation, the configuration information of described wireless network comprises service set SSID and/or the basic service set identification BSSID of described wireless network, and the described configuration information to wireless network is encoded and encrypts, and comprising:
According to the first predetermined figure, described service set SSID and/or basic service set identification BSSID is divided into one or more data group, each described data group is supplied 8 to form ASCII character, and first is carried out to the second pre-determined bit in described ASCII character exchanges process; And
According to the first predetermined formula, exchange the described ASCII character after process to described first and be encrypted.
In a kind of possible implementation, the byte number of described password is obtained quotient divided by the byte number of valid data in a described packet, and described quotient carry is rounded obtain described in the described Probe Request detected in request detect the number of claim frame.
In order to solve the problems of the technologies described above, according to one embodiment of the invention, provide a kind of collocation method of wireless network in second aspect, comprising:
Enter listen mode, what described listen mode allowed reception intelligent terminal to send detects request;
Detect request described in reception, described in the request of detecting comprise Probe Request and detect claim frame, obtain the packet in the service set ssid field that described Probe Request detects in claim frame;
According to the overall budget number in described packet and this bag sequence number, described packet is organized;
Described packet is decrypted, is decoded, to obtain the configuration information of described wireless network;
According to the configuration information of described wireless network, connect described wireless network.
In a kind of possible implementation, described packet comprises the password of described wireless network, and in the mode keeping described password figure place constant, is decrypted and decodes to described packet.
In a kind of possible implementation, described packet comprises service set SSID and/or the basic service set identification BSSID of described wireless network, and described described packet to be decrypted, decoding comprises: according to the second formula, described packet is decrypted, and the first certain bits after obtaining deciphering in data forms ASCII character, and process is exchanged to the second certain bits in described ASCII character.
In order to solve the problems of the technologies described above, according to one embodiment of the invention, in the third aspect, provide a kind of intelligent terminal for configuring wireless network, comprising:
Coding encrypting module, for encoding to the configuration information of wireless network and encrypting;
Group bag module, for the configuration information by the described wireless network after coding and encryption, write the valid data of packet according to the mode of corresponding 1 byte of 1 byte, and described packet write ProbeRequest is detected the service set ssid field in claim frame;
Sending module, detects request for sending to described wireless network, described in the request of detecting comprise described Probe Request and detect claim frame.
In a kind of possible implementation, described coding encrypting module, for when the configuration information of described wireless network comprises the password of described wireless network, in the mode keeping the figure place of described password constant, encodes to described password and encrypts.
In a kind of possible implementation, described coding encrypting module, during for comprising service set SSID and/or the basic service set identification BSSID of described wireless network at the configuration information of described wireless network, according to the first predetermined figure, described service set SSID and/or basic service set identification BSSID is divided into one or more data group, each described data group is supplied 8 to form ASCII character, and first is carried out to the second pre-determined bit in described ASCII character exchanges process; And
According to the first predetermined formula, exchange the described ASCII character after process to described first and be encrypted.
In a kind of possible implementation, the number that described Probe Request detects claim frame equals the byte number of described password to obtain quotient divided by the byte number of valid data in a described packet, and described quotient carry is rounded obtained number.
In order to solve the problems of the technologies described above, according to one embodiment of the invention, in fourth aspect, a kind of Wireless Communication Equipment is provided, comprise:
Monitor module, for making described wireless device enter listen mode, what described listen mode allowed reception intelligent terminal to send detects request;
Receiver module, detects request described in receiving, described in the request of detecting comprise Probe Request and detect claim frame, obtain the packet in the service set ssid field that described Probe Request detects in claim frame;
Parse module, for organizing described packet according to the overall budget number in described packet and this bag sequence number;
Deciphering decoder module, for being decrypted described packet, decoding, to obtain the configuration information of described wireless network;
Link block, for the configuration information according to described wireless network, connects described wireless network.
In a kind of possible implementation, described deciphering decoder module, for when described packet comprises the password of described wireless network, in the mode keeping described password figure place constant, is decrypted described packet and decodes.
In a kind of possible implementation, described deciphering decoder module, during for comprising service set SSID and/or the basic service set identification BSSID of described wireless network at described packet, according to the second formula, described packet is decrypted, and the first certain bits after obtaining deciphering in data forms ASCII character, and process is exchanged to the second certain bits in described ASCII character.
In order to solve the problems of the technologies described above, according to one embodiment of the invention, in the 5th, a kind of radio network configuration system is provided, described Radio Network System is in wireless network environment, comprising: the intelligent terminal according to any one of claim 8 ~ 11 and the Wireless Communication Equipment according to any one of claim 12 ~ 15.
beneficial effect
The configuration information of wireless network is sent by intelligent terminal, the collocation method of wireless network provided by the invention, the problem that Wireless Communication Equipment cannot obtain radio network configuration information under separate state can be solved, save the step needing just to be carried out network configuration by wired connection, achieve automatic, high efficiency radio network configuration.
In addition, by to keep the mode of password figure place constant (byte corresponding a byte) to encode to password and to encrypt, the service set SSID of described wireless network and/or basic service set identification BSSID and/or other data are encoded in the mode of every 6 correspondences 8 and deciphered simultaneously, the byte number transmitted needed for radio network configuration information can be realized minimize, and the valid data this radio network configuration information being write described protocol data bag are also formed detects request, the packet number transmitted needed for radio network configuration information can be reduced, therefore, the collocation method of wireless network provided by the invention, the transmitting efficiency of radio network configuration information can be improved, realize automatic high efficiency radio network configuration.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, further feature of the present invention and aspect will become clear.
Accompanying drawing explanation
Comprise in the description and form the accompanying drawing of a part for specification and specification together illustrates exemplary embodiment of the present invention, characteristic sum aspect, and for explaining principle of the present invention.
Fig. 1 illustrates the typical apply scene of the collocation method being suitable for the wireless network that the embodiment of the present invention provides;
Fig. 2 illustrates the flow chart of the collocation method of wireless network according to an embodiment of the invention;
Fig. 3 schematically shows the process of carrying out data encryption according to formula (1);
Fig. 4 illustrates the organizational form of packet in the embodiment of the present invention;
Fig. 5 illustrates the flow chart of the collocation method of wireless network according to another embodiment of the present invention;
Fig. 6 illustrates the structural representation of the intelligent terminal 10 for configuring wireless network provided according to further embodiment of this invention;
Fig. 7 illustrates the structural representation of the Wireless Communication Equipment provided according to yet another embodiment of the invention;
Fig. 8 illustrates the structural representation of the Radio Network System provided according to yet another embodiment of the invention.
Embodiment
Various exemplary embodiment of the present invention, characteristic sum aspect is described in detail below with reference to accompanying drawing.The same or analogous element of Reference numeral presentation function identical in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, accompanying drawing need not be drawn in proportion.
Word " exemplary " special here means " as example, embodiment or illustrative ".Here need not be interpreted as being better than or being better than other embodiment as any embodiment illustrated by " exemplary ".
In addition, in order to better the present invention is described, in embodiment hereafter, give numerous details.It will be appreciated by those skilled in the art that do not have some detail, the present invention can implement equally.In some instances, the method known for those skilled in the art, means, element are not described in detail, so that highlight purport of the present invention.
embodiment 1
Fig. 1 illustrates the typical apply scene of the collocation method being suitable for the wireless network that the embodiment of the present invention provides, as shown in Figure 1, intelligent terminal is mobile phone 10 such as, set up wireless network with router two 0 to be connected and the configuration information obtaining wireless network, the service set SSID of such as wireless network, basic service set identification BSSID and password etc., and to wireless network send carry this configuration information detect request, to be in this wireless network environment and to be in other Wireless Communication Equipment 30 of listening state, can the configuration information of acquisition request wireless network be detected by receiving this and add this wireless network.
Thus, the configuration information of wireless network is sent by intelligent terminal, the collocation method of the wireless network that the embodiment of the present invention provides, the problem that Wireless Communication Equipment cannot obtain or input radio network configuration information under separate state can be solved, save the step needing just to be carried out network configuration by wired connection, achieve automatic, high efficiency radio network configuration.
Fig. 2 illustrates the flow chart of the collocation method of wireless network according to an embodiment of the invention.As shown in Figure 2, the method mainly comprises:
The configuration information of step S21, mobile phone 10 pairs of wireless networks is encoded and encrypts.
First, before execution step S21, mobile phone 10 needs the router two 0 of elder generation and wireless network connect and obtain the configuration information of wireless network, and the configuration information of this wireless network includes but not limited to the service set SSID of wireless network, basic service set identification BSSID and password.
In this step, the configuration information of this wireless network is encoded, when the configuration information of wireless network comprises the password of wireless network, can in the mode keeping the figure place of this password constant, this password is encoded, such as to keep the constant mode of the original text of this password to encode, or under the prerequisite keeping password figure place constant, recombinate to encode to this password.Usually, the figure place of data can be increased during coding, and the present invention encodes to keep the constant mode of password figure place, farthest can reduce the quantity of the required packet sent in subsequent step, to raise the efficiency.
When the configuration information of wireless network comprises the service set SSID of wireless network, can according to the first predetermined figure, described service set SSID is divided into one or more data group, each data group is supplied 8 to form the ASCII character of a byte, and first is carried out to the second pre-determined bit in described ASCII character exchange process, realize the coding to service set SSID with this.
Such as, service set SSID data are pressed binary array, from a high position to low level, take out every 6bit according to this as a data group, and fill into 01 to form the ASCII character of a byte the highest two of each data group, the rest may be inferred, then the SSID data of every 3 bytes (24), 4 data groups will be divided into, and be represented by 4 ASCII character after a high position fills into 01.Further, when last initial data coding after less than 6bit time, can in the end one coding after ASCII character data in fill near a high position of 6bit, low level zero padding, through coding after data be ASCII character.
In addition, this coding step can also comprise and undertaken exchanging process by high for adjacent two bytes 4, such as: suppose to need data to be processed be 0x12,0x34,0x45,0xAB, the data so after exchanging process are 0x32,0x14,0xA5,0x4B.
In a kind of possible implementation, this step has two kinds of situations needing special processing: if transmission data are odd number, last byte is not exchanged; If low 4 of any one data are F in needing exchange one group, then this group is not exchanged.
In a kind of possible implementation, the configuration information of wireless network also comprises basic service set identification BSSID or other data, to this basic service set identification BSSID or other data, also can carry out with the coding of service set SSID same rule, not repeat them here.
In this step, be encrypted the configuration information of wireless network, in a kind of possible implementation, to the configuration information through above coded treatment, can pass through the first predetermined formula, such as formula (1), is encrypted.
Fig. 3 schematically shows the process of carrying out data encryption according to formula (1), and as shown in Figure 3, initial data is A, and the data after encryption are A1.
If(A&0xF<=7)
A1=A+A&0xF
Else if(7<A&0Xf<=F)
A1=A-(F-A&0xF) (1)
Step S22, by the configuration information of wireless network after coding and encryption, write the valid data of packet according to the mode of corresponding 1 byte of 1 byte, and this packet write Probe Request is detected the service set ssid field in claim frame.
In this step, need the configuration information write packet of the wireless network after by coding and encryption, Fig. 4 illustrates the organizational form of packet in the embodiment of the present invention, as described in Figure 4, packet comprises: overall budget number, this bag sequence number, this bag data type, length 1 ~ length 6, valid data and CRC check position, packet can also comprise channel in addition.
In a kind of possible implementation, channel can take 1 byte, and wherein, high two are fixed as 01, the WLAN channel residing for low 6 bit representation equipment.Overall budget number can take 1 byte, and the highest two of each byte is fixed as 01, and low 6 bit representation present communications need to be completed by the packet of a few this formal definition of bag.This bag sequence number can take 1 byte, and the highest 2 are fixed as 01, and low 6 for representing bag sequence number, and span is 0 ~ 63, represents that this bag is which bag in present communications overall budget number.This Packet type can take 1 byte, the highest 2 are fixed as 01, the type of the data comprised in low 6 bit representation bags, wherein, 000001 represents that network cipher KEY, 000010 represents that BSSID, 000100 represents that SSID, 001000 ~ 100000 represents reservation types Reserved, in addition, one or several data types can be comprised in each bag.Length takies at most 6 bytes, represent a byte in the corresponding length information of the data of each type comprised in this bag, if only have a type, then length only has a byte, if comprise two types, then length has two bytes, by that analogy, the highest two of each byte is fixed as 01, and length byte order has corresponding relation with type, and length word joint number corresponding to low level type can front.Valid data, its length is uncertain, carries out segmentation according to type and length, the valid data of every section of each type of correspondence.CRC check bit stealing 2 byte, the content of CRC8 account form to packet (before CRC first character joint) is adopted to carry out CRC check, comprise after having calculated, with same algorithm, packet (content before CRC second byte) is calculated, after having calculated the CRC of two bytes, respectively get its low 6 and add the decimal system 63, insert corresponding byte position.
In this step, coding and the radio network configuration information after encrypting, mode according to corresponding 1 byte of 1 byte is write in the valid data of packet, be specially, the radio network configuration information of each byte takies the byte in valid data when writing the valid data of packet, compared with taking the writing mode of multibyte valid data with the data of common 1 byte, the embodiment of the present invention farthest can reduce the number of packet, to improve the efficiency sending packet.
Further, the embodiment of the present invention uses the ssid field in Probe request frame to transmit packet, specifies that ssid field in Probe request frame is by three information structures: ssid field, SSID length and SSID content in IEEE802.11 agreement.Wherein, ssid field mark is for representing that this field is SSID; SSID length is for identifying the length of the character string of the SSID comprised in this field, and its maximum is 32; SSID content is used for the title of marked network, and the longest is 32 characters.
In the present embodiment, modify with convey data packets to ssid field in Probe request frame, wherein, ssid field mark remains unchanged, the length of SSID length mark SSID content, and 32 bytes of SSID content are used for convey data packets, therefore a packet is 32 bytes to the maximum, the byte number wherein removing overhead data packet length remainder is the byte number of valid data, mostly is 26 bytes most, overhead data packet length=channel+bag number+sequence number+type+data length field+CRC.
In a kind of possible implementation, the SSID of wireless network and the length summation of password is the longest may reach 96 bytes, when the valid data of a packet are 26 byte, can round according to quotient 3.69 carry of 96 bytes divided by 26 byte gained, be divided into 4 packets stored in the ssid field in Probe request frame by the SSID of wireless network and password, in other words, the request of detecting comprises 4 Probe request frames with bearer network configuration information.
Step S23, to send to wireless network and detect request, described in the request of detecting comprise described ProbeRequest and detect claim frame.
Intelligent terminal sends to wireless network and detects request, and this request of detecting comprises the Probe Request carrying radio network configuration information and detects claim frame.
Step S24, Wireless Communication Equipment enter listen mode, and what described listen mode allowed reception intelligent terminal to send detects request.This step is not limited to carry out after step S23, when section in office can open listen mode after Wireless Communication Equipment start.
Step S25, receive and detect request, this request of detecting comprises Probe Request and detects claim frame, obtains the packet in the service set ssid field that described Probe Request detects in claim frame.Wireless Communication Equipment takes out corresponding data length field according to this Packet type field, calculate data total length, after adding the overhead data packet length judged according to type field, contrast with the length of ssid field in Probe request frame, if equal, represent that this frame may be the frame that will receive, carry out CRC check after receiving, check results correctly then retains the data of this frame, otherwise abandons.
Step S26, according to the overall budget number in described packet and this bag sequence number, described packet to be organized.This step comprises the valid data extracted in packet, is organized together by extracted valid data according to the overall budget number in described packet and this bag sequence number.
Step S27, described packet is decrypted, is decoded, to obtain the configuration information of described wireless network.
Decryption processing described in this step is the inverse process of the encryption shown in Fig. 3, such as, the algorithm for inversion formula (2) of above-mentioned formula (1) can be used to be decrypted, and suppose that the data of encrypting are A1, the data after deciphering are A.
if((A1&0xF)%2==0)
A=(A1+(A1&0xF0))/2;
Else if(((A1&0xF)%2==1))
A=(A1+ (A1 & 0xF0)+0xF)/2 formula (2)
The inverse process being decoded as coded treatment described in above-mentioned steps S21 described in this step, in a kind of possible implementation, for network cipher, makes the figure place of decoded data remain unchanged in the present embodiment.In the implementation that another kind is possible, for SSID, BSSID and other data, the first certain bits after can obtaining deciphering in data forms ASCII character, and second is carried out to the second certain bits in described ASCII character exchange process, wherein, this first certain bits is corresponding with the first pre-determined bit during coded treatment, and this second certain bits is corresponding with the second pre-determined bit during coded treatment, specifically can comprise data by binary array, from a high position to low level, low 6bit is taken out from each byte, if less than 6bit after judging last initial data coding, supplement when then will remove coding 0, arrange according to this, afterwards from highest order, every 8bit forms data, the rest may be inferred.Second exchanges process exchanges process contrary with first in coding step, and exchange for high 4 of such as adjacent 2 bytes, suppose that the data after aforementioned decode are 0x32,0x14,0xA5,0x4B, then after this step process, data are 0x12,0x34,0x45,0xAB.
This step also may comprise the situation of two kinds of special processings: if transmission data are odd number, then last byte is not exchanged; If low 4 of any one data are F in needing exchange one group, then this group is not exchanged.
Step S28, configuration information according to described wireless network, connect described wireless network.
Wireless Communication Equipment 30 connects this wireless network according to the configuration information of described wireless network.
Thus, the configuration information of wireless network is sent by intelligent terminal, the collocation method of the wireless network that the embodiment of the present invention provides, the problem that Wireless Communication Equipment cannot obtain radio network configuration information under separate state can be solved, save the step needing just to be carried out network configuration by wired connection, achieve automatic, high efficiency radio network configuration.
In addition, by to keep the constant mode of password figure place to encode to password and to encrypt, the byte number transmitted needed for radio network configuration information can be realized minimize, and by the mode of 1 byte corresponding 1 byte, the valid data of this radio network configuration information write packet are formed and detect request, the packet number transmitted needed for radio network configuration information can be reduced, therefore, the collocation method of the wireless network provided by the embodiment of the present invention, the transmitting efficiency of radio network configuration information can be improved, realize automatic high efficiency radio network configuration.
embodiment 2
Fig. 5 illustrates the flow chart of the collocation method of wireless network according to another embodiment of the present invention.The step that in Fig. 5, label is identical with Fig. 2 has identical function, for simplicity's sake, omits the detailed description to these steps.
As shown in Figure 5, the network equipment 30 be in wireless network environment can comprise multiple, the collocation method of the wireless network provided by the embodiment of the present invention, automatical and efficient configuration can be in multiple Wireless Communication Equipment in same wireless network environment, bring the experience effect that user is good.
embodiment 3
Fig. 6 illustrates the structural representation of the intelligent terminal 10 for configuring wireless network provided according to further embodiment of this invention, and as shown in Figure 6, intelligent terminal 10 comprises: coding encrypting module 110, group bag module 120 and sending module 130.
Wherein, coding encrypting module 110 is for encoding to the configuration information of wireless network and encrypting, specifically can comprise: this coding encrypting module 110 is for when the configuration information of described wireless network comprises the password of described wireless network, in the mode keeping the figure place of described password constant, described password is encoded and encrypts, and this coding encrypting module 110 for comprising service set SSID and/or the basic service set identification BSSID of described wireless network at the configuration information of described wireless network time, according to the first predetermined figure, described service set SSID and/or basic service set identification BSSID is divided into one or more data group, each described data group is supplied 8 to form ASCII character, and first is carried out to the second pre-determined bit in described ASCII character exchange process, and according to the first predetermined formula, exchange the described ASCII character after process to described first and be encrypted.
Group bag module 120 is for the configuration information by the described wireless network after coding and encryption, the valid data of packet are write according to the mode of corresponding 1 byte of 1 byte, be specially, the radio network configuration information of each byte takies the byte in valid data when writing the valid data of packet, and described packet write Probe Request is detected the service set ssid field in claim frame.
Sending module 130 detects request for sending to described wireless network, the described request of detecting comprises described Probe Request and detects claim frame, and the number that this Probe Request detects claim frame equals the byte number of described password to obtain quotient divided by the byte number of valid data in a described packet, and described quotient carry is rounded obtained number.
embodiment 4
Fig. 7 illustrates the structural representation of the Wireless Communication Equipment 30 provided according to yet another embodiment of the invention, as shown in Figure 7, this Wireless Communication Equipment 30 comprises: monitor module 310, receiver module 320, parse module 330, deciphering decoder module 340 and link block 350.
Monitor module 310 and enter listen mode for making this wireless device 30, what described listen mode allowed reception intelligent terminal to send detects request.Receiver module 320 detects request described in receiving, described in the request of detecting comprise Probe Request and detect claim frame, obtain the packet in the service set ssid field that described Probe Request detects in claim frame.Parse module 330 is for organizing described packet according to the overall budget number in described packet and this bag sequence number.Such as, the valid data in packet can be extracted, according to the overall budget number in described packet and this bag sequence number, extracted valid data be organized together.Deciphering decoder module 340 is for being decrypted described packet, decoding is with the configuration information obtaining described wireless network, specifically may be used for when described packet comprises the password of described wireless network, in the mode keeping described password figure place constant, described packet is decrypted and decodes, and when described packet comprises service set SSID and/or the basic service set identification BSSID of described wireless network, according to the second formula, described packet is decrypted, and the first certain bits after obtaining deciphering in data forms ASCII character, and process is exchanged to the second certain bits in described ASCII character.Link block 350 is for connecting described wireless network according to the configuration information of described wireless network.
embodiment 5
Fig. 8 illustrates the structural representation of the radio network configuration system 100 provided according to yet another embodiment of the invention, as shown in Figure 8, this Radio Network System 100 is in wireless network environment and comprises: the intelligent terminal 20 described in embodiment 3 and the Wireless Communication Equipment described in embodiment 4 30.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (15)

1. a collocation method for wireless network, is characterized in that, comprising:
The configuration information of wireless network is encoded and encrypts;
By the configuration information of the described wireless network after coding and encryption, write the valid data of packet according to the mode of corresponding 1 byte of 1 byte, and described packet write Probe Request is detected the service set ssid field in claim frame;
Send to described wireless network and detect request, described in the request of detecting comprise described Probe Request and detect claim frame.
2. the collocation method of wireless network according to claim 1, is characterized in that, the configuration information of described wireless network comprises the password of described wireless network, and in the mode keeping the figure place of described password constant, encodes and encrypt described password.
3. the collocation method of wireless network according to claim 1 and 2, it is characterized in that, the configuration information of described wireless network comprises service set SSID and/or the basic service set identification BSSID of described wireless network, and the described configuration information to wireless network is encoded and encrypts, and comprising:
According to the first predetermined figure, described service set SSID and/or basic service set identification BSSID is divided into one or more data group, each described data group is supplied 8 to form ASCII character, and first is carried out to the second pre-determined bit in described ASCII character exchanges process; And
According to the first predetermined formula, exchange the described ASCII character after process to described first and be encrypted.
4. the collocation method of wireless network according to claim 2, it is characterized in that, the byte number of described password is obtained quotient divided by the byte number of valid data in a described packet, and described quotient carry is rounded obtain described in the described Probe Request detected in request detect the number of claim frame.
5. a collocation method for wireless network, is characterized in that, comprising:
Enter listen mode, what described listen mode allowed reception intelligent terminal to send detects request;
Detect request described in reception, described in the request of detecting comprise Probe Request and detect claim frame, obtain the packet in the service set ssid field that described Probe Request detects in claim frame;
According to the overall budget number in described packet and this bag sequence number, described packet is organized;
Described packet is decrypted, is decoded, to obtain the configuration information of described wireless network;
According to the configuration information of described wireless network, connect described wireless network.
6. the collocation method of wireless network according to claim 5, is characterized in that, described packet comprises the password of described wireless network, and in the mode keeping described password figure place constant, is decrypted and decodes to described packet.
7. the collocation method of wireless network according to claim 5, it is characterized in that, described packet comprises service set SSID and/or the basic service set identification BSSID of described wireless network, and described described packet to be decrypted, decoding comprises: according to the second formula, described packet is decrypted, and the first certain bits after obtaining deciphering in data forms ASCII character, and process is exchanged to the second certain bits in described ASCII character.
8. for an intelligent terminal for configuring wireless network, it is characterized in that, comprising:
Coding encrypting module, for encoding to the configuration information of wireless network and encrypting;
Group bag module, for the configuration information by the described wireless network after coding and encryption, write the valid data of packet according to the mode of corresponding 1 byte of 1 byte, and described packet write ProbeRequest is detected the service set ssid field in claim frame;
Sending module, detects request for sending to described wireless network, described in the request of detecting comprise described Probe Request and detect claim frame.
9. intelligent terminal according to claim 8, it is characterized in that, described coding encrypting module, for when the configuration information of described wireless network comprises the password of described wireless network, in the mode keeping the figure place of described password constant, described password is encoded and encrypts.
10. intelligent terminal according to claim 8 or claim 9, it is characterized in that, described coding encrypting module, during for comprising service set SSID and/or the basic service set identification BSSID of described wireless network at the configuration information of described wireless network, according to the first predetermined figure, described service set SSID and/or basic service set identification BSSID is divided into one or more data group, each described data group is supplied 8 to form ASCII character, and first is carried out to the second pre-determined bit in described ASCII character exchanges process; And
According to the first predetermined formula, exchange the described ASCII character after process to described first and be encrypted.
11. intelligent terminals according to claim 9, it is characterized in that, the number that described Probe Request detects claim frame equals the byte number of described password to obtain quotient divided by the byte number of valid data in a described packet, and described quotient carry is rounded obtained number.
12. 1 kinds of Wireless Communication Equipment, is characterized in that, comprising:
Monitor module, for making described wireless device enter listen mode, what described listen mode allowed reception intelligent terminal to send detects request;
Receiver module, detects request described in receiving, described in the request of detecting comprise Probe Request and detect claim frame, obtain the packet in the service set ssid field that described Probe Request detects in claim frame;
Parse module, for organizing described packet according to the overall budget number in described packet and this bag sequence number;
Deciphering decoder module, for being decrypted described packet, decoding, to obtain the configuration information of described wireless network;
Link block, for the configuration information according to described wireless network, connects described wireless network.
13. Wireless Communication Equipment according to claim 12, it is characterized in that, described deciphering decoder module, for when described packet comprises the password of described wireless network, in the mode keeping described password figure place constant, described packet is decrypted and decodes.
14. Wireless Communication Equipment according to claim 12, it is characterized in that, described deciphering decoder module, during for comprising service set SSID and/or the basic service set identification BSSID of described wireless network at described packet, according to the second formula, described packet is decrypted, and the first certain bits after obtaining deciphering in data forms ASCII character, and process is exchanged to the second certain bits in described ASCII character.
15. 1 kinds of radio network configuration systems, described Radio Network System is in wireless network environment, it is characterized in that, described Radio Network System comprises: the intelligent terminal according to any one of claim 8 ~ 11 and the Wireless Communication Equipment according to any one of claim 12 ~ 15.
CN201510118753.7A 2015-03-18 2015-03-18 Configuration method of wireless network, intelligent terminal and wireless network equipment Active CN104703176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510118753.7A CN104703176B (en) 2015-03-18 2015-03-18 Configuration method of wireless network, intelligent terminal and wireless network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510118753.7A CN104703176B (en) 2015-03-18 2015-03-18 Configuration method of wireless network, intelligent terminal and wireless network equipment

Publications (2)

Publication Number Publication Date
CN104703176A true CN104703176A (en) 2015-06-10
CN104703176B CN104703176B (en) 2023-11-10

Family

ID=53349859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510118753.7A Active CN104703176B (en) 2015-03-18 2015-03-18 Configuration method of wireless network, intelligent terminal and wireless network equipment

Country Status (1)

Country Link
CN (1) CN104703176B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105848145A (en) * 2016-05-16 2016-08-10 福州瑞芯微电子股份有限公司 WIFI intelligent configuration method and device
CN106454819A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 WIFI access point accessing method and apparatus
CN106452924A (en) * 2016-11-30 2017-02-22 北京小米移动软件有限公司 Method and device for synchronizing wireless network configuration
CN106856609A (en) * 2017-02-28 2017-06-16 苏州福瑞思信息科技有限公司 A kind of network collocating method and device
EP3232715A1 (en) * 2016-04-14 2017-10-18 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for accessing wireless access point
CN107360566A (en) * 2017-07-25 2017-11-17 深圳市盛路物联通讯技术有限公司 Upstream data control extension method and device of the internet-of-things terminal based on type
CN107360027A (en) * 2017-07-10 2017-11-17 绵阳美菱软件技术有限公司 The distribution method, apparatus and intelligent appliance of a kind of intelligent appliance
CN108200634A (en) * 2018-02-12 2018-06-22 天津天地伟业信息系统集成有限公司 A kind of wireless network adding method of embedded device
CN108702623A (en) * 2017-05-25 2018-10-23 华为技术有限公司 A kind of configuration method and equipment of WLAN
CN110149631A (en) * 2019-05-29 2019-08-20 飞天诚信科技股份有限公司 A kind of method and system for establishing connection suitable for cloud speaker
CN110162347A (en) * 2019-05-15 2019-08-23 苏州达家迎信息技术有限公司 A kind of application program launching method, device, equipment and storage medium
WO2019233311A1 (en) * 2018-06-08 2019-12-12 阿里巴巴集团控股有限公司 Method and apparatus for device to be configured with network to access network hotspot device
CN110636588A (en) * 2018-06-25 2019-12-31 阿里巴巴集团控股有限公司 Data communication method and device
CN111866813A (en) * 2019-04-30 2020-10-30 瑞昱半导体股份有限公司 Wireless connection setting and transmitting method
WO2023236984A1 (en) * 2022-06-07 2023-12-14 中移(杭州)信息技术有限公司 Wireless network access method, apparatus and device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090047974A1 (en) * 2007-08-17 2009-02-19 Kenneth Ray Quinn Wireless network notification, messaging and access device
CN103957580A (en) * 2014-05-14 2014-07-30 俞芳 Rapid WIFI networking matching method and module for smart hardware
CN104066101A (en) * 2014-06-12 2014-09-24 北京联盛德微电子有限责任公司 Wireless local area network card equipment automatic configuration method based on wireless network
CN104270744A (en) * 2014-09-28 2015-01-07 杭州雄迈信息技术有限公司 Rapid configuration system and method for wireless network
CN104410970A (en) * 2014-12-23 2015-03-11 北京极科极客科技有限公司 Wireless intelligent accessing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090047974A1 (en) * 2007-08-17 2009-02-19 Kenneth Ray Quinn Wireless network notification, messaging and access device
CN103957580A (en) * 2014-05-14 2014-07-30 俞芳 Rapid WIFI networking matching method and module for smart hardware
CN104066101A (en) * 2014-06-12 2014-09-24 北京联盛德微电子有限责任公司 Wireless local area network card equipment automatic configuration method based on wireless network
CN104270744A (en) * 2014-09-28 2015-01-07 杭州雄迈信息技术有限公司 Rapid configuration system and method for wireless network
CN104410970A (en) * 2014-12-23 2015-03-11 北京极科极客科技有限公司 Wireless intelligent accessing method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454819A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 WIFI access point accessing method and apparatus
US10462829B2 (en) 2016-04-14 2019-10-29 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for accessing wireless access point
EP3232715A1 (en) * 2016-04-14 2017-10-18 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for accessing wireless access point
CN105848145A (en) * 2016-05-16 2016-08-10 福州瑞芯微电子股份有限公司 WIFI intelligent configuration method and device
CN106452924A (en) * 2016-11-30 2017-02-22 北京小米移动软件有限公司 Method and device for synchronizing wireless network configuration
CN106856609A (en) * 2017-02-28 2017-06-16 苏州福瑞思信息科技有限公司 A kind of network collocating method and device
US11758399B2 (en) 2017-05-25 2023-09-12 Huawei Technologies Co., Ltd. Wireless local area network configuration using probe request frame having authentication information
CN108702623A (en) * 2017-05-25 2018-10-23 华为技术有限公司 A kind of configuration method and equipment of WLAN
EP3641366A4 (en) * 2017-05-25 2020-04-22 Huawei Technologies Co., Ltd. Wireless local area network configuration method and apparatus
CN107360027A (en) * 2017-07-10 2017-11-17 绵阳美菱软件技术有限公司 The distribution method, apparatus and intelligent appliance of a kind of intelligent appliance
CN107360566A (en) * 2017-07-25 2017-11-17 深圳市盛路物联通讯技术有限公司 Upstream data control extension method and device of the internet-of-things terminal based on type
CN107360566B (en) * 2017-07-25 2020-11-27 深圳市盛路物联通讯技术有限公司 Type-based uplink data encryption control method and device for Internet of things terminal
CN108200634A (en) * 2018-02-12 2018-06-22 天津天地伟业信息系统集成有限公司 A kind of wireless network adding method of embedded device
WO2019233311A1 (en) * 2018-06-08 2019-12-12 阿里巴巴集团控股有限公司 Method and apparatus for device to be configured with network to access network hotspot device
CN110582107A (en) * 2018-06-08 2019-12-17 阿里巴巴集团控股有限公司 method and device for accessing network to be configured to network hotspot equipment
CN110636588A (en) * 2018-06-25 2019-12-31 阿里巴巴集团控股有限公司 Data communication method and device
CN111866813A (en) * 2019-04-30 2020-10-30 瑞昱半导体股份有限公司 Wireless connection setting and transmitting method
CN111866813B (en) * 2019-04-30 2024-04-19 瑞昱半导体股份有限公司 Wireless connection setting and transmitting method
CN110162347A (en) * 2019-05-15 2019-08-23 苏州达家迎信息技术有限公司 A kind of application program launching method, device, equipment and storage medium
CN110162347B (en) * 2019-05-15 2023-05-16 苏州达家迎信息技术有限公司 Application program starting method, device, equipment and storage medium
CN110149631A (en) * 2019-05-29 2019-08-20 飞天诚信科技股份有限公司 A kind of method and system for establishing connection suitable for cloud speaker
CN110149631B (en) * 2019-05-29 2023-06-13 飞天诚信科技股份有限公司 Method and system suitable for cloud loudspeaker box connection establishment
WO2023236984A1 (en) * 2022-06-07 2023-12-14 中移(杭州)信息技术有限公司 Wireless network access method, apparatus and device, and storage medium

Also Published As

Publication number Publication date
CN104703176B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN104703176A (en) Configuration method of wireless network, intelligent terminal and wireless network equipment
CN104427501B (en) Method for network access, device and system
CN110582082B (en) Method and device for accessing network to be configured to network hotspot equipment
CN104735747A (en) Information transferring and receiving method and internet-of-things equipment
CN106254147B (en) It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal
CN105072665B (en) Networking control, cut-in method and corresponding terminal and equipment
CN103765848A (en) Apparatus and methods for media access control replacement
CN104410970A (en) Wireless intelligent accessing method
CN110582107A (en) method and device for accessing network to be configured to network hotspot equipment
CN105101102B (en) Multicast transmission method, information extracting method and corresponding terminal and equipment
CN104065765A (en) WIFI data transmitting method and system and related method thereof
CN103402198B (en) A kind of method that radio communication terminal encryption parameter transmits
CN104837132A (en) Wi-Fi (Wireless-Fidelity) network sharing method and device
CN105119900B (en) Information secure transmission method, networking cut-in method and corresponding terminal
CN105765936A (en) Apparatus and methods for mac header compression
WO2016015222A1 (en) Data encryption and transmission method and device
CN104812093B (en) Method and device for accessing WIFI equipment of smart home to network
CN104113395A (en) Safe transmission method for data of Internet of Things under wireless poor network environment
WO2015096410A1 (en) Method and device for sending and receiving radio parameter
WO2014012386A1 (en) Data transmission method, system and device, method for terminal to acquire data and terminal
US20240107313A1 (en) Control frame processing method, control frame generating method, station, access point, and storage medium
WO2014094227A1 (en) Communication method, system and device for optical network system
CN105120454B (en) Information transferring method, networking cut-in method and corresponding terminal
CN105007163A (en) Pre-shared key (PSK) transmitting and acquiring methods and transmitting and acquiring devices
JP2014502461A (en) Method and apparatus for sending and receiving secure and non-secure data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant