CN107787025A - Method, control terminal and the system of equipment access network - Google Patents

Method, control terminal and the system of equipment access network Download PDF

Info

Publication number
CN107787025A
CN107787025A CN201711052591.7A CN201711052591A CN107787025A CN 107787025 A CN107787025 A CN 107787025A CN 201711052591 A CN201711052591 A CN 201711052591A CN 107787025 A CN107787025 A CN 107787025A
Authority
CN
China
Prior art keywords
distribution information
auxiliary distribution
equipment
control terminal
wifi
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
CN201711052591.7A
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.)
Opple Lighting Co Ltd
Original Assignee
Opple Lighting 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 Opple Lighting Co Ltd filed Critical Opple Lighting Co Ltd
Priority to CN201711052591.7A priority Critical patent/CN107787025A/en
Publication of CN107787025A publication Critical patent/CN107787025A/en
Priority to PCT/CN2018/110506 priority patent/WO2019085747A1/en
Priority to US16/859,486 priority patent/US11647388B2/en
Pending legal-status Critical Current

Links

Classifications

    • 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/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Landscapes

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

Abstract

The invention provides a kind of method of equipment access network, control terminal and system, this method includes receiving the auxiliary distribution information that can aid in treating log equipment access network, the auxiliary distribution information received is filled into probe request frames, the probe request frames for carrying auxiliary distribution information are sent in the form of wifi broadcast packets, with the corresponding wireless router of auxiliary distribution information access after the wifi broadcast packets are listened to after log equipment, carried using probe request frames in wifi broadcast packets.Terminal is controlled to be forwarded during wifi broadcast packets are sent without middle route, not only efficiently solve the compatibility issue of different radio route, the problem of wireless router causes broadcast packet to abandon when network very congestion is also effectively prevent, so as to improve the success rate for treating log equipment access network.

Description

