Smart home device network configuration method, network configuration device and processor

By generating identification codes and automatically building target networks on the server side, the problem of low network configuration efficiency for smart home devices is solved, achieving efficient automatic network configuration and simplifying user operations.

CN117311175BActive Publication Date: 2026-11-20GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210705226.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-21
Publication Date
2026-11-20
Estimated Expiration
2042-06-21

AI Technical Summary

Technical Problem

In existing technologies, the network configuration efficiency of smart home devices is low, requiring users to manually operate each device one by one, resulting in a poor user experience.

Method used

By receiving order and target information from the terminal, an identification code is generated, and a target network is automatically built on the server side to achieve automatic network configuration for multiple smart home devices.

Benefits of technology

It improves the network configuration efficiency of smart home devices, simplifies user operations, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117311175B_ABST
    Figure CN117311175B_ABST
Patent Text Reader

Abstract

The application provides a network configuration method and device of a smart home device and a processor. The network configuration method comprises the following steps: receiving order information sent by a first terminal, and generating a first identification code according to the order information; receiving a plurality of target information of a plurality of smart home devices sent by a second terminal, wherein one smart home device corresponds to one target information, the target information comprises a first identifier and a second identification code, the first identifier is the unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for establishing a target network among the plurality of smart home devices; establishing the target network among the plurality of smart home devices according to the target information and the first identification code, and performing network configuration on the plurality of smart home devices. The efficiency of network configuration on the smart home device is high, the user experience is good, and the problem of low efficiency of network configuration on the smart home device in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power distribution networks, and more specifically, to a power distribution method, power distribution device, computer-readable storage medium, and processor for smart home devices. Background Technology

[0002] With the continuous advancement of communication technologies, the Internet of Things (IoT) concept has permeated all aspects of home life. In the smart home sector, customers ordering customized whole-house smart home products often include multiple different smart home devices. For these multiple devices, users need to configure each one individually. Currently, this is typically done one-to-one, a tedious and repetitive process that leads to a poor user experience.

[0003] Therefore, there is an urgent need for a more efficient method for configuring smart home devices on the network.

[0004] The information disclosed above in the background section is only intended to enhance the understanding of the background art of the art described herein. Therefore, the background art may contain certain information that does not constitute prior art known to those skilled in the art in this country. Summary of the Invention

[0005] The main objective of this application is to provide a network configuration method, network configuration device, computer-readable storage medium, and processor for smart home devices, in order to solve the problem of low efficiency in network configuration of smart home devices in the prior art.

[0006] According to one aspect of the present invention, a method for configuring a network for smart home devices is provided, comprising: receiving order information sent by a first terminal, and generating a first identification code based on the order information; receiving multiple target information of multiple smart home devices sent by a second terminal, wherein each smart home device corresponds to one target information, the target information including a first identifier and a second identification code, the first identifier being a unique identifier of the corresponding smart home device, and both the first identification code and the second identification code being unique identifiers for establishing a target network among the multiple smart home devices; establishing the target network among the multiple smart home devices based on the target information and the first identification code, and configuring the network for the multiple smart home devices.

[0007] Optionally, the order information includes an order number, and generating a first identification code based on the order information includes: generating the first identification code based on the order number corresponding to the order information.

[0008] Optionally, establishing the target network among multiple smart home devices based on the target information and the first identification code includes: associating the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device; packaging all the first identifiers associated with the first identification code to obtain a target identifier packet; and sending the target identifier packet to the target device when the target device is detected to be in a network-configured state, so that the target device establishes the target network among multiple smart home devices based on the target identifier packet, wherein the target device is one of the multiple smart home devices.

[0009] Optionally, associating the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device includes: verifying the second identification code corresponding to the smart home device with the first identification code; and if the verification passes, associating the first identifier with the first identification code corresponding to the smart home device.

[0010] Optionally, the process by which the target device establishes the target network among multiple smart home devices based on the target identifier packet is as follows: the target device broadcasts a network request information and multiple first identifiers; after receiving the network request information, the device to be configured with the target device forms a network with the target device to obtain the target network, wherein the device to be configured is one or more of the multiple smart home devices.

