CN109981312A - Smart machine configuration method, apparatus and system - Google Patents

Smart machine configuration method, apparatus and system Download PDF

Info

Publication number
CN109981312A
CN109981312A CN201711445469.6A CN201711445469A CN109981312A CN 109981312 A CN109981312 A CN 109981312A CN 201711445469 A CN201711445469 A CN 201711445469A CN 109981312 A CN109981312 A CN 109981312A
Authority
CN
China
Prior art keywords
smart machine
network
client device
online voucher
voucher
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711445469.6A
Other languages
Chinese (zh)
Inventor
焦少鹏
常涛
李辅炳
李兴波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN201711445469.6A priority Critical patent/CN109981312A/en
Publication of CN109981312A publication Critical patent/CN109981312A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The application provides a kind of smart machine configuration method, apparatus and system.A kind of smart machine configuration method is applied to client device corresponding to smart machine;The described method includes: obtaining the network configuration more new command for being directed to smart machine;Establish the casual network with the first online voucher;First online voucher is that Cloud Server is the information for logging in the target account distribution of client device, and Cloud Server issues the first online voucher into smart machine in advance;When detecting smart machine request access casual network, smart machine is allowed to access casual network;Smart machine when detect disconnected with target network when, based on first online voucher persistently sounds out access casual network;The second current online voucher of target network, which is issued, to smart machine accesses target network so that smart machine is based on the second online voucher.As it can be seen that the convenience reconfigured when former networked deployment is unavailable to smart machine can be improved by this programme.

Description

