CN104812020B - Control the method, apparatus and system of smart machine access network - Google Patents

Control the method, apparatus and system of smart machine access network Download PDF

Info

Publication number
CN104812020B
CN104812020B CN201510134621.3A CN201510134621A CN104812020B CN 104812020 B CN104812020 B CN 104812020B CN 201510134621 A CN201510134621 A CN 201510134621A CN 104812020 B CN104812020 B CN 104812020B
Authority
CN
China
Prior art keywords
network
smart machine
message
multicast
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510134621.3A
Other languages
Chinese (zh)
Other versions
CN104812020A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510134621.3A priority Critical patent/CN104812020B/en
Publication of CN104812020A publication Critical patent/CN104812020A/en
Application granted granted Critical
Publication of CN104812020B publication Critical patent/CN104812020B/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
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The disclosure is directed to method, apparatus and system that a kind of control smart machine accesses network.The method includes:The message of network is added in the request for receiving the smart machine from network to be accessed, and the device descriptive information and MAC Address for carrying the smart machine is added in the message of network in the request;It is determined according to the device descriptive information and the MAC Address and needs the corresponding multicast address section of the access smart machine of network with described;The multicast message for confirming connection is sent to the multicast address section, the configuration information that the router of access in need is carried in the multicast message needs the smart machine for accessing network according to the communication connection of the configuration information of router foundation and the router for described.The smart machine that disclosed technique scheme can specify user is linked into network, avoids bringing unnecessary puzzlement to user and surrounding neighbours.

Description

