CN105722089B - A kind of equipment authentication method - Google Patents
A kind of equipment authentication method Download PDFInfo
- Publication number
- CN105722089B CN105722089B CN201610172767.1A CN201610172767A CN105722089B CN 105722089 B CN105722089 B CN 105722089B CN 201610172767 A CN201610172767 A CN 201610172767A CN 105722089 B CN105722089 B CN 105722089B
- Authority
- CN
- China
- Prior art keywords
- bound
- information
- host
- wifi
- wifi host
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2814—Exchanging control software or macros for controlling appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of equipment authentication methods.The equipment authentication method, it include: bind request of the mobile terminal to Cloud Server transmission to the WiFi host to be bound in same local area network, bind Cloud Server by user account information and WiFi host to be bound, wherein, bind request includes the identification information of user account information and WiFi host to be bound;Mobile terminal receives the binding information that Cloud Server returns, and binding information includes the identification information of user account information and binding WiFi host corresponding with user account information;Mobile terminal constructs connection control instruction according to the identification information and binding information of Zigbee equipment, and connection control instruction is sent to WiFi host to be bound, WiFi host to be bound is controlled and binds to Zigbee equipment.Technical solution provided in an embodiment of the present invention improves the safety that Zigbee equipment is added under user account number.
Description
Technical field
The present embodiments relate to the communication technology more particularly to a kind of equipment authentication methods.
Background technique
In smart home industry, usually by Zigbee equipment monitoring household state, Zigbee equipment is bundled in wirelessly
On fidelity WiFi host, WiFi host is sent the status information of the Zigbee equipment with the WiFi host binding by router
To Cloud Server, mobile terminal inquires Zigbee equipment by unique network account that WiFi host is stored in Cloud Server
Status information.Wherein, mobile terminal can be mobile phone or tablet computer etc., Zigbee equipment can detecte family temperature,
Humidity and electricity consumption etc..
In the monitoring technology of above-mentioned existing smart home, user is by mobile terminal according to the network account of WiFi host
And password corresponding with the network account can obtain the status information of whole Zigbee equipment, and carry out to Zigbee equipment
Control, user do not need the control authority that actual Zigbee equipment is obtained with the equipment, it is hidden to cause certain safety
Suffer from.
Summary of the invention
The present invention provides a kind of equipment authentication methods, improve the safety that Zigbee equipment is added under user account number
Problem.
In a first aspect, the embodiment of the invention provides a kind of equipment authentication methods, comprising:
Mobile terminal sends the bind request to the WiFi host to be bound in same local area network to Cloud Server, so that
The Cloud Server binds user account information and the WiFi host to be bound, wherein the bind request includes:
The identification information of the user account information and the WiFi host to be bound;
The mobile terminal receives the binding information that the Cloud Server returns, wherein the binding information includes described
User account information and the identification information for having bound WiFi host corresponding with the user account information;
The mobile terminal connects control instruction according to the identification information of Zigbee equipment and binding information construction,
And by the connection control instruction be sent to it is described bound WiFi host, control is described to have bound WiFi host to described
Zigbee equipment is bound.
Further, mobile terminal sends the binding to the WiFi host to be bound in same local area network to Cloud Server
Request specifically includes:
The bind request for the WiFi host to be bound that the mobile terminal is inputted according to user;Wherein, described wait bind
It include the identification information of user account information and the WiFi host to be bound in the bind request of WiFi host;
If the mobile terminal receives the broadcast number that the WiFi host to be bound is sent by network access equipment
According to packet, then the bind request of the WiFi host to be bound is sent to Cloud Server.
Further, mobile terminal sends the binding to the WiFi host to be bound in same local area network to Cloud Server
Request specifically includes:
Broadcast data packet in the acquisition for mobile terminal ambient enviroment, and according to the master for including in the broadcast data packet
Machine mark, generates Host List;
Selection of the mobile terminal according to user to WiFi host to be bound in the Host List, generates wait bind
The bind request of WiFi host, wherein include user account information and institute in the bind request of the WiFi host to be bound
State the identification information of WiFi host to be bound;
WiFi host binding request is sent to the Cloud Server by mobile terminal.
Further, the mobile terminal is according to the identification information of Zigbee equipment and binding information construction connection
Control instruction, and by the connection control instruction be sent to it is described bound WiFi host, control is described to have bound WiFi host
Binding is carried out to the Zigbee equipment to specifically include:
The identification information of Zigbee equipment described in the acquisition for mobile terminal;
The mobile terminal is using the user account information for including in the binding information as transmitting side marking, described
The identification information for having bound WiFi host for including in binding information is identified as recipient, and by the Zigbee equipment
Identification information constructs connection control instruction as data content;
The mobile terminal sends the connection control instruction to the WiFi host of having bound, and control is described to have bound
WiFi host binds the Zigbee equipment.
Further, it has bound WiFi host described in the mobile terminal control Zigbee equipment is carried out binding it
Afterwards, further includes:
The mobile terminal sends the request of Zigbee equipment query to the Cloud Server, wherein the Zigbee equipment
It include: target user's account information in inquiry request;
The mobile terminal receives the Zigbee corresponding with target user's account information that the server returns and sets
Standby real time status information;
Wherein, the binding information being stored in the Cloud Server between user account information and WiFi host identification, with
And the real time status information of WiFi host identification and the Zigbee equipment of WiFi host identification binding.
Second aspect, the embodiment of the invention also provides a kind of equipment authentication methods, comprising:
The binding information that WiFi host obtains and stores Cloud Server transmission is bound, wherein the binding information includes
User account information and the identification information for having bound WiFi host corresponding with the user account information;
The WiFi host of having bound receives the connection control instruction that mobile terminal is sent, wherein the connection control refers to
It enables and being constructed by the mobile terminal according to the binding information stored in the identification information and the mobile terminal of Zigbee equipment
It generates;
It is described to have bound WiFi host if it is determined that the connection control instruction matches with the binding information being locally stored,
Then corresponding target Zigbee is searched according to the identification information for the Zigbee equipment for including in the connection control instruction to set
It is standby;
The WiFi host of having bound is attached with the target Zigbee equipment, and completion sets the target Zigbee
Standby binding.
Further, the WiFi host of having bound is attached with the target Zigbee equipment, is completed to the mesh
After the binding for marking Zigbee equipment, further includes:
The real time status information bound WiFi host and obtained the target Zigbee equipment;
The WiFi host of having bound is according to the real time status information and the mark of itself of the target Zigbee equipment
Information structuring monitoring device status information;
It is described to have bound WiFi host the monitoring device status information is sent to the Cloud Server.
The third aspect, the embodiment of the invention also provides a kind of equipment authentication methods, comprising:
Cloud Server receives the bind request for treating binding WiFi host that mobile terminal is sent, wherein the binding is asked
Ask includes: the user account information of the mobile terminal and the identification information of the WiFi host to be bound;
The Cloud Server binds the identification information of the user account information and the WiFi host, and remembers
Record binding information, wherein the binding information includes: the user account information and corresponding with the user account information
The identification information of WiFi host is bound;
The binding information is sent to the mobile terminal and described has bound WiFi host by the Cloud Server.
Further, the binding information is sent to the mobile terminal and described wait bind by the Cloud Server
After WiFi host, further includes:
The Cloud Server receives the monitoring device status information that the WiFi host to be bound is sent and is stored,
In, the monitoring device status information includes: the Zigbee equipment of WiFi host identification and WiFi host identification binding
Real time status information;
Correspondingly, further include:
The Cloud Server receives the Zigbee equipment query request that destination mobile terminal is sent, wherein the Zigbee
It include: target user's account information in equipment query request;
The Cloud Server is inquiring storage with target user's account information according to target user's account information
Corresponding binding information obtains target WiFi host identification corresponding with target user's account information;
The Cloud Server is inquiring storage with the target WiFi host identification according to the target WiFi host identification
Corresponding monitoring device status information, and by the real-time status with Zigbee equipment bound in the target WiFi host identification
Information is sent to the destination mobile terminal.
Further, before the bind request for treating binding WiFi host that Cloud Server receives that mobile terminal is sent,
Further include:
Cloud Server obtains the account registration request that the mobile terminal is sent, wherein the account registration request includes:
User information to be registered;
The cloud service generates the user account information according to the account registration request, and believes the user account
Breath is stored.
Technical solution provided in an embodiment of the present invention is sent to Cloud Server in same local area network by mobile terminal
WiFi host to be bound bind request, Cloud Server is according to bind request by user account information and WiFi master to be bound
The identification information of machine is bound, and records binding information, Cloud Server recording and sending binding information to mobile terminal and
WiFi host, mobile terminal receive the binding information that Cloud Server returns, and according to binding information and the mark of Zigbee equipment
Know information structuring and connect control instruction, connection control instruction is sent to and has bound WiFi host, bound WiFi host according to
Connection control instruction binds Zigbee equipment, and Zigbee equipment is added under user account number, Zigbee is improved and sets
The safety of standby addition.
Detailed description of the invention
Fig. 1 is a kind of flow chart for equipment authentication method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of equipment authentication method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for equipment authentication method that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart for equipment authentication method that the embodiment of the present invention four provides;
Fig. 5 is a kind of flow chart for equipment authentication method that the embodiment of the present invention five provides;
Fig. 6 is a kind of signaling process figure for equipment authentication method that the embodiment of the present invention six provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for equipment authentication method that the embodiment of the present invention one provides.Equipment provided in this embodiment
Authentication method can be executed by equipment authentication device, and the equipment authentication device is realized by the mode of software and/or hardware, the dress
It sets and is generally disposed in mobile terminal, the mobile terminal can be mobile phone or tablet computer etc..It is provided in this embodiment to set
Standby authentication method is suitable under WiFi host binding to user account through equipment authentication device, and passes through control WiFi host
By Zigbee apparatus bound to WiFi host.Referring to Fig. 1, equipment authentication method provided in this embodiment, comprising:
S110, mobile terminal ask the binding of the WiFi host to be bound in same local area network to Cloud Server transmission
It asks, so that Cloud Server binds user account information and WiFi host to be bound, wherein bind request includes: user
The identification information of account information and WiFi host to be bound.
Mobile terminal and WiFi host to be bound are all connected in the same network access equipment, then mobile terminal and
WiFi host to be bound is in same local area network, wherein network access equipment can be the equipment such as router or interchanger.
All WiFi hosts can be used as WiFi host to be bound in local area network.
WiFi host is connected to after network access equipment, and WiFi host can be by the network access equipment to place
Equipment in local area network sends broadcast data packet, if mobile terminal can receive the broadcast data packet, mobile terminal can be sentenced
It is disconnected to be in same local area network with WiFi host.WiFi host can bind Zigbee equipment, and by being set to WiFi host
In WiFi module, be wirelessly connected in the network where router, and then WiFi host is by the letter of the Zigbee equipment of binding
Breath is uploaded to Cloud Server.Therefore, WiFi host includes WiFi module and Zigbee module, and Zigbee module can have simultaneously
The standby function of receiving information and send control command.
After the user account information can be the account registration request that Cloud Server obtains mobile terminal transmission, according to
What account registration request generated, the user account information is stored in the Cloud Server.Account registration request can wrap
Include user information to be registered.User information to be registered may include the corresponding with the user account of user account and user setting
Login password.User account information is generally user account and login password.
The bind request includes the identification information of the user account information and the WiFi host to be bound, with clothes
Business device can bind user account information and the WiFi host to be bound according to bind request, wherein binding can be with
Be in the one-to-one relationship established in Cloud Server between user account information and the WiFi host identification to be bound, when with
Family is after mobile terminal login user account, it will be able to obtain the information with the WiFi host of user account binding.
S120, the mobile terminal receive the binding information that the Cloud Server returns, wherein the binding information includes
The user account information and the identification information for having bound WiFi host corresponding with the user account information.
After mobile terminal is sent to Cloud Server to the bind request of the WiFi host to be bound in same local area network,
Cloud Server receives bind request and is bound user account information and the WiFi host to be bound, at this point, wait tie up
Determining WiFi host is corresponding with the user account information to have bound WiFi host.Cloud Server sends to mobile terminal and wraps
Include the binding of the user account information and the identification information for having bound WiFi host corresponding with the user account information
Information, mobile terminal receive the binding information that Cloud Server returns.
S130, the mobile terminal are according to the identification information of Zigbee equipment and binding information construction connection control
Instruction, and by the connection control instruction be sent to it is described bound WiFi host, has bound WiFi host to institute described in control
Zigbee equipment is stated to be bound.
For the identification information of Zigbee equipment for identifying Zigbee equipment, the identification information of Zigbee equipment can be with text
Form and/or the form of two dimensional code be labeled in Zigbee equipment, mobile terminal can be by being manually entered text or sweeping
Retouch the identification information that two dimensional code obtains Zigbee equipment.
The Zigbee equipment can wirelessly continue outwardly to send connection request, if WiFi host receives
The connection request, WiFi host establish wireless connection with Zigbee equipment, i.e. Zigbee apparatus bound has arrived WiFi master
On machine, the Zigbee equipment for being tied to WiFi host can send the monitor state information of Zigbee equipment to WiFi host, also
It can receive the control command of WiFi host transmission.
Mobile terminal connects control instruction according to the identification information of Zigbee equipment and binding information construction, and will
The connection control instruction has bound WiFi host described in being sent to, and mobile terminal can only be sent out to WiFi host has been bound
Send connection control instruction.Bound WiFi host and received the connection control instruction, and to the information in connection control instruction into
Row parsing, obtains the identification information for the Zigbee equipment that WiFi host needs to bind, and WiFi host receives the Zigbee to be bound
The connection request of equipment completes the binding with the Zigbee equipment to be bound.
Technical solution provided in an embodiment of the present invention, mobile terminal to Cloud Server send in the same local area network to
The bind request of WiFi host is bound, so that the Cloud Server carries out user account information and the WiFi host to be bound
Binding, mobile terminal receives the binding information that Cloud Server returns, and is believed according to the identification information of Zigbee equipment and binding
Breath construction connection control instruction, will connection control instruction be sent to it is described bound WiFi host, WiFi host has been bound in control
Zigbee equipment is bound, the safety problem that Zigbee equipment is added under user account is solved, improves Zigbee
The safety of equipment addition.
Embodiment two
Fig. 2 is a kind of flow chart of equipment authentication method provided by Embodiment 2 of the present invention.The present embodiment is in embodiment
On the basis of one, step S110 and S130 are advanced optimized, referring to fig. 2, equipment authenticating party provided in an embodiment of the present invention
Method specifically includes:
Broadcast data packet in S210, the acquisition for mobile terminal ambient enviroment, and wrapped according in the broadcast data packet
The host identification included generates Host List.
WiFi host is connected to after network access equipment, by where the network access equipment to the network access equipment
Local area network send broadcast data packet, mobile terminal can obtain WiFi host to be bound according to the broadcast data packet received
Host identification, and according to the host identification generate Host List, select WiFi host to be bound for user.User is in host
It can choose one or more WiFi host to be bound in list.
The selection of S220, the mobile terminal according to user to WiFi host to be bound in the Host List, generate to
Bind WiFi host bind request, wherein in the bind request of the WiFi host to be bound include user account information with
And the identification information of the WiFi host to be bound.
The bind request of the WiFi host to be bound is sent to the Cloud Server by S230, mobile terminal.
Above-mentioned steps S210-S230 is that mobile terminal is sent to Cloud Server to the WiFi to be bound in same local area network
A kind of embodiment of the bind request of host, in the another embodiment of the present embodiment, mobile terminal is sent out to Cloud Server
Sending the bind request to the WiFi host to be bound in same local area network specifically can also include:
The bind request for the WiFi host to be bound that the mobile terminal is inputted according to user;Wherein, described wait bind
It include the identification information of user account information and the WiFi host to be bound in the bind request of WiFi host;
If the mobile terminal receives the broadcast number that the WiFi host to be bound is sent by network access equipment
According to packet, then the bind request of the WiFi host to be bound is sent to Cloud Server.
Wherein, the bind request of the WiFi host to be bound of user's input can be user be manually entered it is described wait bind
The identification information of WiFi host, and click and send bind request This move event.Wherein, user be manually entered wait bind
The identification information and user account information of WiFi host are as a part in bind request.
S240, the mobile terminal receive the binding information that the Cloud Server returns, wherein the binding information includes
The user account information and the identification information for having bound WiFi host corresponding with the user account information.
The identification information of Zigbee equipment described in S250, the acquisition for mobile terminal.
S260, the mobile terminal are marked the user account information for including in the binding information as sender
The identification information for having bound WiFi host for including in knowledge, the binding information is identified as recipient, and will be described
The identification information of Zigbee equipment constructs connection control instruction as data content.
S270, the mobile terminal send the connection control instruction to the WiFi host of having bound, and control is described
Binding WiFi host binds the Zigbee equipment.
S280, the mobile terminal send the request of Zigbee equipment query to the Cloud Server, wherein the Zigbee
It include target user's account information in equipment query request.
S290, the mobile terminal receive the corresponding with target user's account information of the server return
The real time status information of Zigbee equipment.
Wherein, the binding information being stored in the Cloud Server between user account information and WiFi host identification, with
And the real time status information of WiFi host identification and the Zigbee equipment of WiFi host identification binding.
Technical solution provided in an embodiment of the present invention, mobile terminal to Cloud Server send in the same local area network to
The bind request of WiFi host is bound, so that the Cloud Server carries out user account information and the WiFi host to be bound
Binding, mobile terminal receives the binding information that Cloud Server returns, and is believed according to the identification information of Zigbee equipment and binding
Breath construction connection control instruction, will connection control instruction be sent to it is described bound WiFi host, WiFi host has been bound in control
Zigbee equipment is bound, the safety problem that Zigbee equipment is added under user account is solved, improves Zigbee
The safety of equipment addition.
Embodiment three
Fig. 3 is a kind of flow chart for equipment authentication method that the embodiment of the present invention three provides.Equipment provided in this embodiment
Authentication method can be executed by equipment authentication device, and the equipment authentication device is realized by the mode of software and/or hardware, the device
It is generally disposed in WiFi host, the WiFi host is configured with WiFi module and Zigbee module, and WiFi module is used for nothing
Line connects network access equipment (such as router or interchanger etc.), and Zigbee module is used to carry out with Zigbee equipment wireless
Connection.Referring to Fig. 3, equipment authentication method provided in this embodiment, comprising:
S310, the binding information that WiFi host obtains and stores Cloud Server transmission has been bound, wherein the binding information
Including user account information and the identification information for having bound WiFi host corresponding with the user account information.
Cloud Server receives mobile terminal transmission to the bind request of the WiFi host to be bound in same local area network, ties up
Fixed request includes the identification information of user account information and WiFi host to be bound, Cloud Server to user account information with to
Binding WiFi host is bound, and the WiFi host to be bound that success is bound is as having bound WiFi host.Wherein, with shifting
All WiFi hosts that dynamic terminal is in same local area network are wait tie up if the binding information for not receiving Cloud Server transmission
Determine WiFi host.If the binding information of Cloud Server transmission is had received, to have bound WiFi host.WiFi host is bound
Only receive and process the information that the user account in the binding information for having bound the storage of WiFi host is sent.
S320, the WiFi host of having bound receive the connection control instruction that mobile terminal is sent, wherein the connection control
System instruction is by the mobile terminal according to the binding information stored in the identification information and the mobile terminal of Zigbee equipment
Construction generates.
S330, the WiFi host if it is determined that the connection control instruction matches with the binding information being locally stored,
Then corresponding target Zigbee is searched according to the identification information for the Zigbee equipment for including in the connection control instruction to set
It is standby.
It has bound WiFi host and has received and parsed through connection control instruction, if the binding letter in received connection control instruction
Breath with bound the binding information that WiFi host is locally stored and matched, then set according to connecting the Zigbee for including in control instruction
Standby identification information searches corresponding target Zigbee equipment.
S340, the WiFi host of having bound are attached with the target Zigbee equipment, are completed to the target
The binding of Zigbee equipment.
It has bound WiFi host and has received the link order that target Zigbee equipment is sent, bound WiFi host and target
Zigbee equipment is attached, and completes the binding to target Zigbee equipment.
Further, the WiFi host of having bound is attached with the target Zigbee equipment, is completed to the mesh
After the binding for marking Zigbee equipment, further includes:
The real time status information bound WiFi host and obtained the target Zigbee equipment;
The WiFi host of having bound is according to the real time status information and the mark of itself of the target Zigbee equipment
Information structuring monitoring device status information;
It is described to have bound WiFi host the monitoring device status information is sent to the Cloud Server.
Technical solution provided in an embodiment of the present invention has bound the binding that WiFi host obtains and stores Cloud Server transmission
Information receives the connection control instruction that mobile terminal is sent, if it is determined that connection control instruction and the binding information being locally stored
Match, then corresponding target Zigbee is searched according to the identification information for the Zigbee equipment for including in connection control instruction and set
It is standby, and be attached with target Zigbee equipment, the binding to target Zigbee equipment is completed, the addition of Zigbee equipment is improved
Safety under to user account.
Example IV
Fig. 4 is a kind of flow chart for equipment authentication method that the embodiment of the present invention four provides.It is provided in an embodiment of the present invention
Equipment authentication method can be executed by equipment authentication device, and the equipment authentication device is realized by the mode of software and/or hardware, should
Device is generally disposed in Cloud Server.Referring to fig. 4, equipment authentication method provided in an embodiment of the present invention, comprising:
S410, Cloud Server receive the bind request for treating binding WiFi host that mobile terminal is sent, wherein described to tie up
Fixed request includes: the user account information of the mobile terminal and the identification information of the WiFi host to be bound.
Wherein, mobile terminal and WiFi host to be bound are in same local area network.
S420, the Cloud Server tie up the identification information of the user account information and the WiFi host
It is fixed, and record binding information, wherein the binding information includes: the user account information and believes with the user account
Cease the corresponding identification information for having bound WiFi host.
Wherein, Cloud Server binds the identification information of user account information and WiFi host, is in cloud service
The one-to-one relationship between the identification information of user account information and WiFi host is established in device.
The binding information is sent to the mobile terminal and described has bound WiFi master by S430, the Cloud Server
Machine.
Technical solution provided in an embodiment of the present invention, Cloud Server receive treating for mobile terminal transmission and bind WiFi host
Bind request, the identification information of user account information and WiFi host is bound, and record binding information, so will
Binding information is sent to mobile terminal and WiFi host to be bound, and realizes the mark letter of user account information and WiFi host
The binding of breath improves the safety that Zigbee equipment is added under user account.
Embodiment five
Fig. 5 is a kind of flow chart for equipment authentication method that the embodiment of the present invention five provides.The embodiment of the present invention is to reality
Apply advanced optimizing for example four.Referring to Fig. 5, equipment authentication method provided in an embodiment of the present invention, comprising:
S510, Cloud Server obtain the account registration request that the mobile terminal is sent, wherein the account registration request
It include: user information to be registered.
S520, the Cloud Server generate the user account information according to the account registration request, and to the use
Family account information is stored.
S530, Cloud Server receive the bind request for treating binding WiFi host that mobile terminal is sent, wherein described to tie up
Fixed request includes: the user account information of the mobile terminal and the identification information of the WiFi host to be bound.
S540, the Cloud Server tie up the identification information of the user account information and the WiFi host
It is fixed, and record binding information, wherein the binding information includes: the user account information and believes with the user account
Cease the corresponding identification information for having bound WiFi host.
The binding information is sent to the mobile terminal and the WiFi master to be bound by S550, the Cloud Server
Machine.
S560, the Cloud Server receive the monitoring device status information that the WiFi host to be bound is sent and are deposited
Storage, wherein the monitoring device status information includes: the Zigbee of WiFi host identification and WiFi host identification binding
The real time status information of equipment.
Cloud Server receive mobile terminal send treat binding WiFi host bind request, by user account information with
And the identification information of WiFi host is bound, and records binding information, and then by binding information be sent to mobile terminal and
WiFi host to be bound realizes the binding of the identification information of user account information and WiFi host, improves Zigbee equipment
The safety being added under user account.
Embodiment six
Fig. 6 is a kind of signaling process figure for equipment authentication method that the embodiment of the present invention six provides.The present embodiment is above-mentioned
On the basis of embodiment, a kind of preferred equipment authentication method is provided.Referring to Fig. 6, equipment authenticating party provided in this embodiment
Method specifically includes:
S600, mobile terminal send the bind request to the WiFi host in same local area network to Cloud Server.
Wherein, bind request includes the identification information of user account information and WiFi host.
After S601, Cloud Server receive bind request, the identification information of user account information and WiFi host is carried out
Binding.
S602, Cloud Server record binding information.
S603, Cloud Server send binding information to mobile terminal and WiFi host.
S604, WiFi host obtain and store the binding information of Cloud Server transmission.
S605, mobile terminal construct connection control instruction according to the identification information and binding information of Zigbee equipment.
S606, mobile terminal send connection control instruction to WiFi host.
S607, WiFi host are if it is determined that connection control instruction matches with the binding information being locally stored, then according to even
The identification information for connecing the Zigbee equipment for including in control instruction searches corresponding target Zigbee equipment.
S608, WiFi host and target Zigbee equipment are attached, and complete the binding to target Zigbee equipment.
Technical solution provided in an embodiment of the present invention, mobile terminal to Cloud Server send in the same local area network to
Bind the bind request of WiFi host, Cloud Server is according to bind request by user account information and WiFi host to be bound
Identification information is bound, and records binding information, Cloud Server recording and sending binding information to mobile terminal and WiFi master
Machine, mobile terminal receive the binding information that Cloud Server returns, and according to binding information and the identification information of Zigbee equipment
Connection control instruction is sent to WiFi host by construction connection control instruction, and WiFi host is according to connection control instruction pair
Zigbee equipment is bound, and Zigbee equipment is added under user account number, improves the safety of Zigbee equipment addition.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of equipment authentication method characterized by comprising
Mobile terminal sends the bind request to the WiFi host to be bound in same local area network to Cloud Server, so that described
Cloud Server binds user account information and the WiFi host to be bound, wherein the bind request includes: described
The identification information of user account information and the WiFi host to be bound;Wherein, WiFi host is connected to network access equipment
Later, broadcast data packet is sent by the local area network where the network access equipment to the network access equipment, mobile terminal can
To obtain the host identification of WiFi host to be bound according to the broadcast data packet received, and generated according to the host identification
Host List selects WiFi host to be bound for user;
The mobile terminal receives the binding information that the Cloud Server returns, wherein the binding information includes the user
Account information and the identification information for having bound WiFi host corresponding with the user account information;
The mobile terminal connects control instruction according to the identification information of Zigbee equipment and binding information construction, and will
The connection control instruction has bound WiFi host described in being sent to, and has bound WiFi host described in control and has set to the Zigbee
It is standby to be bound.
2. the method according to claim 1, wherein mobile terminal is sent to Cloud Server in same local area network
In the bind request of WiFi host to be bound specifically include:
The bind request for the WiFi host to be bound that the mobile terminal is inputted according to user;Wherein, the WiFi master to be bound
It include the identification information of user account information and the WiFi host to be bound in the bind request of machine;
If the mobile terminal receives the broadcast data packet that the WiFi host to be bound is sent by network access equipment,
The bind request of the WiFi host to be bound then is sent to Cloud Server.
3. the method according to claim 1, wherein mobile terminal is sent to Cloud Server in same local area network
In the bind request of WiFi host to be bound specifically include:
Broadcast data packet in the acquisition for mobile terminal ambient enviroment, and according to the host mark for including in the broadcast data packet
Know, generates Host List;
Selection of the mobile terminal according to user to WiFi host to be bound in the Host List, generates WiFi master to be bound
The bind request of machine, wherein include user account information and described wait tie up in the bind request of the WiFi host to be bound
Determine the identification information of WiFi host;
The bind request of the WiFi host to be bound is sent to the Cloud Server by mobile terminal.
4. the method according to claim 1, wherein identification information of the mobile terminal according to Zigbee equipment
And binding information construction connection control instruction, and by the connection control instruction be sent to described in bound WiFi master
Machine, control is described to have bound WiFi host and carries out binding to the Zigbee equipment and specifically included:
The identification information of Zigbee equipment described in the acquisition for mobile terminal;
The mobile terminal is using the user account information for including in the binding information as transmitting side marking, the binding
The identification information for having bound WiFi host for including in information is identified as recipient, and by the mark of the Zigbee equipment
Information constructs connection control instruction as data content;
The mobile terminal sends the connection control instruction to the WiFi host of having bound, and control is described to have bound WiFi master
Machine binds the Zigbee equipment.
5. the method according to claim 1, wherein mobile terminal control is described to have bound WiFi host pair
After the Zigbee equipment is bound, further includes:
The mobile terminal sends the request of Zigbee equipment query to the Cloud Server, wherein the Zigbee equipment query
It include: target user's account information in request;
The mobile terminal receives the Zigbee equipment corresponding with target user's account information that the server returns
Real time status information;
Wherein, the binding information being stored in the Cloud Server between user account information and WiFi host identification, and
The real time status information of WiFi host identification and the Zigbee equipment of WiFi host identification binding.
6. a kind of equipment authentication method characterized by comprising
WiFi host is connected to after network access equipment, passes through the office where the network access equipment to the network access equipment
Domain net sends broadcast data packet, and mobile terminal can obtain the master of WiFi host to be bound according to the broadcast data packet received
Machine mark, and Host List is generated according to the host identification, WiFi host to be bound is selected for user;
The binding information that WiFi host obtains and stores Cloud Server transmission is bound, wherein the binding information includes user
Account information and the identification information for having bound WiFi host corresponding with the user account information;
It is described bound WiFi host receive mobile terminal send connection control instruction, wherein the connection control instruction by
The mobile terminal is generated according to the binding information construction stored in the identification information and the mobile terminal of Zigbee equipment;
It is described to have bound WiFi host if it is determined that the connection control instruction matches with the binding information being locally stored, then root
Corresponding target Zigbee equipment is searched according to the identification information for the Zigbee equipment for including in the connection control instruction;
The WiFi host of having bound is attached with the target Zigbee equipment, is completed to the target Zigbee equipment
Binding.
7. equipment authentication method according to claim 6, which is characterized in that described to have bound WiFi host and the target
Zigbee equipment is attached, after completing to the binding of the target Zigbee equipment, further includes:
The real time status information bound WiFi host and obtained the target Zigbee equipment;
The WiFi host of having bound is according to the real time status information and the identification information of itself of the target Zigbee equipment
Construct monitoring device status information;
It is described to have bound WiFi host the monitoring device status information is sent to the Cloud Server.
8. a kind of equipment authentication method characterized by comprising
WiFi host is connected to after network access equipment, passes through the office where the network access equipment to the network access equipment
Domain net sends broadcast data packet, and mobile terminal can obtain the master of WiFi host to be bound according to the broadcast data packet received
Machine mark, and Host List is generated according to the host identification, WiFi host to be bound is selected for user;
Cloud Server receives the bind request for treating binding WiFi host that mobile terminal is sent, wherein the bind request packet
It includes: the identification information of the user account information of the mobile terminal and the WiFi host to be bound;
The Cloud Server binds the identification information of the user account information and the WiFi host, and records and tie up
Determine information, wherein the binding information includes: the user account information and corresponding with the user account information tied up
Determine the identification information of WiFi host;
The binding information is sent to the mobile terminal and described has bound WiFi host by the Cloud Server.
9. according to the method described in claim 8, it is characterized in that, the Cloud Server binding information is sent to it is described
After mobile terminal and the WiFi host to be bound, further includes:
The Cloud Server receives the monitoring device status information that the WiFi host to be bound is sent and is stored, wherein
The monitoring device status information includes: the reality of the Zigbee equipment of WiFi host identification and WiFi host identification binding
When status information;
Correspondingly, further include:
The Cloud Server receives the Zigbee equipment query request that destination mobile terminal is sent, wherein the Zigbee equipment
It include: target user's account information in inquiry request;
The Cloud Server inquires the corresponding with target user's account information of storage according to target user's account information
Binding information, obtain corresponding with target user's account information target WiFi host identification;
The Cloud Server inquires the corresponding with the target WiFi host identification of storage according to the target WiFi host identification
Monitoring device status information, and by the real time status information with Zigbee equipment bound in the target WiFi host identification
It is sent to the destination mobile terminal.
10. method according to claim 8 or claim 9, which is characterized in that receive treating for mobile terminal transmission in Cloud Server
Before the bind request for binding WiFi host, further includes:
Cloud Server obtains the account registration request that the mobile terminal is sent, wherein the account registration request includes: wait infuse
Volume user information;
The Cloud Server generates the user account information according to the account registration request, and to the user account information
It is stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610172767.1A CN105722089B (en) | 2016-03-24 | 2016-03-24 | A kind of equipment authentication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610172767.1A CN105722089B (en) | 2016-03-24 | 2016-03-24 | A kind of equipment authentication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105722089A CN105722089A (en) | 2016-06-29 |
CN105722089B true CN105722089B (en) | 2019-05-03 |
Family
ID=56159093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610172767.1A Active CN105722089B (en) | 2016-03-24 | 2016-03-24 | A kind of equipment authentication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105722089B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331133A (en) * | 2016-08-30 | 2017-01-11 | 深圳前海弘稼科技有限公司 | Binding method and binging device for planting device, and device |
CN106411512A (en) * | 2016-11-22 | 2017-02-15 | 北京奇虎科技有限公司 | Method and device for carrying out data transmission based on identity authentication |
CN110098984B (en) * | 2018-01-29 | 2022-06-28 | 九阳股份有限公司 | Household appliance networking realization method |
CN108449397A (en) * | 2018-03-09 | 2018-08-24 | 杭州朗鸿科技股份有限公司 | A kind of intelligence retail security system |
CN108848057A (en) * | 2018-05-04 | 2018-11-20 | 浙江大华技术股份有限公司 | A kind of method and device of remote secure access |
CN108834226A (en) * | 2018-06-25 | 2018-11-16 | 深圳市智能体科技有限公司 | A kind of method and system of smart machine binding |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427501A (en) * | 2013-09-11 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Network access method, device and system |
CN105323127A (en) * | 2014-07-14 | 2016-02-10 | 彭博 | Method and device for controlling functional module to work, and functional module integrated device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013003661A (en) * | 2011-06-13 | 2013-01-07 | Sony Corp | Information processing device, server device, information processing method and program |
-
2016
- 2016-03-24 CN CN201610172767.1A patent/CN105722089B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427501A (en) * | 2013-09-11 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Network access method, device and system |
CN105323127A (en) * | 2014-07-14 | 2016-02-10 | 彭博 | Method and device for controlling functional module to work, and functional module integrated device |
Also Published As
Publication number | Publication date |
---|---|
CN105722089A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105722089B (en) | A kind of equipment authentication method | |
CN102047277B (en) | Carry out content by utilizing social figure information and use the method, device and the computer program that distribute | |
CN103885426B (en) | Control method, client, server, intermediate equipment and the controlled device of equipment | |
CN105594201A (en) | Device pairing | |
CN108234220A (en) | The distribution method, apparatus and system of smart machine | |
CN109257509A (en) | Communication means, system, server and storage medium based on virtual-number | |
JP5567558B2 (en) | Information disclosure on the website using the server | |
CN109525540A (en) | A kind of smart machine binding method and device | |
CN105577818A (en) | Data transmission methods and apparatuses, and vehicle-mounted terminal | |
CN103493457A (en) | Account linkage in machine-to-machine scenarios | |
CN108881354A (en) | A kind of pushed information storage method, device, server and computer storage medium | |
CN102891890A (en) | Interaction method and related equipment and system among terminals | |
CN101997906A (en) | Communication system, management apparatus, user apparatus and method of controlling the same | |
CN1859357B (en) | Communication method, system and device | |
CN110831116A (en) | Household appliance network distribution method, storage medium and terminal | |
CN102208945A (en) | Method for obtaining network address and FCoE target and communication system | |
CN106453349A (en) | An account number login method and apparatus | |
CN107592360B (en) | Internet of things data aggregation method and system based on hybrid cloud | |
CN109150981B (en) | Block chain network networking method, device, equipment and computer readable storage medium | |
CN104809017A (en) | Application program distribution control and execution methods and corresponding devices thereof | |
CN107113281A (en) | Content shared method, terminal, server and system | |
CN103856520B (en) | Communication processing method, server and terminal | |
CN102546225B (en) | Video resource sharing method and management platform | |
CN104184773B (en) | A kind of data download method and system | |
CN105281923A (en) | Video conference call implementing method and device based on user identifier |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230112 Address after: 210000 2-3-1005, Shimao Binjiang New Town, Gulou District, Nanjing, Jiangsu Province Patentee after: Liu Liang Address before: Room 1018, Floor 1, No. 7-49, Qijiazha Village, Xixing Street, Binjiang District, Hangzhou City, Zhejiang Province, 310000 Patentee before: THE VANE TECHNOLOGY Co.,Ltd. |