Smart machine configuration method, apparatus and system
Technical field
This application involves field of electronic devices, in particular to smart machine configuration method, apparatus and system.
Background technique
With the development of Internet of Things, various smart machines can be configured and are added in internet, to realize information collection The functions such as summarize.Wherein, smart machine includes but is not limited to monitoring camera, intelligent anti-theft alarm etc..
Usual user's manual configuration smart machine is to be added in network (wifi network that such as router generates), in turn, Smart machine can be established with corresponding Cloud Server and be communicated to connect.Once and the former networked deployment of network is (as being used as wifi network The wifi title and password of the online voucher of network) when leading to unavailable due to fail or changing, smart machine can be with the network It disconnects.In the prior art, it in order to rejoin the network, is required to that smart machine manual configuration is such as clicked intelligence and set The reset button of standby upper configuration, configures according to relevant configuration process later.
If smart machine is in the position (such as eminence) for being not easy to configure, alternatively, the quantity of smart machine is more, it is existing Smart machine configuration method undoubtedly largely effects on the convenience of configuration.
Summary of the invention
In view of this, the application provide smart machine configuration method, apparatus and system, with improve former networked deployment can not The convenience that used time reconfigures smart machine.
Specifically, the application is achieved by the following technical solution:
In a first aspect, the embodiment of the present application provides a kind of smart machine configuration method, it is applied to corresponding to smart machine Client device;The described method includes:
Obtain the network configuration more new command for being directed to the smart machine;
The network configuration more new command is responded, the casual network with the first online voucher is established;Wherein, described first Online voucher is that Cloud Server is the information for logging in the target account distribution of the client device, and the Cloud Server is preparatory The first online voucher is issued into the smart machine;
When detecting that the smart machine request accesses the casual network, allow to face described in the smart machine access When network;Wherein, the smart machine when detect disconnected with target network when, based on it is described first online voucher continue It sounds out and accesses the casual network;
The second current online voucher of the target network is issued to the smart machine, so that the smart machine is based on The second online voucher, accesses the target network.
Optionally, the foundation has the step of casual network of the first online voucher, comprising:
The first request of data for carrying the account information of the target account is sent to the Cloud Server, so that described Account information of the Cloud Server based on the target account obtains the first online voucher in advance for target account distribution, And the first online voucher is fed back into the client device;
The first online voucher of the Cloud Server feedback is received, and interim net is established based on the first online voucher Network.
Optionally, the foundation has the step of casual network of the first online voucher, comprising:
Pre-stored first online voucher is obtained from local;
Casual network is established based on the first online voucher obtained.
Optionally, the method also includes:
The smart machine is assisted to verify the safety of the second online voucher, so that the smart machine is in safety After being verified, based on the second online voucher, the target network is accessed.
Optionally, the auxiliary smart machine verifies the safety step of the second online voucher, comprising:
Receive the checking request that the smart machine is sent, wherein include: random value and the intelligence in the checking request The device identification of energy equipment;
The second request of data for carrying the random value and the device identification is sent to the Cloud Server, so that institute It states Cloud Server and is based on the random value and pre-stored the first signature of device password generation corresponding with the device identification Information, and first signing messages is fed back into the client device;
The first signing messages of the Cloud Server feedback is received, and first signing messages is forwarded to the intelligence Equipment, so that first signing messages and the second signing messages are compared the smart machine, if unanimously, safety It is verified;Wherein, second signing messages is that the smart machine is set based on the random value with described in itself storage The signing messages that standby password generates.
Second aspect, the embodiment of the present application provide a kind of smart machine configuration method, are applied to smart machine;The side Method includes:
When detect disconnected with target network when, based in advance it is received first online voucher persistently sounds out access face When network;Wherein, it is the mesh for logging in client device corresponding to the smart machine that the first online voucher, which is Cloud Server, Mark the information of account distribution;Wherein, the casual network is that the client device obtains the network for being directed to the smart machine The network established after configuration more new command based on the first online voucher;
After accessing the casual network, receive the target network that the client device is sent it is current second on Net voucher;
Based on the second online voucher, the target network is accessed.
Optionally, before described the step of being based on the second online voucher, accessing the target network, the method is also Include:
The safety of the client device auxiliary verifying the second online voucher is requested, and is passed through in security verification Afterwards, the step of executing based on the second online voucher, accessing the target network.
Optionally, the step of safety of the request client device auxiliary verifying the second online voucher, Include:
Random value needed for generating security verification;
The verifying for sending the device identification for carrying the random value and the smart machine to the client device is asked It asks, so that the client device sends the second number for carrying the random value and the device identification to the Cloud Server According to request, and then the Cloud Server is based on the random value and pre-stored device password corresponding with the device identification The first signing messages is generated, and first signing messages is fed back into the client device;
First signing messages of the client device forwards is received, and first signing messages and second are signed Name information is compared, if unanimously, security verification passes through;Wherein, second signing messages is the smart machine base In the signing messages that the device password of the random value and itself storage generates.
The third aspect, the embodiment of the present application provide a kind of smart machine configuration method, are applied to Cloud Server;The side Method includes:
Establish the binding relationship for logging in the target account smart machine corresponding with the client device of client device;
The first online voucher corresponding to casual network is distributed for the target account, so that the client device exists When obtaining the network configuration more new command for being directed to smart machine, the casual network with the first online voucher is established, when detecting When the smart machine request accesses the casual network, the smart machine is allowed to access the casual network, Xiang Suoshu intelligence Energy equipment issues the second current online voucher of target network;
The first online voucher is issued in the smart machine, so that the smart machine ought detect and target When network disconnects, the access casual network is persistently soundd out based on the first online voucher, is accessing the interim net After network, based on received the second online voucher, the target network is accessed.
Optionally, the method also includes:
Receive the first request of data of the account information for carrying the target account that the client device is sent;Its In, first request of data obtains institute after the network configuration more new command for being directed to the smart machine for the client device It sends;
The account information of the target account is extracted from first request of data;
Based on the account information for the target account extracted, obtain is the first of target account distribution in advance Online voucher, and the first online voucher is fed back into the client device.
Optionally, the method also includes:
Receive the second number of the device identification for carrying random value and the smart machine that the client device is sent According to request;Wherein, second request of data is that the client device is asked in the verifying for receiving the smart machine transmission It is sent after asking, the checking request is the safety for being used to verify the second online voucher that the smart machine is sent Request;
The random value and the device identification are extracted from second request of data;
The first A.L.S. is generated based on the random value and pre-stored device password corresponding with the device identification Breath, and first signing messages is fed back into the client device, so that the client device is signed described first Information is forwarded to the smart machine, and first signing messages and the second signing messages are compared the smart machine, If consistent, security verification passes through;Wherein, second signing messages is that the smart machine is based on the random value and oneself The signing messages that the device password of body storage generates.
Fourth aspect, the embodiment of the present application provide a kind of smart machine configuration device, are applied to corresponding to smart machine Client device;Described device includes:
More new command obtaining unit, for obtaining the network configuration more new command for being directed to the smart machine;
Casual network establishes unit, and for responding the network configuration more new command, establishing has the first online voucher Casual network;Wherein, it is to log in the target account of the client device to distribute that the first online voucher, which is Cloud Server, Information, and the Cloud Server issues the first online voucher into the smart machine in advance;
Network insertion unit, for when detecting that smart machine request accesses the casual network, described in permission Smart machine accesses the casual network;Wherein, the smart machine when detect disconnected with target network when, be based on institute It states the first online voucher and persistently sounds out the access casual network;
Voucher issuance unit, for issuing the second current online voucher of the target network to the smart machine, with So that the smart machine is based on the second online voucher, accesses the target network.
5th aspect, the embodiment of the present application provide a kind of smart machine configuration device, are applied to smart machine;The dress It sets and includes:
Casual network sound out unit, for when detect disconnected with target network when, based in advance received first Online voucher persistently sounds out access casual network;Wherein, it is to log in the intelligence to set that the first online voucher, which is Cloud Server, The information that the target account of standby corresponding client device is distributed;Wherein, the casual network is client device acquisition For the network established after the network configuration more new command of the smart machine based on the first online voucher;
Second online voucher receiving unit, sends for after accessing the casual network, receiving the client device Current the second online voucher of the target network;
Target network access unit, for accessing the target network based on the second online voucher.
6th aspect, the embodiment of the present application provide a kind of smart machine configuration device, are applied to Cloud Server;The dress It sets and includes:
Binding relationship establishes unit, and the target account for establishing login client device is corresponding with the client device Smart machine binding relationship;
First online voucher allocation unit, for for the target account distribute casual network corresponding to first surf the Internet with Card, so that the client device, when obtaining the network configuration more new command for being directed to smart machine, establishing has on first The casual network of net voucher allows the smart machine when detecting that the smart machine request accesses the casual network The casual network is accessed, Xiang Suoshu smart machine issues the second current online voucher of target network;
First online voucher issuance unit, for the first online voucher to be issued in the smart machine, so that The smart machine when detect disconnected with target network when, based on it is described first online voucher persistently sounds out access described in Casual network, based on received the second online voucher, accesses the target network after accessing the casual network Network.
7th aspect, the embodiment of the present application provide a kind of client device, and the client device includes: internal total Line, memory, processor and communication interface;Wherein, the processor, the communication interface, the memory pass through described interior Portion's bus completes mutual communication;Wherein, the memory, it is feasible for storing the corresponding machine of smart machine configuration method Instruction;
The processor, for reading the machine readable instructions on the memory, to execute the application first party Smart machine configuration method provided by face.
Eighth aspect, the embodiment of the present application provide a kind of smart machine, and the smart machine includes: internal bus, deposits Reservoir, processor and communication interface;Wherein, the processor, the communication interface, the memory pass through the internal bus Complete mutual communication;Wherein, the memory, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor, for reading the machine readable instructions on the memory, to execute the application second party Smart machine configuration method provided by face.
9th aspect, the embodiment of the present application provide a kind of Cloud Server, and the Cloud Server includes: internal bus, deposits Reservoir, processor and communication interface;Wherein, the processor, the communication interface, the memory pass through the internal bus Complete mutual communication;Wherein, the memory, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor, for reading the machine readable instructions on the memory, to execute the application third party Smart machine configuration method provided by face.
Tenth aspect, the embodiment of the present application provide a kind of smart machine configuration system, comprising: smart machine, the intelligence It can the corresponding client device of equipment and Cloud Server;
The Cloud Server, for establishing the target account intelligence corresponding with the client device for logging in client device Can equipment binding relationship, for log in the target account of the client device distribute the first online corresponding to casual network with Card, and the first online voucher is issued into the smart machine;
The client device, for obtaining the network configuration more new command for being directed to the smart machine;Respond the net Network configures more new command, establishes the casual network with the first online voucher;When detecting smart machine request access institute When stating casual network, the smart machine is allowed to access the casual network;The target network is issued to the smart machine The second current online voucher;
The smart machine, for when detect disconnected with target network when, issued based on the Cloud Server First online voucher persistently sounds out the access casual network and receives the client device after accessing the casual network The second current online voucher of the target network sent;Based on the second online voucher, the target network is accessed.
Optionally, the client device carries the account of target account specifically for sending to the Cloud Server First request of data of information receives the first online voucher of the Cloud Server feedback, and based on the first online voucher Establish casual network;
The Cloud Server is also used to receive the first request of data that the client device is sent, and is based on described first The account information of the target account in request of data obtains the first online voucher in advance for target account distribution, And the first online voucher is fed back into the client device.
Optionally, the safety that the client device is also used to that the smart machine is assisted to verify the second online voucher Property;
The smart machine is also used to request the safety of the client device auxiliary verifying the second online voucher, And after security verification passes through, the step of executing based on the second online voucher, access the target network.
Optionally, the client device be specifically used for receiving it is that the smart machine is sent, carry random value and institute State the checking request of the device identification of smart machine;The random value and the equipment mark are carried to Cloud Server transmission The second request of data known;The first signing messages of the Cloud Server feedback is received, and first signing messages is forwarded To the smart machine;
The smart machine is specifically used for sending the checking request to the client device, receives the client and sets First signing messages of standby feedback, first signing messages and the second signing messages are compared, if unanimously, peace Full property is verified;Wherein, second signing messages is the smart machine based on the random value and the institute itself stored State the signing messages of device password generation;
The Cloud Server is also used to receive second request of data that the client device is sent, based on it is described with Machine value and pre-stored device password corresponding with the device identification generate the first signing messages, and described first is signed Information feeds back to the client device.
In scheme provided herein, smart machine when detect disconnected with target network when, based on first online Voucher persistently sounds out access casual network;Correspondingly, client device can be directed to the network configuration of smart machine more in acquisition After new command, the casual network with the first online voucher is established;When detect the smart machine request access the casual network When, allow the smart machine to access the casual network;The second current online voucher of the target network is issued to the smart machine, So that the smart machine is based on the second online voucher, the target network is accessed.As it can be seen that this programme passes through client device institute The casual network of foundation issues new online voucher to smart machine, reconfigures smart machine manually without user, therefore, The convenience reconfigured when former networked deployment is unavailable to smart machine can be improved.
Detailed description of the invention
Fig. 1 is the flow chart of the embodiment of the present application smart machine configuration method provided by the client device angle;
Fig. 2 is the flow chart of the embodiment of the present application smart machine configuration method provided by the smart machine angle;
Fig. 3 is the flow chart of the embodiment of the present application smart machine configuration method provided by the Cloud Server angle;
Fig. 4 is tripartite's interaction diagrams of smart machine configuration method provided by one specific application example of the application;
Fig. 5 is the structural representation of the embodiment of the present application smart machine configuration device provided by the client device angle Figure;
Fig. 6 is the structural schematic diagram of the embodiment of the present application smart machine configuration device provided by the smart machine angle;
Fig. 7 is the structural schematic diagram of the embodiment of the present application smart machine configuration device provided by the Cloud Server angle;
Fig. 8 is the structural schematic diagram of client device provided by the embodiment of the present application;
Fig. 9 is the structural schematic diagram that smart machine provided by the embodiment of the present application configures system.
Specific embodiment
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 all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In a first aspect, the client device angle corresponding to the smart machine, the embodiment of the present application provides a kind of intelligence and sets Standby configuration method.
It should be noted that the smart machine may include but be not limited to monitoring camera, intelligent anti-theft alarm etc. Deng.And client device corresponding to the smart machine is that operation has the electronics of client software corresponding to the smart machine to set It is standby, wherein the client software is the software for managing the smart machine.In a particular application, which includes But be not limited to smart phone, tablet computer, laptop etc.;And a client device can correspond to one or more Smart machine.
Also, Cloud Server corresponding to the smart machine and the client device pre-establishes and logs in the client and set The binding relationship of standby target account and the smart machine establishes the first online needed for casual network for target account distribution Voucher, and by this first online voucher be issued to in the smart machine bound in the target account.Specifically, target account Family is the account information for the client software that user logs in client device, such as: user name, alternatively, user name and login are close Code;In addition, the first online voucher may include network name and access pin, such as: SSID (the Service Set of wifi network Identifier, service set) and access pin.
It is understood that in a particular application, a client device can manage multiple smart machines simultaneously, this When, the binding that multiple smart machines are pre-established in the Cloud Server and log in the target account of the smart client end equipment is closed System.In addition, the specific implementation that the target network in the scene of place is added in the smart machine first passage client device can For any implementation in the prior art, and, the binding relationship of smart machine and target account is established in Cloud Server Specific implementation can also use any implementation in the prior art, due to not being the present application point, herein Without limitation.
As shown in Figure 1, the angle of the client device corresponding to the smart machine, a kind of intelligence provided by the embodiment of the present application Energy equipment configuration method, may include steps of:
S101 obtains the network configuration more new command for being directed to the smart machine;
In the embodiment of the present application, when needing to reconfigure smart machine, under the premise of client device can surf the Internet, Casual network can be established by client device to issue new online voucher to smart machine.It is understood that by Facilitate the equipment of operation in the handheld device or user that client device is user, therefore, even if former networked deployment can not Used time, client device disconnect with the connection of target network, still, the configuration information of the target network occur change and again After can using, user can reconfigure the client device easily very to rejoin the target network.
Specifically, the target network configuration information occur change and again can be used after, user can pass through certain party Formula issues the network configuration more new command for being directed to the smart machine to the client device, and then the client device can obtain For the network configuration more new command of the smart machine.
Wherein, the ad hoc fashion may include: click the provided interface of client software on button, be based on client it is soft The there is provided interface of part issues gesture, issues voice, etc. based on the provided interface of client software.
In addition, it is necessary to, it is emphasized that the original networked deployment for smart machine target network in the scene it is original Configuration information, and the target network is the wireless networks generating device networks generated such as wireless router.
S102 responds the network configuration more new command, establishes the casual network with the first online voucher;
After obtaining the network configuration more new command, which can respond the network configuration more new command, build The vertical casual network with the first online voucher.Wherein, it is to log in the client device which, which is Cloud Server, Target account distribution information, and the Cloud Server issue in advance this first online voucher into the smart machine.
It is understood that the first online voucher can be changeless value, can also regularly update, this is all to close Reason.Also, there are a variety of for the specific implementation of casual network of the foundation with the first online voucher.Optionally, in one kind In specific implementation, the foundation has the step of casual network of the first online voucher, may include:
The first online voucher is obtained from local, casual network is established based on the first online voucher obtained.
In this kind of implementation, Cloud Server for target account distribution first online voucher after, can by this first Online voucher is handed down to the client device, in this way, the client device can be directly from this when needing to establish casual network Ground obtains the first online voucher.
Optionally, described to establish the step with the casual network of the first online voucher in another specific implementation Suddenly, may include:
The first request of data for carrying the account information of the target account is sent to the Cloud Server, so that the cloud service Account information of the device based on the target account, obtain in advance for the target account distribution first online voucher, and by this first Online voucher feeds back to the client device;
The first online voucher of Cloud Server feedback is received, and casual network is established based on the first online voucher.
In this kind of specific implementation, Cloud Server is that the first online voucher of target account distribution can be retained in cloud In server, in this way, can request to obtain first online to Cloud Server when client device needs to establish casual network Voucher.
It should be noted that the client device establishes the i.e. newly-built hot spot of casual network, specifically establishing mode can be adopted Mode is established in the prior art, it is not limited here.Also, it, can due to safety concerns, after the completion of casual network is established Not broadcast the first online voucher, at this point, only voluntarily knowing that the equipment of the first online voucher is carried out activly request addition and is somebody's turn to do Casual network.
S103 allows the smart machine to access this interim when detecting that smart machine request accesses the casual network Network;
Wherein, the smart machine when detect disconnected with target network when, based on this first online voucher persistently try It visits and accesses the casual network.
It should be noted that the smart machine when detect disconnected with target network when, since Cloud Server is preparatory Issued the smart machine that the first online voucher gives target account binding, therefore, the smart machine can based on this One online voucher, which is persistently soundd out, accesses the casual network.Correspondingly, when detecting the smart machine request access casual network When, which can permit the smart machine and accesses the casual network, be set with establishing the client device with the intelligence Communication connection between standby.
S104 issues the second current online voucher of the target network to the smart machine, so that the smart machine is based on The second online voucher, accesses the target network.
Since the configuration information of target network is changed, in order to enable the smart machine rejoins the mesh Network is marked, after allowing the smart machine to access the casual network, which can issue the mesh to the smart machine It marks the second current online voucher of network and accesses the target network so that the smart machine is based on the second online voucher.Its In, the mode which obtains the second online voucher can be with are as follows: is believed based on itself network insertion about target network It ceases to obtain the second online voucher, alternatively, receiving the second online voucher of user's input, this is all reasonable;Also, this Two online vouchers can be network name and access pin, such as SSID (Service Set Identifier, the clothes of wifi network Business set identifier) and access pin.
It should be noted that the smart machine acquisition second surf the Internet voucher after, can be directly based upon this second online with Card accesses the target network, connect to re-establish with Cloud Server.
And attacker forges malice Cloud Server and the smart machine is caused to be added in hostile network in order to prevent, the intelligence Energy equipment can verify the safety of the second online voucher, to improve Information Security.Correspondingly, the embodiment of the present application from Method provided by client device angle, after issuing the second current online voucher of the target network to the smart machine, Can also include:
The smart machine is assisted to verify the safety of the second online voucher, so that the smart machine is logical in security verification Later, based on the second online voucher, the target network is accessed.
Optionally, in a kind of specific implementation, the smart machine is assisted to verify the safety of the second online voucher Step may include:
Receive the checking request of smart machine transmission, wherein include: random value and the smart machine in the checking request Device identification;
The second request of data for carrying the random value He the device identification is sent to the Cloud Server, so that the cloud service Device is based on the random value and pre-stored corresponding with device identification device password the first signing messages of generation, and by this One signing messages feeds back to the client device;
The first signing messages of Cloud Server feedback is received, and first signing messages is forwarded to the smart machine, So that first signing messages and the second signing messages are compared the smart machine, if unanimously, security verification passes through; Wherein, which is the A.L.S. that the smart machine is generated based on the device password of the random value and itself storage Breath.
Wherein, random value is the smart machine according to random algorithm in the prior art value generated;Device password is It is set when finger equipment factory, alternatively, being generated in Cloud Server registration.Generating the first signing messages and the second signature When information can just with the random value and device password, can also under the premise of using the random value and device password, Using other information, such as: timestamp information, etc..Also, what the first signing messages of generation and the second signing messages were utilized Algorithm can be non-reversible algorithm (being not necessarily to encryption key), as (cryptographic Hash is used as the fixed size of expression mass data to sha256 Unique value), MD5 (Message Digest Algorithm MD5, Message Digest Algorithm 5), etc..
It is emphasized that above-mentioned auxiliary smart machine verifies the specific implementation of the safety of the second online voucher Mode is merely exemplary, should not constitute the restriction to the embodiment of the present application.
In the present embodiment, client device can be established after obtaining the network configuration more new command for smart machine Casual network with the first online voucher;When detecting that smart machine request accesses the casual network, allow the intelligence Equipment accesses the casual network;The second current online voucher of the target network is issued to the smart machine, so that the intelligence Equipment is based on the second online voucher, accesses the target network.As it can be seen that this programme passes through the interim net that client device is established Network issues new online voucher to smart machine, reconfigures smart machine manually without user, it is thus possible to improve in original The convenience that smart machine is reconfigured when networked deployment is unavailable.
Second aspect, based on method provided by above-mentioned first aspect, from the angle of smart machine, the embodiment of the present application is mentioned A kind of smart machine configuration method is supplied.
As shown in Fig. 2, from the angle of smart machine, a kind of smart machine configuration method provided herein be can wrap Include following steps:
S201, when detect disconnected with target network when, based in advance it is received first online voucher persistently sound out Access casual network;
Wherein, it is the target account for logging in client device corresponding to the smart machine which, which is Cloud Server, The information of family distribution;Wherein, which is that client device acquisition refers to for the network configuration update of the smart machine The network established after order based on the first online voucher.Specifically, target account is the visitor in user's login client device The account information of family end software, such as: user name, alternatively, user name and login password;In addition, the first online voucher may include Network name and access pin, such as: the SSID (Service Set Identifier, service set) of wifi network and access Password.In the present embodiment, when the smart machine, which is detected, to be disconnected with target network, since client device faces in foundation When network after do not broadcast, in order to access the casual network to obtain new online voucher, which can be based on preparatory Received first online voucher persistently sounds out access casual network, that is, sounds out the interim net that access has the first online voucher Network.
It is emphasized that pre-establishing and stepping in the Cloud Server corresponding to the smart machine and the client device The target account of the client device and the binding relationship of the smart machine are recorded, establishes casual network institute for target account distribution Need first online voucher, and by this first online voucher be issued to in the smart machine bound in the target account.
S202, after accessing the casual network, receive client device transmission the target network it is current second on Net voucher;
After the client device allows to access the casual network, the smart machine and the client device establish communication link It connects, at this point, the second current online voucher of target network can be sent to the smart machine by the client device;Correspondingly, The smart machine after accessing the casual network, can receive client device transmission the target network it is current second on Net voucher.
S203 accesses the target network based on the second online voucher.
It is understood that the smart machine can be directly based upon this on second after receiving the second online voucher Net voucher accesses the target network, and then establishes and communicate to connect with Cloud Server again.
Optionally, it is based on to improve Information Security described in order to avoid the hostile network that attacker provides is added The second online voucher, before the step of accessing the target network, method provided by the present embodiment can also include:
The safety of client device auxiliary verifying the second online voucher is requested, and after security verification passes through, The step of executing based on the second online voucher, accessing the target network.
Optionally, in a kind of specific implementation, described request client device auxiliary verifying second online with The step of safety of card, may include:
Random value needed for generating security verification;
The checking request for carrying the device identification of the random value and the smart machine is sent to the client device, so that The client device sends the second request of data for carrying the random value He the device identification, and then the cloud to the Cloud Server Server is based on the random value and pre-stored device password corresponding with the device identification generates the first signing messages, and will First signing messages feeds back to the client device;
Receive first signing messages of the client device forwards, and by first signing messages and the second signing messages It is compared, if unanimously, security verification passes through;Wherein, which is that the smart machine is based on the random value The signing messages generated with the device password of itself storage.
Wherein, random value is the smart machine according to random algorithm in the prior art value generated;Device password is It is set when finger equipment factory, alternatively, being generated in Cloud Server registration.Generating the first signing messages and the second signature When information can just with the random value and device password, can also under the premise of using the random value and device password, Using other information, such as: timestamp information, etc..Also, what the first signing messages of generation and the second signing messages were utilized Algorithm can be non-reversible algorithm (being not necessarily to encryption key), as (cryptographic Hash is used as the fixed size of expression mass data to sha256 Unique value), MD5 (Message Digest Algorithm MD5, Message Digest Algorithm 5), etc..
It is emphasized that above-mentioned given client device about request assists verifying the second online voucher The specific implementation of safety is merely exemplary, should not constitute the restriction to the application.
In the present embodiment, smart machine when detect disconnected with target network when, in advance received first Net voucher persistently sounds out access casual network;After accessing casual network, the target network that client device is sent is received The second current online voucher;Based on the second online voucher, target network is accessed.As it can be seen that this programme passes through client device institute The casual network of foundation issues new online voucher to smart machine, reconfigures smart machine manually without user, therefore, The convenience reconfigured when former networked deployment is unavailable to smart machine can be improved.
The third aspect, based on method provided by above-mentioned first aspect, from the angle of Cloud Server, the embodiment of the present application clothes The angle of business device provides a kind of smart machine configuration method.
As shown in figure 3, from the angle of Cloud Server, a kind of smart machine configuration method provided by the embodiment of the present application, It may include steps of:
S301 establishes the binding pass for logging in the target account smart machine corresponding with the client device of client device System;
Wherein, in order to solve prior art problem, the relevant information which can report according to client device, That is the currently managed smart machine of target account, the target account for establishing login client device are corresponding with the client device Smart machine binding relationship, that is, determine which smart machine the client device corresponds to.
S302 distributes the first online voucher corresponding to casual network for the target account;
It wherein, is target account distribution the first online voucher by the Cloud Server, in this way, the client device is obtaining For smart machine network configuration more new command when, can establish the casual network with the first online voucher, when detecting When smart machine request accesses the casual network, the smart machine is allowed to access the casual network, under the smart machine Send out the second current online voucher of target network.
Specifically, target account is the account information for the client software that user logs in client device, such as: user Name, alternatively, user name and login password;In addition, the first online voucher may include network name and access pin, such as: wifi The SSID (Service Set Identifier, service set) and access pin of network.
It is understood that the Cloud Server can be that the target account is distributed corresponding to casual network based on random algorithm First online voucher, it is of course also possible to based on nonrandom algorithm be the target account distribute casual network corresponding to first Online voucher, the application are not defined specific algorithm.
The first online voucher is issued in the smart machine by S303.
Since the Cloud Server establishes the target account intelligence corresponding with the client device of login client device The binding relationship of equipment, after distributing the first online voucher corresponding to casual network for the target account, in order to guarantee intelligence Equipment has access to casual network when disconnecting with target network, which can be issued to the smart machine In so that the smart machine when detect disconnected with target network when, persistently sound out and connect based on the first online voucher Enter the casual network, after accessing the casual network, based on received the second online voucher, accesses the target network.
It is emphasized that being taken for the case where the first online voucher is not issued to the client device from the cloud Be engaged in device angle provided by smart machine configuration method, can also include:
Receive the first request of data of the account information for carrying the target account of client device transmission;Wherein, First request of data is client device acquisition for transmitted after the network configuration more new command of the smart machine;
The account information of the target account is extracted from first request of data;
Based on the account information for the target account extracted, the first online in advance for target account distribution is obtained Voucher, and the first online voucher is fed back into the client device.
In addition, the case where needing to verify the safety of the second online voucher for smart machine, from the Cloud Server angle Provided smart machine configuration method can also include:
The second data for receiving the device identification for carrying random value and the smart machine of client device transmission are asked It asks;Wherein, which is what the client device was sent after the checking request for receiving smart machine transmission, The checking request is the request for the safety for verifying the second online voucher that the smart machine is sent;
The random value and the device identification are extracted from second request of data;
The first signing messages is generated based on the random value and pre-stored device password corresponding with the device identification, and First signing messages is fed back into the client device, so that first signing messages is forwarded to the intelligence by the client device First signing messages and the second signing messages are compared for energy equipment, the smart machine, if unanimously, security verification is logical It crosses;Wherein, which is the label that the smart machine is generated based on the device password of the random value and itself storage Name information.
In the present embodiment, Cloud Server is target account distribution the first online voucher for logging in the client device in advance, And the first online voucher is issued in the smart machine for having binding relationship with the client device, in this way, working as the intelligence Equipment when detect disconnected with target network when, sound out access the client device establish have this first online voucher Casual network, after accessing the casual network, based on the client send second online voucher, access the target network. As it can be seen that the casual network that this programme is established by client device issues new online voucher to smart machine, without with Family reconfigures smart machine manually, it is thus possible to improve being matched again when former networked deployment is unavailable to smart machine The convenience set.
It is taken below by a specific application example in conjunction with smart machine, client device and cloud for the ease of scheme understanding Be engaged in device three, and smart machine configuration method provided by the embodiment of the present application is introduced.
Assuming that smart machine is monitoring camera, client device is tablet computer, and running in tablet computer has for managing The APP software of the monitoring camera is managed, the account that user is registered in the APP software is account A;Also, the monitoring camera Head and tablet computer institute generate wireless network P by wireless router in the scene, pass through the manual configuration mode monitoring camera Head is added to for the first time in wireless network P.In addition, the relevant information that Cloud Server is reported according to the tablet computer, establishes the account The binding relationship of family A and the monitoring camera are assigned with the network name and access pin of casual network for account A, and will The network name and access pin distributed are handed down to monitoring camera.
As shown in figure 4, smart machine configuration method provided herein includes:
Step 10, the monitoring camera when detect disconnected with the wireless network P when, based on preparatory received network Title and access pin persistently sound out access casual network;
User has modified the network cipher of wireless network P according to self-demand, since monitoring camera is configured with former networking Configuration, therefore, monitoring camera can be disconnected with wireless network P.
Step 11, which obtains the network configuration more new command for being directed to the monitoring camera;
Step 12, which configures more new command, and the account for carrying account A is sent to the Cloud Server First request of data of family information;
Wherein, user modifies the network connection information of tablet computer, rejoins wireless network P.Also, in order to allow this Monitoring camera rejoins wireless network P, and user clicks the specific keys on the interface of APP software, to issue network Configure more new command;Correspondingly, the tablet computer can obtain the network configuration more new command for the monitoring camera, in turn Respond the network configuration more new command.
Step 13, account information of the Cloud Server based on account A obtains in advance as the network name of account A distribution And access pin;
Step 14, which feeds back to the tablet computer for the network name and access pin;
Step 15, which receives the network name and access pin, and establishes with the network name and access The casual network of password;
Step 16, which allows the monitoring when detecting that the monitoring camera sounds out the access casual network Camera accesses the casual network;
Step 17, which is sent to the monitoring camera for the current network cipher of wireless network P;
Step 18, which generates random value after receiving the network cipher;
Step 19, which sends the equipment for carrying the random value He the monitoring camera to the tablet computer The checking request of mark;
Step 20, which sends the second data for carrying the random value He the device identification to the Cloud Server Request;
Step 21, which is based on the random value and pre-stored device password corresponding with the device identification is raw At the first signing messages;
Step 22, which feeds back to the tablet computer for first signing messages;
Step 23, which is transmitted to the monitoring camera for the first received signing messages;
Step 24, which first signing messages and the second signing messages are compared;
Step 25, when which determines consistent, then wireless network P is added based on the network cipher.
Wherein, which is that the device password of the monitoring camera based on the random value and itself storage is raw At signing messages.
As it can be seen that this programme issues new online voucher to monitoring camera by the casual network that tablet computer is established, Monitoring camera is reconfigured manually without user, it is thus possible to improve when former networked deployment is unavailable to smart machine The convenience reconfigured.
Fourth aspect, based on smart machine configuration method provided by above-mentioned first aspect, the embodiment of the present application is provided A kind of smart machine configuration device, applied to client device corresponding to smart machine;As shown in figure 5, described device includes:
More new command obtaining unit 510, for obtaining the network configuration more new command for being directed to the smart machine;
Casual network establishes unit 520, and for responding the network configuration more new command, establishing has the first online voucher Casual network;Wherein, it is the target account distribution for logging in the client device that the first online voucher, which is Cloud Server, Information, and the Cloud Server issue in advance it is described first online voucher into the smart machine;
Network insertion unit 530, for allowing institute when detecting that the smart machine request accesses the casual network It states smart machine and accesses the casual network;Wherein, the smart machine when detect disconnected with target network when, be based on The first online voucher persistently sounds out the access casual network;
Voucher issuance unit 540, for issuing the second current online voucher of the target network to the smart machine, So that the smart machine is based on the second online voucher, the target network is accessed.
In the present embodiment, client device can be established after obtaining the network configuration more new command for smart machine Casual network with the first online voucher;When detecting that smart machine request accesses the casual network, allow the intelligence Equipment accesses the casual network;The second current online voucher of the target network is issued to the smart machine, so that the intelligence Equipment is based on the second online voucher, accesses the target network.As it can be seen that this programme passes through the interim net that client device is established Network issues new online voucher to smart machine, reconfigures smart machine manually without user, it is thus possible to improve in original The convenience that smart machine is reconfigured when networked deployment is unavailable.
Optionally, the casual network establishes unit 520 and may include:
Request of data transmission sub-unit, for sending the account information for carrying the target account to the Cloud Server The first request of data so that account information of the Cloud Server based on the target account, obtain is the target in advance First online voucher of account distribution, and the first online voucher is fed back into the client device;
First casual network establishes subelement, for receiving the first online voucher of the Cloud Server feedback, and is based on The first online voucher establishes casual network.
Optionally, the casual network establishes unit 520 and may include:
Subelement is obtained, for obtaining pre-stored first online voucher from local;
Second casual network establishes subelement, for establishing casual network based on the first online voucher obtained.
Optionally, unit 520, network insertion unit are established in the more new command obtaining unit 510 that includes, casual network 530 and voucher issuance unit 540 under the premise of, which can also include:
Safety verification unit, for assisting the smart machine to verify the safety of the second online voucher, so that institute Smart machine is stated after security verification passes through, based on the second online voucher, accesses the target network.
Optionally, the safety verification unit may include:
Checking request receiving subelement, the checking request sent for receiving the smart machine, wherein the verifying is asked It include: the device identification of random value and the smart machine in asking;
Second request of data transmission sub-unit, for carrying the random value to Cloud Server transmission and described setting Second request of data of standby mark, so that the Cloud Server is based on the random value and the pre-stored and device identification Corresponding device password generates the first signing messages, and first signing messages is fed back to the client device;
First signing messages forwards subelement, for receiving the first signing messages of Cloud Server feedback, and by institute It states the first signing messages and is forwarded to the smart machine, so that the smart machine signs first signing messages and second Information is compared, if unanimously, security verification passes through;Wherein, second signing messages is that the smart machine is based on The signing messages that the random value and the device password of itself storage generate.
5th aspect, corresponding to smart machine configuration method provided by above-mentioned second aspect, the embodiment of the present application is also mentioned A kind of smart machine configuration device has been supplied, smart machine is applied to;As shown in fig. 6, described device includes:
Casual network sounds out unit 610, for when detect disconnected with target network when, based in advance received the One online voucher persistently sounds out access casual network;Wherein, it is to log in the intelligence that the first online voucher, which is Cloud Server, The information of the target account distribution of client device corresponding to equipment;Wherein, the casual network is that the client device obtains Obtain the network established after the network configuration more new command for the smart machine based on the first online voucher;
Second online voucher receiving unit 620, for after accessing the casual network, receiving the client device hair The second current online voucher of the target network sent;
Target network access unit 630, for accessing the target network based on the second online voucher.
In the present embodiment, smart machine when detect disconnected with target network when, in advance received first Net voucher persistently sounds out access casual network;After accessing casual network, the target network that client device is sent is received The second current online voucher;Based on the second online voucher, target network is accessed.As it can be seen that this programme passes through client device institute The casual network of foundation issues new online voucher to smart machine, reconfigures smart machine manually without user, therefore, The convenience reconfigured when former networked deployment is unavailable to smart machine can be improved.
It optionally, is including that casual network exploration unit 610, second online voucher receiving unit 620 and target network connect On the basis of entering unit 630, which can also include:
Security verification unit, for requesting the safety of the client device auxiliary verifying the second online voucher Property, and after security verification passes through, trigger target network access unit 630.
Optionally, the security verification unit may include:
Random value generates subelement, for random value needed for generating security verification;
Subelement occurs for checking request, for carrying the random value and the intelligence to client device transmission The checking request of the device identification of equipment, so that the client device carries the random value to Cloud Server transmission With the second request of data of the device identification, and then the Cloud Server be based on the random value and it is pre-stored with it is described The corresponding device password of device identification generates the first signing messages, and first signing messages is fed back to the client and is set It is standby;
Signing messages comparison subunit, for receiving first signing messages of the client device forwards, and will First signing messages and the second signing messages are compared, if unanimously, security verification passes through;Wherein, described second Signing messages is the signing messages that the smart machine is generated based on the device password of the random value and itself storage.
6th aspect, corresponding to smart machine configuration method provided by the above-mentioned third aspect, the embodiment of the present application is also mentioned A kind of smart machine configuration device has been supplied, Cloud Server is applied to;As shown in fig. 7, described device includes:
Binding relationship establishes unit 710, for establishing the target account for logging in client device and the client device The binding relationship of corresponding smart machine;
First online voucher allocation unit 720, for being distributed first corresponding to casual network for the target account Net voucher, so that the client device, when obtaining the network configuration more new command for being directed to smart machine, establishing has the The casual network of one online voucher allows the intelligence when detecting that the smart machine request accesses the casual network Equipment accesses the casual network, and Xiang Suoshu smart machine issues the second current online voucher of target network;
First online voucher issuance unit 730, for the first online voucher to be issued in the smart machine, with Make the smart machine when detect disconnected with target network when, based on it is described first online voucher persistently sounds out access institute Casual network is stated, after accessing the casual network, based on received the second online voucher, accesses the target network Network.
In the present embodiment, Cloud Server is target account distribution the first online voucher for logging in the client device in advance, And the first online voucher is issued in the smart machine for having binding relationship with the client device, in this way, working as the intelligence Equipment when detect disconnected with target network when, sound out access the client device establish have this first online voucher Casual network, after accessing the casual network, based on the client send second online voucher, access the target network. As it can be seen that the casual network that this programme is established by client device issues new online voucher to smart machine, without with Family reconfigures smart machine manually, it is thus possible to improve being matched again when former networked deployment is unavailable to smart machine The convenience set.
Optionally, include binding relationship establish unit 710, first surf the Internet voucher allocation unit 720 and first online with On the basis of demonstrate,proving issuance unit 730, which can also include:
First request of data receiving unit, the target account that carries for receiving that the client device sends First request of data of account information;Wherein, first request of data is that the client device is obtained for the intelligence Transmitted by after the network configuration of equipment more new command;
First information extraction unit, for extracting the account information of the target account from first request of data;
First online voucher feedback unit obtains pre- for the account information based on the target account extracted It is first the first online voucher of target account distribution, and the first online voucher is fed back into the client device.
Optionally, include binding relationship establish unit 710, first surf the Internet voucher allocation unit 720 and first online with On the basis of demonstrate,proving issuance unit 730, which can also include:
Second request of data receiving unit carries random value and the intelligence for receive that the client device sends Second request of data of the device identification of energy equipment;Wherein, second request of data is that the client device is receiving It is sent after the checking request that the smart machine is sent, the checking request is used to verify institute for what the smart machine was sent State the request of the safety of the second online voucher;
Second information extraction unit, for extracting the random value and the equipment mark from second request of data Know;
Signing messages generation unit, for based on the random value and pre-stored corresponding with the device identification setting Standby password generates the first signing messages, and first signing messages is fed back to the client device, so that the client First signing messages is forwarded to the smart machine by end equipment, and the smart machine is by first signing messages and Two signing messages are compared, if unanimously, security verification passes through;Wherein, second signing messages is that the intelligence is set The signing messages that the standby device password based on the random value and itself storage generates.
7th aspect, corresponding to smart machine configuration method provided by above-mentioned first aspect, the embodiment of the present application is also mentioned A kind of client device is supplied, as shown in figure 8, the client device includes: internal bus 810, memory (memory) 820, processor (processor) 830 and communication interface (Communications Interface) 840;Wherein, the processing Device 830, the communication interface 840, the memory 820 complete mutual communication by the internal bus 810;Wherein, The memory 820, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor 830, for reading the machine readable instructions on the memory 820, to execute the application Smart machine configuration method provided by first aspect.
Eighth aspect corresponds to intelligent configuration method provided by above-mentioned second aspect, the embodiment of the present application also provides A kind of smart machine, the smart machine include: internal bus, memory, processor and communication interface;Wherein, the processing Device, the communication interface, the memory complete mutual communication by the internal bus;Wherein, the memory is used In the corresponding feasible instruction of machine of storage smart machine configuration method;
The processor, for reading the machine readable instructions on the memory, to execute the application second party Smart machine configuration method provided by face.
Wherein, the structure of the smart machine is identical as the structure of above-mentioned client device, the knot about smart machine Structure schematic diagram may refer to Fig. 8.
9th aspect, corresponding to smart machine configuration method provided by the above-mentioned third aspect, the embodiment of the present application is also mentioned Supplied a kind of Cloud Server, the Cloud Server include: internal bus, memory (memory), processor (processor) and Communication interface;Wherein, the processor, the communication interface, the memory are completed each other by the internal bus Communication;Wherein, the memory, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor, for reading the machine readable instructions on the memory, to execute the application third party Smart machine configuration method provided by face.
Wherein, the structure of the Cloud Server is identical as the structure of above-mentioned client device, the knot about Cloud Server Structure schematic diagram may refer to Fig. 8.
Tenth aspect, corresponding to smart machine configuration side provided by above-mentioned first aspect, second aspect and the third aspect Method, the embodiment of the present application also provides a kind of smart machines to configure system.Such as Fig. 9, a kind of intelligence provided by the embodiment of the present application Energy equipment configuration system, may include: smart machine 910, the corresponding client device 920 of the smart machine and Cloud Server 930;
The Cloud Server 930, for establishing the target account for logging in client device 920 and the client device pair The binding relationship for the smart machine 910 answered distributes corresponding to casual network to log in the target account of the client device 920 First online voucher, and issue it is described first online voucher into the smart machine 910;
The client device 920, for obtaining the network configuration more new command for being directed to the smart machine 910;Response The network configuration more new command establishes the casual network with the first online voucher;When detecting that the smart machine 910 asks When seeking the access casual network, the smart machine 910 is allowed to access the casual network;To under the smart machine 910 The second online voucher that send out target network described current;
The smart machine 910, for when detect disconnected with target network when, be based on the Cloud Server 930 The the first online voucher issued persistently sounds out the access casual network and receives the client after accessing the casual network The second current online voucher of the target network that end equipment 920 is sent;Based on the second online voucher, the mesh is accessed Mark network.
In scheme provided herein, smart machine when detect disconnected with target network when, based on first online Voucher persistently sounds out access casual network;Correspondingly, client device can be directed to the network configuration of smart machine more in acquisition After new command, the casual network with the first online voucher is established;When detect the smart machine request access the casual network When, allow the smart machine to access the casual network;The second current online voucher of the target network is issued to the smart machine, So that the smart machine is based on the second online voucher, the target network is accessed.As it can be seen that this programme passes through client device institute The casual network of foundation issues new online voucher to smart machine, reconfigures smart machine manually without user, therefore, The convenience reconfigured when former networked deployment is unavailable to smart machine can be improved.
Optionally, the client device 920, specifically for carrying target account to the Cloud Server 930 transmission Account information the first request of data, receive the first online voucher that the Cloud Server 930 is fed back, and be based on described first Online voucher establishes casual network;
The Cloud Server 930 is also used to receive the first request of data that the client device 920 is sent, and is based on institute The account information of the target account in the first request of data is stated, the first online in advance for target account distribution is obtained Voucher, and the first online voucher is fed back into the client device 920.
Optionally, the client device 920 is also used to that the smart machine 910 is assisted to verify the second online voucher Safety;
The smart machine 910 is also used to request the auxiliary of client device 920 verifying the second online voucher Safety, and after security verification passes through, the step of executing based on the second online voucher, access the target network.
Optionally, the client device 920 be specifically used for receiving it is that the smart machine 910 is sent, carry it is random The checking request of the device identification of value and the smart machine 910;The random value is carried to the Cloud Server 930 transmission With the second request of data of the device identification;Receive the first signing messages that the Cloud Server 930 is fed back, and by described the One signing messages is forwarded to the smart machine 910;
The smart machine 910 is specifically used for sending the checking request to the client device 920, receives the visitor First signing messages that family end equipment 920 is fed back, first signing messages and the second signing messages is compared, such as Fruit is consistent, and security verification passes through;Wherein, second signing messages be the smart machine 910 be based on the random value and The signing messages that the device password of itself storage generates;
The Cloud Server 930 is also used to receive second request of data that the client device 920 is sent, and is based on The random value and pre-stored corresponding with device identification device password generate the first signing messages, and by described the One signing messages feeds back to the client device 920.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (21)

