CN107483275A - Configure the method, apparatus and system of wireless routing - Google Patents

Configure the method, apparatus and system of wireless routing Download PDF

Info

Publication number
CN107483275A
CN107483275A CN201710876125.4A CN201710876125A CN107483275A CN 107483275 A CN107483275 A CN 107483275A CN 201710876125 A CN201710876125 A CN 201710876125A CN 107483275 A CN107483275 A CN 107483275A
Authority
CN
China
Prior art keywords
ssid
user terminal
key
wireless routing
packet
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.)
Pending
Application number
CN201710876125.4A
Other languages
Chinese (zh)
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 Spotmau Information Technology Co Ltd
Original Assignee
Shenzhen Spotmau Information 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 Spotmau Information Technology Co Ltd filed Critical Shenzhen Spotmau Information Technology Co Ltd
Priority to CN201710876125.4A priority Critical patent/CN107483275A/en
Publication of CN107483275A publication Critical patent/CN107483275A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/10Routing in connection-oriented networks, e.g. X.25 or ATM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords

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 provides a kind of method, apparatus and system for configuring wireless routing, it is related to communication technical field.The method for configuring wireless routing is used to configure wireless routing to second user terminal by the first user terminal, and configuring the method for wireless routing includes:First user terminal is by the codified field in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding;Multiple packets are sent to second user terminal by the first user terminal;Second user terminal obtains multiple packets, and according to the codified field reduction SSID and key in multiple packets, so as to the wireless parameter according to SSID and cipher key configuration second user terminal.The method, apparatus and system of configuration wireless routing provided by the invention can the very convenient wireless parameter for efficiently configuring the Intelligent hardware for not possessing human-computer interaction interface, so as to which very convenient efficiently connect upper wireless routing.

Description

