Network configuration method, apparatus, readable storage medium, computer program product and home device

The network configuration method automates the transfer of configuration information from a networked device to an unconfigured device, simplifying the process and reducing errors by eliminating manual user input and enabling batch configuration.

JP7805525B2Active Publication Date: 2026-01-23MIDEA GRP (SHANGHAI) CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2025513339
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-05-04
Filing Date
2023-11-07
Publication Date
2026-01-23
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

Existing network configuration methods for Internet of Things (IoT) devices require manual user intervention, making the process complicated and prone to errors.

Method used

A network configuration method where device information is acquired by a terminal, transmitted to a server, and then forwarded to a network-configured second device, which performs the configuration on the unconfigured first device, eliminating the need for manual user input and ensuring accurate configuration.

Benefits of technology

Simplifies the network configuration process by automating the transfer of configuration information, reducing errors, and enabling batch configuration of multiple devices without manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007805525000001
    Figure 0007805525000001
  • Figure 0007805525000002
    Figure 0007805525000002
  • Figure 0007805525000003
    Figure 0007805525000003
Patent Text Reader

Abstract

The present application provides a network configuration method, a device, a readable storage medium, and a home device belonging to the technical field of Internet of Things, the network configuration method being executed by a terminal, and including: when a first device is in an unconfigured state, obtaining device information of the first device; and transmitting first network configuration information to the first device, so that the server transmits the device information to a second device; and the second device transmits first network configuration information to the first device, for performing network configuration for the first device, wherein the first network configuration information is the network configuration of the second device.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application was filed in the China Patent Application on May 4, 2023, with application number 202310499658.0, and is entitled "Network configuration method, device, and readable storage medium." , computer program products Priority is claimed from a Chinese patent application entitled "A Method and Device for Home Use," the entire contents of which are incorporated herein by reference. [Technical Field]

[0002] The present application relates to the technical field of Internet of Things (IoT), and in particular to a network configuration method, an apparatus, and a readable storage medium , computer program products and on home devices. [Background technology]

[0003] In Internet of Things technology, network configuration of devices includes terminals discovering their own network configuration, devices searching for their friends' network configuration, and home devices searching for other devices to configure their network. All other network configuration methods require users to manually approve the network configuration, which makes the operation process for users to configure the network of home devices complicated. Summary of the Invention [Problem to be solved by the invention]

[0004] The present application aims to solve one of the technical problems existing in the prior art or related art. [Means for solving the problem]

[0005] To this end, a first aspect of the present application provides a network configuration method.

[0006] A second aspect of the present application provides a network configuration method.

[0007] A third aspect of the present application provides a network configuration method.

[0008] A fourth aspect of the present application provides a network configuration device.

[0009] A fifth aspect of the present application provides a network configuration device.

[0010] A sixth aspect of the present application provides a network configuration device.

[0011] A seventh aspect of the present application provides a network configuration device.

[0012] An eighth aspect of the present application provides a readable storage medium.

[0013] A ninth aspect of the present application provides a computer program product.

[0014] A tenth aspect of the present application provides a home device.

[0015] In view of the above, in a first aspect of the present application, there is provided a network configuration method executed by a terminal, the network configuration method including: when the first device is in an unconfigured state, acquiring device information of the first device; transmitting the device information to a server, thereby causing the server to transmit the device information to a second device; and transmitting first network configuration information to the first device for the second device to perform network configuration for the first device, wherein the first network configuration information is network configuration information of the second device.

[0016] In a second aspect of the present application, there is provided a network configuration method executed by a server, the network configuration method including: receiving device information from a terminal, where the device information is device information of a first device; and transmitting the device information to a second device, thereby causing the second device to transmit first network configuration information to the first device, and performing network configuration on the first device, where the first network configuration information is network configuration information of the second device.

[0017] In a third aspect of the present application, there is provided a network configuration method executed by a second device, the network configuration method including: when receiving device information from a server, establishing a communication connection with a first device through the device information, where the device information is device information of the first device; and sending the first network configuration information to the first device to perform network configuration on the first device, where the first network configuration information is network configuration information of the second device.

[0018] In a fourth aspect of the present application, there is provided a network configuration device applicable to a terminal, the network configuration device including a first acquisition module and a first transmission module, wherein the first acquisition module is used to acquire device information of a first device when the first device is in an unconfigured state, and the first transmission module is used to transmit the device information to a server, thereby causing the server to transmit the device information to a second device, and to transmit first network configuration information to the first device for the second device to perform network configuration for the first device, the first network configuration information being network configuration information of the second device.

[0019] In a fifth aspect of the present application, there is provided a network configuration device applicable to a server, the network configuration device including a first receiving module and a second transmitting module, the first receiving module being used to receive device information from a terminal, the device information being device information of a first device, the second transmitting module being used to transmit the device information to a second device, causing the second device to transmit first network configuration information to the first device, and performing network configuration on the first device, the first network configuration information being network configuration information of the second device.

[0020] In a sixth aspect of the present application, there is provided a network configuration device executed by a second device, the network configuration device including a communication module and a third transmitting module, wherein the communication module, when receiving device information from a server, is used to establish a communication connection with a first device through the device information, the device information being device information of the first device, and the third transmitting module is used to transmit the first network configuration information to the first device to perform network configuration on the first device, the first network configuration information being network configuration information of the second device.

[0021] In a seventh aspect of the present application, a network configuration device is provided, the network configuration device includes a processor and a memory, a program or instruction is stored in the memory, and the processor executes the program or instruction stored in the memory to realize the steps of the network configuration method in any of the above technical solutions, thereby achieving all the beneficial technical effects of the network configuration method in any of the above technical solutions, which will not be described in detail herein.

[0022] In an eighth aspect of the present application, a readable storage medium is provided, in which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the network configuration method in any of the above technical solutions are realized, thereby achieving all the beneficial technical effects of the network configuration method in any of the above technical solutions, which will not be described in detail herein.

[0023] In a ninth aspect of the present application, a computer program product is provided, which stores a program or instruction, and when the program or instruction is executed by a processor, realizes the steps of the network configuration method in any of the above technical solutions, thereby achieving all the beneficial technical effects of the network configuration method in any of the above technical solutions, which will not be described in detail herein.

[0024] In a tenth aspect of the present application, a home device is provided, which includes the network configuration device in any of the above technical solutions, and / or the readable storage medium in any of the above technical solutions, and / or the computer program product in any of the above technical solutions, thereby having all the beneficial technical effects of the network configuration device in any of the above technical solutions, and / or the readable storage medium in any of the above technical solutions, and / or the computer program product in any of the above technical solutions, which will not be described in detail herein. [Effects of the Invention]

[0025] In an embodiment of the present application, device information of a first device is uploaded to a server via a terminal, and the server transfers the device information to a second device that has already been network-configured. The second device then establishes a communication connection with the first device based on the device information, transmits its own first network configuration information to the first device, and performs network configuration for the first device. This eliminates the need for a user to manually perform network configuration for the first device, and the second device can accurately identify the first device that needs to be configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding erroneous network configuration for other devices.

[0026] Additional aspects and advantages of the present application will become apparent from the following description or may be learned by practice of the present application. [Brief explanation of the drawings]

[0027] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of the embodiments taken in conjunction with the drawings. [Figure 1] 1 is a first schematic flowchart of a network configuration method according to some embodiments of the present application; [Figure 2] 1 is a second schematic flowchart of a network configuration method according to some embodiments of the present application; [Figure 3] 1 is a third schematic flowchart of a network configuration method according to some embodiments of the present application. [Figure 4] 10 is a fourth schematic flowchart of a network configuration method according to some embodiments of the present application; [Figure 5] 5 is a fifth schematic flowchart of a network configuration method according to some embodiments of the present application. [Figure 6] 10 is a sixth schematic flowchart of a network configuration method according to some embodiments of the present application. [Figure 7]10 is a seventh schematic flowchart of a network configuration method according to some embodiments of the present application. [Figure 8] FIG. 2 is a first structural block diagram of a network configuration method according to some embodiments of the present application; [Figure 9] FIG. 2 is a second structural block diagram of a network configuration method according to some embodiments of the present application. [Figure 10] FIG. 10 is a third structural block diagram of a network configuration method according to some embodiments of the present application. [Figure 11] FIG. 10 is a fourth structural block diagram of a network configuration method according to some embodiments of the present application. [Figure 12] FIG. 1 is a structural block diagram of a home device according to some embodiments of the present application. DETAILED DESCRIPTION OF THE INVENTION