[0011] Optionally, after the target device establishes the target network among the multiple smart home devices according to the target identification packet, the network configuration method further includes: receiving network completion information sent by the target device, wherein the network completion information is used to indicate that the target network has been established.

[0012] Optionally, after receiving the network completion information sent by the target device, the network configuration method further includes: sending network configuration information to the target device, so that the target device broadcasts the network configuration information to the devices to be configured in the target network, thereby enabling the devices to be configured to perform network configuration according to the network configuration information, wherein the devices to be configured are one or more of the multiple smart home devices.

[0013] Optionally, after configuring the network for multiple smart home devices, the configuration method further includes: sending configuration completion information to a first terminal, wherein the configuration completion information is used to indicate that the device to be configured has completed configuration.

[0014] According to another aspect of the present invention, a network configuration device for smart home devices is also provided, comprising: a first receiving unit, configured to receive order information sent by a first terminal and generate a first identification code based on the order information; a second receiving unit, configured to receive multiple target information of multiple smart home devices sent by a second terminal, wherein one smart home device corresponds to one target information, the target information includes a first identifier and a second identification code, the first identifier being a unique identifier of the corresponding smart home device, and both the first identification code and the second identification code being unique identifiers for establishing a target network among the multiple smart home devices; and a network configuration unit, configured to establish the target network among the multiple smart home devices based on the target information and the first identification code, and to perform network configuration for the multiple smart home devices.

[0015] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein the program executes any of the above-described smart home device network configuration methods.

[0016] According to another aspect of the present invention, a processor is also provided, the processor being configured to run a program, wherein the program, when running, executes any of the aforementioned smart home device configuration methods.

[0017] In this embodiment of the invention, the network configuration method for smart home devices involves the following steps: First, a first identification code is generated based on order information received from a first terminal. Then, multiple target information messages for multiple smart home devices are received from a second terminal, where each smart home device corresponds to one target information message, and the target information message includes a first identification code and a second identification code. Finally, based on the target information message and the first identification code, a target network is established among the multiple smart home devices, and network configuration is performed on the multiple smart home devices. Compared to existing methods that require users to manually configure multiple smart home devices one by one, this solution only requires sending the target information of multiple smart home devices to a server. The server can automatically establish a target network among the multiple smart home devices and perform network configuration based on the received target information message and the first identification code. In other words, this solution automatically establishes a target network among multiple smart home devices and automatically configures the network for these devices, eliminating the need for users to manually configure each device individually. This ensures high efficiency in configuring smart home devices and a better user experience, thus solving the problem of low efficiency in configuring smart home devices in existing technologies. Attached Figure Description

[0018] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0019] Figure 1 A flowchart illustrating a network configuration method for a smart home device according to an embodiment of this application is shown;

[0020] Figure 2 A schematic diagram of the network configuration device for a smart home device according to an embodiment of this application is shown. Detailed Implementation

[0021] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0024] As mentioned in the background section, the efficiency of network configuration for smart home devices in the prior art is relatively low. In order to solve the above problems, in a typical embodiment of this application, a network configuration method, a network configuration device, a computer-readable storage medium, and a processor for smart home devices are provided.

[0025] According to an embodiment of this application, a method for configuring smart home devices on a network is provided.

[0026] Figure 1 This is a flowchart of a network configuration method for smart home devices according to an embodiment of this application. For example... Figure 1 As shown, this network configuration method is applied to a server and includes the following steps:

[0027] Step S101: Receive order information sent by the first terminal, and generate a first identification code based on the order information;

[0028] Step S102: Receive multiple target information of multiple smart home devices sent by the second terminal, wherein one smart home device corresponds to one target information, and the target information includes a first identifier and a second identification code. The first identifier is the unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for forming a target network among multiple smart home devices.

[0029] Step S103: Based on the target information and the first identification code, establish the target network among the multiple smart home devices and configure the network for the multiple smart home devices.

