A device network distribution method, device and system

By generating and sending binding codes on the server, batch distribution of smart home appliances is realized, which solves the problem of low network distribution efficiency in the existing technology and improves the accuracy and convenience of network distribution.

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

Patent Information

Application Number
CN202211589188.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-12
Publication Date
2024-09-06
Estimated Expiration
2042-12-12

AI Technical Summary

Technical Problem

The existing network distribution methods for smart home appliances are inefficient, especially when automatic binding cannot be achieved when distributing network devices in batches, resulting in a cumbersome network distribution process.

Method used

By receiving the registration information of the device to be configured on the server, generating a binding code and sending it to the device to display the binding code, and sending the device information to the control terminal to display the device list, batch configuration binding of the device is realized .

Benefits of technology

It improves the accuracy and efficiency of the distribution network, enables users to bind multiple devices to the distribution network at the same time, and improves the efficiency and convenience of the distribution network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016004B
    Figure CN116016004B
Patent Text Reader

Abstract

The present invention discloses a device network configuration method, apparatus and system, and relates to the technical field of intelligent devices. The device network configuration method includes: receiving device registration information sent by each device to be configured; generating binding codes corresponding to each device to be configured based on the device registration information, and sending each binding code to the corresponding device to be configured, so that the device to be configured displays the binding code; sending the device information of the device to be configured to a control terminal connected to the same router as the device to be configured, so that the control terminal displays the corresponding device list; when receiving a binding request sent by the control terminal, the control terminal is bound to the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the number of devices to be bound includes one or more. The present invention enables users to perform network configuration binding on multiple devices to be bound at the same time, realizes batch network configuration of devices, and improves network configuration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent devices, and in particular to a device network configuration method, device and system. Background Art

[0002] At present, with the widespread application of smart home appliances, the requirements for the control convenience of smart home appliances are getting higher and higher, so the convenience of network configuration of smart home appliances is very important. The existing network configuration method of smart home appliances is usually to configure a device individually, including one-click network configuration (such as smartconfig), terminal network configuration or Bluetooth network configuration. In the network configuration process, after the network configuration device is connected to the wireless network, the device is registered on the cloud server, and the control terminal discovers and binds the home appliance. The network configuration efficiency is low, and the existing network configuration technology usually automatically binds the first successfully registered device when configuring multiple devices, and it is impossible to configure batch devices. Therefore, how to realize batch network configuration of devices in the device network configuration process to improve the efficiency of device network configuration has become an urgent problem to be solved. Summary of the invention

[0003] To solve the above problems, the present invention provides a device network configuration method, apparatus and system, which can enable a user to simultaneously configure and bind multiple devices to be bound, thereby realizing batch network configuration of devices and improving network configuration efficiency.

[0004] According to an embodiment of the present invention, on the one hand, a device network configuration method is provided, which is applied to a server, and the device network configuration method includes: receiving device registration information sent by each device to be configured; wherein the device registration information is issued after the device to be configured is successfully connected to a router; generating a binding code corresponding to each device to be configured based on each device registration information, and sending each binding code to the corresponding device to be configured, so that the device to be configured displays the binding code; sending the device information of the device to be configured to a control terminal connected to the same router as the device to be configured, so that the control terminal displays a corresponding device list; when receiving a binding request sent by the control terminal, the control terminal is network-bound with the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the device information to be bound includes the binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

[0005] By adopting the above technical solution, after the device to be configured is registered on the server, a binding code corresponding to each device to be configured is generated based on the device registration information, so that the device can display the binding code, and the control terminal can be accurately bound to the corresponding device for network configuration, thereby improving the accuracy of network configuration binding. By sending the device information of the device to be configured to the control terminal connected to the same router as the device to be configured, the control terminal can display all devices successfully connected to the same router, thereby enabling the user to perform network configuration binding for multiple devices to be bound at the same time, thereby realizing batch network configuration of devices and improving network configuration efficiency.

[0006] Preferably, before the step of receiving device registration information sent by each device to be networked, it also includes: receiving network configuration information sent by the control terminal; wherein the network configuration information includes a hash code and a public IP address corresponding to the control terminal, and the hash code is generated based on a string of a wireless network name and a password to which the control terminal is connected.

[0007] By adopting the above technical solution, a hash code generated by concatenating the public IP address and the wireless network name and password to which the control terminal is connected is sent to the server, so that the server can accurately configure the control terminal with the corresponding device. At the same time, the hash code is sent to the server, and the accuracy of the network configuration can be improved without providing the wireless network name and password, thereby ensuring the network security of the user's router.