[0028] In order to more clearly understand the above-mentioned objects, features and advantages of the present application, the present application will be described in more detail in combination with the following drawings and specific embodiments, and unless there is a contradiction, the present embodiments and the features of the present embodiments can be combined with each other.

[0029] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, the present application may be implemented in other ways than those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0030] The following describes a network configuration method, an apparatus, a readable storage medium, a computer program product, and a home device according to some embodiments of the present application, with reference to FIGS.

[0031] As will be understood, all friend-finding network configurations are methods in which a network-configured device blindly searches for devices that are not network-configured, and this method may erroneously trigger network configuration for devices that do not need to be network-configured.

[0032] Therefore, in one embodiment of the present application, there is provided a network configuration method executed by a terminal, as shown in Figure 1. The network configuration method includes the following steps:

[0033] Step (102): When the first device is not in a network configuration state, device information of the first device is obtained.

[0034] Step (104): By transmitting the device information to the server, the server transmits the device information to the second device, and the second device transmits first network configuration information to the first device for performing network configuration for the first device.

[0035] Here, the first network configuration information is the network configuration information of the second device.

[0036] The present application provides a network configuration method for configuring a network of home devices. The network configuration method is executed by a terminal. A user acquires device information of a first device, and after the terminal acquires the device information, it transmits the device information to a server, which then transmits the device information to a second device that has already been network configured. Because the second device is connected to the first device, the second device transmits its first network configuration information to the first device, completing the network configuration of the first device. This eliminates the need for the user to manually input network configuration information, simplifying the network configuration process of the first device. Furthermore, the second device can accurately identify the first device that needs to be network configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0037] For example, a user scans an identification code corresponding to a first device through a terminal, obtains device information corresponding to the first device, and automatically transmits the device information of the first device to a server after obtaining the device information, i.e., the user only needs to scan the identification code of the first device through a terminal to transmit the corresponding device information to a server.

[0038] The second device is a device that matches the terminal. For example, the terminal and the second device are bound to the same account.

[0039] For example, the second device is a network-configured device. A user logs in to corresponding IoT account information through a terminal, and the second device is bound to the IoT account. After the user sends device information to an IoT server through the terminal, the IoT server can automatically search for a matching second device and send the device information to the second device.

[0040] Specifically, a first device is connected to a second device, and the second device transmits its first network configuration information to the first device, and the first device can complete the network configuration through the first network configuration information, where the first device is in a network configuration waiting state to ensure that the second device can establish a communication connection with the first device.

[0041] For example, the first device may be connected to the second device through short-range wireless communication, for example, via Bluetooth (registered trademark).

[0042] Illustratively, a first device may be connected to a second device via Wireless Fidelity (Wi-Fi).

[0043] In this embodiment, when a user obtains device information of a first device through a terminal and transmits the device information to a server, the server automatically obtains the identity authentication information of the login account of the terminal and can search for a second device based on the first network configuration information of the second device. First Device In the process of configuring the network for the first device, the server automatically completes authorization, eliminating the need for the user to re-authorize the first device that has already been configured for the network, further simplifying the user's operation process.

[0044] In an embodiment of the present application, device information of a first device is uploaded to a server via a terminal, and the server transfers the device information to a second device that has already been network-configured. The second device can establish a communication connection with the first device based on the device information and configure the first device by sending its own first network configuration information to the first device. This eliminates the need for a user to manually configure the first device, and the second device can accurately identify the first device that needs to be network-configured based on the device information of the first device and accurately send the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0045] In the above embodiment, the number of the first devices is at least two, and the step of sending the device information to the server includes sending the at least two pieces of device information to the server, and the server sending the at least two pieces of device information to the second device.

[0046] In this embodiment, a specific process for performing network configuration for multiple un-networked first devices is provided.

[0047] Specifically, when a user needs to configure a network for multiple first devices, the user can transmit all device information of the multiple first devices to a server via a terminal, and when the server receives the device information, it can transmit the device information directly to a second device. In the process of performing network configuration for the first devices, the terminal and the server can realize the network configuration for the multiple first devices.

[0048] For example, in a home system, a microwave oven, an air conditioner, and a washing machine are first devices that have not been networked, and a robot vacuum cleaner is a second device that has been networked. When a user needs to configure the microwave oven, the air conditioner, and the washing machine through a terminal, the user scans the codes of the microwave oven, the air conditioner, and the washing machine, respectively. The server sends all device information corresponding to the microwave oven, the air conditioner, and the washing machine to the robot vacuum cleaner, and the robot vacuum cleaner then sends the first network configuration information to the microwave oven, the air conditioner, and the washing machine, respectively, thereby completing the network configuration of the microwave oven, the air conditioner, and the washing machine.

[0049] In an embodiment of the present application, during the process of performing network configuration for multiple first devices that are not yet networked, a user can send device information corresponding to the multiple first devices to a server at one time via a terminal, and perform batch network configuration for the multiple first devices, thereby eliminating the need for the user to wait for the completion of network configuration for a previous first device before performing network configuration for another first device, further simplifying the user's operation process.

[0050] In any of the above embodiments, sending the at least two pieces of device information to the server includes sending first device information of the at least two pieces of device information to the server, whereby the server sends the first device information to the second device, the first device information being device information selected from the at least two pieces of device information based on an acquisition time; and when receiving first network configuration success information from the server, the server sends second device information of the at least two pieces of device information to the server in order to send the second device information to the second device, the second device information including other device information of the at least two pieces of device information excluding the first device information.

[0051] In this embodiment, the terminal transmits device information of a plurality of first devices to the server, and the server transmits the first device information of the plurality of device information to the second device. After the second device completes the network configuration of the corresponding first device through the first device information, it returns the first network configuration success information to the server. success After transmitting the information to the terminal, the terminal continues to transmit second device information of the plurality of device information to the server, and continues to perform network configuration of the first device corresponding to the second device information.

[0052] For example, if the second device fails to configure the first device network corresponding to the first device information, the server cannot receive the corresponding first network configuration success information. That is, the terminal also does not receive the first network configuration success information. success The information cannot be received, and based on this, the terminal can determine that the second device cannot continue to perform network configuration of the first device, and therefore the terminal does not continue to send second device information to the server.

[0053] In an embodiment of the present application, a terminal transmits device information of multiple first devices to a server in batches, and only when the network configuration of the first devices in the previous batch is successful, the terminal continues to transmit the device information of the remaining first devices, thereby improving the success rate of network configuration after the terminal transmits the device information and preventing the terminal from performing a large number of invalid operations of transmitting device information.

[0054] In any of the above embodiments, the device information includes at least one of personal identification information, model information, and communication address information.

[0055] In this embodiment, the device information of the first device is limited to include at least one of personal identification information, model information, and communication address information.

[0056] Specifically, by specifically limiting the device information, it is ensured that a network-configured second device can find a corresponding first device through the device information and perform network configuration for the first device.

[0057] For example, the personal identification information includes a device unique ID (identity document) of the first device, and the second device can accurately find the corresponding first device through the personal identification information. The model information includes the device model.

[0058] Illustratively, the communication address information includes Bluetooth address information of the first device.

[0059] In an embodiment of the present application, by restricting the device information to include at least one of model information, personal identification information, and communication address information of the first device, after the second device receives the device information of the first device sent from the server, it can quickly find the first device through the device information and perform network configuration for the first device.

[0060] In any of the above embodiments, before sending the device information to the server, the network configuration method further includes: sending terminal information of the terminal to the server, so that the server searches for at least two second devices based on the terminal information, whereby, when the server receives the device information, sending the device information to the at least two second devices.

[0061] In this embodiment, before the terminal sends device information of the first device to the server, the server needs to search for a second device that has been network-configured and matches the terminal; after searching for the second device, the server sends the device information of the first device to the second device.

[0062] Specifically, the terminal is bound to a second device in a network-configured state, and after receiving the terminal information, the server can search for the second device bound to the terminal through the terminal information. Note that the number of second devices bound to the terminal information may be one or more.

[0063] For example, the IoT account logged in by the terminal is bound to a second device, and the server can search for the second device bound to it through the IoT account information logged in by the terminal, that is, the terminal and the second device are bound to the same IoT account, and the server searches for a network-configured device in the same IoT account and determines it as the second device.

[0064] In an embodiment of the present application, after a terminal establishes a communication connection with a server, the terminal sends terminal information to the server. The server can search for a second device bound to the terminal information based on the terminal information. This allows the server to transfer device information of a first device to the second device, ensure that the second device that has been network-configured is the device bound to the terminal, and avoid network configuration failures caused by performing network configuration of the first device via another device.

[0065] As shown in FIG. 2, in any of the above embodiments, after sending the device information to the server, the network configuration method further includes:

[0066] Step (202): If the second network configuration success information is not received within the first period, the second network configuration information is obtained.

[0067] Step (204): Perform network configuration for the first device through the second network configuration information.

[0068] In this embodiment, if network configuration for a first device via a second device fails, a user is provided with the ability to obtain second network configuration information via a terminal and use the second network configuration information to perform network configuration for the first device.

[0069] Specifically, after a user transmits device information to a server via a terminal, the server transmits the device information to a second device. The second device searches for the first device through the device information, and the second device performs network configuration for the first device through the first network configuration information. If the network configuration is successful, the server can transmit second network configuration success information to the terminal, thereby notifying the user that the network configuration for the first device has been completed. Therefore, if the terminal does not receive the second network configuration success information from the server within a first period, it determines that it cannot perform network configuration for the first device through the second device. In this case, the terminal performs network configuration for the first device through the acquired second network configuration information.

[0070] For example, the second network configuration information may be network configuration information of a terminal. When the terminal is connected to a Wi-Fi (wireless communication technology) network, information about the Wi-Fi network connected to the terminal can be sent to the first device as the second network configuration information, thereby completing the network configuration of the first device.

[0071] Exemplarily, the second network configuration information may be network configuration information input by a user terminal.

[0072] In an embodiment of the present application, when a network configuration cannot be performed for a first device through a second device, the terminal can obtain corresponding second network configuration information and perform network configuration for the first device through the second network configuration information, thereby avoiding the user from manually configuring the network for the first device when the second device cannot perform network configuration for the first device, and further improving the convenience of network configuration for the first device.

[0073] In any of the above embodiments, when the first device is not network configured, obtaining device information of the first device includes scanning an identification code via the terminal to obtain the device information, the identification code corresponding to the first device.

[0074] In this embodiment, the terminal identification There is provided for performing network configuration on the first device by scanning a code. identification The process of scanning the code can obtain device information of the first device, and the device information can be transmitted to the server via the terminal, thereby realizing authorization of the first device before the network configuration of the first device is completed.

[0075] Here, the identification code has one-to-one correspondence with the first device, that is, the terminal can obtain the device information corresponding to the first device by scanning the identification code.

[0076] For example, the identification code may be a QR code (registered trademark) or a barcode.

[0077] Specifically, after a terminal scans an identification code corresponding to a first device, it transmits the device information to a server. The server obtains the account information logged in by the terminal, binds the account information with the device information, and completes authorization of the first device. The server also transmits the device information to a second device and completes network configuration of the first device via the second device. This allows the user to simultaneously achieve network configuration and authorization of the first device with a single code scanning operation, further simplifying the user's operation steps.

[0078] In one embodiment of the present application, there is provided a network configuration method executed by a server, as shown in Figure 3. The network configuration method includes:

[0079] Step (302): Receive device information from a terminal, where the device information is device information of a first device.

[0080] Step (304): Sending device information to the second device causes the second device to send first network configuration information to the first device, and performing network configuration on the first device, where the first network configuration information is the network configuration information of the second device.

[0081] The present application provides a network configuration method for configuring a network of home devices. The network configuration method is executed by a server. After a user scans a first device that has not been network-configured via a terminal and obtains device information for the first device, the server can receive the device information for the first device sent from the terminal. The server then forwards the device information to a second device that has been network-configured. Because the second device is connected to the first device, the second device completes the network configuration of the first device by sending its own first network configuration information to the first device. This eliminates the need for the user to manually input network configuration information, simplifying the process by which the user configures the first device. Furthermore, the second device can accurately identify the first device that requires network configuration based on the device information of the first device and accurately send the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0082] Specifically, a first device is connected to a second device, and the second device transmits its first network configuration information to the first device, and the first device can complete the network configuration through the first network configuration information, where the first device is in a network configuration waiting state, ensuring that the second device can establish a communication connection with the first device.

[0083] For example, the first device may be connected to the second device through short-range wireless communication, for example, via Bluetooth.

[0084] In this embodiment, the user obtains the device information of the first device through the terminal, and in the process of transmitting the device information to the server, the server automatically obtains the identity authentication information of the login account of the terminal, and can search for the second device based on the first network configuration information of the second device. First Device During the process of configuring the network for the first device, the server can automatically complete authorization, eliminating the need for the user to re-authorize the first device after the network configuration is completed, further simplifying the operation process.

[0085] In an embodiment of the present application, a server receives device information of a first device transmitted by a terminal and transfers the device information to a networked second device, so that the second device can establish a communication connection with the first device based on the device information, and transmit its own first network configuration information to the first device to perform network configuration for the first device. This eliminates the need for a user to manually perform network configuration for the first device, and the second device can accurately identify the first device that needs to be configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration for other devices.

[0086] In the above embodiment, the number of the device information is at least two, and transmitting the device information to the second device includes transmitting at least two pieces of device information to the second device.

[0087] In this embodiment, a specific process is provided in which a server performs network configuration for multiple un-networked first devices.

[0088] Specifically, when a user needs to configure a network of multiple first devices, the user transmits all device information of the multiple first devices to a server via a terminal. Upon receiving the device information, the server can transmit the device information directly to a second device. The terminal and the server can realize the network configuration of the multiple first devices in the process of configuring the network for the first devices.

[0089] For example, in a home system, a microwave oven, an air conditioner, and a washing machine are first devices that are not networked, and a robot vacuum cleaner is a second device that is networked. The server transmits all device information corresponding to the microwave oven, the air conditioner, and the washing machine to the robot vacuum cleaner, and the robot vacuum cleaner transmits first network configuration information to the microwave oven, the air conditioner, and the washing machine, respectively, so that the server can complete the network configuration of the microwave oven, the air conditioner, and the washing machine. Each device information corresponding to can be sent to the robot vacuum cleaner in a pre-set order.

[0090] In an embodiment of the present application, during the process of performing network configuration for multiple first devices that are not yet networked, a user can send device information corresponding to the multiple first devices to a server at one time via a terminal, and perform batch network configuration for the multiple first devices, thereby eliminating the need for the user to wait for the completion of the network configuration for a previous first device before performing network configuration for another first device, further simplifying the user's operation process.

[0091] In any of the above embodiments, the at least two pieces of device information include first device information and second device information.

[0092] Sending the at least two pieces of device information to the second device includes:

[0093] When receiving first device information from the terminal, transmit the first device information to the second device, whereby the second device transmits the first network configuration information to the first device corresponding to the first network configuration information.

[0094] When first network configuration success information returned from the first device corresponding to the first device information is received, the first network configuration success information is sent to the terminal.