[0030] In the above-mentioned smart home device configuration method, firstly, a first identification code is generated based on the order information received from the first terminal; then, multiple target information messages for multiple smart home devices are received from the second terminal, wherein each smart home device corresponds to one target information message, and the target information message includes a first identification code and a second identification code; finally, based on the target information message and the first identification code, the target network is established among the multiple smart home devices, and the multiple smart home devices are configured. Compared with the existing technology, which requires users to manually configure multiple smart home devices one by one, this solution only requires sending the target information of multiple smart home devices to the server. The server can automatically establish a target network among the multiple smart home devices based on the received target information and the first identification code, and configure the multiple smart home devices. In other words, this solution automatically establishes a target network among multiple smart home devices and automatically configures the network for these devices, eliminating the need for users to manually configure each device individually. This ensures high efficiency in configuring smart home devices and a better user experience, thus solving the problem of low efficiency in configuring smart home devices in existing technologies.

[0031] Specifically, the first terminal can be a user-operated terminal device, and the second terminal can be a terminal device used by installers or construction personnel. Both the first and second terminals can run the same client. However, in practical applications, the first and second terminals can also run different clients; the first terminal only needs to send order information to the server, and the second terminal only needs to send multiple target information items for the smart home devices to the server.

[0032] In practical applications, the first terminal can place an order on the client side and upload the order information to the server. Upon receiving the order information, the server generates a first identification code based on the order information. For multiple smart home devices in the same order, at the time of manufacture, multiple target information corresponding to each smart home device can be set on the surface of the respective smart home device in the form of a QR code. The second terminal can obtain the corresponding target information by scanning the QR code on the smart home device and upload the multiple target information pieces to the server. Based on the target information and the first identification code, the server establishes a target network among the multiple smart home devices and performs network configuration for the multiple smart home devices.

[0033] In addition, by scanning the QR code on the surface of the smart home device to obtain the corresponding target information, it is possible to not restrict whether the smart home device is powered on and connected to the network, so that the network configuration method of the smart home device in this application can be applied to a variety of scenarios.

[0034] Specifically, the first identifier corresponding to the aforementioned smart home device can be the MAC address of the smart home device, or it can be a serial number (SN) code, etc. Of course, the first identifier corresponding to the aforementioned smart home device can also be an identifier generated according to certain rules. In this application, the aforementioned first identifier is not modified; it is sufficient to use the aforementioned first identifier to uniquely identify the corresponding smart home device.

[0035] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0036] To ensure a relatively simple generation of the first identification code, in one embodiment of this application, the order information includes an order number, and generating the first identification code based on the order information includes: generating the first identification code based on the order number corresponding to the order information.

[0037] Of course, in practical applications, the first identification code is not limited to being generated from the order number in the order information. It can also be generated from the recipient's address, name, or mobile phone number. Furthermore, multiple pieces of information from the order information can be combined to generate the first identification code.

[0038] In another embodiment of this application, establishing the target network among multiple smart home devices based on the target information and the first identification code includes: associating the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device; packaging all the first identifiers associated with the first identification code to obtain a target identifier packet; and sending the target identifier packet to the target device when the target device is detected to be in a network-configured state, so that the target device can establish the target network among multiple smart home devices based on the target identifier packet, wherein the target device is one of the multiple smart home devices. In this embodiment, associating the first identifiers corresponding to multiple smart home devices with the first identification code, packaging all related first identifiers associated with the first identification code, and finally sending the target identifier packet to the target device in a network-configured state, allows the target device to network with the corresponding smart home devices based on the first identifier. This not only ensures accurate network configuration with the smart home devices that need to be networked, but also ensures that the network configuration method is simple and efficient.

[0039] In one specific embodiment of this application, after the second terminal completes the QR code registration of multiple smart home devices under this order, all devices under the order have completed the network registration operation on the server. In this case, the second terminal can transfer the first identification code to the account of the client running on the first terminal by scanning the code through the client. After this operation, the first identification code of the order will be unbound from the account of the second terminal (i.e., the construction worker) and transferred to the account of the first terminal (i.e., the user), thereby enabling the first terminal to obtain the right to operate the smart home devices in the target network. For example, adding smart home devices or controlling each smart home device in the target network.