[0008] Preferably, the device registration information includes the MAC address of the device to be networked, the current IP address, and a hash code generated based on a string of a concatenation of a wireless network name and a password to which the device to be networked is connected.

[0009] By adopting the above technical solution, the server receives the MAC address, current IP address and hash code of each device to be configured, which can provide accurate basis for the precise configuration of the device to be configured and improve the success rate of device configuration.

[0010] Preferably, the step of sending the device information of the device to be networked to a control terminal connected to the same router as the device to be networked so that the control terminal displays a corresponding device list includes: determining a target terminal corresponding to each device to be networked based on the network configuration information sent by each control terminal and the device registration information sent by each device to be networked; sending the device information of each device to be networked to the corresponding target terminal so that the target terminal displays a device list composed of the device information of each target device; wherein the target device has the same IP address and hash code as the target terminal, and the device information includes a MAC address, a device name, and a binding code corresponding to the target device.

[0011] By adopting the above technical solution, the device information of the device to be configured is sent to the corresponding target terminal, so that the target terminal can display all devices successfully connected to the router to the user, so that the user can select multiple devices for batch configuration, thereby improving the convenience and accuracy of batch configuration of devices.

[0012] Preferably, the binding code includes at least two digits; the step of generating a binding code corresponding to each of the devices to be configured based on the registration information of each device includes: generating a binding code corresponding to each of the devices to be configured based on the current IP address of each of the devices to be configured and the hash code; wherein, the binding codes corresponding to the devices to be configured whose current IP address and hash code are the same are different from each other, and the binding codes corresponding to the devices to be configured whose current IP address and hash code are different are the same or different.

[0013] By adopting the above technical solution and setting the binding code to more than two digits, batch configuration of multiple devices connected to the same router can be supported, thereby increasing the number of devices configured in batches and improving the efficiency of batch configuration of devices.

[0014] According to an embodiment of the present invention, on the other hand, a device network configuration method is provided, which is applied to a control terminal, and the device network configuration method includes: sending network configuration information to a server, and sending a wireless network name and password to a device to be configured, so that the device to be configured is successfully connected to a router; wherein the network configuration information includes a hash code and a public network IP address corresponding to the control terminal, and the hash code is generated based on the wireless network name and password connected to the control terminal; when receiving device information of each device to be configured that is connected to the same router as the control terminal sent by the server, a device list consisting of device information of each target device that is successfully connected to the router is displayed; wherein the target device has the same IP address and hash code as the target terminal, and the device information includes a MAC address, a device name, and a binding code corresponding to the target device; receiving a device binding instruction input by a user, and sending a binding request to the server based on the device binding instruction, so that the server performs network configuration binding on the control terminal and the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the device information to be bound includes a binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

[0015] Preferably, the device binding instruction includes a selective binding instruction, a full binding instruction or a binding code selection device binding instruction input by a user in the device list interface.

[0016] According to an embodiment of the present invention, on the other hand, a device network configuration device is provided, which is applied to a server, and the device network configuration device includes: a first receiving module, which is used to receive device registration information sent by each device to be configured; wherein the device registration information is sent after the device to be configured is successfully connected to a router; a first sending module, which is used to generate a binding code corresponding to each device to be configured based on each device registration information, and send each binding code to the corresponding device to be configured, so that the device to be configured displays the binding code; a second sending module, which is used to send the device information of the device to be configured to a control terminal connected to the same router as the device to be configured, so that the control terminal displays the corresponding device list; a network configuration module, which is used to perform network configuration binding on the control terminal and the corresponding device to be configured based on the device information to be bound carried in the binding request when a binding request sent by the control terminal is received; wherein the device information to be bound includes the binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

[0017] According to an embodiment of the present invention, on the other hand, there is provided a device network configuration apparatus, which is applied to a control terminal, and the device network configuration apparatus comprises: a third sending module, which is used to send network configuration information to a server, and send a wireless network name and password to a device to be configured, so that the device to be configured can be successfully connected to a router; wherein the network configuration information comprises a hash code and a public network IP address corresponding to the control terminal, and the hash code is generated based on the wireless network name and password connected to the control terminal; a display module, which is used to display the device information of each target device to be configured that is connected to the same router as the control terminal sent by the server, when receiving the device information of each device to be configured that is connected to the same router as the control terminal, a device list composed of device information of the target device; wherein, the IP address and hash code of the target device are the same as those of the target terminal, and the device information includes a MAC address, a device name and a binding code corresponding to the target device; a fourth sending module, for receiving a device binding instruction input by a user, and sending a binding request to the server based on the device binding instruction, so that the server binds the control terminal to the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein, the device information to be bound includes the binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