Method, control terminal and the system of equipment access network
Technical field
The present invention relates to internet of things field, more particularly to a kind of equipment access the method for network, control terminal and System.
Background technology
With the fast development of Internet technology, radio-frequency technique, sensor technology etc., Internet of Things (IOT, Internet of Things) technology is also more and more ripe.Internet of Things is to be combined computer with technologies such as Internet technology, sensors, allows institute There is the object that can exercise standalone feature to realize the network to interconnect.Wherein, allow internet of things equipment to access network, be to realize thing The connected first step of thing.
At present by equipment access network frequently with method be that terminal device (such as mobile phone, flat board) first connects wireless Router (Access Point, AP), and after network where wireless router is accessed send special format broadcast packet or group Broadcast UDP (User Datagram Protocol, UDP) bag, and then by wireless router forward the broadcast packet or Multicast UDP bags are in the air.Treat log equipment by having the broadcast packet or multicast packets of the specific format in each channel-monitoring Mode, to get the SSID of wireless routing (Service Set Identifier, service set) and password, and then utilize SSID and password the access network of acquisition.But in this way the shortcomings that be to the compliance of wireless router compared with Height, some wireless routers do not support forwarding multicasting bag, and some wireless routers are easily lost when network very congestion Many broadcast packet or multicast UDP bags are abandoned, so as to cause equipment to be accessed can not smoothly access wireless router place network.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State method, control terminal and the system of the equipment access network of problem.
According to an aspect of of the present present invention, there is provided a kind of method of equipment access network, log equipment is treated applied to auxiliary Network-based control terminal is accessed, including:
Receive the auxiliary distribution information that can aid in treating log equipment access network;
The auxiliary distribution information received is filled into probe request frames;
By carry auxiliary distribution information probe request frames sent in the form of wifi broadcast packets, with The auxiliary after log equipment listens to the wifi broadcast packets, carried using probe request frames in wifi broadcast packets The corresponding wireless router of distribution information access.
Alternatively, the auxiliary distribution information includes treating the SSID for the wireless router that log equipment will access and close Code.
Alternatively, the control terminal is connected with external equipment, and the reception can aid in treating that log equipment accesses network Auxiliary distribution information, including:The auxiliary that can aid in treating log equipment access network that the external equipment is sent is received to match somebody with somebody Net information.
Alternatively, the reception can aid in treating the auxiliary distribution information of log equipment access network, including:
Serial ports instrument is provided with the external equipment, serial ports element is provided with the control terminal, the control is eventually Serial ports connection is established in end using the serial ports instrument of serial ports element and external equipment, and receives the outside using the serial ports element Auxiliary distribution information that equipment is sent by the serial ports instrument set thereon, can aiding in treating log equipment access network;Or Person
The external equipment possesses Bluetooth function, and bluetooth module, the control terminal profit are provided with the control terminal Established and connected by Bluetooth protocol with the external equipment with Bluetooth function with bluetooth module, and received using the bluetooth module Auxiliary distribution information that the external equipment is sent by Bluetooth protocol, can aiding in treating log equipment access network;Or
The external equipment has USB interface, and corresponding USB interface, the control are also equipped with the control terminal The USB interface of terminal is connected with the USB interface of the external equipment by USB data line, utilizes the USB interface controlled in terminal Receive auxiliary distribution information that external equipment is sent by the USB data line, can aiding in treating log equipment access network; Or
The external equipment possesses wifi functions, and the external equipment is connected to same router with control terminal, and control is eventually End receives auxiliary distribution letter that external equipment is sent with wifi data packet forms, can aiding in treating log equipment access network Breath.
Alternatively, the external equipment includes following any one:Smart mobile phone, intelligent watch, tablet personal computer, PC are whole End.
Alternatively, it is described to fill the auxiliary distribution information received into probe request frames, including:
The auxiliary distribution information received is filled in the IE bags included to the data bit of probe request frames.
Alternatively, the IE bags include:Vendor Specific IE bags, the ID of the Vendor Specific IE bags For 0xdd.
Alternatively, it is described to send out the probe request frames for carrying auxiliary distribution information in the form of wifi broadcast packets Before seeing off, in addition to:
Distribution condition code is filled in the IE bags of probe request frames, the distribution condition code is described for identifying Auxiliary distribution information is carried in the IE bags of probe request frames.
Alternatively, it is described to send out the probe request frames for carrying auxiliary distribution information in the form of wifi broadcast packets See off, including:
The distribution condition code will be carried and aid in the probe request frames of distribution information with wifi broadcast packets Form is sent, when described after log equipment listens to the wifi broadcast packets, if the probe request are learnt in parsing Distribution condition code is included in the IE bags of frame, parses the auxiliary distribution information in IE bags, and utilize the auxiliary distribution information access Corresponding wireless router.
Alternatively, it is described to send out the probe request frames for carrying auxiliary distribution information in the form of wifi broadcast packets See off, including:
For the auxiliary distribution information encryption, and will carry the probe request frames of encryption auxiliary distribution information with The form of wifi broadcast packets is sent, with described after log equipment listens to the wifi broadcast packets, first with corresponding Auxiliary distribution information in wifi broadcast packets is decrypted decipherment algorithm, and then utilizes the auxiliary distribution information access after decryption Corresponding wireless router.
According to another aspect of the present invention, a kind of control terminal is additionally provided, including receiving device and connected Wifi devices, wherein,
The receiving device, suitable for receiving the auxiliary distribution information that can aid in treating log equipment access network, and will be auxiliary Distribution information transfer is helped to Wifi devices;
The Wifi devices, suitable for receiving the auxiliary distribution information of the receiving device transmission, and distribution information will be aided in Filling is into probe request frames;And
By carry auxiliary distribution information probe request frames sent in the form of wifi broadcast packets, with The auxiliary after log equipment listens to the wifi broadcast packets, carried using probe request frames in wifi broadcast packets The corresponding wireless router of distribution information access.
Alternatively, the auxiliary distribution information includes treating the SSID for the wireless router that log equipment will access and close Code.
Alternatively, the receiving device of the control terminal is connected with external equipment, and the receiving device is further adapted for:
Receive the auxiliary distribution information that can aid in treating log equipment access network that the external equipment is sent.
Alternatively, the receiving device includes serial ports element, and serial ports instrument is provided with the external equipment, states serial ports member Part is connected with the serial ports instrument set on the external equipment, and receives what the external equipment was sent by the serial ports instrument The auxiliary distribution information of log equipment access network can be aided in treating;Or
The receiving device includes bluetooth module, and the external equipment possesses Bluetooth function, the bluetooth module with it is outer Portion's equipment is established by Bluetooth protocol and connected, and receive it is that the external equipment is sent by Bluetooth protocol, can aid in treating into Net equipment accesses the auxiliary distribution information of network;Or
The external equipment has USB interface, and the receiving device includes corresponding USB interface, the receiving device USB interface is connected with the USB interface of the external equipment by USB data line, is received using the USB interface on receiving device outer Auxiliary distribution information that portion's equipment is sent by the USB data line, can aiding in treating log equipment access network;Or
The external equipment possesses wifi functions, and the external equipment is connected to same router, receiver with control terminal Part receives auxiliary distribution letter that external equipment is sent with wifi data packet forms, can aiding in treating log equipment access network Breath.
Alternatively, the serial ports element or the bluetooth module or the USB interface of control terminal, suitable for auxiliary by what is received Distribution information is helped to be transferred to the wifi devices by the internal bus being arranged in control terminal, the wifi devices are by described in Auxiliary distribution information is filled into probe request frames.
Alternatively, the external equipment includes following any one:Smart mobile phone, intelligent watch, tablet personal computer, PC are whole End.
Alternatively, the wifi devices are further adapted for:
The auxiliary distribution information received is filled in the IE bags included to the data bit of probe request frames.
Alternatively, the IE bags include:Vendor Specific IE bags, the ID of the Vendor Specific IE bags For 0xdd.
Alternatively, the wifi devices are further adapted for:
The probe request frames for carrying auxiliary distribution information are being sent it in the form of wifi broadcast packets Before, distribution condition code is filled in the IE bags of probe request frames, the distribution condition code is used to identify the probe Auxiliary distribution information is carried in the IE bags of request frames.
Alternatively, the wifi devices are further adapted for:
The distribution condition code will be carried and aid in the probe request frames of distribution information with wifi broadcast packets Form is sent, so that after the wifi broadcast packets are listened to after log equipment, the probe request frames are learnt if parsing IE bags in include distribution condition code, parse the auxiliary distribution information in IE bags, and distribution information access phase is aided in using described The wireless router answered.
Alternatively, the wifi devices are further adapted for:
For the auxiliary distribution information encryption, and will carry the probe request frames of encryption auxiliary distribution information with The form of wifi broadcast packets is sent, with described after log equipment listens to the wifi broadcast packets, first with corresponding Auxiliary distribution information in wifi broadcast packets is decrypted decipherment algorithm, and then utilizes the auxiliary distribution information access after decryption Corresponding wireless router.
According to another aspect of the invention, a kind of system of equipment access network is additionally provided, including:
Terminal is controlled, receives the auxiliary distribution information that can aid in treating log equipment access network, the auxiliary that will be received Distribution information is filled into probe request frames, and will carry the probe request frames of auxiliary distribution information with wifi The form of broadcast packet is sent;
It is described to treat log equipment, wifi broadcast packets are monitored in the channel, as the wifi for listening to the control terminal transmission During broadcast packet, the auxiliary distribution information that probe request frames carry in wifi broadcast packets is obtained, according to the auxiliary distribution letter Breath generation connection request, and connection request is sent to corresponding wireless router;
The wireless router, the connection request for carrying auxiliary distribution information that log equipment is sent is treated described in reception, And after being verified to the connection request, treat that log equipment accesses itself place network by described.
Alternatively, the auxiliary distribution information includes treating the SSID for the wireless router that log equipment will access and close Code.
Alternatively, in addition to external equipment, the control terminal are connected with external equipment, receive the external equipment and send Can aid in treat log equipment access network auxiliary distribution information.
Alternatively, serial ports element is provided with the control terminal, serial ports instrument, the outside is provided with external equipment Equipment utilization serial ports instrument is connected with the serial ports element in control terminal and establishes serial ports connection, by the auxiliary for receiving user configuration Distribution information, the auxiliary distribution information is sent to control terminal by serial ports instrument, and then the control terminal passes through string Mouth element receives the auxiliary distribution information that the external equipment is sent by serial ports instrument;Or
The external equipment possesses Bluetooth function, and bluetooth module, the control terminal profit are provided with the control terminal Established and connected by Bluetooth protocol with the external equipment with Bluetooth function with bluetooth module, and the external equipment, receive and use Family configuration can aid in treating the auxiliary distribution information of log equipment access network, and the auxiliary distribution information is assisted by bluetooth View is sent to the control terminal of bluetooth connection, and then the control terminal is established with it, using described in bluetooth module reception The auxiliary distribution information that external equipment is sent by Bluetooth protocol;Or
The external equipment has USB interface, and corresponding USB interface, the control are also equipped with the control terminal The USB interface of terminal is connected with the USB interface of the external equipment by USB data line, and the external equipment passes through reception The auxiliary distribution information that can aid in treating log equipment access network of user configuration, passes through USB numbers by the auxiliary distribution information Sent according to line to the control terminal that wired connection is established with it, and then, the control terminal receives external equipment using USB interface The auxiliary distribution information sent by the USB data line;Or
The external equipment possesses wifi functions, and the external equipment is connected to same router with control terminal, and described External equipment by receive user configuration can aid in treating log equipment access network auxiliary distribution information, the auxiliary is matched somebody with somebody Net information is sent to it with wifi data packet forms and establishes the control terminal that wifi is connected, and then, the control terminal receives The auxiliary distribution information that external equipment is sent.
Alternatively, the control terminal fills the auxiliary distribution information received to the data of probe request frames In the IE bags that position is included.
Alternatively, the IE bags include:Vendor Specific IE bags, the ID of the Vendor Specific IE bags For 0xdd.
Alternatively, it is described to treat log equipment, connection request is sent to before corresponding wireless router, to described wireless Router sends ID authentication request;
The wireless router, the ID authentication request that log equipment is sent is treated described in reception, to wait to network described in certification Whether the identity of equipment, which meets access, requires, if certification is by continuing to the connection request treated log equipment and sent.
Alternatively, in addition to cloud device, with the wireless router wireless connection, treat that log equipment successfully connects when described After entering corresponding wireless router, enter interacting for row information and instruction using the wireless router and cloud device, to realize The management for interacting and receiving cloud device that log equipment is treated with cloud device data.
According to another aspect of the invention, a kind of electronic equipment is additionally provided, including:
Processor;And it is arranged to store the memory of computer executable instructions, the executable instruction is being held The method for making the computing device access network according to equipment described above during row.
According to another aspect of the invention, a kind of computer-readable storage medium is additionally provided, wherein, it is described computer-readable to deposit Storage media stores one or more programs, and one or more of programs perform when the electronic equipment for being included multiple application programs When so that the method that the electronic equipment performs equipment access network described above.
In embodiments of the present invention, the method for equipment access network can be applied treats log equipment access network in auxiliary Control in terminal.First, terminal is controlled to receive the auxiliary distribution information that can aid in treating log equipment access network.Then, will The auxiliary distribution information received is filled into probe request frames.And then the probe that auxiliary distribution information will be carried Request frames are sent in the form of wifi broadcast packets.Control what terminal was sent when treating that log equipment listens in the channel After the wifi broadcast packets, the auxiliary distribution information that probe request frames carry in wifi broadcast packets can be parsed, and utilize parsing The corresponding wireless router of auxiliary distribution information access arrived, log equipment access wireless router place net is treated so as to realize Network.It follows that the embodiment of the present invention by using the probe request frames that wifi management frames include by wireless router pair The auxiliary distribution information answered is transmitted directly to treat log equipment in the form of wifi broadcast packets, with by treating log equipment using auxiliary Network where distribution information access wireless router.Control terminal during wifi broadcast packets are sent without centre route into Row forwarding, avoid because some wireless routers are not supported to forward broadcast packet, make to treat that log equipment can not successfully access The problem of, so as to efficiently solve the compatibility issue of different radio route.Also, aid in distribution information without routing forwarding The problem of can also effectively avoiding wireless router from causing broadcast packet to abandon when network very congestion, so as to improve treat into Net equipment accesses the success rate of network.
Further, using the method for the embodiment of the present invention any internet of things equipment can be made quickly and accurately to access phase The network answered, reliable basis is provided so as to realize that thing thing is connected for technology of Internet of things.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
According to the accompanying drawings will be brighter to the detailed description of the specific embodiment of the invention, those skilled in the art Above-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet of the method for equipment access network according to an embodiment of the invention;
Fig. 2 shows the message structure schematic diagram that the control terminal of one embodiment of the invention is finally sent;
Fig. 3 shows the structural representation of control terminal according to an embodiment of the invention;
Fig. 4 A show the structural representation of control terminal in accordance with another embodiment of the present invention;
Fig. 4 B show the structural representation of the control terminal according to another embodiment of the invention;
Fig. 5 A show the structural representation of the system of equipment access network according to an embodiment of the invention;
Fig. 5 B show the structural representation of the system of equipment access network in accordance with another embodiment of the present invention;
Fig. 6 shows the data between each equipment in the system of equipment access network according to an embodiment of the invention Interaction figure;
Fig. 7 shows the network diagram of the system of equipment access network according to an embodiment of the invention;
Fig. 8 shows the block diagram of the computing device for the method that network is accessed for the equipment performed according to the present invention;And
Fig. 9 shows the program code for keeping or carrying the method for realizing the equipment access network according to the present invention Memory cell.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here 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 Completely it is communicated to those skilled in the art.
In order to solve the above technical problems, the embodiments of the invention provide a kind of method of equipment access network, this method should For aiding in treating that log equipment accesses network-based control terminal.Fig. 1 shows equipment access according to an embodiment of the invention The schematic flow sheet of the method for network.Referring to Fig. 1, this method comprises at least step S102 to step S106.
Step S102, receive the auxiliary distribution information that can aid in treating log equipment access network.
In this step, aid in SSID that distribution information can include treating the wireless router that log equipment will access and Password (KEY).Wherein, it can be arbitrary internet of things equipment to treat log equipment, such as illuminator, smart home.This hair Bright embodiment treats log equipment and does not do specific restriction.
Step S104, the auxiliary distribution information received is filled into probe request frames.
In this step, probe request frames belong to wifi management frames (Management in 802.11 agreements Frame), associated for sending probe requests thereby realization addition or exiting between wireless network and processing access point.
Step S106, the probe request frames for carrying auxiliary distribution information are sent in the form of wifi broadcast packets Go out, after the wifi broadcast packets are listened to after log equipment, to be carried using probe request frames in wifi broadcast packets Aid in the corresponding wireless router of distribution information access.
The probe request frames that the embodiment of the present invention includes by using wifi management frames are by corresponding to wireless router Auxiliary distribution information is transmitted directly to treat log equipment in the form of wifi broadcast packets, to aid in distribution by treating that log equipment utilizes Network where information access wireless router.Terminal is controlled to be turned during wifi broadcast packets are sent without middle route Hair, avoid because some wireless routers are not supported to forward broadcast packet, make to treat that what log equipment can not successfully access asks Topic, so as to efficiently solve the compatibility issue of different radio route.Also, may be used also without routing forwarding auxiliary distribution information The problem of effectively to avoid wireless router from causing broadcast packet to abandon when network very congestion, treat that networking is set so as to improve The success rate of standby access network.
Further, using the method for the embodiment of the present invention any internet of things equipment can be made quickly and accurately to access phase The network answered, reliable basis is provided so as to realize that thing thing is connected for technology of Internet of things.
Step S102 is seen above, the mode that control terminal receives auxiliary distribution information can include two kinds.
The first, what control terminal can directly receive that user configures to it can aid in treating log equipment access network Aid in distribution information.
Second, control terminal is connected with external equipment, and what reception external equipment was sent can aid in treating that log equipment connects Enter the auxiliary distribution information of network.
Specifically, serial ports instrument can be set on external equipment, control and serial ports element is set in terminal, control terminal utilizes The serial ports instrument of the serial ports element and external equipment connects.User can first aid in treating that log equipment accesses in outside device configuration The auxiliary distribution information of network.Then, by external equipment by serial ports instrument by the auxiliary distribution information of user configuration send to Terminal is controlled, control terminal receives the auxiliary distribution information by serial ports element.Wherein, serial ports instrument can use external equipment The serial ports instrument (when such as external equipment is PC terminals, its serial ports instrument carried) itself carried, it can also use outside being arranged on Third party's serial ports instrument of portion's equipment, such as Xshell instruments.
In addition, if external equipment possesses Bluetooth function, bluetooth module, control terminal profit can be set in control terminal Connection is established by Bluetooth protocol with bluetooth module and the external equipment for possessing Bluetooth function, and it is outside using bluetooth module reception Auxiliary distribution information that equipment is sent by Bluetooth protocol, can aiding in treating log equipment access network.In this embodiment, External equipment can include smart mobile phone, intelligent watch, tablet personal computer, PC terminals etc..
In addition, the embodiment of the present invention can also use other modes that distribution information will be aided in send to control terminal.For example, USB interface is set in control terminal, and using the external equipment with USB interface, connects control respectively using USB data line The USB interface of terminal and the USB interface of external equipment, so as to distribution information be aided in be sent out from external equipment by USB data line Deliver to control terminal.In another example using the external equipment with wifi functions, external equipment is same with controlling terminal to be connected to To establish wifi wireless connections on individual router, so as to which auxiliary distribution information is carried in UDP (User Datagram Protocol, UDP) in packet, and will carry auxiliary distribution information by carrier of wifi packets UDP message bag is sent to control terminal, and it can carry above that wherein external equipment is connected to same router with control terminal And wireless router, can also be other wireless routers, do not limit herein.And then control terminal-pair auxiliary distribution Information is received accordingly, and the embodiment of the present invention does not do specific introduction to the sending method for aiding in distribution information.
Step S104 is seen above, the embodiment of the present invention will aid in distribution information to fill into probe request frames, and Probe request frames belong to wifi management frames in 802.11 agreements (Management Frame).
802.11 agreements are simply introduced below.The frame of three types is consisted predominantly of in 802.11 agreements, i.e., Management frame, control frame, data frame.
Wherein, Beacon (beacon) frame, Association frames (such as Association are consisted predominantly of in management frame Request/Response (association request/reply) frame), Probe Request/Response (probe requests thereby/reply) frame, Authentication/Deauthentication (certification/cancellation certification) frame.
Control frame (Control Frame) includes, such as RTS (Request To Send, request are sent) frame, CTS (Clear to send, clear to send) frame, ACK (Acknowledgement, confirming character) frame etc..
Data frame (Data Frame), for carrying the carrier of data, data frame has direction, and this direction can use DS (distributed system) field is used for identifying, and to distinguish the analysis mode in different type frame on address, this field is with two Position represents that the implication of the two represents " To Ds " and " From Ds " respectively.It can be identified in type field in frame head portion Which field the frame belongs to.
In embodiments of the present invention, the structure of wifi management frames (such as probe request frames) is as shown in table 1:
Table 1
In table 1, Frame control field references frame control two bytes of bit occupancy, the beginning of all frames is long Spend the frame control bit of two bytes;
Address represents address bit, and wherein Address1 represents receiving terminal, and Address2 represents transmission end, Address3 Bring overanxious address in position receiving end;
Sequence control represent sequential control position;
Frame Body represent data bit, are responsible for transmitting upper layer data between work station;
FCS represents frame check sequence, is checked for work station, to judge the integrality of received frame;
In addition, management frame shows that they come from 11n networks by inserting HT information units in conventional management frame.
The scheme of the embodiment of the present invention has mainly used data bit Frame Body, the Frame Body in wifi management frames It is made up of different IE (Information Element, information element), the structure of IE bags is as shown in table 2:
Element ID(1byte) Length(1byte) Information(x bytes)
Table 2
Wherein, Element ID:That is the ID of IE bags, for distinguishing different IE, a byte is taken;
Length:IE length is not fixed, and Length is used to specify the length of the IE, takes a byte;
Information:It includes IE particular content.
For different wifi management frames, Frame Body content differs, as included in probe request frames More than ten of IE such as SSID, Supported rates, Request Information.Wherein, there is a special IE, be referred to as Vendor Specific IE (i.e. client/supplier customizes IE), IE ID are 0xdd (decimal system 221), its maximum length For 255.In the IE, the information of each producer setting of oneself can be added.
Thus, the embodiment of the present invention can utilize Vendor Specific IE bags well, and control terminal will receive Auxiliary distribution information (SSID and password of wireless router) filling to the data bit of probe request frames included In Vendor Specific IE bags.
In an alternative embodiment of the invention, in control terminal distribution information will be aided in fill into probe request frames During IE bags, distribution condition code can also be filled in IE bags, distribution condition code is used to identify probe request frames Auxiliary distribution information is carried in IE bags.
Specifically, as shown in table 3, the content that the embodiment of the present invention is filled in IE bags can include three data segments, point It is not distribution condition code, SSID and password (KEY).
Table 3
Wherein, auxiliary distribution is carried in the IE bags of probe request frames of the distribution condition code for identifying the present invention Information, take 16 bytes.SSID and KEY is corresponded to respectively treats that log equipment prepares the SSID of wireless router of access and close Code, 32 bytes are taken respectively.
See above step S106, when control terminal by carry auxiliary distribution information probe request frames with After the form of wifi broadcast packets is sent.Treat that log equipment monitors wifi broadcast packets in each channel, controlled when listening to During the wifi broadcast packets that terminal is sent, it can be parsed from the wifi broadcast packets entrained by the IE bags of probe request frames Auxiliary distribution information (SSID and password of wireless router), and then using the auxiliary distribution information access accordingly without circuit By device.
In an embodiment of the present invention, the probe for carrying auxiliary distribution information that control terminal is finally sent Request frames, i.e., corresponding message structure are as shown in Figure 2.Wherein, the Vendor referred in Vendor IE, i.e. foregoing embodiments Specific IE bags.Contained in Vendor IE No. IE, IE length, distribution condition code, the SSID and KEY of wireless router (password).MAC header are the header of message.Other IE, such as the SSID of invisible scanning, the speed (Supported of support Rates) etc..
In an alternative embodiment of the invention, when control terminal will carry the probe request frames of auxiliary distribution information Before being sent in the form of wifi broadcast packets, in order to prevent malicious persons from using wifi packet catchers malice crawl probe The auxiliary distribution information carried in the IE bags of request frames, obtain the SSID and KEY of router.Alternatively, led to by control terminal Cross corresponding AES to be encrypted for auxiliary distribution information, and then encryption auxiliary distribution information and distribution spy will be carried The probe request frames of sign code are sent to treating log equipment.
After log equipment receives wifi broadcast packets, it is parsed, to obtain wherein probe request frames bag The IE bags contained, and No. IE is checked whether to include distribution condition code in 0xdd IE bags, if including distribution condition code, Follow-up field (auxiliary distribution information) is decrypted using corresponding decipherment algorithm, so as to get the SSID of wireless router And KEY.And then treat that log equipment accesses corresponding wireless router using the SSID and KEY, log equipment access network is treated in completion Network.
In the embodiment of the present invention, to aid in the AES that distribution information is encrypted, and corresponding decipherment algorithm can Not do specific restriction to this using arbitrary encryption and corresponding decryption means, the embodiment of the present invention.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of control terminal, and the control terminal can help Treat that log equipment accesses network.Fig. 3 shows the structural representation of control terminal according to an embodiment of the invention.Referring to figure 3, control terminal 10 includes receiving device 101 and wifi devices 102.
Now introduce each composition or device of the control terminal 10 of the embodiment of the present invention function and each several part between connection Relation:
Receiving device 101, suitable for receiving the auxiliary distribution that can aid in treating log equipment (not shown in Fig. 3) access network Information, and distribution information transfer will be aided in Wifi devices 102;
Wherein, distribution information is aided in include treating the SSID and password of the wireless router that log equipment will access.
Wifi devices 102, it is connected with receiving device 101, suitable for receiving the auxiliary distribution letter of the receiving device 101 transmission Breath, and auxiliary distribution information is filled into probe request frames, and the probe that auxiliary distribution information will be carried Request frames are sent in the form of wifi broadcast packets, after the wifi broadcast packets are listened to after log equipment, to utilize The corresponding wireless router of auxiliary distribution information access that probe request frames carry in wifi broadcast packets (does not show in Fig. 3 Go out).
In an embodiment of the present invention, the auxiliary distribution information that wifi devices 102 are further adapted for receiving is filled to probe In the IE bags that the data bit of request frames is included.
In this embodiment, IE bags include:Vendor Specific IE bags, the ID of Vendor Specific IE bags are 0xdd。
In an embodiment of the present invention, wifi devices 102 are further adapted for, and will carry the probe of auxiliary distribution information Before request frames are sent in the form of wifi broadcast packets, distribution feature is filled in the IE bags of probe request frames Code, distribution condition code carry auxiliary distribution information in the IE bags for identifying probe request frames.
Further, wifi devices 102 can will carry distribution condition code and aid in the probe of distribution information Request frames are sent in the form of wifi broadcast packets, with after the wifi broadcast packets are listened to after log equipment, if parsing Learn and distribution condition code is included in the IE bags of probe request frames, parse the auxiliary distribution information in IE bags, and utilize auxiliary The corresponding wireless router of distribution information access.
In an embodiment of the present invention, wifi devices 102 are further adapted to aid in the encryption of distribution information, and will carry encryption The probe request frames of auxiliary distribution information are sent in the form of wifi broadcast packets, to treat that log equipment listens to After the wifi broadcast packets, the auxiliary distribution information in wifi broadcast packets is decrypted first with corresponding decipherment algorithm, and then Utilize the corresponding wireless router of auxiliary distribution information access after decryption.
Referring to Fig. 4 A, in an embodiment of the present invention, the receiving device 101 and external equipment of control terminal 10 are (in Fig. 4 A It is not shown) connection, the auxiliary distribution that can aid in treating log equipment access network that the reception external equipment of receiving device 101 is sent Information.Wherein, serial ports instrument is provided with external equipment, receiving device 101 can include serial ports element 1011, with external equipment Serial ports instrument connection, suitable for receive external equipment can aid in treating log equipment by what serial ports instrument was sent (in Fig. 4 A not Show) access network auxiliary distribution information (SSID and KEY of such as wireless router).
After the auxiliary distribution information that serial ports element 1011 receives, by being connected to serial ports element 1011 and wifi devices Internal bus between 102, auxiliary distribution information transmission to wifi devices 102, wifi devices 102 is being received into auxiliary distribution After information, it is filled with into the probe request frames of wifi management frames.Such as can will auxiliary distribution information fill to In the Vendor Specific IE bags of probe request frames.And then wifi devices 102 will carry auxiliary distribution information Probe request frames sent in the form of wifi broadcast packets, with treating log equipment (not shown in Fig. 4 A) monitor To after the wifi broadcast packets, the auxiliary distribution information access carried using probe request frames in wifi broadcast packets is corresponding Wireless router (not shown in Fig. 4 A).
Referring to Fig. 4 B, in an alternative embodiment of the invention, receiving device 101 can also include bluetooth module 1012, outside Equipment possesses Bluetooth function (not shown in Fig. 4 B), control terminal 10 utilizes the bluetooth module 1012 in receiving device 101 and tool The external equipment for having Bluetooth function is established by Bluetooth protocol to be connected.Bluetooth module 1012 receives external equipment and passes through Bluetooth protocol Auxiliary distribution information (such as blue-teeth data SSID sending, can aiding in treating log equipment (not shown in Fig. 4 B) access network And KEY).After the auxiliary distribution information that bluetooth module 1012 receives, passed by the internal bus being arranged in control terminal 10 Wifi devices 102 are handed to, wifi devices 102 will aid in distribution information to fill into probe reques frames, specific filling process See above embodiment.In this embodiment, external equipment can include smart mobile phone, intelligent watch, tablet personal computer, PC terminals Etc..
Referring to Fig. 3, in an alternative embodiment of the invention, external equipment (not shown in Fig. 3) has USB interface, receiver Part 101 includes corresponding USB interface (not shown in Fig. 3), and the USB interface of receiving device 101 and the USB interface of external equipment lead to USB data line (not shown in Fig. 3) connection is crossed, receiving external equipment using the USB interface on receiving device 101 passes through USB numbers Auxiliary distribution information being sent according to line, can aiding in treating log equipment access network.Or external equipment possesses wifi functions, The external equipment is connected to same router (not shown in Fig. 3) with control terminal 10, receiving device 101 receive external equipment with Auxiliary distribution information that wifi data packet forms are sent, can aiding in treating log equipment access network.
Referring to Fig. 4 A and Fig. 4 B, in embodiments of the present invention, control terminal 10 also includes power supply apparatus 103, power supply apparatus 103 are responsible for powering to control terminal 10, such as the receiving device 101 and wifi devices 102 that can give in control terminal 10 are powered.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of system of equipment access network, and Fig. 5 A are shown The structural representation of the system of equipment access network according to an embodiment of the invention.Referring to Fig. 5 A, equipment access network System 100 include control terminal 10, treat log equipment 20 and wireless router 30.
Wherein, control terminal 10 can receive the auxiliary distribution information that can aid in treating that log equipment 20 accesses network, will The auxiliary distribution information received is filled into probe request frames, and the probe that will carry auxiliary distribution information Request frames are sent in the form of wifi broadcast packets.Wherein, distribution information is aided in include treating that log equipment 20 will The SSID and password of the wireless router 30 of access.
Log equipment 20 is treated, is connected with control terminal 10, wifi broadcast packets is monitored in each channel, controlled when listening to During the wifi broadcast packets that terminal 10 is sent, the auxiliary distribution information that probe request frames carry in wifi broadcast packets, root are obtained According to auxiliary distribution information generation connection request, and connection request is sent to corresponding wireless router 30.
Wireless router 30, with treating that log equipment 20 is connected, receive treat log equipment 20 send carry auxiliary distribution The connection request of information, and after being verified to connection request, will treat that log equipment 20 accesses network where itself.
Referring to Fig. 5 B, in an embodiment of the present invention, the system 100 of equipment access network can also include external equipment 40, control terminal 10 is connected with external equipment 40, and what reception external equipment 40 was sent can aid in treating the access network of log equipment 20 The auxiliary distribution information of network.
In an embodiment of the present invention, serial ports instrument (not shown in Fig. 5 B) can be provided with external equipment 40, is controlled Serial ports element (not shown in Fig. 5 B) is provided with terminal 10, external equipment 40 is using serial ports instrument with controlling the string in terminal 10 Serial ports connection is established in mouth element connection.External equipment 40 receives the auxiliary distribution information of user configuration (such as wireless router 30 SSID and KEY), and auxiliary distribution information is sent to control terminal 10 by serial ports instrument.Control terminal 10 receives outside and set The standby 40 auxiliary distribution information sent by serial ports instrument, and auxiliary distribution information is carried by building using aforesaid way Probe request frames, sent by by probe request frames in the form of wifi broadcast packets.
In an alternative embodiment of the invention, if external equipment 40 possesses Bluetooth function, can be set in control terminal 10 Bluetooth module is put, control terminal 10 is established using bluetooth module with the external equipment 40 with Bluetooth function by Bluetooth protocol to be connected Connect.External equipment 40 receives the auxiliary distribution information that can aid in treating log equipment access network of user configuration, and this is auxiliary Distribution information is helped to be sent by Bluetooth protocol to the control terminal 10 for establishing bluetooth connection with it.Terminal 10 is controlled to utilize bluetooth mould Block receives the auxiliary distribution information that external equipment 40 is sent by Bluetooth protocol, and then the auxiliary distribution information received is filled Into probe request frames.In this embodiment, external equipment can include smart mobile phone, intelligent watch, tablet personal computer, PC terminals etc..
In an alternative embodiment of the invention, external equipment 40 can also be connected with control terminal 10 by USB data line, or Person's wifi wireless connections.Specific implementation process refers to foregoing embodiments.
In an embodiment of the present invention, control terminal 10 fills the auxiliary distribution information received to probe When in request frames, specifically, auxiliary distribution information can be filled into what is included to the data bit of probe request frames ID number is in 0xdd Vendor Specific IE bags.Specific filling process, foregoing embodiments are referred to, it is no longer superfluous herein State.
Referring to Fig. 6, Fig. 6 shows the data interaction figure between each equipment in the system of equipment access network.It is right below Data transmission procedure between each equipment and treat that the process of log equipment access network describes in detail.The embodiment is to control Terminal 10 processed is established serial ports with PC terminals 41 and is connected, and receives the auxiliary distribution information sent by PC terminals 41 by serial ports instrument Exemplified by illustrate.
First, it is determined that treating that the SSID and KEY (password) of the wireless router 30 to be accessed of log equipment 20 (aid in matching somebody with somebody Net information), and inputted the SSID of wireless router 30 and KEY to PC terminals 41 by user.Wherein, PC terminals 41 and control are whole End 10 is connected by serial ports.For example, PC terminals 41 are connected using serial ports instrument with the serial ports device of control terminal 10.When user matches somebody with somebody Trigger PC terminals 41 after having put auxiliary distribution information, with by PC terminals 41 by the SSID of wireless router 30 and KEY with serial ports number According to form send to control terminal 10.
Secondly, control terminal 10 receives SSID and KEY from PC terminals 41, and the PC terminals 41 are located accordingly Reason, i.e., by the SSID and KEY of wireless router 30, also distribution condition code (such as 112233) filling to probe request frames Vendor Specific IE bags in.Wherein, carried in IE bags of the distribution condition code for identifying probe request frames Aid in distribution information.After filling is completed, control terminal 10 will carry the probe of SSID, KEY and distribution condition code Request frames are sent in the form of wifi broadcast packets.
Then, due to treating broadcast of the log equipment 20 in each channel is monitored in real time, therefore, when listening to control terminal During the wifi broadcast packets of 10 broadcast, the information of the carrying in wifi broadcast packets can be analyzed.If treating, the analysis of log equipment 20 is learnt Distribution condition code (such as 112233) is included in the Vendor Specific IE bags of probe request frames, then further parsing Obtain the SSID and KEY of the wireless router 30 in Vendor Specific IE bags.
And then SSID and KEY of the log equipment 20 according to wireless router 30 are treated, sent to corresponding wireless router 30 ID authentication request, such as in Authentication frames, (Authentication frames belong to wifi pipes by certification request carrying Manage frame) in send to wireless router 30.When wireless router 30 receives the ID authentication request for treating that log equipment 20 is sent Afterwards, the identity for treating log equipment 20 is authenticated, and treats that log equipment 20 meets customized distribution association in advance if judging to learn View, then it is assumed that this treats that log equipment 20 can access, and to treating that log equipment 20 sends in the form of Authentication frames The response message of authentication processing result, treat that log equipment 20 can access network with notice.
Finally, treat that log equipment 20 generates connection request according to the SSID and KEY of wireless router 30, and by connection request Carry and sent in Association Request to corresponding wireless router 30.Wireless router 30 receives the connection please Ask and after being verified, will treat that log equipment 20 accesses network where itself, and with Association Response frames Form is to treating that log equipment 20 sends the response message of successful connection.
After the response message that log equipment 20 receives the successful connection of the return of wireless router 30, with Probe The form of Response frames feeds back it to control terminal 10 and accesses the status response message of network.Control terminal 10 receive treat into After the response message that net equipment 20 is fed back, the net state that enters for treating log equipment 20 is sent to PC terminals 41 by serial ports device.
It is the network diagram according to the system of the equipment of one embodiment of the invention access network referring to Fig. 7.In the present invention In one embodiment, the system of equipment access network also includes cloud device 50, and cloud device 50 establishes nothing with wireless router 30 Line connects.
Equipment access network system include control terminal 10, treat log equipment 20, wireless router 30, external equipment (Fig. 7 embodiments use PC terminals 41) and cloud device 50, wherein, control in terminal 10 and be provided with serial ports element (in Fig. 7 not Show), it is connected with PC terminals 41 by serial ports, and is received the auxiliary distribution sent by PC terminals 41 by serial ports instrument and believed Cease, the data exchange process between each equipment refers to foregoing embodiments, and here is omitted.Wherein, when treating log equipment 20 After being successfully accessed corresponding wireless router 30, the data that can be needed to interact with other equipment are with wifi data frames Form send to wireless router 30, and then carry out data message and instruction using wireless router 30 and cloud device 50 Interaction, it can not only realize and treat interacting for log equipment 20 and the data in cloud device 50, cloud device 50 can also be received Management.Data message can also be forwarded to other equipment by cloud device 50, so as to realize that the data between each equipment are handed over Mutually.The system is applied in Internet of Things, using internet of things equipment as log equipment 20 is treated, so as to realize thing for technology of Internet of things Thing, which is connected, provides reliable basis.
Certainly, in the embodiment can also in terminal 10 is controlled by setting bluetooth module so that PC terminals 41 with Control terminal 10 to establish by Bluetooth protocol to connect, or control terminal 10 and other external equipments are (as with Bluetooth function Smart mobile phone, intelligent watch, tablet personal computer etc.) bluetooth connection is established, the embodiment of the present invention is not specifically limited to this.
According to the combination of any one above-mentioned preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach Following beneficial effect:
In embodiments of the present invention, the method for equipment access network can be applied treats log equipment access network in auxiliary Control in terminal.First, terminal is controlled to receive the auxiliary distribution information that can aid in treating log equipment access network.Then, will The auxiliary distribution information received is filled into probe request frames.And then the probe that auxiliary distribution information will be carried Request frames are sent in the form of wifi broadcast packets.Control what terminal was sent when treating that log equipment listens in the channel After the wifi broadcast packets, the auxiliary distribution information that probe request frames carry in wifi broadcast packets can be parsed, and utilize parsing The corresponding wireless router of auxiliary distribution information access arrived, log equipment access wireless router place net is treated so as to realize Network.It follows that the embodiment of the present invention by using the probe request frames that wifi management frames include by wireless router pair The auxiliary distribution information answered is transmitted directly to treat log equipment in the form of wifi broadcast packets, with by treating log equipment using auxiliary Network where distribution information access wireless router.Control terminal during wifi broadcast packets are sent without centre route into Row forwarding, avoid because some wireless routers are not supported to forward broadcast packet, make to treat that log equipment can not successfully access The problem of, so as to efficiently solve the compatibility issue of different radio route.Also, aid in distribution information without routing forwarding The problem of can also effectively avoiding wireless router from causing broadcast packet to abandon when network very congestion, so as to improve treat into Net equipment accesses the success rate of network.
Further, using the method for the embodiment of the present invention any internet of things equipment can be made quickly and accurately to access phase The network answered, reliable basis is provided so as to realize that thing thing is connected for technology of Internet of things.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the 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 method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize control terminal according to embodiments of the present invention, equipment access network System in some or all parts some or all functions.The present invention is also implemented as being used to perform institute here The some or all equipment or program of device of the method for description are (for example, computer program and computer program production Product).Such program for realizing the present invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtained, and either be provided or on carrier signal to appoint What other forms provides.
Referring to Fig. 8, the embodiment of the present invention, which additionally provides, can realize the electronic equipment for treating log equipment access network, that is, scheme Computing device shown in 8, including processor 810 and the memory 820 for being arranged to store computer executable instructions, can hold Row instruction makes processor 810 perform the method according to equipment access network above when executed.
In addition, the embodiment of the present invention additionally provides a kind of computer-readable storage medium, wherein, computer-readable recording medium is deposited One or more programs are stored up, one or more programs are when the electronic equipment for being included multiple application programs performs so that electronics The method that equipment performs equipment access network above.
Specifically, memory 820 can be such as flash memory, EEPROM (Electrically Erasable Read Only Memory), EPROM, hard disk or ROM etc electronic memory.There is memory 820 storage to be used to perform any side in the above method The memory space 830 of the program 831 of method step.For example, the memory space 830 of store program codes can include being respectively used to reality Each program 831 of various steps in existing above method.These program codes can be from one or more computer journey Read or be written in sequence product in this one or more computer program product.These computer program products include all Such as hard disk, the program code carrier of compact-disc (CD), storage card or floppy disk etc.Such computer program product is usually Such as the portable or static memory cell shown in Fig. 9.The memory cell can have and the storage in Fig. 8 computing device The memory paragraph of the similar arrangement of device 820, memory space etc..Program code for example can be compressed in a suitable form.Generally, store Unit includes being used to perform the program 831 ' of the method and step of the present invention, you can with what is read by such as 810 etc processor Code, when these codes are run by computing device, cause each step in the computing device method described above Suddenly.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket 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" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention Example property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present invention It is determined that or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognized It is set to and covers other all these variations or modifications.