[0095] When receiving second device information from the terminal, transmit the second device information to the second device, whereby the second device transmits first device information to the first device corresponding to the second device information.

[0096] In this embodiment, the terminal transmits device information of a plurality of first devices to the server, and the server transmits the first device information of the plurality of device information to the second device. After the second device completes the network configuration for the corresponding first device through the first device information, the second device returns the first network configuration success information to the server. success After transmitting the information to the terminal, the terminal transmits second device information of the plurality of device information to the server again, and the server then performs network configuration of the first device corresponding to the second device information.

[0097] In an embodiment of the present application, the terminal transmits device information of multiple first devices to the server in batches, and only when the network configuration of the first devices in the previous batch is successful, the terminal continues to transmit the device information of the remaining first devices. This improves the success rate of network configuration after the terminal transmits the device information and prevents the terminal from performing a large number of invalid operations of transmitting device information. As shown in Figure 4, in any of the above embodiments, before receiving the device information from the terminal, the network configuration method further includes:

[0098] Step (402): Receive terminal information from the terminal.

[0099] Step (404): Search for at least two second devices based on the terminal information.

[0100] Sending the device information to the second device includes:

[0101] If the device information is received, the device information is transmitted to at least two second devices.

[0102] In this embodiment, the server needs to search for a network-configured second device that matches the terminal, and after searching for the second device, the server is provided to send device information of the first device to the second device.

[0103] Specifically, the terminal is bound to a second device in a network-configured state, and after receiving the terminal information, the server can search for the second device bound to the terminal based on the terminal information. Note that the number of second devices bound to the terminal information may be one or more.

[0104] For example, the IoT account logged in by the terminal is bound to a second device, and the server can search for the second device bound to it through the IoT account information logged in by the terminal, that is, the terminal and the second device are bound to the same IoT account, and the server searches for a network-configured device in the same IoT account and determines it as the second device.

[0105] In an embodiment of the present application, after a terminal establishes a communication connection with a server, the terminal sends terminal information to the server. The server can search for a second device bound to the terminal information based on the terminal information. This allows the server to transfer device information of a first device to the second device, ensure that the second device that has been network-configured is the device bound to the terminal, and avoid network configuration failures caused by performing network configuration on the first device via another device.

[0106] In any of the above embodiments, after receiving the device information from the terminal, the network configuration method further includes: when a second period has elapsed since receiving the device information, deleting the device information and sending first prompt information to the terminal, thereby suggesting that the terminal acquire the device information again.

[0107] In this embodiment, the validity period of the device information of the first device is a second period, and after the server receives the device information, if the second period has elapsed since the server received the device information, the server deletes the device information stored in the server and prompts the user to re-acquire the device information of the first device through first prompt information.

[0108] Specifically, the server sets a valid second period for each first device, starts counting after receiving the device information, and when the counting period reaches the second period, deletes the device information stored in the server and prompts the user to reacquire the device information of the first device through the terminal.

[0109] For example, the second period is 30 minutes. The user transmits device information of the first device to the server by scanning the code, and 30 minutes after the server receives the device information, the server transmits first prompt information to the terminal to re-scan the code.

[0110] In an embodiment of the present application, the server can count the validity period. After the validity period has elapsed since receiving the device information, the server can delete the device information to avoid repeatedly performing network configuration on the first device corresponding to the device information. In addition, when the server needs to perform network configuration on multiple first devices via a second device, device information that cannot perform network configuration can be prevented from interfering with the network configuration process, thereby improving the efficiency of performing network configuration on multiple first devices.

[0111] In any of the above embodiments, after sending the device information to the second device, the network configuration method further includes, if third network configuration success information is received, binding the device information with the terminal.

[0112] In this embodiment, after the server receives the third network configuration success information indicating that the network configuration of the first device is successful, it confirms that the second device has already successfully completed the network configuration for the first device, and thereby completes the authentication of the first device by binding the device information of the first device with the terminal.

[0113] Illustratively, the third network configuration success information is sent to the server from the first device that has successfully completed the network configuration.

[0114] Illustratively, the third network configuration success information is sent to the server from the second device that has successfully completed the network configuration for the first device.

[0115] For example, the terminal has account information logged in to the server, and the server completes the authentication by binding the account information with the device information of the first device that has successfully completed network configuration.

[0116] For example, the server records the device identifier of the terminal, and the server completes the authentication by binding the device identifier of the terminal with the device information of the first device that has successfully completed network configuration.

[0117] In an embodiment of the present application, after the first device has successfully completed network configuration, the server binds the device information of the first device with the terminal and completes authentication of the first device, allowing the user to control the network connection of the first device through the terminal.

[0118] In one embodiment of the present application, there is provided a network configuration method performed by a second device, as shown in Figure 5. The network configuration method includes:

[0119] Step (502): When device information is received from the server, a communication connection with the first device is established through the device information, where the device information is the device information of the first device.

[0120] Step (504): Send first network configuration information to the first device to perform network configuration for the first device, where the first network configuration information is network configuration information of the second device.

[0121] The present application provides a network configuration method for configuring a network of home devices. The network configuration method is executed by a second device. After a user scans a first device that has not been network-configured via a terminal and obtains device information for the first device, a server can receive the device information for the first device transmitted from the terminal. The server then forwards the device information to a second device that has been network-configured. Since the second device is connected to the first device, after receiving the device information for the first device, the second device completes the network configuration of the first device by transmitting its own first network configuration information to the first device. This eliminates the need for the user to manually input network configuration information, simplifying the network configuration process for the first device. Furthermore, the second device can accurately identify the first device that requires network configuration based on the device information for the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0122] Specifically, a first device is connected to a second device, the second device transmits its first network configuration information to the first device, and the first device can complete the network configuration through the first network configuration information, while the first device is in a network configuration standby state to ensure that the second device can establish a communication connection with the first device.

[0123] For example, the first device may be connected to the second device through short-range wireless communication, for example, via Bluetooth.

[0124] In this embodiment, when a user obtains device information of a first device through a terminal and transmits the device information to a server, the server can automatically obtain the identity authentication information of the login account of the terminal, and search for the second device based on the identity authentication information, and search for the second device through the first network configuration information of the second device. First Device In the process of configuring the network for the first device, the server automatically completes authorization, eliminating the need for the user to re-authorize the first device that has already been configured for the network, further simplifying the user's operation process.

[0125] In an embodiment of the present application, a server receives device information of a first device transmitted from a terminal and transfers the device information to a second device that has already been network-configured. The second device can establish a communication connection with the first device based on the device information, transmit its own first network configuration information to the first device, and perform network configuration for the first device. This eliminates the need for a user to manually configure the network for the first device. Furthermore, the second device can accurately identify the first device that needs to be configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration for other devices.

[0126] As shown in FIG. 6 , in the above embodiment, when receiving device information from the server, establishing a communication connection with the first device through the device information includes:

[0127] Step (602): Determine the communication address of the first device based on the device information.

[0128] Step (604): Establish a communication connection with the first device through the communication address.

[0129] In this embodiment, the second device can obtain a communication address corresponding to the first device through the device information, and establish a communication connection between the second device and the first device based on the communication address, thereby ensuring that the second device can send second network configuration information to the first device.

[0130] Illustratively, the second device can obtain the Bluetooth address of the first device through the device information of the first device, and establish a Bluetooth connection with the first device through the obtained Bluetooth address, and the second device transmits first network configuration information to the first device through a Bluetooth channel, thereby realizing network configuration of the first device through the second device.

[0131] The device information includes at least one of personal identification information, model information, and communication address information. By limiting the device information to include at least one of the model information, personal identification information, and communication address information of the first device, it is ensured that the second device, after receiving the device information of the first device sent from the server, can quickly find the first device through the device information and perform network configuration for the first device.

[0132] In an embodiment of the present application, a second device can obtain a communication address corresponding to a first device that is not network-configured through device information of the first device, and establish a communication connection with the first device based on the communication address. The second device can then send first network configuration information to the first device, thereby completing the network configuration of the first device.