Control the method, apparatus and system of smart machine access network
Technical field
This disclosure relates to field of communication technology more particularly to it is a kind of control smart machine access network method, apparatus and System.
Background technology
When wifi class smart machines need to access network, the relevant technologies are by user's control mobile phone or router to needing The smart machine for accessing network sends out the broadcast packet or multicast packets for including general access permission order, all to receive the broadcast All network can be added to router solicitation in the smart machine that packet or group are reported.When user needs the number of the smart machine of access network When measuring more, the relevant technologies can reduce the attended operation number of user, and then improve the effect of control smart machine access network Rate.Since the relevant technologies to smart machine by sending broadcast packet or this extensive style of multicast packets designs, will produce due to The maloperation of user and the smart machine for belonging to neighbour's is also accessed in network, being brought to user and surrounding neighbours need not The puzzlement wanted.
Invention content
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of control smart machine access network Method, apparatus and system are linked into to avoid smart machine in the network of mistake.
According to the first aspect of the embodiments of the present disclosure, a kind of method of control smart machine access network is provided, is applied On terminal device, including:
The message of network is added in the request for receiving the smart machine from network to be accessed, and the report of network is added in the request The device descriptive information and MAC Address of the smart machine are carried in text;
Determined according to the device descriptive information and the MAC Address needs the access smart machine of network corresponding with described Multicast address section;
The multicast message for confirming connection is sent to the multicast address section, and access in need is carried in the multicast message The configuration information of router, for it is described need access network smart machine according to the configuration information of the router establish with The communication connection of the router.
In one embodiment, the method may also include:
The intelligence of the network to be accessed is shown in a manner of first list on the first interactive interface of the terminal device It can equipment;
The smart machine for needing to access network is determined from the first list.
In one embodiment, the method may also include:
The router for needing to access is determined from the second list on the second interactive interface of the terminal device;
Obtain the configuration information of the router for needing to access.
In one embodiment, the request, which is added in the message of network also to carry, determines the calculating multicast address section Method identifies, and described determined according to the device descriptive information and the MAC Address needs the intelligence for accessing network to set with described Standby corresponding multicast address section, it may include:
It is added in the message of network from the request and parses the method mark;
It is identified according to the method and determines the computational methods for calculating the multicast address section;
It needs to access network by the way that computational methods calculating is described according to the device descriptive information and the MAC Address The corresponding multicast address section of smart machine.
According to the second aspect of the embodiment of the present disclosure, a kind of method of smart machine access network is provided, is applied in intelligence In equipment, including:
The message that network is added in request is sent to terminal device, the request, which is added in the message of network, carries the intelligence The device descriptive information and MAC Address of energy equipment;
The multicast address section being calculated by the smart machine receives the confirmation connection from the terminal device Multicast message carries the configuration information of the router of access in need in the multicast message;
The communication connection with the router is established according to the configuration information.
In one embodiment, the method may also include:
The method for determining the calculating multicast address section of the smart machine;
The corresponding method mark of the computational methods is added to the request to be added in the message of network.
According to the third aspect of the embodiment of the present disclosure, a kind of device of control smart machine access network is provided, is applied On terminal device, including:
First receiving module is configured as receiving the report of the request addition network of the smart machine from network to be accessed The device descriptive information and MAC Address for carrying the smart machine is added in the message of network in text, the request;
First determining module is configured as the device descriptive information received according to first receiving module and institute It states MAC Address and determines and need the corresponding multicast address section of the access smart machine of network with described;
First sending module is configured as the multicast address section determined to first determining module and sends confirmation company The multicast message connect carries the configuration information of the router of access in need in the multicast message, needs to access for described The smart machine of network establishes the communication connection with the router according to the configuration information of the router.
In one embodiment, described device may also include:
First display module is configured as on the first interactive interface of the terminal device showing in a manner of first list Show that first receiving module receives the smart machine of the network to be accessed of message;
Second determining module is configured as determining that needs connect from the first list that first display module is shown Enter the smart machine of network.
In one embodiment, described device may also include:
Second display module is configured as determining institute from the second list on the second interactive interface of the terminal device State the router for needing to access;
Acquisition module is configured as obtaining the configuration of the router for the needs access that second display module is shown Information, so that first sending module sends the configuration by the multicast message for confirming connection to the smart machine Information.
In one embodiment, the request, which is added in the message of network also to carry, determines the calculating multicast address section Device identification, first determining module may include:
Analyzing sub-module is configured as from the message that network is added in the request that first receiving module receives Parse the method mark;
Determination sub-module, the method mark for being configured as being resolved to according to the analyzing sub-module determine described in calculating The computational methods of multicast address section;
Computational submodule is configured as passing through the determining submodule according to the device descriptive information and the MAC Address The computational methods that block determines calculate the corresponding multicast address section of smart machine for needing to access network.
According to the fourth aspect of the embodiment of the present disclosure, a kind of device of smart machine access network is provided, is applied in intelligence In equipment, including:
Second sending module is configured as sending the message that network is added in request to terminal device, and net is added in the request The device descriptive information and MAC Address of the smart machine are carried in the message of network;
Second receiving module is configured as receiving from described by the multicast address section that the smart machine is calculated Terminal device confirms the multicast message connected, and the configuration information of the router of access in need is carried in the multicast message;
Communication building block is configured as the configuration information foundation received according to second receiving module and institute State the communication connection of router.
In one embodiment, described device may also include:
Third determining module, the method for being configured to determine that the calculating multicast address section of the smart machine;
Add module is configured as adding the corresponding method mark of the computational methods that the third determining module determines The request is added to be added in the message of network.
According to a fifth aspect of the embodiments of the present disclosure, a kind of device of control smart machine access network is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The message of network is added in the request for receiving the smart machine from network to be accessed, and the report of network is added in the request The device descriptive information and MAC Address of the smart machine are carried in text;
Determined according to the device descriptive information and the MAC Address needs the access smart machine of network corresponding with described Multicast address section;
The multicast message for confirming connection is sent to the multicast address section, and access in need is carried in the multicast message The configuration information of router, for it is described need access network smart machine according to the configuration information of the router establish with The communication connection of the router.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of device of smart machine access network is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The message that network is added in request is sent to terminal device, the request, which is added in the message of network, carries the intelligence The device descriptive information and MAC Address of energy equipment;
The multicast address section being calculated by the smart machine receives the confirmation connection from the terminal device Multicast message carries the configuration information of the router of access in need in the multicast message;
The communication connection with the router is established according to the configuration information.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of system of control smart machine access network is provided, including:Eventually End equipment and smart machine;
The smart machine is configured as sending the message that network is added in request to the terminal device, and the request adds Enter to carry the device descriptive information and MAC Address of the smart machine in the message of network;
The terminal device is configured as receiving the message that network is added in the request, according to the device descriptive information The corresponding multicast address section of the smart machine is determined with the MAC Address, is sent to the multicast address section and is confirmed connection Multicast message carries the configuration information of the router of access in need in the multicast message;
The smart machine is additionally configured to establish the communication with the router according to the configuration information of the router Connection.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is retouched according to the equipment of smart machine It states information and MAC Address determines to smart machine and sends multicast message, the intelligence specified due to carrying user in the multicast message Can the configuration information of router that can access of equipment, therefore can make smart machine according to configuration information establish with router it Between communication connection, the smart machine so as to specify user is linked into network, avoids to user and surrounding neighbour Bring unnecessary puzzlement in residence.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart for the method that network is accessed according to the control smart machine shown in an exemplary embodiment.
Fig. 2A is the flow chart for the method that network is accessed according to the control smart machine shown in an exemplary embodiment one.
Fig. 2 B are the schematic diagrames according to the first interactive interface shown in an exemplary embodiment one.
Fig. 2 C are the schematic diagrames according to the second interactive interface shown in an exemplary embodiment one.
Fig. 3 is the flow chart for the method that network is accessed according to the control smart machine shown in an exemplary embodiment two.
Fig. 4 is the flow chart for the method that network is accessed according to the smart machine shown in an exemplary embodiment.
Fig. 5 is the flow chart for the method that network is accessed according to the smart machine shown in an exemplary embodiment one.
Fig. 6 is a kind of block diagram of the device of control smart machine access network shown according to an exemplary embodiment.
Fig. 7 is the block diagram for the device that network is accessed according to another control smart machine shown in an exemplary embodiment.
Fig. 8 is a kind of block diagram of the device of smart machine access network shown according to an exemplary embodiment.
Fig. 9 is the block diagram of the device of another smart machine access network shown according to an exemplary embodiment.
Figure 10 is a kind of device being suitable for controlling smart machine access network shown according to an exemplary embodiment Block diagram.
Figure 11 is a kind of block diagram of the system of control smart machine access network shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is the flow chart for the method that network is accessed according to the control smart machine shown in an exemplary embodiment, the control The method of smart machine processed access network can apply terminal device (such as:Smart mobile phone, tablet computer, PC machine etc.) on, The mode of control software can be installed in such a way that Intelligent hardware application program is installed on mobile terminals or in PC machine It realizes, as shown in Figure 1, the method for control smart machine access network includes the following steps S101-S103:
In step S101, the message of network is added in the request for receiving the smart machine from network to be accessed, wherein asks Seek the device descriptive information and MAC Address for being added in the message of network and carrying smart machine.
In one embodiment, the smart machine of network to be accessed can ask that net is added after being powered up to surrounding broadcast The message of network, the message which is added network can be the beacons messages in accordance with 802.11 consensus standards, by the report The device descriptive information and MAC Address of smart machine are carried in text, the report of network can be added in terminal device by the request Text identifies which kind of smart machine the smart machine is specially, for example, can be obtained by the device descriptive information of smart machine Know that smart machine is Intelligent purifying device, is that smart machine determines multicast address section by device descriptive information and MAC Address.
In one embodiment, the smart machine of network to be accessed can be one, or it is more than two, correspondingly, The message that network is added in request can be one, or it is more than two, for example, message can be received in terminal device In spatial dimension, the request access from Intelligent purifying device, intelligent socket, smart television totally three smart machines is had received The message of network, wherein Intelligent purifying device is the smart machine that user really needs access network, intelligent socket and smart television The smart machine bought and powered on recently for the neighbours of user.In one embodiment, the smart machine of network to be accessed can To show in the form of a list on the terminal device, user is set by determining that it really needs the intelligence of access network in lists It is standby, for example, Intelligent purifying device, intelligent socket, smart television are shown on the terminal device by way of list.
In step s 102, the smart machine pair of network is determined and needed to access according to device descriptive information and MAC Address The multicast address section answered.
For example, the description with above-mentioned steps S101 is adapted, Intelligent purifying device is the smart machine for needing to access network. In one embodiment, a multicast address section can be determined by device descriptive information to Intelligent purifying device and MAC Address, eventually There can be multiple computational methods for determining address multicast section by device descriptive information and MAC Address in end equipment, pass through selection The computational methods being adapted with smart machine determine address multicast section, for example, can be opposite with Intelligent purifying device by selecting The computational methods answered carry out the corresponding address multicast section of computational intelligence clarifier.
In one embodiment, the multicast message in the embodiment of the present disclosure is UDP messages, receive from smart machine It is the beacons messages for following 802.11 consensus standards to ask the message of access network device.In one embodiment, can pass through To choosing continuous setting digit (for example, continuous 7 bits of MAC Address) in low 23 of the multicast address in multicast message Bit determine the corresponding multicast address section of smart machine, for example, choose smart machine MAC Address low 7 bits Value, for another example low 7 of the MAC Address of Intelligent purifying device be 0010111 (the correspondence decimal system is 23), MAC of smart television Low 7 of location are 0110100 (the corresponding decimal system is 52), and complementation is carried out to low 7 of the MAC Address of Intelligent purifying device, 23%128=23 is obtained, low 7 progress complementation to the MAC Address of intelligent socket obtains 52%128=52, therefore intelligence The corresponding multicast address section of energy clarifier is 239.23.0.0 to 239.23.255.255, the corresponding multicast address section of intelligent socket For 239.52.0.0 to 239.52.255.255.It in another embodiment, can also be according to terminal device and smart machine both sides The mode of the determination multicast address section of agreement determines multicast address section, as long as terminal device can be according to agreement with smart machine Determine that the mode of multicast address section sends the multicast message for confirming connection by multicast address.
In step s 103, the multicast message for confirming connection is sent to multicast address section, is carried in multicast message in need The configuration information of the router of access, for needing the smart machine for accessing network to be established according to the configuration information of router and road By the communication connection of device.
In one embodiment, corresponding with the description of above-mentioned steps S102, for example, being set if necessary to the intelligence of access network Standby is Intelligent purifying device, and Intelligent purifying device is by receiving the group in multicast address section 239.23.0.0 to 239.23.255.255 Report text, the configuration information for the router that needs in multicast message access is parsed from the multicast message, to establish and The communication connection for the router that user specifies.
In the present embodiment, it is determined to smart machine transmission group according to the device descriptive information of smart machine and MAC Address Text is reported, due to carrying the configuration information for the router that the smart machine that user specifies can access in the multicast message, because This can make smart machine establish the communication connection between router according to configuration information, so as to the intelligence for specifying user Energy equipment is linked into network, avoids bringing unnecessary puzzlement to user and surrounding neighbours.
In one embodiment, the method for control smart machine access network may also include:
The smart machine of network to be accessed is shown in a manner of first list on the first interactive interface of terminal device;
The smart machine for needing to access network is determined from first list.
In one embodiment, the method for control smart machine access network may also include:
The router for needing to access is determined from the second list on the second interactive interface of terminal device;
Obtain the configuration information for the router for needing to access.
In one embodiment, the method mark for also being carried in the message of network and determining and calculating multicast address section is added in request Know, step S102 may include:
Method mark is parsed from the message that network is added in request;
It is identified according to method and determines the computational methods for calculating multicast address section;
It is corresponding that the smart machine for needing to access network is calculated by computational methods according to device descriptive information and MAC Address Multicast address section.
It is specific how controlling smart machine access network, please refer to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides, the smart machine that can specify user are linked into network, It avoids bringing unnecessary puzzlement to user and surrounding neighbours.
The technical solution of embodiment of the present disclosure offer is provided with specific embodiment below.
Fig. 2A is the flow chart for the method that network is accessed according to the control smart machine shown in an exemplary embodiment one, figure 2B is according to the schematic diagram of the first interactive interface shown in an exemplary embodiment one, and Fig. 2 C are according to an exemplary embodiment one The schematic diagram of the second interactive interface shown;The present embodiment utilizes the above method that the embodiment of the present disclosure provides, to pass through movement It is illustrated for Intelligent hardware application program controlling smart machine access network in terminal, as shown in Figure 2 A, packet Include following steps:
In step s 201, the message of network is added in the request for receiving the smart machine from network to be accessed, wherein asks Seek the device descriptive information and MAC Address for being added in the message of network and carrying smart machine.
The description of step S201 can refer to the description of above-mentioned steps S101, and this will not be detailed here.In one embodiment, may be used To receive the message that network is added in request by the Intelligent hardware application program on terminal device.
In step S202, network to be accessed is shown in a manner of first list on the first interactive interface of terminal device Smart machine.
In one embodiment, the first interactive interface of terminal device can be a user in Intelligent hardware application program Interface illustrates the smart machine that the message of network is added in the request that terminal device receives in the user interface to user;Such as Shown in Fig. 2 B, for example, the message that network is added by the request received for Intelligent hardware application program is found that Intelligent purifying device And intelligent socket, and include in Intelligent hardware application program in a manner of first list 21 by Intelligent purifying device and intelligent socket In user interface 20.
In step S203, the smart machine for needing to access network is determined from first list.
In one embodiment, Intelligent hardware application program can determine whether user needs by way of monitoring key-press event Its specified smart machine is installed, for example, user needs specified Intelligent purifying device to be connected on router, then can be passed through a little Intelligent purifying device described on Fig. 2 B is hit, so that it is determined that the smart machine for needing to access network is Intelligent purifying device, this field skill Art personnel are it is understood that first list shown in Fig. 2 B only illustratively, is to understand disclosure reality for convenience Example is applied, the limitation to the embodiment of the present disclosure can not be formed.
In step S204, the smart machine pair of network is determined and needed to access according to device descriptive information and MAC Address The multicast address section answered.
The description of step S204 can refer to the description of above-mentioned steps S102, and this will not be detailed here.
In step S205, the routing for needing to access is determined from the second list on the second interactive interface of terminal device Device.
In one embodiment, the second interactive interface of terminal device can be another use in Intelligent hardware application program Family interface illustrates the route-map that can be communicated with terminal device in the user interface, for example, router to user Title;As shown in Figure 2 C, for example, the message that network is added by the request received for Intelligent hardware application program is found that road It is shown in a manner of second list 22 by the router of device entitled xiaomi and huarunwcc, and by xiaomi and huarunwcc Show in the user interface 20 of Intelligent hardware application program, it will be appreciated by persons skilled in the art that shown in fig. 2 C first List is to understand the embodiment of the present disclosure for convenience only illustratively, can not be formed to the embodiment of the present disclosure Limitation.
In step S206, the configuration information for the router for needing to access is obtained.
In one embodiment, the configuration information of router may include the title of router and being connected to for user setting The password of router can then lead to for example, user needs specified Intelligent purifying device to be connected on the router of entitled xiaomi It crosses and clicks xiaomi described on Fig. 2 C, so that it is determined that it is xiaomi that smart machine, which needs the router accessed,.
In step S207, the multicast message for confirming connection is sent to multicast address section, is carried in multicast message in need The configuration information of the router of access, for needing the smart machine for accessing network to be established according to the configuration information of router and road By the communication connection of device.
The description of step S207 can refer to the description of above-mentioned steps S103, and this will not be detailed here.
In the present embodiment, other than the advantageous effects with above-described embodiment, the present embodiment also passes through interactive interface Mode smart machine and router are shown on the terminal device, can more intuitively specify needs thereby using family It accesses the smart machine of network and smart machine needs to establish the router of connection, be more advantageous to user and pass through terminal device Control smart machine is linked into network, and user is made to have better user experience when controlling Intelligent hardware and accessing network.
Fig. 3 is the flow chart for the method that network is accessed according to the control smart machine shown in an exemplary embodiment two;This The above method that embodiment is provided using the embodiment of the present disclosure, request, which is added in the message of network also to carry, determines calculating multicast The method of address field identifies, and how description is identified by method determines multicast address section, as shown in figure 3, including the following steps:
In step S301, method mark is parsed from the message that network is added in request.
In one embodiment, different types of smart machine and the smart machine of one species different model can bases The continuous renewal of product design is updated the computational methods for calculating multicast address section, more in order to enable terminal device to control The smart machine of sample can carry method mark in the message that network is added in request, phase is determined by method mark The corresponding computational methods for calculating multicast address section.
In step s 302, it is identified according to method and determines the computational methods for calculating multicast address section.
In one embodiment, computational methods can arrange by complementation, according to terminal device and smart machine both sides Setting provide that the mode of redundancy bytes that filling request is added in the message of network determines, for example, when method is identified as 00, It indicates that corresponding computational methods are complementation, when method is identified as 01, indicates that corresponding computational methods are into redundancy bytes Even bit be filled, when method is identified as 10, indicate that corresponding computational methods are that odd bits into redundancy bytes carry out The mode of filling;It will be appreciated by persons skilled in the art that when being corresponding with more computational methods, more may be used Byte carrys out representation method mark.
In step S303, is calculated by computational methods according to device descriptive information and MAC Address and need to access network The corresponding multicast address section of smart machine.
The description of step S303 can refer to the description of above-mentioned steps S102, and this will not be detailed here.
Can be different types of smart machine and one species different model by method mark in the present embodiment Smart machine determines multicast address section, to make terminal device that there is diversified mode to control smart machine.
Fig. 4 is the flow chart for the method that network is accessed according to the smart machine shown in an exemplary embodiment, which sets The method of standby access network can apply smart machine (such as:Intelligent purifying device, intelligent socket, smart television etc.) on, such as Shown in Fig. 4, the method for smart machine access network includes the following steps S401-S403:
In step S401, the message that network is added in request is sent to terminal device, request is added in the message of network and takes Device descriptive information with smart machine and MAC Address.
In one embodiment, the smart machine of network to be accessed can ask that net is added after being powered up to surrounding broadcast The message of network, the message which is added network can be the beacons messages in accordance with 802.11 consensus standards, by the report The device descriptive information and MAC Address that smart machine is carried in text, so as to so that terminal device adds receiving the request Enter to identify which kind of smart machine the smart machine is specially in the message of network.
In step S402, the multicast address section being calculated by smart machine receives the confirmation company from terminal device The multicast message connect carries the configuration information of the router of access in need in multicast message.
In one embodiment, the method for determination of multicast address section determines multicast address with terminal device in above-mentioned steps S102 The mode of section is identical, and this will not be detailed here.
In step S403, the communication connection with router is established according to configuration information.
In the present embodiment, by sending the message of request access network to terminal device, due to being carried in the message Device descriptive information and MAC Address, therefore the user of terminal equipment side can be specified by device descriptive information and need to access net The smart machine of network, and the configuration information of router is sent by smart machine by terminal device, and then smart machine can be made The communication connection between router is established according to configuration information, the smart machine so as to specify user is linked into network In, it avoids bringing unnecessary puzzlement to user and surrounding neighbours.
In one embodiment, the method for smart machine access may also include:
The method for determining the calculating multicast address section of smart machine;
The corresponding method mark of computational methods is added to request to be added in the message of network.
So far, the above method that the embodiment of the present disclosure provides, can will need the smart machine for being linked into network to be linked into In network, avoid bringing unnecessary puzzlement to user and surrounding neighbours.
The technical solution of embodiment of the present disclosure offer is provided with specific embodiment below.
Fig. 5 is the flow chart for the method that network is accessed according to the smart machine shown in an exemplary embodiment one, such as Fig. 5 institutes Show,
In step S501, the method for calculating multicast address section of smart machine is determined;
In step S502, the corresponding method mark of computational methods is added to request and is added in the message of network.
In one embodiment, since different types of smart machine and the smart machine of one species different model can be with The computational methods for calculating multicast address section are updated according to the continuous renewal of product design, in order to enable terminal device to control A greater variety of smart machines are made, the embodiment of the present disclosure identifies by carrying method in the message that network is added in request, leads to Method mark is crossed to determine the corresponding computational methods for calculating multicast address section.
In step S503, the message that network is added in request is sent to terminal device, request is added in the message of network and takes Device descriptive information with smart machine and MAC Address.
The description of step S503 can refer to the description of above-mentioned steps S401, and this will not be detailed here.
In step S504, the multicast address section being calculated by smart machine receives the confirmation company from terminal device The multicast message connect carries the configuration information of the router of access in need in multicast message.
The description of step S504 can refer to the description of above-mentioned steps S402, and this will not be detailed here.
In step S505, the communication connection with router is established according to configuration information.
Can be different types of smart machine and one species different model by method mark in the present embodiment Smart machine determines multicast address section, to make terminal device that there is diversified mode to control smart machine.
Fig. 6 is a kind of block diagram of the device of control smart machine access network shown according to an exemplary embodiment, such as Shown in Fig. 6, the device of control smart machine access network includes:
First receiving module 61 is configured as receiving the report of the request addition network of the smart machine from network to be accessed The device descriptive information and MAC Address for carrying smart machine is added in the message of network in text, request;
First determining module 62, with being configured as the device descriptive information received according to the first receiving module 61 and MAC Location determines multicast address section corresponding with the access smart machine of network is needed;
First sending module 63 is configured as the multicast address section determined to the first determining module 62 and sends confirmation connection Multicast message carries the configuration information of the router of access in need in multicast message, for needing the intelligence for accessing network to set The standby communication connection established according to the configuration information of router with router.
Fig. 7 is the block diagram for the device that network is accessed according to another control smart machine shown in an exemplary embodiment, As shown in fig. 7, on the basis of above-mentioned embodiment illustrated in fig. 6, device may also include:
First display module 64 is configured as showing in a manner of first list on the first interactive interface of terminal device First receiving module 61 receives the smart machine of the network to be accessed of message;
Second determining module 65 is configured as the determination from the first list that the first display module 64 is shown and needs to access net The smart machine of network.
In one embodiment, device may also include:
Second display module 66 is configured as determining needs from the second list on the second interactive interface of terminal device The router of access;
Acquisition module 67, be configured as the router that the needs that the second display module 66 of acquisition is shown access matches confidence Breath, so that the configuration information of router is sent to smart machine by the first sending module 63.
In one embodiment, the device mark for also being carried in the message of network and determining and calculating multicast address section is added in request Know, the first determining module 62 may include:
Analyzing sub-module 621, the request for being configured as receiving from the first receiving module 61, which is added in the message of network, to be solved Separation method identifies;
Determination sub-module 622 is configured as being determined with calculating multicast according to the method mark that analyzing sub-module 621 is resolved to The computational methods of location section;
Computational submodule 623 is configured as being determined by determination sub-module 622 according to device descriptive information and MAC Address Computational methods calculate need access network the corresponding multicast address section of smart machine.
Fig. 8 is a kind of block diagram of the device of smart machine access network shown according to an exemplary embodiment, such as Fig. 8 institutes Show, the device of smart machine access network includes:
Second sending module 81 is configured as sending the message that network is added in request to terminal device, and network is added in request Message in carry the device descriptive information and MAC Address of smart machine;
Second receiving module 82 is configured as the multicast address section being calculated by smart machine reception and is set come self terminal The multicast message of standby confirmation connection, wherein the configuration information of the router of access in need is carried in multicast message;
Communication building block 83 is configured as the configuration information foundation received according to the second receiving module 82 and router Communication connection.
Fig. 9 is the block diagram of the device of another smart machine access network shown according to an exemplary embodiment, such as Fig. 9 Shown, on the basis of above-mentioned embodiment illustrated in fig. 8, device may also include:
Third determining module 84, the method for being configured to determine that the calculating multicast address section of smart machine;
Add module 85 is configured as the corresponding method mark of computational methods that third determining module 84 determines being added to Request is added in the message of network.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is a kind of device being suitable for controlling smart machine access network shown according to an exemplary embodiment Block diagram.For example, device 1000 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, Tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components:Processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor module 1014 and communication component 1016.
The integrated operation of 1002 usual control device 1000 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing element 1002 may include one or more processors 1020 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in equipment 1000.These data Example includes the instruction for any application program or method that are operated on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1006 provides electric power for the various assemblies of device 1000.Electric power assembly 1006 may include power management System, one or more power supplys and other generated with for device 1000, management and the associated component of distribution electric power.
Multimedia component 1008 is included in the screen of one output interface of offer between device 1000 and user.At some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Touch screen is may be implemented as, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, But also it detects and touch or the relevant duration and pressure of slide.In some embodiments, multimedia component 1008 Including a front camera and/or rear camera.When equipment 1000 is in operation mode, such as screening-mode or video mode When, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition camera shooting Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 1012 provide interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detect the state that opens/closes of equipment 1000, the relative positioning of component, such as group Part is the display and keypad of device 1000, and sensor module 1014 can be with 1,000 1 groups of detection device 1000 or device The position change of part, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and device 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when tactile.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1016 further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
The embodiment of the present disclosure also discloses a kind of block diagram of the device suitable for smart machine access network, and structure can be with With reference to the above-mentioned block diagram shown in Fig. 10 for being suitable for controlling the device that smart machine accesses network, this will not be detailed here.
Figure 11 is a kind of block diagram of the system of control smart machine access network shown according to an exemplary embodiment, such as Shown in Figure 11, the system of control smart machine access network includes:Terminal device 111 and smart machine 112.
Wherein, smart machine 111 are configured as sending the message that network is added in request to terminal device 112, and request is added The device descriptive information and MAC Address of smart machine 111 are carried in the message of network;
Terminal device 112 is configured as receiving the message that network is added in request, according to device descriptive information and MAC Address It determines multicast address section corresponding with smart machine 111, the multicast message for confirming connection, multicast message is sent to multicast address section The configuration information of the middle router for carrying access in need;
Smart machine 111 is additionally configured to establish the communication connection with router according to the configuration information of router.
In conclusion the embodiment of the present disclosure can specify the communication link between smart machine and router by terminal device It connects, the smart machine so as to specify user is linked into network, and avoiding bringing to user and surrounding neighbours need not The puzzlement wanted.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of method of control smart machine access network, using on the terminal device, which is characterized in that the method packet It includes:
The message of network is added in the request for receiving the smart machine from network to be accessed, and the request is added in the message of network Carry the device descriptive information and MAC Address of the smart machine;
With determining multicast corresponding with the access smart machine of network is needed according to the device descriptive information and the MAC Address Location section;
The multicast message for confirming connection is sent to the multicast address section, and the routing of access in need is carried in the multicast message The configuration information of device, for it is described need access network smart machine according to the configuration information of the router establish with it is described The communication connection of router;
The request, which is added in the message of network also to carry, determines the method mark for calculating the multicast address section, the basis The device descriptive information and the MAC Address are determined needs the corresponding multicast address of the access smart machine of network with described Section, including:
It is added in the message of network from the request and parses the method mark;
It is identified according to the method and determines the computational methods for calculating the multicast address section;
According to the device descriptive information and the MAC Address intelligence for needing to access network is calculated by the computational methods It can the corresponding multicast address section of equipment.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Show that the intelligence of the network to be accessed is set in a manner of first list on the first interactive interface of the terminal device It is standby;
The smart machine for needing to access network is determined from the first list.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The router for needing to access is determined from the second list on the second interactive interface of the terminal device;
Obtain the configuration information of the router for needing to access.
4. a kind of method of smart machine access network, using on intelligent devices, which is characterized in that the method includes:
The message that network is added in request is sent to terminal device, carrying the intelligence in the message of the request addition network sets Standby device descriptive information and MAC Address;
The multicast address section being calculated by the smart machine receives the multicast of the confirmation connection from the terminal device Message carries the configuration information of the router of access in need in the multicast message;
The communication connection with the router is established according to the configuration information;
The method further includes:
The method for determining the calculating multicast address section of the smart machine;
The corresponding method mark of the computational methods is added to the request to be added in the message of network.
5. a kind of device of control smart machine access network, using on the terminal device, which is characterized in that described device packet It includes:
First receiving module is configured as receiving the message of the request addition network of the smart machine from network to be accessed, institute It states request and the device descriptive information and MAC Address for carrying the smart machine is added in the message of network;
First determining module is configured as the device descriptive information received according to first receiving module and described MAC Address determines multicast address section corresponding with the access smart machine of network is needed;
First sending module is configured as the multicast address section determined to first determining module and sends confirmation connection Multicast message carries the configuration information of the router of access in need in the multicast message, needs to access network for described Smart machine established and the communication connection of the router according to the configuration information of the router;
The request is added in the message of network and also carries the determining device identification for calculating the multicast address section, and described first Determining module includes:
Analyzing sub-module is configured as parsing from the message that network is added in the request that first receiving module receives Go out method mark;
Determination sub-module, the method mark for being configured as being resolved to according to the analyzing sub-module, which determines, calculates the multicast The computational methods of address field;
Computational submodule is configured as true by the determination sub-module according to the device descriptive information and the MAC Address The fixed computational methods calculate the corresponding multicast address section of smart machine for needing to access network.
6. device according to claim 5, which is characterized in that described device further includes:
First display module is configured as showing institute in a manner of first list on the first interactive interface of the terminal device State the smart machine that the first receiving module receives the network to be accessed of message;
Second determining module is configured as the determination from the first list that first display module is shown and needs to access net The smart machine of network.
7. device according to claim 5, which is characterized in that described device further includes:
Second display module is configured as determining the need from the second list on the second interactive interface of the terminal device The router to be accessed;
Acquisition module, be configured as obtaining the router for the needs access that second display module is shown matches confidence Breath, so that first sending module matches confidence by the multicast message for confirming connection to smart machine transmission is described Breath.
8. the device of a kind of smart machine access network, using on intelligent devices, which is characterized in that described device includes:
Second sending module is configured as sending the message that network is added in request to terminal device, and network is added in the request The device descriptive information and MAC Address of the smart machine are carried in message;
Second receiving module is configured as receiving from the terminal by the multicast address section that the smart machine is calculated Equipment confirms the multicast message connected, and the configuration information of the router of access in need is carried in the multicast message;
Communication building block is configured as being established and the road according to the configuration information that second receiving module receives By the communication connection of device;
Described device further includes:
Third determining module, the method for being configured to determine that the calculating multicast address section of the smart machine;
Add module is configured as the corresponding method mark of the computational methods that the third determining module determines being added to The request is added in the message of network.
9. a kind of device of control smart machine access network, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The message of network is added in the request for receiving the smart machine from network to be accessed, and the request is added in the message of network Carry the device descriptive information and MAC Address of the smart machine;
With determining multicast corresponding with the access smart machine of network is needed according to the device descriptive information and the MAC Address Location section;
The multicast message for confirming connection is sent to the multicast address section, and the routing of access in need is carried in the multicast message The configuration information of device, for it is described need access network smart machine according to the configuration information of the router establish with it is described The communication connection of router;
The request, which is added in the message of network also to carry, determines the method mark for calculating the multicast address section, the basis The device descriptive information and the MAC Address are determined needs the corresponding multicast address of the access smart machine of network with described Section, including:
It is added in the message of network from the request and parses the method mark;
It is identified according to the method and determines the computational methods for calculating the multicast address section;
According to the device descriptive information and the MAC Address intelligence for needing to access network is calculated by the computational methods It can the corresponding multicast address section of equipment.
10. a kind of device of smart machine access network, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The message that network is added in request is sent to terminal device, carrying the intelligence in the message of the request addition network sets Standby device descriptive information and MAC Address;
The multicast address section being calculated by the smart machine receives the multicast of the confirmation connection from the terminal device Message carries the configuration information of the router of access in need in the multicast message;
The communication connection with the router is established according to the configuration information;
The processor is additionally configured to:
The method for determining the calculating multicast address section of the smart machine;
The corresponding method mark of the computational methods is added to the request to be added in the message of network.
11. a kind of system of access network, which is characterized in that the system comprises:Terminal device and smart machine;
The smart machine is configured as sending the message that network is added in request to the terminal device, and net is added in the request The device descriptive information and MAC Address of the smart machine are carried in the message of network;
The terminal device is configured as receiving the message that network is added in the request, according to the device descriptive information and institute It states MAC Address and determines the corresponding multicast address section of the smart machine, the multicast for confirming connection is sent to the multicast address section Message carries the configuration information of the router of access in need in the multicast message;
The smart machine is additionally configured to establish the communication link with the router according to the configuration information of the router It connects;
The request, which is added in the message of network also to carry, determines the method mark for calculating the multicast address section, the terminal Equipment is additionally configured to:
It is added in the message of network from the request and parses the method mark;
It is identified according to the method and determines the computational methods for calculating the multicast address section;
Being calculated by the computational methods according to the device descriptive information and the MAC Address needs the intelligence for accessing network to set Standby corresponding multicast address section.
CN201510134621.3A 2015-03-25 2015-03-25 Control the method, apparatus and system of smart machine access network Active CN104812020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510134621.3A CN104812020B (en) 2015-03-25 2015-03-25 Control the method, apparatus and system of smart machine access network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510134621.3A CN104812020B (en) 2015-03-25 2015-03-25 Control the method, apparatus and system of smart machine access network