[0040] In order to more accurately associate the first identifier and the first identification code of the corresponding smart home device, in another embodiment of this application, associating the first identifier and the first identification code according to the first identifier and the second identification code corresponding to the smart home device includes: verifying the second identification code corresponding to the smart home device with the first identification code; and associating the first identifier and the first identification code corresponding to the smart home device if the verification passes.

[0041] In another embodiment of this application, the process by which the target device establishes the target network among multiple smart home devices based on the target identifier packet is as follows: the target device broadcasts a network request information and multiple first identifiers; after receiving the network request information, the device to be paired with the target device forms a network to obtain the target network. The device to be paired with the target device is one or more of the multiple smart home devices. In this embodiment, the target device broadcasts the network request information and multiple first identifiers. After the device to be paired with the target device receives the broadcast network request information and multiple first identifiers, it automatically pairs with the target device to form a network, further ensuring that the establishment of the target network is relatively simple and efficient.

[0042] Specifically, in the above embodiments, the target device can be a smart home device that can be manually configured by the user or construction personnel. For example, in a smart scenario, a total of five smart home devices are required. The first smart home device can be manually configured, while the other four smart home devices (i.e., devices to be configured) actively configure themselves with the target device upon receiving the network configuration request information. This further ensures that the target network can be established in a shorter time.

[0043] Specifically, the target device broadcasts the network formation request information and multiple first identifiers. At this time, more devices awaiting network configuration will receive the network formation request information and multiple first identifiers. These devices can then verify the first identifier against their own identifier. Only devices matching the first identifier will be paired with the target device. This ensures a relatively accurate establishment of the target network and prevents other smart home devices from joining the target network.

[0044] In one specific embodiment of this application, the target network described above can be a broadcast network.

[0045] To ensure timely notification that the target network has been established, in one embodiment of this application, after the target device establishes the target network among multiple smart home devices based on the target identifier packet, the network configuration method further includes: receiving network completion information sent by the target device, wherein the network completion information indicates that the target network has been established. In this embodiment, after the target network has been established, the target device sends the network completion information to the server. Subsequently, the server can send network configuration information to the target device, further enabling the smart home devices within the target network to perform network configuration. This further ensures a shorter overall time from network establishment to network configuration of smart home devices, thus further ensuring a better user experience.

[0046] To further ensure efficient network configuration of smart home devices, in another embodiment of this application, after receiving the network completion information sent by the target device, the network configuration method further includes: sending network configuration information to the target device, so that the target device broadcasts the network configuration information to devices to be configured within the target network, thereby enabling the devices to be configured to perform network configuration according to the network configuration information, wherein the devices to be configured are one or more of the aforementioned smart home devices.

[0047] Specifically, the network configuration information mentioned above can include the wireless router's SSID (Service Set Identifier), password, and encryption method. Of course, this information can also include the Bluetooth name, password, and corresponding encryption method. However, the network configuration information is not limited to those listed above; it can also include information required for configuring other smart home devices.

[0048] Specifically, in practical applications, after all devices to be configured have been configured, the target device can send configuration completion information to the server, which then sends the configuration completion information to the first terminal. Alternatively, the server can perform its own detection; if it detects that all devices to be configured have been configured, it can proactively send configuration completion information to the first terminal.

[0049] In another embodiment of this application, after configuring the network for multiple smart home devices, the configuration method further includes: sending configuration completion information to a first terminal, wherein the configuration completion information indicates that the devices to be configured have completed configuration. In this embodiment, sending the configuration completion information to the first terminal ensures that the user is promptly informed that multiple smart home devices have been configured, further prompting the user to remotely control the smart home devices, thus further ensuring a better user experience.

[0050] Specifically, in the smart home device configuration method of this application, from the user's perspective, the user only needs to manually configure one of the smart home devices to be configured, and the other smart home devices to be configured can automatically form a network and be configured. In other words, the configuration method of this application involves less user intervention and the network configuration steps are relatively simple. Therefore, the configuration method of this application solves the problem of low efficiency in configuring smart home devices in the prior art.

[0051] This application also provides a network configuration device for smart home devices. It should be noted that the network configuration device for smart home devices in this application can be used to execute the network configuration method for smart home devices provided in this application. The following describes the network configuration device for smart home devices provided in this application.