[0133] As shown in FIG. 7, in any of the above embodiments, after sending the first network configuration information to the first device, the network configuration method includes:

[0134] Step (702): Obtain a signal strength corresponding to a third device, the third device being in communication connection with the second device.

[0135] Step (704): If the signal strength is within a preset range, send the first network configuration information to the third device to perform network configuration on the third device.

[0136] In this embodiment, a process is provided in which, after a second device completes network configuration for a first device, the second device autonomously performs network configuration for a third device that has not been network configured.

[0137] Specifically, the second device is connected to a plurality of third devices that are not network-configured. After the second device completes network configuration for the first device, the second device can detect the signal strength of each third device. If the signal strength is within a predetermined strength range, the second device automatically configures the third device, i.e., transmits the first network configuration information to the third devices whose signal strengths are within the predetermined strength range, thereby completing network configuration for the third devices.

[0138] For example, the second device is provided with a physical switch button, and after the second device completes the network configuration of the first device, the user can operate the switch button to initiate the network configuration function for the third device.

[0139] In an embodiment of the present application, after completing the network configuration of the first device, the second device can search for a third device that has not been spontaneously configured in the network, and can perform network configuration for the third device that has not been spontaneously configured in the network through the first network configuration information of the second device, thereby realizing the effect that the second device spontaneously completes the network configuration of a device that has not been spontaneously configured in the network, and further improving the convenience of network configuration.

[0140] In any of the above embodiments, if the signal strength is within a preset strength range, after sending the first network configuration information to the third device, the network configuration method further includes sending second prompt information to the terminal, thereby suggesting that the user authorize the third device through the terminal, and the terminal is matched with the second device.

[0141] In this embodiment, after the second device has spontaneously configured the network with the third device, the second device sends a second prompt to the user to authorize the third device, so that the user can complete the authorization of the third device through the terminal after the network configuration is completed.

[0142] Specifically, after the second device sends first network configuration information to the third device, the second device sends second prompt information to the terminal, prompting the user to allow the third device to access the network. After the terminal receives the second prompt information, the user can scan the QR code of the third device through the terminal to complete authorization of the third device and complete binding of the third device with the account information logged in by the terminal.

[0143] Illustratively, the second prompt information includes device information of the third device, allowing the user to search for related information of the third device newly connected to the network through the terminal.

[0144] In an embodiment of the present application, after the second device has completed the network configuration of the third device, the second device may send second prompt information to the terminal to present to the user, thereby preventing the user from forgetting to authorize the third device that has completed the network configuration.

[0145] In an embodiment of the present application, there is provided a network configuration device 800 applied to a terminal, as shown in Fig. 8. The network configuration device 800 includes a first obtaining module and a first sending module.

[0146] The first obtaining module 802 is used to obtain device information of the first device when the first device is in an unnetworked state.

[0147] The first sending module 804 is used to send device information to a server, thereby causing the server to send the device information to a second device, and to send first network configuration information to the first device for the second device to perform network configuration for the first device, where the first network configuration information is the network configuration information of the second device.

[0148] The present application is limited to a network configuration device for performing network configuration of home devices. The network configuration device is applied to a terminal. A user scans a first device that is not network-configured through the terminal and acquires device information of the first device. After acquiring the device information, the terminal transmits the device information to a server. The server forwards the received device information to a second device that has already been network-configured. Since the second device is connected to the first device, the second device transmits its first network configuration information to the first device, completing the network configuration of the first device. This eliminates the need for the user to manually input network configuration information, simplifying the network configuration process of the first device. Furthermore, the second device can accurately identify the first device that needs to be configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0149] In the technical solution of the present application, device information of a first device is uploaded to a server via a terminal, and the server transfers the device information to a second device that has been network-configured, so that the second device can establish a communication connection with the first device based on the device information, send its own first network configuration information to the first device, and perform network configuration of the first device, thereby eliminating the need for a user to manually configure the first device and simplifying the operation process required for network configuration of the first device.

[0150] In the above embodiment, the number of first devices is at least two. The first sending module 804 is used to send the at least two pieces of device information to the server, so that the server sends the at least two pieces of device information to the second device.

[0151] In this embodiment, a specific process for performing network configuration for multiple un-networked first devices is provided.

[0152] Specifically, when a user needs to configure a network for multiple first devices, the user transmits all device information for the multiple first devices to a server via a terminal. Upon receiving the device information, the server can directly transmit the device information to a second device. In the process of configuring the network for the first devices, the terminal and the server can realize the network configuration for the multiple first devices.

[0153] In an embodiment of the present application, in the process of configuring a network for multiple first devices that are not yet configured in a network, a user can send device information corresponding to the multiple first devices to a server at one time via a terminal, and perform network configuration for the multiple first devices in a batch, thereby eliminating the need for the user to wait for the completion of the network configuration for a previous first device before configuring another first device, further simplifying the user's operation process.

[0154] In any of the above embodiments, the first sending module 804 is used to send first device information of the at least two pieces of device information to the server, so that the server sends the first device information to the second device, where the first device information is device information selected based on the acquisition time of the at least two pieces of device information.

[0155] The first sending module 804 is used to send second device information of the at least two pieces of device information to the server when receiving first network configuration success information from the server, so that the server sends the second device information to the second device, where the second device information includes other device information excluding the first device information of the at least two pieces of device information.

[0156] In this embodiment, after the terminal transmits device information of a plurality of first devices to the server, the server transmits the first device information of the plurality of device information to the second device. After the second device completes the network configuration of the corresponding first device through the first device information, it returns first network configuration success information to the server. success After transmitting the information to the terminal, the terminal continues to transmit second device information of the plurality of device information to the server again, and continues to perform network configuration of the first device corresponding to the second device information.

[0157] In an embodiment of the present application, a terminal transmits device information of multiple first devices to a server in batches, and only when the network configuration of the first devices in the previous batch is successful, the terminal continues to transmit the device information of the remaining first devices, thereby improving the success rate of network configuration after the terminal transmits the device information and preventing the terminal from performing a large number of invalid operations of transmitting device information.

[0158] In any of the above embodiments, the device information includes at least one of personal identification information, model information, and communication address information.

[0159] In this embodiment, the device information of the first device is limited to include at least one of personal identification information, model information, and communication address information.

[0160] Specifically, by specifically limiting the device information, a network-configured second device can find a corresponding first device through the device information and perform network configuration for the first device.

[0161] In an embodiment of the present application, the device information is limited to including at least one of the model information, personal identification information, and communication address information of the first device, so that after the second device receives the device information of the first device sent from the server, it can quickly find the first device through the device information and ensure network configuration for the first device.

[0162] In any of the above embodiments, the first sending module 804 is used to send terminal information of the terminal to the server, whereby based on the terminal information, the server searches for at least two second devices, and when the server receives the device information, it sends the device information to the at least two second devices.

[0163] In this embodiment, before the terminal sends device information of the first device to the server, the server needs to search for a second device that has been network-configured and matches the terminal, and after searching for the second device, the server sends the device information of the first device to the second device.

[0164] Specifically, the terminal is bound to a second device in a network-configured state, and after receiving the terminal information, the server can search for the second device bound to the terminal based on the terminal information. Note that the number of second devices bound to the terminal information may be one or more.

[0165] In an embodiment of the present application, after a terminal establishes a communication connection with a server, the terminal sends terminal information to the server. The server can search for a second device bound to the terminal information based on the terminal information. The server then transfers the device information of the first device to the second device, ensuring that the network-configured second device is the device bound to the terminal, thereby avoiding a network configuration failure caused by performing network configuration on the first device via another device.

[0166] In any of the above embodiments, the first obtaining module 802 is used to obtain second network configuration information if the second network configuration success information is not received within a first period of time.

[0167] The network configuration device 800 includes a network configuration module.

[0168] The network configuration module is used to perform network configuration for the first device through the second network configuration information.