Publications (2)

Publication Number Publication Date
CN104812020A CN104812020A (en) 2015-07-29
CN104812020B true CN104812020B (en) 2018-10-26

Family

ID=53696382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510134621.3A Active CN104812020B (en) 2015-03-25 2015-03-25 Control the method, apparatus and system of smart machine access network

Country Status (1)

Country Link
CN (1) CN104812020B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162728B (en) * 2015-07-31 2018-07-31 小米科技有限责任公司 Method for network access, equipment and system
CN105611362B (en) * 2016-02-18 2018-12-07 四川长虹电器股份有限公司 The method for controlling set-top box by intelligent terminal
CN106358265B (en) * 2016-11-15 2020-06-09 贝斯拓欧洲控股有限公司 Method and device for accessing intelligent terminal equipment to Internet
CN107659470A (en) * 2017-09-19 2018-02-02 广东美的制冷设备有限公司 Anti-error distribution method and apparatus based on broadcast distribution
CN107659472A (en) * 2017-09-19 2018-02-02 广东美的制冷设备有限公司 Anti-error distribution method and apparatus based on access focus distribution
CN111263422A (en) * 2018-12-03 2020-06-09 中移(杭州)信息技术有限公司 Method and device for discovering intelligent equipment
CN111193323B (en) * 2020-01-06 2023-08-11 山东电工电气集团新能科技有限公司 Distribution network downlink equipment management device based on CAN bus
CN112261604B (en) * 2020-10-20 2023-02-28 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN104113934A (en) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 Router accessing method for communication equipment and accessing system
CN104378801A (en) * 2014-09-19 2015-02-25 小米科技有限责任公司 Method and device for having access to wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN104113934A (en) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 Router accessing method for communication equipment and accessing system
CN104378801A (en) * 2014-09-19 2015-02-25 小米科技有限责任公司 Method and device for having access to wireless network

