CN104618900B - A kind of method for network access of smart machine, smart machine and mobile terminal - Google Patents

A kind of method for network access of smart machine, smart machine and mobile terminal Download PDF

Info

Publication number
CN104618900B
CN104618900B CN201510051968.1A CN201510051968A CN104618900B CN 104618900 B CN104618900 B CN 104618900B CN 201510051968 A CN201510051968 A CN 201510051968A CN 104618900 B CN104618900 B CN 104618900B
Authority
CN
China
Prior art keywords
request frame
probe request
ssid
smart machine
information
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.)
Active
Application number
CN201510051968.1A
Other languages
Chinese (zh)
Other versions
CN104618900A (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.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance 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 Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201510051968.1A priority Critical patent/CN104618900B/en
Publication of CN104618900A publication Critical patent/CN104618900A/en
Application granted granted Critical
Publication of CN104618900B publication Critical patent/CN104618900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection

Landscapes

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

Abstract

The present invention provides a kind of method for network access of smart machine, smart machine and mobile terminal, wherein, this method comprises: after smart machine starting sniffer listening mode, when receiving the first Probe Request frame, leading SSID in first Probe Request frame is parsed, when whether the result of parsing meets preset condition, relock the 2nd Probe Request frame of the subsequent sending in same source, the SSID of carrying wireless routing information in received 2nd Probe Request frame is parsed, obtain wireless routing information wherein included, wireless network is accessed according to wireless routing information.The present invention enables the smart machine in sniffer listening mode fast, safely to get wireless routing information, to access network, and applicability is extensive, the portable information of single communication process is more, saves network overhead.

Description

A kind of method for network access of smart machine, smart machine and mobile terminal
Technical field
The present invention relates to internet of things field more particularly to a kind of method for network access of smart machine, smart machine And mobile terminal.
Background technique
With the rise of the universal and Internet of Things of wireless network such as WiFi network, more and more smart machines (such as Intelligent appliance product etc.) enter market, convenient, fast, safe WiFi, which networks, becomes smart machine enters into huge numbers of families the One of threshold.Smart machine can access network by WIFI, to interconnect with mobile terminal etc..
The mode of existing smart machine access network, frequently with Sniffer mode, in this way when, smart machine In sniffer listening mode, mobile terminal (such as mobile phone) is linked into routing and in the work letter of the family's routing connected User Datagram Protocol (User Datagram Protocol, UDP) multicast or broadcast packet, the multicast packets institute of UDP are sent on road (or the broadcast packet of multiple UDP is formed by the length value of 802.11 data frames to the purpose mac domain of 802.11 data frames formed Variable quantity) in carry the WiFi information of routing, the smart machine for needing to network saves after listening to the information, completes setting. After accomplishing the setting up mobile terminal can communicate after waiting smart machine access routing.
The mode of above-mentioned this access network, there are following problems:
On the one hand, partial movement terminal or routing are bad to multicast compatibility, and mobile terminal can not be normal in this case Multicast packet is issued, in this way, this mode has some limitations;
On the other hand, the multicast packets of UDP are formed by the limited (MAC of data that the purpose mac domain of 802.11 data frames carries Preceding 25 cogent provisions are 01005e, can carry latter 23 of latter 23 corresponding multicast ip address of data).Udp broadcast packet shape At 802.11 data frames length value variable quantity (0~1500) carry data it is less, need to send more data packet, It is easy disturbed.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State method for network access, smart machine and the mobile terminal of a kind of smart machine of problem.
Based on the above issues, the method for network access of the first smart machine provided in an embodiment of the present invention, including it is following Step:
Start sniffer listening mode;
When receiving the first Probe Request frame, to the leading SSID in the first Probe Request frame into Whether row parsing, the result for verifying parsing meet preset condition;
If meeting, the 2nd Probe Request frame from the subsequent sending in same source is locked;
The SSID of carrying wireless routing information in the received 2nd Probe Request frame is parsed, is obtained Take wireless routing information wherein included;
Using the routing iinformation, wireless network is accessed.
Second aspect, the method for network access of second of smart machine provided in an embodiment of the present invention, includes the following steps:
The first Probe Request frame, the first Probe Request frame are sent to smart machine over the wireless channel In include leading SSID;
Continue to send the 2nd Probe Request frame, the 2nd Probe to the smart machine over the wireless channel It include the SSID for carrying wireless routing information in Request frame, so that the smart machine is according to the wireless routing information Network insertion is carried out, the wireless routing information is encrypted according to the leading SSID in the first Probe Request frame.
The third aspect, smart machine provided in an embodiment of the present invention, comprising:
Starting module, for starting sniffer listening mode;
First parsing module, for when receiving the first Probe Request frame, to the first Probe Leading SSID in Request frame is parsed, and whether verifying parsing result meets preset condition;
Receiving module, for receive the first Probe Request frame, and parsing module verifying parsing result meet it is pre- If condition when, lock the 2nd Probe Request frame from the subsequent sending in same source;
Second parsing module, for the carrying wireless routing information in the received 2nd Probe Request frame SSID parsed, obtain wireless routing information wherein included;
Radio access module accesses wireless network for using the routing iinformation.
Fourth aspect, mobile terminal provided in an embodiment of the present invention, comprising:
First sending module, for sending the first Probe Request frame to smart machine over the wireless channel, described the It include leading SSID in one Probe Request frame;
Second sending module sends the 2nd Probe Request to the smart machine over the wireless channel for continuing Frame includes the SSID for carrying wireless routing information in the 2nd Probe Request frame, so as to the smart machine according to The wireless routing information carries out network insertion, and the wireless routing information is according in the first Probe Request frame Leading SSID is encrypted.
The beneficial effect of the embodiment of the present invention includes:
Method for network access, smart machine and the mobile terminal of smart machine provided in an embodiment of the present invention, smart machine After starting sniffer listening mode, when receiving the first Probe Request frame, in the first Probe Request frame Leading SSID is parsed, and when whether the result of parsing meets preset condition, relocks the second of the subsequent sending in same source Probe Request frame solves the SSID of the carrying wireless routing information in received 2nd Probe Request frame Analysis, obtains wireless routing information wherein included, accesses wireless network according to wireless routing information.The embodiment of the present invention provides Smart machine method for network access, smart machine and mobile terminal, first using mobile terminal issue the first Probe The 2nd Probe Request frame that SSID information in Request frame issues legal source locks, and then recycles the The SSID information of two Probe Request frames, obtains relevant routing iinformation, accesses wireless network according to these routing iinformations. The embodiment of the present invention allow mobile terminal by active scan by way of send and carry the Probe Request of routing iinformation Frame enables the smart machine in sniffer listening mode fast, safely to get wireless routing information, thus complete into Net.Applicability of the embodiment of the present invention is wide, does not need mobile phone terminal and supports multicast, and the portable information of single communication process It is more, save network overhead.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the system architecture schematic diagram that the method for network access of smart machine provided in an embodiment of the present invention relies on;
Fig. 2 is flow chart of the method for network access in smart machine side of smart machine provided in an embodiment of the present invention;
Fig. 3 is flow chart of the method for network access in mobile terminal side of smart machine provided in an embodiment of the present invention;
Fig. 4 is the signaling interaction diagram of the method for network access of smart machine provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of smart machine provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the system of the network insertion of smart machine provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Method for network access, smart machine separately below in conjunction with attached drawing, to smart machine provided in an embodiment of the present invention It is illustrated respectively with mobile terminal.
Before the method for network access to smart machine provided in an embodiment of the present invention is illustrated, first to the present invention The system architecture that the method for network access for the smart machine that embodiment provides is relied on is briefly described, as shown in Figure 1, this is It is included at least in system framework: smart machine, mobile terminal (such as mobile phone) and routing device.Wherein, mobile terminal has accessed nothing Gauze network, has known wireless routing information, and smart machine after power-up, needs to connect using network provided in an embodiment of the present invention Enter method access wireless network, to interconnect with mobile terminal realization.
Specifically, the method for network access of smart machine provided in an embodiment of the present invention, as shown in Fig. 2, being set intelligently Standby side, includes the following steps:
(sniffer) listening mode is monitored in S21, starting;
S22, when receiving the first probe requests thereby (Probe Request) frame, to the first Probe Request frame In leading service set (Service Set Identifier, SSID) parsed;
Whether the result that S23, verifying parse meets preset condition;If meeting, S24 is executed;If not meeting, under execution State S27;
S24, twoth Probe Request frame of the locking from the subsequent sending in same source;
S25, the SSID of the carrying wireless routing information in received 2nd Probe Request frame is parsed, is obtained Take wireless routing information wherein included;
S26, routing iinformation, access wireless network are used;
S27, terminate process.
The method for network access of smart machine provided in an embodiment of the present invention is based on mobile terminal starting for a series of For the active scan of specific SSID come what is realized, mobile terminal can start active scan in its application layer, its WIFI is made to drive layer Probe Request claim frame is sent on each channel;Probe Request frame is a kind of broadcast frame, can be by smart phone Broadcast, any smart machine received in distance range in sniffer mode in wireless network signal can receive.The frame packet Containing can with information set by the user be the domain SSID (0~32 byte).
This Probe Request claim frame can there are two types of, one kind include leading SSID, one kind comprising carry without route By the SSID of information.Wherein, leading SSID includes temporal information or other encryption methods (predetermined).Of the invention real It applies in example, for convenience of explanation, the above-mentioned Probe Request claim frame comprising leading SSID is known as the first Probe The above-mentioned Probe Request claim frame comprising carrying the SSID of wireless routing information is known as the 2nd Probe by Request frame Request frame.
In above-mentioned S21, smart machine starts sniffer listening mode, this way it is possible to realize believing in each wireless work Fixed Time Interval is stopped on road, to receive all wireless datas on the channel (comprising management frame, control frame, data frame), Basis is established for subsequent each step.
Further, in above-mentioned S22, the leading SSID in the first Probe Request frame is parsed, judges to parse Result whether meet preset condition, especially by following processes realize:
According to the decryption method made an appointment, the leading SSID carried in the first Probe Request frame is decrypted;
The temporal information in leading SSID or other encryption method informations are obtained and saved, whether verify the information that gets Meet preset condition.
In embodiments of the present invention, preset condition can be a preparatory customized condition or some conditions, than The leading SSID carried in such as pre-defined first Probe Request frame should be comprising continuous certain amount of time sequence Column, then, in the SSID after decrypting, if there is also the continuous certain amount of time serieses, such as continuous ten really A time series etc., it is assumed that the leading SSID information in this first Probe Request frame received is to meet default article Part;
Alternatively, pre-defining includes some specific field in the leading SSID information in the first Probe Request frame, If after the decryption, having obtained these specific fields really, namely the information that verifying is got meets preset condition.This A little scheduled conditions can determine that mode multiplicity, the overall principle is convenient and reliable according to demand.
Further, in above-mentioned S23, the 2nd Probe Request frame from the subsequent sending in same source is locked, it is specific next It says, exactly obtain and saves the source MAC for meeting the first Probe Request frame of preset condition;According to this source MAC Address locks the 2nd Probe Request frame that the same source issues, i.e., only receives the second of the subsequent sending in the same source Probe Request frame.
Further, in above-mentioned S24, first using the obtained temporal information of the leading SSID or other described encryption sides Then method information is decrypted the SSID information in the 2nd Probe Request frame, obtain wireless routing letter wherein included It ceases and saves.
In embodiments of the present invention, before the SSID in the 2nd Probe Request frame that mobile terminal is sent can be based on It leads the temporal information carried in SSID sequence to be encrypted, or based on other encryption methods letter carried in leading SSID sequence Breath is encrypted.It therefore, can be according to leading in the 2nd Probe Request frame that front parses and saves in S24 SSID information is decrypted.
Preferably, following steps can also be performed after the SSID information in the 2nd Probe Request frame is decrypted Rapid: whether the data after verifying decryption are the wireless routing information for meeting preset condition, if meeting, turn again to execution and obtain it In include wireless routing information the step of.
In embodiments of the present invention, wireless routing information includes: the SSID and corresponding password for needing the router connected Information.
It is similar with the data decrypted for verifying leading SSID, here, the data after verifying decryption whether meet it is default Whether the wireless routing information of condition, the mainly data after verifying decryption meet format predetermined, such as verifying decryption Routing iinformation out whether be regular length predetermined string, in other words by the routing iinformation that decrypts of detection it It is preceding whether to there is some specific character string (such as preset name etc. or its himself define character string) to test Card.Specific verification method is related to condition predetermined, does not do specific restriction herein.
The method for network access of smart machine provided in an embodiment of the present invention, in mobile terminal side, as shown in figure 3, including Following step:
S31, over the wireless channel to smart machine send the first Probe Request frame, the first Probe It include leading SSID in Request frame;
S32, continue to send the 2nd Probe Request frame, the 2nd Probe to smart machine over the wireless channel It include the SSID for carrying wireless routing information in Request frame, so that smart machine carries out network according to wireless routing information Access, wireless routing information are encrypted according to the leading SSID in the first Probe Request frame.
In the above method, temporal information or other encryption method informations are carried in leading SSID;
Correspondingly, the SSID in the 2nd Probe Request frame according to the temporal information or other encryption information into Row encryption.
As shown in Fig. 4 the method for network access of above-mentioned smart machine provided in an embodiment of the present invention is being embodied When, the signaling interaction diagram between smart machine and mobile terminal.In this example, wireless network is WIFI network, correspondingly, Wireless routing is WIFI routing.
In signaling interaction diagram as shown in Figure 4, include the following steps:
S41, smart machine start Sniffer;
S42, mobile terminal initiate Probe Request (i.e. the first Probe Request frame);
S43, smart machine are according to the SSID in preset cipher mode parsing Probe Request;
If the SSID of S44, parsing meet preset condition, the Probe request (second of same source is locked Probe Request frame);
S45, the Probe request for receiving the subsequent transmission of same source;
S46, according in leading SSID temporal information or other encryption method informations parse the Probe of subsequent transmission SSID in request;
S47, acquisition simultaneously save WIFI routing iinformation in SSID;
S48, according to routing iinformation link road by;
S49, successful connection.
Based on the same inventive concept, the embodiment of the invention also provides a kind of smart machine and mobile terminals, due to these The principle of smart machine and the solved problem of mobile terminal is similar to the method for network access of aforementioned intelligent equipment, therefore the intelligence The implementation of equipment and mobile terminal may refer to the implementation of preceding method, and overlaps will not be repeated.
A kind of smart machine provided in an embodiment of the present invention, as shown in Figure 5, comprising:
Starting module 501, for starting sniffer listening mode;
First parsing module 502, for when receiving the first Probe Request frame, to the first Probe Leading SSID in Request frame is parsed, and whether verifying parsing result meets preset condition;
Receiving module 503 is accorded with for receiving the first Probe Request frame, and in parsing module verifying parsing result When closing preset condition, the 2nd Probe Request frame from the subsequent sending in same source is locked;
Second parsing module 504, for believing the carrying wireless routing in the received 2nd Probe Request frame The SSID of breath is parsed, and wireless routing information wherein included is obtained;
Radio access module 505 accesses wireless network for using routing iinformation.
Further, above-mentioned first parsing module 502, specifically for according to the decryption method made an appointment, decryption first The leading SSID carried in Probe Request frame;It obtains and saves the temporal information in leading SSID or other encryption methods Information, verifies whether the information got meets preset condition.
Further, above-mentioned receiving module 503 meets the first Probe of preset condition specifically for obtaining and saving The source MAC of Request frame;Receive the 2nd Probe Request frame of the same subsequent sending of the source MAC.
Further, above-mentioned second parsing module 504, specifically for being obtained using the first Probe Request frame of parsing Encryption method information, the SSID information in the 2nd Probe Request frame is decrypted, no route wherein included is obtained By information and save.
Further, above-mentioned second parsing module 504 is also used to believe to the SSID in the 2nd Probe Request frame After breath is decrypted, whether the data after verifying decryption are the wireless routing information for meeting preset condition, if meeting, steering is obtained The step of taking wireless routing information wherein included.
Preferably, smart machine provided in an embodiment of the present invention can be various intelligent appliances and set in the specific implementation Standby, such as the refrigerator with WIFI network savvy, colour TV, washing machine etc., these smart machines all have wireless network access Function, the type of smart machine of the embodiment of the present invention is without limitation.
The embodiment of the invention also provides a kind of mobile terminals, as shown in Figure 6, comprising:
First sending module 601, for sending the first Probe Request frame, institute to smart machine over the wireless channel It states in the first Probe Request frame comprising leading SSID;
Second sending module 602 sends the 2nd Probe Request to smart machine over the wireless channel for continuing Frame includes the SSID for carrying wireless routing information in the 2nd Probe Request frame, so that smart machine is according to wireless routing Information carries out network insertion, and wireless routing information is encrypted according to the leading SSID in the first Probe Request frame.
Further, temporal information or other encryption method informations are carried in leading SSID;
SSID in the 2nd Probe Request frame is encrypted according to temporal information or other encryption information.
The embodiment of the invention also provides a kind of systems of the network insertion of smart machine, as shown in fig. 7, comprises: it has connect Enter the mobile terminal 701 and at least one smart machine 702 of wireless network;Wherein:
Mobile terminal 701, for sending the first Probe Request frame and the 2nd Probe over the wireless channel Request frame;It include leading SSID in the first Probe Request frame;It is wrapped in the 2nd Probe Request frame Contain the SSID for carrying wireless routing information;
At least one smart machine 702, for starting sniffer listening mode;When receiving the of mobile terminal sending When one Probe Request frame, the leading SSID in the first Probe Request frame is parsed, parsing is verified As a result whether meet preset condition;If meeting, the 2nd Probe Request frame from the subsequent sending in same source is locked;It is right The SSID of carrying wireless routing information in the received 2nd Probe Request frame is parsed, and acquisition wherein includes Wireless routing information;Using routing iinformation, wireless network is accessed.
Method for network access, smart machine and the mobile terminal of smart machine provided in an embodiment of the present invention, smart machine After starting sniffer listening mode, when receiving the first Probe Request frame, in the first Probe Request frame Leading SSID is parsed, and when whether the result of parsing meets preset condition, relocks the second of the subsequent sending in same source Probe Request frame solves the SSID of the carrying wireless routing information in received 2nd Probe Request frame Analysis, obtains wireless routing information wherein included, accesses wireless network according to wireless routing information.The embodiment of the present invention provides Smart machine method for network access, first using mobile terminal issue the first Probe Request frame in SSID information The 2nd Probe Request frame issued to legal source locks, and then recycles the 2nd Probe Request frame SSID information obtains relevant routing iinformation, accesses wireless network according to these routing iinformations.The embodiment of the present invention is by allowing shifting Dynamic terminal sends the Probe Request frame for carrying routing iinformation by way of active scan, makes to monitor in sniffer The smart machine of mode can fast, safely get wireless routing information, to complete to network.Applicability of the embodiment of the present invention It is wide, do not need mobile phone terminal and support multicast, and the portable information of single communication process is more, overall data packet quantity compared with The prior art is less, saves network overhead.
Algorithm and display be not inherently related to any specific PC, virtual system or other equipment provided herein.It is various General-purpose system can also be used together with teachings based herein.As described above, knot required by this kind of system is constructed Structure is obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various programmings Language realizes summary of the invention described herein, and the description done above to language-specific is of the invention in order to disclose Preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) are some in smart machine according to an embodiment of the present invention and system to realize Or some or all functions of whole components.The present invention is also implemented as one for executing method as described herein Partly or completely device or device program (for example, PC program and PC program product).It is such to realize journey of the invention Sequence can store on PC readable medium, or may be in the form of one or more signals.Such signal can be from Downloading obtains on internet website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be realized by means of including the hardware of several different elements and by means of properly programmed PC.? If listing in the unit claim of equipment for drying, several in these devices be can be through the same hardware branch come specific It embodies.The use of word first, second, and third does not indicate any sequence.These words can be construed to title.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of method for network access of smart machine characterized by comprising
Start sniffer listening mode;
When receiving the first Probe Request frame, the leading SSID in the first Probe Request frame is solved Whether analysis, the result for verifying parsing meet preset condition;
If meeting, the 2nd Probe Request frame from the subsequent sending in same source is locked;
The SSID of carrying wireless routing information in the received 2nd Probe Request frame is parsed, it is obtained In include wireless routing information;
Using the routing iinformation, wireless network is accessed;
Leading SSID in the first Probe Request frame is parsed, it is default to judge whether the result of parsing meets Condition, comprising:
According to the decryption method made an appointment, the leading SSID carried in the first Probe Request frame is decrypted;
The encryption method information in the leading SSID is obtained and saved, verifies whether the information got meets preset item Part.
2. the method as described in claim 1, which is characterized in that twoth Probe of the locking from the subsequent sending in same source Request frame, comprising:
It obtains and saves the source MAC for meeting the first probe Request frame of preset condition;Receive the same source 2nd Probe Request frame of the subsequent sending of MAC Address.
3. the method as described in claim 1, which is characterized in that wireless to the carrying in the 2nd Probe Request frame The SSID of routing iinformation is parsed, and is obtained wireless routing information wherein included, is specifically included:
The encryption method information obtained using the leading SSID, to the SSID information in the 2nd Probe Request frame It is decrypted, obtains wireless routing information wherein included and saves.
4. method as claimed in claim 3, which is characterized in that the SSID information in the 2nd Probe Request frame into After row decryption, further includes:
Whether the data after verifying decryption are the wireless routing information for meeting preset condition, if meeting, turn to acquisition and wherein wrap The step of wireless routing information contained.
5. a kind of method for network access of smart machine characterized by comprising
The first probe Request frame is sent to smart machine over the wireless channel, is wrapped in the first probe Request frame Containing leading SSID;
Continue to send the 2nd probe Request frame, the 2nd probe to the smart machine over the wireless channel It include the SSID for carrying wireless routing information in Request frame, so that the smart machine is according to the wireless routing information Network insertion is carried out, the wireless routing information is encrypted according to the leading SSID in the first probe Request frame.
6. method as claimed in claim 5, which is characterized in that carry encryption method information in the leading SSID;
SSID in the 2nd probe Request frame is encrypted according to the encryption method information.
7. a kind of smart machine characterized by comprising
Starting module, for starting sniffer listening mode;
First parsing module, for when receiving the first probe Request frame, to the first probe Request frame In leading SSID parsed, verifying parsing result whether meet preset condition;
Receiving module, for receive the first probe Request frame, and parsing module verifying parsing result meet it is preset When condition, the 2nd probe Request frame from the subsequent sending in same source is locked;
Second parsing module, for the carrying wireless routing information SSID in the received 2nd probe Request frame It is parsed, obtains wireless routing information wherein included;
Radio access module accesses wireless network for using the routing iinformation;
First parsing module, specifically for decrypting the first Probe Request according to the decryption method made an appointment The leading SSID that frame Cao is carried, obtains and saves the encryption method information in the leading SSID, verifying the information got is It is no to meet preset condition.
8. smart machine as claimed in claim 7, which is characterized in that the receiving module, specifically for obtaining and saving symbol Close the source MAC of the first probe Request frame of preset condition;Receive the with the subsequent sending of the source MAC Two probe Request frames.
9. smart machine as claimed in claim 7, which is characterized in that second parsing module is specifically used for using parsing The encryption method information that first probe Request frame obtains solves the SSID information in the 2nd Probe Request frame It is close, it obtains wireless routing information wherein included and saves.
10. smart machine as claimed in claim 9, which is characterized in that second parsing module is also used to second After SSID information in probe Request frame is decrypted, whether it is the nothing for meeting preset condition that the number after verifying decryption occupies Routing information turns to the step of obtaining wireless routing information wherein included if meeting.
11. a kind of mobile terminal, which is characterized in that including;
First sending module, for over the wireless channel to smart machine send the first probe Request frame, described first It include leading SSID in probe Request frame;
Second sending module sends the 2nd Probe Request frame, institute to the smart machine over the wireless channel for continuing Stating includes the SSID for carrying wireless routing information in the 2nd probe Request frame, so that the smart machine is according to Wireless routing information carries out network insertion, and the wireless routing information is according to leading in the first Probe Request frame SSID is encrypted.
12. mobile terminal as claimed in claim 11, which is characterized in that carry encryption method information in the leading SSID;
SSID is encrypted according to the encryption method information in the 2nd probe Request frame.
CN201510051968.1A 2015-02-02 2015-02-02 A kind of method for network access of smart machine, smart machine and mobile terminal Active CN104618900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510051968.1A CN104618900B (en) 2015-02-02 2015-02-02 A kind of method for network access of smart machine, smart machine and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510051968.1A CN104618900B (en) 2015-02-02 2015-02-02 A kind of method for network access of smart machine, smart machine and mobile terminal