[0052] Figure 2 This is a schematic diagram of the network distribution device for a smart home device according to an embodiment of this application. Figure 2 As shown, the distribution network device includes:

[0053] The first receiving unit 10 is used to receive order information sent by the first terminal and generate a first identification code based on the order information.

[0054] The second receiving unit 20 is used to receive multiple target information of multiple smart home devices sent by the second terminal, wherein one smart home device corresponds to one target information, and the target information includes a first identifier and a second identification code. The first identifier is the unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for forming a target network among multiple smart home devices.

[0055] The distribution unit 30 is used to establish the target network among the multiple smart home devices based on the target information and the first identification code, and to distribute the network to the multiple smart home devices.

[0056] In the aforementioned smart home device configuration device, the first receiving unit receives order information sent by the first terminal and generates a first identification code based on the order information; the second receiving unit receives multiple target information messages for multiple smart home devices sent by the second terminal, wherein each smart home device corresponds to one target information message, and the target information message includes a first identifier and a second identification code. The first identifier is a unique identifier for the corresponding smart home device, and both the first and second identification codes are unique identifiers for establishing a target network among the multiple smart home devices; the configuration unit establishes the target network among the multiple smart home devices based on the target information and the first identification code, and configures the network for the multiple smart home devices. Compared with the prior art, which requires users to manually configure multiple smart home devices one by one, this solution only requires sending the target information of multiple smart home devices to the server. The server can automatically establish a target network among the multiple smart home devices based on the received target information and the first identification code, and configure the network for the multiple smart home devices. In other words, this solution automatically establishes a target network among multiple smart home devices and automatically configures the network for these devices, eliminating the need for users to manually configure each device individually. This ensures high efficiency in configuring smart home devices and a better user experience, thus solving the problem of low efficiency in configuring smart home devices in existing technologies.

[0057] Specifically, the first terminal can be a user-operated terminal device, and the second terminal can be a terminal device used by installers or construction personnel. Both the first and second terminals can run the same client. However, in practical applications, the first and second terminals can also run different clients; the first terminal only needs to send order information to the server, and the second terminal only needs to send multiple target information items for the smart home devices to the server.

[0058] In practical applications, the first terminal can place an order on the client side and upload the order information to the server. Upon receiving the order information, the server generates a first identification code based on the order information. For multiple smart home devices in the same order, at the time of manufacture, multiple target information corresponding to each smart home device can be set on the surface of the respective smart home device in the form of a QR code. The second terminal can obtain the corresponding target information by scanning the QR code on the smart home device and upload the multiple target information pieces to the server. Based on the target information and the first identification code, the server establishes a target network among the multiple smart home devices and performs network configuration for the multiple smart home devices.

[0059] In addition, by scanning the QR code on the surface of the smart home device to obtain the corresponding target information, it is possible to not restrict whether the smart home device is powered on and connected to the network, so that the network configuration method of the smart home device in this application can be applied to a variety of scenarios.

[0060] Specifically, the first identifier corresponding to the aforementioned smart home device can be the MAC address of the smart home device, or it can be a serial number (SN) code, etc. Of course, the first identifier corresponding to the aforementioned smart home device can also be an identifier generated according to certain rules. In this application, the aforementioned first identifier is not modified; it is sufficient to use the aforementioned first identifier to uniquely identify the corresponding smart home device.

[0061] To ensure a relatively simple generation of the first identification code, in one embodiment of this application, the order information includes an order number, and the first receiving unit includes a first generation module, used to generate the first identification code based on the order number corresponding to the order information.

[0062] Of course, in practical applications, the first identification code is not limited to being generated from the order number in the order information. It can also be generated from the recipient's address, name, or mobile phone number. Furthermore, multiple pieces of information from the order information can be combined to generate the first identification code.

[0063] In another embodiment of this application, the network configuration unit includes an association module, a second generation module, and a sending module. The association module associates the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device. The second generation module packages all the first identifiers associated with the first identification code to obtain a target identifier packet. The sending module sends the target identifier packet to the target device when it detects that the target device is in a network configuration state, so that the target device can establish the target network among multiple smart home devices based on the target identifier packet. The target device is one of the multiple smart home devices. In this embodiment, associating the first identifiers corresponding to multiple smart home devices with the first identification code, packaging all related first identifiers associated with the first identification code, and finally sending the target identifier packet to the target device already in a network configuration state allows the target device to network with the corresponding smart home devices based on the first identifier. This not only ensures accurate network configuration with the smart home devices that need to be networked but also ensures a simple and efficient network configuration method.