1. a kind of smart machine configuration method, which is characterized in that applied to client device corresponding to smart machine;The side Method includes:
Obtain the network configuration more new command for being directed to the smart machine;
The network configuration more new command is responded, the casual network with the first online voucher is established;Wherein, first online Voucher is that Cloud Server is the information for logging in the target account distribution of the client device, and the Cloud Server issues in advance The first online voucher is into the smart machine;
When detecting that the smart machine request accesses the casual network, the smart machine is allowed to access the interim net Network;Wherein, the smart machine when detect disconnected with target network when, based on it is described first online voucher persistently sound out Access the casual network;
The second current online voucher of the target network is issued to the smart machine, so that the smart machine is based on described Second online voucher, accesses the target network.
2. the method according to claim 1, wherein the foundation has the casual network of the first online voucher Step, comprising:
The first request of data for carrying the account information of the target account is sent to the Cloud Server, so that the cloud takes Business account information of the device based on the target account, acquisition are in advance the first online voucher of target account distribution, and by The first online voucher feeds back to the client device;
The first online voucher of the Cloud Server feedback is received, and casual network is established based on the first online voucher.
3. the method according to claim 1, wherein the foundation has the casual network of the first online voucher Step, comprising:
Pre-stored first online voucher is obtained from local;
Casual network is established based on the first online voucher obtained.
4. method according to claim 1-3, which is characterized in that the method also includes:
The smart machine is assisted to verify the safety of the second online voucher, so that the smart machine is in security verification By rear, based on the second online voucher, the target network is accessed.
5. according to the method described in claim 4, it is characterized in that, the auxiliary smart machine verifying second online The safety step of voucher, comprising:
Receive the checking request that the smart machine is sent, wherein include: that random value and the intelligence are set in the checking request Standby device identification;
The second request of data for carrying the random value and the device identification is sent to the Cloud Server, so that the cloud Server is based on the random value and pre-stored device password corresponding with the device identification generates the first signing messages, And first signing messages is fed back into the client device;
The first signing messages of the Cloud Server feedback is received, and first signing messages is forwarded to the intelligence and is set It is standby, so that first signing messages and the second signing messages are compared the smart machine, if unanimously, safety is tested Card passes through;Wherein, second signing messages is the equipment of the smart machine based on the random value and itself storage The signing messages that password generates.
6. a kind of smart machine configuration method, which is characterized in that be applied to smart machine;The described method includes:
When detect disconnected with target network when, is persistently soundd out based on received first online voucher in advance and accesses interim net Network;Wherein, it is the target account for logging in client device corresponding to the smart machine that the first online voucher, which is Cloud Server, The information of family distribution;Wherein, the casual network is that the client device obtains the network configuration for being directed to the smart machine The network established after more new command based on the first online voucher;
After accessing the casual network, receive the second current online of the target network that the client device is sent with Card;
Based on the second online voucher, the target network is accessed.
7. according to the method described in claim 6, it is characterized in that, it is described based on it is described second online voucher, access the mesh Before the step of marking network, the method also includes:
The safety of the client device auxiliary verifying the second online voucher is requested, and after security verification passes through, The step of executing based on the second online voucher, accessing the target network.
8. the method according to the description of claim 7 is characterized in that request client device auxiliary verifying described the The step of safety of two online vouchers, comprising:
Random value needed for generating security verification;
The checking request for carrying the device identification of the random value and the smart machine is sent to the client device, with The second data for making the client device carry the random value and the device identification to Cloud Server transmission are asked It asks, and then the Cloud Server is based on the random value and pre-stored device password corresponding with the device identification generates First signing messages, and first signing messages is fed back into the client device;
Receive first signing messages of the client device forwards, and by first signing messages and the second A.L.S. Breath is compared, if unanimously, security verification passes through;Wherein, second signing messages is based on institute for the smart machine State the signing messages of random value and the device password generation of itself storage.
9. a kind of smart machine configuration method, which is characterized in that be applied to Cloud Server;The described method includes:
Establish the binding relationship for logging in the target account smart machine corresponding with the client device of client device;
The first online voucher corresponding to casual network is distributed for the target account, so that the client device is obtaining For smart machine network configuration more new command when, establish the casual network with the first online voucher, it is described when detecting When smart machine request accesses the casual network, allows the smart machine to access the casual network, set to the intelligence It is standby to issue the second current online voucher of target network;
The first online voucher is issued in the smart machine, so that the smart machine ought detect and target network When disconnecting, the access casual network is persistently soundd out based on the first online voucher, after accessing the casual network, Based on received the second online voucher, the target network is accessed.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
Receive the first request of data of the account information for carrying the target account that the client device is sent;Wherein, First request of data is sent out after obtaining the network configuration more new command for the smart machine by the client device It send;
The account information of the target account is extracted from first request of data;
Based on the account information for the target account extracted, the first online in advance for target account distribution is obtained Voucher, and the first online voucher is fed back into the client device.
11. according to the method described in claim 9, it is characterized in that, the method also includes:
The second data for receiving the device identification for carrying random value and the smart machine that the client device is sent are asked It asks;Wherein, second request of data is the client device after receiving the checking request that the smart machine is sent It sends, the checking request is asking for the safety for verifying the second online voucher that the smart machine is sent It asks;
The random value and the device identification are extracted from second request of data;
The first signing messages is generated based on the random value and pre-stored device password corresponding with the device identification, and First signing messages is fed back into the client device, so that the client device turns first signing messages It is sent to the smart machine, first signing messages and the second signing messages are compared the smart machine, if one It causes, security verification passes through;Wherein, second signing messages is that the smart machine is based on the random value and itself storage The device password generate signing messages.
12. a kind of smart machine configuration device, which is characterized in that applied to client device corresponding to smart machine;It is described Device includes:
More new command obtaining unit, for obtaining the network configuration more new command for being directed to the smart machine;
Casual network establishes unit, and for responding the network configuration more new command, establishing has the interim of the first online voucher Network;Wherein, it is the information for logging in the target account distribution of the client device that the first online voucher, which is Cloud Server, And the Cloud Server issues the first online voucher into the smart machine in advance;
Network insertion unit, for allowing the intelligence when detecting that the smart machine request accesses the casual network Equipment accesses the casual network;Wherein, the smart machine when detect disconnected with target network when, based on described the One online voucher persistently sounds out the access casual network;
Voucher issuance unit, for issuing the second current online voucher of the target network to the smart machine, so that institute It states smart machine and is based on the second online voucher, access the target network.
13. a kind of smart machine configuration device, which is characterized in that be applied to smart machine;Described device includes:
Casual network sound out unit, for when detect disconnected with target network when, based in advance it is received first online Voucher persistently sounds out access casual network;Wherein, it is the login smart machine institute that the first online voucher, which is Cloud Server, The information of the target account distribution of corresponding client device;Wherein, the casual network is that the client device is directed to The network established after the network configuration of the smart machine more new command based on the first online voucher;
Second online voucher receiving unit, for after accessing the casual network, receiving the institute that the client device is sent State the second current online voucher of target network;
Target network access unit, for accessing the target network based on the second online voucher.
14. a kind of smart machine configuration device, which is characterized in that be applied to Cloud Server;Described device includes:
Binding relationship establishes unit, for establishing the target account intelligence corresponding with the client device for logging in client device The binding relationship of energy equipment;
First online voucher allocation unit, for distributing the first online voucher corresponding to casual network for the target account, So that the client device obtain be directed to smart machine network configuration more new command when, establish have first online with The casual network of card allows the smart machine to access when detecting that the smart machine request accesses the casual network The casual network, Xiang Suoshu smart machine issue the second current online voucher of target network;
First online voucher issuance unit, for the first online voucher to be issued in the smart machine, so that described Smart machine when detect disconnected with target network when, based on it is described first online voucher persistently sounds out access it is described temporarily Network, based on received the second online voucher, accesses the target network after accessing the casual network.
15. a kind of client device, which is characterized in that the client device include: internal bus, memory, processor and Communication interface;Wherein, the processor, the communication interface, the memory are completed each other by the internal bus Communication;Wherein, the memory, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor requires any one of 1-5 for reading the machine readable instructions on the memory with perform claim The smart machine configuration method.
16. a kind of smart machine, which is characterized in that the smart machine includes: internal bus, memory, processor and communication Interface;Wherein, the processor, the communication interface, the memory complete mutual communication by the internal bus; Wherein, the memory, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor requires any one of 6-8 for reading the machine readable instructions on the memory with perform claim The smart machine configuration method.
17. a kind of Cloud Server, which is characterized in that the Cloud Server includes: internal bus, memory, processor and communication Interface;Wherein, the processor, the communication interface, the memory complete mutual communication by the internal bus; Wherein, the memory, for storing the feasible instruction of the corresponding machine of smart machine configuration method;
The processor requires 9-11 any for reading the machine readable instructions on the memory with perform claim Smart machine configuration method described in.
18. a kind of smart machine configures system characterized by comprising smart machine, the corresponding client of the smart machine Equipment and Cloud Server;
The Cloud Server, the target account intelligence corresponding with the client device for establishing login client device are set Standby binding relationship distributes the first online voucher corresponding to casual network to log in the target account of the client device, And the first online voucher is issued into the smart machine;
The client device, for obtaining the network configuration more new command for being directed to the smart machine;The network is responded to match More new command is set, the casual network with the first online voucher is established;Face described in the smart machine request access when detecting When network when, allow the smart machine to access the casual network;It is current that the target network is issued to the smart machine Second online voucher;
The smart machine, for when detect disconnected with target network when, issued based on the Cloud Server first Online voucher persistently sounds out the access casual network, after accessing the casual network, receives the client device and sends Current the second online voucher of the target network;Based on the second online voucher, the target network is accessed.
19. system according to claim 18, which is characterized in that the client device is specifically used for taking to the cloud Business device sends the first request of data for carrying the account information of target account, receives the first online of the Cloud Server feedback Voucher, and casual network is established based on the first online voucher;
The Cloud Server is also used to receive the first request of data that the client device is sent, and is based on first data The account information of the target account in request obtains the first online voucher in advance for target account distribution, and will The first online voucher feeds back to the client device.
20. system described in 8 or 19 according to claim 1, which is characterized in that the client device is also used to assist the intelligence The safety of second online voucher described in energy device authentication;
The safety that the smart machine is also used to that the client device auxiliary verifying described second is requested to surf the Internet voucher, and After security verification passes through, the step of executing based on the second online voucher, access the target network.
21. system according to claim 20, which is characterized in that the client device is specifically used for receiving the intelligence Equipment send, carry random value and the checking request of the device identification of the smart machine;It is sent to the Cloud Server Carry the second request of data of the random value and the device identification;Receive the first A.L.S. of the Cloud Server feedback Breath, and first signing messages is forwarded to the smart machine;
The smart machine is specifically used for sending the checking request to the client device, and it is anti-to receive the client device First signing messages of feedback, first signing messages and the second signing messages are compared, if unanimously, safety It is verified;Wherein, second signing messages is that the smart machine is set based on the random value with described in itself storage The signing messages that standby password generates;
The Cloud Server is also used to receive second request of data that the client device is sent, and is based on the random value The first signing messages is generated with pre-stored corresponding with device identification device password, and by first signing messages Feed back to the client device.
CN201711445469.6A 2017-12-27 2017-12-27 Smart machine configuration method, apparatus and system Pending CN109981312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711445469.6A CN109981312A (en) 2017-12-27 2017-12-27 Smart machine configuration method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711445469.6A CN109981312A (en) 2017-12-27 2017-12-27 Smart machine configuration method, apparatus and system