[0018] According to an embodiment of the present invention, on the other hand, a device network distribution system is provided, including: a server and a control terminal, the server is used to implement the method as described in any one of the first aspects, and the control terminal is used to implement the method as described in any one of the second aspects.

[0019] The present invention has the following beneficial effects: after the device to be networked is registered on the server, a binding code corresponding to each device to be networked is generated based on the device registration information, so that the device can display the binding code, and the control terminal can be accurately bound to the corresponding device for network configuration, thereby improving the accuracy of network configuration binding; by sending the device information of the device to be networked to the control terminal connected to the same router as the device to be networked, the control terminal can display all devices successfully connected under the same router, thereby enabling the user to perform network configuration binding for multiple devices to be bound at the same time, thereby realizing batch network configuration of devices and improving network configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0021] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.

[0022] Figure 1 A flow chart of a device network configuration method provided by the present invention;

[0023] Figure 2 Another device network configuration method flow chart provided by the present invention;

[0024] Figure 3 A flow chart of centralized batch network distribution of equipment provided by the present invention;

[0025] Figure 4 A schematic diagram of the structure of a device distribution network device provided by the present invention;

[0026] Figure 5 A schematic diagram of the structure of another equipment network distribution device provided by the present invention;

[0027] Figure 6 A schematic diagram of the structure of a device distribution network system provided by the present invention. DETAILED DESCRIPTION

[0028] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] 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.

[0030] The existing device network configuration method usually requires the use of a mobile terminal to directly connect to home appliances, or selective network configuration on the mobile terminal, and when multiple devices are configured, the first successfully registered device is usually automatically bound, and batch devices cannot be configured. To improve the above problems, the embodiments of the present invention provide a device network configuration method, device and system, which are described in detail below.

[0031] This embodiment provides a device network configuration method, which can be applied to a server. Figure 1 The device network configuration method flow chart shown in the figure mainly includes the following steps S102 to S108:

[0032] Step S102: receiving device registration information sent by each device to be networked.

[0033] The device registration information is sent after the device to be networked is successfully connected to the router. The device to be networked can be any smart home appliance that needs to be networked, such as an air conditioner. The device to be networked has a built-in network communication module (wifi) to provide the device with networking capabilities so as to communicate with the server. The control terminal can be a mobile terminal such as a mobile phone or other electronic device. The server receives and stores the device registration information of each device to be networked.

[0034] When the network configuration starts, the control terminal sends the hash code and public IP address (Internet Protocol Address) generated based on the wireless network name and password to the server. At the same time, the control terminal sends the wireless network information (including WiFi name and WiFi password) and the public IP address to the device to be configured, so that the device to be configured can connect to the router based on the wireless network information. After the device to be configured is successfully connected to the router, it sends the device registration information to the server.

[0035] In a specific implementation, the device registration information includes the MAC (Media Access Control Address, local area network address) address of the device to be configured, the current IP address, and a hash code generated based on a string of the wireless network name and password to which the device to be configured is connected. By allowing the server to receive the MAC address, current IP address, and hash code of each device to be configured, an accurate basis can be provided for the precise configuration of the device to be configured, thereby improving the device's configuration success rate.

[0036] Step S104: generating binding codes corresponding to the devices to be configured based on the registration information of the devices, and sending the binding codes to the corresponding devices to be configured, so that the devices to be configured display the binding codes.

[0037] When there are many devices to be configured in batches, in order to avoid incorrect selection of configuration devices, a corresponding binding code can be generated according to the device registration information of each device to be configured, so that the binding codes of each device to be configured connected to the same router are different. Since the current IP address and hash code of each device to be configured connected to the same router are the same, by generating different binding codes and controlling the device to be configured to display the binding code, the various devices to be configured can be accurately distinguished, so that users can select multiple devices that need to be configured for accurate batch configuration.

[0038] In a specific implementation, the above-mentioned binding code can be a single-digit or multi-digit number. The more digits the binding code has, the more devices that can be simultaneously configured on the same router are supported. When the binding code is a single-digit number, the server can generate a non-repeating binding code between 0 and 9, and the server can simultaneously support batch configuration of 10 devices; when the binding code is a two-digit number, the server can generate a non-repeating binding code between 00 and 99, and the server can simultaneously support batch configuration of 100 devices.

[0039] Step S106: sending the device information of the device to be networked to a control terminal connected to the same router as the device to be networked, so that the control terminal displays a corresponding device list.

[0040] After generating the binding code, the server determines the control terminal connected to the same server as each device to be configured, and sends the device information of the device to be configured connected to the same router to the control terminal, so that the control terminal can display to the user a device list consisting of the device information of each device to be configured connected to the same router as the control terminal. The device information in the device list includes the MAC address, device name and binding code of the device to be configured.

