Binding method and device of a set-top box, electronic device and storage medium
By exchanging information between the gateway device and the server, multiple bundled devices can be bound simultaneously, solving the problems of long binding time and security risks, and improving user experience and binding efficiency.
Patent Information
- Application Number
- CN202311247562.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-09-25
AI Technical Summary
Existing technologies involve long binding times for bundled devices, which negatively impacts user experience, especially when multiple different types of devices need to be bound. Furthermore, the QR code binding method presents security risks and low recognition rates.
The gateway device determines whether the first information includes the second information, identifies the device to be bound as a sub-device in the bundled device, and sends the device identification information to the server. The server obtains the sub-device identification information based on the bundled device identification information, enabling simultaneous binding of multiple devices, simplifying the QR code format, improving the scanning recognition rate, and ensuring user data security.
It significantly shortens the binding time of the kit devices, improves binding efficiency and security, and enhances the user experience.
Smart Images

Figure CN119697206B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) technology, and more particularly to a method, apparatus, electronic device, and storage medium for binding kit devices. Background Technology
[0002] With the rapid development of IoT technology, more and more smart devices are being bound to cloud platform servers. Device binding refers to establishing a connection between a smart device and user information stored on the cloud platform server through an app (application), enabling management and control of the smart device via the app. The device binding process is crucial for user experience, therefore, it is necessary to shorten the binding time.
[0003] Currently, device binding methods include Bluetooth binding, wireless AP (Access Point) binding, acoustic binding, and QR code binding, among others. Based on this, current binding methods can only bind one device at a time. However, when many devices need to be bound, such as multiple sub-devices in a bundled device, each sub-device needs to be bound individually, resulting in significant binding time and negatively impacting the user experience. Summary of the Invention
[0004] This invention provides a method, apparatus, electronic device, and storage medium for binding bundled devices, which solves the problem of long binding time for bundled devices in the prior art, achieves high-efficiency binding of bundled devices, and thus improves the user experience.
[0005] This invention provides a binding method for a bundled device, applied to a gateway device, wherein the bundled device includes at least one sub-device, and the method includes:
[0006] Determine whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device received from the server. The server obtains the sub-device identification information of the at least one sub-device based on the package device identification information corresponding to the package device. The second information is the device identification information of the device to be bound obtained by parsing from the received broadcast information.
[0007] If so, the device to be bound is determined to be a sub-device in the kit device, and a device binding request is sent to the server. The device binding request carries the device identification information of the device to be bound.
[0008] The present invention also provides a binding method for a bundled device, applied to a server, wherein the bundled device includes at least one sub-device, and the method includes:
[0009] Receive the kit identification information corresponding to the kit sent by the client;
[0010] Based on the kit equipment identification information, the sub-device identification information of the at least one sub-device corresponding to the kit equipment is retrieved;
[0011] Send the sub-device identification information of the at least one sub-device to the gateway device;
[0012] Receive a device binding request sent by the gateway device, and obtain the device identification information of the device to be bound carried in the device binding request;
[0013] The device identification information of the device to be bound is linked to the user information of the client, and a binding success message is pushed to the client.
[0014] The present invention also provides a binding method for a bundled device, applied to a client, wherein the bundled device includes at least one sub-device, and the method includes:
[0015] Collect the kit identification information corresponding to the kit equipment;
[0016] The kit device identification information is sent to the server so that the server can query the sub-device identification information of the at least one sub-device corresponding to the kit device based on the kit device identification information.
[0017] The present invention also provides a binding device for a bundled device, deployed on a gateway device, wherein the bundled device includes at least one sub-device, and the device includes:
[0018] The information judgment module is used to determine whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device received from the server. The server obtains the sub-device identification information of the at least one sub-device based on the package device identification information corresponding to the package device. The second information is the device identification information of the device to be bound obtained by parsing from the received broadcast information.
[0019] The request sending module is used to determine, if yes, that the device to be bound is a sub-device in the package of devices, and to send the device binding request to the server, wherein the device binding request carries the device identification information of the device to be bound.
[0020] The present invention also provides a binding device for a bundled device, deployed on a server, wherein the bundled device includes at least one sub-device, and the device includes:
[0021] The information receiving module is used to receive the kit identification information corresponding to the kit sent by the client;
[0022] The information query module is used to query the sub-device identification information of at least one sub-device corresponding to the packaged equipment based on the packaged equipment identification information;
[0023] The first sending module is used to send the sub-device identification information of the at least one sub-device to the gateway device;
[0024] The request receiving module is used to receive the device binding request sent by the gateway device and obtain the device identification information of the device to be bound carried in the device binding request;
[0025] The device binding module is used to establish a binding relationship between the device identification information of the device to be bound and the user information of the client, and push a binding success message to the client.
[0026] The present invention also provides a binding device for a bundled device, deployed on a client side, wherein the bundled device includes at least one sub-device, and the device includes:
[0027] The information acquisition module is used to acquire the kit identification information corresponding to the kit equipment;
[0028] The second sending module is used to send the kit device identification information to the server so that the server can query the sub-device identification information of the at least one sub-device corresponding to the kit device based on the kit device identification information.
[0029] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the binding method of any of the above-described kit devices.
[0030] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the binding method of the kit device as described above.
[0031] The present invention provides a binding method, apparatus, electronic device, and storage medium for bundled devices. The gateway device determines whether the first information includes the second information; if so, it identifies the device to be bound as a sub-device in the bundled device and sends a device binding request carrying the device identification information of the device to be bound to the server. This enables device binding for different types of devices, thereby shortening the binding time for different types of devices. Furthermore, the server obtains the sub-device identification information of at least one sub-device corresponding to the bundled device based on the bundled device identification information. Therefore, in the QR code binding method, it is not necessary to include too much information in the QR code, resulting in a simpler QR code format, which improves the client's scanning recognition rate and ultimately enhances the user experience. Specifically, the sub-device identification information of at least one sub-device is only obtained on the server side, eliminating the size or quantity limitation on the amount of information collected by the client. The client also does not need to send the sub-device identification information of at least one sub-device corresponding to the bundled device, thus ensuring user data security, improving the security of bundled device binding, and ultimately enhancing the user experience. Simultaneously, the first information includes the sub-device identification information of at least one sub-device received from the server, enabling simultaneous binding of multiple devices, significantly shortening the bundled device binding time and further improving the user experience. In summary, this invention can significantly shorten the binding time of bundled devices, improve the binding efficiency of bundled devices, and thus enhance the user experience. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0033] Figure 1 One of the flowcharts illustrating the binding method for the kit device provided by the present invention;
[0034] Figure 2 A second schematic flowchart illustrating the binding method for the kit device provided by the present invention;
[0035] Figure 3 The third flowchart illustrating the binding method for the kit device provided by the present invention;
[0036] Figure 4 The fourth flowchart illustrating the binding method for the kit device provided by the present invention;
[0037] Figure 5 A schematic diagram of the binding system for the kit provided by the present invention;
[0038] Figure 6One of the structural schematic diagrams of the binding device for the kit provided by the present invention;
[0039] Figure 7 A second schematic diagram of the binding device for the kit provided by the present invention;
[0040] Figure 8 A third schematic diagram of the binding device for the kit provided by the present invention;
[0041] Figure 9 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0043] With the rapid development of IoT technology, more and more smart devices are being bound to cloud platform servers. Device binding refers to establishing a connection between a smart device and user information stored on the cloud platform server via an app, allowing for management and control of the smart device through the app. It's important to note that through device binding and control, smart device manufacturers ultimately aim to retain current customers and cultivate them into lifelong clients. Therefore, the device binding experience is crucial, serving as the first and most important step for users when using smart products. Consequently, the device binding process is vital for user experience, and to improve this experience, the binding time needs to be minimized each time.
[0044] Currently, device binding methods include Bluetooth binding, wireless AP binding, acoustic binding, and QR code binding, among others. Based on this, each current binding method can only bind one device at a time. However, when many devices need to be bound, such as multiple sub-devices in a bundled device, each sub-device needs to be bound individually, resulting in significant binding time and negatively impacting the user experience.
[0045] Furthermore, even though there are currently methods for batch binding devices—that is, using IC cards to first collect device information for all devices to be bound, and then the APP reads the device information from the IC card to achieve batch binding (see CN114495331A - A Binding Method, Binding Device, and Binding System for a Smart Lock)—these methods can only bind devices of the same type in batches and cannot bind multiple different types of devices simultaneously. Therefore, they still cannot shorten the binding time for different types of devices. For example, for home users, the types of smart home devices they use are diverse, making batch binding methods that can only bind one type meaningless.
[0046] Furthermore, in the aforementioned binding methods, the QR code binding method typically generates a QR code based on the device information of the device to be bound. For example, it might be generated based on at least one of the following: MAC address, CIMEI, SN, etc. Then, the client device's app scans the code to identify the corresponding device information and establishes a binding relationship with the server. However, since the QR code information includes device information, it poses certain security risks, potentially leading to the leakage of user information, thereby reducing security and ultimately affecting the user experience. For instance, if a user carelessly discards a packaging box with a printed QR code, it could be misused by malicious individuals, creating a security vulnerability.
[0047] Furthermore, binding a smart device to a cloud platform requires at least one piece of hardware information from the device (such as a MAC address or serial number). If the cloud platform is to associate other information, a complete binding process requires at least two pieces of device information, or even more. However, cramming too much information into a QR code results in an overly complex QR code image. Since the capacity of a QR code for client devices to recognize is relatively small, the recognition rate is low, ultimately failing to identify complete device information and thus preventing successful device binding. For example, if the cloud platform is pushing advertising information to a specific type of device, an additional device type ID is required.
[0048] To address the above problems, the present invention proposes the following embodiments. Figure 1 One of the flowcharts illustrating the binding method for the kit device provided by the present invention is as follows: Figure 1 As shown, the binding method for the kit device applied to the gateway device includes:
[0049] Step 110: Determine whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device received from the server. The server obtains the sub-device identification information of the at least one sub-device based on the package device identification information corresponding to the package device. The second information is the device identification information of the device to be bound obtained by parsing from the received broadcast information.
[0050] Here, the set of devices includes at least one sub-device. One set of devices corresponds to one set of device identification information, that is, the at least one sub-device corresponding to the set of devices uniformly uses one set of device identification information. Thus, in the way of scanning and binding, there is no need to put too much information in the two-dimensional code, which makes the generated two-dimensional code format simpler, and then improves the scanning recognition rate of the client. This set of device identification information can be ID information, that is, it is a set ID.
[0051] In one embodiment, the gateway device is a router. For example, the gateway device is the router originally deployed by the user. In another embodiment, the gateway device is a gateway device supporting at least one sub-device corresponding to the set of devices; this gateway device can be set independently, that is, it is an independent device, or it can be a gateway device in the set of devices.
[0052] Here, the server is the server corresponding to at least one sub-device corresponding to the set of devices. This server is used to establish a binding relationship between the device identification information of the device to be bound and the user information of the client, that is, the server is the device bound to at least one sub-device corresponding to the set of devices, that is, the server is the device establishing a connection relationship with at least one sub-device corresponding to the set of devices. For example, in the application scenario of home services, this server is the smart home cloud platform.
[0053] Here, the sub-device identification information of the sub-device can be hardware information, and this sub-device identification information can include but is not limited to: mac, sn, cmei, ID, etc. Further, at least one sub-device's device information (such as configurable information, etc.) can also be received from the server.
[0054] Here, the broadcast information is the information received by the gateway device in its surrounding environment. It can be understood that if a device in the surrounding environment of the gateway device needs to be bound, the device to be bound needs to perform network entry broadcast to enter the network configuration mode. Therefore, the device to be bound needs to broadcast its device identification information. This device identification information can include but is not limited to: mac, sn, cmei, ID, etc. Further, the device to be bound can also broadcast its device information (such as configurable information, etc.).
[0055] Specifically, compare the first information and the second information to determine whether the first information includes the second information.
[0056] For the server, before the above step 110, the server receives the set of device identification information corresponding to the set of devices sent by the client, based on the set of device identification information, queries and obtains the sub-device identification information of at least one sub-device corresponding to the set of devices, and sends the sub-device identification information of at least one sub-device to the gateway device.
[0057] In one embodiment, a network access command sent by the server is received, and the command is parsed to obtain first information. Further, the first information can be stored locally on the gateway device, and the gateway device's network configuration mode can be enabled.
[0058] Furthermore, it is determined whether the gateway device and the server are already bound, i.e., whether a connection relationship has been established between the gateway device and the server. If not, the gateway device is bound to the server. In one embodiment, the client collects the gateway device identification information of the gateway device and sends the gateway device identification information to the server; the server receives the gateway device identification information corresponding to the gateway device sent by the client, establishes a binding relationship between the gateway device identification information and the client's user information, and pushes a binding success message to the client.
[0059] Step 120: If yes, then determine that the device to be bound is a sub-device in the kit device, and send the device binding request to the server. The device binding request carries the device identification information of the device to be bound.
[0060] Specifically, based on the device identification information of the device to be bound, a device binding request corresponding to the device to be bound is generated, so that the device binding request carries the device identification information of the device to be bound, so that the server can receive the device binding request sent by the gateway device, obtain the device identification information of the device to be bound carried in the device binding request, and establish a binding relationship between the device identification information of the device to be bound and the user information of the client.
[0061] The device binding method for bundled devices provided in this invention determines whether the first information includes the second information. If so, the device to be bound is identified as a sub-device in the bundled device, and a device binding request carrying the device identification information of the device to be bound is sent to the server. This enables device binding for different types of devices, thereby shortening the binding time for different types of devices. Furthermore, the server obtains the sub-device identification information of at least one sub-device corresponding to the bundled device based on the bundled device identification information. Therefore, in the QR code binding method, it is not necessary to include too much information in the QR code, resulting in a simpler QR code format, which improves the client's scanning recognition rate and ultimately enhances the user experience. Since the sub-device identification information of at least one sub-device is only obtained on the server side, there is no limit to the amount of information collected by the client, and the client does not need to send the sub-device identification information of at least one sub-device corresponding to the bundled device, thus ensuring user data security, improving the security of bundled device binding, and ultimately enhancing the user experience. Simultaneously, the first information includes the sub-device identification information of at least one sub-device received from the server, enabling simultaneous binding of multiple devices, significantly shortening the binding time of bundled devices, and further improving the user experience. In summary, the embodiments of the present invention can greatly shorten the binding time of the kit devices, improve the binding efficiency of the kit devices, and thus enhance the user experience.
[0062] Based on any of the above embodiments, in this method, step 110 includes:
[0063] Receive the network access command sent by the server, and parse the network access command to obtain the first information;
[0064] Store the first information and enable network distribution mode;
[0065] Receive the second information broadcast by surrounding devices in the environment.
[0066] Here, the network access command carries the first piece of information, namely, the sub-device identification information of at least one sub-device. For the server, after obtaining the sub-device identification information of at least one sub-device, the server generates a network access command based on this information, ensuring that the network access command carries the sub-device identification information of at least one sub-device, and then sends the network access command to the gateway device.
[0067] In this embodiment of the invention, first information is stored to facilitate subsequent determination of whether the first information includes second information. Enabling network configuration mode facilitates receiving second information broadcast by surrounding devices in the environment surrounding the gateway device. For at least one sub-device corresponding to the packaged device, all sub-devices are powered on and put into network configuration mode. At this time, each sub-device will broadcast its device identification information, i.e., each sub-device issues a network configuration broadcast.
[0068] The binding method for bundled devices provided in this embodiment of the invention receives a network access command sent by a server, parses the network access command to obtain first information, that is, the server encapsulates the sub-device identification information of at least one sub-device corresponding to the bundled device into the network access command, so as to better transmit the sub-device identification information of all sub-devices, ensure that at least one sub-device corresponding to the bundled device is successfully bound, and improve the binding accuracy of the bundled device; and stores the first information to facilitate subsequent determination of whether the first information includes the second information, thereby improving the timeliness and accuracy of network access pairing, and thus improving the binding efficiency and binding accuracy of the bundled device; at the same time, the network configuration mode is only started after the first information is obtained by parsing the network access command, reducing the power consumption of the gateway device.
[0069] Based on any of the above embodiments, after the network distribution mode is activated, the method further includes:
[0070] If the network distribution mode is enabled for a preset duration, the network distribution mode is disabled; and / or, if the sub-device identification information of all the sub-devices is sent to the server through the device binding request, the network distribution mode is disabled.
[0071] Considering that some surrounding devices may not enter network configuration mode due to operational issues or malfunctions, the network configuration duration of the gateway device can be set to a preset duration. After the preset duration, the gateway device's network configuration mode will automatically shut down. In other words, if the network configuration mode is active for the preset duration, it will automatically shut down. This preset duration can be set according to actual needs; for example, a preset duration of 5 minutes.
[0072] If the sub-device identification information of at least one sub-device is successfully matched with the second information, meaning that at least one sub-device has successfully configured the network, then the network configuration mode is automatically turned off. In other words, if the sub-device identification information of at least one sub-device matches the device identification information of at least one device to be bound, which is parsed from the received broadcast information, then there is no need to perform network configuration further, and therefore the network configuration mode is automatically turned off.
[0073] The binding method for the bundled devices provided in this embodiment of the invention, if the network configuration mode is enabled for a preset duration, disables the network configuration mode of the gateway device, thereby avoiding prolonged network configuration mode operation and reducing the power consumption of the gateway device; if the sub-device identification information of at least one sub-device corresponding to the bundled device is sent to the server through the device binding request, disables the network configuration mode of the gateway device, thereby avoiding network configuration being completed but still enabled, and reducing the power consumption of the gateway device.
[0074] Based on any of the above embodiments, the present invention also provides a method for binding a kit device, which is applied to a server. Figure 2 The second schematic diagram of the binding method for the kit device provided by the present invention is as follows: Figure 2 As shown, the method includes:
[0075] Step 210: Receive the kit identification information corresponding to the kit device sent by the client.
[0076] Here, a kit device includes at least one sub-device. Each kit device corresponds to a single kit device identifier; that is, at least one sub-device of a kit device uses the same kit device identifier. This eliminates the need to include excessive information in the QR code during the scanning and binding process, resulting in a simpler QR code format and improved scanning and recognition rates for the client. This kit device identifier uniquely identifies the kit device and can be an ID, specifically a kit ID.
[0077] Here, the client is the user terminal device where the app is deployed, such as a smartphone, tablet, laptop, etc. This app is used to bind at least one sub-device corresponding to the bundled device to the server, and it is also used to control at least one sub-device corresponding to the bundled device.
[0078] In one specific embodiment, a device binding request sent by a client is received. This device binding request carries device identification information corresponding to the device. For example, the request body of the device binding request includes the device identification information. More specifically, a device binding request sent by an app in the client is received.
[0079] Step 220: Based on the kit equipment identification information, query the sub-device identification information of the at least one sub-device corresponding to the kit equipment.
[0080] Here, the sub-device identification information of the sub-device can be hardware information, including but not limited to: MAC address, SN, CMI, ID, etc. Furthermore, the server can also receive device information (such as configurable information) for at least one sub-device.
[0081] In some embodiments, the sub-device identification information of at least one sub-device corresponding to the kit device is retrieved from the information stored on the server.
[0082] In one embodiment, based on the packaged device identification information, the sub-device identification information of at least one sub-device corresponding to the packaged device is retrieved from the mapping relationship. The mapping relationship includes a mapping relationship between at least one packaged device identification information, and the mapping relationship between any packaged device identification information includes a mapping relationship between the packaged device identification information and the sub-device identification information of at least one sub-device. In other words, the server stores this mapping relationship, thereby allowing the retrieval of the sub-device identification information of at least one sub-device using the packaged device identification information.
[0083] It is understandable that the sub-device identification information of at least one sub-device is stored on the server side, thus eliminating the need for the client to send the sub-device identification information of at least one sub-device, thereby ensuring user data security, improving security, and ultimately enhancing the user experience.
[0084] Furthermore, considering that the corresponding sub-devices of a bundled device can be added or removed, the current QR code binding method places the sub-device identification information of a fixed number of sub-devices in the QR code. Since QR codes are not easily changed, the bundled device cannot be updated, meaning the application scenarios cannot be expanded. In other words, the current method has a narrow application scope and weak scalability. Therefore, this invention uses a mapping relationship to store the sub-device identification information of at least one sub-device on the server side, allowing users to modify the mapping relationship, thereby improving the scalability of bundled device binding. Specifically, a mapping relationship modification instruction is obtained, and the mapping relationship is modified based on this instruction; more specifically, a mapping relationship modification instruction is obtained, the bundled device identification information is determined based on this instruction, and the mapping relationship corresponding to the bundled device identification information is modified.
[0085] In other embodiments, the sub-device identification information of at least one sub-device corresponding to the kit device is obtained from other devices, thereby eliminating the need for the client to send the sub-device identification information of at least one sub-device, thus ensuring user data security, improving security, and ultimately enhancing the user experience.
[0086] Step 230: Send the sub-device identification information of the at least one sub-device to the gateway device.
[0087] In one embodiment, the sub-device identification information of at least one sub-device is directly sent to the gateway device.
[0088] In another embodiment, a network access command is generated based on the sub-device identification information of at least one sub-device, so that the network access command carries the sub-device identification information of at least one sub-device, and the network access command is sent to the gateway device. It is understood that the server encapsulates the sub-device identification information of at least one sub-device corresponding to the bundled device in the network access command to better transmit the sub-device identification information of all sub-devices, ensuring that at least one sub-device corresponding to the bundled device is successfully bound, and improving the binding accuracy of the bundled device.
[0089] In one embodiment, gateway device identification information sent by a client is received; based on the gateway device identification information, the gateway device to which the sub-device identification information is to be sent is determined. The gateway device identification information is used to uniquely identify the gateway device, for example, it is gateway ID information.
[0090] In another embodiment, the gateway device for sending the sub-device identification information is directly determined based on the package device identification information. The server stores the mapping relationship between the package device identification information and the gateway device.
[0091] Step 240: Receive the device binding request sent by the gateway device and obtain the device identification information of the device to be bound carried in the device binding request.
[0092] Here, the device to be bound is a sub-device corresponding to the bundled device. The device identification information of the device to be bound is obtained by parsing the broadcast information of the device to be bound, which may include, but is not limited to: MAC address, SN, CME, ID, etc.
[0093] Step 250: Establish a binding relationship between the device identification information of the device to be bound and the user information of the client, and push a binding success message to the client.
[0094] Specifically, a binding relationship is established between the device identification information of the device to be bound and the user information of the client, thereby binding the device to the server and realizing device binding. Furthermore, this binding relationship can be stored for subsequent processing based on it.
[0095] In one specific embodiment, based on the device identification information of the device to be bound, a binding success message is generated and pushed to the client. More specifically, the binding success message is pushed to the client's APP.
[0096] The successful binding message is used to notify the device to be bound that the binding has been successful, that is, to indicate that the device has been successfully bound to the server. Specifically, the successful binding information is sent to the client so that after receiving the information, the client can inform the user in a user-friendly way and guide the user to the corresponding device management page to perform device control operations.
[0097] The device binding method provided in this invention involves the server receiving the device identification information corresponding to the device from the client. This eliminates the need to include excessive information in the QR code during the QR code binding process, simplifying the generated QR code format and improving the client's scanning recognition rate, ultimately enhancing the user experience. Specifically, the server only obtains the sub-device identification information of at least one sub-device, eliminating any limitations on the amount of information collected by the client. Furthermore, based on the device identification information, the server retrieves the sub-device identification information of at least one corresponding sub-device, eliminating the need for the client to send this information, thus ensuring user data security and improving the binding efficiency of the device. The security of the binding process ultimately improves the user experience. Next, the sub-device identification information of at least one sub-device is sent to the gateway device to receive the device binding request from the gateway device. The device identification information of the device to be bound, carried in the binding request, is obtained, and a binding relationship is established between the device identification information of the device to be bound and the user information of the client. This allows for the simultaneous binding of multiple devices, significantly reducing the binding time of the bundled devices and improving the user experience. Simultaneously, a successful binding message is pushed to the client to facilitate related logic processing, further enhancing the user experience. Furthermore, this method allows for the simultaneous binding of multiple different types of devices, similarly reducing the binding time for different types of devices. In summary, this invention significantly reduces the binding time of bundled devices, improves the binding efficiency of bundled devices, and ultimately enhances the user experience.
[0098] Based on any of the above embodiments, prior to step 230, the method further includes:
[0099] Receive gateway device identification information sent by the client.
[0100] Here, the kit device identification information is used to uniquely identify the kit device, and it can be ID information, that is, the kit ID.
[0101] In one embodiment, a device binding request sent by a client is received. This device binding request carries device identification information and gateway device identification information corresponding to the device. For example, the request body of the device binding request includes the device identification information and the gateway device identification information. More specifically, a device binding request sent by an app in the client is received. For the client, based on the device identification information and the gateway device identification information, the client generates a device binding request and sends the device binding request to the server.
[0102] Accordingly, step 230 above includes:
[0103] The sub-device identification information of the at least one sub-device is sent to the gateway device corresponding to the gateway device identification information.
[0104] It is understandable that by receiving the gateway device identification information sent by the client, the client can determine which gateway device is currently being configured. For example, if there are multiple gateway devices, the user can decide which gateway device to use through the client, ultimately improving the user experience.
[0105] The binding method for bundled devices provided in this embodiment of the invention can accurately determine which gateway device is paired with the bundled device, thereby accurately sending the sub-device identification information of at least one sub-device to the gateway device, and thus improving the accuracy of bundled device binding.
[0106] Based on any of the above embodiments, after step 250, the method further includes:
[0107] If the device identification information of at least one sub-device is bound to the user information of the client, the linkage rule corresponding to the kit device is obtained from the identification information-linkage rule mapping relationship based on the kit device identification information, so as to control the at least one sub-device based on the linkage rule.
[0108] Here, the identification information-linkage rule mapping relationship includes the mapping relationship of at least one kit device identification information. The mapping relationship of any kit device identification information includes the mapping relationship between the kit device identification information and at least one linkage rule. That is, a kit device can have multiple recommended linkage rules, and a single linkage rule is selected from these recommendations. For example, in smart home application scenarios, linkage rules are the fundamental rules for achieving whole-house smart linkage. This identification information-linkage rule mapping relationship can be pre-set or updated in real time, for example, based on user mapping update commands.
[0109] Specifically, based on the equipment identification information, the recommended linkage rules for the equipment are obtained from the identification information-linkage rule mapping relationship, and linkage rules are created for the equipment based on these linkage rules.
[0110] Furthermore, the linkage rules are sent to the client so that users can view them through the client (i.e., the client displays the linkage rules); or the client can guide users to use the linkage rules. The linkage rules can be displayed as a pop-up or a Toast notification, which provides a friendly way to inform users of the linkage rules and further enhances the user experience.
[0111] Furthermore, a message indicating successful creation of the linkage rule is generated and sent to the client so that users can view the message through the client. Specifically, a pop-up or toast notification can be used to inform users of the successful creation of the linkage rule, thereby further enhancing the user experience.
[0112] The device binding method provided in this embodiment of the invention addresses the issue that current linkage rules are fixed and not pushed to users for viewing. This presents a high learning curve for ordinary users, leading to low usage rates and negatively impacting user experience. Therefore, by establishing a binding relationship between the device identification information of at least one sub-device and the client's user information, the linkage rules corresponding to the device set are obtained from the identification information-linkage rule mapping relationship. This enables automatic generation of linkage rules, which are determined based on the type of device set—specifically, the characteristics of the device set. This intelligently creates linkage rules, facilitating a smart user experience and ultimately increasing user stickiness.
[0113] Based on any of the above embodiments, after obtaining the linkage rule corresponding to the kit device from the identification information-linkage rule mapping relationship based on the kit device identification information, the method further includes:
[0114] Obtain the user profile information corresponding to the client;
[0115] The linkage rules are adjusted based on the user profile information.
[0116] Here, the user profile information refers to the information of users who use the bundled device, and it also refers to the information of users who use the client application, that is, the information of users who use the APP in the client application.
[0117] In one embodiment, user profile information sent by a client is received. In another embodiment, other relevant information sent by the client is received, and user profile information is obtained based on the other relevant information.
[0118] Understandably, under the same set of device identification information, that is, under the same set of devices, different user profile information can correspond to different linkage rules. Therefore, based on the user profile information, the linkage rules are automatically adjusted, that is, the server automatically adjusts the rules according to the user profile to recommend different linkage rules (intelligent scenarios) for binding the same set of devices, thereby further improving the intelligent experience, that is, further improving the user experience and ultimately increasing user stickiness.
[0119] For example, user profile information includes: users have a habit of opening the mobile app (client) around 7:00 AM every day. Based on this, if the set of devices includes a bedside lamp, the linkage rule can be "7:00 AM - turn on the bedroom bedside lamp". Furthermore, user profile information can be recorded in the app's backend and sent to the server.
[0120] The binding method for bundled devices provided in this embodiment of the invention adjusts the linkage rules based on user profile information, thereby realizing personalized adjustment of the linkage rules, intelligently realizing the creation of linkage rules, further enhancing the intelligent experience, that is, further improving the user experience, and ultimately further increasing user stickiness.
[0121] Based on any of the above embodiments, after obtaining the linkage rule corresponding to the kit device from the identification information-linkage rule mapping relationship based on the kit device identification information, the method further includes:
[0122] The linkage rules are sent to the client so that the client can modify the linkage rules.
[0123] Receive the modified linkage rules sent by the client.
[0124] For the client, the linkage rule is displayed to guide the user to modify it. This display can be done via a pop-up or a Toast notification, providing a user-friendly way to inform the user of the linkage rule and guide them to change it, thereby enhancing the user experience.
[0125] Furthermore, based on user profile information, the linkage rules are first adjusted, and then the adjusted linkage rules are sent to the client for modification. Alternatively, the linkage rules are first sent to the client for modification, the modified linkage rules are received from the client, and then adjusted based on the user profile information.
[0126] The binding method for the kit device provided in this embodiment of the invention sends the linkage rules to the client so that the client can modify the linkage rules. The modified linkage rules are received from the client, thereby realizing personalized adjustment of the linkage rules, intelligently realizing the creation of linkage rules, and further improving the intelligent experience, that is, further improving the user experience and ultimately further increasing user stickiness.
[0127] Based on any of the above embodiments, the present invention also provides a method for binding a bundled device, which is applied to a client. Figure 3The third flowchart illustrates the binding method for the kit device provided by this invention. Figure 3 As shown, the method includes:
[0128] Step 310: Collect the kit identification information corresponding to the kit equipment.
[0129] Here, the kit device includes at least one sub-device. Each kit device corresponds to a kit device identification information, meaning that at least one sub-device of a kit device uses the same kit device identification information. Therefore, in the QR code binding method, it is not necessary to put too much information in the QR code, thus making the generated QR code format simpler and improving the client's QR code recognition rate.
[0130] The kit device identification information is used to uniquely identify the kit device. For example, the kit device identification information can be ID information, that is, it is the kit ID.
[0131] The device identification information can be obtained by scanning a QR code, or by Bluetooth, AP, ZigBee, or acoustic wave methods.
[0132] In one embodiment, after step 310 above, it is determined whether the gateway device is bound to the server, i.e., whether a connection relationship has been established with the server. If it is already bound, no further processing is required; if it is not bound, a gateway device binding prompt message is displayed to prompt the user to bind the gateway device first. Further, it is determined whether there is a supported gateway device under the user information (e.g., username) corresponding to the client. If no gateway device is found, a prompt message is output to prompt the user to bind the gateway device.
[0133] Step 320: Send the kit device identification information to the server so that the server can query the sub-device identification information of the at least one sub-device corresponding to the kit device based on the kit device identification information.
[0134] In one embodiment, the kit identification information is sent directly to the server.
[0135] In another embodiment, a kit device binding request is generated based on the kit device identification information, so that the kit device binding request carries the kit device identification information, and the kit device binding request is sent to the server.
[0136] The device binding method provided in this invention collects the device identification information corresponding to the device set. Therefore, in the QR code binding method, it eliminates the need to include excessive information in the QR code, resulting in a simpler QR code format, which improves the client's scanning recognition rate and ultimately enhances the user experience. Specifically, the sub-device identification information of at least one sub-device is only obtained on the server side, and there is no limit to the amount of information collected by the client. Furthermore, the device set identification information only needs to be sent to the server, eliminating the need for the client to send the sub-device identification information of at least one sub-device corresponding to the device set, thus ensuring user data security, improving the security of device binding, and ultimately enhancing the user experience. The server, based on the device set identification information, retrieves the sub-device identification information of at least one sub-device corresponding to the device set, significantly shortening the device binding time and further improving the user experience. Moreover, this method allows for the simultaneous binding of multiple different types of devices, similarly shortening the binding time for different types of devices. Furthermore, this method enables different device binding methods for different types of devices, further reducing the binding time for different types of devices. In summary, this invention can significantly shorten the device binding time of device sets, improve the binding efficiency of device sets, and thus enhance the user experience.
[0137] Based on any of the above embodiments, the method further includes:
[0138] Identify the gateway device that has established a binding relationship with the user information of the client, and obtain the gateway device identification information of the gateway device;
[0139] The gateway device identification information is sent to the server.
[0140] In one embodiment, the client sends user information to the server, so that the server can determine at least one gateway device with which to establish a binding relationship. The server then sends the gateway device identification information of the at least one gateway device to the client, so that the client can determine the currently required gateway device and its identification information based on the gateway device identification information of the at least one gateway device. If the number of at least one gateway device is exactly one, no selection is needed and the device is directly determined; if the number of at least one gateway device is multiple, a gateway selection instruction is received, and the currently required gateway device and its identification information are determined based on the gateway selection instruction.
[0141] In another embodiment, a gateway selection instruction is received, and a gateway device that has established a binding relationship with the user information of the client is identified based on the gateway selection instruction, and the gateway device identification information of the gateway device is obtained.
[0142] In one embodiment, the gateway device identification information is sent directly to the server.
[0143] In another embodiment, a kit device binding request is generated based on the kit device identification information and the gateway device identification information, so that the kit device binding request carries the kit device identification information and the gateway device identification information, and the kit device binding request is sent to the server.
[0144] The binding method for bundled devices provided in this embodiment of the invention can accurately determine which gateway device is paired with the bundled device through the above-described method, and send the gateway device identification information of the gateway device to the server so that the server can accurately send the sub-device identification information of at least one sub-device corresponding to the bundled device to the gateway device, thereby improving the accuracy of bundled device binding.
[0145] Based on any of the above embodiments, in this method, step 310 includes:
[0146] Collect the QR code information corresponding to the kit device;
[0147] If the client's identification information is present in the QR code information, the kit device identification information in the QR code information is obtained.
[0148] It should be noted that each kit of devices corresponds to a QR code. The location of the QR code is not specifically limited. For example, it can be placed on any sub-device or gateway device in the kit, or on the packaging box or instruction manual of each device, etc.
[0149] Specifically, the client scans a QR code to obtain the QR code information corresponding to the kit device. In one embodiment, a QR code scan image of the kit device is acquired, and the QR code information is obtained by parsing the scan image. This QR code scan image can be obtained by the client device taking a picture, for example, by scanning with the client device.
[0150] Here, the identification information is the identification information associated with the client, and further, it is the identification information associated with the APP in the client device. Based on this identification information, it is determined whether the QR code information meets the requirements, that is, whether the current QR code is a QR code supported by the client, and further, whether the current QR code is a QR code supported by the APP.
[0151] In one embodiment, it is determined whether the QR code information contains client identification information. If it does, the device identification information of the package in the QR code information is obtained. If it does not, a prompt message is generated to indicate that the QR code is not supported.
[0152] In one embodiment, after determining that the QR code information contains the client's identification information, it is determined whether the QR code information contains the kit device identification information. If it exists, the kit device identification information in the QR code information is obtained; if it does not exist, the step of collecting the QR code information corresponding to the kit device is returned.
[0153] In one embodiment, the QR code format is as follows:
[0154] https: / / yyyyyyy? suitId=xxxxxxxx;
[0155] Where yyyyyyy represents the client's identification information, and xxxxxxxx represents the kit device identification information.
[0156] The device binding method provided in this embodiment of the invention obtains the device identification information from the QR code information, thus eliminating the need to include too much information in the QR code, thereby simplifying the generated QR code format, improving the scanning and recognition rate of the client, and ultimately enhancing the user experience; furthermore, it first determines whether the client device identification information exists in the QR code information to prevent the recognition of other unrelated QR codes, thereby improving the security of device binding and ultimately enhancing the user experience.
[0157] Based on any of the above embodiments, after step 320, the method further includes:
[0158] Receive the linkage rules corresponding to the kit devices sent by the server;
[0159] Display the aforementioned linkage rules;
[0160] Obtain a rule modification instruction, and modify the linkage rule based on the rule modification instruction;
[0161] The modified linkage rules are sent to the server.
[0162] For example, the linkage rules can be displayed in the form of a pop-up or a Toast message, so as to inform the user of the linkage rules in a friendly way and guide the user to change the linkage rules, thereby further improving the user experience.
[0163] Here, the rule modification command is a command triggered by the user based on the client.
[0164] The binding method for bundled devices provided in this embodiment of the invention obtains a rule modification instruction, modifies the linkage rules corresponding to the bundled devices based on the rule modification instruction, and sends the modified linkage rules to the server, thereby realizing personalized adjustment of linkage rules, intelligently realizing the creation of linkage rules, further improving the intelligent experience, that is, further improving the user experience, and ultimately further improving user stickiness.
[0165] To facilitate understanding of the above embodiments, a specific embodiment will be described here. For example... Figure 4 As shown, the binding method for this kit includes:
[0166] Step 401: Bind the gateway device to the server via the client to establish a persistent connection between the gateway device and the server. This step is unnecessary if the gateway device is already bound to the server.
[0167] Step 402: At least one sub-device corresponding to the packaged equipment powers on and enters the distribution network state. At least one sub-device corresponding to the packaged equipment issues a distribution network broadcast.
[0168] Step 403: Scan the QR code on the kit device using the client to obtain the QR code information.
[0169] Step 404: Determine whether the QR code information contains the client's identification information.
[0170] Step 405: If it exists, obtain the kit identification information of the kit based on the QR code information, and report the kit identification information to the server.
[0171] Step 406: If the QR code does not exist, an error message will be displayed.
[0172] Step 407: Based on the kit equipment identification information, query the sub-device identification information of at least one sub-device corresponding to the kit equipment.
[0173] Step 408: If found, generate a network access command based on the identification information of each sub-device and send the network access command to the gateway device.
[0174] Step 409: If the query cannot be found, an invalid QR code will be displayed.
[0175] Step 410: The gateway device starts the network configuration mode and parses and compares the broadcast information of the surrounding sub-devices.
[0176] Step 411: Bind the successfully matched sub-devices to the server. If there are any sub-devices in the package that have not been successfully bound, return to step 410 above.
[0177] If the comparison fails in step 412, a message will be displayed indicating that the corresponding sub-device failed to join the network.
[0178] Step 413: If all sub-devices in the package are bound, the gateway device will shut down the network configuration mode.
[0179] Step 414: The server generates a linkage rule and pushes the linkage rule to the client.
[0180] Step 415: The client displays intelligent scenes according to the linkage rules.
[0181] Based on the above embodiments, the present invention can bind multiple devices simultaneously, which can solve the problems of long process, long time and poor experience caused by multiple single device bindings in the current market. At the same time, by placing at least one sub-device corresponding to the kit device on the server, and the QR code only contains lightweight kit device identification information, the scanning recognition rate can be higher and the device information can be more secure.
[0182] The binding system for the bundled device provided by this invention is described below. The binding system described below corresponds to the binding method described above. This binding system includes: a server, a client, a gateway device, and at least one sub-device corresponding to the bundled device. When the processor in the server executes a program, it implements any of the binding methods applied to the server as described above. When the processor in the client executes a program, it implements any of the binding methods applied to the client as described above. When the processor in the gateway device executes a program, it implements any of the binding methods applied to the gateway device as described above. To facilitate understanding of this binding system, a specific embodiment is used as an example for illustration. Figure 5 As shown, the binding system of the kit includes the kit device, the server, and the client. The kit device includes at least one sub-device and a gateway device. Each sub-device in the kit device needs to connect to the server. The client needs to obtain the kit device identification information of the kit device, and the client needs to bind at least one sub-device to the server. The server can push various related information to the client.
[0183] The binding device for the kit provided by the present invention is described below. The binding device for the kit described below can be referred to in correspondence with the binding method for the kit described above.
[0184] Figure 6 One of the structural schematic diagrams of the binding device for the kit provided by the present invention is shown below. Figure 6 As shown, the binding device of the kit deployed on the gateway device includes:
[0185] Information judgment module 610 is used to determine whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device received from the server. The server obtains the sub-device identification information of the at least one sub-device based on the package device identification information corresponding to the package device. The second information is the device identification information of the device to be bound obtained by parsing from the received broadcast information.
[0186] The request sending module 620 is used to determine, if yes, that the device to be bound is a sub-device in the kit device, and to send the device binding request to the server, wherein the device binding request carries the device identification information of the device to be bound.
[0187] Figure 7 A second schematic diagram of the binding device for the kit provided by the present invention, as shown below. Figure 7 As shown, the binding device for the kit deployed on the server side includes:
[0188] Information receiving module 710 is used to receive the kit identification information corresponding to the kit sent by the client;
[0189] Information query module 720 is used to query the sub-device identification information of at least one sub-device corresponding to the packaged equipment based on the packaged equipment identification information;
[0190] The first sending module 730 is used to send the sub-device identification information of the at least one sub-device to the gateway device;
[0191] The request receiving module 740 is used to receive the device binding request sent by the gateway device and obtain the device identification information of the device to be bound carried in the device binding request;
[0192] The device binding module 750 is used to establish a binding relationship between the device identification information of the device to be bound and the user information of the client, and push a binding success message to the client.
[0193] Figure 8 The third schematic diagram of the binding device for the kit provided by the present invention is shown below. Figure 8 As shown, the binding device for the kit device deployed on the client includes:
[0194] Information acquisition module 810 is used to acquire the kit identification information corresponding to the kit equipment;
[0195] The second sending module 820 is used to send the kit device identification information to the server so that the server can query the sub-device identification information of the at least one sub-device corresponding to the kit device based on the kit device identification information.
[0196] Figure 9 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 9 As shown, the electronic device may include a processor 910, a communications interface 920, a memory 930, and a communication bus 940, wherein the processor 910, the communications interface 920, and the memory 930 communicate with each other via the communication bus 940. The processor 910 can call logical instructions in the memory 930 to execute a binding method for a bundled device applied to the gateway device. This method includes: determining whether first information includes second information, wherein the first information includes sub-device identification information of the at least one sub-device received from the server, the server obtaining the sub-device identification information of the at least one sub-device based on the bundled device identification information corresponding to the bundled device, and the second information being the device identification information of the device to be bound obtained from received broadcast information; if yes, then determining that the device to be bound is a sub-device in the bundled device, and sending a device binding request to the server, the device binding request carrying the device identification information of the device to be bound. Alternatively, a binding method for a bundled device applied to the server can be executed. This method includes: receiving bundled device identification information corresponding to the bundled device sent by the client; querying sub-device identification information of at least one sub-device corresponding to the bundled device based on the bundled device identification information; sending the sub-device identification information of the at least one sub-device to the gateway device; receiving a device binding request sent by the gateway device and obtaining the device identification information of the device to be bound carried in the device binding request; establishing a binding relationship between the device identification information of the device to be bound and the user information of the client, and pushing a binding success message to the client. Alternatively, a binding method for a bundled device applied to the client can be executed. This method includes: collecting bundled device identification information corresponding to the bundled device; sending the bundled device identification information to the server so that the server can query the sub-device identification information of at least one sub-device corresponding to the bundled device based on the bundled device identification information.
[0197] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0198] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a binding method for a set of devices applied to a gateway device provided by the above methods. The method includes: determining whether first information includes second information, wherein the first information includes sub-device identification information of the at least one sub-device received from a server, wherein the server obtains the sub-device identification information of the at least one sub-device based on the set of devices identification information corresponding to the set of devices, and the second information is device identification information of the device to be bound obtained from received broadcast information; if so, determining that the device to be bound is a sub-device in the set of devices, and sending a device binding request to the server, wherein the device binding request carries the device identification information of the device to be bound. Alternatively, when a computer program is executed by a processor, it implements a binding method for a bundled device applied to a server, as provided by the methods described above. This method includes: receiving bundled device identification information corresponding to the bundled device sent by a client; querying sub-device identification information of at least one sub-device corresponding to the bundled device based on the bundled device identification information; sending the sub-device identification information of the at least one sub-device to a gateway device; receiving a device binding request sent by the gateway device; obtaining device identification information of the device to be bound carried in the device binding request; establishing a binding relationship between the device identification information of the device to be bound and the user information of the client; and pushing a successful binding message to the client. Alternatively, when a computer program is executed by a processor, it implements a binding method for a bundled device applied to a client, as provided by the methods described above. This method includes: collecting bundled device identification information corresponding to the bundled device; sending the bundled device identification information to a server, so that the server can query the sub-device identification information of the at least one sub-device corresponding to the bundled device based on the bundled device identification information.
[0199] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0200] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for binding a set of devices, characterized in that, Applied to gateway devices, the kit includes at least one sub-device, and the method includes: Determine whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device received from the server. The server obtains the sub-device identification information of the at least one sub-device based on the package device identification information corresponding to the package device. The second information is the device identification information of the device to be bound obtained by parsing from the received broadcast information. If so, the device to be bound is determined to be a sub-device in the kit device, and a device binding request is sent to the server. The device binding request carries the device identification information of the device to be bound. The server receives the device identification information of the kit sent by the client; the client collects the device identification information of the kit.
2. The binding method for the kit equipment according to claim 1, characterized in that, The determination of whether the first information includes the second information also includes, prior to: Receive the network access command sent by the server, and parse the network access command to obtain the first information; Store the first information and enable network distribution mode; Receive the second information broadcast by surrounding devices in the environment.
3. The binding method for the kit according to claim 2, characterized in that, The process of activating the network configuration mode also includes: If the network distribution mode is enabled for a preset duration, the network distribution mode is disabled; and / or, If the sub-device identification information of all the sub-devices is sent to the server through the device binding request, the network configuration mode is turned off.
4. A method for binding a set of devices, characterized in that, Applied to the server side, the kit includes at least one sub-device, and the method includes: The client receives the kit identification information corresponding to the kit device sent by the client; the client collects the kit identification information. Based on the kit equipment identification information, the sub-device identification information of the at least one sub-device corresponding to the kit equipment is retrieved; Send the sub-device identification information of the at least one sub-device to the gateway device; Receive a device binding request sent by the gateway device, and obtain the device identification information of the device to be bound carried in the device binding request; Establish a binding relationship between the device identification information of the device to be bound and the user information of the client, and push a binding success message to the client; The gateway device determines whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device, and the second information is the device identification information of the device to be bound obtained from the received broadcast information. If yes, the gateway device determines that the device to be bound is a sub-device in the package device and sends the device binding request to the server.
5. The binding method for the kit according to claim 4, characterized in that, Before sending the sub-device identification information of the at least one sub-device to the gateway device, the process further includes: Receive the gateway device identification information sent by the client. Sending the sub-device identification information of the at least one sub-device to the gateway device includes: The sub-device identification information of the at least one sub-device is sent to the gateway device corresponding to the gateway device identification information.
6. A method for binding a set of devices, characterized in that, Applied to a client, the kit device includes at least one sub-device, and the method includes: Collect the kit identification information corresponding to the kit equipment; The kit device identification information is sent to the server so that the server can query the sub-device identification information of the at least one sub-device corresponding to the kit device based on the kit device identification information; The server sends the sub-device identification information of the at least one sub-device to the gateway device; the server receives a device binding request sent by the gateway device and obtains the device identification information of the device to be bound carried in the device binding request; the server establishes a binding relationship between the device identification information of the device to be bound and the user information of the client, and pushes a binding success message to the client. The gateway device determines whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device, and the second information is the device identification information of the device to be bound obtained from the received broadcast information. If yes, the gateway device determines that the device to be bound is a sub-device in the package device and sends the device binding request to the server.
7. The binding method for the kit according to claim 6, characterized in that, The process of collecting the kit identification information corresponding to the kit includes: Collect the QR code information corresponding to the kit device; If the client's identification information is present in the QR code information, the kit device identification information in the QR code information is obtained.
8. A binding device for a set of equipment, characterized in that, Deployed on a gateway device, the kit includes at least one sub-device, and the device includes: The information judgment module is used to determine whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device received from the server. The server obtains the sub-device identification information of the at least one sub-device based on the package device identification information corresponding to the package device. The second information is the device identification information of the device to be bound obtained by parsing from the received broadcast information. The request sending module is used to determine, if yes, that the device to be bound is a sub-device in the packaged device, and to send the device binding request to the server, wherein the device binding request carries the device identification information of the device to be bound; The server receives the device identification information of the kit sent by the client; the client collects the device identification information of the kit.
9. A binding device for a set of equipment, characterized in that, Deployed on the server side, the kit includes at least one sub-device, and the device includes: The information receiving module is used to receive the kit identification information corresponding to the kit equipment sent by the client; the client collects the kit equipment identification information; The information query module is used to query the sub-device identification information of at least one sub-device corresponding to the packaged equipment based on the packaged equipment identification information; The first sending module is used to send the sub-device identification information of the at least one sub-device to the gateway device; The request receiving module is used to receive the device binding request sent by the gateway device and obtain the device identification information of the device to be bound carried in the device binding request; The device binding module is used to establish a binding relationship between the device identification information of the device to be bound and the user information of the client, and push a binding success message to the client. The gateway device determines whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device, and the second information is the device identification information of the device to be bound obtained from the received broadcast information. If yes, the gateway device determines that the device to be bound is a sub-device in the package device and sends the device binding request to the server.
10. A binding device for a set of equipment, characterized in that, Deployed on a client side, the kit device includes at least one sub-device, and the device includes: The information acquisition module is used to acquire the kit identification information corresponding to the kit equipment; The second sending module is used to send the kit device identification information to the server so that the server can query the sub-device identification information of the at least one sub-device corresponding to the kit device based on the kit device identification information; The server sends the sub-device identification information of the at least one sub-device to the gateway device; the server receives a device binding request sent by the gateway device and obtains the device identification information of the device to be bound carried in the device binding request; the server establishes a binding relationship between the device identification information of the device to be bound and the user information of the client, and pushes a binding success message to the client. The gateway device determines whether the first information includes the second information. The first information includes the sub-device identification information of the at least one sub-device, and the second information is the device identification information of the device to be bound obtained from the received broadcast information. If yes, the gateway device determines that the device to be bound is a sub-device in the package device and sends the device binding request to the server.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the binding method of the kit device as described in any one of claims 1 to 7.
12. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the binding method of the kit device as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method, device and system for establishing binding relationship between account and device
CN106549977A