Publications (2)

Publication Number Publication Date
CN104618900A CN104618900A (en) 2015-05-13
CN104618900B true CN104618900B (en) 2019-01-11

Family

ID=53153134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510051968.1A Active CN104618900B (en) 2015-02-02 2015-02-02 A kind of method for network access of smart machine, smart machine and mobile terminal

Country Status (1)

Country Link
CN (1) CN104618900B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016192183A1 (en) * 2015-05-29 2016-12-08 乐鑫信息科技(上海)有限公司 Communication method for wi-fi internet of things equipment and wi-fi internet of things system
US10756964B2 (en) 2015-05-29 2020-08-25 Espressif Systems (Shanghai) Co., Ltd. Internet of things configuration method and system for secure low-power-consumption proxy device
CN105119957A (en) * 2015-07-10 2015-12-02 普联技术有限公司 Information transmission method and device used for intelligent device
CN105120507A (en) * 2015-08-12 2015-12-02 深圳市江波龙科技有限公司 Data packet monitoring method and system
CN106412886A (en) * 2015-08-13 2017-02-15 大唐半导体设计有限公司 Method, device and system for secure access of intelligent device to wireless network
CN105120456A (en) * 2015-09-08 2015-12-02 南京创维信息技术研究院有限公司 Method and system for intelligent device to access to wireless network quickly
CN106535162A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Account information sending method and device as well as account information receiving method and device
CN106550362B (en) * 2015-09-18 2020-06-19 大唐半导体设计有限公司 Method and system for safely accessing intelligent equipment to wireless local area network
CN105228224A (en) * 2015-10-29 2016-01-06 小米科技有限责任公司 The cut-in method of wireless network and device
CN105357737A (en) * 2015-11-20 2016-02-24 深圳市江波龙科技有限公司 Method and device for accessing WiFi device to wireless access point
CN105636158B (en) * 2015-12-24 2019-10-29 联想(北京)有限公司 A kind of information configuring methods and electronic equipment
CN105744596B (en) * 2016-03-29 2020-02-07 海尔优家智能科技(北京)有限公司 WiFi equipment network access method and device
CN105873052B (en) * 2016-03-29 2019-06-04 海尔优家智能科技(北京)有限公司 A kind of method and device that wifi equipment networks
CN106571985B (en) * 2016-10-09 2021-02-12 美的智慧家居科技有限公司 Network distribution method and system of household appliance, household appliance and router
CN106571986B (en) * 2016-10-09 2021-01-26 美的智慧家居科技有限公司 Network distribution method and system of household appliance, household appliance and router
CN106455001A (en) * 2016-11-30 2017-02-22 青岛海尔科技有限公司 Method and device for configuring WIFI module
CN106686593A (en) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 WIFI-module-based network-access configuration method and apparatus for smart devices
CN106856609A (en) * 2017-02-28 2017-06-16 苏州福瑞思信息科技有限公司 A kind of network collocating method and device
JP6929390B2 (en) * 2017-05-25 2021-09-01 華為技術有限公司Huawei Technologies Co.,Ltd. Wireless local area network configuration method and device
CN110582082B (en) * 2018-06-08 2022-06-10 阿里巴巴集团控股有限公司 Method and device for accessing network to be configured to network hotspot equipment
CN111741509A (en) * 2019-03-25 2020-10-02 珠海格力电器股份有限公司 Network distribution method and device, storage medium and processor
CN111372297B (en) * 2020-03-17 2022-02-22 展讯通信(上海)有限公司 Odd-even packet-based WiFi network distribution method, equipment, device and storage medium
CN111385797B (en) * 2020-03-17 2023-02-28 展讯通信(上海)有限公司 WiFi network distribution method, device, apparatus and storage medium
CN112261707A (en) * 2020-10-20 2021-01-22 四川天邑康和通信股份有限公司 Method for realizing automatic network distribution between intelligent equipment and WIFI6 router
CN112492609B (en) * 2020-12-07 2021-05-18 广州大学 Wi-Fi signal fluctuation-based IoT equipment safety automatic pairing method and device
CN113784347A (en) * 2021-08-13 2021-12-10 瑞芯微电子股份有限公司 Method and system for one-key network distribution of intelligent equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2768269A1 (en) * 2013-02-15 2014-08-20 Fujitsu Limited Automatic ad-hoc network of mobile devices
CN104168625A (en) * 2014-08-20 2014-11-26 普联技术有限公司 Intelligent device, method for connecting intelligent device to wireless routing device, and wireless routing device
CN104202796A (en) * 2014-09-16 2014-12-10 杭州古北电子科技有限公司 Method of utilizing router to notifying other devices of wireless network configuration rapidly

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2768269A1 (en) * 2013-02-15 2014-08-20 Fujitsu Limited Automatic ad-hoc network of mobile devices
CN104168625A (en) * 2014-08-20 2014-11-26 普联技术有限公司 Intelligent device, method for connecting intelligent device to wireless routing device, and wireless routing device
CN104202796A (en) * 2014-09-16 2014-12-10 杭州古北电子科技有限公司 Method of utilizing router to notifying other devices of wireless network configuration rapidly