[0041] Step S108: When a binding request sent by the control terminal is received, the control terminal is bound to the corresponding device to be networked based on the device information to be bound carried in the binding request.

[0042] After the control terminal displays the device list to the user, the user can select the devices that need to be batch configured in the device list and submit them. The control terminal sends a binding request to the server based on the devices to be bound selected by the user. The binding request carries the information of the devices to be bound, which includes the IP address, hash code, binding code and number of devices to be bound corresponding to the devices to be bound, and the number of devices to be bound includes one or more. After receiving the binding request, the server compares whether the IP address, hash code and binding code of the devices to be bound in the binding request are the same as the current IP address, hash code and binding code of the devices to be configured stored in the server, or compares whether the IP address, hash code and binding code of the devices to be bound in the binding request are the same as the public network IP address and hash code of the control terminal stored in the server. If so, the control terminal is bound to the corresponding one or more devices to be configured in batches.

[0043] The device networking method provided in this embodiment generates a binding code corresponding to each device to be networked based on the device registration information after the device to be networked is registered on the server, so that the device can display the binding code, and the control terminal can be accurately bound to the corresponding device for networking, thereby improving the accuracy of networking binding. By sending the device information of the device to be networked to the control terminal connected to the same router as the device to be networked, the control terminal can display all devices successfully connected to the same router, thereby enabling the user to simultaneously perform networking binding for multiple devices to be bound, thereby realizing batch networking of devices and improving networking efficiency.

[0044] In one embodiment, before the above-mentioned step S102, the method provided in this embodiment also includes: receiving network configuration information sent by the control terminal; wherein the network configuration information includes a hash code and a public IP address corresponding to the control terminal, and the hash code is generated based on a string of a wireless network name and a password to which the control terminal is connected.

[0045] When the network configuration starts, the control terminal sends the hash code and public IP address generated based on the wireless network name and password to the server so that the server can determine the various devices to be configured that are connected to the same router as the control terminal. For example, the wireless network name and password can be concatenated with "@" and hashed to generate a string of length 8-16, which is recorded as the hash code. For example, if the wifi name of the router connected to the control terminal is tplink123, the wifi password is 88888888, and the wireless network name and password are concatenated to tplink123@88888888, the hash code obtained after the hash algorithm is 382375364.

[0046] By sending the hash code generated by the string of the public IP address and the wireless network name and password to which the control terminal is connected to to the server, the server can accurately configure the control terminal with the corresponding device. At the same time, sending the hash code to the server can improve the accuracy of network configuration without providing the wireless network name and password, thereby ensuring the network security of the user's router.

[0047] In one embodiment, this embodiment provides a specific implementation method for sending the device information of the device to be configured to a control terminal connected to the same router as the device to be configured, so that the control terminal displays the corresponding device list: based on the network configuration information sent by each control terminal and the device registration information sent by each device to be configured, determine the target terminal corresponding to each device to be configured; send the device information of each device to be configured to the corresponding target terminal, so that the target terminal displays a device list composed of the device information of each target device; wherein the IP address and hash code of the target device and the target terminal are the same, and the device information includes the MAC address, device name and binding code corresponding to the target device.

[0048] The server simultaneously queries the network configuration information sent by the control terminal and the device registration information sent by each device to be configured, in order to find the control terminal corresponding to the device to be configured, and sends the device registration information of the device to be configured to the control terminal. For example, the server receives the device registration information sent by the target device, including: the hash code is 382375364, the current IP address is xx, and the server searches for the control terminal with the hash code 382375364 and the public IP address xx from each control terminal being configured, and records it as the target terminal, which is the control terminal corresponding to the target device.

[0049] By sending the device information of the device to be configured to the corresponding target terminal, the target terminal can display all devices that are successfully connected to the router to the user, so that the user can select multiple devices for batch configuration, thereby improving the convenience and accuracy of batch configuration of devices.

[0050] In one embodiment, in order to increase the number of devices to be networked in batches, the above-mentioned binding code includes at least two digits. This embodiment provides a specific implementation method for generating a binding code corresponding to each device to be networked based on the registration information of each device: generating a binding code corresponding to each device to be networked based on the current IP address and hash code of each device to be networked; wherein, the binding codes corresponding to each device to be networked with the same current IP address and hash code are different from each other, and the binding codes corresponding to each device to be networked with different current IP addresses and hash codes are the same or different.

[0051] The server generates a unique binding code in the range of 00-99 based on the current IP address and hash code of the device to be configured. This can support 100 devices to be configured on the same router at the same time. The server ensures that the combination of the current IP address, hash code (i.e., the hash value of the wifi information) and binding code is unique. The IP address and hash code of the device to be configured on the same router are consistent. In order to distinguish the devices, the binding codes of the devices to be configured on the same router are different.

[0052] For example, the first device sends device registration information to the server, and the device registration information includes a hash value of 382375364. The server returns a binding code of 01 to the first device. The second device sends device registration information to the server, and the device registration information includes a hash value of 382375364. The server returns a binding code of 02 to the second device. The server can support batch configuration of 100 devices connected to the same router at the same time.

[0053] The device network configuration method provided in this embodiment can associate the network configuration control terminal with multiple devices to be configured through the server, thereby realizing simultaneous network configuration of batch devices, improving the success rate of device network configuration binding, and improving the efficiency of device network configuration.

[0054] Corresponding to the device network configuration method provided in the above embodiment, the embodiment of the present invention provides another device network configuration method, which is applied to the control terminal, see Figure 2 Another device network configuration method flow chart is shown, the method mainly includes the following steps S202 to S206:

[0055] Step S202, sending the network configuration information to the server, and sending the wireless network name and password to the device to be configured, so that the device to be configured can be successfully connected to the router.

[0056] The above network configuration information includes the hash code and public IP address corresponding to the control terminal. The hash code is generated based on the name and password of the wireless network to which the control terminal is connected.

[0057] When starting network configuration, the control terminal will send the hash code and public IP address generated based on the wireless network name and password to the server. At the same time, the control terminal will send the wireless network information (including WiFi name and WiFi password) and the public IP address to the device to be configured, so that the device to be configured can connect to the router based on the wireless network information. After the device to be configured is successfully connected to the router, it will send the device registration information to the server.

[0058] Step S204, when the device information of each to-be-configured device connected to the same router as the control terminal is received from the server, a device list consisting of the device information of each target device successfully connected to the router is displayed.

[0059] The IP address and hash code of the target device are the same as the IP address and hash code of the target terminal, and the device information includes the MAC address, device name and binding code corresponding to the target device. When the control terminal receives the device information of each device to be configured that is connected to the same router as the control terminal from the server, a device list consisting of the device information of each target device that is successfully connected to the router is displayed on the network configuration list interface. The device information in the device list includes the MAC address, device name and binding code of the device to be configured.

[0060] Step S206, receiving a device binding instruction input by the user, and sending a binding request to the server based on the device binding instruction, so that the server performs network binding on the control terminal and the corresponding device to be configured based on the device information to be bound carried in the binding request.

[0061] The above-mentioned information of the device to be bound includes the IP address, hash code, binding code and number of devices to be bound corresponding to the device to be bound, and the number of devices to be bound includes one or more. The user can select one or more devices to be bound in the network configuration list interface through the touch screen or key mode, which are recorded as devices to be bound. The control terminal sends the information of the device to be bound to the server, so that the server completes the network configuration binding between the control terminal and the device to be bound.

[0062] In a specific implementation, the device binding instruction includes a selective binding instruction, a full binding instruction, or a binding code selection device binding instruction input by a user in a device list interface.

[0063] After the network configuration interface of the control terminal displays the list of devices successfully connected to the router, the user manually selects the device to be bound, and the user clicks the bind button to submit the device binding instruction, and the control terminal sends the information of the devices to be bound to the server; or, after the network configuration interface of the control terminal displays the list of devices successfully connected to the router, the user manually selects all devices, and after the user clicks bind, all devices in the device list are devices to be bound, and the control terminal sends the information of the devices to be bound to the server; the user enters the binding code displayed on the device display screen in the network configuration interface, and after clicking bind, the control terminal uses the device corresponding to the binding code as the device to be bound, and the control terminal sends the information of the devices to be bound to the server for network configuration binding.

[0064] The above-mentioned device networking method provided in this embodiment, by sending the device information of the device to be networked to the control terminal connected to the same router as the device to be networked, can make the control terminal display all the devices successfully connected under the same router, so that the user can simultaneously perform network binding for multiple devices to be bound, thereby realizing batch networking of devices and improving networking efficiency.

[0065] Corresponding to the device network configuration method provided in the above embodiment, an embodiment of the present invention provides a device network configuration method, which is applied to the above device network configuration system, and the method includes the following steps:

[0066] Step 1), the control terminal sends the network configuration information to the server, and sends the wireless network name and password to the device to be configured, so that the device to be configured can be successfully connected to the router.

[0067] Step 2), the server receives the network configuration information sent by the control terminal.

[0068] The network configuration information includes the hash code and public IP address corresponding to the control terminal. The hash code is generated based on a string of the wireless network name and password to which the control terminal is connected.