Publications (1)

Publication Number Publication Date
CN109981312A true CN109981312A (en) 2019-07-05

Family

ID=67072511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711445469.6A Pending CN109981312A (en) 2017-12-27 2017-12-27 Smart machine configuration method, apparatus and system

Country Status (1)

Country Link
CN (1) CN109981312A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988829A (en) * 2020-08-19 2020-11-24 上海连尚网络科技有限公司 Access method and device of wireless local area network
CN112351424A (en) * 2020-07-28 2021-02-09 深圳Tcl新技术有限公司 Wireless networking management method, system, device and computer readable storage medium
CN113490214A (en) * 2021-07-15 2021-10-08 北京京东乾石科技有限公司 Method, apparatus, system, server and medium for network connection
CN113595958A (en) * 2020-04-30 2021-11-02 杭州萤石软件有限公司 Safety detection system and method for Internet of things equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
US9307451B1 (en) * 2014-12-02 2016-04-05 International Business Machines Corporation Dynamic enterprise boundary determination for external mobile devices
CN105516163A (en) * 2015-12-18 2016-04-20 网易(杭州)网络有限公司 Login method, terminal device and communication system
CN105578569A (en) * 2015-12-26 2016-05-11 小米科技有限责任公司 Network adjustment method and device
CN105722087A (en) * 2016-04-06 2016-06-29 微景天下(北京)科技有限公司 Wireless network access system and wireless network access method
US20160295410A1 (en) * 2013-12-20 2016-10-06 Mcafee, Inc. Security gateway for a regional/home network
CN106714081A (en) * 2016-11-22 2017-05-24 北京小米移动软件有限公司 Networking method and intelligent device
CN106888488A (en) * 2017-02-22 2017-06-23 深圳创维-Rgb电子有限公司 The networking method and its device of smart machine
CN106993278A (en) * 2017-04-07 2017-07-28 青檬微智科技(深圳)有限公司 A kind of method, relevant device and system for automatically controlling smart machine access
CN107171903A (en) * 2017-05-02 2017-09-15 青岛海尔空调器有限总公司 A kind of household electrical appliances distribution method and device
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160295410A1 (en) * 2013-12-20 2016-10-06 Mcafee, Inc. Security gateway for a regional/home network
US9307451B1 (en) * 2014-12-02 2016-04-05 International Business Machines Corporation Dynamic enterprise boundary determination for external mobile devices
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
CN105516163A (en) * 2015-12-18 2016-04-20 网易(杭州)网络有限公司 Login method, terminal device and communication system
CN105578569A (en) * 2015-12-26 2016-05-11 小米科技有限责任公司 Network adjustment method and device
CN105722087A (en) * 2016-04-06 2016-06-29 微景天下(北京)科技有限公司 Wireless network access system and wireless network access method
CN106714081A (en) * 2016-11-22 2017-05-24 北京小米移动软件有限公司 Networking method and intelligent device
CN106888488A (en) * 2017-02-22 2017-06-23 深圳创维-Rgb电子有限公司 The networking method and its device of smart machine
CN106993278A (en) * 2017-04-07 2017-07-28 青檬微智科技(深圳)有限公司 A kind of method, relevant device and system for automatically controlling smart machine access
CN107171903A (en) * 2017-05-02 2017-09-15 青岛海尔空调器有限总公司 A kind of household electrical appliances distribution method and device
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595958A (en) * 2020-04-30 2021-11-02 杭州萤石软件有限公司 Safety detection system and method for Internet of things equipment
CN112351424A (en) * 2020-07-28 2021-02-09 深圳Tcl新技术有限公司 Wireless networking management method, system, device and computer readable storage medium
CN111988829A (en) * 2020-08-19 2020-11-24 上海连尚网络科技有限公司 Access method and device of wireless local area network
CN111988829B (en) * 2020-08-19 2023-02-14 上海连尚网络科技有限公司 Access method and device of wireless local area network
CN113490214A (en) * 2021-07-15 2021-10-08 北京京东乾石科技有限公司 Method, apparatus, system, server and medium for network connection

