CN109525540B - Intelligent device binding method and device - Google Patents

Intelligent device binding method and device Download PDF

Info

Publication number
CN109525540B
CN109525540B CN201710854696.8A CN201710854696A CN109525540B CN 109525540 B CN109525540 B CN 109525540B CN 201710854696 A CN201710854696 A CN 201710854696A CN 109525540 B CN109525540 B CN 109525540B
Authority
CN
China
Prior art keywords
equipment
information
client
binding
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.)
Active
Application number
CN201710854696.8A
Other languages
Chinese (zh)
Other versions
CN109525540A (en
Inventor
刘辉
姚康
孙云鹏
冯慧君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710854696.8A priority Critical patent/CN109525540B/en
Publication of CN109525540A publication Critical patent/CN109525540A/en
Application granted granted Critical
Publication of CN109525540B publication Critical patent/CN109525540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention relates to the technical field of communication, in particular to an intelligent device binding method and device. The method comprises the following steps: the method comprises the steps that WIFI broadcast initiated by a client side is monitored, equipment binding information of the client side broadcast is obtained, wherein the equipment binding information comprises equipment networking information, equipment identification information of intelligent equipment, address information of an equipment cloud platform connected with the service platform and verification information for accessing the equipment cloud platform, and the equipment identification information is obtained by the client side from the service platform; accessing an external network based on the equipment networking information, and generating an equipment unique identifier based on the SN of the intelligent equipment and the equipment identifier information; the method comprises the steps of accessing a device cloud platform based on address information, verification information and a device unique identifier of the device cloud platform, sending the device unique identifier to a client, and informing the client to initiate a device binding request to a service platform so as to trigger the service platform to complete binding of a user account and the device unique identifier. By adopting the method, the equipment binding efficiency is improved, and the user experience is improved.

Description

Intelligent device binding method and device
Technical Field
The invention relates to the technical field of communication, in particular to an intelligent device binding method and device.
Background
With the rapid development of the technology of the internet of things, the realization of the remote control and the state monitoring of the intelligent device has become the basic feature of the internet of things. In the using process of the intelligent device, the intelligent device needs to be networked and the binding between the user and the intelligent device needs to be completed, so that the intelligent device can be controlled intelligently and conveniently.
In the prior art, networking and binding of smart devices are typically accomplished in any one of three ways:
the first mode is as follows: firstly, the intelligent equipment generates a corresponding two-dimension code based on the identity information of the intelligent equipment, and a client scans the two-dimension code; secondly, inputting a Service Set Identifier (SSID) and a Password (PWD) of an external network Wireless Fidelity (WIFI) connected with the client to initiate broadcasting on the client; thirdly, the intelligent equipment verifies the received broadcast data packet to complete the networking operation of the intelligent equipment; and finally, the client initiates a binding request to the cloud server to complete the binding between the intelligent device and the client account.
The second mode is as follows: firstly, when the intelligent equipment is started, acquiring information of a local intranet wireless AP, and generating a corresponding two-dimensional code according to the information; secondly, the client scans the two-dimensional code, is connected with the intelligent equipment through the intranet wireless AP hotspot, and sends the SSID and PWD of the extranet WIFI to the intelligent equipment; thirdly, the intelligent device analyzes the SSID and the PWD sent by the client and accesses to the external network WIFI to complete networking operation of the intelligent device; and finally, the intelligent device sends the unique device code and the client account to the cloud server, and the cloud server completes the binding between the intelligent device and the client account.
The third mode is as follows: the method comprises the steps that a client side initiates an external network WIFI broadcast, the intelligent device accesses to the external network WIFI according to a broadcast data packet initiated by the client side, the client side initiates a request for obtaining device information to the intelligent device, the intelligent device returns information to the client side to complete networking operation of the intelligent device, then the client side sends a client side account number and the device information to a cloud server, and binding between the intelligent device and a client side account is completed at the cloud server.
However, in the process of networking and binding the intelligent device by using the above method, the networking and binding of the device are performed in two steps, and when the networking of the device is performed, a Serial Number (SN) needs to be manually input/a two-dimensional code needs to be scanned by a user to obtain a device identifier, so as to complete the networking of the device, and thus, the operation performed by the user is complex, which affects the networking efficiency of the device; when the equipment is successfully networked and further equipment binding is needed, multiple interactions need to be carried out between the client and the intelligent equipment, binding steps are complex, and equipment binding efficiency is affected.
In view of the above, a new method and apparatus for binding a smart device are needed to overcome the defects and shortcomings in the prior art.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for binding intelligent equipment, which are used for solving the problems that the networking and binding processes of the intelligent equipment are complicated and the networking and binding efficiency of the intelligent equipment is low in the prior art.
The specific technical scheme provided in the embodiment of the invention is as follows:
a smart device binding method comprising:
the method comprises the steps of acquiring equipment binding information of client-side broadcasting by monitoring WIFI broadcasting initiated by a client side, wherein the equipment binding information at least comprises equipment networking information, and the client side acquires equipment identification information of intelligent equipment from a service platform based on a currently logged-in user account, address information of an equipment cloud platform connected with the service platform and verification information for accessing the equipment cloud platform;
accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information;
based on the address information of the device cloud platform, the verification information and the unique device identifier are accessed to the device cloud platform, the unique device identifier is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the unique device identifier.
Preferably, the device binding information of the client broadcast is acquired by monitoring the WIFI broadcast initiated by the client, and the method specifically includes:
the method comprises the steps of setting a monitoring mode, capturing a WIFI broadcast data packet and/or a multicast data packet sent by a client through an application program APP by monitoring all broadcast data packets and/or multicast data packets sent by external wireless fidelity WIFI, wherein the WIFI broadcast data packet and/or the multicast data packet at least comprise equipment binding information.
Preferably, the device networking information at least comprises a service set identifier SSID and a login password PWD of an external WIFI currently accessed by the client;
the device identification information at least comprises a device Manufacturer Identification (MID) and a Product Identification (PID) of the intelligent device, wherein the MID and the PID of the intelligent device are configured in the device cloud platform aiming at the intelligent device in advance.
Preferably, accessing an external network based on the device networking information specifically includes:
analyzing the equipment networking information to acquire the SSID and PWD of the external WIFI which is currently accessed by the client;
and accessing the currently accessed external WIFI of the client according to the SSID and the PWD of the currently accessed external WIFI of the client.
Preferably, the generating a device unique identifier DID based on the SN of the smart device and the device identification information specifically includes:
analyzing the equipment networking information to acquire the MID and the PID of the intelligent equipment;
and splicing the SN of the intelligent device, the MID and the PID of the intelligent device to obtain corresponding DID.
Preferably, based on the device cloud platform address information, the verification information and the device unique identifier are accessed to the device cloud platform, which specifically includes:
determining a target equipment cloud platform to which the intelligent equipment needs to be accessed according to the address information of the equipment cloud platform;
sending the authentication request information carrying the verification information and the DID to the target equipment cloud platform for authentication processing;
and when receiving authentication success information fed back by the target equipment cloud platform, accessing the target equipment cloud platform.
Preferably, the sending the device unique identifier to the client notifies the client to initiate a device binding request to the service platform, so as to trigger the service platform to complete binding the user account and the device unique identifier, and specifically includes:
sending the DID to the client to inform the client to perform the following operations: and when receiving the DID, the client sends equipment binding request information carrying the DID to the service platform so as to trigger the service platform to establish a mapping relation between the user account and the DID and complete the binding between the user account and the DID.
An intelligent device binding apparatus, comprising:
the monitoring unit is used for acquiring equipment binding information broadcasted by a client by monitoring WIFI (wireless fidelity) broadcast initiated by the client, wherein the equipment binding information at least comprises equipment networking information, and the client acquires equipment identification information of the intelligent equipment from a service platform based on a currently logged user account, address information of an equipment cloud platform connected with the service platform and verification information used for accessing the equipment cloud platform;
the access unit is used for accessing an external network based on the equipment networking information and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information;
and the binding unit is used for accessing the verification information and the equipment unique identifier into the equipment cloud platform based on the address information of the equipment cloud platform, sending the equipment unique identifier to the client, and informing the client to initiate an equipment binding request to the service platform so as to trigger the service platform to finish binding the user account and the equipment unique identifier.
Preferably, when the device binding information broadcasted by the client is acquired by monitoring the WIFI broadcast initiated by the client, the monitoring unit is specifically configured to:
the method comprises the steps of setting a monitoring mode, capturing a WIFI broadcast data packet and/or a multicast data packet sent by a client through an application program APP by monitoring all broadcast data packets and/or multicast data packets sent by external wireless fidelity WIFI, wherein the WIFI broadcast data packet and/or the multicast data packet at least comprise equipment binding information.
Preferably, the device networking information at least comprises a service set identifier SSID and a login password PWD of an external WIFI currently accessed by the client;
the device identification information at least comprises a device Manufacturer Identification (MID) and a Product Identification (PID) of the intelligent device, wherein the MID and the PID of the intelligent device are configured in the device cloud platform aiming at the intelligent device in advance.
Preferably, when accessing the external network based on the device networking information, the access unit is specifically configured to:
analyzing the equipment networking information to acquire the SSID and PWD of the external WIFI which is currently accessed by the client;
and accessing the currently accessed external WIFI of the client according to the SSID and the PWD of the currently accessed external WIFI of the client.
Preferably, when generating the device unique identifier DID based on the SN of the smart device and the device identification information, the access unit is specifically configured to:
analyzing the equipment networking information to acquire the MID and the PID of the intelligent equipment;
and splicing the SN of the intelligent device, the MID and the PID of the intelligent device to obtain corresponding DID.
Preferably, when the authentication information and the device unique identifier are accessed to the device cloud platform based on the device cloud platform address information, the binding unit is specifically configured to:
determining a target equipment cloud platform to which the intelligent equipment needs to be accessed according to the address information of the equipment cloud platform;
sending the authentication request information carrying the verification information and the DID to the target equipment cloud platform for authentication processing;
and when receiving authentication success information fed back by the target equipment cloud platform, accessing the target equipment cloud platform.
Preferably, when the device unique identifier is sent to the client and the client is notified to initiate a device binding request to the service platform, so as to trigger the service platform to complete binding the user account and the device unique identifier, the binding unit is specifically configured to:
sending the DID to the client to inform the client to perform the following operations: and when receiving the DID, the client sends equipment binding request information carrying the DID to the service platform so as to trigger the service platform to establish a mapping relation between the user account and the DID and complete the binding between the user account and the DID.
A computing device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing according to the obtained program: the method comprises the steps of acquiring equipment binding information of client-side broadcasting by monitoring WIFI broadcasting initiated by a client side, wherein the equipment binding information at least comprises equipment networking information, and the client side acquires equipment identification information of intelligent equipment from a service platform based on a currently logged-in user account, address information of an equipment cloud platform connected with the service platform and verification information for accessing the equipment cloud platform; accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information; based on the address information of the device cloud platform, the verification information and the unique device identifier are accessed to the device cloud platform, the unique device identifier is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the unique device identifier.
A computer storage medium having computer-executable instructions stored thereon for causing a computer to perform any of the above methods.
The invention has the following beneficial effects:
in summary, in the embodiment of the present invention, in the process of binding the smart device, device binding information broadcasted by a client is obtained by monitoring a WIFI broadcast initiated by the client, where the device binding information at least includes device networking information, and the client obtains device identification information of the smart device from a service platform based on a currently logged-in user account, address information of a device cloud platform connected to the service platform, and verification information for accessing the device cloud platform; accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information; based on the address information of the device cloud platform, the verification information and the unique device identifier are accessed to the device cloud platform, the unique device identifier is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the unique device identifier.
By adopting the method, the intelligent equipment is subjected to one-key packet capturing, analysis and verification, equipment networking, activation and binding in the intelligent equipment binding process are completed, and after the equipment networking, the equipment is actively connected with the equipment cloud platform for authentication, and the client APP is informed to perform equipment binding operation, so that the user operation steps and interaction times are reduced, the equipment binding efficiency is improved, the user experience is improved, the equipment cloud platform IP does not need to be burnt into the intelligent equipment in advance, and the intelligent equipment can be conveniently connected into different equipment cloud platforms.
Drawings
FIG. 1 is a schematic diagram of data interaction between modules in a device binding system according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of a method for binding an intelligent device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an intelligent device binding apparatus in an embodiment of the present invention.
Detailed Description
In order to solve the problems of complex networking and binding processes of intelligent equipment and low networking and binding efficiency of the intelligent equipment in the prior art, the embodiment of the invention provides a novel intelligent equipment binding method and a novel intelligent equipment binding device, wherein the method comprises the following steps: the method comprises the steps of acquiring equipment binding information of client-side broadcasting by monitoring WIFI broadcasting initiated by a client side, wherein the equipment binding information at least comprises equipment networking information, and the client side acquires equipment identification information of intelligent equipment from a service platform based on a currently logged-in user account, address information of an equipment cloud platform connected with the service platform and verification information for accessing the equipment cloud platform; accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information; based on the address information of the device cloud platform, the verification information and the unique device identifier are accessed to the device cloud platform, the unique device identifier is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the unique device identifier.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In practical application, the equipment binding system can comprise intelligent equipment, a client, a service platform and an equipment cloud platform, wherein the intelligent equipment has a WIFI access function, such as intelligent equipment such as an intelligent water purifier, an intelligent refrigerator and an intelligent sound box. When the intelligent device is initialized, a client Application program (APP) is mainly used for completing network connection of the intelligent device, namely, the intelligent device is accessed to external WIFI which is currently accessed by the client; the client APP is used for controlling and operating the intelligent equipment which is subjected to equipment networking, equipment activation and equipment binding, and performing data interaction with the service platform through an interface, namely the client APP controls the service operation of the intelligent equipment through the service platform; the service platform is communicated and data-synchronized with the equipment cloud platform through an interface and is used for carrying out service management on the intelligent equipment which is subjected to equipment networking, equipment activation and equipment binding through the equipment cloud platform; and the equipment cloud platform is a universal Internet of things cloud platform and is used for forwarding the service instruction issued by the service platform and forwarding the state parameter reported by the intelligent equipment. Referring to fig. 1, in the embodiment of the present invention, after the intelligent device binding is completed, a data interaction diagram of each module in the device binding system is shown.
In the embodiment of the present invention, in the device cloud platform, corresponding device identification information, such as a device Manufacturer Identifier (MID) and a Product identifier (Product ID, PID), is set in advance for the intelligent devices of different device manufacturers and different device types, respectively.
For example, in an equipment cloud platform, aiming at an intelligent water purifier produced by an equipment manufacturer a, a preset MID is as follows: a1, PID: 0001; aiming at the intelligent refrigerator produced by the equipment manufacturer A, the preset MID is A1, and the PID is: 0003, wherein a1 is used to characterize equipment manufacturer a, 0001 is used to characterize intelligent water purifiers, and 0003 is used to characterize intelligent refrigerators.
For another example, in the device cloud platform, for the intelligent water purifier produced by the manufacturer a, the preset MID is: a1, PID: 0001; and to the intelligent water purifier of equipment manufacture factory B production, the MID that sets up in advance is: a2, PID 0001, wherein A1 is used for characterizing equipment manufacturer A, A2 is used for characterizing equipment manufacturer B, and 0001 is used for characterizing the intelligent water purifier.
For another example, in the device cloud platform, for the intelligent water purifier produced by the manufacturer a, the preset MID is: a1, PID: 0001; and to the intelligent refrigerator of equipment manufacture factory B production, the MID that sets up in advance is: a2 with PID 0003, wherein A1 is used for characterizing equipment manufacturer A, A2 is used for characterizing equipment manufacturer B, 0001 is used for characterizing intelligent water purifier, and 0003 is used for characterizing intelligent refrigerator.
Furthermore, the device identification information of the device cloud platform for each intelligent device in advance can be synchronized to each service platform connected with the device cloud platform through an interface according to different requirements of different service platforms and/or different requirements of different application scenes. Of course, the device cloud platform may also synchronize its own address information (e.g., device cloud platform IP) and authentication information (e.g., Devkey) required to access the device cloud platform with the service platforms connected to the device cloud platform through the interface.
Then, when the smart device is initialized, that is, when the smart device is used for the first time, device networking, device activation, and device binding of the smart device need to be completed, the following will describe the scheme of the present invention in detail by using specific embodiments, and of course, the present invention is not limited to the following embodiments.
Referring to fig. 2, in the embodiment of the present invention, a detailed flow of an intelligent device binding method is as follows:
step 200: the method comprises the steps of monitoring WIFI broadcast initiated by a client, obtaining equipment binding information of the client broadcast, wherein the equipment binding information at least comprises equipment networking information, and the client obtains equipment identification information of the intelligent equipment from a service platform based on a currently logged-in user account, address information of an equipment cloud platform connected with the service platform and verification information used for accessing the equipment cloud platform.
Specifically, in the embodiment of the present invention, when step 200 is executed, the intelligent terminal sets a monitoring mode, and captures a WIFI broadcast data packet and/or a multicast data packet sent by the client through the APP by monitoring all broadcast data packets and/or multicast data packets sent by the external wireless fidelity WIFI, where the WIFI broadcast data packet and/or the multicast data packet at least include device binding information.
In the embodiment of the invention, the device binding information is used for device networking, device activation and device binding of the intelligent device, and the device networking information in the device binding information at least comprises a Service Set Identifier (SSID) and a login Password (PWD) of the external WIFI currently accessed by the client; the device identification information in the device binding information at least includes a device manufacturer identification MID and a product identification PID of the smart device, wherein the MID and the PID of the smart device are configured in the device cloud platform in advance for the smart device.
In practical application, when initializing an intelligent device, namely when the intelligent device is firstly connected with a network, activated and bound, a user logs in a client APP by using a user account associated with the intelligent device currently bound with the equipment, accesses the service platform, and acquires an MID and a PID (proportion integration differentiation) which are pre-configured for the intelligent device by using an equipment cloud platform associated with the user account, an IP (Internet protocol) of the equipment cloud platform and a Devkey required for accessing the equipment cloud platform from the service platform; in the embodiment of the invention, the client side at least uses a Service Set Identifier (SSID) and a login Password (PWD) for accessing the external WIFI currently accessed by the client side in the broadcast data packet and/or the multicast data packet sent by the client side through the APP, the MID and the PID of the intelligent device acquired from a Service platform by the client side, the cloud platform IP of the device and a Devkey required for accessing the cloud platform of the device.
Step 210: and accessing an external network based on the equipment networking information, and generating an equipment unique identifier based on the serial number SN of the intelligent equipment and the equipment identification information.
Specifically, in the embodiment of the present invention, when step 210 is executed, the device networking information is analyzed, an SSID and a PWD of an external WIFI currently accessed by the client are obtained, and the external WIFI currently accessed by the client is accessed according to the SSID and the PWD of the external WIFI currently accessed by the client; and analyzing the equipment identification information to acquire the MID and the PID of the intelligent equipment, and splicing the SN of the intelligent equipment and the MID and the PID of the intelligent equipment to acquire corresponding equipment unique identification (Device ID, DID).
In practical application, the intelligent device analyzes and verifies each captured broadcast data packet and/or multicast data packet, and determines that the intelligent device passes the verification when the broadcast data packet and/or multicast data packet sent by the client is analyzed, and the intelligent device accesses the currently accessed external WIFI of the client according to the SSID and the PWD contained in the broadcast data packet and/or multicast data packet sent by the client, so as to complete the networking of the device. Of course, the smart device, through parsing, verifies that a broadcast packet and/or multicast packet is not sent by the client, and discards the packet. And the intelligent device splices the MID and the PID contained in the broadcast data packet and/or the multicast data packet sent by the client and the Serial Number (SN) of the intelligent device according to a preset rule to obtain the DID of the intelligent device, wherein the DID is used for uniquely identifying the intelligent device.
Step 220: and based on the address information of the equipment cloud platform, the verification information and the equipment unique identifier are accessed into the equipment cloud platform, the equipment unique identifier is sent to the client, and the client is informed to initiate an equipment binding request to the service platform so as to trigger the service platform to complete binding of the user account and the equipment unique identifier.
Specifically, in the embodiment of the present invention, in step 220, the smart device determines, according to the address information of the device cloud platform, a target device cloud platform to which the smart device needs to access, sends authentication request information carrying the verification information and the DID to the target device cloud platform for authentication processing, and when receiving authentication success information fed back by the target device cloud platform, accesses the target device cloud platform and sends the DID to the client to notify the client to perform the following operations: and when receiving the DID, the client sends equipment binding request information carrying the DID to the service platform so as to trigger the service platform to establish a mapping relation between the user account and the DID and complete the binding between the user account and the DID.
In practical application, after the intelligent device completes device networking, the device needs to be activated, that is, the intelligent device needs to be accessed into the device cloud platform, then the intelligent device needs to determine a corresponding target device cloud platform according to a device cloud platform IP analyzed from a broadcast data packet and/or a multicast data packet sent by a client, send the generated DID and Devkey to the target device cloud platform for authentication processing, report the state of the intelligent device when receiving authentication success information fed back by the target device cloud platform, and determine that the device activation is completed. Further, the intelligent device sends the generated DID to the client APP to notify the client APP to initiate a device binding request to the service platform, that is, the client APP sends binding request information carrying the generated DID to the service platform to trigger the service platform to associate the received generated DID with the user account currently logged in by the client, so as to complete device binding.
Based on the above embodiments, referring to fig. 3, in an embodiment of the present invention, an intelligent device binding apparatus at least includes a monitoring unit 30, an access unit 31 and a binding unit 32, wherein,
the monitoring unit 30 is configured to acquire device binding information of a client broadcast by monitoring a WIFI broadcast initiated by the client, where the device binding information at least includes device networking information, and the client acquires device identification information of the smart device from a service platform based on a currently logged-in user account, address information of a device cloud platform connected to the service platform, and verification information for accessing the device cloud platform;
the access unit 31 is configured to access an external network based on the device networking information, and generate a device unique identifier DID based on the serial number SN of the smart device and the device identification information;
a binding unit 32, configured to access the device cloud platform based on the address information of the device cloud platform, the verification information, and the device unique identifier, send the device unique identifier to the client, notify the client to initiate a device binding request to the service platform, so as to trigger the service platform to complete binding the user account and the device unique identifier.
Preferably, when the device binding information broadcasted by the client is acquired by monitoring the WIFI broadcast initiated by the client, the monitoring unit 30 is specifically configured to:
the method comprises the steps of setting a monitoring mode, capturing a WIFI broadcast data packet and/or a multicast data packet sent by a client through an application program APP by monitoring all broadcast data packets and/or multicast data packets sent by external wireless fidelity WIFI, wherein the WIFI broadcast data packet and/or the multicast data packet at least comprise equipment binding information.
Preferably, the device networking information at least comprises a service set identifier SSID and a login password PWD of an external WIFI currently accessed by the client;
the device identification information at least comprises a device Manufacturer Identification (MID) and a Product Identification (PID) of the intelligent device, wherein the MID and the PID of the intelligent device are configured in the device cloud platform aiming at the intelligent device in advance.
Preferably, when accessing the external network based on the device networking information, the access unit 31 is specifically configured to:
analyzing the equipment networking information to acquire the SSID and PWD of the external WIFI which is currently accessed by the client;
and accessing the currently accessed external WIFI of the client according to the SSID and the PWD of the currently accessed external WIFI of the client.
Preferably, when generating the device unique identifier DID based on the SN of the smart device and the device identification information, the access unit 31 is specifically configured to:
analyzing the equipment networking information to acquire the MID and the PID of the intelligent equipment;
and splicing the SN of the intelligent device, the MID and the PID of the intelligent device to obtain corresponding DID.
Preferably, when the authentication information and the device unique identifier are accessed to the device cloud platform based on the device cloud platform address information, the binding unit 32 is specifically configured to:
determining a target equipment cloud platform to which the intelligent equipment needs to be accessed according to the address information of the equipment cloud platform;
sending the authentication request information carrying the verification information and the DID to the target equipment cloud platform for authentication processing;
and when receiving authentication success information fed back by the target equipment cloud platform, accessing the target equipment cloud platform.
Preferably, when the device unique identifier is sent to the client and the client is notified to initiate a device binding request to the service platform, so as to trigger the service platform to complete binding the user account and the device unique identifier, the binding unit 32 is specifically configured to:
sending the DID to the client to inform the client to perform the following operations: and when receiving the DID, the client sends equipment binding request information carrying the DID to the service platform so as to trigger the service platform to establish a mapping relation between the user account and the DID and complete the binding between the user account and the DID.
In summary, in the embodiment of the present invention, in the process of binding the smart device, device binding information broadcasted by a client is obtained by monitoring a WIFI broadcast initiated by the client, where the device binding information at least includes device networking information, and the client obtains device identification information of the smart device from a service platform based on a currently logged-in user account, address information of a device cloud platform connected to the service platform, and verification information for accessing the device cloud platform; accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information; based on the address information of the device cloud platform, the verification information and the unique device identifier are accessed to the device cloud platform, the unique device identifier is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the unique device identifier.
By adopting the method, the intelligent equipment is subjected to one-key packet capturing, analysis and verification, equipment networking, activation and binding in the intelligent equipment binding process are completed, and after the equipment networking, the equipment is actively connected with the equipment cloud platform for authentication, and the client APP is informed to perform equipment binding operation, so that the user operation steps and interaction times are reduced, the equipment binding efficiency is improved, the user experience is improved, the equipment cloud platform IP does not need to be burnt into the intelligent equipment in advance, and the intelligent equipment can be conveniently connected into different equipment cloud platforms.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. An intelligent device binding method, comprising:
the method comprises the steps of acquiring equipment binding information of client-side broadcast by monitoring wireless fidelity (WIFI) broadcast initiated by a client, wherein the equipment binding information at least comprises equipment networking information, and the client acquires equipment identification information of intelligent equipment from a service platform based on a currently logged-in user account, address information of an equipment cloud platform connected with the service platform and verification information for accessing the equipment cloud platform;
accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information;
based on the address information of the device cloud platform, the verification information and the device unique identifier DID are accessed to the device cloud platform, the device unique identifier DID is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the device unique identifier DID.
2. The method of claim 1, wherein the acquiring of the device binding information broadcasted by the client by monitoring a WIFI broadcast initiated by the client specifically comprises:
the method comprises the steps of setting a monitoring mode, capturing a WIFI broadcast data packet and/or a multicast data packet sent by a client through an application program APP by monitoring all broadcast data packets and/or multicast data packets sent by external WIFI, wherein the WIFI broadcast data packet and/or the multicast data packet at least comprise equipment binding information.
3. The method of claim 2, wherein the device networking information includes at least a Service Set Identification (SSID) and a login Password (PWD) for external WIFI to which the client is currently accessing;
the device identification information at least comprises a device manufacturer identification MID and a product identification PID of the intelligent device, wherein the device manufacturer identification MID and the product identification PID of the intelligent device are configured in the device cloud platform aiming at the intelligent device in advance.
4. The method of claim 3, wherein accessing an external network based on the device networking information comprises:
analyzing the equipment networking information to acquire a Service Set Identifier (SSID) and a login Password (PWD) of the external WIFI which is currently accessed by the client;
and accessing the currently accessed external WIFI of the client according to the service set identifier SSID and the login password PWD of the currently accessed external WIFI of the client.
5. The method according to claim 4, wherein generating a device unique identifier DID based on the SN of the smart device and the device identification information specifically comprises:
analyzing the equipment networking information to acquire the MID and the PID of the intelligent equipment;
and splicing the serial number SN of the intelligent device, the device manufacturer identifier MID and the product identifier PID of the intelligent device to obtain a corresponding device unique identifier DID.
6. The method according to claim 5, wherein the accessing of the authentication information and the device unique identifier DID to the device cloud platform based on the device cloud platform address information specifically comprises:
determining a target equipment cloud platform to which the intelligent equipment needs to be accessed according to the address information of the equipment cloud platform;
sending authentication request information carrying the verification information and the equipment unique identifier DID to the target equipment cloud platform for authentication processing;
and when receiving authentication success information fed back by the target equipment cloud platform, accessing the target equipment cloud platform.
7. The method of claim 5, wherein sending the device unique identifier DID to the client, notifying the client to initiate a device binding request to the service platform, so as to trigger the service platform to complete binding the user account and the device unique identifier DID, specifically comprising:
sending the device unique identifier DID to the client to inform the client to perform the following operations: and when receiving the device unique identifier DID, the client sends device binding request information carrying the device unique identifier DID to the service platform so as to trigger the service platform to establish a mapping relationship between the user account and the device unique identifier DID and complete the binding between the user account and the device unique identifier DID.
8. An apparatus for binding smart devices, comprising:
the monitoring unit is used for acquiring equipment binding information broadcasted by a client by monitoring WIFI (wireless fidelity) broadcast initiated by the client, wherein the equipment binding information at least comprises equipment networking information, and the client acquires equipment identification information of the intelligent equipment from a service platform based on a currently logged user account, address information of an equipment cloud platform connected with the service platform and verification information used for accessing the equipment cloud platform;
the access unit is used for accessing an external network based on the equipment networking information and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information;
and the binding unit is used for accessing the authentication information and the device unique identifier DID into the device cloud platform based on the address information of the device cloud platform, sending the device unique identifier DID to the client, and informing the client to initiate a device binding request to the service platform so as to trigger the service platform to complete binding of the user account and the device unique identifier DID.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing according to the obtained program: monitoring WIFI broadcast initiated by a client, and acquiring equipment binding information of the client broadcast, wherein the equipment binding information at least comprises equipment networking information, and the client acquires equipment identification information of intelligent equipment from a service platform based on a currently logged-in user account, address information of an equipment cloud platform connected with the service platform and verification information for accessing the equipment cloud platform; accessing an external network based on the equipment networking information, and generating an equipment unique identifier DID based on the serial number SN of the intelligent equipment and the equipment identification information; based on the address information of the device cloud platform, the verification information and the device unique identifier DID are accessed to the device cloud platform, the device unique identifier DID is sent to the client, the client is informed to initiate a device binding request to the service platform, and the service platform is triggered to complete binding of the user account and the device unique identifier DID.
10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN201710854696.8A 2017-09-20 2017-09-20 Intelligent device binding method and device Active CN109525540B (en)

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 CN109525540A (en) 2019-03-26
CN109525540B true 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)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602689B (en) * 2019-07-30 2021-01-05 华为技术有限公司 Method and device for safely operating equipment
CN110809027A (en) * 2019-09-30 2020-02-18 浙江口碑网络技术有限公司 Information processing method, information processing device and electronic equipment
CN110784908B (en) * 2019-10-22 2022-06-03 北京小米移动软件有限公司 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
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
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
CN112799735B (en) * 2021-01-11 2023-03-28 厦门立林科技有限公司 Combined equipment model system and method supporting dynamic configuration
CN115250234A (en) * 2021-04-08 2022-10-28 华为技术有限公司 Method, device, equipment, system and storage medium for deploying network equipment
CN113098976B (en) * 2021-04-20 2023-04-18 深圳市康冠科技股份有限公司 IOT equipment network distribution method and device and computer storage medium
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
CN115065719B (en) * 2022-06-09 2023-07-14 深圳创维数字技术有限公司 Equipment interactive access method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
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
CN106686593A (en) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 WIFI-module-based network-access configuration method and apparatus for smart devices

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967596B (en) * 2014-10-31 2018-05-22 腾讯科技(深圳)有限公司 User terminal and internet of things equipment binding, the implementation method to communicate and device
CN105791343B (en) * 2014-12-19 2019-09-03 中国移动通信集团公司 Intelligent home information interactive system, method and relevant device
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
CN106789462B (en) * 2016-12-15 2021-10-08 九阳股份有限公司 Intelligent household electrical appliance network access safety control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN106686593A (en) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 WIFI-module-based network-access configuration method and apparatus for smart devices

Also Published As

Publication number Publication date
CN109525540A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109525540B (en) Intelligent device binding method and device
EP3252998B1 (en) Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
CN109121136B (en) Network access method, terminal connection method, terminal verification method, gateway and system
US10485034B2 (en) Method, device and system for accessing wireless network
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN106161385B (en) Remote control method and device for equipment
CN107006049A (en) A kind of smart machine and its set up the method for equipment room bluetooth connection, device
CN107770226B (en) Control method and device for smart home, home gateway and mobile terminal
CN110636483A (en) Network distribution method and system
CN111865736B (en) Equipment control method and device
CN110868719B (en) Access management system, device and method
CN104660702A (en) Butt-joint method and system of third-party cloud server and private Internet of things cloud server
CN105873186A (en) Smart home equipment adding method and equipment
CN109981421B (en) Intelligent device network distribution method and device
CN109561054B (en) Data transmission method, controller and access device
JP2016525748A5 (en)
CN110831245A (en) Network connection method, device and router
CN106254312B (en) method and device for achieving server attack prevention through virtual machine heterogeneous
WO2023005410A1 (en) Information synchronization method and system, storage medium, and electronic device
CN105812413B (en) Communication method and device
CN110071950B (en) Information transmission method, transfer device, terminal, controlled device and storage medium
CN104023001A (en) Method for AC equipment to forward unauthorized message information
US10601824B2 (en) Provision of access to a network
CN111491351B (en) Method and system for sensing online of WiFi terminal based on authentication information
CN106953873B (en) Security management system for encrypted information of encryption equipment

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