[0169] In this embodiment, if the network configuration of the first device via the second device fails, the user is provided with the ability to obtain second network configuration information via the terminal and use the second network configuration information to perform network configuration for the first device.

[0170] Specifically, after a user transmits device information to a server via a terminal, the server transmits the device information to a second device. The second device searches for the first device through the device information, and the second device performs network configuration for the first device through the first network configuration information. If the network configuration is successful, the server transmits second network configuration success information to the terminal, thereby informing the user that the network configuration for the first device has been completed. Therefore, if the terminal does not receive the second network configuration success information from the server within a first period, it determines that it cannot perform network configuration for the first device through the second device. In this case, the terminal performs network configuration for the first device through the acquired second network configuration information.

[0171] In an embodiment of the present application, if the network configuration of the first device via the second device fails, the terminal can obtain corresponding second network configuration information and complete the network configuration of the first device through the second network configuration information, thereby avoiding the need for the user to manually configure the network of the first device when the second device fails to configure the network of the first device, and ensuring further improvement in the convenience of the network configuration of the first device.

[0172] In any of the above embodiments, the network configuration device 800 includes a code scanning module.

[0173] The code scanning module is used to scan an identification code through the terminal and obtain device information, the identification code corresponding to the first device.

[0174] In this embodiment, a method is provided in which a terminal scans a code to perform network configuration for a first device. Device information of the first device can be obtained through the code scanning process. The terminal sends the device information to a server, so that authorization of the first device can be performed before the network configuration of the first device is completed.

[0175] Specifically, after a terminal scans an identification code corresponding to a first device, it transmits the device information to a server. The server obtains the account information logged in by the terminal, binds the account information with the device information, and completes authorization of the first device. The server then transmits the device information to a second device and completes network configuration of the first device via the second device. This allows the user to simultaneously achieve network configuration and authorization of the first device with just one code scanning operation, further simplifying the user's operation steps.

[0176] In one embodiment of the present application, a network configuration device 900 applied to a server is provided, as shown in Figure 9. The network configuration device 900 includes a first receiving module 902 and a second sending module 904.

[0177] The first receiving module 902 is used to receive device information sent from the terminal, the device information being the device information of the first device.

[0178] The second sending module 904 is used to send device information to the second device, so that the second device sends first network configuration information to the first device to perform network configuration for the first device. The first network configuration information is the network configuration information of the second device.

[0179] The present application provides a network configuration device for configuring a network of home devices. The network configuration device is applied to a server. After a user scans a first device that has not been network-configured via a terminal and obtains device information for the first device, the server can receive the device information for the first device transmitted from the terminal. The server then forwards the device information to a second device that has already been network-configured. Because the second device is connected to the first device, the second device transmits its own first network configuration information to the first device, thereby completing the network configuration of the first device. This eliminates the need for the user to manually input network configuration information, simplifying the process for the user to perform network configuration for the first device. Furthermore, the second device can accurately identify the first device that requires network configuration based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0180] In an embodiment of the present application, a server receives device information of a first device transmitted from a terminal and transfers the device information to a second device that has already been network-configured, so that the second device can establish a communication connection with the first device based on the device information, transmit its own first network configuration information to the first device, and perform network configuration for the first device. This eliminates the need for a user to manually perform network configuration for the first device, and the second device can accurately identify the first device that needs to be configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration for other devices.

[0181] In the above embodiment, the number of pieces of device information is at least two.

[0182] The second sending module 904 is used for sending at least two pieces of device information to a second device.

[0183] In this embodiment, a specific process for performing network configuration for multiple un-networked first devices is provided.

[0184] In an embodiment of the present application, in the process of configuring a network for multiple first devices that are not yet configured in a network, a user can send device information corresponding to the multiple first devices to a server at one time via a terminal, and perform network configuration for the multiple first devices in a batch, thereby eliminating the need for the user to wait for the completion of the network configuration for a previous first device before configuring another first device, further simplifying the user's operation process.

[0185] In any of the above embodiments, the at least two pieces of device information include first device information and second device information.

[0186] The second sending module 904 is used to send the first device information to the second device when receiving first device information from the terminal, so that the second device sends first network configuration information to the first device corresponding to the first device information.

[0187] The second sending module 904 is used to send first network configuration success information to the terminal when first network configuration information returned from the first device corresponding to the first device information is received.

[0188] The second sending module 904 is used to send the second device information to the second device when receiving second device information from the terminal, so that the second device sends the first network configuration information to the first device corresponding to the second device information.

[0189] In this embodiment, the terminal transmits device information of a plurality of first devices to the server, and the server transmits first device information of the plurality of device information to the second device. After the second device completes the network configuration of the corresponding first device through the first device information, the second device transmits the first network configuration success After the server sends the first network configuration success information to the terminal, the terminal continues to send second device information of the plurality of device information to the server and continues to perform network configuration of the first device corresponding to the second device information.

[0190] In an embodiment of the present application, a terminal transmits device information of multiple first devices to a server in batches, and only when the network configuration of the first devices in the previous batch is successful, the terminal continues to transmit the device information of the remaining first devices, thereby improving the success rate of network configuration after the terminal transmits the device information and preventing the terminal from performing a large number of invalid operations of transmitting device information.

[0191] In any of the above embodiments, the first receiving module 902 is used to receive terminal information from a terminal.

[0192] The network configuration device 900 includes a search module and a second sending module 90 .

[0193] The search module is used to search for at least two second devices based on the terminal information.

[0194] The second sending module 904 is used for sending the device information to at least two second devices when the device information is received.

[0195] In this embodiment, the server needs to search for a second device that has completed network configuration and matches the terminal, and after searching for the second device, the server is provided to send device information of the first device to the second device.

[0196] In an embodiment of the present application, after a terminal establishes a communication connection with a server, the terminal sends terminal information to the server. The server can search for a second device bound to the terminal information based on the terminal information. This allows the server to subsequently transfer device information of the first device to the second device, ensuring that the network-configured second device is the device bound to the terminal, and avoiding a network configuration failure caused by performing network configuration on the first device via another device.

[0197] In any of the above embodiments, the network configuration device 900 further includes a processing module.

[0198] The processing module is used for, when the received device information reaches a second period, deleting the device information and sending first prompt information to the terminal to prompt the terminal to acquire the device information again.

[0199] In this embodiment, the validity period of the device information of the first device is a second period, and after receiving the device information, if the second period has elapsed since the receipt of the device information, the server deletes the device information stored in the server and prompts the user to reacquire the device information of the first device through first prompt information.

[0200] In an embodiment of the present application, the server can count the validity period. After the validity period of the device information has expired, the server can delete the device information to avoid repeatedly performing network configuration on the first device corresponding to the device information. In addition, when the server needs to perform network configuration on multiple first devices via a second device, the server can avoid device information that cannot perform network configuration from interfering with the network configuration process, thereby improving the efficiency of network configuration on multiple first devices.

[0201] The network configuration device 900 further includes a binding module.

[0202] The binding module is used to bind the device information and the terminal when receiving the third network configuration success information.

[0203] In this embodiment, after the server receives third network configuration success information indicating that the network configuration of the first device has been successful, it determines that the second device has successfully configured the network for the first device, and completes authentication of the first device by binding the device information of the first device with the terminal.

[0204] In an embodiment of the present application, after the first device has successfully completed network configuration, the server binds the device information of the first device with the terminal and completes authentication of the first device, allowing the user to control the network connection of the first device through the terminal.

[0205] In one embodiment of the present application, a network configuration device 1000 applied to a second device is provided, as shown in Figure 10. The network configuration device 1000 includes a communication module 1002 and a third sending module 1004.

[0206] When the communication module 1002 receives the device information from the server, the communication module 1002 is used to establish a communication connection with the first device through the device information, which is the device information of the first device.

[0207] The third sending module 1004 is used to send first network configuration information to the first device, thereby performing network configuration for the first device. The first network configuration information is network configuration information of the second device.