Configure the method, apparatus and system of wireless routing
Technical field
The present invention relates to communication technical field, in particular to a kind of method, apparatus for configuring wireless routing and is System.
Background technology
With the progress of society, increasing Intelligent hardware such as wifi smart jacks, intelligent air condition, ipcamera And control etc. is applied in daily life in intelligent wifi, the life to people brings great convenience.
So, many Intelligent hardwares do not provide human-computer interaction interface in actual applications, it is impossible to as PC and intelligent hand The Intelligent hardware that machine etc. possesses human-computer interaction interface equally can search for the wireless routing that selection is specified, and input connection password with straight Wireless router is connect in succession.
Therefore, a kind of effective scheme how is provided so that the Intelligent hardware for not possessing human-computer interaction interface can be very Upper wireless routing is conveniently connected, is a urgent problem to be solved in the prior art.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of method, apparatus and system for configuring wireless routing To improve above mentioned problem.
In a first aspect, the embodiments of the invention provide the method for the first configuration wireless routing, for passing through the first user Terminal configures wireless routing to second user terminal, and methods described includes:
First user terminal is by the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding Codified field, the SSID and the key include at least one character, and each packet includes the SSID or institute State at least one character of key;
The multiple packet is sent to the second user terminal by the first user terminal;
Second user terminal obtains the multiple packet, and according to the codified field reduction in the multiple packet The SSID and the key, so as to the wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
The method of configuration wireless routing as described above, it is preferable that the packet includes destination-mac address, the mesh Mark MAC Address includes the codified field, and first user terminal is by the SSID of the wireless routing and corresponding key The step of encoding the codified field at most individual packet includes:
First user terminal is by the SSID of the wireless routing and corresponding key coding to the multiple packet Destination-mac address codified field, the destination-mac address after coding include load information and with the Destination MAC Virtual ip address corresponding to address;
Load information in the multiple packet corresponds to the SSID and key of the wireless routing.
The method of configuration wireless routing as described above, it is preferable that methods described also includes:
First user terminal encrypts the SSID and the key, obtains encrypted characters string;
First user terminal is by the SSID of the wireless routing and the at most individual packet of corresponding key coding The step of codified field, includes:
First user terminal is by the codified field in the at most individual packet of the encrypted characters string encoding.
Second aspect, the embodiments of the invention provide the method for second of configuration wireless routing, configure the side of wireless routing Method is applied to the first user terminal, and methods described includes:
By the codified field in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding, institute Stating SSID and the key includes at least one character, and each packet includes at least the one of the SSID or described keys Individual character;
The multiple packet is sent to second user terminal, so that the second user terminal is according to the multiple number The SSID and the key are reduced according to bag.
The third aspect, the embodiments of the invention provide the method for the third configuration wireless routing, configure the side of wireless routing Method is applied to the second user terminal with the first user terminal communication, and methods described includes:
Obtain multiple packets of the first user terminal transmission, the multiple packet include the SSID of wireless routing with Corresponding key, the SSID and the key include at least one character, and each packet includes the SSID or institute State at least one character of key;
The SSID and the key are reduced according to the multiple packet;
Wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
Fourth aspect, the embodiments of the invention provide a kind of system for configuring wireless routing, the configuration wireless routing System includes the first user terminal and second user terminal;
First user terminal includes:
Coding module, for by the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding Codified field, the SSID and the key include at least one character, and each packet includes the SSID or institute State at least one character of key;
Sending module, for the multiple packet to be sent into the second user terminal;
The second user terminal includes:
Acquisition module, for obtaining the multiple packet;
Recovery module, for reducing the SSID and the key according to the codified field in the multiple packet, So as to the wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
The system of configuration wireless routing as described above, it is preferable that the packet includes destination-mac address, the mesh Mark MAC Address includes the codified field, and the coding module is used for the SSID of the wireless routing and corresponding key Encode to the codified field of the destination-mac address of the multiple packet, the destination-mac address after coding includes load Information and virtual ip address corresponding with the destination-mac address;
Load information in the multiple packet corresponds to the SSID and key of the wireless routing.
The system of configuration wireless routing as described above, it is preferable that first user terminal also includes:
Encrypting module, for the SSID and the key to be encrypted, obtain encrypted characters string;
The coding module is used for the codified field in the at most individual packet of the encrypted characters string encoding.
5th aspect, it is whole applied to the first user the embodiments of the invention provide the device of the first configuration wireless routing End, the device of the configuration wireless routing include:
Coding module, for by the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding Codified field, the SSID and the key include at least one character, and each packet includes the SSID or institute State at least one character of key;
Sending module, for the multiple packet to be sent into second user terminal, so as to the second user terminal The SSID and the key are reduced according to the multiple packet.
6th aspect, the embodiments of the invention provide the device of second of configuration wireless routing, the configuration wireless routing Device be applied to second user terminal with the first user terminal communication, the device of the configuration wireless routing includes:
Acquisition module, the multiple packets sent for obtaining the first user terminal, the multiple packet include nothing Circuit by SSID and corresponding key, the SSID and the key include at least one character, each packet wraps Include at least one character of the SSID or described keys;
Recovery module, for reducing the SSID and the key according to the multiple packet;
Configuration module, for the wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
For prior art, the method, apparatus and system of configuration wireless routing provided by the invention have as follows beneficial Effect:
The method of the first configuration wireless routing provided by the invention and the system of configuration wireless routing pass through the first user Codified field in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding will be more by terminal Individual packet is sent to second user terminal, and second user terminal reduces this according to the codified field in multiple packets SSID and key.In this way, can be according to obtained SSID and the wireless parameter of cipher key configuration second user terminal, so as to second user Terminal very convenient can efficiently connect upper wireless routing.
It is provided by the invention second configuration wireless routing method and the first configuration wireless routing device pass through by Codified field in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding, and by the plurality of number Second user terminal is sent to according to bag.In this way, the second user terminal for receiving the plurality of packet can be according to multiple data Bag reduction obtains the SSID and key, so as to which very convenient efficiently connect upper wireless routing.
It is provided by the invention the third configuration wireless routing method and second configuration wireless routing device pass through by Multiple packets that the first user terminal obtained is sent reduce to obtain the SSID of wireless routing and corresponding key, and according to The SSID and the wireless parameter of corresponding cipher key configuration second user terminal arrived.Such second user terminal is according to obtained SSID Very convenient upper wireless routing can be efficiently connected with corresponding key.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the system application environment schematic diagram for the configuration wireless routing that present pre-ferred embodiments provide.
Fig. 2 is the flow chart of the method for the configuration wireless routing that first embodiment of the invention provides.
Fig. 3 is the mapping relations schematic diagram of the multicast ip address that first embodiment of the invention provides and MAC Address.
Fig. 4 is the flow chart of the method for the configuration wireless routing that second embodiment of the invention provides.
Fig. 5 is the flow chart of the method for the configuration wireless routing that third embodiment of the invention provides.
Fig. 6 is the flow chart of the method for the configuration wireless routing that fourth embodiment of the invention provides.
Fig. 7 is the block diagram of the system for the configuration wireless routing that fifth embodiment of the invention provides.
Fig. 8 is the block diagram of the device for the configuration wireless routing that sixth embodiment of the invention provides.
Fig. 9 is the block diagram of the device for the configuration wireless routing that the seven or six embodiment of the invention provides.
Icon:The user terminals of 10- first;110- link blocks;120- encrypting modules;130- coding modules;140- is sent Module;20- second user terminals;210- acquisition modules;220- recovery modules;230- configuration modules;30- wireless routings.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
As shown in figure 1, be present pre-ferred embodiments provide configuration wireless routing system application environment schematic diagram, institute The system for stating configuration wireless routing includes the first user terminal 10 and second user terminal 20, and the first user terminal 10 is pre-stored There are the SSID of the pre-configured wireless routing 30 of second user terminal 20 and corresponding key, or the first user terminal 10 possesses people Machine interactive interface simultaneously can establish connection by human-computer interaction interface and the wireless routing 30.
First embodiment
Referring to Fig. 2, it is the configuration nothing that present pre-ferred embodiments are applied to the system for configuring wireless routing shown in Fig. 1 Circuit by method flow chart, the flow shown in Fig. 2 will be described in detail below.
Step S101, the first user terminal 10 connection wireless routing 30.
In the embodiment of the present invention, the first user terminal 10 is the intelligent terminal for possessing human-computer interaction interface, such as individual People's computer or smart mobile phone etc..
In the embodiment of the present invention, the wireless routing 30 is that the pre-configured wireless routing 30 of second user terminal 20 (is treated The wireless routing 30 of connection).
Before connecting wireless routing 30, wireless routing 30 broadcasts its SSID, and the first user terminal 10 obtains to obtain wireless routing The SSID of 30 broadcast, user select key corresponding to the SSID and input to establish connection with wireless routing 30.Now, first User terminal 10 records key corresponding to the SSID and the SSID of the wireless routing 30 of the connection.
It should be understood that the purpose of the first user terminal 10 connection wireless routing 30 is obtained for the first user terminal 10 The SSID of wireless routing 30 and corresponding key.In some other embodiments, the first user terminal 10 can not possessed Human-computer interaction interface is not connected with wireless routing 30, as long as ensuring that the acquisition of the first user terminal 10 has the wireless routing 30 SSID and corresponding key, in this case, step S101 can be omitted.
Step S102, the first user terminal 10 is by the SSID of wireless routing 30 and the at most individual packet of corresponding key coding In codified field.
After first user terminal 10 obtains SSID and the corresponding key of wireless routing 30, by the SSID and corresponding key Codified field in the at most individual packet of coding.
Wherein, the codified field of packet refers to the codified field of the destination-mac address in packet, i.e., by SSID In corresponding key coding to bag length or the codified field of the destination-mac address of packet.
Specifically, the first user terminal 10 will obtain the SSID and the at most individual data of corresponding key coding of wireless routing 30 The codified field of the destination-mac address of bag.And destination-mac address codified code field enter with mark MAC Address it is corresponding Virtual ip address and characterize data length configuring preamble code, that is, encode after destination-mac address codified field bag Load information, virtual ip address corresponding with destination-mac address and configuring preamble code are included.Load information in multiple packets The SSID and key of corresponding wireless routing 30.
Wherein, SSID and key include at least one character, and the load information of each packet includes SSID or close At least one character of key, the load information in multiple packets correspond to the SSID and key of wireless routing 30.For example, without circuit SSID by 30 is " ABCD ", and corresponding key is " 12345678 ", then the SSID of wireless routing 30 and corresponding key include " A ", " B ", " C ", " D ", " 1 ", " 2 ", " 3 ", " 4 ", " 5 ", " 6 ", " 7 " and " 8 " amounts to 12 characters, and this 12 characters are Load information is simultaneously separately encoded at most individual packet.Preferably, destination-mac address in each packet in the embodiment of the present invention One character of codified code field, this such 12 characters then correspond coding target into 12 packets respectively The codified field of MAC Address.
Multiple packets are sent to second user terminal 20 by step S103, the first user terminal 10.
By the codified of destination-mac address in the SSID of wireless routing 30 and the at most individual packet of corresponding key coding After field, the plurality of packet is sent to second user terminal 20 by the first user terminal 10.The multiple packet can be Second user terminal 20 is sent in a manner of unicast, multicast or broadcast.
Step S104, second user terminal 20 obtain multiple packets, and according to the codified field in multiple packets Reduce SSID and key.
After second user terminal 20 gets multiple packets of the first user terminal 10 transmission, according in multiple packets Codified field restore SSID and key.
Specifically, second user terminal 20 opens listening mode, and ceaselessly switched according to the channel switch time of setting Channel with capture the first user terminal 10 transmission packet.The codified field of destination-mac address includes table in packet The configuring preamble code of data length is levied, second user terminal 20 judges that whether received packet is complete according to configuring preamble code, Above-mentioned received data packet process is repeated if not received, until having received the multiple of the first user terminal 10 transmission Packet.
Certain mapping relations be present with MAC Address in IP address.For example, IEEE is provided, the MAC Address of Ethernet is 6 Byte, 48 altogether.D classes in IP address are multicast ip address, and multicast ip address has as shown in Figure 3 reflect with MAC Address Relation is penetrated, preceding 24 cogent provisions of multicast mac address are 01-00-5e, and the 25th is 0, then 23 corresponding multicast ip address 3 afterwards.Therefore, according to this mapping relations, can be obtained after multiple packets are obtained according to virtual ip address corresponding Destination-mac address, so as to parse to obtain the load information in the codified field of destination-mac address in multiple packets, i.e., without All characters that circuit is included by 30 SSID and corresponding key.So as to restore wireless routing 30 according to these characters SSID and corresponding key.
Step S105, second user terminal 20 is according to the SSID of reduction and the wireless ginseng of cipher key configuration second user terminal 20 Number.
After second user terminal 20 restores SSID and the corresponding key of wireless routing 30, storage wireless routing 30 SSID and corresponding key, and according to the SSID of wireless routing 30 and the wireless ginseng of corresponding cipher key configuration second user terminal 20 Number.In this way, after second user terminal 20 captures the SSID of the wireless routing 30, you can directly connected according to the corresponding key Connect the wireless routing 30.
In the embodiment of the present invention, the SSID and key of wireless routing 30 are encoded to destination-mac address as load information Codified field, the SSID and key of wireless routing 30 are restored according to load information after second user terminal 20 is sent to. Certainly, in some other embodiments, the SSID and key of wireless routing 30 can also be according to the bag long codes of packet at most The codified field of individual packet.Specifically, the codified word of the multiple packets of the character code according to corresponding to SSID and key Section, the packet of multiple specified packet length is obtained, the long corresponding different character of different bags, is so being sent to second user terminal Second user terminal 20 also can be according to the long SSID and key for restoring wireless routing 30 of bag of multiple packets after 20.Consider When using bag long codes to MAC Address encoding ratio, a packet can carry more data messages.Therefore, in the present invention In embodiment, using the mode of MAC Address coding.
To sum up, the method for configuration wireless routing provided in an embodiment of the present invention is by by pre-configured wireless routing 30 Codified field in SSID and the at most individual packet of corresponding key coding, and the plurality of packet is sent to second user Terminal 20, receiving the second user terminal 20 of the plurality of packet can reduce to obtain the SSID and close according to multiple packets Key, so as to the wireless parameter according to SSID and corresponding cipher key configuration second user terminal 20.In this way, work as second user terminal 20 After the SSID for capturing the wireless routing 30, you can be directly connected to the wireless routing 30 according to the corresponding key.More traditional Mode is compared, and the method provided in an embodiment of the present invention for configuring wireless routing need not additionally increase any in former hardware design Cost, the wireless parameter of the Intelligent hardware of configuration unmanned plane interactive interface that can be simple and quick, can conveniently connect Upper wireless routing 30.
Second embodiment
Referring to Fig. 4, it is the configuration nothing that present pre-ferred embodiments are applied to the system for configuring wireless routing shown in Fig. 1 Circuit by method flow chart, the flow shown in Fig. 4 will be described in detail below.
Step S201, the first user terminal 10 connection wireless routing 30.
Step S202, the first user terminal 10 encrypt the SSID of wireless routing 30 and corresponding key, obtain encrypted word Symbol string.
First user terminal 10 is preset with encryption key, and the first user terminal 10 is obtaining the SSID of wireless routing 30 and right After the key answered, the SSID of wireless routing 30 and corresponding key are encrypted by encryption key, obtain encrypted characters string.
For example, the SSID of wireless routing 30 is " ABCD ", corresponding key is " 12345678 ", then the first user terminal 10 The character string " ABCD12345678 " that the SSID of wireless routing 30 and corresponding key form is encrypted by encryption key. Obtain an encrypted characters string.
Step S203, the first user terminal 10 is by the codified field in the at most individual packet of encrypted characters string encoding.
First user terminal 10 is encrypted the SSID of wireless routing 30 and corresponding key by encryption key After character string, by the codified field of destination-mac address in the at most individual packet of encrypted characters string encoding.
It is assumed that the encrypted characters string obtained after character string " ABCD12345678 " encryption of SSID and corresponding key composition For " ef2345 ", then the first user terminal 10 can correspond 6 characters in encrypted characters string " ef2345 " coding to 6 Individual data include the codified field of middle destination-mac address.Detailed process is identical with the principle of step S102 in embodiment, This is repeated no more.
It should be noted that the codified field in the above-mentioned at most individual packet by encrypted characters string encoding, and first The codified field in the SSID of wireless routing 30 and the at most individual packet of corresponding key coding is only lifted in embodiment Example explanation, it is not to being limited during specific coding.Multiple packets are sent to by step S204, the first user terminal 10 Second user terminal 20.
Step S205, second user terminal 20 obtain multiple packets, and according to the codified field in multiple packets Reduce encrypted characters string.
Second user terminal 20 opens listening mode, and ceaselessly switches channel according to the channel switch time of setting to catch The packet that user terminal 10 of winning the first place is sent, after having received multiple packets that the first user terminal 10 is sent, you can reduction Obtain encrypted characters string.
Step S206, second user terminal 20 decrypt encrypted characters string according to pre-stored decruption key, obtain SSID And key.
Second user terminal 20 is pre-stored with decruption key corresponding with encryption key, after obtaining encrypted characters string, the Encrypted characters string is decrypted according to pre-stored decruption key for two user terminals 20, i.e. reduction obtains SSID and corresponding close Key.
Step S207, according to SSID and the wireless parameter of cipher key configuration second user terminal 20.
To sum up, the method for configuration wireless routing provided in an embodiment of the present invention is by by pre-configured wireless routing 30 Encode codified field at most individual packet after SSID and the encryption of corresponding key, and the plurality of packet is sent to the Two user terminals 20, receive the second user terminal 20 of the plurality of packet and can be reduced according to multiple packets and encrypted SSID and key (encrypted characters string) afterwards, then reduce to obtain SSID and correspond to close according to pre-stored decryption key decryption Key, so as to the wireless parameter according to SSID and corresponding cipher key configuration second user terminal 20.In this way, work as second user terminal 20 After the SSID for capturing the wireless routing 30, you can be directly connected to the wireless routing 30 according to the corresponding key.More traditional Mode is compared, and the method provided in an embodiment of the present invention for configuring wireless routing need not additionally increase any in former hardware design Cost, can simple and quick configuration unmanned plane interactive interface Intelligent hardware wireless parameter, can safe and convenient company Upper wireless routing 30.
3rd embodiment
Referring to Fig. 5, it is the configuration wireless routing that present pre-ferred embodiments are applied to the first user terminal 10 in Fig. 1 The flow chart of method, the flow shown in Fig. 5 will be described in detail below.
Step S301, by the SSID of pre-configured wireless routing 30 and the at most individual packet of corresponding key coding can Code field.
Wherein, SSID and key include at least one character, and each packet includes at least the one of SSID or key Individual character.
Step S302, multiple packets are sent to second user terminal 20.
To sum up, the method for configuration wireless routing provided in an embodiment of the present invention is by by pre-configured wireless routing 30 Codified field in SSID and the at most individual packet of corresponding key coding, and the plurality of packet is sent to second user Terminal 20.In this way, this can be reduced according to multiple packets by receiving the second user terminal 20 of the plurality of packet SSID and key, so as to which very convenient efficiently connect upper wireless routing 30.
Fourth embodiment
Referring to Fig. 6, it is the configuration wireless routing that present pre-ferred embodiments are applied to second user terminal 20 in Fig. 1 The flow chart of method, the flow shown in Fig. 6 will be described in detail below.
Step S401, obtains multiple packets that the first user terminal 10 is sent, and multiple packets include wireless routing 30 SSID and corresponding key.
Wherein, SSID and key include at least one character, and each packet includes at least the one of SSID or key Individual character.
Step S402, SSID and key are reduced according to multiple packets.
Step S403, according to SSID and the wireless parameter of cipher key configuration second user terminal 20.
To sum up, the method for configuration wireless routing provided in an embodiment of the present invention is by the way that the first user terminal 10 of acquisition is sent out The multiple packets sent reduce to obtain the SSID of wireless routing 30 and corresponding key, and according to obtained SSID and corresponding close The wireless parameter of key configuration second user terminal 20.Such second user terminal 20 is according to obtained SSID and corresponding key energy Enough very convenient upper wireless routings 30 of efficiently connection.
5th embodiment
Referring to Fig. 7, be the block diagram of the system for the configuration wireless routing that present pre-ferred embodiments provide, it is described The system of configuration wireless routing includes the first user terminal 10 and second user terminal 20, and the first user terminal 10 includes:Even Connection module 110, encrypting module 120, coding module 130 and sending module 140, second user terminal 20 include acquisition module 210, Recovery module 220 and configuration module 230.
Link block 110 is used to connect wireless routing 30.
Before connecting wireless routing 30, wireless routing 30 broadcasts its SSID, and the first user terminal 10 obtains to obtain wireless routing The SSID of 30 broadcast, user select key corresponding to the SSID and input, and then the first user terminal 10 passes through link block 110 Establish and connect with wireless routing 30.Now, the first user terminal 10 records the SSID and the SSID of the wireless routing 30 of the connection Corresponding key.
It should be understood that the link block 110 can be used for performing above-mentioned step S101 or step S201.
Encrypting module 120 is used to encrypt SSID and key.
First user terminal 10 is preset with encryption key, and the first user terminal 10 is obtaining the SSID of wireless routing 30 and right After the key answered, the SSID of wireless routing 30 and corresponding key are encrypted by encryption key for its encrypting module 120, are obtained To encrypted characters string.
It should be understood that the encrypting module 120 can be used for performing above-mentioned step S202.
Coding module 130 is used for the SSID of pre-configured wireless routing 30 and the at most individual packet of corresponding key coding In codified field.Or coding module 130 is used for compiling in the at most individual packet of obtained encrypted characters string encoding Code field.The SSID and the key include at least one character, and each packet includes SSID or key at least One character.
It should be understood that the coding module 130 can be used for performing above-mentioned step S102 or S203.
Sending module 140 is used to multiple packets being sent to second user terminal 20.
It should be understood that the sending module 140 can be used for performing above-mentioned step S103 or step S204.
Acquisition module 210 is used to obtain multiple packets that the first user terminal 10 is sent, and is wrapped in the multiple packet The SSID of wireless routing 30 and corresponding key are included, the SSID and the key include at least one character, each data Bao Jun includes at least one character of the SSID or described keys.
It should be understood that the acquisition module 210, which can be used for performing in above-mentioned step S104, obtains multiple packets Multiple packets this sub-steps is obtained in this sub-step, or step S205.
Recovery module 220 is used for according to the codified field reduction SSID and key in the multiple packet, so as to according to According to the wireless parameter of second user terminal 20 described in the SSID and the cipher key configuration.Or for according in multiple packets Codified field reduction encrypted characters string, and encrypted characters string is decrypted according to the decruption key that prestores, obtains SSID and close Key.
It should be understood that the recovery module 220 can be used for performing in above-mentioned S104 according in multiple packets can Code field reduces SSID and key this sub-step, or step S206 with step S205 according to compiling in multiple packets This sub-step of code field reduction encrypted characters string.
Configuration module 230 is used for the wireless parameter according to SSID and cipher key configuration second user terminal 20.
After second user terminal 20 restores SSID and the corresponding key of wireless routing 30, storage wireless routing 30 SSID and corresponding key, and according to the SSID of wireless routing 30 and the wireless ginseng of corresponding cipher key configuration second user terminal 20 Number.
It should be understood that the configuration module 230 can be used for performing above-mentioned step S105 or step S207.
To sum up, the system of configuration wireless routing provided in an embodiment of the present invention is by by pre-configured wireless routing 30 Codified field in SSID and the at most individual packet of corresponding key coding, and the plurality of packet is sent to second user Terminal 20, receiving the second user terminal 20 of the plurality of packet can reduce to obtain the SSID and close according to multiple packets Key, so as to the wireless parameter according to SSID and corresponding cipher key configuration second user terminal 20.In this way, work as second user terminal 20 After the SSID for capturing the wireless routing 30, you can be directly connected to the wireless routing 30 according to the corresponding key.More traditional Mode is compared, and the system provided in an embodiment of the present invention for configuring wireless routing need not additionally increase any in former hardware design Cost, the wireless parameter of the Intelligent hardware of configuration unmanned plane interactive interface that can be simple and quick, can conveniently connect Upper wireless routing 30.
Sixth embodiment
Referring to Fig. 8, it is the configuration wireless routing applied to the first user terminal 10 that present pre-ferred embodiments provide Device block diagram.The device of the configuration wireless routing includes link block 110, encrypting module 120, coding module 130 and sending module 140.
Link block 110 is used to connect wireless routing 30.
It should be understood that the link block 110 can be used for performing above-mentioned step S101 or step S201.
Encrypting module 120 is used to encrypt SSID and key, obtains encrypted characters string.
It should be understood that the encrypting module 120 can be used for performing above-mentioned step S202.
Coding module 130 is used for the SSID of pre-configured wireless routing 30 and the at most individual packet of corresponding key coding In codified field.Or coding module 130 is used for the codified field in the at most individual packet of encrypted characters string encoding. The SSID and the key include at least one character, and each packet includes at least one word of SSID or key Symbol.
It should be understood that the coding module 130 can be used for performing above-mentioned step S102 or S203 or step S301.
Sending module 140 is used to multiple packets being sent to second user terminal 20.
It should be understood that the sending module 140 can be used for performing above-mentioned step S103 or step S204 or step S302。
To sum up, the device of configuration wireless routing provided in an embodiment of the present invention is by by pre-configured wireless routing 30 Codified field in SSID and the at most individual packet of corresponding key coding, and the plurality of packet is sent to second user Terminal 20.In this way, this can be reduced according to multiple packets by receiving the second user terminal 20 of the plurality of packet SSID and key, so as to which very convenient efficiently connect upper wireless routing 30.
7th embodiment
Referring to Fig. 9, it is the configuration wireless routing applied to second user terminal 20 that present pre-ferred embodiments provide Device block diagram.The device of the configuration wireless routing includes acquisition module 210, recovery module 220 and configuration mould Block 230.
Acquisition module 210 is used to obtain multiple packets that the first user terminal 10 is sent.
It should be understood that the acquisition module 210, which can be used for performing in above-mentioned step S104, obtains multiple packets Multiple packets this sub-steps, or step S401 are obtained in this sub-step, or step S205.
Recovery module 220 is used for according to the codified field reduction SSID and key in multiple packets.
It should be understood that the recovery module 220 can be used for performing in above-mentioned S104 according in multiple packets can Code field reduces SSID and key this sub-step, or step S206 with step S205 according to compiling in multiple packets This sub-step of code field reduction encrypted characters string, or step S402.
Configuration module 230 is used for the wireless parameter according to SSID and cipher key configuration second user terminal 20.
It should be understood that the configuration module 230 can be used for performing above-mentioned step S105 or step S207 or step S403。
To sum up, the device of configuration wireless routing provided in an embodiment of the present invention is by the way that the first user terminal 10 of acquisition is sent out The multiple packets sent reduce to obtain the SSID of wireless routing 30 and corresponding key, and according to obtained SSID and corresponding close The wireless parameter of key configuration second user terminal 20.Such second user terminal 20 is according to obtained SSID and corresponding key energy Enough very convenient upper wireless routings 30 of efficiently connection.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation any this reality be present The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, other identical element also be present in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of method for configuring wireless routing, for configuring wireless routing to second user terminal by the first user terminal, Characterized in that, methods described includes:
First user terminal is by compiling in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding Code field, the SSID and the key include at least one character, and it is close that each packet includes the SSID or described At least one character of key;
The multiple packet is sent to the second user terminal by the first user terminal;
Second user terminal obtains the multiple packet, and according to described in the codified field reduction in the multiple packet SSID and the key, so as to the wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
2. the method for configuration wireless routing according to claim 1, it is characterised in that the packet includes Destination MAC Address, the destination-mac address include the codified field, first user terminal by the SSID of the wireless routing and The step of codified field in the at most individual packet of corresponding key coding, includes:
First user terminal is by the mesh of the SSID of the wireless routing and corresponding key coding to the multiple packet Mark the codified field of MAC Address, the destination-mac address after coding include load information and with the destination-mac address Corresponding virtual ip address;
Load information in the multiple packet corresponds to the SSID and key of the wireless routing.
3. the method for configuration wireless routing according to claim 1, it is characterised in that methods described also includes:
First user terminal encrypts the SSID and the key, obtains encrypted characters string;
First user terminal is by compiling in the SSID of the wireless routing and the at most individual packet of corresponding key coding The step of code field, includes:
First user terminal is by the codified field in the at most individual packet of the encrypted characters string encoding.
A kind of 4. method for configuring wireless routing, applied to the first user terminal, it is characterised in that methods described includes:
It is described by the codified field in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding SSID and the key include at least one character, and each packet is at least one including the SSID or described keys Character;
The multiple packet is sent to second user terminal, so that the second user terminal is according to the multiple packet Reduce the SSID and the key.
5. a kind of method for configuring wireless routing, applied to the second user terminal with the first user terminal communication, its feature exists In methods described includes:
Multiple packets of the first user terminal transmission are obtained, the multiple packet includes the SSID and correspondingly of wireless routing Key, the SSID and the key include at least one character, and it is close that each packet includes the SSID or described At least one character of key;
The SSID and the key are reduced according to the multiple packet;
Wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
6. a kind of system for configuring wireless routing, it is characterised in that including the first user terminal and second user terminal;
First user terminal includes:
Coding module, for by compiling in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding Code field, the SSID and the key include at least one character, and it is close that each packet includes the SSID or described At least one character of key;
Sending module, for the multiple packet to be sent into the second user terminal;
The second user terminal includes:
Acquisition module, for obtaining the multiple packet;
Recovery module, for reducing the SSID and the key according to the codified field in the multiple packet, so as to Wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
7. the system of configuration wireless routing according to claim 6, it is characterised in that the packet includes Destination MAC Address, the destination-mac address include the codified field, the coding module be used for the SSID of the wireless routing and Corresponding key coding is to the codified field of the destination-mac address of the multiple packet, the Destination MAC after coding Location includes load information and virtual ip address corresponding with the destination-mac address;
Load information in the multiple packet corresponds to the SSID and key of the wireless routing.
8. the system of configuration wireless routing according to claim 6, it is characterised in that first user terminal also wraps Include:
Encrypting module, for the SSID and the key to be encrypted, obtain encrypted characters string;
The coding module is used for the codified field in the at most individual packet of the encrypted characters string encoding.
9. a kind of device for configuring wireless routing, applied to the first user terminal, it is characterised in that the configuration wireless routing Device includes:
Coding module, for by compiling in the SSID of pre-configured wireless routing and the at most individual packet of corresponding key coding Code field, the SSID and the key include at least one character, and it is close that each packet includes the SSID or described At least one character of key;
Sending module, for the multiple packet to be sent into second user terminal, so as to the second user terminal foundation The multiple packet reduces the SSID and the key.
10. a kind of device for configuring wireless routing, applied to the second user terminal with the first user terminal communication, its feature exists In the device of the configuration wireless routing includes:
Acquisition module, the multiple packets sent for obtaining the first user terminal, the multiple packet include no circuit By SSID and corresponding key, the SSID and the key include at least one character, each packet includes institute State at least one character of SSID or described keys;
Recovery module, for reducing the SSID and the key according to the multiple packet;
Configuration module, for the wireless parameter according to second user terminal described in the SSID and the cipher key configuration.
CN201710876125.4A 2017-09-25 2017-09-25 Configure the method, apparatus and system of wireless routing Pending CN107483275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710876125.4A CN107483275A (en) 2017-09-25 2017-09-25 Configure the method, apparatus and system of wireless routing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710876125.4A CN107483275A (en) 2017-09-25 2017-09-25 Configure the method, apparatus and system of wireless routing