Similar Documents

Publication Publication Date Title
CN107079058B (en) The business of block chain node executes method, apparatus and node device
CN105554098B (en) A kind of equipment configuration method, server and system
CN104601590B (en) A kind of login method, server and mobile terminal
CN109981312A (en) Smart machine configuration method, apparatus and system
CN105119722B (en) A kind of auth method, equipment and system
CN109936547A (en) Identity identifying method, system and calculating equipment
CN110351228A (en) Remote entry method, device and system
CN106851540A (en) The implementation method and device of a kind of Bluetooth pairing
CN105917342B (en) Method based on geographical location distribution license
CN106533687A (en) Identity authentication method and device
CN111447133B (en) Message transmission method and device, storage medium and electronic device
CN105069864A (en) Door lock control secure communication scheme based on NFC (near field communication) function of smart phone
CN105187431A (en) Log-in method, server, client and communication system for third party application
CN108880822A (en) A kind of identity identifying method, device, system and a kind of intelligent wireless device
CN112533202B (en) Identity authentication method and device
CN109218263A (en) A kind of control method and device
CN112203271B (en) Communication connection method, device and system
CN110024347A (en) Safety building network structure
CN111488596A (en) Data processing permission verification method and device, electronic equipment and storage medium
CN109525989A (en) Data processing, identity identifying method and system, terminal
CN104247485B (en) Network application function authorization in Generic Bootstrapping Architecture
CN111461720B (en) Identity verification method and device based on blockchain, storage medium and electronic equipment
CN103905399A (en) Account registration management method and apparatus
CN108737080A (en) Storage method, device, system and the equipment of password
CN112804354B (en) Method and device for data transmission across chains, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190705