[0064] In one specific embodiment of this application, after the second terminal completes the QR code registration of multiple smart home devices under this order, all devices under the order have completed the network registration operation on the server. In this case, the second terminal can transfer the first identification code to the account of the client running on the first terminal by scanning the code through the client. After this operation, the first identification code of the order will be unbound from the account of the second terminal (i.e., the construction worker) and transferred to the account of the first terminal (i.e., the user), thereby enabling the first terminal to obtain the right to operate the smart home devices in the target network. For example, adding smart home devices or controlling each smart home device in the target network.

[0065] In order to more accurately associate the first identifier and the first identification code of the corresponding smart home device, in another embodiment of this application, the association module includes a verification submodule and an association submodule. The verification submodule is used to verify the second identification code corresponding to the smart home device with the first identification code. The association submodule is used to associate the first identifier and the first identification code corresponding to the smart home device if the verification passes.

[0066] In another embodiment of this application, the process by which the target device establishes the target network among multiple smart home devices based on the target identifier packet is as follows: the target device broadcasts a network request information and multiple first identifiers; after receiving the network request information, the device to be paired with the target device forms a network to obtain the target network. The device to be paired with the target device is one or more of the multiple smart home devices. In this embodiment, the target device broadcasts the network request information and multiple first identifiers. After the device to be paired with the target device receives the broadcast network request information and multiple first identifiers, it automatically pairs with the target device to form a network, further ensuring that the establishment of the target network is relatively simple and efficient.

[0067] Specifically, in the above embodiments, the target device can be a smart home device that can be manually configured by the user or construction personnel. For example, in a smart scenario, a total of five smart home devices are required. The first smart home device can be manually configured, while the other four smart home devices (i.e., devices to be configured) actively configure themselves with the target device upon receiving the network configuration request information. This further ensures that the target network can be established in a shorter time.

[0068] Specifically, the target device broadcasts the network formation request information and multiple first identifiers. At this time, more devices awaiting network configuration will receive the network formation request information and multiple first identifiers. These devices can then verify the first identifier against their own identifier. Only devices matching the first identifier will be paired with the target device. This ensures a relatively accurate establishment of the target network and prevents other smart home devices from joining the target network.

[0069] In one specific embodiment of this application, the target network described above can be a broadcast network.

[0070] To ensure timely notification that the target network has been established, in one embodiment of this application, the network configuration device further includes a third receiving unit. This unit receives network completion information sent by the target device after the target device has established the target network among multiple smart home devices based on the target identifier packet. The network completion information indicates that the target network has been established. In this embodiment, after the target network is established, the target device sends the network completion information to the server. Subsequently, the server can send network configuration information to the target device, further enabling the smart home devices within the target network to configure the network. This further ensures a shorter overall time from network setup to network configuration, thus providing a better user experience.

[0071] To further ensure efficient network configuration of smart home devices, in another embodiment of this application, the network configuration device further includes a first transmitting unit, configured to send network configuration information to the target device after receiving network completion information sent by the target device, so that the target device broadcasts the network configuration information to devices to be configured within the target network, thereby enabling the devices to be configured to perform network configuration according to the network configuration information, wherein the devices to be configured are one or more of the aforementioned smart home devices.

[0072] Specifically, the network configuration information mentioned above can include the wireless router's SSID (Service Set Identifier), password, and encryption method. Of course, this information can also include the Bluetooth name, password, and corresponding encryption method. However, the network configuration information is not limited to those listed above; it can also include information required for configuring other smart home devices.

[0073] Specifically, in practical applications, after all devices to be configured have been configured, the target device can send configuration completion information to the server, which then sends the configuration completion information to the first terminal. Alternatively, the server can perform its own detection; if it detects that all devices to be configured have been configured, it can proactively send configuration completion information to the first terminal.