Claims (31)

1. a kind of method of equipment access network, treat that log equipment accesses network-based control terminal applied to auxiliary, including:
Receive the auxiliary distribution information that can aid in treating log equipment access network;
The auxiliary distribution information received is filled into probe request frames;
The probe request frames for carrying auxiliary distribution information are sent in the form of wifi broadcast packets, with described After log equipment listens to the wifi broadcast packets, the auxiliary distribution of probe request frames carrying in wifi broadcast packets is utilized The corresponding wireless router of information access.
2. according to the method for claim 1, it is characterised in that the auxiliary distribution information includes treating that log equipment will connect The SSID and password of the wireless router entered.
3. method according to claim 1 or 2, it is characterised in that the control terminal is connected with external equipment, described to connect The auxiliary distribution information that can aid in treating log equipment access network is received, including:
Receive the auxiliary distribution information that can aid in treating log equipment access network that the external equipment is sent.
4. according to the method for claim 3, it is characterised in that the reception can aid in treating log equipment access network Distribution information is aided in, including:
Serial ports instrument is provided with the external equipment, serial ports element, the control terminal profit are provided with the control terminal Serial ports is established with the serial ports instrument of serial ports element and external equipment to connect, and receives the external equipment using the serial ports element Auxiliary distribution information being sent by the serial ports instrument set thereon, can aiding in treating log equipment access network;Or
The external equipment possesses Bluetooth function, and bluetooth module is provided with the control terminal, and the control terminal utilizes indigo plant Tooth module and the external equipment with Bluetooth function establish connection by Bluetooth protocol, and using described in bluetooth module reception Auxiliary distribution information that external equipment is sent by Bluetooth protocol, can aiding in treating log equipment access network;Or
The external equipment has USB interface, and corresponding USB interface, the control terminal are also equipped with the control terminal USB interface connected with the USB interface of the external equipment by USB data line, received using the USB interface controlled in terminal Auxiliary distribution information that external equipment is sent by the USB data line, can aiding in treating log equipment access network;Or
The external equipment possesses wifi functions, and the external equipment is connected to same router with control terminal, and control terminal connects Receive auxiliary distribution information that external equipment is sent with wifi data packet forms, can aiding in treating log equipment access network.
5. according to the method for claim 3, it is characterised in that the external equipment includes following any one:Intelligent hand Machine, intelligent watch, tablet personal computer, PC terminals.
6. method according to claim 1 or 2, it is characterised in that it is described by the auxiliary distribution information received fill to In probe request frames, including:
The auxiliary distribution information received is filled in the IE bags included to the data bit of probe request frames.
7. according to the method for claim 6, it is characterised in that the IE bags include:Vendor Specific IE bags, institute The ID for stating Vendor Specific IE bags is 0xdd.
8. according to the method for claim 6, it is characterised in that the probe that auxiliary distribution information will be carried Before request frames are sent in the form of wifi broadcast packets, in addition to:
Distribution condition code is filled in the IE bags of probe request frames, the distribution condition code is used to identify the probe Auxiliary distribution information is carried in the IE bags of request frames.
9. according to the method for claim 8, it is characterised in that the probe that auxiliary distribution information will be carried Request frames are sent in the form of wifi broadcast packets, including:
The distribution condition code will be carried and aid in the probe request frames of distribution information in the form of wifi broadcast packets Send, when described after log equipment listens to the wifi broadcast packets, if the probe request frames are learnt in parsing Distribution condition code is included in IE bags, parses the auxiliary distribution information in IE bags, and it is corresponding using the auxiliary distribution information access Wireless router.
10. method according to claim 1 or 2, it is characterised in that the probe that auxiliary distribution information will be carried Request frames are sent in the form of wifi broadcast packets, including:
Encrypted for the auxiliary distribution information, and the probe request frames of encryption auxiliary distribution information will be carried with wifi The form of broadcast packet is sent, after log equipment listens to the wifi broadcast packets, to be decrypted described first with corresponding Auxiliary distribution information in wifi broadcast packets is decrypted algorithm, and then corresponding using the auxiliary distribution information access after decryption Wireless router.
11. one kind control terminal, including receiving device and connected wifi devices, wherein,
The receiving device, suitable for receiving the auxiliary distribution information that can aid in treating log equipment access network, and auxiliary is matched somebody with somebody Net information transfer is to Wifi devices;
The Wifi devices, suitable for receiving the auxiliary distribution information of the receiving device transmission, and will auxiliary distribution information filling Into probe request frames;And
The probe request frames for carrying auxiliary distribution information are sent in the form of wifi broadcast packets, with described After log equipment listens to the wifi broadcast packets, the auxiliary distribution of probe request frames carrying in wifi broadcast packets is utilized The corresponding wireless router of information access.
12. control terminal according to claim 11, it is characterised in that the auxiliary distribution information includes treating log equipment The SSID and password for the wireless router that will be accessed.
13. the control terminal according to claim 11 or 12, it is characterised in that the receiving device of the control terminal with it is outer Portion's equipment connection, the receiving device are further adapted for:
Receive the auxiliary distribution information that can aid in treating log equipment access network that the external equipment is sent.
14. control terminal according to claim 13, it is characterised in that
The receiving device includes serial ports element, is provided with serial ports instrument on the external equipment, the serial ports element with it is described Serial ports instrument connects, and receives the external equipment and treat log equipment access network by can aiding in of sending of the serial ports instrument The auxiliary distribution information of network;Or
The receiving device includes bluetooth module, and the external equipment possesses Bluetooth function, the bluetooth module and the outside Equipment by Bluetooth protocol establish connect, and receive it is that the external equipment is sent by Bluetooth protocol, can aid in waiting to network Equipment accesses the auxiliary distribution information of network;Or
The external equipment has USB interface, and the receiving device includes corresponding USB interface, and the USB of the receiving device connects Mouth is connected with the USB interface of the external equipment by USB data line, and outside set is received using the USB interface on receiving device Standby auxiliary distribution information being sent by the USB data line, can aiding in treating log equipment access network;Or
The external equipment possesses wifi functions, and the external equipment is connected to same router with control terminal, and receiving device connects Receive auxiliary distribution information that external equipment is sent with wifi data packet forms, can aiding in treating log equipment access network.
15. control terminal according to claim 14, it is characterised in that
The serial ports element or the bluetooth module or the USB interface for controlling terminal, suitable for the auxiliary distribution information that will be received The wifi devices are transferred to by the internal bus being arranged in control terminal, the wifi devices believe the auxiliary distribution Breath filling is into probe request frames.
16. control terminal according to claim 13, it is characterised in that the external equipment includes following any one: Smart mobile phone, intelligent watch, tablet personal computer, PC terminals.
17. the control terminal according to claim 11 or 12, it is characterised in that the wifi devices are further adapted for:
The auxiliary distribution information received is filled in the IE bags included to the data bit of probe request frames.
18. control terminal according to claim 17, it is characterised in that the IE bags include:Vendor Specific IE bags, the ID of the Vendor Specific IE bags is 0xdd.
19. control terminal according to claim 17, it is characterised in that the wifi devices are further adapted for:
Before the probe request frames for carrying auxiliary distribution information are sent in the form of wifi broadcast packets, Distribution condition code is filled in the IE bags of probe request frames, the distribution condition code is used to identify the probe request Auxiliary distribution information is carried in the IE bags of frame.
20. control terminal according to claim 19, it is characterised in that the wifi devices are further adapted for:
The distribution condition code will be carried and aid in the probe request frames of distribution information in the form of wifi broadcast packets Send, with after the wifi broadcast packets are listened to after log equipment, if the IE of the probe request frames is learnt in parsing Distribution condition code is included in bag, parses the auxiliary distribution information in IE bags, and it is corresponding using the auxiliary distribution information access Wireless router.
21. the control terminal according to claim 11 or 12, it is characterised in that the wifi devices are further adapted for:
Encrypted for the auxiliary distribution information, and the probe request frames of encryption auxiliary distribution information will be carried with wifi The form of broadcast packet is sent, after log equipment listens to the wifi broadcast packets, to be decrypted described first with corresponding Auxiliary distribution information in wifi broadcast packets is decrypted algorithm, and then corresponding using the auxiliary distribution information access after decryption Wireless router.
22. a kind of system of equipment access network, including:
Terminal is controlled, receives the auxiliary distribution information that can aid in treating log equipment access network, the auxiliary distribution that will be received Information is filled into probe request frames, and the probe request frames for carrying auxiliary distribution information are broadcasted with wifi The form of bag is sent;
It is described to treat log equipment, wifi broadcast packets are monitored in the channel, when the wifi broadcast for listening to the control terminal transmission Bao Shi, the auxiliary distribution information that probe request frames carry in wifi broadcast packets is obtained, according to the auxiliary distribution information life Sent into connection request, and by connection request to corresponding wireless router;
The wireless router, treats the connection request for carrying auxiliary distribution information that log equipment is sent described in reception, and After being verified to the connection request, treat that log equipment accesses itself place network by described.
23. system according to claim 22, it is characterised in that the auxiliary distribution information includes treating that log equipment will The SSID and password of the wireless router of access.
24. the system according to claim 22 or 23, it is characterised in that also including external equipment,
The control terminal is connected with the external equipment, receive external equipment transmission can aid in treat that log equipment connects Enter the auxiliary distribution information of network.
25. system according to claim 24, it is characterised in that
Serial ports element is provided with the control terminal, serial ports instrument, the external equipment profit are provided with the external equipment It is connected with serial ports instrument with the serial ports element in control terminal and establishes serial ports connection, is believed by the auxiliary distribution for receiving user configuration Breath, the auxiliary distribution information is sent to control terminal by serial ports instrument, and then the control terminal passes through serial ports element Receive the auxiliary distribution information that the external equipment is sent by serial ports instrument;Or
The external equipment possesses Bluetooth function, and bluetooth module is provided with the control terminal, and the control terminal utilizes indigo plant Tooth module is established by Bluetooth protocol with the external equipment with Bluetooth function and connected, and the external equipment is by receiving user The auxiliary distribution information that can aid in treating log equipment access network of configuration, the auxiliary distribution information is sent out by Bluetooth protocol Deliver to and establish the control terminal of bluetooth connection with it, and then the control terminal receives the outside using the bluetooth module and set The standby auxiliary distribution information sent by Bluetooth protocol;Or
The external equipment has USB interface, and corresponding USB interface, the control terminal are also equipped with the control terminal USB interface connected with the USB interface of the external equipment by USB data line, and the external equipment is by receiving user The auxiliary distribution information that can aid in treating log equipment access network of configuration, passes through USB data line by the auxiliary distribution information Send and extremely establish the control terminal of wired connection with it, and then, the control terminal receives external equipment using USB interface and passed through The auxiliary distribution information that the USB data line is sent;Or
The external equipment possesses wifi functions, and the external equipment is connected to same router, and the outside with control terminal Equipment by receive user configuration can aid in treating log equipment access network auxiliary distribution information, by the auxiliary distribution believe Breath is sent to it with wifi data packet forms and establishes the control terminal that wifi be connected, and then, outside the control terminal receives The auxiliary distribution information that equipment is sent.
26. the system according to claim 22 or 23, it is characterised in that
The control terminal fills the auxiliary distribution information received the IE included to the data bit of probe request frames Bao Zhong.
27. system according to claim 26, it is characterised in that the IE bags include:Vendor Specific IE bags, The ID of the Vendor Specific IE bags is 0xdd.
28. the system according to claim 22 or 23, it is characterised in that
It is described to treat log equipment, connection request is sent to before corresponding wireless router, sent to the wireless router ID authentication request;
The wireless router, the ID authentication request that log equipment is sent is treated described in reception, to treat log equipment described in certification Identity whether meet access and require, if certification is by continuing to the connection request treated log equipment and sent.
29. the system according to claim 22 or 23, it is characterised in that also include:
Cloud device, with the wireless router wireless connection, treat that log equipment is successfully accessed corresponding wireless routing when described After device, enter interacting for row information and instruction using the wireless router and cloud device, with treated described in realization log equipment with The interaction of data in cloud device and the management for receiving cloud device.
30. a kind of electronic equipment, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the processor when executed The method for performing the equipment access network according to claim 1-10 described in any one.
31. a kind of computer-readable storage medium, wherein, the computer-readable recording medium storage one or more program is described One or more programs are when the electronic equipment for being included multiple application programs performs so that the electronic equipment is performed according to power The method that profit requires the equipment access network described in any one of 1-10.
CN201711052591.7A 2017-10-30 2017-10-30 Method, control terminal and the system of equipment access network Pending CN107787025A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201711052591.7A CN107787025A (en) 2017-10-30 2017-10-30 Method, control terminal and the system of equipment access network
PCT/CN2018/110506 WO2019085747A1 (en) 2017-10-30 2018-10-16 Method for device to access network, control terminal and system
US16/859,486 US11647388B2 (en) 2017-10-30 2020-04-27 Method, control terminal and system for accessing device to network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711052591.7A CN107787025A (en) 2017-10-30 2017-10-30 Method, control terminal and the system of equipment access network