Publications (1)

Publication Number Publication Date
CN107483275A true CN107483275A (en) 2017-12-15

Family

ID=60586390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710876125.4A Pending CN107483275A (en) 2017-09-25 2017-09-25 Configure the method, apparatus and system of wireless routing

Country Status (1)

Country Link
CN (1) CN107483275A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104723A (en) * 2018-07-13 2018-12-28 Oppo(重庆)智能科技有限公司 A kind of network name display methods and relevant device
CN110650516A (en) * 2019-09-23 2020-01-03 芯海科技(深圳)股份有限公司 Network distribution method and device, Internet of things equipment, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660726A (en) * 2015-02-03 2015-05-27 普联技术有限公司 Network configuration method, device and system for intelligent device
CN104735747A (en) * 2013-12-20 2015-06-24 联发科技(新加坡)私人有限公司 Information transferring and receiving method and internet-of-things equipment
CN105120456A (en) * 2015-09-08 2015-12-02 南京创维信息技术研究院有限公司 Method and system for intelligent device to access to wireless network quickly
US20160315762A1 (en) * 2013-12-15 2016-10-27 Samsung Electronics Co., Ltd. Secure communication method and apparatus and multimedia device employing the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160315762A1 (en) * 2013-12-15 2016-10-27 Samsung Electronics Co., Ltd. Secure communication method and apparatus and multimedia device employing the same
CN104735747A (en) * 2013-12-20 2015-06-24 联发科技(新加坡)私人有限公司 Information transferring and receiving method and internet-of-things equipment
CN104660726A (en) * 2015-02-03 2015-05-27 普联技术有限公司 Network configuration method, device and system for intelligent device
CN105120456A (en) * 2015-09-08 2015-12-02 南京创维信息技术研究院有限公司 Method and system for intelligent device to access to wireless network quickly

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104723A (en) * 2018-07-13 2018-12-28 Oppo(重庆)智能科技有限公司 A kind of network name display methods and relevant device
CN110650516A (en) * 2019-09-23 2020-01-03 芯海科技(深圳)股份有限公司 Network distribution method and device, Internet of things equipment, terminal equipment and storage medium
CN110650516B (en) * 2019-09-23 2021-10-08 芯海科技(深圳)股份有限公司 Network distribution method and device, Internet of things equipment, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104168625B (en) Smart machine and its method and wireless routing device for being connected to wireless routing device
CN101730987B (en) Managing network components using USB keys
CN103945369B (en) A kind of length by checking WIFI packets realizes the Internet-surfing configuration method of WIFI equipment
CN102917338B (en) Method for achieving SIM (subscriber identity module) card function on terminal, terminal and UICC (universal integrated circuit card)
CN106535288A (en) Method for sending and obtaining wifi networking information and corresponding apparatus
CN103929748A (en) Internet of things wireless terminal, configuration method thereof and wireless network access point
CN105554907A (en) General method for configuring WiFi device to make same to connect WiFi router
CN104506397A (en) Method and system for intelligent equipment to be accessed into local area network
CN104540237A (en) Method and system for connecting intelligent device to network
CN108012266A (en) A kind of data transmission method and relevant device
CN107483275A (en) Configure the method, apparatus and system of wireless routing
CN103179559A (en) Safe communication method, device and system of terminal with low cost
CN106060128A (en) Method and device for browser to access smart key equipment
CN107172028A (en) A kind of fieldbus data sharing method and device
CN104125656B (en) A kind of method of equipment connection, electronic equipment and connection system
CN108430091A (en) A kind of efficient smart home wifi distribution method and apparatus
CN104853447B (en) A kind of data information processing method and device
CN116527260B (en) Access method, device, equipment and medium of power grid communication system
CN106789022A (en) Method, the apparatus and system of shared key generation
CN103873245B (en) Dummy machine system data ciphering method and equipment
CN105119957A (en) Information transmission method and device used for intelligent device
CN109195139A (en) Data transmission method, device, platform and the medium of M2M management platform and eSIM card
CN105991214A (en) Data transmission method and data transmission device
CN105743782A (en) Routing control method when networks of multi-network-card equipment are switched
CN103942484A (en) Security auxiliary device using mobile phone as carrier and identity authentication method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171215