[0074] In another embodiment of this application, the network configuration device further includes a second sending unit, which, after configuring the network for multiple smart home devices, sends network configuration completion information to a first terminal. This network configuration completion information indicates that the devices to be configured have completed network configuration. In this embodiment, sending the network configuration completion information to the first terminal ensures that the user is promptly informed that multiple smart home devices have completed network configuration, further prompting the user to remotely control the smart home devices and further ensuring a better user experience.

[0075] Specifically, in the smart home device configuration method of this application, from the user's perspective, the user only needs to manually configure one of the smart home devices to be configured, and the other smart home devices to be configured can automatically form a network and be configured. In other words, the configuration method of this application involves less user intervention and the network configuration steps are relatively simple. Therefore, the configuration method of this application solves the problem of low efficiency in configuring smart home devices in the prior art.

[0076] The network configuration device of the aforementioned smart home device includes a processor and a memory. The first receiving unit, the second receiving unit, and the network configuration unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize the corresponding functions.

[0077] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can address the low efficiency of network configuration for smart home devices in existing technologies.

[0078] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0079] This invention provides a computer-readable storage medium storing a program thereon, which, when executed by a processor, implements the above-described smart home device network configuration method.

[0080] This invention provides a processor for running a program, wherein the program executes the network configuration method for the smart home device.

[0081] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:

[0082] Step S101: Receive order information sent by the first terminal, and generate a first identification code based on the order information;

[0083] Step S102: Receive multiple target information of multiple smart home devices sent by the second terminal, wherein one smart home device corresponds to one target information, and the target information includes a first identifier and a second identification code. The first identifier is the unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for forming a target network among multiple smart home devices.

[0084] Step S103: Based on the target information and the first identification code, establish the target network among the multiple smart home devices and configure the network for the multiple smart home devices.

[0085] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0086] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0087] Step S101: Receive order information sent by the first terminal, and generate a first identification code based on the order information;

[0088] Step S102: Receive multiple target information of multiple smart home devices sent by the second terminal, wherein one smart home device corresponds to one target information, and the target information includes a first identifier and a second identification code. The first identifier is the unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for forming a target network among multiple smart home devices.

[0089] Step S103: Based on the target information and the first identification code, establish the target network among the multiple smart home devices and configure the network for the multiple smart home devices.

[0090] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0091] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units described above can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0092] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0093] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0094] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or 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, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0095] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0096] 1) In the smart home device configuration method of this application, firstly, a first identification code is generated based on the order information received from a first terminal; then, multiple target information of multiple smart home devices is received from a second terminal, wherein one smart home device corresponds to one target information, and the target information includes a first identification code and a second identification code; finally, based on the target information and the first identification code, the target network is established among the multiple smart home devices, and the multiple smart home devices are configured. Compared with the prior art, which requires users to manually configure multiple smart home devices one by one, this solution only requires sending the target information of multiple smart home devices to a server. The server can automatically establish a target network among the multiple smart home devices based on the received target information and the first identification code, and configure the multiple smart home devices. In other words, this solution automatically establishes a target network among multiple smart home devices and automatically configures the network for these devices, eliminating the need for users to manually configure each device individually. This ensures high efficiency in configuring smart home devices and a better user experience, thus solving the problem of low efficiency in configuring smart home devices in existing technologies.

[0097] 2) In the smart home device configuration device of this application, the first receiving unit is used to receive order information sent by the first terminal and generate a first identification code based on the order information; the second receiving unit is used to receive multiple target information of multiple smart home devices sent by the second terminal, wherein one smart home device corresponds to one target information, the target information includes a first identifier and a second identification code, the first identifier is the unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for establishing a target network among multiple smart home devices; the configuration unit is used to establish the target network among multiple smart home devices based on the target information and the first identification code, and to configure the network for multiple smart home devices. Compared with the prior art, which requires users to manually configure multiple smart home devices one by one, this solution only requires sending the target information of multiple smart home devices to the server, and the server can automatically establish a target network among multiple smart home devices based on the received target information and the first identification code, and to configure the network for multiple smart home devices. In other words, this solution automatically establishes a target network among multiple smart home devices and automatically configures the network for these devices, eliminating the need for users to manually configure each device individually. This ensures high efficiency in configuring smart home devices and a better user experience, thus solving the problem of low efficiency in configuring smart home devices in existing technologies.