Publications (1)

Publication Number Publication Date
CN107787025A true CN107787025A (en) 2018-03-09

Family

ID=61431646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711052591.7A Pending CN107787025A (en) 2017-10-30 2017-10-30 Method, control terminal and the system of equipment access network

Country Status (1)

Country Link
CN (1) CN107787025A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085747A1 (en) * 2017-10-30 2019-05-09 苏州欧普照明有限公司 Method for device to access network, control terminal and system
CN109743730A (en) * 2019-01-23 2019-05-10 欧普照明股份有限公司 A kind of smart machine networking method and system
CN110381508A (en) * 2019-05-21 2019-10-25 欧普照明股份有限公司 A method of distribution success rate is improved using wifi remote controler
CN110418381A (en) * 2018-04-28 2019-11-05 华为技术有限公司 A kind of method and apparatus of data forwarding
WO2020020313A1 (en) * 2018-07-27 2020-01-30 杭州博联智能科技股份有限公司 Device network configuration apparatus, system and method
CN111669801A (en) * 2020-05-22 2020-09-15 浙江大华技术股份有限公司 Method, terminal and access point equipment for establishing network connection
CN111741509A (en) * 2019-03-25 2020-10-02 珠海格力电器股份有限公司 Network distribution method and device, storage medium and processor
CN111935681A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Intelligent equipment network configuration implementation system, method and equipment
CN112218282A (en) * 2020-10-23 2021-01-12 珠海格力电器股份有限公司 Network distribution method and related device of Internet of things equipment
CN112260871A (en) * 2020-10-21 2021-01-22 杭州萤石软件有限公司 Configuration method of network parameters of Internet of things equipment, Internet of things equipment and system
CN112492608A (en) * 2020-11-16 2021-03-12 杭州萤石软件有限公司 Wireless network distribution method and device for Internet of things equipment, electronic equipment and storage medium
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
CN113993183A (en) * 2021-10-27 2022-01-28 深圳市芯中芯科技有限公司 Beacon frame-based WiFi zero distribution network system and method
CN114827909A (en) * 2022-04-12 2022-07-29 广州芯之联科技有限公司 Network distribution method and device for HT20 equipment
WO2022183350A1 (en) * 2021-03-01 2022-09-09 Oppo广东移动通信有限公司 Network configuration method for internet of things device, terminal device, and internet of things device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN104683994A (en) * 2015-03-18 2015-06-03 北京联盛德微电子有限责任公司 Wireless network configuration method and wireless network devices
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
CN106455001A (en) * 2016-11-30 2017-02-22 青岛海尔科技有限公司 Method and device for configuring WIFI module
CN106535316A (en) * 2016-11-29 2017-03-22 海尔优家智能科技(北京)有限公司 Method for connecting internet-of-things module to network, router and internet-of-things module
WO2017065548A1 (en) * 2015-10-16 2017-04-20 Samsung Electronics Co., Ltd. Method and apparatus for system information acquisition in wireless communication system
CN107222372A (en) * 2016-03-22 2017-09-29 阿里巴巴集团控股有限公司 A kind of method for sending information and equipment
CN207766561U (en) * 2017-10-30 2018-08-24 欧普照明股份有限公司 A kind of system of control terminal and equipment access network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN104683994A (en) * 2015-03-18 2015-06-03 北京联盛德微电子有限责任公司 Wireless network configuration method and wireless network devices
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
WO2017065548A1 (en) * 2015-10-16 2017-04-20 Samsung Electronics Co., Ltd. Method and apparatus for system information acquisition in wireless communication system
CN107222372A (en) * 2016-03-22 2017-09-29 阿里巴巴集团控股有限公司 A kind of method for sending information and equipment
CN106535316A (en) * 2016-11-29 2017-03-22 海尔优家智能科技(北京)有限公司 Method for connecting internet-of-things module to network, router and internet-of-things module
CN106455001A (en) * 2016-11-30 2017-02-22 青岛海尔科技有限公司 Method and device for configuring WIFI module
CN207766561U (en) * 2017-10-30 2018-08-24 欧普照明股份有限公司 A kind of system of control terminal and equipment access network

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085747A1 (en) * 2017-10-30 2019-05-09 苏州欧普照明有限公司 Method for device to access network, control terminal and system
US11647388B2 (en) 2017-10-30 2023-05-09 Opple Lighting Co., Ltd. Method, control terminal and system for accessing device to network
CN110418381A (en) * 2018-04-28 2019-11-05 华为技术有限公司 A kind of method and apparatus of data forwarding
WO2020020313A1 (en) * 2018-07-27 2020-01-30 杭州博联智能科技股份有限公司 Device network configuration apparatus, system and method
CN109743730A (en) * 2019-01-23 2019-05-10 欧普照明股份有限公司 A kind of smart machine networking method and system
CN111741509A (en) * 2019-03-25 2020-10-02 珠海格力电器股份有限公司 Network distribution method and device, storage medium and processor
CN111935681A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Intelligent equipment network configuration implementation system, method and equipment
CN110381508A (en) * 2019-05-21 2019-10-25 欧普照明股份有限公司 A method of distribution success rate is improved using wifi remote controler
CN111669801A (en) * 2020-05-22 2020-09-15 浙江大华技术股份有限公司 Method, terminal and access point equipment for establishing network connection
CN112260871B (en) * 2020-10-21 2023-04-07 杭州萤石软件有限公司 Configuration method of network parameters of Internet of things equipment, internet of things equipment and system
CN112260871A (en) * 2020-10-21 2021-01-22 杭州萤石软件有限公司 Configuration method of network parameters of Internet of things equipment, Internet of things equipment and system
CN112218282A (en) * 2020-10-23 2021-01-12 珠海格力电器股份有限公司 Network distribution method and related device of Internet of things equipment
CN112492608A (en) * 2020-11-16 2021-03-12 杭州萤石软件有限公司 Wireless network distribution method and device for Internet of things equipment, electronic equipment and storage medium
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
WO2022183350A1 (en) * 2021-03-01 2022-09-09 Oppo广东移动通信有限公司 Network configuration method for internet of things device, terminal device, and internet of things device
CN113993183A (en) * 2021-10-27 2022-01-28 深圳市芯中芯科技有限公司 Beacon frame-based WiFi zero distribution network system and method
CN113993183B (en) * 2021-10-27 2024-02-09 深圳市芯中芯科技有限公司 Beacon frame-based WiFi zero distribution network system and method
CN114827909A (en) * 2022-04-12 2022-07-29 广州芯之联科技有限公司 Network distribution method and device for HT20 equipment
CN114827909B (en) * 2022-04-12 2023-11-10 广州芯之联科技有限公司 Network distribution method and device for HT20 equipment