[0208] This application provides a network configuration device for configuring a network of home devices. The network configuration device is applied to a second device. After a user scans a first device that is not network-configured via a terminal and obtains device information for the first device, a server can receive the device information for the first device sent from the terminal. The server then forwards the device information to the second device that has already been network-configured. Since the second device is connected to the first device, after receiving the device information for the first device, the second device transmits its own first network configuration information to the first device, thereby completing the network configuration of the first device.

[0209] In an embodiment of the present application, a server receives device information of a first device transmitted from a terminal and transfers the device information to a second device that has already been network-configured. The second device then establishes a communication connection with the first device based on the device information, transmits its own first network configuration information to the first device, and performs network configuration on the first device. This eliminates the need for a user to manually configure the first device, simplifying the operation process required for network configuration of the first device. Furthermore, the second device can accurately identify the first device that needs to be configured based on the device information of the first device and accurately transmit the first network configuration information to the first device, thereby avoiding incorrect network configuration of other devices.

[0210] In the above embodiment, the network configuration device 1000 includes a decision module.

[0211] The determination module is used to determine a communication address of the first device based on the device information.

[0212] The communication module 1002 is used to establish a communication connection with a first device through a communication address.

[0213] In this embodiment, the second device can obtain a communication address corresponding to the first device through the device information, and establish a communication connection between the second device and the first device based on the communication address, thereby ensuring that the second device can send second network configuration information to the first device.

[0214] In an embodiment of the present application, a second device can obtain a communication address corresponding to a first device that is not network-configured through device information of the first device, and establish a communication connection with the first device based on the communication address, thereby allowing the second device to send first network configuration information to the first device, and completing network configuration of the first device.

[0215] In the above embodiment, the network configuration device 1000 includes a second obtaining module and a third sending module 1004 .

[0216] The second acquisition module is used to acquire a signal strength corresponding to a third device, the third device being in communication connection with the second device.

[0217] The third transmitting module 1004 is used to transmit the first network configuration information to the third device when the signal strength is within a preset strength range, and perform network configuration for the third device.

[0218] In this embodiment, a process is provided in which a second device autonomously performs network configuration for a third device that has not been network configured, after the second device has completed network configuration for a first device.

[0219] In an embodiment of the present application, after completing the network configuration of the first device, the second device can search for a third device that has not been spontaneously configured in the network, and can perform network configuration for the third device that has not been spontaneously configured in the network through the first network configuration information of the second device, thereby realizing the effect that the second device spontaneously completes the network configuration of a device that has not been spontaneously configured in the network, and further improving the convenience of network configuration.

[0220] In any of the above embodiments, the third sending module 1004 is used to send second prompt information to the terminal, prompting the user to authorize the third device through the terminal. The terminal is matched with the second device.

[0221] In this embodiment, after the second device has spontaneously configured the network with the third device, the second device sends a second prompt to the user to request authorization of the third device, allowing the user to complete authorization of the third device whose network configuration has been completed through the terminal.

[0222] In an embodiment of the present application, after the second device has completed the network configuration of the third device, the second device may send second prompt information to the terminal to present to the user, thereby preventing the user from forgetting to authorize the third device that has completed the network configuration.

[0223] 11 , in a fourth aspect of the present application, a network configuration device 1100 is provided, which includes a processor 1102 and a memory 1104, in which a program or instruction is stored, and the processor 1102 executes the program or instruction stored in the memory 1104 to realize the steps of the network configuration method in any of the above embodiments, and thus has all the beneficial technical effects of the network configuration method in any of the above embodiments. Further detailed description will be omitted here.

[0224] In one embodiment of the present application, a readable storage medium is provided. The readable storage medium stores a program or instructions, and a processor executes the program or instructions to implement the steps of the network configuration method in any of the above embodiments. Therefore, all of the beneficial technical effects of the network configuration method in any of the above embodiments are achieved. Further detailed description is omitted here.

[0225] In one embodiment of the present application, a computer program product is provided. The computer program product stores a program or instructions, and when a processor executes the program or instructions, the steps of the network configuration method in any of the above embodiments are realized. Therefore, all beneficial technical effects of the network configuration method in any of the above embodiments are achieved. Further detailed description is omitted here.

[0226] In one embodiment of the present application, as shown in Fig. 12, a home device 1200 is provided. The home device 1200 includes the network configuration device 1100 in the above embodiment, and / or the readable storage medium 1202 defined in the above embodiment, and / or the computer program product 1204 defined in the above embodiment, and therefore has all the beneficial technical effects of the network configuration device 1100 in the above embodiment, and / or the readable storage medium 1202 defined in the above embodiment, and / or the computer program product 1204 defined in the above embodiment. Further detailed descriptions thereof will be omitted here.

[0227] Illustratively, the home device 1200 may be a refrigerator, a washing machine, a water heater, a television, a vacuum cleaner, etc.

[0228] The above methods can be implemented in various ways based on specific features and / or exemplary applications. For example, these methods can be implemented by a combination of hardware, firmware, and / or software. For example, in a hardware implementation, the processor can be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processors (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, electronic devices, or other device units and / or combinations thereof for performing the above-described functions.

[0229] A computer-readable storage medium may be a tangible device capable of storing and retaining instructions for use by an instruction execution device. A computer-readable storage medium may be, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of these devices. A non-exhaustive list of specific examples of computer-readable storage media includes a portable computer's floppy disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory card, a floppy disk, encoding hardware (e.g., punch cards or grooves with protruding structures having instructions recorded thereon), and any suitable combination of these devices. As used herein, a computer-readable storage medium should not be understood as a transmission signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave transmitted through a waveguide or other transmission medium, or an electrical signal transmitted over an electrical wire.

[0230] In the claims, descriptions, and drawings of the descriptions, the term "plurality" refers to two or more unless otherwise clearly defined. The orientations and positional relationships indicated by terms such as "upper," "lower," and the like are based on the orientations and positional relationships shown in the accompanying drawings. These are intended solely to facilitate a more convenient description of the present application and simplify the description process. They are not intended to indicate or imply that the devices or elements referred to must have, be constructed, or operate in the specific orientations described, and therefore should not be construed as limitations on the present application. Terms such as "connected," "attached," and "fixed" should be understood broadly. For example, "connected" can mean a fixed connection between multiple objects, a detachable connection between multiple objects, or an integral connection between multiple objects. It can also mean a direct connection between multiple objects or an indirect connection between multiple objects via an intermediate medium. Those skilled in the art can understand the specific meanings of the above terms in the present application based on the specific context of the data.

[0231] In the claims, descriptions, and drawings of the description, references such as "one embodiment," "some aspects," and "specific embodiments" mean that the specific features, structures, materials, or characteristics described in the embodiment or illustration are included in the embodiment or illustration of the description. In the claims, descriptions, and drawings of the description, outlines of these terms do not necessarily refer to the same embodiment or illustration. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or illustrations.

[0232] The above is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Those skilled in the art may make various changes and modifications to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included in the patent scope of the present application.

Claims

1. A network configuration method executed by a terminal, comprising: When a first device is not in a network configuration state, acquiring device information of the first device; transmitting the device information to a server, causing the server to transmit the device information to a second device, and the second device transmitting first network configuration information to the first device for performing network configuration for the first device, wherein the first network configuration information is network configuration information of the second device; Including, After transmitting the device information to the server, If the second network configuration success information is not received within the first period, acquiring the second network configuration information; performing a network configuration on the first device through the second network configuration information; The network configuration method further comprising:

2. the number of first devices is at least two; 2. The network configuration method according to claim 1, wherein transmitting the device information to the server includes transmitting at least two pieces of device information to the server so as to cause the server to transmit at least two pieces of device information to the second device.

3. Transmitting the at least two pieces of device information to the server includes: transmitting, to the server, first device information among at least two pieces of device information to cause the server to transmit first device information to the second device, the first device information being device information selected based on an acquisition time of the at least two pieces of device information; When receiving first network configuration success information from the server, transmitting second device information of the at least two pieces of device information to the server to cause the server to transmit second device information to the second device, wherein the second device information includes other device information excluding the first device information of the at least two pieces of device information; 3. The network configuration method according to claim 2, further comprising:

4. before transmitting the device information to a server; transmitting terminal information of the terminal to the server so that the server searches for the at least two second devices based on the terminal information, thereby causing the server to transmit the device information to the at least two second devices when the server receives the device information; The network configuration method of claim 1, further comprising:

5. When a first device is in a state where the first device is not configured in a network, acquiring device information of the first device includes: Scanning an identification code corresponding to the first device by the terminal to obtain the device information; 2. The network configuration method according to claim 1, further comprising:

6. A network configuration method executed by a terminal, comprising: When a first device is not in a network configuration state, acquiring device information of the first device; transmitting the device information to a server, causing the server to transmit the device information to a second device, and the second device transmitting first network configuration information to the first device for performing network configuration for the first device, wherein the first network configuration information is network configuration information of the second device; Including, the number of first devices is at least two; transmitting the device information to a server, transmitting, to the server, first device information among at least two pieces of device information to cause the server to transmit first device information to the second device, the first device information being device information selected based on an acquisition time of the at least two pieces of device information; When receiving first network configuration success information from the server, transmitting second device information of the at least two pieces of device information to the server to cause the server to transmit second device information to the second device, wherein the second device information includes other device information excluding the first device information of the at least two pieces of device information; A network configuration method comprising:

7. 1. A network configuration method executed by a server, comprising: receiving device information from a terminal, the device information being device information of a first device; transmitting the device information to a second device, causing the second device to transmit first network configuration information to the first device, and performing network configuration on the first device, wherein the first network configuration information is network configuration information of the second device; Including, After receiving device information from the terminal, When a second period has elapsed since receiving the device information, deleting the device information and sending first prompt information to the terminal, so as to prompt the terminal to reacquire the device information; The network configuration method further comprising:

8. the number of pieces of device information is at least two, transmitting the device information to a second device 8. The network configuration method according to claim 7, further comprising transmitting at least two pieces of said device information to said second device.

9. the at least two pieces of device information include first device information and second device information; Transmitting the at least two pieces of device information to the second device includes: When receiving the first device information from the terminal, transmitting the first device information to the second device, so that the second device transmits the first network configuration information to the first device corresponding to the first device information; When first network configuration success information is received from the first device corresponding to the first device information, transmitting the first network configuration success information to the terminal; When receiving the second device information from the terminal, transmitting the second device information to the second device, so that the second device transmits the first network configuration information to the first device corresponding to the second device information; 9. The network configuration method according to claim 8, further comprising:

10. Before receiving device information from the terminal, receiving terminal information from the terminal; and searching for at least two of the second devices based on the terminal information; transmitting the device information to the second device 8. The network configuration method according to claim 7, further comprising, when the device information is received, transmitting the device information to at least two of the second devices.

11. After transmitting the device information to the second device, The network configuration method of claim 7, further comprising: binding the device information with the terminal when third network configuration success information is received.

12. A network configuration method executed by a server, comprising: receiving device information from a terminal, the device information being device information of a first device; transmitting the device information to a second device, causing the second device to transmit first network configuration information to the first device, and performing network configuration on the first device, wherein the first network configuration information is network configuration information of the second device; Including, The number of pieces of device information is at least two, and the at least two pieces of device information include first device information and second device information; transmitting the device information to a second device When receiving the first device information from the terminal, transmitting the first device information to the second device, so that the second device transmits the first network configuration information to the first device corresponding to the first device information; When first network configuration success information is received from the first device corresponding to the first device information, transmitting the first network configuration success information to the terminal; When receiving the second device information from the terminal, transmitting the second device information to the second device, so that the second device transmits the first network configuration information to the first device corresponding to the second device information; A network configuration method comprising:

13. A network configuration method performed by a second device, comprising: When device information is received from the server, establishing a communication connection with a first device through the device information, wherein the device information is device information of the first device; sending first network configuration information to the first device to perform network configuration on the first device, the first network configuration information being network configuration information of the second device; Including, When receiving device information from the server, establishing a communication connection with a first device through the device information includes: determining a communication address of the first device based on the device information; establishing a communication connection with the first device through the communication address; Including, after transmitting the first network configuration information to the first device; obtaining a signal strength corresponding to a third device in communication with the second device; If the signal strength is within a preset strength range, sending the first network configuration information to the third device to perform network configuration on the third device; A network configuration method comprising:

14. If the signal strength is within a predetermined strength range, after transmitting the first network configuration information to the third device, 14. The network configuration method of claim 13, further comprising: sending second prompt information to the terminal to prompt a user to authorize the third device through the terminal, wherein the terminal is matched with the second device.

15. A network configuration device executed by a terminal, comprising: a first acquisition module; a first transmission module; and a network configuration module; The first acquisition module is used to acquire device information of the first device when the first device is in a non-network configured state; the first transmission module transmits the device information to a server, thereby causing the server to transmit the device information to a second device, and is used to transmit, to the first device, first network configuration information for the second device to perform network configuration for the first device, the first network configuration information being network configuration information of the second device; The first obtaining module obtains second network configuration information when second network configuration success information is not received within a first period after the first sending module sends the device information to a server; The network configuration device, wherein the network configuration module executes network configuration for the first device through the second network configuration information.

16. A network configuration device executed by a server, comprising: a first receiving module; a second transmitting module; and a processing module; The first receiving module is used to receive device information from a terminal, and the device information is device information of a first device; the second transmission module is used to transmit the device information to a second device, thereby causing the second device to transmit first network configuration information to the first device, and to perform network configuration on the first device, the first network configuration information being network configuration information of the second device; The network configuration device is characterized in that, when a second period has elapsed since receiving the device information, the processing module deletes the device information and sends first prompt information to the terminal to suggest that the terminal reacquire the device information.

17. A network configuration apparatus executed by a second device, the network configuration apparatus including a communication module and a third transmission module; When the communication module receives device information from a server, the communication module is used to determine a communication address of a first device based on the device information and establish a communication connection with the first device through the communication address, the device information being device information of the first device; the third sending module is used to send first network configuration information to the first device to perform network configuration on the first device, the first network configuration information being network configuration information of the second device; A network configuration device characterized in that the third transmission module, after transmitting the first network configuration information to the first device, further acquires a signal strength corresponding to a third device that is communicatively connected to the second device, and, if the signal strength is within a predetermined strength range, transmits the first network configuration information to the third device in order to perform network configuration for the third device.

18. A network configuration device including a processor and a memory, The memory stores a program or instruction; 7. A network configuration device, wherein said processor, when executing said program or said instruction, implements the steps of the network configuration method according to claim 1.

19. A network configuration device including a processor and a memory, The memory stores a program or instruction; 15. A network configuration device, wherein said processor, when executing said program or said instruction, implements the steps of the network configuration method according to claim 13 or 14.

20. A readable storage medium on which a program or instruction is stored, A readable storage medium, characterized in that the program or instructions, when executed by a processor, implement the steps of the network configuration method according to any one of claims 1 to 6.

21. A readable storage medium on which a program or instruction is stored, A readable storage medium, characterized in that the program or instructions, when executed by a processor, implement the steps of the network configuration method according to claim 13 or 14.

22. A computer program product comprising a computer program, A computer program product, characterized in that the computer program implements the steps of the network configuration method according to any one of claims 1 to 6 when executed by a processor.

23. A computer program product comprising a computer program, A computer program product which, when executed by a processor, implements the steps of the network configuration method according to claim 13 or 14.

24. A household device characterized by including a network configuration device described in any one of claims 15 to 17.

Citation Information

Patent Citations

  • Method and device for managing IOT equipment by gateway equipment, equipment and medium

    CN111901151A

  • Equipment network distribution method and device, computer readable storage medium and electronic device

    CN112152853A

  • Network distribution method, device and system for intelligent equipment, electronic equipment and storage medium

    CN112752324A