CN106612530A - Control method, device and system for networking equipment - Google Patents

Control method, device and system for networking equipment Download PDF

Info

Publication number
CN106612530A
CN106612530A CN201510701649.0A CN201510701649A CN106612530A CN 106612530 A CN106612530 A CN 106612530A CN 201510701649 A CN201510701649 A CN 201510701649A CN 106612530 A CN106612530 A CN 106612530A
Authority
CN
China
Prior art keywords
networked devices
beacon frame
pseudo
mac address
individual identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510701649.0A
Other languages
Chinese (zh)
Other versions
CN106612530B (en
Inventor
周子航
卢伟山
毕志国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Original Assignee
Midea Group 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 Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201510701649.0A priority Critical patent/CN106612530B/en
Publication of CN106612530A publication Critical patent/CN106612530A/en
Application granted granted Critical
Publication of CN106612530B publication Critical patent/CN106612530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

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

Abstract

The invention discloses a control method, device and system for networking equipment. The method comprises the steps of: acquiring class information of the networking equipment, and acquiring an individual identification code of the networking equipment; generating a pseudo MAC (Media Access Control) address of the networking equipment according to the class information, the individual identification code and a preset rule; and generating a pseudo beacon frame according to the pseudo MAC address, sending the pseudo beacon frame so that an intelligent terminal receives a beacon frame sent by the networking equipment, and when the beacon frame is judged as the pseudo beacon frame, resolving the pseudo beacon frame to acquire the class information and the individual identification code of the networking equipment, and performing networking configuration on the networking equipment according to the class information and the individual identification code. According to the method, the networking equipment actively sends a beacon frame to realize automatic discovery of networking equipment, and is prompted to a user via the intelligent terminal, so that the operation of the user is simplified, the user experience is improved, the class of the networking equipment can be accurately identified, the individual of the networking equipment can be distinguished, etc.

Description

The control method of networked devices, device and system
Technical field
The present invention relates to internet of things field, more particularly to a kind of control method of networked devices, device and system.
Background technology
With Internet of Things continue it is burning hot, it is all kinds of can networked devices emerge in an endless stream, for example, smart jack, intelligent kettle, sky Gas purifier, intelligent water purifier etc..This kind equipment due to itself space size problem and without display or display screen, Therefore, the wireless network how being quickly and easily added to this kind equipment in family, is to lift Consumer's Experience and popularize Internet of Things The important topic of net housed device.
It is appreciated that the key issue of wireless network the above-mentioned type equipment being added in family is how to cause intelligence eventually End rapidly finds these equipment so that these equipment are carried out into networking configuration.In the related, networked devices quickly enter Net mode is usually:The packet of ad hoc rule is sent in a network by intelligent terminal, when networked devices are (such as household electrical appliance Deng) monitor this packet when can parse the hotspot information of the networking included in the packet, then networked devices please Ask and add the hotspot, intelligent terminal to receive in Internet after the inbound information of the networked devices, can point out to search Rope to the networked devices, so as to realize the purpose of discovery and the networking of networked devices.
But the problem for existing is:Above-mentioned network access mode needs user in intelligent terminal, enters with corresponding control function Equipment controls application program, in the menu of similar " addition equipment " in being applied to subsequently into this, could start " search " Equipment is specifically first configuration of networked equipment finds the networked devices to specifying to reresent after WAP, it is this enter Net mode is a kind of mode of passive search equipment, needs user to participate in just completing the discovery or search of networked devices, is increased User operation, causes Consumer's Experience to be deteriorated.
The content of the invention
The purpose of the present invention is intended at least to solve to a certain extent one of technical problem in correlation technique.
For this purpose, first purpose of the present invention is to propose a kind of control method of networked devices.The method passes through networked devices Beacon frame is actively sent to realize the automatic discovery of networked devices, and user is prompted to by intelligent terminal, simplify user's Operation, improves Consumer's Experience, and can accurately identify the generic of networked devices, and can distinguish the networking Individuality of equipment etc..
Second object of the present invention is and proposes a kind of control method of networked devices.
Third object of the present invention is to propose a kind of control device of networked devices.
Fourth object of the present invention is and proposes a kind of control device of networked devices.
5th purpose of the present invention is to propose a kind of control system of networked devices.
To achieve these goals, the control method of the networked devices of first aspect present invention embodiment, including:Obtain described The classification information of networked devices, and obtain the individual identification codes of the networked devices;According to the classification information, the individuality Identification code and preset rules generate the pseudo- MAC Address of the networked devices;And pseudo- beacon is generated according to the pseudo- MAC Address Frame, and the pseudo- beacon frame is sent, so that the beacon frame that networked devices described in intelligent terminal for reception send, and judging described When beacon frame is the pseudo- beacon frame, parse the pseudo- beacon frame to obtain the classification information and individual identification of the networked devices Code, and the networked devices are carried out by networking configuration according to the classification information and individual identification codes.
The control method of networked devices according to embodiments of the present invention, can first obtain the classification information of networked devices, and obtain connection The individual identification codes of net equipment, afterwards, can generate the puppet of networked devices according to classification information, individual identification codes and preset rules MAC Address, finally, according to pseudo- MAC Address pseudo- beacon frame is generated, and sends pseudo- beacon frame, so that intelligent terminal for reception connection The beacon frame that net equipment sends, and when beacon frame is judged for pseudo- beacon frame, parse pseudo- beacon frame to obtain the class of networked devices Other information and individual identification codes, and networked devices are carried out by networking configuration according to classification information and individual identification codes, at least have Advantages below:1) beacon frame is actively sent by networked devices to realize the automatic discovery of networked devices, and by intelligent end End is prompted to user, simplifies the operation of user, improves Consumer's Experience;2) by the way that the information of networked devices is dissolved into into puppet In the beacon frame made, the generic of networked devices can be accurately identified, and the individuality of the networked devices can be distinguished;3) Meet 802.11 agreements, can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult to be forged by user, Improve equipment discrimination.
According to one embodiment of present invention, the individual identification codes are with uniqueness by the random generation of the networked devices Random code.
According to one embodiment of present invention, the individual identification codes are generated by following steps:Obtain the networked devices Real MAC address, and the PIN is generated according to the real MAC address.
According to one embodiment of present invention, the pseudo- MAC Address is made up of 6 bytes, wherein, the preset rules are: Front 3 bytes of the pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;The pseudo- MAC Address Rear 3 bytes be respectively cognizance code end number, the networked devices classification coding, the individual identification of the networked devices Code, wherein, the cognizance code end number is used to distinguish the true and false of MAC Address.
According to one embodiment of present invention, the classification information and individual identification of the networked devices are obtained in the intelligent terminal After code, methods described also includes:The real MAC address of the networked devices is obtained, and according to the real MAC address Generate corresponding beacon frame and send, so that the intelligent terminal is according to the beacon frame, the classification information of the networked devices The networked devices are carried out into networking configuration with individual identification codes.
To achieve these goals, the control method of the networked devices of second aspect present invention embodiment, including:Receive networking The first beacon frame that equipment sends;Judge whether first beacon frame is pseudo- beacon frame, wherein, the pseudo- beacon frame be by The networked devices generate pseudo- MAC Address according to the classification information of the networked devices, individual identification codes and preset rules, and Generated according to the pseudo- MAC Address;If first beacon frame is the pseudo- beacon frame, according to the preset rules The individual identification of classification information to obtain the networked devices and the networked devices is parsed to first beacon frame Code;And the classification information and individual identification codes of the networked devices are supplied to into user.
The control method of networked devices according to embodiments of the present invention, can first receive the first beacon frame of networked devices transmission, it After can determine whether whether the first beacon frame is pseudo- beacon frame, if the first beacon frame is pseudo- beacon frame, according to preset rules to the One beacon frame is parsed to obtain the classification information of networked devices and the individual identification codes of networked devices, and by networked devices Classification information and individual identification codes are supplied to user, at least with advantages below:1) intelligent terminal is by receiving and parsing through networking The beacon frame that equipment actively sends is prompted to user to realize the automatic discovery of networked devices by intelligent terminal, simplifies The operation of user, improves Consumer's Experience;2) by the way that the information of networked devices is dissolved in the beacon frame of forgery, can be with standard The true generic for identifying networked devices, and the individuality of the networked devices can be distinguished;3) 802.11 agreements are met, Can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult to be forged by user, improves equipment discrimination.
According to one embodiment of present invention, by the classification information and individual identification codes of the networked devices be supplied to user it Afterwards, methods described also includes:When the networking request that the user is input into for the networked devices is received, receive described The second beacon frame that networked devices send, wherein, second beacon frame is according to the networked devices by the networked devices Real MAC address generate;The networking is set according to second beacon frame, the classification information and individual identification codes It is standby to carry out networking configuration.
According to one embodiment of present invention, judge whether first beacon frame is pseudo- beacon frame, specifically include:To described First beacon frame parsed to obtain first beacon frame in MAC Address;The MAC is judged according to the MAC Address Whether address is pseudo- MAC Address, wherein, comprising the word for representing the true and false that can be used for distinguishing MAC Address in the MAC Address Section;If the MAC Address is the pseudo- MAC Address, judge that first beacon frame is the pseudo- beacon frame.
To achieve these goals, the control device of the networked devices of third aspect present invention embodiment, including:First obtains Module, for obtaining the classification information of the networked devices, and obtains the individual identification codes of the networked devices;First generates Module, for generating the pseudo- MAC ground of the networked devices according to the classification information, the individual identification codes and preset rules Location;Second generation module, for generating pseudo- beacon frame according to the pseudo- MAC Address;And sending module, for sending Pseudo- beacon frame is stated, so that the beacon frame that networked devices described in intelligent terminal for reception send, and judging the beacon frame for described During pseudo- beacon frame, the pseudo- beacon frame is parsed to obtain the classification information and individual identification codes of the networked devices, and according to institute State classification information and individual identification codes carries out networking configuration by the networked devices.
The control device of networked devices according to embodiments of the present invention, can obtain the classification of networked devices by the first acquisition module Information, and the individual identification codes of networked devices are obtained, the first generation module is according to classification information, individual identification codes and default rule The pseudo- MAC Address of networked devices is then generated, the second generation module generates pseudo- beacon frame according to pseudo- MAC Address, and sending module is sent out Pseudo- beacon frame is sent, so that the beacon frame that intelligent terminal for reception networked devices send, and when beacon frame is judged for pseudo- beacon frame, Pseudo- beacon frame is parsed to obtain the classification information and individual identification codes of networked devices, and will according to classification information and individual identification codes Networked devices carry out networking configuration, at least with advantages below:1) actively send beacon frame by networked devices to realize connection The automatic discovery of net equipment, and user is prompted to by intelligent terminal, the operation of user is simplified, improve Consumer's Experience;2) By the way that the information of networked devices is dissolved in the beacon frame of forgery, the generic of networked devices can be accurately identified, And can distinguish the individuality of the networked devices;3) meet 802.11 agreements, can be set with compatible all wireless networks on the market It is standby;4) recognition method is difficult to be forged by user, improves equipment discrimination.
According to one embodiment of present invention, the individual identification codes are with uniqueness by the random generation of the networked devices Random code.
According to one embodiment of present invention, the individual identification codes are generated by following steps:Obtain the networked devices Real MAC address, and the PIN is generated according to the real MAC address.
According to one embodiment of present invention, the pseudo- MAC Address is made up of 6 bytes, wherein, the preset rules are: Front 3 bytes of the pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;The pseudo- MAC Address Rear 3 bytes be respectively cognizance code end number, the networked devices classification coding, the individual identification of the networked devices Code, wherein, the cognizance code end number is used to distinguish the true and false of MAC Address.
According to one embodiment of present invention, described device also includes:Second acquisition module, for obtaining in the intelligent terminal After taking the classification information and individual identification codes of the networked devices, the real MAC address of the networked devices is obtained;3rd Generation module, for generating corresponding beacon frame according to the real MAC address and sending so that the intelligent terminal according to The networked devices are carried out networking configuration by the beacon frame, the classification information of the networked devices and individual identification codes.
To achieve these goals, the control device of the networked devices of fourth aspect present invention embodiment, including:First receives Module, for receiving the first beacon frame of networked devices transmission;Judge module, for judging that whether first beacon frame be Pseudo- beacon frame, wherein, the pseudo- beacon frame is classification information, the individual knowledge by the networked devices according to the networked devices Other code and preset rules generate pseudo- MAC Address, and according to the pseudo- MAC Address generation;Parsing module, for described When first beacon frame is the pseudo- beacon frame, first beacon frame is parsed according to the preset rules with described in obtaining The individual identification codes of the classification information of networked devices and the networked devices;And module is provided, for by the networked devices Classification information and individual identification codes be supplied to user.
The control device of networked devices according to embodiments of the present invention, can receive what networked devices sent by the first receiver module First beacon frame, judge module judges whether the first beacon frame is pseudo- beacon frame, if the first beacon frame is pseudo- beacon frame, Parsing module the first beacon frame is parsed according to preset rules the classification information to obtain networked devices and networked devices Body identification code, there is provided the classification information and individual identification codes of networked devices are supplied to user by module, at least with advantages below: 1) intelligent terminal is by receiving and parsing through the beacon frame of networked devices active transmission to realize the automatic discovery of networked devices, and leads to Cross intelligent terminal and be prompted to user, simplify the operation of user, improve Consumer's Experience;2) by by the information of networked devices In being dissolved into the beacon frame of forgery, the generic of networked devices can be accurately identified, and the networked devices can be distinguished Individuality;3) 802.11 agreements are met, can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult quilt User forges, and improves equipment discrimination.
According to one embodiment of present invention, described device also includes:Second receiver module, for inciting somebody to action in the offer module The classification information and individual identification codes of the networked devices is supplied to after user, and is receiving the user for described When the networking of net equipment input is asked, the second beacon frame that the networked devices send is received, wherein, second beacon frame It is to be generated according to the real MAC address of the networked devices by the networked devices;Networking configuration module, for according to institute State the second beacon frame, the classification information and individual identification codes carries out networking configuration by the networked devices.
According to one embodiment of present invention, the judge module specifically for:First beacon frame is parsed to obtain Take the MAC Address in first beacon frame;Judge whether the MAC Address is pseudo- MAC Address according to the MAC Address, Wherein, comprising the byte for representing the true and false that can be used for distinguishing MAC Address in the MAC Address;If the MAC Address is The pseudo- MAC Address, then judge that first beacon frame is the pseudo- beacon frame.
To achieve these goals, the control system of the networked devices of fifth aspect present invention embodiment, including:The present invention the The control device of the control device of the networked devices of three aspect embodiments and the networked devices of fourth aspect present invention embodiment.
The control system of networked devices according to embodiments of the present invention, at least with advantages below:1) by intelligent terminal for reception And the beacon frame of networked devices active transmission is parsed to realize the automatic discovery of networked devices, and use is prompted to by intelligent terminal Family, simplifies the operation of user, improves Consumer's Experience;2) by the way that the information of networked devices to be dissolved into the beacon frame of forgery In, the generic of networked devices can be accurately identified, and the individuality of the networked devices can be distinguished;3) 802.11 are met Agreement, can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult to be forged by user, improves equipment knowledge Not other rate.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will from the following description become bright It is aobvious, or recognized by the practice of the present invention.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will be apparent from from the description with reference to accompanying drawings below to embodiment With it is easy to understand, wherein:
Fig. 1 (a) is the flow chart of the control method of networked devices according to an embodiment of the invention;
Fig. 1 (b) is the topology example figure of beacon frame according to an embodiment of the invention;
Fig. 2 is the structured flowchart of the control device of networked devices according to an embodiment of the invention;
Fig. 3 is the structured flowchart of the control device of networked devices in accordance with another embodiment of the present invention;
Fig. 4 is the flow chart of the control method of networked devices in accordance with another embodiment of the present invention;
Fig. 5 is the flow chart of the control method of networked devices according to still another embodiment of the invention;
Fig. 6 is the structured flowchart of the control device of the networked devices according to another embodiment of the invention;
Fig. 7 is the structured flowchart of the control device of the networked devices according to further embodiment of the present invention;
Fig. 8 is the structured flowchart of the control system of networked devices according to an embodiment of the invention;And
Fig. 9 is the exemplary plot of the control process of networked devices according to an embodiment of the invention.
Reference:
The control device 200 of the control device 100, networked devices of networked devices, the first acquisition module 110, first generate mould Block 120, the second generation module 130, sending module 140, the second acquisition module 150, the 3rd generation module 160, first Receiver module 210, judge module 220, parsing module 230, offer module 240, the second receiver module 250 and networking are matched somebody with somebody Put module 260.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein identical from start to finish Or similar label represents same or similar element or the element with same or like function.Retouch below with reference to accompanying drawing The embodiment stated is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Below with reference to the accompanying drawings control method, device and the system of the networked devices of the embodiment of the present invention are described.
Fig. 1 (a) is the flow chart of the control method of networked devices according to an embodiment of the invention.It should be noted that The control method of the networked devices of the embodiment of the present invention can be described from networked devices side.Additionally, the networked devices can be family Electrical appliance, the household electrical appliance can be but not limited to intelligent kettle, air purifier, intelligent water purifier, intelligent refrigerator, Intelligent washing machine, air-conditioner etc..
As shown in Fig. 1 (a), the control method of the networked devices can include:
S101, obtains the classification information of networked devices, and obtains the individual identification codes of networked devices.
It should be noted that the application premise of the control method of the networked devices of the embodiment of the present invention can be in for the networked devices Power-up state and networking configuration is not yet carried out, wherein, it is new peace not yet to carry out networking configuration and can be regarded as the networked devices Dress or through initialized.
Specifically, when the networked devices for not yet carrying out networking configuration are in power-up state, the networked devices can first obtain itself Classification information, for example classification information belonging to the networked devices for having stored can be obtained in memory function module from itself having, Category information is, for example, air-conditioner type, refrigerator type, air purifier type etc., and can also obtain the networked devices Individual identification codes.
Wherein, the individual identification codes can networked devices randomly generate, or by real MAC (Media Access Control, medium access control) address arithmetic obtains, or generate by other means, it will be understood that it is individual The generating mode present invention of identification code is not specifically limited.Specifically, in one embodiment of the invention, individual identification Code can be the random code with uniqueness generated at random by networked devices.In another embodiment of the present invention, the individuality Identification code can be generated by following steps:The real MAC address of networked devices is obtained, and is generated according to the real MAC address Individual identification codes.Wherein, in an embodiment of the present invention, process is realized according to real MAC address generation individual identification codes Can be as follows:The coding of six bytes in real MAC address can be calculated to obtain individuality by simple mathematical operation Identification code, wherein, the mathematical operation can be addition, subtraction, multiplication or division etc., and specifically computing mode is of the invention not It is specifically limited.
S102, according to classification information, individual identification codes and preset rules the pseudo- MAC Address of networked devices is generated.
It should be noted that in 802.11 agreements, (i.e. International Power electronic engineering association (IEEE) is WLAN system Fixed standard) in, beacon frame (i.e. Beacon frames) is mainly used to state the presence of certain wireless network.Networked devices can lead to Beacon is sent after periodically so that mobile phone or OTT (Over The Top, its refer to provided a user with by the Internet it is various Application service) equipment learns the presence of the wireless network.Shown in the structure of the frame such as Fig. 1 (b), can be used to transmit a nothing The information of line network hotspot.Particularly, in the beacon frame, the content of BSSID fields and ssid field can be by user The equipment comprising wireless network card such as mobile phone, flat board or computer obtain, and also can obtain in application layer.Wherein, BSSID words Section is the MAC Address of the equipment for sending beacon frame.It is appreciated that MAC Address is by IEEE (Institute of Electrical and Electronics Engineers, electrical equipment and Electronic Engineering Association) distribution, it is characterized in single The MAC Address of individual equipment has global uniqueness.Additionally, the MAC is made up of 6 bytes, first three byte is advised by IEEE It is fixed, manufacturer's coding of distribution can be represented, afterwards three bytes then can be assigned in each product by the manufacturer for applying, i.e., latter 3 Byte can be allocated by manufacturer according to oneself demand.
Therefore, the control method of the networked devices of the embodiment of the present invention is believed using the BSSID of the beacon frame (i.e. Beacon frames) The characteristics of breath and MAC Address.That is, after classification information and individual identification codes that networked devices get itself, will can be somebody's turn to do Classification information and individual identification codes are dissolved in rear three bytes of MAC Address with a kind of rule, that is, generate a puppet MAC ground Location.Wherein, in an embodiment of the present invention, pseudo- MAC Address is made up of 6 bytes, wherein, preset rules can be:It is pseudo- Front 3 bytes of MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;Rear 3 words of pseudo- MAC Address Section is respectively cognizance code end number, the classification coding of networked devices, the individual identification codes of networked devices, wherein, cognizance code End number is used to distinguish the true and false of MAC Address.
S103, according to pseudo- MAC Address pseudo- beacon frame is generated, and sends pseudo- beacon frame, so that intelligent terminal for reception networked devices The beacon frame of transmission, and when beacon frame is judged for pseudo- beacon frame, parse pseudo- beacon frame to obtain the classification information of networked devices And individual identification codes, and networked devices are carried out by networking configuration according to classification information and individual identification codes.
Wherein, in an embodiment of the present invention, intelligent terminal can be but be not limited to mobile terminal, PC (Personal Computer, personal computer) or Web TV box etc..The mobile terminal can be mobile phone, panel computer, individual number Word assistants etc. have the hardware device of various operating systems.
Specifically, after pseudo- MAC Address is generated, the pseudo- MAC Address can be filled into corresponding frame section (the i.e. BSSID of beacon frame Field) in generate pseudo- beacon frame, and wirelessly regularly send the beacon frame.Intelligent terminal is receiving the beacon After frame, first the beacon frame can be parsed to obtain the MAC Address of beacon frame, can be judged according to the MAC Address afterwards Whether the MAC Address is pseudo- MAC Address, for example can be by the byte for distinguishing the MAC Address true and false in MAC Address (such as Cognizance code end number) come to judge that the MAC Address is really be pseudo-, if it is determined that the MAC Address is pseudo- MAC Address, then can sentence The disconnected beacon frame is pseudo- beacon frame, afterwards, can parse the pseudo- MAC Address in the pseudo- beacon frame to obtain it according to preset rules In networked devices classification information and individual identification codes and be supplied to user.
It should be noted that above-mentioned pseudo- MAC Address section is not useable in the real MAC of formal product, and the pseudo- beacon frame category In a kind of beacon of forgery, used in being served only for the automatic discovery procedure of networked devices, networking is unusable in.Therefore, distich is worked as When net equipment is networked, can generate real beacon frame to realize networking according to real MAC address.Specifically, at this In bright one embodiment, after classification information and individual identification codes that intelligent terminal obtains networked devices, or when intelligence When terminal receives the networking request that user is input into for networked devices, the control method also includes:Obtain the true of networked devices Real MAC Address, and corresponding beacon frame is generated according to real MAC address and is sent so that intelligent terminal according to beacon frame, Networked devices are carried out networking configuration by the classification information and individual identification codes of networked devices.
More specifically, when intelligent terminal for reception to user is asked for the networking of networked devices input, networked devices can be obtained The real MAC address of itself, and the real MAC address is inserted in the corresponding frame section (i.e. BSSID fields) of Beacon frames To generate true beacon frame and send.Intelligent terminal after the true beacon frame is received, can according to the true beacon frame, Networked devices are carried out networking configuration by the classification information and individual identification codes of networked devices, you can the networking configuration journey of access arrangement Sequence is networked with realizing configuring the networked devices.
It should be noted that in an embodiment of the present invention, when pseudo- MAC Address is generated, the definition rule of pseudo- MAC Address Can be according to manufacturer's self-demand carry out the classification information of self-defining, representative networked devices, individual identification codes and Byte position for distinguishing true and false MAC Address is not specifically limited.
The control method of networked devices according to embodiments of the present invention, can first obtain the classification information of networked devices, and obtain connection The individual identification codes of net equipment, afterwards, can generate the puppet of networked devices according to classification information, individual identification codes and preset rules MAC Address, finally, according to pseudo- MAC Address pseudo- beacon frame is generated, and sends pseudo- beacon frame, so that intelligent terminal for reception connection The beacon frame that net equipment sends, and when beacon frame is judged for pseudo- beacon frame, parse pseudo- beacon frame to obtain the class of networked devices Other information and individual identification codes, and networked devices are carried out by networking configuration according to classification information and individual identification codes, at least have Advantages below:1) beacon frame is actively sent by networked devices to realize the automatic discovery of networked devices, and by intelligent end End is prompted to user, simplifies the operation of user, improves Consumer's Experience;2) by the way that the information of networked devices is dissolved into into puppet In the beacon frame made, the generic of networked devices can be accurately identified, and the individuality of the networked devices can be distinguished;3) Meet 802.11 agreements, can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult to be forged by user, Improve equipment discrimination.
In order to realize above-described embodiment, the invention allows for a kind of control device of networked devices.
Fig. 2 is the structured flowchart of the control device of networked devices according to an embodiment of the invention.It should be noted that In embodiments of the invention, the control device of the networked devices can be networked devices.Wherein, the networked devices can be domestic Electrical equipment, the household electrical appliance can be but not limited to intelligent kettle, air purifier, intelligent water purifier, intelligent refrigerator, intelligence Energy washing machine, air-conditioner etc..
As shown in Fig. 2 the control device 100 of the networked devices can include:First acquisition module 110, the first generation module 120th, the second generation module 130 and sending module 140.
Specifically, the first acquisition module 110 can be used to obtain the classification information of networked devices, and obtain the individuality of networked devices Identification code.It should be noted that the application premise of the control device of the networked devices of the embodiment of the present invention can be the networked devices Carry out in power-up state and not yet networking configuration, wherein, not yet carry out networking configuration and can be regarded as the networked devices be It is new installing or through initialized.
More specifically, when the networked devices for not yet carrying out networking configuration are in power-up state, first in the networked devices is obtained Delivery block 110 can first obtain the classification information of itself, for example, this for having stored can be obtained in memory function module from itself having Classification information belonging to networked devices, category information is, for example, air-conditioner type, refrigerator type, air purifier type etc., And can also obtain the individual identification codes of the networked devices.
Wherein, the individual identification codes can networked devices randomly generate, or obtained by real MAC address computing , or generate by other means, it will be understood that the generating mode present invention of individual identification codes is not specifically limited. Specifically, in one embodiment of the invention, individual identification codes can be by networked devices generate at random with uniqueness Random code.In another embodiment of the present invention, above-mentioned individual identification codes can be generated by following steps:Obtain networking The real MAC address of equipment, and PIN is generated according to real MAC address.Wherein, in an embodiment of the present invention, Realize that process can be as follows according to real MAC address generation individual identification codes:Can be by six bytes in real MAC address Coding is calculated to obtain individual identification codes by simple mathematical operation, wherein, the mathematical operation can be addition, subtract Method, multiplication or division etc., specifically the computing mode present invention be not specifically limited.
First generation module 120 can be used to generate the pseudo- MAC of networked devices according to classification information, individual identification codes and preset rules Address.
It should be noted that in 802.11 agreements, (i.e. International Power electronic engineering association (IEEE) is WLAN system Fixed standard) in, beacon frame (i.e. Beacon frames) is mainly used to state the presence of certain wireless network.Networked devices can lead to Beacon is sent after periodically so that mobile phone or OTT (Over The Top, its refer to provided a user with by the Internet it is various Application service) equipment learns the presence of the wireless network.Shown in the structure of the frame such as Fig. 1 (b), can be used to transmit a nothing The information of line network hotspot.Particularly, in the beacon frame, the content of BSSID fields and ssid field can be by user The equipment comprising wireless network card such as mobile phone, flat board or computer obtain, and also can obtain in application layer.Wherein, BSSID words Section is the MAC Address of the equipment for sending beacon frame.It is appreciated that MAC Address is distributed by IEEE, it is characterized in The MAC Address of individual equipment has global uniqueness.Additionally, the MAC is made up of 6 bytes, first three byte is by IEEE Regulation, can represent manufacturer's coding of distribution, and afterwards three bytes then can be assigned in each product by the manufacturer for applying, i.e., and rear 3 Individual byte can be allocated by manufacturer according to oneself demand.
Therefore, the control device of the networked devices of the embodiment of the present invention is believed using the BSSID of the beacon frame (i.e. Beacon frames) The characteristics of breath and MAC Address.That is, after classification information and individual identification codes that the first acquisition module 110 gets itself, Category information and individual identification codes can be dissolved into first generation module 120 rear three bytes of MAC Address with a kind of rule In, that is, generate a pseudo- MAC Address.Wherein, in an embodiment of the present invention, pseudo- MAC Address is made up of 6 bytes, Wherein, preset rules are:Front 3 bytes of pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE; Rear 3 bytes of pseudo- MAC Address are respectively cognizance code end number, the classification coding of networked devices, the individual knowledge of networked devices Other code, wherein, cognizance code end number is used to distinguish the true and false of MAC Address.
Second generation module 130 can be used to generate pseudo- beacon frame according to pseudo- MAC Address.More specifically, in the first generation module 120 generate after pseudo- MAC Address, and the pseudo- MAC Address can be filled into the second generation module 130 the corresponding frame section of beacon frame With the pseudo- beacon frame of generation in (i.e. BSSID fields).
Sending module 140 can be used to send pseudo- beacon frame, so that the beacon frame that intelligent terminal for reception networked devices send, and When judging beacon frame for pseudo- beacon frame, parse pseudo- beacon frame to obtain the classification information and individual identification codes of networked devices, and root Networked devices are carried out into networking configuration according to classification information and individual identification codes.Wherein, in an embodiment of the present invention, intelligence is whole End can be but be not limited to mobile terminal, PC or Web TV box etc..The mobile terminal can be mobile phone, panel computer, The hardware device with various operating systems such as personal digital assistant.
More specifically, sending module 140 wirelessly can regularly send the beacon frame.Intelligent terminal is receiving the letter After mark frame, first the beacon frame can be parsed to obtain the MAC Address of beacon frame, can be sentenced according to the MAC Address afterwards Whether the disconnected MAC Address is pseudo- MAC Address, for example, can pass through the byte for distinguishing the MAC Address true and false in MAC Address (such as cognizance code end number) is come to judge that the MAC Address is really be pseudo-, if it is determined that the MAC Address is pseudo- MAC Address, then Can determine whether that the beacon frame is pseudo- beacon frame, afterwards, the pseudo- MAC Address in the pseudo- beacon frame can be parsed to obtain according to preset rules Take the classification information and individual identification codes of networked devices therein and be supplied to user.
It should be noted that above-mentioned pseudo- MAC Address section is not useable in the real MAC of formal product, and the pseudo- beacon frame category In a kind of beacon of forgery, used in being served only for the automatic discovery procedure of networked devices, networking is unusable in.Therefore, distich is worked as When net equipment is networked, can generate real beacon frame to realize networking according to real MAC address.Specifically, at this In bright one embodiment, after classification information and individual identification codes that intelligent terminal obtains networked devices, or when intelligence When terminal receives the networking request that user is input into for networked devices, as shown in figure 3, the control device 100 of the networked devices May also include the second acquisition module 150 and the 3rd generation module 160.
Specifically, the second acquisition module 150 can be used to obtain the real MAC address of networked devices.3rd generation module 160 Can be used to generate corresponding beacon frame according to real MAC address and send, so that intelligent terminal is according to beacon frame, networked devices Classification information and individual identification codes networked devices are carried out into networking configuration.
More specifically, when intelligent terminal for reception to user is asked for the networking of networked devices input, the second acquisition module 150 The real MAC address of itself can be obtained, the real MAC address can be inserted the 3rd generation module 160 correspondence of Beacon frames Generating true beacon frame and send in frame section (i.e. BSSID fields).Intelligent terminal after the true beacon frame is received, Networked devices can be carried out into networking configuration according to the true beacon frame, the classification information of networked devices and individual identification codes, you can The networking configurator of access arrangement is networked with realizing configuring the networked devices.
It should be noted that in an embodiment of the present invention, when pseudo- MAC Address is generated, the definition rule of pseudo- MAC Address Can be according to manufacturer's self-demand carry out the classification information of self-defining, representative networked devices, individual identification codes and Byte position for distinguishing true and false MAC Address is not specifically limited.
The control device of networked devices according to embodiments of the present invention, can obtain the classification of networked devices by the first acquisition module Information, and the individual identification codes of networked devices are obtained, the first generation module is according to classification information, individual identification codes and default rule The pseudo- MAC Address of networked devices is then generated, the second generation module generates pseudo- beacon frame according to pseudo- MAC Address, and sending module is sent out Pseudo- beacon frame is sent, so that the beacon frame that intelligent terminal for reception networked devices send, and when beacon frame is judged for pseudo- beacon frame, Pseudo- beacon frame is parsed to obtain the classification information and individual identification codes of networked devices, and will according to classification information and individual identification codes Networked devices carry out networking configuration, at least with advantages below:1) actively send beacon frame by networked devices to realize connection The automatic discovery of net equipment, and user is prompted to by intelligent terminal, the operation of user is simplified, improve Consumer's Experience;2) By the way that the information of networked devices is dissolved in the beacon frame of forgery, the generic of networked devices can be accurately identified, And can distinguish the individuality of the networked devices;3) meet 802.11 agreements, can be set with compatible all wireless networks on the market It is standby;4) recognition method is difficult to be forged by user, improves equipment discrimination.
In order to realize above-described embodiment, the invention allows for the control method of another kind of networked devices.
Fig. 4 is the flow chart of the control method of networked devices in accordance with another embodiment of the present invention.It should be noted that this The control method of the networked devices of inventive embodiments can be described from intelligent terminal side.Wherein, the intelligent terminal can be but not It is limited to mobile terminal, PC or Web TV box etc..The mobile terminal can be mobile phone, panel computer, individual digital Assistants etc. have the hardware device of various operating systems.
As shown in figure 4, the control method of the networked devices can include:
S401, receives the first beacon frame that networked devices send.
Wherein, in an embodiment of the present invention, the networked devices can be household electrical appliance, and the household electrical appliance can be but not limited to Intelligent kettle, air purifier, intelligent water purifier, intelligent refrigerator, intelligent washing machine, air-conditioner etc..
S402, judges whether the first beacon frame is pseudo- beacon frame, wherein, pseudo- beacon frame is according to networked devices by networked devices Classification information, individual identification codes and preset rules generate pseudo- MAC Address, and are generated according to pseudo- MAC Address.
It should be noted that when the networked devices for not yet carrying out networking configuration are in power-up state, the networked devices can be obtained first Take from the classification information of body for example can obtain classification belonging to the networked devices for having stored from itself having in memory function module Information, category information is, for example, air-conditioner type, refrigerator type, air purifier type etc., and can also obtain the networking The individual identification codes of equipment, can generate corresponding pseudo- MAC ground according to category information, individual identification codes and preset rules afterwards Location, and be dissolved in beacon frame correspondence frame section to generate pseudo- beacon frame, and wirelessly timing according to the pseudo- MAC Address It is transmitted.Wherein, in an embodiment of the present invention, pseudo- MAC Address is made up of 6 bytes, wherein, preset rules can For:Front 3 bytes of pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;After pseudo- MAC Address 3 bytes are respectively cognizance code end number, the classification coding of networked devices, the individual identification codes of networked devices, wherein, know Other code end number is used to distinguish the true and false of MAC Address.
After the beacon frame that intelligent terminal for reception to networked devices sends, intelligent terminal first can be judged the beacon frame, To determine the true and false of the beacon frame (the first i.e. above-mentioned beacon frame).Specifically, in an embodiment of the present invention, can be first MAC Address in being parsed to the first beacon frame to obtain the first beacon frame, afterwards, can judge MAC according to MAC Address Whether address is pseudo- MAC Address, wherein, comprising the byte for representing the true and false that can be used for distinguishing MAC Address in MAC Address, If MAC Address is pseudo- MAC Address, the first beacon frame is judged for pseudo- beacon frame.
S403, if the first beacon frame is pseudo- beacon frame, is parsed to obtain connection according to preset rules to the first beacon frame The classification information of net equipment and the individual identification codes of networked devices.
Specifically, judge to receive beacon frame as pseudo- beacon frame when, first first beacon frame can be parsed to be somebody's turn to do BSSID fields (content for being appreciated that the BSSID fields is the MAC Address for sending the frame equipment) in beacon frame, it The content of the BSSID fields can be parsed according to preset rules afterwards to obtain the classification information and individuality of wherein networked devices Identification code.
S404, by the classification information and individual identification codes of networked devices user is supplied to.
The control method of networked devices according to embodiments of the present invention, can first receive the first beacon frame of networked devices transmission, it After can determine whether whether the first beacon frame is pseudo- beacon frame, if the first beacon frame is pseudo- beacon frame, according to preset rules to the One beacon frame is parsed to obtain the classification information of networked devices and the individual identification codes of networked devices, and by networked devices Classification information and individual identification codes are supplied to user, at least with advantages below:1) intelligent terminal is by receiving and parsing through networking The beacon frame that equipment actively sends is prompted to user to realize the automatic discovery of networked devices by intelligent terminal, simplifies The operation of user, improves Consumer's Experience;2) by the way that the information of networked devices is dissolved in the beacon frame of forgery, can be with standard The true generic for identifying networked devices, and the individuality of the networked devices can be distinguished;3) 802.11 agreements are met, Can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult to be forged by user, improves equipment discrimination.
Fig. 5 is the flow chart of the control method of networked devices according to still another embodiment of the invention.It should be noted that The control method of the networked devices of the embodiment of the present invention can be described from intelligent terminal side.
Also, it should be noted that above-mentioned pseudo- MAC Address section is not useable in the real MAC of formal product, and the pseudo- beacon frame Belong to a kind of beacon of forgery, used in being served only for the automatic discovery procedure of networked devices, be unusable in networking.Therefore, when right When networked devices are networked, can generate real beacon frame to realize networking according to real MAC address.For example, will join The classification information and individual identification codes of net equipment is supplied to after user, or when intelligent terminal for reception sets to user for networking When the networking of standby input is asked, the networking that networked devices can be realized according to the true beacon frame that networked devices send is configured.Tool Body ground, as shown in figure 5, the control method of the networked devices can include:
S501, receives the first beacon frame that networked devices send.
S502, judges whether the first beacon frame is pseudo- beacon frame, wherein, pseudo- beacon frame is according to networked devices by networked devices Classification information, individual identification codes and preset rules generate pseudo- MAC Address, and are generated according to pseudo- MAC Address.
Specifically, in an embodiment of the present invention, in first being parsed to the first beacon frame to obtain the first beacon frame MAC Address, afterwards, can judge whether MAC Address is pseudo- MAC Address according to MAC Address, wherein, include in MAC Address Representative can be used for the byte of the true and false for distinguishing MAC Address, if MAC Address is pseudo- MAC Address, judge the first beacon frame For pseudo- beacon frame.
S503, if the first beacon frame is pseudo- beacon frame, is parsed to obtain connection according to preset rules to the first beacon frame The classification information of net equipment and the individual identification codes of networked devices.
S504, by the classification information and individual identification codes of networked devices user is supplied to.
S505, when the networking request that user is input into for networked devices is received, receives the second beacon that networked devices send Frame, wherein, the second beacon frame is generated according to the real MAC address of networked devices by networked devices.
For example, when intelligent terminal for reception to user is asked for the networking of networked devices input, intelligent terminal can pass through basis Notifying the networked devices, the networked devices can obtain the real MAC of itself to the classification information and individual identification codes of the networked devices Address, and the real MAC address is inserted in the corresponding frame section (i.e. BSSID fields) of Beacon frames to generate true beacon Frame and wirelessly timing send.
Networked devices are carried out networking configuration by S506 according to the second beacon frame, classification information and individual identification codes.
That is, when user confirms for the networked devices to add family wireless network, can access arrangement networking configuration journey Sequence is networked with realizing configuring the networked devices.
The control method of networked devices according to embodiments of the present invention, in intelligent terminal's control networked devices networking configuration is carried out When, beacon frame, the classification information of the networked devices and the individual identification that can be generated according to real MAC address according to networked devices The networked devices are carried out networking configuration by code, realize the networking configuration of networked devices, and are found automatically with networked devices The pseudo- MAC Address of journey makes a distinction, and prevents conflict.
In order to realize above-described embodiment, the invention allows for the control device of another kind of networked devices.
Fig. 6 is the structured flowchart of the control device of the networked devices according to another embodiment of the invention.It should be noted that In an embodiment of the present invention, the control device of networked devices can be intelligent terminal.Wherein, the intelligent terminal can be but not It is limited to mobile terminal, PC or Web TV box etc..The mobile terminal can be mobile phone, panel computer, individual digital Assistants etc. have the hardware device of various operating systems.
As shown in fig. 6, the control of the networked devices fills 200 can include:First receiver module 210, judge module 220, Parsing module 230 and offer module 240.
Specifically, the first receiver module 210 can be used to receive the first beacon frame that networked devices send.Wherein, in the present invention Embodiment in, the networked devices can be household electrical appliance, and the household electrical appliance can be but not limited to intelligent kettle, purification of air Device, intelligent water purifier, intelligent refrigerator, intelligent washing machine, air-conditioner etc..
Judge module 220 can be used to judge whether the first beacon frame is pseudo- beacon frame, wherein, pseudo- beacon frame is by networked devices Classification information, individual identification codes and preset rules according to networked devices generates pseudo- MAC Address, and is given birth to according to pseudo- MAC Address Into.
It should be noted that when the networked devices for not yet carrying out networking configuration are in power-up state, the networked devices can be obtained first Take from the classification information of body for example can obtain classification belonging to the networked devices for having stored from itself having in memory function module Information, category information is, for example, air-conditioner type, refrigerator type, air purifier type etc., and can also obtain the networking The individual identification codes of equipment, can generate corresponding pseudo- MAC ground according to category information, individual identification codes and preset rules afterwards Location, and be dissolved in beacon frame correspondence frame section to generate pseudo- beacon frame, and wirelessly timing according to the pseudo- MAC Address It is transmitted.Wherein, in an embodiment of the present invention, pseudo- MAC Address is made up of 6 bytes, wherein, preset rules can For:Front 3 bytes of pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;After pseudo- MAC Address 3 bytes are respectively cognizance code end number, the classification coding of networked devices, the individual identification codes of networked devices, wherein, know Other code end number is used to distinguish the true and false of MAC Address.
After the beacon frame that the first receiver module 210 receives networked devices transmission, judge module 220 can be to the beacon frame Judged, to determine the true and false of the beacon frame (the first i.e. above-mentioned beacon frame).Specifically, in the enforcement of the present invention Example in, judge module 220 first the first beacon frame can be parsed to obtain the first beacon frame in MAC Address, afterwards, Can judge whether MAC Address is pseudo- MAC Address according to MAC Address, wherein, can be used to comprising representative distinguish in MAC Address The byte of the true and false of MAC Address, if MAC Address is pseudo- MAC Address, judges the first beacon frame for pseudo- beacon frame.
Parsing module 230 can be used for when the first beacon frame is pseudo- beacon frame, and the first beacon frame is solved according to preset rules Analyse to obtain the classification information of networked devices and the individual identification codes of networked devices.More specifically, parsing module 230 is judging Module 220 judge to receive beacon frame as pseudo- beacon frame when, first first beacon frame can be parsed to obtain the beacon frame In BSSID fields (be appreciated that the content of the BSSID fields is and send the MAC Address of the frame equipment), afterwards can root The content of the BSSID fields is parsed according to preset rules obtain the classification information and individual identification of wherein networked devices Code.
There is provided module 240 to can be used to for the classification information and individual identification codes of networked devices to be supplied to user.
It should be noted that above-mentioned pseudo- MAC Address section is not useable in the real MAC of formal product, and the pseudo- beacon frame category In a kind of beacon of forgery, used in being served only for the automatic discovery procedure of networked devices, networking is unusable in.Therefore, distich is worked as When net equipment is networked, can generate real beacon frame to realize networking according to real MAC address.For example, will network The classification information and individual identification codes of equipment is supplied to after user, or when intelligent terminal for reception to user is directed to networked devices When the networking of input is asked, the networking that networked devices can be realized according to the true beacon frame that networked devices send is configured.Specifically Ground, in one embodiment of the invention, as shown in fig. 7, the control of the networked devices fills 200 may also include:Second Receiver module 250 and networking configuration module 260.
Specifically, the second receiver module 250 can be used to carry the classification information and individual identification codes of networked devices in offer module After supply user, and when receiving networking of the user for networked devices input and asking, receive networked devices send the Two beacon frames, wherein, the second beacon frame is generated according to the real MAC address of networked devices by networked devices.
For example, when the networking request that user is input into for networked devices is received, the second receiver module 250 can pass through basis Notifying the networked devices, the networked devices can obtain the real MAC of itself to the classification information and individual identification codes of the networked devices Address, and the real MAC address is inserted in the corresponding frame section (i.e. BSSID fields) of Beacon frames to generate true beacon Frame and wirelessly timing send, so as to the second receiver module 250 can receive the true beacon that the networked devices send Frame.
Networking configuration module 260 can be used to be entered networked devices according to the second beacon frame, classification information and individual identification codes Net configuration.That is, when user confirms for the networked devices to add family wireless network, networking configuration module 260 can The networking configurator of access arrangement is networked with realizing configuring the networked devices.
Thus, when intelligent terminal's control networked devices carry out networking configuration, can be according to networked devices according to real MAC address The networked devices are carried out networking configuration by the beacon frame of generation, the classification information of the networked devices and individual identification codes, are realized The networking configuration of networked devices, and make a distinction with the pseudo- MAC Address of the automatic discovery procedure of networked devices, prevent punching It is prominent.
The control device of networked devices according to embodiments of the present invention, can receive what networked devices sent by the first receiver module First beacon frame, judge module judges whether the first beacon frame is pseudo- beacon frame, if the first beacon frame is pseudo- beacon frame, Parsing module the first beacon frame is parsed according to preset rules the classification information to obtain networked devices and networked devices Body identification code, there is provided the classification information and individual identification codes of networked devices are supplied to user by module, at least with advantages below: 1) intelligent terminal is by receiving and parsing through the beacon frame of networked devices active transmission to realize the automatic discovery of networked devices, and leads to Cross intelligent terminal and be prompted to user, simplify the operation of user, improve Consumer's Experience;2) by by the information of networked devices In being dissolved into the beacon frame of forgery, the generic of networked devices can be accurately identified, and the networked devices can be distinguished Individuality;3) 802.11 agreements are met, can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult quilt User forges, and improves equipment discrimination.
In order to realize above-described embodiment, the invention allows for a kind of control system of networked devices.
Fig. 8 is the structured flowchart of the control system of networked devices according to an embodiment of the invention.As shown in figure 8, the connection The control system of net equipment can include:The control device 100 of the networked devices of any of the above-described embodiment and any of the above-described The control device 200 of the networked devices of individual embodiment.
Specifically, the concrete function description of the control device 100 of networked devices can refer to the function description of above-mentioned Fig. 2 and Fig. 3.
The concrete function description of the control device 200 of networked devices can refer to the function description of above-mentioned Fig. 6 and Fig. 7.
For example, with the control device 100 of networked devices as networked devices, the control device 200 of networked devices be intelligence As a example by terminal, as shown in figure 9, when the networked devices for not yet carrying out networking configuration are in power-up state, the networked devices can The classification information and individual identification codes of itself is first obtained, classification information and individual identification codes can be melted with certain rule afterwards Enter to MAC Address to obtain pseudo- MAC Address, then the pseudo- MAC Address can be filled into correspondence frame section (i.e. BSSID in beacon frame Field) in obtaining pseudo- beacon frame and be transmitted.Intelligent terminal, can after the beacon frame for receiving networked devices transmission First parse the MAC Address of the beacon frame, and according to the MAC Address judging whether the beacon frame is pseudo- beacon frame, if Be, then according to the above-mentioned rule parsing MAC Address to obtain the classification information and individual identification codes of networked devices, and by its Be supplied to user, and when the networked devices are added family wireless network by user query, can access arrangement networking configuration Program is networked with realizing configuring the networked devices.
The control system of networked devices according to embodiments of the present invention, at least with advantages below:1) by intelligent terminal for reception And the beacon frame of networked devices active transmission is parsed to realize the automatic discovery of networked devices, and use is prompted to by intelligent terminal Family, simplifies the operation of user, improves Consumer's Experience;2) by the way that the information of networked devices to be dissolved into the beacon frame of forgery In, the generic of networked devices can be accurately identified, and the individuality of the networked devices can be distinguished;3) 802.11 are met Agreement, can be with compatible all Wireless Communication Equipment on the market;4) recognition method is difficult to be forged by user, improves equipment knowledge Not other rate.
In describing the invention, it is to be understood that term " first ", " second ", " the 3rd " are only used for describing purpose, And it is not intended that indicating or implying relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, limit There are " first ", " second ", the feature of " the 3rd " to express or implicitly include at least one this feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specific example ", Or the description of " some examples " etc. means to combine specific features, structure, material or feature that the embodiment or example are described In being contained at least one embodiment of the present invention or example.In this manual, need not to the schematic representation of above-mentioned term Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be with office Combine in an appropriate manner in one or more embodiments or example.Additionally, in the case of not conflicting, this area Technical staff can be tied the feature of the different embodiments or example described in this specification and different embodiments or example Close and combine.
In flow chart or here any process described otherwise above or method description are construed as, expression includes one Or more module, fragment or parts for being used for the code of executable instruction the step of realize specific logical function or process, And the scope of the preferred embodiment of the present invention includes other realization, wherein order that is shown or discussing can not be pressed, Including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be by the present invention's Embodiment person of ordinary skill in the field understood.
In flow charts expression or here logic described otherwise above and/or step, for example, are considered for reality The order list of the executable instruction of existing logic function, in may be embodied in any computer-readable medium, for instruction Execution system, device or equipment (as computer based system, the system including processor or other can perform from instruction The system of system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating Or transmission procedure is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more cloth The electrical connection section (electronic installation) of line, portable computer diskette box (magnetic device), random access memory (RAM) is read-only Memorizer (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and it is portable Compact disc read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program Or other suitable media, because for example by carrying out optical scanning to paper or other media edlin, solution can then be entered Translate or be processed to other suitable methods if necessary electronically to obtain described program, be then stored in computer In memorizer.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.In above-mentioned reality In applying mode, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage or Firmware is realizing.For example, if realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realizing:With for realizing the logic gates of logic function to data signal Discrete logic, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA) is existing Field programmable gate array (FPGA) etc..
Those skilled in the art be appreciated that to realize all or part of step that above-described embodiment method is carried is can Completed with the hardware that correlation is instructed by program, described program can be stored in a kind of computer-readable recording medium, The program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the invention can be integrated in a processing module, or each Individual unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated module was both Can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.If the integrated module with The form of software function module is realized and as independent production marketing or when using, it is also possible to be stored in a computer-readable In taking storage medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having been shown and described above Embodiments of the invention, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as limitation of the present invention, One of ordinary skill in the art can be changed within the scope of the invention to above-described embodiment, change, replacing and modification.

Claims (17)

1. a kind of control method of networked devices, it is characterised in that comprise the following steps:
The classification information of the networked devices is obtained, and obtains the individual identification codes of the networked devices;
The pseudo- MAC Address of the networked devices is generated according to the classification information, the individual identification codes and preset rules;With And
Pseudo- beacon frame is generated according to the pseudo- MAC Address, and sends the pseudo- beacon frame, so as to join described in intelligent terminal for reception The beacon frame that net equipment sends, and when the beacon frame is judged for the pseudo- beacon frame, parse the pseudo- beacon frame to obtain The classification information and individual identification codes of the networked devices, and set the networking according to the classification information and individual identification codes It is standby to carry out networking configuration.
2. the control method of networked devices as claimed in claim 1, it is characterised in that the individual identification codes are by described The random code with uniqueness that networked devices are generated at random.
3. the control method of networked devices as claimed in claim 1, it is characterised in that the individual identification codes are by following Step is generated:
The real MAC address of the networked devices is obtained, and the PIN is generated according to the real MAC address.
4. the control method of networked devices as claimed in claim 1, it is characterised in that the pseudo- MAC Address is by 6 words Section composition, wherein, the preset rules are:
Front 3 bytes of the pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;The pseudo- MAC Rear 3 bytes of address are respectively cognizance code end number, the classification coding of the networked devices, the individuality of the networked devices Identification code, wherein, the cognizance code end number is used to distinguish the true and false of MAC Address.
5. the control method of networked devices as claimed in claim 1, it is characterised in that obtain described in the intelligent terminal After the classification information and individual identification codes of networked devices, methods described also includes:
The real MAC address of the networked devices is obtained, and it is concurrent to generate corresponding beacon frame according to the real MAC address Send, so that the intelligent terminal will be described according to the beacon frame, the classification information of the networked devices and individual identification codes Net equipment carries out networking configuration.
6. a kind of control method of networked devices, it is characterised in that comprise the following steps:
Receive the first beacon frame that networked devices send;
Judge whether first beacon frame is pseudo- beacon frame, wherein, the pseudo- beacon frame is according to institute by the networked devices Classification information, individual identification codes and the preset rules for stating networked devices generate pseudo- MAC Address, and according to the pseudo- MAC Address Generate;
If first beacon frame is the pseudo- beacon frame, first beacon frame is solved according to the preset rules Analyse to obtain the classification information of the networked devices and the individual identification codes of the networked devices;And
The classification information and individual identification codes of the networked devices are supplied to into user.
7. the control method of networked devices as claimed in claim 5, it is characterised in that by the classification of the networked devices Information and individual identification codes are supplied to after user, and methods described also includes:
When receiving networking of the user for networked devices input and asking, receive that the networked devices send the Two beacon frames, wherein, second beacon frame is given birth to according to the real MAC address of the networked devices by the networked devices Into;
The networked devices are carried out into networking configuration according to second beacon frame, the classification information and individual identification codes.
8. the control method of networked devices as claimed in claim 6, it is characterised in that whether judge first beacon frame For pseudo- beacon frame, specifically include:
MAC Address in being parsed to first beacon frame to obtain first beacon frame;
Judge whether the MAC Address is pseudo- MAC Address according to the MAC Address, wherein, include in the MAC Address Representative can be used for the byte of the true and false for distinguishing MAC Address;
If the MAC Address is the pseudo- MAC Address, judge that first beacon frame is the pseudo- beacon frame.
9. a kind of control device of networked devices, it is characterised in that include:
First acquisition module, for obtaining the classification information of the networked devices, and obtains the individual identification of the networked devices Code;
First generation module, sets for generating the networking according to the classification information, the individual identification codes and preset rules Standby pseudo- MAC Address;
Second generation module, for generating pseudo- beacon frame according to the pseudo- MAC Address;And
Sending module, for sending the pseudo- beacon frame, so that the beacon frame that networked devices described in intelligent terminal for reception send, And when the beacon frame is judged for the pseudo- beacon frame, the classification for parsing the pseudo- beacon frame to obtain the networked devices is believed Breath and individual identification codes, and the networked devices are carried out by networking configuration according to the classification information and individual identification codes.
10. the control device of networked devices as claimed in claim 9, it is characterised in that the individual identification codes are by institute State the random code with uniqueness that networked devices are generated at random.
The control device of 11. networked devices as claimed in claim 9, it is characterised in that the individual identification codes by with Lower step is generated:
The real MAC address of the networked devices is obtained, and the PIN is generated according to the real MAC address.
The control device of 12. networked devices as claimed in claim 9, it is characterised in that the pseudo- MAC Address is by 6 Byte is constituted, wherein, the preset rules are:
Front 3 bytes of the pseudo- MAC Address are the manufacturer ID distributed by International Standards Organization IEEE;The pseudo- MAC Rear 3 bytes of address are respectively cognizance code end number, the classification coding of the networked devices, the individuality of the networked devices Identification code, wherein, the cognizance code end number is used to distinguish the true and false of MAC Address.
The control device of 13. networked devices as claimed in claim 9, it is characterised in that also include:
Second acquisition module, for after classification information and individual identification codes that the intelligent terminal obtains the networked devices, Obtain the real MAC address of the networked devices;
3rd generation module, for generating corresponding beacon frame according to the real MAC address and sending, so that the intelligence The networked devices are carried out networking and are matched somebody with somebody by terminal according to the beacon frame, the classification information of the networked devices and individual identification codes Put.
14. a kind of control devices of networked devices, it is characterised in that include:
First receiver module, for receiving the first beacon frame of networked devices transmission;
Judge module, for judging whether first beacon frame is pseudo- beacon frame, wherein, the pseudo- beacon frame is by described Networked devices generate pseudo- MAC Address according to the classification information of the networked devices, individual identification codes and preset rules, and according to What the pseudo- MAC Address was generated;
Parsing module, for when first beacon frame is the pseudo- beacon frame, according to the preset rules to described first Beacon frame is parsed the individual identification codes of the classification information to obtain the networked devices and the networked devices;And
Module is provided, for the classification information and individual identification codes of the networked devices to be supplied to into user.
The control device of 15. networked devices as claimed in claim 14, it is characterised in that also include:
Second receiver module, for being supplied to the classification information and individual identification codes of the networked devices in the offer module After user, and when the networking request that the user is input into for the networked devices is received, receive the networked devices The second beacon frame for sending, wherein, second beacon frame is according to the real MAC of the networked devices by the networked devices What address generated;
Networking configuration module, for being set the networking according to second beacon frame, the classification information and individual identification codes It is standby to carry out networking configuration.
The control device of 16. networked devices as claimed in claim 14, it is characterised in that the judge module specifically for:
MAC Address in being parsed to first beacon frame to obtain first beacon frame;
Judge whether the MAC Address is pseudo- MAC Address according to the MAC Address, wherein, include in the MAC Address Representative can be used for the byte of the true and false for distinguishing MAC Address;
If the MAC Address is the pseudo- MAC Address, judge that first beacon frame is the pseudo- beacon frame.
17. a kind of control systems of networked devices, it is characterised in that include:
The control device of the networked devices as any one of claim 9 to 13;And
The control device of the networked devices as any one of claim 14 to 16.
CN201510701649.0A 2015-10-22 2015-10-22 Control method, device and system of networking equipment Active CN106612530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510701649.0A CN106612530B (en) 2015-10-22 2015-10-22 Control method, device and system of networking equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510701649.0A CN106612530B (en) 2015-10-22 2015-10-22 Control method, device and system of networking equipment

Publications (2)

Publication Number Publication Date
CN106612530A true CN106612530A (en) 2017-05-03
CN106612530B CN106612530B (en) 2022-03-25

Family

ID=58613446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510701649.0A Active CN106612530B (en) 2015-10-22 2015-10-22 Control method, device and system of networking equipment

Country Status (1)

Country Link
CN (1) CN106612530B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246797A (en) * 2017-06-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of method, apparatus, system and equipment connecting wireless network
CN110191499A (en) * 2019-04-28 2019-08-30 深圳市亿联智能有限公司 Intelligent radio networking method and intelligent radio interconnection device
CN110225516A (en) * 2018-03-01 2019-09-10 鸿合科技股份有限公司 A kind of connection method and system of wireless network
CN111884864A (en) * 2020-08-04 2020-11-03 北京立通智联科技有限公司 Method and device for managing Internet of things equipment
CN112073276A (en) * 2020-09-21 2020-12-11 国家电网有限公司 Power Internet of things communication method and system based on intelligent socket

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369035A (en) * 2013-06-24 2013-10-23 四川长虹电器股份有限公司 Two dimensional code-based intelligent household electrical appliance communication method
US20140226817A1 (en) * 2013-02-11 2014-08-14 Broadcom Corporation Apparatus and method to register wi-fi clients on a wi-fi network
US20140335858A1 (en) * 2013-05-08 2014-11-13 Electronics & Telecommunications Research Institute Cell search method for supporting discontinuous transmission and/or reception of base station
CN104460329A (en) * 2014-10-29 2015-03-25 小米科技有限责任公司 Intelligent device connection method and device
CN104836848A (en) * 2015-04-14 2015-08-12 闪联信息技术工程中心有限公司 Method for remotely upgrading intelligent household electrical appliances
CN104853336A (en) * 2015-05-18 2015-08-19 小米科技有限责任公司 Method for discovering intelligent equipment, method for accessing to internet and devices thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140226817A1 (en) * 2013-02-11 2014-08-14 Broadcom Corporation Apparatus and method to register wi-fi clients on a wi-fi network
US20140335858A1 (en) * 2013-05-08 2014-11-13 Electronics & Telecommunications Research Institute Cell search method for supporting discontinuous transmission and/or reception of base station
CN103369035A (en) * 2013-06-24 2013-10-23 四川长虹电器股份有限公司 Two dimensional code-based intelligent household electrical appliance communication method
CN104460329A (en) * 2014-10-29 2015-03-25 小米科技有限责任公司 Intelligent device connection method and device
CN104836848A (en) * 2015-04-14 2015-08-12 闪联信息技术工程中心有限公司 Method for remotely upgrading intelligent household electrical appliances
CN104853336A (en) * 2015-05-18 2015-08-19 小米科技有限责任公司 Method for discovering intelligent equipment, method for accessing to internet and devices thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246797A (en) * 2017-06-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of method, apparatus, system and equipment connecting wireless network
CN110225516A (en) * 2018-03-01 2019-09-10 鸿合科技股份有限公司 A kind of connection method and system of wireless network
CN110225516B (en) * 2018-03-01 2023-11-17 鸿合科技股份有限公司 Connection method and system of wireless network
CN110191499A (en) * 2019-04-28 2019-08-30 深圳市亿联智能有限公司 Intelligent radio networking method and intelligent radio interconnection device
CN111884864A (en) * 2020-08-04 2020-11-03 北京立通智联科技有限公司 Method and device for managing Internet of things equipment
CN112073276A (en) * 2020-09-21 2020-12-11 国家电网有限公司 Power Internet of things communication method and system based on intelligent socket
CN112073276B (en) * 2020-09-21 2022-02-25 国家电网有限公司 Power Internet of things communication method and system based on intelligent socket

Also Published As

Publication number Publication date
CN106612530B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN106612530A (en) Control method, device and system for networking equipment
CN108012312B (en) Paged device, paging device and method
CN105830503A (en) Connection method for smart home device and apparatus thereof
CN105682183A (en) Method and device for controlling household appliance to access to network
CN109495358A (en) Household electrical appliance match network method and distribution network systems
CN107132822A (en) Control method, intelligent door lock and the control system of smart home
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN103687048A (en) Wireless device, wireless network architecture and networking method having automatic online settings
CN107251583A (en) Initiate the wireless bulletin of pairing
CN111314185B (en) Ad hoc network method, ad hoc network response method, controlled equipment and gateway
CN105940720B (en) It is a kind of to trigger the method for register machine protocol interaction, access point, website
CN107046483A (en) The collocation method of wireless network, device and system
CN108616582A (en) Pairing method, device and system of internal machine and wire controller
CN106535316A (en) Method for connecting internet-of-things module to network, router and internet-of-things module
CN106550360A (en) WiFi methods of attachment and system
CN104837217A (en) Network access method and device
CN109413653A (en) Household electrical appliance match network method and distribution network systems
CN112202652A (en) Method and device for displaying information of equipment to be networked, storage medium and electronic device
CN107645789A (en) The method, apparatus and system of networking
CN106550332A (en) The acquisition methods and system of networked devices inbound information
CN104426858B (en) A kind of information processing method and electronic equipment
US9756608B1 (en) Systems and methods for providing wireless unconnected communication between devices
CN105915416A (en) Information processing method and terminal device
CN106921973A (en) Wireless network configuration method, device and system
CN101197741B (en) Correlation method among nodes in individual field network, device and method for acquiring correlation mode

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
GR01 Patent grant
GR01 Patent grant