Equipment method of network entry, device, are waited to network and log equipment intelligent terminal
Technical field
The present invention relates to Internet technical field more particularly to equipment method of network entry, device, intelligent terminal, wait to network and
Log equipment.
Background technology
Intelligent appliance equipment adds wireless communication module on the basis of traditional home appliance so that home appliance has networking
Function is allowed users to through intelligent terminal remote control intelligent appliance, such as user can be direct using intelligent terminal at home
Control the home appliance in home network.After intelligent appliance equipment and cloud platform establish connection, user can also outdoors via
Smart machine in cloud platform remote control home.
It configures intelligent appliance equipment to network, when especially configuring the intelligent appliance networking of no user interface, pass through
The process of intelligent terminal configuration is comparatively laborious, it is necessary to which user repeatedly participates in, and user needs to wait network configuration process.
The content of the invention
In order to solve the above technical problem, the present invention provides equipment method of network entry, device, intelligent terminal, wait to network and
Log equipment.
The method that configuration equipment provided by the invention networks, applied to intelligent terminal, including:
Obtain the unique mark for treating log equipment;It determines and the log equipment for treating log equipment networking;To described
Log equipment sends the distribution instruction for the unique mark that log equipment is treated described in carrying, wherein, the distribution instructs to refer to
Show that the log equipment will be sent to for accessing the access information of home network and described treat log equipment.
The method that above-mentioned configuration equipment networks also has the characteristics that:
It is described to treat to be provided with the information code for including the unique mark on log equipment;The acquisition treats log equipment only
One mark includes:The unique mark for treating log equipment is obtained by way of scanning described information code.
The method that above-mentioned configuration equipment networks also has the characteristics that:
Before determining the log equipment with treating log equipment networking, the method further includes:Log equipment is received to send out
The notification information sent, wherein, the notification information includes the unique mark with the equipment of the networking of log equipment;It is described
It determines with treating that the log equipment of log equipment networking includes:It is determined and the log equipment networking according to the notification information
Equipment in whether have the equipment identical with the unique mark for treating log equipment;It is set with the networking of log equipment
In the case of having the equipment identical with the unique mark for treating log equipment in standby, from the unique mark for treating log equipment
It is determined and the log equipment for treating log equipment networking in the sensible same corresponding log equipment of equipment.
The method that above-mentioned configuration equipment networks also has the characteristics that:
The method further includes:The certification for treating log equipment is also obtained when obtaining when the unique mark of log equipment
Voucher;To the log equipment send carry described in when log equipment unique mark distribution instruct when also to it is described entered
Net equipment sends the Service Ticket.
The present invention also provides a kind of method for configuring equipment and networking, applied to treating log equipment, including:It is set with having networked
Standby networking;Unique mark is sent to the log equipment;Being used for of receiving that the log equipment sends accesses home network
The access information of network;The home network is accessed according to the access information.
The method that above-mentioned configuration equipment networks also has the characteristics that:
In log equipment transmission described in receiving for before accessing the access information of home network, the method also to be wrapped
It includes:The certification request that log equipment is sent described in receiving;Service Ticket in the certification request is authenticated, and
The access information for being used to access home network that log equipment is sent described in being received after certification success.
The present invention also provides a kind of method for configuring equipment and networking, applied to log equipment, including:Receive intelligence eventually
The distribution instruction of the unique mark of log equipment is treated in the carrying that end is sent;Institute is determined according to the unique mark for treating log equipment
It states and treats log equipment;Treat that log equipment sends to access the access information of home network to described.
The method that above-mentioned configuration equipment networks also has the characteristics that:
It is gone back while the distribution instruction for receiving the unique mark that log equipment is treated described in the carrying that the intelligent terminal is sent
The Service Ticket of log equipment is treated described in the intelligent terminal transmission including receiving;According to the unique mark for treating log equipment
Know after treating log equipment described in determining, the method further includes:Treat that log equipment sends the carrying Service Ticket to described
Certification request;Described after log equipment certification success, treat that log equipment sends to access home network to described
Access information.
The method that above-mentioned configuration equipment networks also has the characteristics that:
It is described before the distribution instruction for receiving the unique mark that log equipment is treated described in the carrying that the intelligent terminal is sent
Method further includes:With at least one equipment network;Obtain the unique mark of at least one equipment;It is sent to intelligent terminal logical
Know information, wherein, the notification information includes the unique mark of at least one equipment;In the intelligent terminal according to institute
The unique mark for stating at least one equipment determines that the log equipment is and the log equipment for treating log equipment networking
In the case of, receive the distribution instruction for the unique mark that log equipment is treated described in the carrying that the intelligent terminal is sent.
The present invention also provides a kind of intelligent terminal, including:
First acquisition module, for obtaining the unique mark for treating log equipment;
First determining module, for determining and treating the log equipment of log equipment networking;
First sending module, for matching somebody with somebody to the unique mark that log equipment is treated described in the log equipment transmission carrying
Net instruction, wherein, the distribution instruction is used to indicate the log equipment and will be sent out for accessing the access information of home network
It send to described and treats log equipment.
Above-mentioned intelligent terminal also has the characteristics that:
It is described to treat to be provided with the information code for including the unique mark on log equipment;
First acquisition module, including the second acquisition module, for obtaining institute by way of scanning described information code
State the unique mark for treating log equipment.
Above-mentioned intelligent terminal also has the characteristics that:
The intelligent terminal further includes the first receiving module, for determining and treating log equipment in first determining module
Before the log equipment of networking, the notification information that log equipment is sent is received, wherein, the notification information includes and institute
State the unique mark of the equipment of log equipment networking;
First determining module includes the second determining module and the 3rd determining module;
Second determining module, for according to the notification information determine in the equipment of the networking of log equipment
Whether with the unique mark for the treatment of log equipment identical equipment is had;
3rd determining module, for treating log equipment with described with having in the equipment of the networking of log equipment
The identical equipment of unique mark in the case of, from the equipment identical with the unique mark for treating log equipment it is corresponding entered
It is determined and the log equipment for treating log equipment networking in net equipment.
Above-mentioned intelligent terminal also has the characteristics that:
First acquisition module, be additionally operable to also to obtain when obtaining when the unique mark of log equipment it is described wait to network set
Standby Service Ticket;
First sending module is additionally operable to send the unique mark for treating log equipment described in carrying to the log equipment
During the distribution instruction of knowledge also the Service Ticket is sent to the log equipment.
The present invention also provides one kind to treat log equipment, including:
Networking module, for log equipment networking;
Second sending module, for unique mark to be sent to the log equipment;
Second receiving module, for receiving the access information for being used to access home network that the log equipment is sent;
AM access module, for accessing the home network according to the access information.
It is above-mentioned to treat that log equipment also has the characteristics that:
It is described to treat that log equipment further includes the 3rd receiving module, authentication module, the 4th receiving module;
3rd receiving module, for being connect in log equipment transmission described in second receiving module reception
Before the access information for entering home network, the certification request of log equipment transmission described in reception;
The authentication module is authenticated for the Service Ticket in the certification request;
4th receiving module, for receiving that the log equipment sends after the authentication has been successful for accessing family
The access information of network.
The present invention also provides a kind of log equipment, including:
5th receiving module, the carrying for receiving intelligent terminal transmission treat that the distribution of the unique mark of log equipment refers to
Order;
Determining module, the unique mark for treating log equipment according to determine described to treat log equipment;
3rd sending module, for treating that log equipment sends to access the access information of home network to described.
Above-mentioned log equipment also has the characteristics that:
5th receiving module is additionally operable to receive described in the carrying that the intelligent terminal is sent and treats the unique of log equipment
The Service Ticket for treating log equipment that the intelligent terminal is sent also is received while the distribution instruction of mark;
The log equipment further includes the 4th sending module, the 5th sending module;
4th sending module, the unique mark for treating log equipment according in the determining module determine institute
It states after treating log equipment, to the certification request treated log equipment and send the carrying Service Ticket;
5th sending module, for after log equipment certification success, treating that log equipment is sent to described described
For accessing the access information of home network.
Above-mentioned log equipment also has the characteristics that:
Networking module sets for receiving to wait to network described in the carrying of the intelligent terminal transmission in the 5th receiving module
Before the distribution instruction of standby unique mark, at least one equipment network;
Second acquisition module, for obtaining the unique mark of at least one equipment;
6th sending module, for intelligent terminal send notification information, wherein, the notification information include described in extremely
The unique mark of few equipment;
6th receiving module, in the intelligent terminal according to determining the unique mark of at least one equipment
In the case that log equipment is with the log equipment for treating log equipment networking, taking for the intelligent terminal transmission is received
The distribution instruction of the unique mark of log equipment is treated described in band.
The present invention also provides a kind of equipment networking devices, which is characterized in that including above-mentioned intelligent terminal, above-mentioned waits to network
Equipment above-mentioned treats log equipment.
The present invention can complete device configuration in the case where user inputs without information and enter network process, greatly simplify use
Family operates, and improves user experience.Also, increase the link being authenticated using Service Ticket, further increase security
It ensures.
Description of the drawings
The attached drawing for forming the part of the present invention is used for providing a further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart that the method that equipment networks is configured in embodiment one;
Fig. 2 is the structure chart of smart machine in embodiment one;
Fig. 3 is the flow chart that the method that equipment networks is configured in specific example one;
Fig. 4 is the flow chart that the method that equipment networks is configured in specific example two.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without making creative work belong to the scope of protection of the invention.It needs
Illustrate, in the case where there is no conflict, the feature in embodiment and embodiment in the application can be mutually combined.
Embodiment one
Fig. 1 is the flow chart that embodiment one configures the method that equipment networks, and the method is applied to intelligent terminal, including:
Step 1, the unique mark for treating log equipment is obtained;
Step 2, the log equipment with treating log equipment networking is determined;
Step 3, the distribution instruction for carrying the unique mark for treating log equipment is sent to log equipment, wherein, distribution refers to
Order, which is used to indicate log equipment and will be sent to for accessing the access information of home network, treats log equipment.
The present invention is communicated using equipment room by short-range wireless communication link and the performance of ad hoc network, makes to treat log equipment
The access information of home network is obtained at log equipment, equipment can be completed in the case where user inputs without information
It configures into network process, greatly simplifies user's operation, improve user experience.
The unique mark for treating log equipment can be the mark that MAC or other is uniquely determined.
It treats to be provided with the information code comprising unique mark on log equipment;Information code can be bar code, black and white Quick Response Code,
Color 2 D code etc..It is obtained in step 1 and treats that the unique mark of log equipment includes:It carries to wait to network to the transmission of log equipment and set
The distribution instruction of standby unique mark, wherein, distribution instruction is used to indicate log equipment will be for accessing connecing for home network
Enter information and be sent to treat log equipment.
Before step 102 determines the log equipment with treating log equipment networking, further include:Log equipment is received to send
Notification information, wherein, notification information includes the unique mark with the equipment of log equipment networking.It is determined in step 102
Log equipment with treating log equipment networking includes:According to notification information determine with the equipment of log equipment networking in whether
There is the equipment identical with treating the unique mark of log equipment;With having in the equipment of log equipment networking and treating log equipment
In the case of the identical equipment of unique mark, from the corresponding log equipment of the equipment identical with the unique mark for treating log equipment
In determine with treating the log equipment of log equipment networking.
Short-range wireless communication link in step 102 refers to the short-distance wireless communication chain of the types such as bluetooth, Zigbee
Road.
The method further includes:The Service Ticket for treating log equipment is also obtained when obtaining when the unique mark of log equipment;
To log equipment send carry when log equipment unique mark distribution instruct when also to log equipment send certification with
Card.Increase this link being authenticated using Service Ticket in the method, further increase security guarantee.
Fig. 2 is the structure chart of the intelligent terminal in this embodiment, including:
First acquisition module, for obtaining the unique mark for treating log equipment;
First determining module, for determining and treating the log equipment of log equipment networking;
First sending module, for sending the distribution instruction for carrying the unique mark for treating log equipment to log equipment,
Wherein, distribution instruction, which is used to indicate log equipment and will be sent to for accessing the access information of home network, treats log equipment.
It treats to be provided with the information code comprising unique mark on log equipment;First acquisition module includes the second acquisition module,
For obtaining the unique mark for treating log equipment by way of scanning information code.
Intelligent terminal further includes the first receiving module, for having determined and having treated log equipment networking in the first determining module
Before log equipment, the notification information that log equipment is sent is received, wherein, notification information includes and log equipment networking
Equipment unique mark.
First determining module includes the second determining module and the 3rd determining module;
Second determining module, for according to notification information determine with whether have in the equipment of log equipment networking and treat into
The identical equipment of the unique mark of net equipment;
3rd determining module, for there is and treating the unique mark phase of log equipment in the equipment of log equipment networking
In the case of same equipment, determined from the corresponding log equipment of the equipment identical with the unique mark for treating log equipment with treating
The log equipment of log equipment networking.
First acquisition module is additionally operable to also obtain the certification for treating log equipment when obtaining when the unique mark of log equipment
Voucher.First sending module is additionally operable to send to carry to log equipment to go back when the distribution of the unique mark of log equipment instructs
Service Ticket is sent to log equipment.
Embodiment two
It is applied to the method for treating that the configuration equipment of log equipment networks in embodiment two, including:
Step 1, with log equipment networking;
Step 2, unique mark is sent to log equipment;
Step 3, the access information for being used to access home network that log equipment is sent is received;
Step 4, home network is accessed according to access information.
Reception log equipment transmission is used to access before the access information of home network, and method further includes:It receives
The certification request that log equipment is sent;Service Ticket in certification request is authenticated, and is received after the authentication has been successful
The access information for being used to access home network that log equipment is sent.
Treat that log equipment includes:
Networking module, for log equipment networking;
Second sending module, for unique mark to be sent to log equipment;
Second receiving module, for receiving the access information for being used to access home network that log equipment is sent;
AM access module, for accessing home network according to access information.
Treat that log equipment further includes the 3rd receiving module, authentication module, the 4th receiving module;
3rd receiving module, for accessing home network in the second receiving module reception log equipment transmission
Before access information, the certification request that log equipment is sent is received;
Authentication module is authenticated for the Service Ticket in certification request;
4th receiving module, for receiving that log equipment sends after the authentication has been successful for accessing connecing for home network
Enter information.
Embodiment three
It is applied to the method that the configuration equipment of log equipment networks in embodiment two, including:
Step 1, the distribution instruction that the unique mark of log equipment is treated in the carrying that intelligent terminal is sent is received;
Step 2, determine to treat log equipment according to the unique mark for treating log equipment;
Step 3, to treating that log equipment sends to access the access information of home network.
Wherein, the carrying that intelligent terminal is sent is received to treat to further include while the distribution of the unique mark of log equipment instructs
Receive the Service Ticket for treating log equipment that intelligent terminal is sent.Unique mark according to log equipment is treated determines to treat log equipment
Afterwards, method further includes:To the certification request for treating log equipment transmission carrying Service Ticket;Treating log equipment certification success
Afterwards, to treating that log equipment sends to access the access information of home network.
Before receiving the distribution instruction of unique mark that log equipment is treated in the carrying that intelligent terminal is sent, method further includes:
With at least one equipment network;Obtain the unique mark of at least one equipment;Notification information is sent to intelligent terminal, wherein, lead to
Know that information includes the unique mark of at least one equipment;It is determined according to the unique mark of at least one equipment in intelligent terminal
In the case that log equipment is the log equipment with treating log equipment networking, receive carrying for intelligent terminal transmission and treat that networking is set
The distribution instruction of standby unique mark.
Log equipment includes:
5th receiving module, the carrying for receiving intelligent terminal transmission treat that the distribution of the unique mark of log equipment refers to
Order;
Determining module, for determining to treat log equipment according to the unique mark for treating log equipment;
3rd sending module, for accessing the access information of home network to log equipment transmission is treated.
Wherein,
5th receiving module, the carrying for being additionally operable to receive intelligent terminal transmission treat that the distribution of the unique mark of log equipment refers to
The Service Ticket for treating log equipment of intelligent terminal transmission is also received while order;
Log equipment further includes the 4th sending module, the 5th sending module;
4th sending module, for determining module according to the unique mark for treating log equipment determine to treat log equipment it
Afterwards, to the certification request for treating log equipment transmission carrying Service Ticket;
5th sending module, for after log equipment certification success, to treating that log equipment sent for accessing family
The access information of network.
Log equipment further includes for this:
The unique mark of log equipment is treated in networking module, the carrying for receiving intelligent terminal transmission in the 5th receiving module
Distribution instruction before, at least one equipment network;
Second acquisition module, for obtaining the unique mark of at least one equipment;
6th sending module, for sending notification information to intelligent terminal, wherein, notification information includes at least one set
Standby unique mark;
6th receiving module, for determining that log equipment is according to the unique mark of at least one equipment in intelligent terminal
In the case of log equipment with treating log equipment networking, unique mark that log equipment is treated in the carrying that intelligent terminal is sent is received
The distribution instruction of knowledge.
Specific example one:
As shown in figure 3, the method that configuration equipment networks comprises the following steps:
Step 1 multiple treat to establish zigbee connections between log equipment and multiple log equipments and carries out networking.
Step 2, log equipment 1 send to prompt the notification information for finding new equipment to intelligent terminal, this notice letter
The MAC of the equipment of networking is carried in breath.
Step 3, intelligent terminal scanning treat the Quick Response Code on log equipment 1, obtain the MAC for treating log equipment 1.
Step 4, select to carry the MAC's of log equipment 1 in the notification information sent in multiple log equipments
Log equipment.
Step 5, the log equipment selected into step 4 sends distribution instruction, is carried in this distribution instruction and waits to network
The MAC of equipment 1.
Step 6, after log equipment 1 receives distribution instruction, the MAC of each equipment in being instructed according to distribution from networking is searched
The corresponding equipment of this MAC is to treat log equipment 1.
Step 7, log equipment 1 to the access information treated log equipment 1 and send to access home network, this access letter
Breath includes SSID and password.
Step 8, after the access information that log equipment 1 is received for accessing home network, accessed according to this access information
Home network.
Specific example two:
As shown in figure 4, the method that configuration equipment networks comprises the following steps:
Step 1 multiple treat to establish zigbee connections between log equipment and multiple log equipments and carries out networking.
Step 2, log equipment 1 send to prompt the notification information for finding new equipment to intelligent terminal, this notice letter
The MAC of the equipment of networking is carried in breath.
Quick Response Code on log equipment 1 is treated in step 3, intelligent terminal scanning, obtain the MAC for treating log equipment 1 and certification with
Card.
Step 4, select to carry the MAC's of log equipment 1 in the notification information sent in multiple log equipments
Log equipment.
Step 5, the log equipment selected into step 4 sends distribution instruction, is carried in this distribution instruction and waits to network
The MAC and Service Ticket of equipment 1.
Step 6, after log equipment 1 receives distribution instruction, the MAC in being instructed according to distribution searches that this MAC is corresponding to be set
Standby is to treat log equipment 1.
Step 7, the certification request of Service Ticket is carried to treating that log equipment 1 is sent.
Step 8, treat that log equipment 1 is authenticated according to Service Ticket, after certification success, recognize to the transmission of log equipment 1
Demonstrate,prove success notification information.
Step 9, after log equipment 1 receives certification success notification information, to treating that log equipment 1 sends to access family
The access information of network, this access information include SSID and password.
Step 10, after the access information that log equipment 1 is received for accessing home network, accessed according to this access information
Home network.
Descriptions above can combine implementation individually or in various ways, and these variants all exist
Within protection scope of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and program can be stored in computer readable storage medium, such as read-only memory, disk or CD.It can
Selection of land, all or part of step of above-described embodiment can also be realized using one or more integrated circuits, correspondingly, above-mentioned
The form that hardware may be employed in each module/unit in embodiment is realized, can also be realized in the form of software function module.
The present invention is not limited to the combinations of the hardware and software of any particular form.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that article or equipment including a series of elements not only include those elements, but also including not having
There is the other element being expressly recited or further include as this article or the intrinsic element of equipment.Do not limiting more
In the case of system, the element that is limited by sentence " including ... ", it is not excluded that also deposited in the article including element or equipment
In other identical element.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, reference only to preferred embodiment to this hair
It is bright to be described in detail.It will be understood by those of ordinary skill in the art that it can modify to technical scheme
Or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention, the claim model in the present invention should all be covered
Among enclosing.