[0098] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for configuring a smart home device on a network, characterized in that, include: Receive order information sent by the first terminal, and generate a first identification code based on the order information; The system receives multiple target information messages from multiple smart home devices sent by a second terminal, wherein each smart home device corresponds to one target information message, and the target information message includes a first identifier and a second identification code. The first identifier is a unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for establishing a target network among multiple smart home devices. Based on the target information and the first identification code, the target network is established among the multiple smart home devices, and the multiple smart home devices are configured for network access. Based on the target information and the first identification code, establishing the target network among multiple smart home devices includes: associating the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device; packaging all the first identifiers associated with the first identification code to obtain a target identifier packet; and sending the target identifier packet to the target device when the target device is detected to be in a network-configured state, so that the target device establishes the target network among multiple smart home devices based on the target identifier packet, wherein the target device is one of the multiple smart home devices.

2. The distribution network method according to claim 1, characterized in that, The order information includes an order number. Based on the order information, a first identification code is generated, including: The first identification code is generated based on the order number corresponding to the order information.

3. The distribution network method according to claim 1, characterized in that, Associating the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device includes: Verify the second identification code corresponding to the smart home device with the first identification code; If the verification is successful, the first identifier corresponding to the smart home device is associated with the first identification code.

4. The distribution network method according to claim 1, characterized in that, The process by which the target device establishes the target network among multiple smart home devices based on the target identifier packet is as follows: the target device broadcasts a network request information and multiple first identifiers; after receiving the network request information, the device to be configured with the target device forms a network with the target device to obtain the target network; the device to be configured with the target device is one or more of the multiple smart home devices.

5. The distribution network method according to claim 1, characterized in that, After the target device establishes the target network among the multiple smart home devices based on the target identification packet, the network configuration method further includes: Receive network completion information sent by the target device, the network completion information being used to indicate that the target network has been established.

6. The distribution network method according to claim 5, characterized in that, After receiving the network completion information sent by the target device, the network configuration method further includes: Sending network configuration information to the target device so that the target device broadcasts the network configuration information to devices to be configured within the target network, thereby enabling the devices to be configured to perform network configuration according to the network configuration information. The devices to be configured are one or more of the multiple smart home devices.

7. The distribution network method according to any one of claims 1 to 6, characterized in that, After configuring the network for multiple smart home devices, the configuration method further includes: Send network distribution completion information to the first terminal. The network distribution completion information is used to indicate that the equipment to be distributed has completed the network distribution.

8. A network distribution device for smart home devices, characterized in that, include: The first receiving unit is used to receive order information sent by the first terminal and generate a first identification code based on the order information; The second receiving unit is configured to receive multiple target information messages of multiple smart home devices sent by the second terminal, wherein one smart home device corresponds to one target information message, and the target information message includes a first identifier and a second identification code, wherein the first identifier is a unique identifier of the corresponding smart home device, and the first identification code and the second identification code are both unique identification codes for establishing a target network among multiple smart home devices. A network distribution unit is used to establish the target network among multiple smart home devices based on the target information and the first identification code, and to perform network distribution on the multiple smart home devices. The network configuration unit includes an association module, a second generation module, and a sending module. The association module is used to: associate the first identifier with the first identification code based on the first identifier and the second identification code corresponding to the smart home device; the second generation module is used to package all the first identifiers associated with the first identification code to obtain a target identifier packet; the sending module is used to send the target identifier packet to the target device when it detects that the target device is in a network configuration state, so that the target device can establish the target network among multiple smart home devices based on the target identifier packet, where the target device is one of the multiple smart home devices.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program executes the network configuration method for a smart home device according to any one of claims 1 to 7.

10. A processor, characterized in that, The processor is used to run a program, wherein the program executes the network configuration method for smart home devices according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Network distribution method and device for household appliances, storage medium and mobile terminal

    CN109861851A

  • Equipment configuration method and equipment configuration device

    CN113923112A