Also Published As

Publication number Publication date
CN104812020A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104812020B (en) Control the method, apparatus and system of smart machine access network
CN104735057B (en) Share the method and device of equipment control
CN105933899B (en) The cut-in method and device of wireless access point
CN105163366B (en) Wireless network connecting method and device
CN104318741B (en) Bluetooth equipment control method and device
RU2626659C1 (en) Method and equipment for device control
CN104038536B (en) Plug-in unit communication means and device
CN105468152A (en) Terminal operation control method and device based on wearable equipment, and equipment
JP2017524316A (en) Video communication method, apparatus, program, and recording medium
CN106506562B (en) Method for connecting network, device and the smart machine of smart machine
CN105430161B (en) Message treatment method and device
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN105182783A (en) Method, apparatus and terminal for controlling intelligent devices
JP2017530493A (en) External device connection method and apparatus, program, and recording medium
JP2017539099A (en) Message transmission method, message reception method and apparatus
CN104301308B (en) Call control method and device
CN104898505A (en) Smart scene configuration method and device
CN104936039B (en) Image processing method and device
CN104506443A (en) Router setting interface display method and device
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN106604230B (en) The method and device of region configuration
CN106453032B (en) Information-pushing method and device, system
JP6491237B2 (en) Method, apparatus, program and recording medium for processing touch screen point reports
CN106254192A (en) Reminding method, suggestion device and prompt system
CN104837178A (en) Network accessing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant