CN110971495B - Equipment binding method and device of intelligent household system and storage medium - Google Patents
Equipment binding method and device of intelligent household system and storage medium Download PDFInfo
- Publication number
- CN110971495B CN110971495B CN201911018728.6A CN201911018728A CN110971495B CN 110971495 B CN110971495 B CN 110971495B CN 201911018728 A CN201911018728 A CN 201911018728A CN 110971495 B CN110971495 B CN 110971495B
- Authority
- CN
- China
- Prior art keywords
- target
- network
- message
- account
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Automation & Control Theory (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a device binding method, a device and a storage medium of an intelligent home operating system, wherein the method comprises the following steps: broadcasting a first broadcast message by an unbound first device, wherein the first broadcast message is used for indicating that the first device is unbound; the method comprises the steps that first equipment receives a first response message sent by second equipment which is bound with a target account, wherein the first response message carries account information of the target account and network information used for connecting to a target network; the first device connecting to the target network using the network information; and the first equipment binds the target account through the target network by using the account information. According to the invention, the problems of complicated operation and long consumed time of equipment binding modes in the related technology are solved, and the effects of improving and simplifying equipment binding operation, reducing equipment binding consumed time, improving equipment success rate and further improving user experience are achieved.
Description
Technical Field
The invention relates to the field of communication, in particular to a device binding method and device of an intelligent home operating system and a storage medium.
Background
In a traditional internet of things or an intelligent home system, a user wants to use an intelligent device or a scene related to the intelligent device through internet remote control, and the intelligent device needs to be connected to the internet first and can be normally used after being bound with a user account. When a user purchases multiple intelligent devices, multiple binding processes are required.
Because the process of networking and binding the user account needs to be executed for the equipment once when the user purchases and installs the equipment, the operation is complicated, the success rate is low, the consumed time is long, and the user experience is poor.
That is to say, the device binding method in the related art has the problems of tedious operation and long time consumption.
Disclosure of Invention
The embodiment of the invention provides a device binding method and device of an intelligent home operating system and a storage medium, which are used for at least solving the problems of complex operation and long time consumption of a device binding mode in the related technology.
According to an embodiment of the present invention, there is provided a device binding method for an intelligent home system, including: broadcasting a first broadcast message by an unbound first device, wherein the first broadcast message is used for indicating that the first device is unbound; the method comprises the steps that first equipment receives a first response message sent by second equipment which is bound with a target account, wherein the first response message carries account information of the target account and network information used for connecting to a target network; the first device connecting to the target network using the network information; and the first equipment binds the target account through the target network by using the account information.
According to another embodiment of the present invention, an apparatus for binding devices of a smart home system is provided, including: the device comprises a first broadcasting module, a second broadcasting module and a first transmitting module, wherein the first broadcasting module is used for broadcasting a first broadcast message, and the first broadcast message is used for indicating that the first device is not bound; the first receiving module is used for receiving a first response message sent by second equipment bound with a target account, wherein the first response message carries account information of the target account and network information used for connecting to a target network; a connection module for connecting to a target network using network information; and the binding module is used for binding the target account with the account information through the target network.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, a mutual identification mode of devices is adopted, the self-configuration connection state (electrified but unbound) is broadcasted through the unbound first device, and the network information and the account information are received from the bound second device, so that network connection and account binding are carried out.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of an intelligent device of a device binding method of an intelligent home system according to an embodiment of the present invention;
fig. 2 is a flowchart of an optional device binding method for a smart home system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an optional device binding method for a smart home system according to an embodiment of the present invention;
fig. 4 is a flowchart of an alternative device binding method for a smart home system according to an embodiment of the present invention;
fig. 5 is a block diagram of a structure of an optional device binding apparatus of a smart home system according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the invention can be executed in intelligent equipment or similar arithmetic devices in an Internet of things system or an intelligent home system. Taking an example of an operation on an intelligent device, fig. 1 is a hardware structure block diagram of an intelligent device of an equipment binding method of an intelligent home system according to an embodiment of the present invention. As shown in fig. 1, the smart device 10 may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is merely illustrative and is not intended to limit the structure of the smart device. For example, smart device 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be configured to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the device binding method of the smart home system in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to smart device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the smart device 10. In one example, the transmission device 106 includes a NIC (Network Interface Controller) that can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be an RF (Radio Frequency) module, which is used for communicating with the internet in a wireless manner.
Optionally, in this embodiment, as an optional implementation manner, the method may be performed by an unbound smart device. Fig. 2 is a flowchart of an optional device binding method for a smart home system according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, broadcasting a first broadcast message by the unbound first equipment, wherein the first broadcast message is used for indicating that the first equipment is unbound;
step S204, the first device receives a first response message sent by a second device bound with a target account, wherein the first response message carries account information of the target account and network information for connecting to a target network;
step S206, the first device uses the network information to connect to the target network;
in step S208, the first device binds to the target account through the target network using the account information.
Through the steps, the unbound first device broadcasts a first broadcast message, wherein the first broadcast message is used for indicating that the first device is unbound; the method comprises the steps that first equipment receives a first response message sent by second equipment which is bound with a target account, wherein the first response message carries account information of the target account and network information used for connecting to a target network; the first device connecting to the target network using the network information; the first device is bound with the target account through the target network by using the account information, so that the problems of complex operation and long consumed time existing in a device binding mode in the related technology are solved, the device binding operation is simplified, the device binding consumed time is reduced, the device success rate is improved, and the user experience is further improved.
The following describes an apparatus binding method of the smart home system with reference to fig. 2.
In step S202, an unbound first device broadcasts a first broadcast message, where the first broadcast message is used to indicate that the first device is unbound.
The first device may be an intelligent device in an intelligent home system. The intelligent device in the intelligent home system is internally provided with an intelligent communication module (such as a Bluetooth and WiFi dual module), and the intelligent communication module is a receiving and transmitting unit for realizing the connection between the intelligent device and a network. The intelligent communication module can broadcast in the local area network after being electrified and can be connected with the Internet.
After a user purchases a plurality of intelligent devices, the binding of one of the intelligent devices can be completed according to a device binding method (firstly, the intelligent devices are connected to the Internet and bound with user accounts), and an intelligent communication module of the intelligent device stores correct network and user information.
The smart communication module is an example of a communication unit for performing communication with a smart device and a storage unit for storing network and user information, and the communication unit and the storage unit may be integrated into another module or may be independent units.
In addition to the smart device manually bound by the user, the first unbound device (smart device) may be powered on, the first device may broadcast device information (carried in the first broadcast message), the device information may include a current state (configured connection state, currently unbound) of the smart device, and the device information may further include a device identifier of the first device.
As an alternative, the broadcasting of the first broadcast message by the unbound first device includes: the unbound first device broadcasts a first broadcast message over a preconfigured frequency band via a baseband chip of the first device.
The first device (intelligent device) is provided with a Bluetooth & WiFi chip and can perform broadcasting; the first device may further have: the baseband chip may store preconfigured information, where the preconfigured information includes a preconfigured frequency band for indicating a wireless communication mode used by the first device.
Through the pre-configured frequency band, the unbound intelligent device can broadcast the configuration connection state, and the bound intelligent device can receive the broadcast configuration connection state of the unbound intelligent device, so that the communication efficiency of the unbound intelligent device and the bound intelligent device is improved.
Through the embodiment, the communication efficiency of the intelligent device can be improved and the consumed time for binding the device is reduced by pre-configuring the broadcast frequency band.
In step S204, the first device receives a first response message sent by the second device that has bound to the target account.
The intelligent communication module of the bound second device stores correct network information and user information. After the first broadcast message is monitored, network information and user information can be returned to the first device, the user information is account information of a target account, the network information is network information used for connecting to a target network, and the network information and the account information can be carried in the first response message.
For example, as shown in FIG. 3, the unbound smart device powers up and the newly powered smart device (first device) begins to broadcast a configuration connection status (first broadcast message). After the bound device (second device) monitors the broadcast message, network and user information (first response message) is returned to the new powered device.
In step S206, the first device connects to the target network using the network information.
After receiving the first response message, the first device may obtain the network information carried in the first response message. The first device can complete networking of the first device by using the acquired network information, and the first device is accessed to the internet.
Accessing the first device to the internet may comprise two steps: and accessing to the router to obtain connection authorization.
As an alternative, the first device connecting to the target network using the network information includes: the first device sends a connection request message for requesting connection to a target router in a target network using the network information; the first equipment receives a second response message sent by the target router, wherein the second response message is used for indicating that the first equipment is connected to the target router; the first device obtains connection authorization through the target server via the second device, wherein the target server is a platform server of the smart home system, and the connection authorization is used for authorizing the first device to be connected to a target network through the target router.
The network information may carry a router identifier of the target router, or router parameter information for determining the router identifier. The first device may determine the target router according to the network information, and send a connection request message for requesting connection to the target router.
The target router may check the first device after receiving the connection request message (check whether the first device is a malicious device, etc.), and in case the check is passed, the target router may send a second response message to the first device, the second response message indicating that the first device has connected to the target router.
After receiving the second response message, the first device may interact with a platform server (target server) of the smart home system via the second device, and obtain a connection authorization to connect to the target network through the target router.
For example, as shown in FIG. 3, a newly powered smart device begins connecting to a router and successfully connects to the router.
Through the embodiment, the efficiency and the success rate of the unbound equipment networking can be improved by connecting to the target server and acquiring the connection authorization from the platform server of the intelligent home system.
The first device may obtain the connection authorization through the target server via the second device in various ways, for example, the second device may send a prompt message to prompt discovery of a new intelligent device (first device) to be networked; after detecting an operation performed on any key on the second device or/and the first device, it may be determined that connection authorization is obtained.
The manner of sending out the prompt message may include, but is not limited to, at least one of the following: the prompt information is displayed through the screen, and the prompt sound is sent out through the loudspeaker.
As an optional implementation, the obtaining, by the first device, the connection authorization through the target server via the second device includes: the method comprises the steps that first indication information is sent to third equipment by the first equipment through second equipment and a target server, wherein the first indication information is used for prompting the first equipment to wait for being connected to a target network, and the third equipment is screen equipment bound with a target account; the first device receives a connection authorization message sent by a third device via a target server and a second device, wherein the connection authorization message is used for indicating that the first device is authorized to acquire connection authorization.
After the first device successfully connects to the target router, first indication information may be sent to a screen device (third device) bound to the target account via the second device and the target server to indicate that the first device waits to connect to the target network.
Optionally, the sending, by the first device, the first indication information to the third device via the second device and the target server may include: the method comprises the steps that a first device sends a first notification message to a target server through a second device, wherein the first notification message is used for notifying that the first device is connected to a target router; after receiving the first notification message, the target server sends first indication information to the third device.
The third device may display the first indication information through a screen, acquire the connection authorization, and send the acquired connection authorization to the first device through the target server and the second device by a connection authorization message, so as to notify the first device that the connection authorization has been acquired.
Optionally, the receiving, by the first device, the connection authorization message sent by the third device via the target server and the second device includes: after receiving the first indication information, the third device displays the first indication information, and after detecting a first operation performed on a first key on the third device, sends a second indication message to the target server, wherein the second indication information is used for indicating that the first device is authorized to be connected to the target network; and the target server receives the second indication information and sends a connection authorization message to the first device.
After receiving the first indication information, the third device may display the first indication information, and the displayed content may be: "device identification of first device" + "waiting for connection".
Optionally, if there are multiple devices waiting for connection to the network at the same time, the merged display may be performed on the third device, and connection authorization may be performed at the same time through one operation, the merged display may be performed on the third device, and connection authorization may be performed through multiple operations, respectively displayed on the third device, and connection authorization may be performed at the same time through one operation, and respectively displayed on the third device, and connection authorization may be performed through multiple operations. The manner of the multiple device connection authorization may be set according to needs, which is not specifically limited in this embodiment.
Optionally, in this embodiment, after receiving a connection authorization message sent by the third device via the target server and the second device, the first device may detect a second operation performed on a second key on the first device; responding to the second operation, the first device sends a second notification message to a fourth device, wherein the second notification message is used for notifying the successful operation response state of the second notification message, and the fourth device is a screen device bound with the target account; upon receiving the second notification message, the fourth device sends second indication information indicating that the connection authorization of the first device has been completed to the target server.
In order to ensure the security of connection and ensure the authorization of a specific device, after receiving a connection authorization message, a user can operate any function key of the first device, the first device feeds back a function operation response to the fourth device, and meanwhile, the fourth device informs the target server of the completion of authorization.
For example, as shown in fig. 3, after the newly powered-on smart device is successfully connected to the router, the cloud platform (target server) is notified via the bound smart device, and the device to be networked is discovered. The cloud server pushes a message to notify a smart phone (an android and IOS system) of the user or a bound intelligent device (a third device) with a screen, prompts the user to find a new intelligent device to be accessed to the network, and waits for the user to authorize the device to perform network connection. And clicking the message of any smart phone or screen equipment by the user to perform network connection authorization operation. The user authorization needs the user to operate any function key of the device to be networked, the device to be networked feeds back a function operation response, and meanwhile, the smart phone or the bound intelligent device with the screen (fourth device) informs the cloud platform of authorization completion and can be bound.
Through the embodiment, the device to be accessed is displayed on the bound device with the screen, and the connection authorization process is displayed on the bound device with the screen, so that the connection authorization process can be explicitly displayed, a user can know the connection authorization process, and the user experience can be improved while the authorization security is ensured.
In step S208, the first device binds to the target account through the target network using the account information.
After connecting to the target network, the first device may interact with a target server (a platform server of the smart home system) using the account information carried in the first response message to perform binding with the target account.
As an optional scheme, before the first device binds with the target account through the target network using the account information, the first device receives a second broadcast message broadcasted by the second device, where the second broadcast message is used to notify the target server that a binding window has been opened for the first device, and the binding window is a time period during which the first device is allowed to send the binding request message.
After determining that the first device has been authorized to complete, the target server may open a binding window and notify the first device through the second device.
For example, as shown in fig. 3, the cloud platform opens a binding window and notifies the bound smart devices. The bound smart device broadcasts a notification of the binding window.
According to the embodiment, when the equipment is bound, the window starts to be bound and the equipment to be bound is informed, so that malicious attack can be avoided, and the safety of the intelligent home system is improved.
As an optional scheme, the binding, by the first device, the target account with the account information through the target network includes: the method comprises the steps that a first device sends a binding request message to a target server through a target network, wherein the binding request message is used for requesting to bind the first device with a target account, and the target server is a platform server of the intelligent home system; and the first device receives a third response message returned by the target server, wherein the third response message is used for indicating that the binding between the first device and the target account is completed.
The first device can interact with the platform server in a request-response mode to realize the binding with the target account.
For example, as shown in fig. 3, after the network access device monitors the broadcast notification of the bound smart device, the network access device submits the user information and connects to the cloud server; and the cloud server performs binding action, pushes a message after the binding action is completed, and informs a user of completing the binding.
According to the embodiment, the device to be bound and the target account are bound in a request-response mode, the method is applicable to the existing binding process, changes to the existing network communication mode are reduced, and the network deployment cost is reduced.
As an optional scheme, after the first device is bound to the target account through the target network using the account information, the first device receives a third broadcast message broadcast by a fifth device that is not bound, where the third broadcast message is used to indicate that the fifth device is not bound; and the first equipment sends a fourth response message to the fifth equipment, wherein the fourth response message carries account information and network information.
After the first device is bound with the target account, the first device can be used as a device bound with the target account to interact with other unbound intelligent devices, and the stored network information and account information are sent to the unbound intelligent devices, so that the unbound intelligent devices are connected to a target network by using the network information and are bound with the target account by using the account information through the target network.
Through the embodiment, when the first device is bound with the target account, the first device is used as a device bound with the target account to interact with other unbound intelligent devices, so that the binding of other unbound intelligent devices is realized, and the binding efficiency can be improved.
The following explains the device binding method of the smart home system with reference to an optional example. As shown in fig. 4, the device binding method of the smart home system in this example includes the steps of:
step 1, the new intelligent device is electrified and broadcasts the configuration connection state of the new intelligent device.
And 2, monitoring the broadcast information by the bound intelligent equipment, and sending network and user information to the newly-powered intelligent equipment after receiving the broadcast information.
And 3, receiving the network and user information by the newly-powered intelligent equipment, connecting the router, and then returning to the connection state of the router.
And 4, the bound intelligent equipment receives the router connection success notification and notifies the cloud server.
And 5, the cloud server pushes a message to inform the user mobile phone and each intelligent device with the screen.
And 6, clicking the message by the user and operating any function key of the newly-powered intelligent equipment to start user authorization.
And 7, returning the operation response success state by the newly-powered intelligent equipment to finish the equipment authorization.
And 8, the smart phone or the bound intelligent equipment with the screen informs the cloud platform of finishing authorization.
And 9, the cloud server opens a binding window to inform the bound intelligent equipment.
Step 10, the bound intelligent device broadcasts a bound window opening notice.
And 11, after the newly-powered intelligent equipment monitors the broadcast notification, reporting the equipment and user information, and initiating a binding request.
And step 12, the cloud server checks the equipment validity and finishes binding.
And step 13, the cloud server pushes a message to inform the user of the completion of binding.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an apparatus for binding a device of an intelligent home system is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of which has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a structure of an optional device binding apparatus of a smart home system according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
(1) a first broadcasting module 52 configured to broadcast a first broadcast message, wherein the first broadcast message is used to indicate that the first device is not bound;
(2) a first receiving module 54, connected to the first broadcasting module 52, configured to receive a first response message sent by a second device bound with a target account, where the first response message carries account information of the target account and network information used for connecting to a target network;
(3) a connection module 56 connected to the first receiving module 54 for connecting to the target network using the network information;
(4) and a binding module 58, connected to the connection module 56, for binding the target account with the account information via the target network.
Through the module, because there is oil to drip to fall into under the condition of target ground region in the use of intelligent cooking utensils, when control robot of sweeping the floor moves target ground region, the mode of cleaning that will sweep the floor the robot sets up to the greasy dirt automatically and cleans the mode, clean the oil that the robot of sweeping the floor in to target ground region with control, solved and had the problem that the ground that leads to because robot of sweeping the floor's setting is improper among the correlation technique cleaned unclean, promoted the clean degree on ground, improved the ability of sweeping the floor the robot.
As an alternative, the first broadcasting module includes:
(1) the first broadcasting unit is used for broadcasting a first broadcast message on a pre-configured frequency band through a baseband chip of the first device.
As an alternative, the connection module includes:
(1) a first transmitting unit for transmitting a connection request message for requesting connection to a target router in a target network, using the network information;
(2) a first receiving unit, configured to receive, by a first device, a second response message sent by a target router, where the second response message is used to indicate that the first device is connected to the target router;
(3) and the acquisition unit is used for acquiring connection authorization through the target server via the second equipment, wherein the target server is a platform server of the intelligent home system, and the connection authorization is used for authorizing the first equipment to be connected to the target network through the target router.
As an optional solution, the obtaining unit includes:
(1) the sending subunit is configured to send first indication information to a third device via the second device and the target server, where the first indication information is used to prompt the first device to wait for connection to a target network, and the third device is a device with a screen bound to a target account;
(2) the receiving subunit is configured to receive a connection authorization message sent by the third device via the target server and the second device, where the connection authorization message is used to indicate that the first device is authorized to obtain connection authorization.
As an optional solution, the binding module includes:
(1) the second sending unit is used for sending a binding request message to a target server through a target network, wherein the binding request message is used for requesting to bind the first equipment with a target account, and the target server is a platform server of the intelligent home system;
(2) and the second receiving unit is used for receiving a third response message returned by the target server, wherein the third response message is used for indicating that the binding of the first device and the target account is completed.
As an optional solution, the apparatus further includes:
(1) the second receiving module is configured to receive, by the first device, a second broadcast message broadcasted by the second device before the account information is bound to the target account through the target network, where the second broadcast message is used to notify the target server that a binding window has been opened for the first device, and the binding window is a time period during which the first device is allowed to send the binding request message.
As an optional solution, the apparatus further includes:
(1) a third receiving module, configured to receive a third broadcast message broadcast by an unbound fifth device after the account information is bound with the target account through the target network, where the third broadcast message is used to indicate that the fifth device is unbound;
(2) and the second broadcast module is configured to send a fourth response message to the fifth device, where the fourth response message carries the account information and the network information.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, broadcasting a first broadcast message, wherein the first broadcast message is used for indicating that the first device is not bound;
s2, receiving a first response message sent by a second device bound with a target account, wherein the first response message carries account information of the target account and network information for connecting to a target network;
s3, connecting to the target network using the network information;
and S4, binding the target account with the account information through the target network.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, broadcasting a first broadcast message, wherein the first broadcast message is used for indicating that the first device is not bound;
s2, receiving a first response message sent by a second device bound with a target account, wherein the first response message carries account information of the target account and network information for connecting to a target network;
s3, connecting to the target network using the network information;
and S4, binding the target account with the account information through the target network.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. The equipment binding method of the intelligent home system is characterized by comprising the following steps:
broadcasting a first broadcast message by an unbound first device, wherein the first broadcast message is used for indicating that the first device is unbound;
the first equipment receives a first response message sent by second equipment bound with a target account, wherein the first response message carries account information of the target account and network information for connecting to a target network;
the first device connecting to the target network using the network information;
the first device binds the target account through the target network by using the account information;
wherein the first device connects to the target network using the network information, comprising:
determining that the first equipment determines a target router according to the network information, and sending a connection request message for requesting to connect the target router to the target router;
in the case that the connection request message is verified, the first device connects to the target router and determines a connection authorization message acquired by the first device through a target server via the second device, so as to determine that the first device is allowed to connect to the target network through the target router according to the connection authorization message;
in a case where the first device has connected to the target network, the first device detects a second operation performed on a second key on the first device; responding to the second operation, the first device sends a second notification message to a fourth device, wherein the second notification message is used for notifying the successful operation response state of the second notification message, and the fourth device is a screen device bound with the target account; after receiving the second notification message, the fourth device sends second indication information indicating that the connection authorization of the first device is completed to the target server.
2. The method of claim 1, wherein broadcasting the first broadcast message by the unbound first device comprises:
the unbound first device broadcasts the first broadcast message over a preconfigured frequency band via a baseband chip of the first device.
3. The method of claim 1, wherein the first device connecting to the target network using the network information comprises:
the first device sends a connection request message for requesting connection to a target router in the target network using the network information;
the first equipment receives a second response message sent by the target router, wherein the second response message is used for indicating that the first equipment is connected to the target router;
and the first equipment acquires connection authorization through a target server via the second equipment, wherein the target server is a platform server of the intelligent home system, and the connection authorization is used for authorizing and allowing the first equipment to be connected to the target network through the target router.
4. The method of claim 3, wherein obtaining, by the first device via the second device, the connection authorization through the target server comprises:
the first device sends first indication information to a third device through the second device and the target server, wherein the first indication information is used for prompting the first device to wait for being connected to the target network, and the third device is a screen device bound with the target account;
and the first device receives a connection authorization message sent by the third device via the target server and the second device, wherein the connection authorization message is used for indicating that the first device is authorized to acquire the connection authorization.
5. The method of claim 4,
the first device sending the first indication information to the third device via the second device and the target server comprises: the first device sends a first notification message to the target server via the second device, wherein the first notification message is used for notifying that the first device is connected to the target router; after receiving the first notification message, the target server sends the first indication information to the third device;
the first device receiving the connection authorization message sent by the third device via the target server and the second device includes: after receiving the first indication information, the third device displays the first indication information, and after detecting a first operation performed on a first key on the third device, sends a second indication message to the target server, wherein the second indication information is used for indicating that the first device is authorized to be connected to the target network; and the target server receives the second indication information and sends the connection authorization message to the first equipment.
6. The method of claim 1, wherein the binding of the first device with the target account using the account information over the target network comprises:
the first equipment sends a binding request message to a target server through the target network, wherein the binding request message is used for requesting to bind the first equipment with the target account, and the target server is a platform server of the intelligent home system;
and the first device receives a third response message returned by the target server, wherein the third response message is used for indicating that the binding of the first device and the target account is completed.
7. The method of claim 6, wherein before the first device binds to the target account through the target network using the account information, the method further comprises:
the first device receives a second broadcast message broadcasted by the second device, wherein the second broadcast message is used for notifying the target server that a binding window is opened for the first device, and the binding window is a time period for allowing the first device to send the binding request message.
8. The method of any of claims 1 to 7, wherein after the first device binds with the target account using the account information over the target network, the method further comprises:
the first device receives a third broadcast message broadcast by an unbound fifth device, wherein the third broadcast message is used for indicating that the fifth device is unbound;
and the first device sends a fourth response message to the fifth device, wherein the fourth response message carries the account information and the network information.
9. The utility model provides a device is bound to intelligent home systems's equipment which characterized in that includes:
a first broadcasting module, configured to broadcast a first broadcast message, where the first broadcast message is used to indicate that a first device is not bound;
a first receiving module, configured to receive a first response message sent by a second device bound with a target account, where the first response message carries account information of the target account and network information used for connecting to a target network;
a connection module for connecting to the target network using the network information;
the binding module is used for binding the account information with the target account through the target network;
the connection module is further configured to determine, when it is determined that the first device determines the target router according to the network information, a connection request message for requesting connection to the target router is sent to the target router; in the case that the connection request message is verified, the first device connects to the target router and determines a connection authorization message acquired by the first device through a target server via the second device, so as to determine that the first device is allowed to connect to the target network through the target router according to the connection authorization message; in a case where the first device has connected to the target network, the first device detects a second operation performed on a second key on the first device; responding to the second operation, the first device sends a second notification message to a fourth device, wherein the second notification message is used for notifying the successful operation response state of the second notification message, and the fourth device is a screen device bound with the target account; after receiving the second notification message, the fourth device sends second indication information indicating that the connection authorization of the first device is completed to the target server.
10. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 8 when executed.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911018728.6A CN110971495B (en) | 2019-10-24 | 2019-10-24 | Equipment binding method and device of intelligent household system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911018728.6A CN110971495B (en) | 2019-10-24 | 2019-10-24 | Equipment binding method and device of intelligent household system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110971495A CN110971495A (en) | 2020-04-07 |
CN110971495B true CN110971495B (en) | 2021-12-24 |
Family
ID=70029841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911018728.6A Active CN110971495B (en) | 2019-10-24 | 2019-10-24 | Equipment binding method and device of intelligent household system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110971495B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111737678B (en) * | 2020-06-18 | 2024-05-24 | 海尔优家智能科技(北京)有限公司 | Binding method and device of target equipment, storage medium and electronic device |
CN112037108A (en) * | 2020-08-31 | 2020-12-04 | 海尔优家智能科技(北京)有限公司 | Personal information acquisition and processing method and device |
CN112737849B (en) * | 2020-12-29 | 2023-02-03 | 青岛海尔科技有限公司 | Equipment information processing method and device |
CN112804651B (en) * | 2020-12-29 | 2022-09-27 | 武汉联影智融医疗科技有限公司 | Binding method and device and computer equipment |
CN115236991A (en) * | 2021-04-23 | 2022-10-25 | 青岛海信移动通信技术股份有限公司 | Intelligent household equipment, electronic equipment, and equipment binding method and system |
CN115277384A (en) * | 2021-04-30 | 2022-11-01 | 广州视源电子科技股份有限公司 | Device binding method, apparatus, device, storage medium, and program product |
CN113595839B (en) * | 2021-07-19 | 2022-09-13 | 中移(杭州)信息技术有限公司 | Device binding method, terminal device and storage medium |
CN113596838A (en) * | 2021-07-29 | 2021-11-02 | 北京小米移动软件有限公司 | Equipment distribution network binding method, device, equipment and storage medium |
CN113613251B (en) * | 2021-07-29 | 2024-05-24 | 青岛海尔科技有限公司 | Information synchronization method and system, storage medium and electronic device |
CN115720192A (en) * | 2021-08-24 | 2023-02-28 | 青岛海尔科技有限公司 | Network distribution method and system of equipment, storage medium and electronic device |
CN113824690B (en) * | 2021-08-24 | 2023-10-27 | 青岛海尔科技有限公司 | Method and device for sending control request, storage medium and electronic device |
CN113839991A (en) * | 2021-08-30 | 2021-12-24 | 青岛海尔科技有限公司 | Method and device for confirming equipment information, storage medium and electronic device |
CN115002684B (en) * | 2022-05-25 | 2024-08-02 | 歌尔科技有限公司 | Smart home networking method, device, equipment and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219734A (en) * | 2014-09-15 | 2014-12-17 | 北京益杉科技有限公司 | Internet access method and device for internet device |
CN105188024A (en) * | 2015-10-29 | 2015-12-23 | 小米科技有限责任公司 | Method, apparatus and system for accessing network |
CN105530683A (en) * | 2015-12-21 | 2016-04-27 | 小米科技有限责任公司 | Network connection method and apparatus |
CN105700396A (en) * | 2016-01-22 | 2016-06-22 | 深圳市飞比电子科技有限公司 | Intelligent switch module and control method therefor |
CN107241679A (en) * | 2016-03-29 | 2017-10-10 | 阿里巴巴集团控股有限公司 | One kind connection method for building up, method for sending information, message method and device |
CN107592245A (en) * | 2017-08-28 | 2018-01-16 | 合肥美的智能科技有限公司 | Networking and control mode based on intelligent refrigerator, system, intelligent refrigerator |
CN108770008A (en) * | 2018-06-29 | 2018-11-06 | 海尔优家智能科技(北京)有限公司 | Configuration method, device and the storage medium that household appliance networks |
CN109525621A (en) * | 2017-09-20 | 2019-03-26 | 华为技术有限公司 | A kind of method of data synchronization, equipment and system based on ZigBee binding |
CN109639542A (en) * | 2019-02-27 | 2019-04-16 | 深圳创维-Rgb电子有限公司 | A kind of distribution method and system based on intelligent domestic gateway |
CN109802860A (en) * | 2019-01-17 | 2019-05-24 | 南京遍宇联动科技有限公司 | The configuration method and device of smart machine |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9578106B2 (en) * | 2014-02-26 | 2017-02-21 | Avaya Inc. | System and method for binding a virtual desktop infrastructure host and media soft client together |
CN105741525B (en) * | 2016-02-24 | 2019-10-01 | 北京小米移动软件有限公司 | Processing method, device and the equipment of remote controler binding |
-
2019
- 2019-10-24 CN CN201911018728.6A patent/CN110971495B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219734A (en) * | 2014-09-15 | 2014-12-17 | 北京益杉科技有限公司 | Internet access method and device for internet device |
CN105188024A (en) * | 2015-10-29 | 2015-12-23 | 小米科技有限责任公司 | Method, apparatus and system for accessing network |
CN105530683A (en) * | 2015-12-21 | 2016-04-27 | 小米科技有限责任公司 | Network connection method and apparatus |
CN105700396A (en) * | 2016-01-22 | 2016-06-22 | 深圳市飞比电子科技有限公司 | Intelligent switch module and control method therefor |
CN107241679A (en) * | 2016-03-29 | 2017-10-10 | 阿里巴巴集团控股有限公司 | One kind connection method for building up, method for sending information, message method and device |
CN107592245A (en) * | 2017-08-28 | 2018-01-16 | 合肥美的智能科技有限公司 | Networking and control mode based on intelligent refrigerator, system, intelligent refrigerator |
CN109525621A (en) * | 2017-09-20 | 2019-03-26 | 华为技术有限公司 | A kind of method of data synchronization, equipment and system based on ZigBee binding |
CN108770008A (en) * | 2018-06-29 | 2018-11-06 | 海尔优家智能科技(北京)有限公司 | Configuration method, device and the storage medium that household appliance networks |
CN109802860A (en) * | 2019-01-17 | 2019-05-24 | 南京遍宇联动科技有限公司 | The configuration method and device of smart machine |
CN109639542A (en) * | 2019-02-27 | 2019-04-16 | 深圳创维-Rgb电子有限公司 | A kind of distribution method and system based on intelligent domestic gateway |
Also Published As
Publication number | Publication date |
---|---|
CN110971495A (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110971495B (en) | Equipment binding method and device of intelligent household system and storage medium | |
CN109495358B (en) | Network distribution method and network distribution system for household appliances | |
CN110636483A (en) | Network distribution method and system | |
CN110278568B (en) | Method and network system for constructing networking based on network equipment | |
CN103399530A (en) | Method and system for uniform control of intelligent household electrical appliances, management and control platform and control terminal | |
CN112737845B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
CN110011885B (en) | Control authority binding method and device of electric appliance, storage medium and electric appliance | |
CN112152853A (en) | Equipment network distribution method and device, computer-readable storage medium and electronic device | |
CN112073243B (en) | Intelligent household appliance configuration method, terminal, intelligent household appliance, server and storage medium | |
CN109413653B (en) | Network distribution method and network distribution system for household appliances | |
CN110365704B (en) | Equipment binding method and device and electronic equipment | |
CN109981421B (en) | Intelligent device network distribution method and device | |
CN111741509A (en) | Network distribution method and device, storage medium and processor | |
CN111614523A (en) | Control method of household appliance, intelligent terminal and household appliance | |
CN103634657A (en) | Television and mobile terminal synchronous WIFI connection setup method and device | |
CN112671904A (en) | Method and device for transmitting equipment state information, storage medium and electronic device | |
CN110149622B (en) | Intelligent household appliance control method and device | |
CN116016002A (en) | Intelligent household appliance network distribution method and device and electronic device | |
CN113596792B (en) | Binding method and device of electronic equipment, storage medium and electronic device | |
CN105915416B (en) | Information processing method and terminal equipment | |
CN106648721A (en) | Method and device for upgrading software | |
CN112672352B (en) | Network distribution method for intelligent equipment, mesh relay node, intelligent equipment and server | |
CN111983928A (en) | Household appliance control method and device, electronic equipment and storage medium | |
CN111478816B (en) | Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment | |
CN112817248A (en) | Shared device management method and device, storage medium and electronic device |
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 |