[0069] Step 3), the server receives the device registration information sent by each device to be configured.

[0070] Step 4), the server generates a binding code corresponding to each to-be-configured network device based on the registration information of each device, and sends each binding code to the corresponding to-be-configured network device, so that the to-be-configured network device displays the binding code.

[0071] Step 5), the server sends the device information of the device to be configured to the control terminal connected to the same router as the device to be configured.

[0072] Step 6), when the control terminal receives the device information of each to-be-configured device connected to the same router as the control terminal from the server, a device list consisting of the device information of each target device successfully connected to the router is displayed.

[0073] Step 7), the control terminal receives the device binding instruction input by the user, and sends a binding request to the server based on the device binding instruction.

[0074] Step 8), when the server receives the binding request sent by the control terminal, the control terminal is bound to the corresponding device to be networked based on the device information to be bound carried in the binding request.

[0075] Corresponding to the device network configuration method provided in the above embodiment, the embodiment of the present invention provides an example of applying the above device network configuration method, see Figure 3 The device centralized batch network configuration flow chart shown in the figure can be executed by referring to the following steps:

[0076] Step 1: Use smartconfig to configure the network. The mobile phone App transmits wifi ssid and wifipassword directly to the device to be configured (i.e. smart device) through UDP message transmission.

[0077] Step 2: At the same time, the App informs the cloud server of the current WiFi information hash value and public IP address.

[0078] When registering, the request parameter is wificode, which is the wifi name and wifi password concatenated with "@" and hashed to generate a string of 8-16 characters in length, which is uploaded to the server. The wifi name and password are not uploaded to ensure the privacy of the user's router.

[0079] Step 3: After receiving the wifi ssid and wifi password, the smart device connects to the router.

[0080] Step 4: After the smart device is connected to the router, upload the registration information (including MAC address, current IP address and wifi information hash value) to the server.

[0081] Step 5: The cloud server returns a unique binding code (two-digit integer 01-99) to the smart device.

[0082] The cloud service will generate a unique binding code in the range of 01-99 based on two dimensions (current IP address and wifi information hash value), which can support 99 devices on the same router to configure the network at the same time. The server ensures that the combination of the current IP address, wifi information hash value and binding code is unique, and the public network IP of the same router is consistent. When configuring the network with the app on other routers, the binding code is calculated separately because the wifi hash value is inconsistent.

[0083] Step 6: After receiving the data, the smart device displays two integers on the display screen.

[0084] The above-mentioned smart device can be an air conditioner, which displays a two-digit binding code based on a display screen that displays temperature. There is no need to install other display screens, thus saving material costs.

[0085] Step 7: The cloud server queries the hash value of the Wi-Fi information and the public IP address of the network configuration at the same time, finds the APP terminal of the network configuration, and sends a device registration message to the APP terminal.

[0086] The cloud server searches for an APP terminal whose hash value and IP address correspond to the same wifi information hash value and current IP address of the smart device, that is, the APP terminal and the smart device are connected to the same router, and sends the device registration information of the smart device to the APP terminal.

[0087] Step 8. After the App receives the device registration information, the device is displayed in the network configuration list.

[0088] Step 9: Selectively bind the APP or bind all of them or enter the binding code to bind the smart device.

[0089] App binding device:

[0090] ① Selective binding: The app configuration interface displays a list of devices that are successfully connected to the router. Users manually select and click to bind;

[0091] ②Bind all: The app configuration interface displays a list of devices that have successfully connected to the router. The user selects all devices and clicks Bind;

[0092] ③ Manual input: The user enters the two digits on the air conditioner display screen in the app network configuration interface.

[0093] Click Bind;

[0094] If there are multiple smart devices that have successfully connected to the router in the app configuration interface, multiple devices will be displayed in the App configuration device list, and the binding code of each device will be displayed. If it is not displayed in the configuration device list, the user can manually enter the binding code displayed by the smart device to submit a binding request. When the app requests cloud service binding, the server will determine the wifi hash value and public IP address, and only bind if they are consistent, which enhances the security of network configuration.

[0095] Corresponding to the device network configuration method provided in the above embodiment, an embodiment of the present invention provides a device network configuration apparatus, which can be applied to a server, see Figure 4 The schematic diagram of the equipment distribution network device shown in the figure includes the following modules:

[0096] The first receiving module 41 is used to receive device registration information sent by each network device to be configured; wherein the device registration information is sent after the network device to be configured is successfully connected to the router;

[0097] The first sending module 42 is used to generate a binding code corresponding to each to-be-configured network device based on the registration information of each device, and send each binding code to the corresponding to-be-configured network device, so that the to-be-configured network device displays the binding code;

