Equipment network distribution method and Internet of Things equipment

Through the interaction between the terminal device and the IoT device, the distribution network information is generated and sent, and the difficulty of IoT devices to manually distribute networks after changes in the wireless network environment is solved, and automatic distribution networks are realized, which improves convenience and success rate.

CN119907079APending Publication Date: 2025-04-29ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311414047.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

After the wireless network environment changes, existing IoT devices require users to manually distribute the network through the remote control or physical buttons, resulting in inconvenient distribution process. Especially when the remote control is lost or the user forgets the operation process, it is difficult for the device to successfully distribute the network.

Method used

The terminal device responds to the distribution network request information of the IoT device and sends the distribution network message. The IoT device sends the first distribution network information to the terminal device. The terminal device generates the second distribution network information based on this information and sends it back to the IoT device, so that it can automatically redistribute the network in the changed wireless network environment.

Benefits of technology

It realizes automatic distribution network of IoT devices when the wireless network environment changes, improves the convenience of distribution network, reduces the user's manual operation needs, and ensures that the device can successfully distribute networks in the changed network environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119907079A_ABST
    Figure CN119907079A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment network distribution method and Internet of Things equipment. The method is applied to terminal equipment, and comprises the following steps: in response to network distribution request information broadcasted by Internet of Things equipment, sending a network distribution message corresponding to the network distribution request information to the Internet of Things equipment, the Internet of Things equipment being equipment which has been subjected to network distribution previously; receiving first network distribution information sent by the Internet of Things equipment in response to the network distribution message; generating second distribution network information according to the first distribution network information; the second network distribution information is sent to the Internet of Things equipment, and the Internet of Things equipment is used for carrying out network distribution again according to the second network distribution information. By adopting the method, the convenience of network distribution of the Internet of Things equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a device network configuration method and an Internet of Things device. Background Art

[0002] With the development of network communication technology, Internet of Things technology has emerged. Using Internet of Things technology, IoT devices can communicate with remote servers through wireless networks.

[0003] In traditional technology, after the wireless network environment of an IoT device changes, since the IoT device is incompatible with the changed wireless network environment, when the IoT device is configured for the first time in the changed wireless network environment, the user is usually required to manually configure the network using the IoT device's remote control or specific physical buttons, so that the IoT device can be reconnected to the network in the changed wireless network environment.

[0004] However, users usually need to perform a specific manual operation process on the remote control or specific physical buttons (such as pressing and holding the power button for 5 seconds, etc.) before the IoT device can enter the manual network configuration mode. Moreover, the specific manual operation process is usually different for different types of IoT devices. Once the remote control is lost or damaged or the user forgets the specific manual operation process, it will be difficult for the IoT device to successfully configure the network in the changed wireless network environment. Therefore, the current IoT device configuration process is less convenient. Summary of the invention

[0005] Based on this, it is necessary to provide a device networking method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the convenience of networking of IoT devices in response to the above technical problems.

[0006] In a first aspect, the present application provides a device network configuration method, which is applied to a terminal device. The method comprises:

[0007] In response to network configuration request information broadcast by an IoT device, sending a network configuration message corresponding to the network configuration request information to the IoT device, wherein the IoT device is a device that has been previously configured with a network;

[0008] Receiving first network configuration information sent by the IoT device in response to the network configuration message;

[0009] Generate second network distribution information according to the first network distribution information;

[0010] The second network configuration information is sent to the IoT device, wherein the IoT device is configured to re-configure the network according to the second network configuration information.

[0011] In one embodiment, in response to the network configuration request information broadcast by the IoT device, sending a network configuration message corresponding to the network configuration request information to the IoT device includes:

[0012] By parsing the network configuration request information broadcast by the IoT device, the unique device identifier and the network status of the IoT device are determined; based on the unique device identifier and the network status of the device, it is detected whether the IoT device is a device that needs to be re-networked; if the IoT device is a device that needs to be re-networked, a network communication channel is established with the IoT device, and based on the network communication channel, a network configuration message is transmitted to the IoT device, wherein the network configuration message is used to request the IoT device to obtain the first network configuration information.

[0013] In one embodiment, generating second network configuration information according to the first network configuration information includes:

[0014] A target service set identifier is selected from the first network configuration information; network login update information corresponding to the target service set identifier is set; and second network configuration information is generated according to the target service set identifier and the network login update information.

[0015] In one embodiment, before sending a network configuration message corresponding to the network configuration request information to the IoT device in response to the network configuration request information broadcast by the IoT device, the method further includes:

[0016] An online network configuration request is sent to a remote network server, wherein the online network configuration request is used to instruct the remote network server to send a network configuration update request to an online IoT device, and the network configuration update request is used to instruct the IoT device to broadcast network configuration request information.

[0017] In one embodiment, the first network configuration information includes a first service set identifier configured by the IoT device and a searched second service set identifier.

[0018] In a second aspect, the present application provides a device network configuration method, which is applied to IoT devices. The method comprises:

[0019] If the IoT device meets the preset network configuration update condition, then generate and broadcast network configuration request information, wherein the IoT device is a device that has been previously configured with a network;

[0020] In response to a network configuration message of the terminal device for the network configuration request information, sending the first network configuration information to the terminal device, wherein the terminal device is used to generate the second network configuration information according to the first network configuration information;

[0021] Receive the second network configuration information fed back by the terminal device, and re-configure the network according to the second network configuration information.

[0022] In one of the embodiments, in response to a network configuration message of the terminal device for the network configuration request information, sending the first network configuration information to the terminal device includes:

[0023] In response to a communication connection request sent by the terminal device, a network communication channel is established with the terminal device; in response to a network configuration message transmitted by the terminal device based on the network communication channel, each first service set identifier configured by the IoT device and each second service set identifier that has been searched are obtained; first network configuration information is generated according to each first service set identifier and each second service set identifier; based on the network communication channel, the first network configuration information is sent to the terminal device.

[0024] In one embodiment, generating network configuration request information includes:

[0025] Determine the device unique identifier and device network status of the IoT device, wherein the device unique identifier is used to identify whether the IoT device is a trusted device of the terminal device; and generate the network configuration request information according to the device unique identifier and the device network status.

[0026] In one of the embodiments, before generating and broadcasting network configuration request information if the IoT device meets the preset network configuration update condition, the method includes at least one of the following items:

[0027] If it is detected that the network configuration of the IoT device fails, determining that the IoT device meets the preset network configuration update condition;

[0028] If a network configuration update request sent by a remote server is received, it is determined that the IoT device meets a preset network configuration update condition, wherein the terminal device is used to request the remote server to send a network configuration update request to the IoT device.

[0029] In a third aspect, the present application also provides a device network configuration apparatus, which is applied to a terminal device. The apparatus comprises:

[0030] A network configuration message feedback module, configured to respond to network configuration request information broadcast by an IoT device and send a network configuration message corresponding to the network configuration request information to the IoT device, wherein the IoT device is a device that has been previously configured with a network;

[0031] A network configuration information receiving module, configured to receive first network configuration information sent by the IoT device in response to the network configuration message;

[0032] A network configuration information generating module, configured to generate second network configuration information according to the first network configuration information;

[0033] The network configuration instruction module is used to send the second network configuration information to the IoT device, wherein the IoT device is used to re-configure the network according to the second network configuration information.

[0034] In a fourth aspect, the present application also provides a device network configuration device, which is applied to IoT devices. The device includes:

[0035] A broadcast module, configured to generate and broadcast network configuration request information if the IoT device meets a preset network configuration update condition, wherein the IoT device is a device that has been previously configured with a network;

[0036] A network configuration information sending module, configured to send first network configuration information to the terminal device in response to a network configuration message of the terminal device for the network configuration request information, wherein the terminal device is configured to generate second network configuration information according to the first network configuration information;

[0037] The network configuration module is used to receive the second network configuration information fed back by the terminal device and re-configure the network according to the second network configuration information.

[0038] In a fifth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0039] If the IoT device meets the preset network configuration update conditions, a network configuration request message is generated and broadcasted, wherein the IoT device is a device that has been previously configured with a network; in response to a network configuration message of the terminal device for the network configuration request message, the first network configuration information is sent to the terminal device, wherein the terminal device is used to generate second network configuration information based on the first network configuration information; the second network configuration information fed back by the terminal device is received, and network configuration is performed again based on the second network configuration information; or

[0040] In response to network configuration request information broadcast by an IoT device, a network configuration message corresponding to the network configuration request information is sent to the IoT device, wherein the IoT device is a device that has been previously configured with a network; first network configuration information sent by the IoT device in response to the network configuration message is received; second network configuration information is generated based on the first network configuration information; and the second network configuration information is sent to the IoT device, wherein the IoT device is used to re-configure the network based on the second network configuration information.

[0041] In a sixth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0042] If the IoT device meets the preset network configuration update conditions, a network configuration request message is generated and broadcasted, wherein the IoT device is a device that has been previously configured with a network; in response to a network configuration message of the terminal device for the network configuration request message, the first network configuration information is sent to the terminal device, wherein the terminal device is used to generate second network configuration information based on the first network configuration information; the second network configuration information fed back by the terminal device is received, and network configuration is performed again based on the second network configuration information; or

[0043] In response to network configuration request information broadcast by an IoT device, a network configuration message corresponding to the network configuration request information is sent to the IoT device, wherein the IoT device is a device that has been previously configured with a network; first network configuration information sent by the IoT device in response to the network configuration message is received; second network configuration information is generated based on the first network configuration information; and the second network configuration information is sent to the IoT device, wherein the IoT device is used to re-configure the network based on the second network configuration information.

[0044] In a seventh aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0045] If the IoT device meets the preset network configuration update conditions, a network configuration request message is generated and broadcasted, wherein the IoT device is a device that has been previously configured with a network; in response to a network configuration message of the terminal device for the network configuration request message, the first network configuration information is sent to the terminal device, wherein the terminal device is used to generate second network configuration information based on the first network configuration information; the second network configuration information fed back by the terminal device is received, and network configuration is performed again based on the second network configuration information; or

[0046] In response to network configuration request information broadcast by an IoT device, a network configuration message corresponding to the network configuration request information is sent to the IoT device, wherein the IoT device is a device that has been previously configured with a network; first network configuration information sent by the IoT device in response to the network configuration message is received; second network configuration information is generated based on the first network configuration information; and the second network configuration information is sent to the IoT device, wherein the IoT device is used to re-configure the network based on the second network configuration information.

[0047] According to the above-mentioned device network configuration method, apparatus, computer equipment, storage medium and computer program product, when the IoT device meets the network configuration update conditions, the IoT device that has been previously configured will generate and broadcast network configuration request information; the terminal device will send a network configuration message to the IoT device in response to the network configuration request information; if the IoT device receives the network configuration message, it will send the first network configuration information to the terminal device, and the terminal device will generate the second network configuration information based on the first network configuration information, and send the second network configuration information to the IoT device, so that the network configuration information in the IoT device will be synchronously adjusted according to changes in the external network environment, so that the network configuration information of the IoT device can always automatically adapt to the external network environment, so that the IoT device can re-configure the network according to the second network configuration information. In this way, for IoT devices that need to be reconfigured, the user does not need to manually configure the network based on the remote control or specific physical buttons of the IoT device during the device configuration process. The IoT device can interact with the terminal device to automatically configure the network according to changes in the external network environment. The IoT device can automatically configure the network successfully in the changed wireless network environment, thereby improving the convenience of IoT device configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 An application environment diagram of a device network configuration method in an embodiment;

[0049] Figure 2 A schematic diagram of a flow chart of a device network configuration method in an embodiment when it is applied to an IoT device;

[0050] Figure 3 A schematic diagram of a process in which an IoT device sends first network configuration information to a terminal device in an embodiment;

[0051] Figure 4 A schematic diagram of a flow chart of a device network configuration method in an embodiment when it is applied to a terminal device;

[0052] Figure 5 It is a schematic diagram of the interface display of a terminal device when the terminal device is connected to a network in another embodiment;

[0053] Figure 6 It is a structural block diagram of a device network configuration device in an embodiment when it is applied to an IoT device;

[0054] Figure 7 A structural block diagram of a device network configuration device in an embodiment when applied to a terminal device;

[0055] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] At present, when the wireless network environment outside the IoT device changes, such as the login password of the wireless network changes or the IoT device moves to a new wireless network environment, the IoT device is usually unable to access the wireless network, that is, it is unable to configure the network. The IoT device usually sets a manual network configuration mode, and the user can enter the manual network configuration mode by performing a specific manual operation through the remote control or a specific physical button. For example, long press the power button on the remote control for 5 seconds to enter the manual network configuration mode, or continuously click the specific control button on the remote control 5 times to enter the manual network configuration mode, etc. After entering the manual network configuration mode, the user can manually configure the network through the remote control. However, if the user forgets the specific manual operation or the remote control is lost, it will make it difficult for the IoT device to successfully configure the network in the changed wireless network environment. Therefore, the current IoT device configuration process is less convenient.

[0058] The device network configuration method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the IoT device 102 can communicate with the terminal device 104.

[0059] Specifically, if the IoT device 102 meets the preset network configuration update conditions, the IoT device 102 will generate and broadcast network configuration request information; the terminal device 104 responds to the network configuration request information broadcast by the IoT device 102, and sends a network configuration message corresponding to the network configuration request information to the IoT device 102; the IoT device 102 responds to the network configuration message and sends the first network configuration information to the terminal device 104, and the first network configuration information is used to instruct the IoT device 102 to perform network configuration; the terminal device 104 generates the second network configuration information based on the first network configuration information, and sends the second network configuration information to the IoT device 102; the IoT device 102 can re-configure the network in the changed wireless network environment based on the received second network configuration information.

[0060] Among them, the IoT device 102 can be a household device, such as a cleaning robot, a smart speaker, a smart TV, a smart air conditioner, and a smart car device; the terminal device 104 can be but is not limited to various personal computers, laptops, smart phones, tablet computers, and portable wearable devices.

[0061] In one embodiment, Figure 2 As shown, a device network configuration method is provided, and the method is applied to Figure 1 Taking the IoT device 102 in the example as an example, the method includes the following steps:

[0062] Step 202: If the IoT device meets the preset network configuration update condition, a network configuration request message is generated and broadcasted, wherein the IoT device is a device that has been previously configured with a network.

[0063] Among them, the actual implementation environment of the device network configuration method in this embodiment is the implementation environment in which the Internet of Things device performs network configuration again, that is, the Internet of Things device has been configured before, but due to changes in the external network environment, the Internet of Things device needs to be re-configured in the changed network environment. Therefore, it should be stated that the specific implementation environment of the device network configuration in this embodiment is the re-configuration environment of the Internet of Things device, not the initial configuration environment of the Internet of Things device; the preset network configuration update condition is a pre-set condition for triggering a network configuration update, and the network configuration update refers to updating the network configuration information in the Internet of Things device, thereby prompting the Internet of Things device to reconnect to the network in the changed wireless network environment.

[0064] It should be noted that before executing step 202, the IoT device can first register the device unique identifier on the remote server, and then the remote server will synchronize the device unique identifier to the terminal device, so that the device unique identifier can be used to identify whether the IoT device is a trusted device of the terminal device.

[0065] Specifically, if the network configuration of the IoT device fails, it means that the external wireless network environment of the IoT device has changed. At this time, the IoT device meets the preset network configuration update conditions, thereby obtaining the device unique identification of the IoT device, and generating network configuration request information according to the device unique identification; turning on the broadcast function of the wireless communication module of the IoT device, and broadcasting the network configuration request information. The wireless communication module can be a WiFi module or a Bluetooth module, etc.

[0066] As an example, when an IoT device moves, it usually enters a new network environment, that is, the external network environment of the IoT device changes. At this time, if the IoT device does not have the network login information (such as the login password) of the new network environment, the IoT device usually fails to configure the network.

[0067] As an example, if the network login information (such as the login password) of the network environment in which the IoT device is currently located has changed, it is also considered that the external network environment of the IoT device has changed, and the IoT device will usually fail to configure the network.

[0068] As an example, in order to reduce the power consumption of the wireless communication module, when the Internet of Things device does not meet the preset network configuration update conditions, the broadcast function of the wireless communication module can be kept in a turned-off state, and the broadcast function of the wireless communication module can be kept in an turned-on state only when the Internet of Things device meets the preset network configuration update conditions.

[0069] As an example, if the network configuration of the IoT device fails, the network configuration request information may also be used to instruct the terminal device to notify the user that the network configuration of the IoT device has failed.

[0070] As an example, the broadcast may be a broadcast of a wireless communication signal, and the broadcast process does not involve the broadcast of sound, such as a Bluetooth signal broadcast or a WiFi signal broadcast.

[0071] As an example, the IoT device may be an intelligent cleaning device, such as a cleaning robot.

[0072] Step 204: In response to the network configuration message of the terminal device for the network configuration request information, the first network configuration information is sent to the terminal device, wherein the terminal device is configured to generate the second network configuration information according to the first network configuration information.

[0073] Among them, the first network configuration information is the network identifier of the wireless network to which the IoT device can connect, wherein the connectable wireless network refers to the wireless network whose effective signal range can cover the above-mentioned IoT device, and the network identifier can be the first service set identifiers (SSIDs) configured by the IoT device and the second service set identifiers (SSIDs) searched; the second network configuration information can be the network configuration information of the changed wireless network environment in which the IoT device is located, for example, the second network configuration information can be the service set identifier and network login information of the changed wireless network environment in which the IoT device is located.

[0074] As an example, step 204 includes: after receiving the network configuration request signal, the terminal device will parse the network configuration request information to obtain the unique device identifier, so that the terminal device detects whether the IoT device is a trusted device based on the unique device identifier. If the IoT device is a trusted device, the terminal device will send a network configuration message to the IoT device; after receiving the network configuration message, the IoT device detects whether the network configuration message belongs to the preset network configuration message type. If the network configuration message belongs to the preset network configuration message type, the first network configuration information is generated according to the first service set identifiers configured by the IoT device and the second service set identifiers searched, and the first network configuration information is transmitted to the terminal device; after receiving the first network configuration information, the terminal device will select the target service set identifier in the first network configuration information, and set the network login update information corresponding to the target service set identifier, and then the terminal device uses the target service set identifier and the corresponding network login update information as the second network configuration information.

[0075] As an example, the network login update information may be login information of a changed wireless network environment, and the login information may be input by a user on an operation interface of a terminal device, or may be extracted by the terminal device from login information of all saved wireless network environments.

[0076] Step 206: Receive the second network configuration information fed back by the terminal device, and re-configure the network according to the second network configuration information.

[0077] As an example, step 206 includes: receiving the second network configuration information transmitted by the terminal device, parsing the second network configuration information to obtain the target service set identifier and the network login update information; and accessing the wireless network corresponding to the target service set identifier according to the network login update information. The network login update information may be the current network login information of the wireless network having the target service set identifier, for example, a new network login password for the wireless network corresponding to the target service set identifier.

[0078] In the above-mentioned device network configuration method, when the IoT device meets the network configuration update conditions, the IoT device that has been configured before will generate and broadcast the network configuration request information; the terminal device will send the network configuration message to the IoT device in response to the network configuration request information; if the IoT device receives the network configuration message, it will send the first network configuration information to the terminal device, and the terminal device will generate the second network configuration information based on the first network configuration information, and send the second network configuration information to the IoT device, so that the network configuration information in the IoT device will be adjusted synchronously according to the changes in the external network environment, so that the network configuration information of the IoT device can always be automatically adapted to the external network environment, so that the IoT device can be re-configured according to the second network configuration information. In this way, for the IoT device that needs to be configured again, the user does not need to manually operate the network configuration based on the remote control or specific physical buttons of the IoT device during the device configuration process. The IoT device can interact with the terminal device to realize the automatic configuration of the IoT device according to the changes in the external network environment. The IoT device can automatically configure the network successfully in the changed wireless network environment, thereby improving the convenience of IoT device configuration.

[0079] In one embodiment, Figure 3 As shown, in response to a network configuration message of the terminal device for network configuration request information, sending the first network configuration information to the terminal device includes:

[0080] Step 302: In response to the communication connection request sent by the terminal device, a network communication channel is established with the terminal device.

[0081] In order to ensure reliable data transmission between the terminal device and the IoT device, a reliable network communication channel needs to be established between the IoT device and the terminal device. The network communication channel can be a Bluetooth communication channel or a WiFi communication channel.

[0082] As an example, step 302 includes: if the IoT device broadcasts network configuration request information through a Bluetooth module, the terminal device will send a Bluetooth communication connection request to the IoT device, so that the IoT device can establish a Bluetooth communication channel with the terminal device in response to the Bluetooth communication connection request; if the IoT device broadcasts network configuration request information through a WiFi module, the terminal device will send a WiFi communication connection request to the IoT device, so that the IoT device can establish a WiFi communication channel with the terminal device in response to the WiFi communication connection request.

[0083] Step 304: in response to the network configuration message transmitted by the terminal device based on the network communication channel, obtain the first service set identifiers configured by the IoT device and the second service set identifiers that have been searched.

[0084] As an example, step 304 includes: the terminal device transmits a network configuration message to the IoT device through a network communication channel; after receiving the network configuration message, the IoT device detects whether the network configuration message belongs to a preset network configuration message type. If the network configuration message belongs to the preset network configuration message type, the first service set identifiers configured by the IoT device and the second service set identifiers that have been searched are obtained.

[0085] Step 306: Generate first network configuration information according to each first service set identifier and each second service set identifier.

[0086] As an example, step 306 includes: forming a first identification list composed of first service set identifications and forming a second identification list composed of second service set identifications; and encapsulating the first identification list and the second identification list into first network configuration information.

[0087] Since the first service set identifiers configured by the IoT device and the searched second service set identifiers may be repeated, in order to reduce the redundancy of information, it is necessary to deduplicate the first service set identifiers and the second service set identifiers.

[0088] As an example, step 306 includes: removing duplicates from each first service set identifier and each second service identifier to obtain each third service set identifier; and encapsulating a third identifier list composed of each third service set identifier as the first network configuration information. In this way, redundant data in the first network configuration information can be eliminated, the data size of the first network configuration information can be reduced, the data transmission efficiency between the terminal device and the IoT device can be improved, and the network configuration efficiency of the IoT device can be improved.

[0089] Step 308: Send the first network configuration information to the terminal device based on the network communication channel.

[0090] As an example, step 308 includes: transmitting the first network configuration information to the terminal device according to a Bluetooth communication channel or a WiFi communication channel between the IoT device and the terminal device.

[0091] In this embodiment, the IoT device can first establish a stable network communication channel with the terminal device, and then after receiving the network configuration message transmitted by the terminal device based on the network communication channel, the configured first service set identifiers and the searched second service set identifiers are encapsulated as the first network configuration information. Based on the above network communication channel, the first network configuration information can be reliably transmitted to the terminal device, thereby directly transmitting the first network configuration information at the IoT device to the terminal device without passing through a remote server. In this way, the terminal device can feedback the network environment information of the changed wireless network environment in which the IoT device is currently located to the IoT device based on the first network configuration information, and instruct the IoT device to automatically update the network configuration to adapt to the changed wireless network environment. The entire transmission process of the first network configuration information is automatically performed between the IoT device and the terminal device without human intervention, laying a foundation for improving the convenience of network configuration of IoT devices.

[0092] In one embodiment, generating network configuration request information includes:

[0093] Determine the unique device identifier and the network status of the IoT device, where the unique device identifier is used to identify whether the IoT device is a trusted device of the terminal device; and generate network configuration request information based on the unique device identifier and the network status of the device.

[0094] The device unique identifier may be a UUID (universally Unique Identifier), and the device network status may be a device offline status or a device online status.

[0095] Specifically, determine the unique device identifier and device network status of the IoT device, where the unique device identifier is used to determine whether the IoT device is a trusted device of the terminal device, and the device network status is used to characterize whether the IoT device is online or offline; encapsulate the unique device identifier and device network status into network configuration request information. In this way, the unique device identifier and device network status can be added to the broadcast network configuration request information, so that the terminal device can identify whether the IoT device is a device that needs to be reconfigured based on the unique device identifier and device network status, thereby ensuring the accuracy of the terminal device for IoT devices that need to be reconfigured.

[0096] In one embodiment, if the IoT device meets the preset network configuration update condition, before generating and broadcasting the network configuration request information, the device network configuration method further includes:

[0097] If it is detected that the network configuration of the IoT device fails, the IoT device is in an offline state at this time, and it is determined that the IoT device meets the preset network configuration update conditions; if it is detected that the network configuration of the IoT device is successful, the IoT device is in an online state at this time, and it is determined that the IoT device does not meet the preset network configuration update conditions. In this way, when the IoT device is in an offline state, the network configuration update of the IoT device can be triggered, that is, the execution of the device network configuration process in this embodiment is triggered. In this way, by executing the device network configuration process in this embodiment, when the IoT device fails to configure the network, the IoT device can be automatically reconfigured.

[0098] In one embodiment, if the IoT device meets the preset network configuration update condition, before generating and broadcasting the network configuration request information, the device network configuration method further includes:

[0099] If a network configuration update request is received from a remote server and the IoT device is online at this time, it is determined that the IoT device meets the preset network configuration update conditions, wherein the terminal device is used to request the remote server to send a network configuration update request to the IoT device; if a network configuration update request is not received from a remote server and the IoT device is online at this time, it is determined that the IoT device does not meet the preset network configuration update conditions. In this way, when the IoT device is online, the network configuration update of the IoT device can be triggered, i.e., the execution of the device network configuration process in this embodiment can be triggered. In this way, by executing the device network configuration process in this embodiment, it is possible to autonomously change the connection network of the IoT device without removing the network originally connected to the IoT device at the terminal device.

[0100] As an example, the remote server may be an Internet of Things server.

[0101] In one embodiment, Figure 4 As shown, a device network configuration method is provided, and the method is applied to Figure 1 The terminal device 104 in the example is used as an example to illustrate, and the following steps are included:

[0102] Step 402: In response to the network configuration request information broadcast by the IoT device, a network configuration message corresponding to the network configuration request information is sent to the IoT device, wherein the IoT device is a device that has been previously configured with a network.

[0103] As an example, step 402 includes: parsing the network configuration request information to obtain a unique device identifier; detecting whether the device unique identifier already exists in the terminal device. If the device unique identifier already exists in the terminal device, it means that the IoT device is a trusted device of the terminal device, and the network device is a device that has been previously configured with the network, and a network configuration message corresponding to the network configuration request information is transmitted to the IoT device.

[0104] In one embodiment, before sending a network configuration message corresponding to the network configuration request information to the IoT device in response to the network configuration request information broadcast by the IoT device, the device network configuration method further includes:

[0105] An online network configuration request is sent to a remote server, wherein the online network configuration request is used to instruct the remote server to send a network configuration update request to an online IoT device, and the network configuration update request is used to instruct the IoT device to broadcast network configuration request information.

[0106] Specifically, the terminal device sends an online network configuration request to the remote server, and the online network configuration request includes the unique device identifier of the IoT device; the remote server then sends a network configuration update request to the corresponding IoT device based on the unique device identifier; after receiving the network configuration update request, the IoT device broadcasts the network configuration request information, so that the terminal device can actively start the online network configuration update.

[0107] Step 404: Receive first network configuration information sent by the IoT device in response to the network configuration message.

[0108] As an example, step 404 includes: after receiving the network configuration message, the Internet of Things device will detect whether the network configuration message belongs to the preset network configuration message type. If the network configuration message belongs to the preset network configuration message type, the first network configuration information is generated according to the first service set identifiers configured by the Internet of Things device and the second service set identifiers searched, and the first network configuration information is transmitted to the terminal device; the terminal device receives the first network configuration information transmitted by the Internet of Things device.

[0109] As an example, the first network configuration information may be a network identifier of a wireless network to which the IoT device can connect, wherein a connectable wireless network refers to a wireless network whose effective signal range can cover the IoT device. The network identifier may be each first service set identifier configured for the IoT device and each second service set identifier searched for.

[0110] Step 406: Generate second network distribution information according to the first network distribution information.

[0111] The second network configuration information may be the network configuration information of the changed wireless network environment where the IoT device is located, and the second network configuration information may be the service set identifier and network login information of the changed wireless network environment where the IoT device is located.

[0112] As an example, step 406 includes: selecting a target service set identifier in the first network configuration information, and setting network login update information of the target service set identifier, wherein the network login update information is the current network login information of the wireless network having the target service set identifier; encapsulating the target service set identifier and the network login update information into a second network configuration information, wherein the network login update information can be login information of a changed wireless network environment, and the login information can be input by a user on an operation interface of a terminal device, or can be extracted by the terminal device from login information of all saved wireless network environments.

[0113] Step 408: Send the second network configuration information to the IoT device, wherein the IoT device is configured to reconfigure the network according to the second network configuration information.

[0114] As an example, the terminal device transmits the second network configuration information to the IoT device; the IoT device receives the second network configuration information transmitted by the terminal device, parses the second network configuration information, obtains the target service set identifier and network login update information; and accesses the wireless network corresponding to the target service set identifier according to the network login update information.

[0115] In the above-mentioned device network configuration method, the terminal device will send a network configuration message to the IoT device in response to the network configuration request information broadcast by the IoT device; if the IoT device that has been network configured before receives the network configuration message, it will send the first network configuration information to the terminal device, and the terminal device will generate the second network configuration information based on the first network configuration information, and send the second network configuration information to the IoT device, so that the network configuration information in the IoT device will be adjusted synchronously according to the changes in the external network environment, so that the network configuration information of the IoT device can always be automatically adapted to the external network environment, so that the IoT device can be re-networked according to the second network configuration information. In this way, for the IoT device that needs to be networked again, the user does not need to manually operate the network configuration based on the remote control or specific physical buttons of the IoT device during the device network configuration process. The IoT device can interact with the terminal device to realize the automatic network configuration of the IoT device according to the changes in the external network environment. The IoT device can automatically configure the network successfully in the changed wireless network environment, thereby improving the convenience of network configuration of the IoT device.

[0116] In one embodiment, in response to the network configuration request information broadcast by the IoT device, sending a network configuration message corresponding to the network configuration request information to the IoT device includes:

[0117] By parsing the network configuration request information broadcast by the IoT device, the unique device identifier and the network status of the IoT device are determined; based on the unique device identifier and the network status of the device, it is detected whether the IoT device is a device that needs to be re-networked; if the IoT device is a device that needs to be re-networked, a network communication channel is established with the IoT device, and based on the network communication channel, a network configuration message is transmitted to the IoT device, wherein the network configuration message is used to request the IoT device to obtain the first network configuration information.

[0118] Specifically, by parsing the network configuration request information broadcast by the IoT device, the parsing result data is obtained, and the device unique identifier and the device network status of the IoT device are determined from the parsing result data; it is detected whether the device unique identifier exists in the terminal device. If the device unique identifier exists in the terminal device, it means that the IoT device is a trusted device of the terminal device, and it is detected whether the device network status is the device online status, and whether the terminal device has sent an online network configuration request to the remote server within a preset past time period, wherein the remote server is used to send a network configuration update request to the above-mentioned IoT device according to the online network configuration request, and the IoT device is used to broadcast the network configuration request information according to the network configuration update request.

[0119] In this way, if the device network status is the device online status, and the terminal device has sent an online network configuration request to the remote server within the preset past time period, it means that the IoT device is a device that needs to be re-networked, and then a network communication channel is established with the IoT device, and based on the network communication channel, a network configuration message is transmitted to the IoT device, wherein the network configuration message is used to request the IoT device to obtain the first network configuration information; if the device network status is the device online status, and the terminal device has not sent an online network configuration request to the remote server within the preset past time period, it means that the IoT device is not a device that needs to be re-networked; if the device network status is the device offline status, it means that the IoT device is a device that needs to be re-networked, and then a network communication channel is established with the IoT device, and based on the network communication channel, a network configuration message is transmitted to the IoT device, wherein the network configuration message is used to request the IoT device to obtain the first network configuration information.

[0120] As an example, the preset past time period may be set to the past 30 seconds, or the past 10 seconds, etc.

[0121] As an example, if the device network status is an offline state, the terminal device outputs an offline notification message to notify the user that the IoT device is in an offline state.

[0122] As an example, a network communication channel is established with an IoT device, and a network configuration message is transmitted to the IoT device based on the network communication channel, including:

[0123] By sending a communication connection request to the IoT device, a network communication channel is established with the IoT device, and a network configuration message is transmitted to the IoT device through the network communication channel.

[0124] In the above embodiment, the network status of the device and the unique identifier of the device can be used as a basis to accurately identify whether the IoT device is a device that needs to be re-networked, which helps to improve the accuracy of the terminal device in identifying the IoT device that needs to be re-networked.

[0125] In one embodiment, generating second network configuration information according to first network configuration information includes:

[0126] A target service set identifier is selected in the first network configuration information; network login update information corresponding to the target service set identifier is set; and second network configuration information is generated according to the target service set identifier and the network login update information.

[0127] Among them, the first network configuration information includes an identifier list composed of service set identifiers, which may include a first identifier list and a second identifier list. The first identifier list may be composed of the first service set identifiers configured in the Internet of Things device, and the second identifier list may be composed of the second service set identifiers searched by the Internet of Things device.

[0128] Specifically, the first network configuration information is parsed to obtain a first identification list and a second identification list, and the first identification list and the second identification list are displayed on a display screen of the terminal device; in response to a service set identification selection instruction input by a user on the display screen, a target service set identification is selected from the first identification list and the second identification list; in response to a network login information setting instruction input by a user on the display screen, network login update information corresponding to the target service set identification is set, wherein the network login update information is the network login information of a wireless network having a target service set identification; the target service set identification and the network login update information are encapsulated as the second network configuration information.

[0129] As an example, Figure 5 As shown, the first identification list and the second identification list will first be displayed on the display interface 1 of the terminal device. The user can click on the first service set identification in the first identification list or the second service set identification in the second identification list to generate a service set identification selection instruction. After the terminal device selects the target service set identification based on the service set identification selection instruction, the current display interface of the terminal device jumps from display interface 1 to display interface 2. The user can click on setting network login update information in display interface 2 to generate a setting instruction for network login information. According to the setting instruction, the terminal device sets the network login update information corresponding to the target service set identification. Finally, the user clicks on the network configuration connection, and the terminal device will encapsulate the target service set identification and the network login update information as the second network configuration information and transmit it to the IoT device, instructing the IoT device to restart the network configuration.

[0130] In the above embodiment, the first service set identifiers configured by the IoT device and the second service set identifiers searched for can be directly displayed on the terminal device. The user can directly select the target service set identifier by clicking, and can directly enter the network login update information corresponding to the target service set identifier on the display screen of the terminal device to complete the re-configuration of the IoT device. During the entire configuration process, the user only needs to perform simple operations on the display screen of the terminal device, which helps to improve the convenience of IoT device configuration.

[0131] As an example, if some service set identifiers and / or network login information corresponding to the service set identifiers have been saved or configured in the IoT device, it means that the IoT device has been networked with these service set identifiers before, that is, the IoT device is a device that has been networked before; if some service set identifiers and / or network login information corresponding to the service set identifiers have not been saved or configured in the IoT device, it means that the IoT device has not been networked before, that is, the IoT device is being networked for the first time, that is, the IoT device is a device that has not been networked before.

[0132] In one embodiment, if the IoT device meets the preset network configuration update conditions, the IoT device determines the device unique identification and the device network status, wherein the device unique identification is used to determine whether the IoT device is a trusted device of the terminal device, and the device unique identification and the device network status are encapsulated as network configuration request information; the terminal device determines the device unique identification and the device network status of the IoT device by parsing the network configuration request information broadcast by the IoT device; based on the device unique identification and the device network status, it is detected whether the IoT device is a device that needs to be re-networked; if the IoT device is a device that needs to be re-networked, a network communication channel is established with the IoT device, and based on the network communication channel, a network configuration message is transmitted to the IoT device, wherein the network configuration message is used to request the IoT device to obtain the first network configuration information, so that the terminal device can accurately identify whether the IoT device is a device that needs to be re-networked based on the device network status and the device unique identification, which helps to improve the accuracy of the terminal device in identifying IoT devices that need to be re-networked.

[0133] After receiving the network configuration information, the IoT device will detect whether the network configuration message belongs to the preset network configuration message type. If the network configuration message belongs to the preset network configuration message type, it will generate the first network configuration information according to the first service set identifiers configured by the IoT device and the second service set identifiers searched, and transmit the first network configuration information to the terminal device; after receiving the first network configuration information, the terminal device will select the target service set identifier in the first network configuration information, and set the network login update information corresponding to the target service set identifier, and then the terminal device will use the target service set identifier and the corresponding network login update information as the second network configuration information, and send the second network configuration information to the IoT device.

[0134] The IoT device receives the second network configuration information transmitted by the terminal device, parses the second network configuration information, obtains the target service set identifier and the network login update information, and can access the wireless network corresponding to the target service set identifier according to the network login update information. In this way, during the network configuration process of the device in this embodiment, the user does not need to manually operate the network configuration based on the remote control or specific physical buttons of the IoT device. The IoT device can interact with the terminal device to automatically configure the network according to changes in the external network environment. The IoT device can automatically configure the network successfully in the changed wireless network environment, thereby improving the convenience of network configuration of the IoT device.

[0135] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0136] Based on the same inventive concept, the embodiment of the present application also provides a device network configuration apparatus for implementing the device network configuration method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more device network configuration apparatus embodiments provided below can refer to the limitations on the device network configuration method above, and will not be repeated here.

[0137] In one embodiment, Figure 6As shown, a device network configuration device is provided, which is applied to IoT devices, including: a broadcast module 602, a network configuration information sending module 604 and a network configuration module 606, wherein:

[0138] The broadcast module 602 is used to generate and broadcast network configuration request information if the IoT device meets the preset network configuration update condition, wherein the IoT device is a device that has been previously configured with a network.

[0139] The network configuration information sending module 604 is used to send the first network configuration information to the terminal device in response to the network configuration message of the terminal device for the network configuration request information, wherein the terminal device is used to generate the second network configuration information according to the first network configuration information.

[0140] The network configuration module 606 is configured to receive the second network configuration information fed back by the terminal device, and re-configure the network according to the second network configuration information.

[0141] In one embodiment, the network configuration information sending module is further used to:

[0142] In response to a communication connection request sent by the terminal device, a network communication channel is established with the terminal device; in response to a network configuration message transmitted by the terminal device based on the network communication channel, each first service set identifier configured by the IoT device and each second service set identifier that has been searched are obtained; first network configuration information is generated according to each first service set identifier and each second service set identifier; based on the network communication channel, the first network configuration information is sent to the terminal device.

[0143] In one embodiment, the broadcast module is further used for:

[0144] Determine the unique device identifier and the device network status of the IoT device, wherein the unique device identifier is used to identify whether the IoT device is a trusted device of the terminal device; generate the network configuration request information according to the unique device identifier and the device network status

[0145] In one embodiment, the device network configuration apparatus further includes:

[0146] The first determination module is used to determine that the IoT device meets a preset network configuration update condition if it is detected that the IoT device fails to configure the network.

[0147] In one embodiment, the device network configuration apparatus further includes:

[0148] The second determination module is used to determine whether the IoT device meets the preset network configuration update condition if a network configuration update request sent by the remote server is received, wherein the terminal device is used to request the remote server to send a network configuration update request to the IoT device.

[0149] Each module in the above-mentioned equipment network configuration device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0150] In one embodiment, Figure 7 As shown, a device network configuration device is provided, which is applied to a terminal device, including: a network configuration message feedback module 702, a network configuration information receiving module 704, a network configuration information generating module 706 and a network configuration indicating module 708, wherein:

[0151] A network configuration message feedback module 702 is configured to respond to the network configuration request information broadcast by the IoT device and send a network configuration message corresponding to the network configuration request information to the IoT device, wherein the IoT device is a device that has been previously configured with a network;

[0152] A network configuration information receiving module 704 is used to receive first network configuration information sent by the IoT device in response to the network configuration message;

[0153] A network configuration information generating module 706, configured to generate second network configuration information according to the first network configuration information;

[0154] The network configuration instruction module 708 sends the second network configuration information to the IoT device, wherein the IoT device is configured to re-configure the network according to the second network configuration information.

[0155] In one embodiment, the network configuration message feedback module is further used to:

[0156] By parsing the network configuration request information broadcast by the IoT device, the unique device identifier and the network status of the IoT device are determined; based on the unique device identifier and the network status of the device, it is detected whether the IoT device is a device that needs to be re-networked; if the IoT device is a device that needs to be re-networked, a network communication channel is established with the IoT device, and based on the network communication channel, a network configuration message is transmitted to the IoT device, wherein the network configuration message is used to request the IoT device to obtain the first network configuration information.

[0157] In one embodiment, the network configuration information generation module is further used to:

[0158] A target service set identifier is selected from the first network configuration information; network login update information corresponding to the target service set identifier is set; and second network configuration information is generated according to the target service set identifier and the network login update information.

[0159] In one embodiment, the device network configuration apparatus further includes:

[0160] The online network configuration request generating module is used to send an online network configuration request to a remote server, wherein the online network configuration request is used to instruct the remote server to send a network configuration update request to an online IoT device, and the network configuration update request is used to instruct the IoT device to broadcast network configuration request information.

[0161] In one embodiment, the first network configuration information includes a first service set identifier configured by the IoT device and a searched second service set identifier.

[0162] Each module in the above-mentioned equipment network configuration device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0163] In one embodiment, a computer device is provided. The computer device may be an IoT device or a terminal device. The internal structure diagram thereof may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WiFi, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a device network configuration method is implemented.

[0164] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0165] In one embodiment, a terminal device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned method embodiments applied to the terminal device are implemented.

[0166] In one embodiment, an Internet of Things device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned method embodiments applied to the Internet of Things device are implemented.

[0167] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0168] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0169] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0170] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0171] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A device network configuration method, characterized in that: Applied to a terminal device, the method comprises: In response to network configuration request information broadcast by an IoT device, sending a network configuration message corresponding to the network configuration request information to the IoT device, wherein the IoT device is a device that has been previously configured with a network; Receiving first network configuration information sent by the IoT device in response to the network configuration message; Generate second network distribution information according to the first network distribution information; The second network configuration information is sent to the IoT device, wherein the IoT device is configured to re-configure the network according to the second network configuration information.

2. The method according to claim 1, characterized in that The step of responding to the network configuration request information broadcast by the IoT device and sending a network configuration message corresponding to the network configuration request information to the IoT device includes: Determine the unique device identifier and device network status of the IoT device by parsing the network configuration request information broadcast by the IoT device; Detecting whether the IoT device is a device that needs to be re-networked according to the unique identifier of the device and the network status of the device; If the IoT device is a device that needs to be re-networked, a network communication channel is established with the IoT device, and a network configuration message is transmitted to the IoT device based on the network communication channel, wherein the network configuration message is used to request the IoT device to obtain first network configuration information.

3. The method according to claim 2, characterized in that The generating second network configuration information according to the first network configuration information includes: Selecting a target service set identifier from the first network configuration information; Setting the network login update information corresponding to the target service set identifier; Generate second network configuration information according to the target service set identifier and the network login update information.

4. The method according to claim 1, characterized in that: Before sending a network configuration message corresponding to the network configuration request information to the IoT device in response to the network configuration request information broadcast by the IoT device, the method further includes: An online network configuration request is sent to a remote server, wherein the online network configuration request is used to instruct the remote server to send a network configuration update request to an online IoT device, and the network configuration update request is used to instruct the IoT device to broadcast network configuration request information.

5. The method according to claim 1, characterized in that The first network configuration information includes a first service set identifier configured by the IoT device and a searched second service set identifier.

6. A device network configuration method, characterized in that: Applied to an IoT device, the method comprises: If the IoT device meets the preset network configuration update condition, then generate and broadcast network configuration request information, wherein the IoT device is a device that has been previously configured with a network; In response to a network configuration message of the terminal device for the network configuration request information, sending the first network configuration information to the terminal device, wherein the terminal device is used to generate the second network configuration information according to the first network configuration information; Receive the second network configuration information fed back by the terminal device, and re-configure the network according to the second network configuration information.

7. The method according to claim 6, characterized in that The sending of the first network configuration information to the terminal device in response to the network configuration request information by the terminal device comprises: In response to the communication connection request sent by the terminal device, establishing a network communication channel with the terminal device; In response to the network configuration message transmitted by the terminal device based on the network communication channel, acquiring each first service set identifier configured by the IoT device and each second service set identifier that has been searched; generating first network configuration information according to each of the first service set identifiers and each of the second service set identifiers; Based on the network communication channel, the first network configuration information is sent to the terminal device.

8. The method according to claim 6, characterized in that Generate network configuration request information, including: Determine a unique device identifier and a network status of the IoT device, wherein the unique device identifier is used to identify whether the IoT device is a trusted device of the terminal device; The network configuration request information is generated according to the unique identifier of the device and the network status of the device.

9. The method according to claim 6, characterized in that Before generating and broadcasting network configuration request information if the IoT device meets the preset network configuration update condition, the method includes at least one of the following items: If it is detected that the network configuration of the IoT device fails, determining that the IoT device meets the preset network configuration update condition; If a network configuration update request sent by a remote server is received, it is determined that the IoT device meets a preset network configuration update condition, wherein the terminal device is used to request the remote server to send a network configuration update request to the IoT device.

10. An Internet of Things device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 6 to 9 are implemented.