Also Published As

Publication number Publication date
CN104618900A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN104618900B (en) A kind of method for network access of smart machine, smart machine and mobile terminal
CN106789259B (en) A kind of LoRa core network system and implementation method
CN104854835B (en) For the device and method of DASH sensing networks application function (D-NAF)
CN104618988A (en) Smart device network access method and device
CN107801229A (en) Smart home is with network method, terminal, equipment and the device with store function
CN106254147B (en) It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal
CN107006049A (en) A kind of smart machine and its set up the method for equipment room bluetooth connection, device
CN104581647A (en) Network access method and device of intelligent equipment
CN109644135B (en) Apparatus and method for providing security service in communication system
US11924635B2 (en) Security authentication method and apparatus thereof, and electronic device
CN104113534A (en) System and method for logging in applications (APPs)
CN105101147B (en) A kind of method and system of orientation flow that realizing mobile app
CN105933895A (en) Transmission method of WIFI network configuration data, intelligent device, and intelligent terminal
CN105430431B (en) multimedia data playing method and device
CN104619040A (en) Method and system for quickly connecting WIFI equipment
CN109309655B (en) Stateless communication security signature method, terminal and server
EP2779539A1 (en) Communication method of administration node, requesting node, and normal node for deleting invalid content using content revocation list in content centric network
CN108270733A (en) A kind of method and system for managing smart machine
CN108616521A (en) Method for network access, device, equipment and readable storage medium storing program for executing
CN107171804B (en) A kind of data transmission method
KR20160103115A (en) Method, apparatus and system for selecting authentication algorithm
CN109194643A (en) Data transmission, message parsing method, device and equipment
US10382607B2 (en) Switching TV channels using a mobile device and a set-top box
CN106453000A (en) Network distribution method and system for household electrical appliance, household electrical appliance and mobile terminal
CN109088731B (en) Internet of things cloud communication method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Luo Chaoming

Inventor after: Li Li

Inventor after: Zhong Lijing

Inventor after: Zhao Honglei

Inventor after: Mou Tingting

Inventor before: Luo Chaoming

CB03 Change of inventor or designer information