[0098] The second sending module 43 is used to send the device information of the to-be-configured device to the control terminal connected to the same router as the to-be-configured device, so that the control terminal displays a corresponding device list;

[0099] The network configuration module 44 is used to, when receiving a binding request sent by the control terminal, bind the control terminal with the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the device information to be bound includes the binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

[0100] The above-mentioned device network configuration apparatus provided in this embodiment generates a binding code corresponding to each device to be configured based on the device registration information after the device to be configured is registered on the server, so that the device can display the binding code, and can accurately bind the control terminal to the corresponding device for network configuration, thereby improving the accuracy of network configuration binding. By sending the device information of the device to be configured to the control terminal connected to the same router as the device to be configured, the control terminal can display all devices successfully connected to the same router, thereby enabling the user to perform network configuration binding for multiple devices to be bound at the same time, thereby realizing batch network configuration of devices and improving network configuration efficiency.

[0101] Corresponding to the device network configuration method provided in the above embodiment, an embodiment of the present invention provides a device network configuration apparatus, which can be applied to a control terminal, see Figure 5 Another schematic diagram of the structure of a device distribution network is shown, the device includes the following modules:

[0102] The third sending module 51 is used to send the network configuration information to the server, and send the wireless network name and password to the network configuration device to enable the network configuration device to successfully connect to the router; wherein the network configuration information includes the hash code and public network IP address corresponding to the control terminal, and the hash code is generated based on the wireless network name and password connected to the control terminal;

[0103] The display module 52 is used to display a device list consisting of the device information of each target device successfully connected to the router when receiving the device information of each device to be configured and connected to the same router as the control terminal from the server; wherein the IP address and hash code of the target device are the same as those of the target terminal, and the device information includes the MAC address, device name and binding code corresponding to the target device;

[0104] The fourth sending module 53 is used to receive the device binding instruction input by the user, and send a binding request to the server based on the device binding instruction, so that the server will control the terminal and the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the device information to be bound includes the binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

[0105] The above-mentioned device configuration device provided in this embodiment can enable the control terminal to display all devices successfully connected to the same router by sending the device information of the device to be configured to the control terminal connected to the same router as the device to be configured, so that the user can configure and bind multiple devices to be bound at the same time, thereby realizing batch configuration of devices and improving configuration efficiency.

[0106] Corresponding to the device network configuration method provided in the above embodiment, this embodiment provides a device network configuration system, which includes: a server and a control terminal, the server is used to implement the device network configuration method provided in the above embodiment, and the control terminal is used to implement another device network configuration method provided in the above embodiment.

[0107] The control terminal may be a user APP, and the server may be a cloud server. Figure 6 As shown in the schematic diagram of the device network configuration system structure, the user APP broadcasts the network configuration information (including WiFi name and WiFi password) to the smart device, and the smart device uses the network configuration information to connect to the router. After the smart device is connected to the router, the device registration information (including MAC address, current IP address, and hash code generated by WiFi name and WiFi password) is sent to the cloud server through the wireless network. The cloud server returns the binding code to the smart device, so that the smart device displays the binding code. The user APP and the cloud server execute the above-mentioned device network configuration method to realize batch network configuration of smart devices.

[0108] This embodiment also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the device network configuration method embodiment described above 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.

[0109] 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.

[0110] 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.

[0111] 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.

[0112] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device network configuration device and system disclosed in the embodiment, since they correspond to the device network configuration method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0113] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0114] 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 device network configuration method, characterized in that: Applied to a server, the device network configuration method includes: Receive network configuration information sent by the control terminal; wherein the network configuration information includes a hash code and a public IP address corresponding to the control terminal, and the hash code is generated based on a string of a wireless network name and a password to which the control terminal is connected; Receive device registration information sent by each network device to be configured; wherein the device registration information is sent after the network device to be configured successfully connects to the router; the device registration information includes the MAC address of the network device to be configured, the current IP address, and a hash code generated based on a string of the wireless network name and password to which the network device to be configured is connected; Generate a binding code corresponding to each of the devices to be configured based on the device registration information, and send each of the binding codes to the corresponding devices to be configured, so that the devices to be configured display the binding code; Send the device information of the device to be networked to a control terminal connected to the same router as the device to be networked, so that the control terminal displays a corresponding device list; when receiving a binding request sent by the control terminal, perform network binding on the control terminal and the corresponding device to be networked based on the device information to be bound carried in the binding request; wherein the device information to be bound includes a binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more; The step of sending the device information of the device to be networked to a control terminal connected to the same router as the device to be networked so that the control terminal displays a corresponding device list includes: determining a target terminal corresponding to each device to be networked based on the network configuration information sent by each control terminal and the device registration information sent by each device to be networked; sending the device information of each device to be networked to the corresponding target terminal so that the target terminal displays a device list composed of the device information of each target device; wherein the target device has the same IP address and hash code as the target terminal, and the device information includes a MAC address, a device name, and a binding code corresponding to the target device.

2. The device network configuration method according to claim 1, characterized in that: The binding code includes at least two digits; the step of generating a binding code corresponding to each of the devices to be networked based on the registration information of each device includes: A binding code corresponding to each of the devices to be configured is generated based on the current IP address and the hash code of each of the devices to be configured; wherein, the binding codes corresponding to the devices to be configured that have the same current IP address and the hash code are different from each other, and the binding codes corresponding to the devices to be configured that have different current IP addresses and the hash codes are the same or different.

3. A device network configuration method, characterized in that: Applied to the control terminal, the device network configuration method includes: Send the network configuration information to the server, and send the wireless network name and password to the device to be configured, so that the device to be configured can successfully connect to the router; wherein the network configuration information includes the hash code and public IP address corresponding to the control terminal, and the hash code is generated based on the wireless network name and password connected to the control terminal; When receiving the device information of each to-be-configured device connected to the same router as the control terminal from the server, a device list consisting of the device information of each target device successfully connected to the router is displayed; wherein the target device has the same IP address and hash code as the target terminal, and the device information includes the MAC address, device name, and the binding code corresponding to the target device; Receive a device binding instruction input by a user, and send a binding request to the server based on the device binding instruction, so that the server binds the control terminal with the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the device information to be bound includes a binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

4. The device network configuration method according to claim 3, characterized in that: The device binding instruction includes a selective binding instruction, a full binding instruction or a binding code selection device binding instruction input by a user on the device list interface.

5. A device for network distribution, characterized in that: Applied to a server, the equipment network configuration device comprises: A receiving module, used to receive network configuration information sent by a control terminal; wherein the network configuration information includes a hash code and a public IP address corresponding to the control terminal, and the hash code is generated based on a string of a wireless network name and a password to which the control terminal is connected; The first receiving module is used to receive device registration information sent by each network device to be configured; wherein the device registration information is sent after the network device to be configured is successfully connected to the router; the device registration information includes the MAC address of the network device to be configured, the current IP address, and a hash code generated based on a string of the wireless network name and password to which the network device to be configured is connected; A first sending module is used to generate a binding code corresponding to each of the to-be-configured network devices based on the device registration information, and send each of the binding codes to the corresponding to the to-be-configured network devices, so that the to-be-configured network devices display the binding code; A second sending module is used to send the device information of the to-be-configured device to a control terminal connected to the same router as the to-be-configured device, so that the control terminal displays a corresponding device list; A network configuration module, configured to perform network configuration binding between the control terminal and the corresponding device to be configured based on the device information to be configured carried in the binding request when receiving the binding request sent by the control terminal; wherein the device information to be configured includes a binding code corresponding to the device to be configured and the number of devices to be configured, and the number of devices to be configured includes one or more; The second sending module is used to determine the target terminal corresponding to each of the devices to be configured based on the network configuration information sent by each of the control terminals and the device registration information sent by each of the devices to be configured; send the device information of each of the devices to be configured to the corresponding target terminal, so that the target terminal displays a device list composed of the device information of each target device; wherein the IP address and hash code of the target device are the same as those of the target terminal, and the device information includes a MAC address, a device name and a binding code corresponding to the target device.

6. A device for network distribution, characterized in that: Applied to the control terminal, the equipment network distribution device includes: The third sending module is used to send the network configuration information to the server, and send the wireless network name and password to the device to be configured, so that the device to be configured can successfully connect to the router; wherein the network configuration information includes the hash code and public network IP address corresponding to the control terminal, and the hash code is generated based on the wireless network name and password connected to the control terminal; A display module is used for displaying a device list consisting of device information of each target device successfully connected to the router when receiving device information of each device to be configured and connected to the same router as the control terminal from the server; wherein the target device has the same IP address and hash code as the target terminal, and the device information includes a MAC address, a device name, and a binding code corresponding to the target device; The fourth sending module is used to receive a device binding instruction input by a user, and send a binding request to the server based on the device binding instruction, so that the server binds the control terminal with the corresponding device to be configured based on the device information to be bound carried in the binding request; wherein the device information to be bound includes the binding code corresponding to the device to be bound and the number of devices to be bound, and the number of devices to be bound includes one or more.

7. A device distribution network system, characterized in that: include: A server and a control terminal, wherein the server is used to implement the method described in any one of claims 1-2, and the control terminal is used to implement the method described in any one of claims 3-4.