Similar Documents

Publication Publication Date Title
CN107787025A (en) Method, control terminal and the system of equipment access network
CN107750058A (en) Method, control terminal and the system of equipment access network based on wifi Beacon frames
CN207766561U (en) A kind of system of control terminal and equipment access network
US11647388B2 (en) Method, control terminal and system for accessing device to network
CN103945369B (en) A kind of length by checking WIFI packets realizes the Internet-surfing configuration method of WIFI equipment
CN207652705U (en) A kind of system of control terminal and the equipment access network based on wifi Beacon frames
CN113271579A (en) Bluetooth device control method, client, computer device and readable storage medium
CN106211152A (en) A kind of wireless access authentication method and device
CN105119900B (en) Information secure transmission method, networking cut-in method and corresponding terminal
CN107371219A (en) WiFi collocation methods, WiFi mobile terminals and WiFi equipment
JP2004343567A5 (en)
CN104394577B (en) The wireless network access method of wireless routing device and electronic equipment
CN107046495A (en) Methods, devices and systems for building VPN
CN105519028A (en) Wireless system access control method and apparatus
CN107104929A (en) The methods, devices and systems of defending against network attacks
CN110474922B (en) Communication method, PC system and access control router
CN108449357A (en) A kind of mandate login method, device, smart machine and storage medium
CN111343083B (en) Instant messaging method, instant messaging device, electronic equipment and readable storage medium
CN107454591A (en) Ensure the method, apparatus and system of WIFI LAN communication safeties
CN105120454B (en) Information transferring method, networking cut-in method and corresponding terminal
JPH07107082A (en) Cipher gateway device
CN106453370A (en) Method and device for allowing IPC to register to NVR
CN102045870A (en) Business processing device and method based on wireless machine-to-machine protocol (WMMP)
CN106131801B (en) One kind being based on the connectionless environment enciphered data transmission method of android system
WO2023197610A1 (en) Network distribution method and apparatus for dual-mode internet-of-things device, and storage medium

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: 20180309