CN109525540A - A kind of smart machine binding method and device - Google Patents
A kind of smart machine binding method and device Download PDFInfo
- Publication number
- CN109525540A CN109525540A CN201710854696.8A CN201710854696A CN109525540A CN 109525540 A CN109525540 A CN 109525540A CN 201710854696 A CN201710854696 A CN 201710854696A CN 109525540 A CN109525540 A CN 109525540A
- Authority
- CN
- China
- Prior art keywords
- equipment
- information
- client
- smart machine
- cloud platform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to field of communication technology, in particular to a kind of smart machine binding method and device.This method are as follows: broadcasted by monitoring the WIFI that client is initiated, obtain the apparatus bound information of client broadcast, the apparatus bound information includes equipment networking information, the equipment identification information for the smart machine that client is obtained from business platform, the address information for the equipment cloud platform being connected with business platform and the verification information for access device cloud platform;External network, and SN and equipment identification information based on smart machine, generating device unique identification are accessed based on equipment networking information;Address information based on equipment cloud platform, verification information and equipment unique identification access device cloud platform, and equipment unique identification is sent to client, notice client binds user account and equipment unique identification with triggering business platform completion to business platform initiating equipment bind request.Using the above method, apparatus bound efficiency is improved, promotes user experience.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of smart machine binding method and device.
Background technique
With the rapid development of object internetworking, realize that the long-range control of smart machine and status monitoring have become object networking
Essential characteristic.In the use process of smart machine, need to complete smart machine networking and complete user and smart machine it
Between binding, could more easily to smart machine carry out intelligent control, currently, the networking and binding procedure of smart machine are point
It comes completion, user is needed to execute corresponding operation respectively for networking and binding.
In the prior art, any networking and binding to complete smart machine in following three kinds of modes is generallyd use:
First way: firstly, identity information of the smart machine based on itself, generates corresponding two dimensional code, client is swept
Retouch the two dimensional code;Secondly, inputting the outer net Wireless Fidelity (Wireless- that the client is connected on the client
Fidelity, WIFI) service set (Service Set Identifier, SSID) and password (Password, PWD) hair
Play broadcast;Again, smart machine verifies the broadcast data packet received, to complete the networking operation of smart machine;Most
Afterwards, the client is again by initiating bind request to cloud server, to complete tying up between smart machine and client account
It is fixed.
The second way: firstly, when smart machine starts, the information of local Intranet wireless aps is obtained, and according to the letter
Breath generates corresponding two dimensional code;Secondly, the client scan two dimensional code, connects smart machine by Intranet wireless aps hot spot, and
The SSID of outer net WIFI and PWD are sent to smart machine;Again, the SSID and PWD that smart machine sends client are carried out
Parsing, and outer net WIFI is accessed to, complete the networking operation of smart machine;Finally, smart machine is by the unique code of equipment and client
End account is sent to cloud server, and server completes the binding between smart machine and client account beyond the clouds.
The third mode: client initiates outer net WIFI broadcast, the broadcast data packet that smart machine is initiated according to client
Accessing external network WIFI, acquisition request from client to smart machine initiating equipment information, smart machine return information to client,
The networking operation of smart machine is completed, then, client account and facility information are sent to cloud server by client, in cloud
Server is held to complete the binding between smart machine and client account.
However, equipment networking and binding are point during using the networking of aforesaid way progress smart machine and binding
What two steps carried out, in equipment networking, need through the manual list entries number of user (Serial Number, SN)/scanning two dimension
Code, to obtain device identification, to complete equipment networking, then, the operation for needing user to execute is more complex, influences equipment networking effect
Rate;And after equipment networks successfully, it needs to carry out when needing further progress apparatus bound, between client and smart machine more
Secondary interaction binds complex steps, influences apparatus bound efficiency.
In view of this, needing to design a kind of new smart machine binding method and device, existed in the prior art with making up
Defect and shortcoming.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of smart machine binding method and device are provided, to solve in the prior art
Existing smart machine networking and binding procedure are cumbersome, and smart machine networks and bind inefficient problem.
The specific technical solution provided in the embodiment of the present invention is as follows:
A kind of smart machine binding method, comprising:
The WIFI broadcast initiated by monitoring client, obtains the apparatus bound information of client broadcast, wherein described to set
Standby binding information includes at least equipment networking information, and the client is obtained based on the user account currently logged in from business platform
The smart machine equipment identification information, the address information for the equipment cloud platform being connected with the business platform and for connecing
Enter the verification information of the equipment cloud platform;
External network is accessed based on the equipment networking information, and the sequence number SN based on the smart machine and described is set
Standby identification information, generating device unique identification DID;
Based on the address information of the equipment cloud platform, set described in the verification information and equipment unique identification access
Standby cloud platform, and the equipment unique identification is sent to the client, notify the client to send out to the business platform
Apparatus bound request is played, the user account and the equipment unique identification are tied up with triggering the business platform completion
It is fixed.
Preferably, the WIFI broadcast initiated by monitoring client, obtains the apparatus bound information of client broadcast, specifically
Include:
It is set as listening mode, by monitoring the broadcast data packet and/or multicast that all external wireless fidelity WIFI are sent
Data packet, the WIFI broadcast data packet and/or multicast packet that crawl client is sent by application APP, wherein described
WIFI broadcast data packet and/or multicast packet include at least apparatus bound information.
Preferably, the equipment networking information includes at least the services set mark for the external WIFI that the client is currently accessed
Know SSID and login password PWD;
The device manufacturer that the equipment identification information includes at least the smart machine identifies MID and product identification PID,
In, the MID and PID of the smart machine are in the equipment cloud platform, in advance for smart machine configuration.
Preferably, accessing external network based on the equipment networking information, specifically include:
The equipment networking information is parsed, obtain the external WIFI that the client is currently accessed SSID and
PWD;
According to the SSID and PWD of the external WIFI that the client is currently accessed, access what the client was currently accessed
External WIFI.
Preferably, SN and the equipment identification information based on the smart machine, generating device unique identification DID, tool
Body includes:
The equipment networking information is parsed, the MID and PID of the smart machine are obtained;
The SN of the smart machine, the MID and PID of the smart machine are carried out splicing, obtain corresponding DID.
Preferably, it is based on the equipment cloud platform address information, the verification information and equipment unique identification access
The equipment cloud platform, specifically includes:
According to the address information of the equipment cloud platform, determine that the target device cloud that the smart machine needs to access is flat
Platform;
By the authentication request information for carrying the verification information and the DID be sent to the target device cloud platform into
Row authentication process;
When receiving the authentication successful information of the target device cloud platform feedback, it is flat to access the target device cloud
Platform.
Preferably, the equipment unique identification is sent to the client, notify that the client is flat to the business
Platform initiating equipment bind request is completed to carry out the user account and the equipment unique identification to trigger the business platform
Binding, specifically includes:
The DID is sent to the client, to notify the client executing or less to operate: the client is connecing
When receiving the DID, Xiang Suoshu business platform sends the apparatus bound solicited message for carrying the DID, flat to trigger business
Platform establishes the mapping relations between the user account and the DID, completes tying up between the user account and the DID
It is fixed.
A kind of smart machine binding device, comprising:
Monitoring unit, the WIFI broadcast for being initiated by monitoring client, obtains the apparatus bound letter of client broadcast
Breath, wherein the apparatus bound information includes at least equipment networking information, and the client is based on the user account currently logged in
The equipment identification information of the smart machine obtained from business platform, the ground for the equipment cloud platform being connected with the business platform
Location information and verification information for accessing the equipment cloud platform;
Access unit, for accessing external network, and the sequence based on the smart machine based on the equipment networking information
Row number SN and the equipment identification information, generating device unique identification DID;
Binding unit, for the address information based on the equipment cloud platform, the verification information and the equipment are unique
Mark accesses the equipment cloud platform, and the equipment unique identification is sent to the client, notify the client to
The business platform initiating equipment bind request is completed to the user account and the equipment only with triggering the business platform
One mark is bound.
Preferably, in the WIFI broadcast initiated by monitoring client, when obtaining the apparatus bound information of client broadcast,
The monitoring unit is specifically used for:
It is set as listening mode, by monitoring the broadcast data packet and/or multicast that all external wireless fidelity WIFI are sent
Data packet, the WIFI broadcast data packet and/or multicast packet that crawl client is sent by application APP, wherein described
WIFI broadcast data packet and/or multicast packet include at least apparatus bound information.
Preferably, the equipment networking information includes at least the services set mark for the external WIFI that the client is currently accessed
Know SSID and login password PWD;
The device manufacturer that the equipment identification information includes at least the smart machine identifies MID and product identification PID,
In, the MID and PID of the smart machine are in the equipment cloud platform, in advance for smart machine configuration.
Preferably, the access unit is specifically used for when based on equipment networking information access external network:
The equipment networking information is parsed, obtain the external WIFI that the client is currently accessed SSID and
PWD;
According to the SSID and PWD of the external WIFI that the client is currently accessed, access what the client was currently accessed
External WIFI.
Preferably, in SN and the equipment identification information based on the smart machine, generating device unique identification DID
When, the access unit is specifically used for:
The equipment networking information is parsed, the MID and PID of the smart machine are obtained;
The SN of the smart machine, the MID and PID of the smart machine are carried out splicing, obtain corresponding DID.
Preferably, the verification information and the equipment unique identification connect being based on the equipment cloud platform address information
When entering the equipment cloud platform, the binding unit is specifically used for:
According to the address information of the equipment cloud platform, determine that the target device cloud that the smart machine needs to access is flat
Platform;
By the authentication request information for carrying the verification information and the DID be sent to the target device cloud platform into
Row authentication process;
When receiving the authentication successful information of the target device cloud platform feedback, it is flat to access the target device cloud
Platform.
Preferably, notifying the client to the business the equipment unique identification is sent to the client
Platform initiating equipment bind request, with trigger the business platform complete to the user account and the equipment unique identification into
When row binding, the binding unit is specifically used for:
The DID is sent to the client, to notify the client executing or less to operate: the client is connecing
When receiving the DID, Xiang Suoshu business platform sends the apparatus bound solicited message for carrying the DID, flat to trigger business
Platform establishes the mapping relations between the user account and the DID, completes tying up between the user account and the DID
It is fixed.
A kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes according to the program of acquisition for calling the program instruction stored in the memory: passing through monitoring
The WIFI broadcast that client is initiated, obtains the apparatus bound information of client broadcast, wherein the apparatus bound information is at least wrapped
Include equipment networking information, the smart machine that the client is obtained from business platform based on the user account currently logged in
Equipment identification information, the address information for the equipment cloud platform being connected with the business platform and for accessing the equipment cloud platform
Verification information;External network, and sequence number SN and institute based on the smart machine are accessed based on the equipment networking information
State equipment identification information, generating device unique identification DID;Based on the address information of the equipment cloud platform, the verification information
The equipment cloud platform is accessed with the equipment unique identification, and the equipment unique identification is sent to the client, is led to
Know that the client to the business platform initiating equipment bind request, is completed to trigger the business platform to user's account
Number and the equipment unique identification bound.
A kind of computer storage medium, the computer-readable recording medium storage has computer executable instructions, described
Computer executable instructions are for making the computer execute any of the above-described method.
The present invention has the beneficial effect that:
In conclusion during carrying out smart machine binding, being initiated by monitoring client in the embodiment of the present invention
WIFI broadcast, obtain the apparatus bound information of client broadcast, wherein the apparatus bound information include at least equipment networking
Information, the device identification letter for the smart machine that the client is obtained based on the user account currently logged in from business platform
Breath, the address information for the equipment cloud platform being connected with the business platform and the verifying letter for accessing the equipment cloud platform
Breath;External network, and the sequence number SN based on the smart machine and the equipment mark are accessed based on the equipment networking information
Know information, generating device unique identification DID;Based on the address information of the equipment cloud platform, the verification information and described set
Standby unique identification accesses the equipment cloud platform, and the equipment unique identification is sent to the client, notifies the visitor
It is completed to the user account and described with triggering the business platform to the business platform initiating equipment bind request at family end
Equipment unique identification is bound.
Using the above method, one key packet capturing of smart machine, and parsing verifying is carried out, completed in smart machine binding procedure
Equipment networking, activation and binding after equipment networks, actively carry out access authentication, and notice client end AP P with equipment cloud platform
Apparatus bound operation is carried out, to reduce user's operation step, interaction times, and then improves apparatus bound efficiency, is promoted
User experience, and do not need to access different set in advance by equipment cloud platform IP programming into smart machine convenient for smart machine
In standby cloud platform.
Detailed description of the invention
Fig. 1 is the data interaction schematic diagram in apparatus bound system between each module in the embodiment of the present invention;
Fig. 2 is a kind of detail flowchart of smart machine binding method in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of smart machine binding device in the embodiment of the present invention.
Specific embodiment
Cumbersome in order to solve smart machine networking and binding procedure existing in the prior art, smart machine networks and binding
Inefficient problem provides a kind of new smart machine binding method and device, this method in the embodiment of the present invention are as follows: logical
It crosses and monitors the WIFI broadcast that client is initiated, obtain the apparatus bound information of client broadcast, wherein the apparatus bound information
Including at least equipment networking information, the intelligence that the client is obtained based on the user account currently logged in from business platform
The equipment identification information of equipment, the address information for the equipment cloud platform being connected with the business platform and for accessing the equipment
The verification information of cloud platform;External network, and the sequence number based on the smart machine are accessed based on the equipment networking information
SN and the equipment identification information, generating device unique identification DID;It is described to test based on the address information of the equipment cloud platform
It demonstrate,proves information and the equipment unique identification accesses the equipment cloud platform, and the equipment unique identification is sent to the client
End notifies the client to the business platform initiating equipment bind request, is completed with triggering the business platform to described
User account and the equipment unique identification are bound.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, is not whole embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In practical application, apparatus bound system may include smart machine, client, business platform and equipment cloud platform,
Wherein, smart machine is the smart machine with WIFI access function, e.g., the intelligence such as intelligent water purifier, intelligent refrigerator, intelligent sound
It can equipment.When initializing smart machine, smart machine is mainly completed by client application (Application, APP)
Network connection, that is, access the external WIFI that the client is currently accessed;Client end AP P be used for be completed equipment networking, equipment
The smart machine of activation and apparatus bound is controled and operated, and carries out data interaction by interface and business platform, i.e.,
Client end AP P passes through the business operation of business platform control intelligent equipment;Business platform is carried out by interface and equipment cloud platform
Communication is synchronous with data, for being networked by equipment cloud platform to equipment is completed, the intelligence of device activation and apparatus bound
Equipment carries out service management;Equipment cloud platform, is general Internet of Things cloud platform, and the business issued for forwarding service platform refers to
It enables, and the state parameter that forwarding smart machine reports.As shown in fig.1, completing smart machine in the embodiment of the present invention and binding it
Afterwards, in apparatus bound system each module data interaction schematic diagram.
In the embodiment of the present invention, in equipment cloud platform, it is directed to distinct device manufacturer and distinct device type in advance
Smart machine be respectively arranged with corresponding equipment identification information, such as device manufacturer identify (Manufacture ID, MID) and produce
Product identify (Product ID, PID), it is clear that in the embodiment of the present invention, MID can be used for characterizing the factory of a smart machine
Trade mark is known, and PID can be used for characterizing the affiliated product type (e.g., water purifier, refrigerator etc.) of a smart machine.
For example, it is assumed that in equipment cloud platform, it is pre-set for the intelligent water purifier of equipment manufacturer A production
MID are as follows: A1, PID are as follows: 0001;For the intelligent refrigerator of equipment manufacturer A production, pre-set MID is A1, PID are as follows:
0003, wherein A1 is for characterizing equipment manufacturer A, and 0001 for characterizing intelligent water purifier, and 0003 is used to characterize intelligent ice
Case.
In another example, it is assumed that in equipment cloud platform, for the intelligent water purifier for generating producer A production, pre-set MID
Are as follows: A1, PID are as follows: 0001;And for the intelligent water purifier of equipment manufacturer B production, pre-set MID are as follows: A2, PID are
0001, wherein A1 is for characterizing equipment manufacturer A, and for A2 for characterizing equipment manufacturer B, 0001 is net for characterizing intelligence
Hydrophone.
In another example, it is assumed that in equipment cloud platform, for the intelligent water purifier for generating producer A production, pre-set MID
Are as follows: A1, PID are as follows: 0001;And for the intelligent refrigerator of equipment manufacturer B production, pre-set MID are as follows: A2, PID are
0003, wherein A1 is for characterizing equipment manufacturer A, and for A2 for characterizing equipment manufacturer B, 0001 is net for characterizing intelligence
Hydrophone, 0003 for characterizing intelligent refrigerator.
It further, can be according to the different demands of different business platform and/or the different demands of different application scene, respectively
Equipment cloud platform is directed to the equipment identification information of each smart machine in advance, is synchronized to and is connected with the equipment cloud platform by interface
In each business platform connect.Certainly, equipment cloud platform can also be by the address information (e.g., equipment cloud platform IP) of itself and access
The synchronous each business being connected with the equipment cloud platform by interface of verification information (e.g., Devkey) needed for the equipment cloud platform
In platform.
So, in initialization smart machine, i.e., when using smart machine for the first time, the equipment for needing to complete smart machine connects
Net, device activation and apparatus bound will be described in detail the solution of the present invention by specific embodiment below, certainly,
The present invention is not limited to following embodiments.
As shown in fig.2, a kind of detailed process of smart machine binding method is as follows in the embodiment of the present invention:
Step 200: it is broadcasted by monitoring the WIFI that client is initiated, obtains the apparatus bound information of client broadcast,
In, above equipment binding information includes at least equipment networking information, and above-mentioned client is based on the user account working currently logged in
The equipment identification information for the above-mentioned smart machine that business platform obtains, the address letter for the equipment cloud platform being connected with above-mentioned business platform
Breath and the verification information for accessing above equipment cloud platform.
Specifically, when executing step 200, intelligent terminal is set as listening mode in the embodiment of the present invention, pass through monitoring
The broadcast data packet and/or multicast packet that all external wireless fidelity WIFI are sent, crawl client are sent by APP
WIFI broadcast data packet and/or multicast packet, wherein the WIFI broadcast data packet and/or multicast packet include at least
Apparatus bound information.
In the embodiment of the present invention, above equipment binding information is used for the equipment networking of smart machine, device activation and equipment
It binds, the equipment networking information in above equipment binding information includes at least the clothes for the external WIFI that the client is currently accessed
Be engaged in set identifier SSID and login password PWD;Equipment identification information in above equipment binding information includes at least the intelligence and sets
Standby device manufacturer identifies MID and product identification PID, wherein the MID and PID of the smart machine are flat in the equipment cloud
In platform, in advance for smart machine configuration.
In practical application, when initializing a smart machine, i.e., equipment networks a smart machine for the first time, and equipment swashs
When living and apparatus bound, user logs in visitor by using user account associated with the current progress smart machine of apparatus bound
Family end APP, in access service platform, and obtaining equipment cloud platform associated with the user account from business platform is the intelligence
Can the preconfigured MID and PID of equipment, equipment cloud platform IP, and Devkey needed for accessing the equipment cloud platform;One key
Start the smart machine, and be set as listening mode, monitors the broadcast data packet and/or multicast packet for grabbing all WIFI hot spots
It wraps, in the embodiment of the present invention, above-mentioned client in the APP broadcast data packet sent and/or multicast packet by being at least used for
It accesses the service set (Service Set Identifier, SSID) for the external WIFI that above-mentioned client is currently accessed and steps on
It records password (Password, PWD), the MID and PID of the smart machine that client is got from business platform, the equipment cloud
Platform IP, and Devkey needed for accessing the equipment cloud platform.
Step 210: external network, and the sequence number SN based on above-mentioned smart machine are accessed based on above equipment networking information
With above equipment identification information, generating device unique identification.
Specifically, when executing step 210, being parsed to the equipment networking information in the embodiment of the present invention, obtain
The SSID and PWD for the external WIFI that the client is currently accessed, and the external WIFI being currently accessed according to the client
SSID and PWD accesses the external WIFI that the client is currently accessed;The equipment identification information is parsed, institute is obtained
The MID and PID of smart machine are stated, and the SN of the smart machine, the MID and PID of the smart machine are subjected to splicing,
Obtain corresponding equipment unique identification (Device ID, DID).
In practical application, smart machine is by parsing each broadcast data packet and/or multicast packet that grab
And verifying, and when being resolved to the broadcast data packet and/or multicast packet that above-mentioned client is sent, it determines through verifying, intelligence
The SSID and PWD access for including in the broadcast data packet and/or multicast packet that energy equipment is sent according to above-mentioned client are above-mentioned
The external WIFI that client is currently accessed, completes the networking of equipment.Certainly, smart machine passes through parsing one broadcast data of verifying
Packet and/or multicast packet are not that above-mentioned client is sent, then abandon.The broadcast number that smart machine sends above-mentioned client
According to the MID for including in packet and/or multicast packet, the sequence number of PID and the smart machine itself (Serial Number,
SN splicing) is carried out according to preset rules, obtains the DID of the smart machine, which is used for the unique identification smart machine.
Step 220: the address information based on above equipment cloud platform, above-mentioned verification information and above equipment unique identification connect
Enter above equipment cloud platform, and above equipment unique identification is sent to above-mentioned client, notifies above-mentioned client to above-mentioned industry
Business platform initiating equipment bind request is completed with triggering above-mentioned business platform to above-mentioned user account and above equipment unique identification
It is bound.
Specifically, in the embodiment of the present invention, when executing step 220, smart machine is according to the ground of the equipment cloud platform
Location information determines the target device cloud platform that the smart machine needs to access, and will carry the verification information and described
The authentication request information of DID is sent to the target device cloud platform and carries out authentication process, is receiving the target device cloud
When the authentication successful information of platform feedback, the target device cloud platform is accessed, and the DID is sent to the client,
To notify the client executing or less to operate: the client when receiving the DID, take by the transmission of Xiang Suoshu business platform
Apparatus bound solicited message with the DID establishes reflecting between the user account and the DID to trigger business platform
Relationship is penetrated, the binding between the user account and the DID is completed.
In practical application, after smart machine completes equipment networking, need to carry out device activation, i.e. smart machine needs
In access device cloud platform, then, smart machine is just needed according to the broadcast data packet and/or multicast packet sent from client
The equipment cloud platform IP parsed in packet determines corresponding target device cloud platform, and the DID of above-mentioned generation and Devkey is sent out
It send to target device cloud platform and carries out authentication process, when receiving the authentication successful information of target device cloud platform feedback, on
Oneself state is reported, determines that device activation is completed.Further, the DID of above-mentioned generation is sent to client end AP P by smart machine,
To notify client end AP P to business platform initiating equipment bind request, i.e. client end AP P will carry the DID's of above-mentioned generation
Bind request information is sent to business platform, to trigger business platform that the DID of the above-mentioned generation received and client is current
The user account of login is associated, and completes apparatus bound.
Based on the above embodiment, as shown in fig.3, in the embodiment of the present invention, a kind of smart machine binding device is at least wrapped
Include monitoring unit 30, access unit 31 and binding unit 32, wherein
Monitoring unit 30, the WIFI broadcast for being initiated by monitoring client, obtains the apparatus bound of client broadcast
Information, wherein the apparatus bound information includes at least equipment networking information, and the client is based on the user's account currently logged in
Number from business platform obtain the smart machine equipment identification information, the equipment cloud platform being connected with the business platform
Address information and verification information for accessing the equipment cloud platform;
Access unit 31, for accessing external network based on the equipment networking information, and based on the smart machine
Sequence number SN and the equipment identification information, generating device unique identification DID;
Binding unit 32, for the address information based on the equipment cloud platform, the verification information and the equipment are only
One mark accesses the equipment cloud platform, and the equipment unique identification is sent to the client, notifies the client
To the business platform initiating equipment bind request, completed with triggering the business platform to the user account and the equipment
Unique identification is bound.
Preferably, in the WIFI broadcast initiated by monitoring client, when obtaining the apparatus bound information of client broadcast,
The monitoring unit 30 is specifically used for:
It is set as listening mode, by monitoring the broadcast data packet and/or multicast that all external wireless fidelity WIFI are sent
Data packet, the WIFI broadcast data packet and/or multicast packet that crawl client is sent by application APP, wherein described
WIFI broadcast data packet and/or multicast packet include at least apparatus bound information.
Preferably, the equipment networking information includes at least the services set mark for the external WIFI that the client is currently accessed
Know SSID and login password PWD;
The device manufacturer that the equipment identification information includes at least the smart machine identifies MID and product identification PID,
In, the MID and PID of the smart machine are in the equipment cloud platform, in advance for smart machine configuration.
Preferably, the access unit 31 is specifically used for when based on equipment networking information access external network:
The equipment networking information is parsed, obtain the external WIFI that the client is currently accessed SSID and
PWD;
According to the SSID and PWD of the external WIFI that the client is currently accessed, access what the client was currently accessed
External WIFI.
Preferably, in SN and the equipment identification information based on the smart machine, generating device unique identification DID
When, the access unit 31 is specifically used for:
The equipment networking information is parsed, the MID and PID of the smart machine are obtained;
The SN of the smart machine, the MID and PID of the smart machine are carried out splicing, obtain corresponding DID.
Preferably, the verification information and the equipment unique identification connect being based on the equipment cloud platform address information
When entering the equipment cloud platform, the binding unit 32 is specifically used for:
According to the address information of the equipment cloud platform, determine that the target device cloud that the smart machine needs to access is flat
Platform;
By the authentication request information for carrying the verification information and the DID be sent to the target device cloud platform into
Row authentication process;
When receiving the authentication successful information of the target device cloud platform feedback, it is flat to access the target device cloud
Platform.
Preferably, notifying the client to the business the equipment unique identification is sent to the client
Platform initiating equipment bind request, with trigger the business platform complete to the user account and the equipment unique identification into
When row binding, the binding unit 32 is specifically used for:
The DID is sent to the client, to notify the client executing or less to operate: the client is connecing
When receiving the DID, Xiang Suoshu business platform sends the apparatus bound solicited message for carrying the DID, flat to trigger business
Platform establishes the mapping relations between the user account and the DID, completes tying up between the user account and the DID
It is fixed.
In conclusion during carrying out smart machine binding, being initiated by monitoring client in the embodiment of the present invention
WIFI broadcast, obtain the apparatus bound information of client broadcast, wherein the apparatus bound information include at least equipment networking
Information, the device identification letter for the smart machine that the client is obtained based on the user account currently logged in from business platform
Breath, the address information for the equipment cloud platform being connected with the business platform and the verifying letter for accessing the equipment cloud platform
Breath;External network, and the sequence number SN based on the smart machine and the equipment mark are accessed based on the equipment networking information
Know information, generating device unique identification DID;Based on the address information of the equipment cloud platform, the verification information and described set
Standby unique identification accesses the equipment cloud platform, and the equipment unique identification is sent to the client, notifies the visitor
It is completed to the user account and described with triggering the business platform to the business platform initiating equipment bind request at family end
Equipment unique identification is bound.
Using the above method, one key packet capturing of smart machine, and parsing verifying is carried out, completed in smart machine binding procedure
Equipment networking, activation and binding after equipment networks, actively carry out access authentication, and notice client end AP P with equipment cloud platform
Apparatus bound operation is carried out, to reduce user's operation step, interaction times, and then improves apparatus bound efficiency, is promoted
User experience, and do not need to access different set in advance by equipment cloud platform IP programming into smart machine convenient for smart machine
In standby cloud platform.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of smart machine binding method characterized by comprising
The Wireless Fidelity WIFI broadcast initiated by monitoring client, obtains the apparatus bound information of client broadcast, wherein institute
Apparatus bound information is stated including at least equipment networking information, the client is based on the user account currently logged in from business platform
The equipment identification information of the smart machine obtained, the address information and use of the equipment cloud platform being connected with the business platform
In the verification information for accessing the equipment cloud platform;
External network, and the sequence number SN based on the smart machine and the equipment mark are accessed based on the equipment networking information
Know information, generating device unique identification DID;
Based on the address information of the equipment cloud platform, the verification information and the equipment unique identification access the equipment cloud
Platform, and the equipment unique identification is sent to the client, notify the client to set to business platform initiation
Standby bind request binds the user account and the equipment unique identification with triggering the business platform completion.
2. the method as described in claim 1, which is characterized in that broadcasted by monitoring the WIFI that client is initiated, obtain client
The apparatus bound information for holding broadcast, specifically includes:
It is set as listening mode, by monitoring the broadcast data packet and/or multicast packet that all external WIFI are sent, crawl visitor
The WIFI broadcast data packet and/or multicast packet that family end is sent by application APP, wherein the WIFI broadcast data
Packet and/or multicast packet include at least apparatus bound information.
3. method according to claim 2, which is characterized in that it is current that the equipment networking information includes at least the client
The service set SSID and login password PWD of the external WIFI of access;
The device manufacturer that the equipment identification information includes at least the smart machine identifies MID and product identification PID, wherein
The MID and PID of the smart machine are in the equipment cloud platform, in advance for smart machine configuration.
4. the method according to claim 1, which is characterized in that access extranets based on the equipment networking information
Network specifically includes:
The equipment networking information is parsed, the SSID and PWD of the external WIFI that the client is currently accessed are obtained;
According to the SSID and PWD of the external WIFI that the client is currently accessed, the outside that the client is currently accessed is accessed
WIFI。
5. method as claimed in claim 4, which is characterized in that SN and device identification letter based on the smart machine
Breath, generating device unique identification DID are specifically included:
The equipment networking information is parsed, the MID and PID of the smart machine are obtained;
The SN of the smart machine, the MID and PID of the smart machine are carried out splicing, obtain corresponding DID.
6. method as claimed in claim 5, which is characterized in that be based on the equipment cloud platform address information, the verifying letter
Breath and the equipment unique identification access the equipment cloud platform, specifically include:
According to the address information of the equipment cloud platform, the target device cloud platform that the smart machine needs to access is determined;
The authentication request information for carrying the verification information and the DID is sent to the target device cloud platform to reflect
Power processing;
When receiving the authentication successful information of the target device cloud platform feedback, the target device cloud platform is accessed.
7. method as claimed in claim 5, which is characterized in that the equipment unique identification is sent to the client, is led to
Know that the client to the business platform initiating equipment bind request, is completed to trigger the business platform to user's account
Number and the equipment unique identification bound, specifically include:
The DID is sent to the client, to notify the client executing or less to operate: the client is receiving
When the DID, Xiang Suoshu business platform sends the apparatus bound solicited message for carrying the DID, is built with triggering business platform
The mapping relations between the user account and the DID are found, the binding between the user account and the DID is completed.
8. a kind of smart machine binding device characterized by comprising
Monitoring unit, the WIFI broadcast for being initiated by monitoring client, obtains the apparatus bound information of client broadcast,
In, the apparatus bound information includes at least equipment networking information, and the client is based on the user account working currently logged in
The equipment identification information for the smart machine that business platform obtains, the address letter for the equipment cloud platform being connected with the business platform
Breath and the verification information for accessing the equipment cloud platform;
Access unit, for accessing external network, and the sequence number based on the smart machine based on the equipment networking information
SN and the equipment identification information, generating device unique identification DID;
Binding unit, for the address information based on the equipment cloud platform, the verification information and the equipment unique identification
The equipment cloud platform is accessed, and the equipment unique identification is sent to the client, notifies the client to described
Business platform initiating equipment bind request uniquely marks the user account and the equipment with triggering the business platform completion
Knowledge is bound.
9. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor is executed for calling the program instruction stored in the memory according to the program of acquisition: monitoring client hair
The WIFI broadcast risen, obtains the apparatus bound information of client broadcast, wherein the apparatus bound information connects including at least equipment
Net information, the device identification for the smart machine that the client is obtained based on the user account currently logged in from business platform
Information, the address information for the equipment cloud platform being connected with the business platform and the verifying letter for accessing the equipment cloud platform
Breath;External network, and the sequence number SN based on the smart machine and the equipment mark are accessed based on the equipment networking information
Know information, generating device unique identification DID;Based on the address information of the equipment cloud platform, the verification information and described set
Standby unique identification accesses the equipment cloud platform, and the equipment unique identification is sent to the client, notifies the visitor
It is completed to the user account and described with triggering the business platform to the business platform initiating equipment bind request at family end
Equipment unique identification is bound.
10. a kind of computer storage medium, which is characterized in that the computer-readable recording medium storage has computer executable
Instruction, the computer executable instructions are for making the computer perform claim require 1 to 7 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710854696.8A CN109525540B (en) | 2017-09-20 | 2017-09-20 | Intelligent device binding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710854696.8A CN109525540B (en) | 2017-09-20 | 2017-09-20 | Intelligent device binding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109525540A true CN109525540A (en) | 2019-03-26 |
CN109525540B CN109525540B (en) | 2021-05-28 |
Family
ID=65768493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710854696.8A Active CN109525540B (en) | 2017-09-20 | 2017-09-20 | Intelligent device binding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109525540B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602689A (en) * | 2019-07-30 | 2019-12-20 | 华为技术有限公司 | Method and device for safely operating equipment |
CN110784908A (en) * | 2019-10-22 | 2020-02-11 | 北京小米移动软件有限公司 | Wireless network distribution method, wireless router and wireless network distribution system |
CN111726411A (en) * | 2020-06-22 | 2020-09-29 | 海尔优家智能科技(北京)有限公司 | Equipment binding method, device, system, storage medium and electronic device |
CN111787517A (en) * | 2020-02-21 | 2020-10-16 | 北京沃东天骏信息技术有限公司 | Method and device for binding activation of intelligent equipment |
CN111884812A (en) * | 2020-07-24 | 2020-11-03 | 四川阵风科技有限公司 | Binding method and system of hardware equipment |
CN112105009A (en) * | 2020-09-02 | 2020-12-18 | 中移(杭州)信息技术有限公司 | Device discovery and Bluetooth broadcasting method, device, electronic device and storage medium |
CN112468538A (en) * | 2020-11-04 | 2021-03-09 | 杭州萤石软件有限公司 | Operation method and system of Internet of things equipment |
WO2021062983A1 (en) * | 2019-09-30 | 2021-04-08 | 浙江口碑网络技术有限公司 | Information processing method, information processing apparatus and electronic device |
CN112669856A (en) * | 2020-12-28 | 2021-04-16 | 山东云缦智能科技有限公司 | Intelligent terminal equipment voiceprint recognition user binding method |
CN112799735A (en) * | 2021-01-11 | 2021-05-14 | 厦门立林科技有限公司 | Combined equipment model system and method supporting dynamic configuration |
CN113098976A (en) * | 2021-04-20 | 2021-07-09 | 深圳市康冠科技股份有限公司 | IOT equipment network distribution method and device and computer storage medium |
CN113343641A (en) * | 2021-06-21 | 2021-09-03 | 湖北亿咖通科技有限公司 | Equipment identification method, device and system and cloud server |
CN113822769A (en) * | 2021-08-31 | 2021-12-21 | 东风商用车有限公司 | Mining area service information interaction method, device, equipment and readable storage medium |
CN114637272A (en) * | 2022-03-17 | 2022-06-17 | 深圳市广和通无线股份有限公司 | Equipment access method, device, electronic equipment and readable storage medium |
CN115065719A (en) * | 2022-06-09 | 2022-09-16 | 深圳创维数字技术有限公司 | Device interaction access method and device, electronic device and readable storage medium |
WO2022214019A1 (en) * | 2021-04-08 | 2022-10-13 | 华为技术有限公司 | Method and apparatus for deploying network device, and device, system and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104880019A (en) * | 2015-06-18 | 2015-09-02 | 合肥美菱股份有限公司 | Remote binding method for intelligent refrigerator |
CN104967596A (en) * | 2014-10-31 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for realizing binding and communication between user terminal and Internet of things device |
CN105072012A (en) * | 2015-08-14 | 2015-11-18 | 四川长虹电器股份有限公司 | Quick network access method of intelligent device |
CN105791343A (en) * | 2014-12-19 | 2016-07-20 | 中国移动通信集团公司 | Intelligent home information interaction system, intelligent home information interaction method and related equipment |
CN103442045B (en) * | 2013-08-19 | 2016-11-23 | 华讯方舟科技有限公司 | A kind of smart machine accesses the method for wireless router |
CN106686593A (en) * | 2016-12-28 | 2017-05-17 | 深圳Tcl智能家庭科技有限公司 | WIFI-module-based network-access configuration method and apparatus for smart devices |
CN106789462A (en) * | 2016-12-15 | 2017-05-31 | 九阳股份有限公司 | A kind of intelligent appliance networking method of controlling security |
-
2017
- 2017-09-20 CN CN201710854696.8A patent/CN109525540B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103442045B (en) * | 2013-08-19 | 2016-11-23 | 华讯方舟科技有限公司 | A kind of smart machine accesses the method for wireless router |
CN104967596A (en) * | 2014-10-31 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for realizing binding and communication between user terminal and Internet of things device |
CN105791343A (en) * | 2014-12-19 | 2016-07-20 | 中国移动通信集团公司 | Intelligent home information interaction system, intelligent home information interaction method and related equipment |
CN104880019A (en) * | 2015-06-18 | 2015-09-02 | 合肥美菱股份有限公司 | Remote binding method for intelligent refrigerator |
CN105072012A (en) * | 2015-08-14 | 2015-11-18 | 四川长虹电器股份有限公司 | Quick network access method of intelligent device |
CN106789462A (en) * | 2016-12-15 | 2017-05-31 | 九阳股份有限公司 | A kind of intelligent appliance networking method of controlling security |
CN106686593A (en) * | 2016-12-28 | 2017-05-17 | 深圳Tcl智能家庭科技有限公司 | WIFI-module-based network-access configuration method and apparatus for smart devices |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602689A (en) * | 2019-07-30 | 2019-12-20 | 华为技术有限公司 | Method and device for safely operating equipment |
WO2021062983A1 (en) * | 2019-09-30 | 2021-04-08 | 浙江口碑网络技术有限公司 | Information processing method, information processing apparatus and electronic device |
CN110784908A (en) * | 2019-10-22 | 2020-02-11 | 北京小米移动软件有限公司 | Wireless network distribution method, wireless router and wireless network distribution system |
CN111787517A (en) * | 2020-02-21 | 2020-10-16 | 北京沃东天骏信息技术有限公司 | Method and device for binding activation of intelligent equipment |
CN111726411B (en) * | 2020-06-22 | 2022-03-29 | 海尔优家智能科技(北京)有限公司 | Equipment binding method, device, system, storage medium and electronic device |
CN111726411A (en) * | 2020-06-22 | 2020-09-29 | 海尔优家智能科技(北京)有限公司 | Equipment binding method, device, system, storage medium and electronic device |
CN111884812A (en) * | 2020-07-24 | 2020-11-03 | 四川阵风科技有限公司 | Binding method and system of hardware equipment |
CN111884812B (en) * | 2020-07-24 | 2022-07-29 | 四川阵风科技有限公司 | Binding method and system of hardware equipment |
CN112105009A (en) * | 2020-09-02 | 2020-12-18 | 中移(杭州)信息技术有限公司 | Device discovery and Bluetooth broadcasting method, device, electronic device and storage medium |
CN112468538A (en) * | 2020-11-04 | 2021-03-09 | 杭州萤石软件有限公司 | Operation method and system of Internet of things equipment |
CN112468538B (en) * | 2020-11-04 | 2022-08-02 | 杭州萤石软件有限公司 | Operation method and system of Internet of things equipment |
CN112669856A (en) * | 2020-12-28 | 2021-04-16 | 山东云缦智能科技有限公司 | Intelligent terminal equipment voiceprint recognition user binding method |
CN112799735A (en) * | 2021-01-11 | 2021-05-14 | 厦门立林科技有限公司 | Combined equipment model system and method supporting dynamic configuration |
WO2022214019A1 (en) * | 2021-04-08 | 2022-10-13 | 华为技术有限公司 | Method and apparatus for deploying network device, and device, system and storage medium |
CN113098976A (en) * | 2021-04-20 | 2021-07-09 | 深圳市康冠科技股份有限公司 | IOT equipment network distribution method and device and computer storage medium |
CN113343641A (en) * | 2021-06-21 | 2021-09-03 | 湖北亿咖通科技有限公司 | Equipment identification method, device and system and cloud server |
CN113343641B (en) * | 2021-06-21 | 2024-01-16 | 亿咖通(湖北)技术有限公司 | Equipment identification method, device, system and cloud server |
CN113822769A (en) * | 2021-08-31 | 2021-12-21 | 东风商用车有限公司 | Mining area service information interaction method, device, equipment and readable storage medium |
CN114637272A (en) * | 2022-03-17 | 2022-06-17 | 深圳市广和通无线股份有限公司 | Equipment access method, device, electronic equipment and readable storage medium |
CN115065719A (en) * | 2022-06-09 | 2022-09-16 | 深圳创维数字技术有限公司 | Device interaction access method and device, electronic device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109525540B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109525540A (en) | A kind of smart machine binding method and device | |
CN106130881B (en) | A kind of account number login method and device | |
CN104618228B (en) | A kind of intelligent home gateway and the system and its application process that cloud service is automatically accessed by strategy realized based on intelligent home gateway | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN109600252A (en) | Equipment distribution method, apparatus and household appliance | |
CN109996314A (en) | A kind of methods, devices and systems to distribution net equipment access network hotspot equipment | |
CN107800791B (en) | Debugging method and device | |
CN104852990A (en) | Information processing method and intelligent household control system | |
CN106422324B (en) | Real-time communication method, the apparatus and system of multiple terminals | |
US10432476B2 (en) | Method, apparatus, and system for joining node to network | |
CN112152853A (en) | Equipment network distribution method and device, computer-readable storage medium and electronic device | |
CN105722089B (en) | A kind of equipment authentication method | |
CN106686752B (en) | It is a kind of that the method and apparatus being wirelessly connected is established by the first application on user equipment | |
CN105898790B (en) | A kind of network speed measurement method and equipment | |
CN106656911A (en) | Portal authentication method, access device and management server | |
CN109451042A (en) | For matching network method without screen smart machine | |
CN107342933A (en) | A kind of activation of smart machine and binding method and device | |
CN109005220A (en) | The service implementation method and access gateway of internet of things of internet-of-things terminal | |
CN108306938A (en) | A kind of method, apparatus and gateway of Internet of Things product automatic networking | |
CN103957580A (en) | Rapid WIFI networking matching method and module for smart hardware | |
CN106304043A (en) | A kind of distribution method, device, system, wireless terminal and wireless router | |
CN108234257A (en) | Matching method, home appliance and the mobile terminal of home appliance | |
CN105634805B (en) | Method of the main control device to the unified configuration of optional equipment under a kind of wireless networking environment | |
CN106453349A (en) | An account number login method and apparatus | |
CN107592360B (en) | Internet of things data aggregation method and system based on hybrid cloud |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |