Internet of Things equipment distribution network monitoring method and system, Internet of Things equipment and user terminal

By using wireless hotspots and Bluetooth broadcasts to share reset and failure information during the network distribution process of IoT devices, the problem of network distribution failure caused by user operation errors is solved, and the network distribution success rate and user experience are improved.

CN118612679APending Publication Date: 2024-09-06NINGBO AUX ELECTRIC CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410633354.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

During the network distribution process of existing IoT devices, user operation errors or abnormal conditions lead to network distribution failure, and the reasons for failure cannot be effectively solved, resulting in repeated operations.

Method used

By initiating wireless hotspot and Bluetooth broadcasts and sharing device reset and failure information, user terminals can determine the cause of network distribution failure and improve operations to avoid failure.

Benefits of technology

Users can understand the specific reasons for network distribution failure, improve the operation process, reduce repeated errors, and improve the success rate of network distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612679A
    Figure CN118612679A
Patent Text Reader

Abstract

The invention provides an Internet of Things equipment network distribution monitoring method and system, Internet of Things equipment and a user terminal, and relates to the technical field of Internet of Things equipment network distribution, the method comprises the steps that a first wireless hotspot is initiated, and the name of the first wireless hotspot comprises an equipment wireless hotspot identifier and a reset information identifier; receiving wireless network information and equipment binding information sent by the user terminal, and accessing a wireless network according to the wireless network information; if wireless network access fails or equipment binding fails, a second wireless hotspot is initiated; the name of the second wireless hotspot comprises a device wireless hotspot identifier and a failure information identifier. In the embodiment of the invention, the Internet of Things equipment can share the key data with the user terminal, so that the user terminal determines the reason of network distribution failure and can feed back the reason of the network distribution failure to the user, thereby improving the network distribution operation, and enabling the user to avoid wrong operation in the network distribution process or avoid network access failure of the network distribution through a certain means.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network configuration of Internet of Things devices, and in particular to a method and system for monitoring network configuration of Internet of Things devices, Internet of Things devices and user terminals. Background Art

[0002] Nowadays, smart home appliances are becoming more and more popular. Most of these smart home appliances need to be networked to provide users with a quick and comfortable product experience. Networking is the first step in the smart product experience between users and products, and it is also an important part of product development for each brand. The main means of network configuration include: one-click network configuration, AP (Access Point, wireless access node) hotspot network configuration and Bluetooth network configuration. Among them, Bluetooth network configuration has gradually become the mainstream preferred technology as a fast and stable solution.

[0003] However, even though the network configuration and access technology solutions have greatly improved the success rate of network configuration and access for users, some problems still cannot be solved. For example, during the network configuration process, users input incorrect AP information, resulting in the inability of smart products that have obtained AP information to successfully configure the network; for another example, when users configure the network, they must first operate the device to enter the waiting state, but many users do not operate as required, resulting in the inability of smart products to successfully configure the network. That is, during the network configuration and access process, due to user operations or other abnormal situations, the device cannot handle the abnormality, resulting in the failure of device configuration and access.

[0004] Currently, there is no relevant technical solution to solve this problem. Generally, after a network configuration failure, the user is only prompted with the failure, and the user is unable to know the specific cause of the failure and the solution, resulting in many repeated operations. Summary of the invention

[0005] To solve the above problems, an embodiment of the present invention provides a method for monitoring network configuration of an Internet of Things device, which is applied to an Internet of Things device. The method includes: initiating a first wireless hotspot to enable a user terminal to connect and determining whether the Internet of Things device has completed device reset based on the name of the first wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the Internet of Things device; receiving wireless network information and device binding information sent by the user terminal, and accessing the wireless network according to the wireless network information; if access to the wireless network fails or device binding fails, initiating a second wireless hotspot, so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access to the wireless network state or the device binding result of the Internet of Things device.

[0006] The Internet of Things device network configuration monitoring method provided by the embodiment of the present invention can enable the Internet of Things device to share key data with the user terminal, so that the user terminal can determine the cause of the network configuration failure, and can feedback the cause of the network configuration failure to the user, thereby improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0007] Optionally, the method also includes: initiating a first Bluetooth broadcast, the message data of the first Bluetooth broadcast including device name information, network configuration authentication information and the reset information identifier, so that the user terminal determines whether the IoT device has completed device reset based on the reset information identifier; or, if access to the wireless network fails or device binding fails, initiating a second Bluetooth broadcast, the message data of the second Bluetooth broadcast including device name information, network configuration authentication information and the failure information identifier, so that the user terminal determines that the IoT device has failed to access the wireless network or the device binding has failed based on the failure information identifier.

[0008] In the embodiment of the present invention, the Internet of Things device can also share network configuration failure reason data with the user terminal via Bluetooth, thereby improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0009] Optionally, the method further includes: after successfully accessing the wireless network, accessing a cloud server for binding according to the device binding information.

[0010] In the embodiment of the present invention, the Internet of Things device can use the wireless network information to access the wireless hotspot. The wireless network where the wireless hotspot is located can be connected to the cloud server, etc., and then the Internet of Things device can try to connect to the cloud server for device binding.

[0011] The embodiment of the present invention provides a method for monitoring network configuration of an Internet of Things device, which is applied to a user terminal. The method comprises: after obtaining a device reset confirmation instruction, scanning surrounding wireless hotspots; if a first wireless hotspot corresponding to the Internet of Things device is found through the scanning, connecting to the first wireless hotspot, and determining whether the Internet of Things device has completed device reset according to the name of the wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the Internet of Things device; if it is determined that the device reset is completed, sending wireless network information and device binding information to the Internet of Things device, so that the Internet of Things device accesses the wireless network according to the wireless network information and accesses the cloud server according to the device binding information for binding; if the binding information corresponding to the Internet of Things device fails to be obtained within a preset time, scanning surrounding wireless hotspots; if a second wireless hotspot corresponding to the Internet of Things device is found through the scanning, determining that the Internet of Things device fails to access the wireless network or the device binding fails according to the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access wireless network state of the Internet of Things device or the device binding result.

[0012] The Internet of Things device network configuration monitoring method provided by the embodiment of the present invention enables the Internet of Things device to share key data with the user terminal, and the user terminal can determine the cause of the network configuration failure, thereby feeding back the cause of the network configuration failure to the user, improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0013] Optionally, the method also includes: receiving a first Bluetooth broadcast initiated by the Internet of Things device, the message data of the first Bluetooth broadcast including device name information, network configuration authentication information and the reset information identifier; determining whether the Internet of Things device has completed device reset according to the reset information identifier; or, receiving a second Bluetooth broadcast initiated by the Internet of Things device, the message data of the second Bluetooth broadcast including device name information, network configuration authentication information and the failure information identifier; determining that the Internet of Things device has failed to access the wireless network or the device binding has failed according to the failure information identifier.

[0014] In this embodiment, the user terminal can also receive network configuration failure reason data shared by the IoT device via Bluetooth, thereby improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0015] Optionally, the method further includes: displaying whether the IoT device has completed device resetting; or displaying that the IoT device has failed to access a wireless network or that device binding has failed.

[0016] In this embodiment, the user terminal can display the reason for the network configuration failure, so that the user can know the specific reason for the failure and then take corresponding solutions to avoid duplication of work.

[0017] An embodiment of the present invention provides an Internet of Things device network configuration monitoring system, which is applied to Internet of Things devices. The system includes: a reset sharing module, which is used to initiate a first wireless hotspot so that a user terminal can connect and determine whether the Internet of Things device has completed device reset based on the name of the first wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the Internet of Things device; an access module, which is used to receive wireless network information and device binding information sent by the user terminal, and access the wireless network according to the wireless network information; an access sharing module, which is used to initiate a second wireless hotspot if access to the wireless network fails or device binding fails, so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access wireless network state of the Internet of Things device or the device binding result.

[0018] The embodiment of the present invention provides a network configuration monitoring system for an Internet of Things device, which is applied to a user terminal. The system includes: a first scanning module, which is used to scan surrounding wireless hotspots after obtaining a device reset confirmation instruction; a first monitoring module, which is used to connect to the first wireless hotspot if a first wireless hotspot corresponding to the Internet of Things device is found through scanning, and determine whether the Internet of Things device has completed device reset according to the name of the wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the Internet of Things device; an information sending module, which is used to send wireless network information and device binding information to the Internet of Things device if it is determined that the device reset is completed, so that the Internet of Things device accesses the wireless network according to the wireless network information and accesses the cloud server according to the device binding information for binding; a second scanning module, which is used to scan surrounding wireless hotspots if the binding information corresponding to the Internet of Things device fails to be obtained within a preset time period; a second monitoring module, which is used to determine that the Internet of Things device fails to access the wireless network or the device binding fails according to the name of the second wireless hotspot if a second wireless hotspot corresponding to the Internet of Things device is found through scanning; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access wireless network state of the Internet of Things device or the device binding result.

[0019] An embodiment of the present invention provides an Internet of Things device, including a computer-readable storage medium storing a computer program and a processor, wherein the computer program implements the above method when read and executed by the processor.

[0020] An embodiment of the present invention provides a user terminal, including a computer-readable storage medium storing a computer program and a processor, wherein the computer program implements the above method when read and executed by the processor.

[0021] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the above-mentioned Internet of Things device network configuration monitoring method is implemented.

[0022] The Internet of Things device network configuration monitoring system, Internet of Things device, and user terminal of the present invention can achieve the same technical effect as the above-mentioned Internet of Things device network configuration monitoring method. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A flowchart of a method for monitoring network configuration of an Internet of Things device provided by an embodiment of the present invention;

[0024] Figure 2 A schematic diagram of another method for monitoring network configuration of an Internet of Things device provided by an embodiment of the present invention;

[0025] Figure 3 This is a structural diagram of a network configuration monitoring device for an Internet of Things device in an embodiment of the present invention;

[0026] Figure 4 It is a structural schematic diagram of another Internet of Things device network configuration monitoring device in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0028] The embodiment of the present invention proposes a method and system for monitoring and solving abnormal problems of Internet of Things devices during network configuration and access, so as to find out the specific cause of the network configuration and access failure, provide solutions, and avoid repeated invalid operations.

[0029] The devices and elements included in the embodiments of the present invention include devices to be networked, smart phones and mobile applications installed on smart phones, servers and wireless hotspots. Among them, the devices to be networked are smart IoT devices waiting to access the wireless hotspot and then connect to the server to obtain cloud services; smart phones and mobile applications are user operation terminals, which are used to bind smart IoT devices to user accounts through network access; servers are smart home appliance cloud servers, which can provide functions such as device authentication, login and device management; wireless access is the user's wireless network, which needs to be verified through the wireless name SSID (Service Set Identifier) ​​and password. Exemplarily, the above-mentioned smart IoT devices can be air conditioners, refrigerators, televisions, etc.

[0030] The known device network configuration process mainly includes the following steps: 1) the user manually resets the smart device; 2) the mobile phone transmits the wireless name SSID and password to the smart device; 3) the smart IoT device accesses the wireless network, completes server authentication and login; 4) the mobile phone binds the smart IoT device through the server. In these four briefly described links, once an error occurs in one link, the network configuration of the smart IoT device will be judged as a failure. The above process is a general process, and the examples listed here are only for the sake of pavement and explanation of the implementation plan. At the same time, the network configuration solutions applicable to the present invention may be AP (Access Point, wireless access node) hotspot network configuration and Bluetooth network configuration, etc. Since the above network configuration solutions are all general means, the present invention will no longer elaborate on the detailed details of the network configuration solutions.

[0031] When the user implements the network configuration operation, the smart IoT device obtains the network configuration information through the network configuration solution and then accesses the wireless access point to complete the device authentication and the device logs into the server. If a network configuration abnormality occurs, the device cannot complete the network configuration, and the smart IoT device cannot be operated through the mobile application of the smartphone. In the embodiment of the present invention, the smart IoT device shares key data with the smartphone mobile application or server, allowing the smartphone mobile application or server to obtain the factors of the module network configuration failure, thereby automatically completing the network configuration when the network configuration conditions are sufficient, or feeding back the network configuration failure factors to the user when the network configuration conditions are insufficient, thereby improving the network configuration operation. This method avoids the problem that the user can only obtain whether the network configuration is successful from the smartphone mobile application after the network configuration.

[0032] Figure 1 A schematic flow chart of a method for monitoring network configuration of an IoT device in an embodiment of the present invention is shown. The method is applied to an IoT device and includes the following steps:

[0033] S102, initiating a first wireless hotspot to enable a user terminal to connect and determining whether the Internet of Things device has completed device resetting based on the name of the first wireless hotspot.

[0034] The IoT device initiates a wireless hotspot, and the user terminal can search and connect to it, thus achieving communication between the two.

[0035] The name of the first wireless hotspot includes the device wireless hotspot identifier and the reset information identifier. The password of the wireless hotspot is not required and can be set according to a unified plan to facilitate users to know and access. For example, the password of the wireless hotspot is uniformly set to 123456 and recorded in the manual or label of the IoT device.

[0036] In this embodiment, the name of the wireless hotspot includes a device wireless hotspot identifier and a reset information identifier. The device wireless hotspot identifier may be composed of information such as the name and model of the IoT device, and the reset information identifier is determined by the device reset state of the IoT device. Exemplarily, the device reset state may be that the device reset is completed or the device reset is not completed. If the device reset is completed, the reset information identifier may be set to 1, and if the device reset is not completed, the reset information identifier may be set to 0.

[0037] The position of the reset information identifier in the name of the wireless hotspot can be preset. The user terminal can determine whether the IoT device has completed the device reset by searching for the character (1 or 0) at the preset position of the name of the wireless hotspot.

[0038] S104, receiving wireless network information and device binding information sent by the user terminal, and accessing the wireless network according to the wireless network information.

[0039] After the IoT device successfully completes the device reset, the user terminal accesses the wireless hotspot initiated by the IoT device, and the user terminal can send wireless network information and device binding information to the user terminal. Optionally, after receiving the information, the IoT device can close the first wireless hotspot initiated by itself.

[0040] After successfully accessing the wireless network, the IoT device accesses the cloud server for binding according to the device binding information. The IoT device can use the wireless network information to access the wireless hotspot, and the wireless network where the wireless hotspot is located can be connected to the cloud server, etc. Then the IoT device can try to connect to the cloud server for device binding.

[0041] S106: If the access to the wireless network fails or the device binding fails, a second wireless hotspot is initiated, so that the user terminal determines that the IoT device fails to access the wireless network or the device binding fails based on the name of the second wireless hotspot.

[0042] If the IoT device fails to access the wireless network or the device fails to bind, a second wireless hotspot is initiated, and the user terminal can search and find the wireless hotspot and then obtain the name of the hotspot. The name of the second wireless hotspot includes the device wireless hotspot identifier and the failure information identifier, and the failure information identifier is determined by the IoT device's wireless network access status or the device binding result.

[0043] For example, if the failure information identifier actually represents the wireless network access status, the wireless network access status may be access success or access failure. If the access is successful, the failure information identifier may be set to 1, and if the access fails, the failure information identifier may be set to 0. For example, if the failure information identifier actually represents the device binding result, the device binding result may be binding success or binding failure. If the binding is successful, the failure information identifier may be set to 1, and if the binding fails, the failure information identifier may be set to 0.

[0044] In order to distinguish the above reset information identifier (reset failure), access failure in the failure information identifier, and binding failure in the failure information identifier (access failure to the cloud), the following methods can be used:

[0045] The positions of the above-mentioned corresponding identifiers of different failure reasons in the wireless hotspot name are set to be different, and the user terminal can obtain the corresponding failure reasons by reading the characters at different positions;

[0046] The positions of the corresponding identifiers of the above different failure reasons in the wireless hotspot name are set to be the same, but the characters used for different failure reasons are different; taking three digits as an example: reset failure is 001, reset success is 010, access success is 011, access failure is 100, binding success is 101, and binding failure is 110.

[0047] It is determined by the network configuration stage / status displayed on the user terminal; for example, after the device is reset successfully, the user terminal displays "The device has been reset successfully", and thereafter it is marked as being used to indicate the wireless network access status. After the device successfully accesses the wireless network, the user terminal displays "The device has successfully accessed the wireless network", and thereafter it is marked as being used to indicate the device binding result.

[0048] The Internet of Things device network configuration monitoring method provided by the embodiment of the present invention can enable the Internet of Things device to share key data with the user terminal, so that the user terminal can determine the cause of the network configuration failure, and can feedback the cause of the network configuration failure to the user, thereby improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0049] Furthermore, the IoT device can also share the network configuration failure reason data with the user terminal via Bluetooth. Based on this, the above method can also include:

[0050] Initiate a first Bluetooth broadcast, the message data of the first Bluetooth broadcast includes device name information, network configuration authentication information and reset information identifier, so that the user terminal determines whether the IoT device has completed device reset based on the reset information identifier; or

[0051] If access to the wireless network fails or device binding fails, a second Bluetooth broadcast is initiated. The message data of the second Bluetooth broadcast includes device name information, network configuration authentication information and a failure information identifier, so that the user terminal determines that the IoT device fails to access the wireless network or the device binds based on the failure information identifier.

[0052] The IoT device can perform Bluetooth broadcasting, and the Bluetooth broadcast message data contains a reset information identifier or a failure information identifier, so that the user terminal can determine the reason for the network configuration failure based on the above identifier. The specific setting method of the above identifier is similar to the aforementioned wireless network configuration, and will not be repeated here.

[0053] Figure 2 A schematic flow chart of a method for monitoring network configuration of an IoT device in an embodiment of the present invention is shown. The method is applied to a user terminal and includes the following steps:

[0054] S202, after obtaining the device reset confirmation instruction, scan the surrounding wireless hotspots.

[0055] The user can open the mobile application of the smartphone and reset the IoT device according to the instructions. The smartphone should then prompt the user to confirm whether the reset operation has been completed. When the user clicks to confirm that the reset operation is complete, the smartphone scans the surrounding wireless hotspots.

[0056] S204: If a first wireless hotspot corresponding to the IoT device is found through scanning, the device is connected to the first wireless hotspot, and it is determined whether the IoT device has completed device resetting according to the name of the wireless hotspot.

[0057] The name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by a device reset state of the Internet of Things device.

[0058] The name of the wireless hotspot initiated by the IoT device may include information such as its brand, type, model, etc., so that the user terminal can determine that the wireless hotspot is initiated by the IoT device that needs to be networked.

[0059] Exemplarily, the device reset state may be that the device reset is completed or that the device reset is not completed. If the device reset is completed, the reset information flag may be set to 1; if the device reset is not completed, the reset information flag may be set to 0.

[0060] S206: If it is determined that the device reset is completed, the wireless network information and the device binding information are sent to the IoT device, so that the IoT device accesses the wireless network according to the wireless network information and accesses the cloud server according to the device binding information for binding.

[0061] S208: If the binding information corresponding to the IoT device fails to be obtained within the preset time, the surrounding wireless hotspots are scanned.

[0062] After the IoT device connects to the wireless network according to the wireless network information and connects to the cloud server according to the device binding information and successfully binds, the user terminal can obtain the binding information corresponding to the IoT device through the server. If the acquisition of the above binding information times out, the surrounding wireless hotspots are scanned again.

[0063] If the IoT device fails to access the wireless network or the device binding fails, a second wireless hotspot is initiated to share data with the user terminal again, so that the user terminal can determine the reason for the network configuration failure.

[0064] S210: If a second wireless hotspot corresponding to the IoT device is found through scanning, it is determined according to the name of the second wireless hotspot that the IoT device fails to access the wireless network or that the device fails to bind.

[0065] The name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access network status of the Internet of Things device or the device binding result.

[0066] After the user terminal determines the cause of the network configuration failure based on the above method, it can display whether the IoT device has completed the device reset; or, it can display the IoT device's failure to access the wireless network or the device binding failure, so that the user can know the specific cause of the failure and take corresponding solutions to avoid duplication of work.

[0067] The Internet of Things device network configuration monitoring method provided by the embodiment of the present invention enables the Internet of Things device to share key data with the user terminal, and the user terminal can determine the cause of the network configuration failure, thereby feeding back the cause of the network configuration failure to the user, improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0068] Furthermore, the user terminal may also receive the network configuration failure reason data shared by the IoT device via Bluetooth. Based on this, the above method may also include:

[0069] Receive a first Bluetooth broadcast initiated by an IoT device, wherein the message data of the first Bluetooth broadcast includes device name information, network configuration authentication information, and a reset information identifier; determine whether the IoT device has completed device reset according to the reset information identifier; or,

[0070] Receive a second Bluetooth broadcast initiated by the Internet of Things device, the message data of the second Bluetooth broadcast includes device name information, network configuration authentication information and a failure information identifier; determine, based on the above failure information identifier, that the Internet of Things device fails to access the wireless network or that the device fails to bind.

[0071] The following is a detailed introduction to the network configuration monitoring process between IoT devices and user terminals.

[0072] When the user completes the reset of the smart device, the smart IoT device can be networked. If the device reset is not completed, the device is not in the network configuration state and cannot be networked. The embodiment of the present invention proposes that the device shares reset information to clarify whether the device is in the network configuration state. The smart phone mobile application confirms whether the device can be networked by sharing the reset information. The following are the key steps:

[0073] 1) For AP wireless network configuration, the IoT device initiates an AP wireless hotspot. The AP wireless hotspot name consists of the device AP hotspot identifier and the reset information identifier. The wireless password is not required, but must be set according to a unified plan for easy access. When the device is not configured, the reset identifier of the wireless AP hotspot name is valid, such as setting it to character 1, etc. When the network configuration is successful, the AP hotspot is closed;

[0074] 2) After the user opens the smartphone mobile application, he / she resets the device according to the instructions. The smartphone mobile application prompts the user to confirm whether the operation has been completed. When the user clicks to complete the operation, the smartphone mobile application scans the surrounding AP wireless hotspots. If a matching AP wireless hotspot is found, the AP network configuration operation is performed; if a matching AP wireless hotspot cannot be obtained after scanning (there is no AP wireless hotspot shared by the device and the reset is valid mark), a pop-up window will prompt the user that the reset device has not been found, and the user is asked to reconfirm the reset operation;

[0075] 3) For Bluetooth network configuration, the device performs Bluetooth broadcasting, and the Bluetooth broadcast message data contains the device name information, network configuration authentication information and reset information identifier. When the device is not configured with a network, the reset information identifier in the Bluetooth broadcast message data is valid, and the digital position is 1;

[0076] 4) After the user opens the smartphone mobile application and resets the device according to the instructions, the smartphone mobile application prompts the user to confirm whether the operation has been completed. When the user clicks to complete the operation, the smartphone mobile application scans the surrounding Bluetooth broadcast data. If no network-configurable device is found, after the automatic network configuration time expires, generally 60 seconds, the user is prompted that no valid smart device is found to be reset and is waiting for network configuration.

[0077] When the device is successfully reset, the smartphone mobile application finds the device reset identifier, completes the transmission of the AP wireless access point SSID and password, and the device authentication binding information, and then the device accesses the AP wireless hotspot. However, in many failure cases, users often enter the wrong AP wireless access point SSID or login password, causing the device to fail to access the AP wireless hotspot, thereby failing to configure the network, which is difficult to detect. The embodiment of the present invention proposes the following solution for troubleshooting the problem of being unable to access the AP wireless hotspot:

[0078] 1) For AP wireless network configuration, after the SSID and password of the user AP wireless hotspot network are transmitted, the device executes the process of accessing the user AP wireless network. If it fails to access after a certain timeout, it means that the transmitted access information is incorrect or the AP wireless network to be accessed does not exist. The smart device initiates an AP wireless hotspot, and the AP wireless hotspot name is identified by the device AP hotspot identifier and access failure information, such as setting character 1 for password error and failure to access; character 2 for SSID error and failure to find the SSID, etc.

[0079] 2) When the AP network configuration process times out and the smartphone mobile application fails to obtain the bound device information, it scans the AP wireless hotspot information in the surrounding environment, locates the network configuration device by the AP wireless hotspot name, and determines the reason for the network configuration failure by the access failure mark, so as to prompt the user to operate according to the failure situation;

[0080] 3) For Bluetooth network configuration, similarly, when the AP wireless network cannot be accessed, a Bluetooth broadcast data packet is initiated. The broadcast data contains network configuration authentication information and access failure information identification. The number 1 is set to indicate a password error and access cannot be made; the number 2 is set to indicate an SSID error and the SSID is not found, etc.;

[0081] 4) When the Bluetooth network configuration process times out and the smartphone mobile application fails to obtain the bound device information, it scans the Bluetooth broadcast data in the surrounding environment, locates the corresponding smart device to be configured through the authentication information in the Bluetooth broadcast data packet, and determines the cause of the network configuration failure by obtaining the access failure identifier, so that the user can be prompted to take action based on the failure situation.

[0082] Device binding failure is mainly caused by the failure of smart devices to access the cloud and the failure of smart phone mobile applications to obtain server binding information. When smart devices fail to access the cloud, similarly, follow the measures for failure to access the AP wireless hotspot mentioned above to share the corresponding key factor information. Since the solutions are similar, they are briefly described below:

[0083] 1) When the access to the cloud fails, for AP wireless network configuration, the AP wireless hotspot is started. The AP wireless name contains the device name and the reason for the failure to access the cloud. Character 1 indicates that the authentication failed, and character 2 indicates that the network cannot be connected, etc.;

[0084] 2) After the network configuration timeout, the smartphone mobile application scans the surrounding AP hotspot information, locates the corresponding network configuration device, prompts the user the reason for the failure, and allows another attempt;

[0085] 3) When the access to the cloud fails, for Bluetooth network configuration, Bluetooth broadcast data is started. The broadcast data packet contains authentication information and the reason for the failure to access the cloud. The number 1 indicates that the authentication failed, and the number 2 indicates that the network cannot be connected, etc.;

[0086] 4) After the network configuration timeout, the smartphone mobile application scans the surrounding Bluetooth broadcast information, locates the corresponding network configuration device, prompts the user the reason for the failure, and allows another attempt.

[0087] The embodiment of the present invention improves the difficulty that cannot be solved after failure in abnormal network configuration based on the technical solutions of general AP wireless hotspot network configuration and Bluetooth network configuration, that is, by collecting abnormal network configuration information and feeding back the abnormality to the user through the corresponding network configuration technical solution characteristics, the user can avoid erroneous operations during network configuration or avoid the unavoidable network configuration failure problem through certain means. The cause of the problem is made clearer, which facilitates the adoption of targeted measures to improve network configuration efficiency.

[0088] The embodiment of the present invention proposes to avoid failures caused by abnormal device reset due to improper user operation during the network configuration and reset stage, by scanning specific information before network configuration to determine whether there is a device in the network configuration state, so as to find out whether the device is reset before network configuration, and avoid failure problems caused by invalid reset due to abnormal reset.

[0089] The embodiment of the present invention proposes to solve the problem of inevitable failure of network configuration due to incorrect network configuration information caused by improper user operation or the inability to complete network configuration due to the lack of AP wireless access points in the environment. After a network configuration failure, the specific information of the smart device in the environment is scanned to determine the specific cause of the device network configuration failure, thereby solving the problem of information error during the second network configuration and improving the network configuration efficiency.

[0090] The embodiment of the present invention proposes to improve the problem of network configuration failure caused by factors such as device network connection problems during network configuration binding. After a network configuration failure, the specific information of the smart device in the environment is scanned to determine the specific cause of the device network configuration binding failure, and the network configuration can be completed by trying to bind again or repairing the network.

[0091] Figure 3 The schematic diagram of the structure of a network configuration monitoring system for an Internet of Things device in an embodiment of the present invention is shown. The system is applied to an Internet of Things device and includes:

[0092] The reset sharing module 301 is used to initiate a first wireless hotspot to enable a user terminal to connect and determine whether the IoT device has completed device reset based on the name of the first wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the IoT device;

[0093] The access module 302 is used to receive the wireless network information and device binding information sent by the user terminal, and access the wireless network according to the wireless network information;

[0094] The access sharing module 303 is used to initiate a second wireless hotspot if the access to the wireless network fails or the device binding fails, so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access wireless network status of the Internet of Things device or the device binding result.

[0095] The Internet of Things device network configuration monitoring system provided by the embodiment of the present invention enables the Internet of Things device to share key data with the user terminal, and the user terminal can determine the cause of the network configuration failure, thereby feeding back the cause of the network configuration failure to the user, improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0096] As a feasible approach, the above system further includes a first Bluetooth sharing module, which is used to:

[0097] Initiate a first Bluetooth broadcast, wherein the message data of the first Bluetooth broadcast includes device name information, network configuration authentication information, and the reset information identifier, so that the user terminal determines whether the IoT device has completed device reset based on the reset information identifier; or

[0098] If access to the wireless network fails or device binding fails, a second Bluetooth broadcast is initiated. The message data of the second Bluetooth broadcast includes device name information, network configuration authentication information and the failure information identifier, so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the failure information identifier.

[0099] As a feasible approach, the system further includes a binding module, which is used to: after successfully accessing the wireless network, access the cloud server for binding according to the device binding information.

[0100] Figure 4 The schematic diagram of the structure of a network configuration monitoring system for an Internet of Things device in an embodiment of the present invention is shown. The system is applied to an Internet of Things device and includes:

[0101] The first scanning module 401 is used to scan surrounding wireless hotspots after obtaining the device reset confirmation instruction;

[0102] The first monitoring module 402 is used to connect to the first wireless hotspot if a first wireless hotspot corresponding to the IoT device is found through scanning, and determine whether the IoT device has completed device reset according to the name of the wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the IoT device;

[0103] The information sending module 403 is used to send the wireless network information and the device binding information to the IoT device if it is determined that the device reset is completed, so that the IoT device can access the wireless network according to the wireless network information and access the cloud server according to the device binding information for binding;

[0104] The second scanning module 404 is used to scan the surrounding wireless hotspots if the binding information corresponding to the IoT device fails to be obtained within a preset time period;

[0105] The second monitoring module 405 is used to determine, if a second wireless hotspot corresponding to the IoT device is found through scanning, whether the IoT device has failed to access the wireless network or whether the device has failed to bind, based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the wireless network access status or device binding result of the IoT device.

[0106] The Internet of Things device network configuration monitoring system provided by the embodiment of the present invention enables the Internet of Things device to share key data with the user terminal, and the user terminal can determine the cause of the network configuration failure, thereby feeding back the cause of the network configuration failure to the user, improving the network configuration operation, allowing the user to avoid erroneous operations during the network configuration process or avoid network configuration failure through certain means.

[0107] As a feasible approach, the system further includes a second Bluetooth sharing module, which is used to:

[0108] Receiving a first Bluetooth broadcast initiated by the IoT device, wherein the message data of the first Bluetooth broadcast includes device name information, network configuration authentication information, and the reset information identifier;

[0109] Determine whether the IoT device has completed device reset according to the reset information identifier; or,

[0110] Receive a second Bluetooth broadcast initiated by the IoT device, where the message data of the second Bluetooth broadcast includes device name information, network configuration authentication information, and the failure information identifier;

[0111] It is determined according to the failure information identifier that the Internet of Things device fails to access the wireless network or the device binding fails.

[0112] As a feasible manner, the system further includes a display module, which is used to:

[0113] Displays whether the IoT device has completed device resetting; or displays whether the IoT device has failed to access the wireless network or device binding has failed.

[0114] An embodiment of the present invention provides an Internet of Things device, including a computer-readable storage medium storing a computer program and a processor, wherein the computer program implements the above method when read and executed by the processor.

[0115] An embodiment of the present invention provides a user terminal, characterized in that it includes a computer-readable storage medium storing a computer program and a processor, and when the computer program is read and executed by the processor, the above method is implemented.

[0116] The embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the method provided in the above embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0117] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the control device through a computer, and the program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments, wherein the storage medium may be a memory, a disk, an optical disk, etc.

[0118] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

[0119] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0120] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0121] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A method for monitoring network configuration of an Internet of Things device, characterized in that: Applied to an IoT device, the method comprises: Initiate a first wireless hotspot to enable a user terminal to connect and determine whether the IoT device has completed device reset based on the name of the first wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the IoT device; Receiving wireless network information and device binding information sent by the user terminal, and accessing the wireless network according to the wireless network information; If access to the wireless network fails or device binding fails, a second wireless hotspot is initiated so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access to the wireless network status of the Internet of Things device or the device binding result.

2. The method according to claim 1, characterized in that The method further comprises: Initiate a first Bluetooth broadcast, wherein the message data of the first Bluetooth broadcast includes device name information, network configuration authentication information, and the reset information identifier, so that the user terminal determines whether the IoT device has completed device reset based on the reset information identifier; or If access to the wireless network fails or device binding fails, a second Bluetooth broadcast is initiated. The message data of the second Bluetooth broadcast includes device name information, network configuration authentication information and the failure information identifier, so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the failure information identifier.

3. The method according to claim 1, characterized in that The method further comprises: After successfully accessing the wireless network, access the cloud server for binding according to the device binding information.

4. A method for monitoring network configuration of an Internet of Things device, characterized in that: Applied to a user terminal, the method comprises: After receiving the device reset confirmation command, scan the surrounding wireless hotspots; If a first wireless hotspot corresponding to the IoT device is found through scanning, the first wireless hotspot is connected, and whether the IoT device has completed device reset is determined according to the name of the wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the IoT device; If it is determined that the device reset is completed, wireless network information and device binding information are sent to the IoT device, so that the IoT device accesses the wireless network according to the wireless network information and accesses the cloud server according to the device binding information for binding; If the binding information corresponding to the IoT device fails to be obtained within the preset time, the surrounding wireless hotspots are scanned; If a second wireless hotspot corresponding to the IoT device is found through scanning, it is determined that the IoT device has failed to access the wireless network or the device has failed to bind based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the wireless network access status or device binding result of the IoT device.

5. The method according to claim 4, characterized in that The method further comprises: Receiving a first Bluetooth broadcast initiated by the IoT device, wherein the message data of the first Bluetooth broadcast includes device name information, network configuration authentication information, and the reset information identifier; Determine whether the IoT device has completed device reset according to the reset information identifier; or receive a second Bluetooth broadcast initiated by the IoT device, wherein the message data of the second Bluetooth broadcast includes device name information, network configuration authentication information and the failure information identifier; It is determined according to the failure information identifier that the Internet of Things device fails to access the wireless network or the device binding fails.

6. The method according to claim 4, characterized in that The method further comprises: Display whether the IoT device has completed device reset; or, It shows that the IoT device failed to access the wireless network or the device binding failed.

7. An Internet of Things equipment distribution network monitoring system, characterized in that: Applied to IoT devices, the system includes: A reset sharing module, used to initiate a first wireless hotspot to enable a user terminal to connect and determine whether the IoT device has completed device reset based on the name of the first wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the IoT device; An access module, used to receive the wireless network information and device binding information sent by the user terminal, and access the wireless network according to the wireless network information; An access sharing module is used to initiate a second wireless hotspot if access to the wireless network fails or device binding fails, so that the user terminal determines that the Internet of Things device fails to access the wireless network or the device binding fails based on the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the access wireless network status of the Internet of Things device or the device binding result.

8. An Internet of Things equipment distribution network monitoring system, characterized in that: Applied to a user terminal, the system comprises: The first scanning module is used to scan the surrounding wireless hotspots after obtaining the device reset confirmation instruction; A first monitoring module is used to connect to a first wireless hotspot corresponding to the IoT device if a first wireless hotspot is found through scanning, and determine whether the IoT device has completed device reset according to the name of the wireless hotspot; the name of the first wireless hotspot includes a device wireless hotspot identifier and a reset information identifier, and the reset information identifier is determined by the device reset state of the IoT device; An information sending module, for sending wireless network information and device binding information to the IoT device if it is determined that the device reset is completed, so that the IoT device accesses the wireless network according to the wireless network information and accesses the cloud server according to the device binding information for binding; A second scanning module is used to scan surrounding wireless hotspots if the binding information corresponding to the IoT device fails to be obtained within a preset time period; The second monitoring module is used to determine, if a second wireless hotspot corresponding to the Internet of Things device is found through scanning, that the Internet of Things device fails to access the wireless network or the device binds failed according to the name of the second wireless hotspot; the name of the second wireless hotspot includes a device wireless hotspot identifier and a failure information identifier; the failure information identifier is determined by the Internet of Things device's access to the wireless network status or the device binding result.

9. An Internet of Things device, characterized in that: The invention comprises a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, the method according to any one of claims 1 to 3 is implemented.

10. A user terminal, characterized in that: The method comprises a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, the method according to any one of claims 4 to 6 is implemented.