Smart device and network connection method thereof, routing device, and storage medium

The routing device obtains and verifies the wireless communication requests and information of the smart device, establishes a channel and completes the distribution network through the server, solving the problem of low efficiency of the smart device distribution network in the existing technology, and achieving efficient multi-device network connection.

CN115226084BActive Publication Date: 2024-12-17WUHU MIDEA KITCHEN & BATH APPLIANCES MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210531322.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2024-12-17
Estimated Expiration
2042-05-16

AI Technical Summary

Technical Problem

The network connection method of existing smart devices relies on manual operation of users, has low network distribution efficiency, and cannot communicate before the device accesses the network.

Method used

The routing device obtains the distribution network request and device information sent by the short-range wireless communication of the smart device to be distributed, establishes a short-range wireless communication channel, verifies the device status, and completes the distribution network operation through the server to reduce user operation dependence.

Benefits of technology

It improves the network distribution efficiency of smart devices, supports simultaneous access by multiple users, expands the coverage range, and realizes the simultaneous network distribution of multiple devices in wireless LANs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115226084B_ABST
    Figure CN115226084B_ABST
Patent Text Reader

Abstract

The present application discloses a smart device and its network connection method, a routing device, and a storage medium. The network connection method includes: first, the routing device obtains a network configuration request sent by the smart device to be configured based on short-range wireless communication, and based on the network configuration request, obtains the device information sent by the smart device to be configured based on short-range wireless communication; then, the routing device sends a list of smart devices to be configured to the control device, so that the control device determines the target smart device to be configured based on the list of smart devices to be configured; finally, the routing device receives the target smart device to be configured determined by the control device, and performs a network configuration operation on the target smart device to be configured based on the device information of the target smart device to be configured. Through the above method, the present application can improve the network configuration efficiency of the smart device to be configured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a smart device and a network connection method thereof, a routing device, and a storage medium. Background Art

[0002] At present, the existing network connection methods for smart devices include hotspot network configuration, quick network configuration and other network connection methods. Among them, hotspot network configuration requires users to operate mobile phone APP (application) to connect to the hotspot emitted by the smart device to be configured, and input the Wi-Fi (Wireless Fidelity) information of the mobile phone connection, and the mobile phone APP communicates with the smart device to be configured according to the established protocol to complete the network configuration; quick network configuration requires users to operate mobile phone APP to send the information that needs to connect to the network to the smart device to be configured according to the protocol, and in this way, there is no way for the mobile phone and the smart device to be configured to communicate before the smart device to be configured is connected to the network. In other words, most of the existing smart device network connection methods on the market are highly dependent on the user's smart device (for example, mobile phone, laptop computer), require manual operation by the user, and have low network configuration efficiency. Summary of the invention

[0003] The main technical problem solved by the present application is to provide an intelligent device and its network connection method, routing device, and storage medium, which can improve the network distribution efficiency of the intelligent devices to be distributed.

[0004] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a network connection method, applied to a routing device, the method comprising: the routing device obtains a network configuration request sent by the intelligent device to be configured based on short-range wireless communication, and based on the network configuration request, obtains device information sent by the intelligent device to be configured based on short-range wireless communication; then, the routing device sends a list of intelligent devices to be configured to the control device, so that the control device determines the target intelligent device to be configured based on the list of intelligent devices to be configured; thereafter, the routing device receives the target intelligent device to be configured determined by the control device, and performs a network configuration operation on the target intelligent device to be configured based on the device information of the target intelligent device to be configured.

[0005] The method further includes: the routing device searches for a short-range wireless communication signal, and when a communication request sent by the intelligent device to be configured based on short-range wireless communication is obtained, the routing device establishes a short-range wireless communication channel with the intelligent device to be configured based on the communication request.

[0006] Among them, the routing device obtains the device information sent by the smart device to be configured based on the short-range wireless communication based on the network configuration request, including: the routing device sends verification information to the smart device to be configured based on the network configuration request and the short-range wireless communication, so that the smart device to be configured performs verification based on the verification information and obtains a verification result.

[0007] Among them, the verification information is to confirm whether the network status of the smart device to be configured is the network to be configured; if the verification result shows yes, the smart device to be configured encrypts the verification result and the device information of the smart device to be configured to obtain encrypted information; the routing device receives the encrypted information sent by the smart device to be configured, and decrypts the encrypted information to obtain the device information of the smart device to be configured.

[0008] Among them, the routing device performs network configuration operations on the target smart device to be configured based on the device information of the target smart device to be configured, including: the routing device sends the device information of the target smart device to be configured and the account information of the routing device that has logged in to the server, so that the server binds the device information and account information of the target smart device to be configured, thereby completing the network configuration operation on the target smart device to be configured.

[0009] Wherein, the short-range wireless communication is AP communication.

[0010] To solve the above technical problems, another technical solution adopted in the present application is: to provide a network connection method, applied to smart devices, the method comprising: the smart device sends a short-range wireless communication signal; the smart device sends a network configuration request to the routing device based on the short-range wireless communication, and establishes a short-range wireless communication channel with the routing device based on the communication request; the smart device sends a network configuration request to the routing device based on the short-range wireless communication, and, based on the network configuration request, sends device information to the routing device based on the short-range wireless communication.

[0011] To solve the above technical problems, another technical solution adopted in the present application is: providing a computer-readable storage medium, which stores program data. When the program data is executed by a processor, it is used to implement the network connection method of the smart device as described above.

[0012] The beneficial effect of the present application is that, different from the prior art, the network connection method provided by the present application can be applied to routing devices and smart devices respectively. When applied to routing devices, first, the routing device obtains the network configuration request sent by the smart device to be configured based on short-range wireless communication, and based on the network configuration request, obtains the device information sent by the smart device to be configured based on short-range wireless communication; then, the routing device sends the list of smart devices to be configured to the control device, so that the control device determines the target smart device to be configured based on the list of smart devices to be configured; finally, the routing device receives the target smart device to be configured determined by the control device, and performs network configuration operations on the target smart device to be configured based on the device information of the target smart device to be configured. In one embodiment, the short-range wireless communication is AP communication, and AP communication can achieve communication with a coverage range of tens of meters to hundreds of meters, and supports simultaneous access of multiple users, so the above method can improve the efficiency of network configuration of the smart device to be configured. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0014] Figure 1 This is a network diagram of an embodiment of a smart device network connection system provided by the present application;

[0015] Figure 2 It is a flowchart of the first embodiment of the smart device network connection method provided by the present application;

[0016] Figure 3 It is a flowchart of the second embodiment of the smart device network connection method provided by the present application;

[0017] Figure 4 It is a flowchart of the third embodiment of the smart device network connection method provided by the present application;

[0018] Figure 5 It is a flowchart of a fourth embodiment of the smart device network connection method provided by the present application;

[0019] Figure 6 This is a schematic diagram of four-party interaction of the fourth embodiment of the smart device network connection method provided by the present application;

[0020] Figure 7 It is a structural diagram of an embodiment of a routing device provided by the present application;

[0021] Figure 8It is a structural diagram of an embodiment of a smart device provided by the present application;

[0022] Fig. 9 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0024] See also Figure 1 , Figure 1 1 is a network diagram of an embodiment of a smart device network connection system provided in the present application. The smart device network connection system 100 includes a control device 10, a smart device to be networked 20, a routing device 30 and a server 40.

[0025] Among them, the interaction between the control device 10 and the smart device 20 to be networked, between the control device 10 and the routing device 30, between the smart device 20 and the routing device 30, and between the routing device 30 and the server 40 are all based on short-range wireless communication.

[0026] Optionally, the short-range wireless communication technology includes WIFI (IEEE802.11 protocol), Mesh, Bluetooth, ZigBee (802.15.4 protocol), Thread (802.15.4 protocol), NFC, UWB, LiFi, etc.

[0027] Specifically, the short-range wireless communication used in one embodiment of the present application is AP (Wireless Access Point) communication. AP communication is mainly used in broadband homes, inside buildings, and inside campuses. It can achieve communication with a coverage range of tens to hundreds of meters, and AP communication supports multi-user access. In a small-scale wireless LAN, AP communication can achieve wireless access to all computers.

[0028] Optionally, the control device 10 may be a mobile phone, a tablet computer or a wearable device, and the smart device 20 to be networked may be a household appliance, a smart electronic device, etc., such as a sweeping robot, a smart air conditioner, etc.

[0029] Optionally, the routing device 30 can be a static route, a dynamic route, or a direct route. Routing refers to the network-wide process of determining the end-to-end path when a packet is sent from a source to a destination. The routing device 30 operates at the third layer of the OSI network model, the network layer, and is used to forward data packets at the network layer to devices (such as mobile phones and smart air conditioners). The routing device 30 achieves network interconnection by forwarding data packets. Although the routing device 30 can support multiple protocols, the vast majority of routing devices in my country run the TCP / IP protocol. There is no restriction on the routing device 30 here, so there is no restriction on the communication protocol embedded in the routing device 30.

[0030] Optionally, the server 40 is divided into three types according to the processor architecture (that is, the instruction system used by the server CPU): a CISC architecture server, a RISC architecture server, and a VLIW architecture server, which is not limited in this application.

[0031] In this embodiment, the routing device 30 obtains the device information of the smart device 20 to be configured, and sends the list of smart devices to be configured to the control device 10, so that the control device 10 selects the target smart device to be configured, and based on the device information of the target smart device to be configured, the server 40 performs account binding and other network configuration operations on the target smart device to be configured. Since the devices in the smart device network connection system interact with each other using AP communication, and the device information of the target smart device to be configured and the device information of the routing device are bound by the server 40, the user only needs to select the target smart device to be configured, and no other operations are required, which reduces the dependence on the user end in the process of configuring the smart device to be configured, and can improve the efficiency of network configuration.

[0032] The above-mentioned smart device network connection method is introduced below through several embodiments.

[0033] See also Figure 2 , Figure 2 1 is a flow chart of a first embodiment of a method for connecting a smart device to a network provided by the present application. The method is applied to a routing device. The method includes:

[0034] Step 21: Obtain a network configuration request sent by the smart device to be configured based on short-range wireless communication.

[0035] Optionally, in one embodiment, the short-range wireless communication is AP communication. In other embodiments, it may be other short-range wireless communication, such as local area network, Bluetooth, etc.

[0036] It can be understood that AP communication supports simultaneous access by multiple users. The routing device can simultaneously receive network configuration requests from multiple intelligent devices to be configured within a unit of time, and process the received network configuration requests in parallel.

[0037] Optionally, the conditions for the intelligent device to be networked to send a network configuration request include when it is powered on, when it is powered off and restarted, when it is disconnected from the network and reconnected, etc.

[0038] Optionally, the way in which the intelligent device to be configured sends the network configuration request includes periodic sending, non-periodic sending, etc. Taking periodic sending as an example, it can be set to send once per second, send multiple times in succession and then pause for a period of time before continuing to send multiple times, such as sending ten requests in one second, or sending ten requests in succession and then pausing for one second, and then sending ten requests in succession after one second.

[0039] Step 22: Based on the network configuration request, obtain device information sent by the to-be-configured smart device based on short-range wireless communication.

[0040] It can be understood that the equipment information includes equipment model, equipment specifications, performance parameters, technical parameters, technical indicators and the like.

[0041] The device information in the above example is not unique. For example, there are many types of device models for each smart device, but each device of each type has a unique device ID. For example, for a desktop computer, you can query the device information through the run menu, including computer name, operating system, system manufacturer, system model, processor core, memory, etc. Each computer name is also the device ID, which is unique.

[0042] Specifically, the routing device sorts the network configuration requests in the order of the time when the network configuration requests are received. In one embodiment, the routing device performs subsequent network configuration processing in a unit time, such as taking one second as a processing cycle, the routing device receives ten network configuration requests in the first second, and in the second second, based on the network configuration requests received in the first second, simultaneously obtains the device information of the to-be-configured smart device that has sent the network configuration request, that is, the routing device obtains the device information in parallel based on the received network configuration request in the second second. In other embodiments, the device information of the to-be-configured smart devices can be obtained in sequence in the order of the time when the network configuration requests are sent.

[0043] Step 23: Send the list of smart devices to be networked to the control device, so that the control device determines the target smart device to be networked based on the list of smart devices to be networked.

[0044] Optionally, the control device may be a mobile phone, a laptop computer, or a wearable smart device.

[0045] It can be understood that the list of smart devices to be networked includes all smart devices that can perform short-range wireless communication and have sent networked requests and are searched by the routing device within the communication range.

[0046] Specifically, the list of smart devices to be networked displays device information of multiple devices to be networked. In one embodiment, only key information that is easy for users to identify may be displayed, such as the type and model of the smart device, such as "Refrigerator: XX-XXX".

[0047] Optionally, the device information of multiple devices to be configured in the list of smart devices to be configured can be sorted based on the time order of sending the network configuration request. In one embodiment, the device information of the smart device that most recently sent the network configuration request is arranged at the first place in the list of smart devices to be configured and is in the default selected state. The user can change the selected smart device to be configured by operating the list of smart devices to be configured, and then click the confirmation button to determine the final selected target smart device to be configured.

[0048] In addition, the display interface may also include a "multiple selection" button. After clicking the "multiple selection" button, all the smart devices to be configured in the list of smart devices to be configured are in a selectable state. After the user selects multiple smart devices to be configured, click the confirmation button to confirm the final selection of multiple target smart devices to be configured.

[0049] Step 24: receiving the target intelligent device to be networked determined by the control device, and performing network configuration operation on the target intelligent device to be networked based on the device information of the target intelligent device to be networked.

[0050] Specifically, in one embodiment, the control device is a mobile phone APP (application). On the mobile phone APP, the user selects the target smart air conditioner that needs to be connected to the network this time from the received list of smart air conditioners to be networked, and sends the key equipment information (such as type and model) of the target smart air conditioner to the router, so that the router can perform subsequent network configuration operations on the target smart air conditioner.

[0051] For example, if the smart device to be networked is a smart air conditioner and the control device is a mobile phone, the smart air conditioner needs to be connected to the network when it is restarted. First, the smart air conditioner requests network configuration from the router and sends ten requests per second. The router obtains the device information of the smart air conditioner based on the network configuration request and sends the device information such as the device type and model to the user's mobile phone. The user can see the device on the display interface of the mobile phone (such as application) and can select the device.

[0052] Different from the prior art, the present application obtains the device information of the smart device to be configured through a routing device, and sends a list of the smart devices to be configured to a control device, so that the control device selects the target smart device to be configured, and realizes network connection of the target smart device to be configured through the device information of the target smart device to be configured.

[0053] Through the above method, the present application realizes the network connection of the intelligent device to be configured through the routing device as a transit, and since the control device, the intelligent device to be configured, the routing device and the server interact through short-range wireless communication, in one embodiment, the short-range wireless communication is AP communication. Since AP communication supports simultaneous access of multiple users and the communication range covers tens to hundreds of meters, it can realize simultaneous configuration of multiple devices.

[0054] See also Figure 3 , Figure 3 It is a flow chart of the second embodiment of the smart device network connection method provided by the present application, which is applied to a routing device, including:

[0055] Step 31: Search for short-range wireless communication signals.

[0056] Optionally, the short-range wireless communication signal may be an AP signal, a Bluetooth signal, a local area network signal, etc. In one embodiment, the short-range wireless communication signal is an AP signal.

[0057] Step 32: when a communication request sent by the to-be-connected smart device based on short-range wireless communication is obtained, a short-range wireless communication channel is established with the to-be-connected smart device based on the communication request.

[0058] Specifically, the routing device establishes a communication connection with the network device to be configured that is searched within the communication range. In one embodiment, an AP channel is established based on the searched AP signal. Before establishing the AP channel, the AP signal needs to be verified to verify whether the AP signal name complies with the naming rules, such as the type of smart device, product series and extended attributes, such as "refrigerator-XX-XXXX".

[0059] Optionally, in one embodiment, the communication requests sent by the device to be networked are arranged in chronological order on the display interface, and a "Select" button is provided. The user can select the target device to be networked by pulling down the display interface content, and press the "Select" button in the target device to be networked column to complete the establishment of a communication channel with the target device to be networked.

[0060] In addition, the display interface may also be provided with a search bar, and the user may select the target device to be networked by searching for key contents such as the type of smart device in the search bar, and press the "Select" button to complete the establishment of the communication channel between the target smart device to be networked.

[0061] Step 33: Obtain a network configuration request sent by the smart device to be configured based on short-range wireless communication.

[0062] Optionally, the conditions for sending the network configuration request include when the machine is powered on, when the machine is powered off and restarted, when the machine is disconnected and reconnected, etc.

[0063] Optionally, the manner of sending the network configuration request includes periodic sending, non-periodic sending, etc.

[0064] Step 34: Based on the network configuration request, obtain device information sent by the to-be-configured smart device based on short-range wireless communication.

[0065] Specifically, device information includes device model, device specifications, performance parameters, etc. The device information exemplified here is not unique, but each device has a unique device ID number. The device ID number can be used as a unique label for the router to configure the network for smart devices, avoiding configuration of non-target smart devices.

[0066] Step 35: Send the list of intelligent devices to be networked to the control device, so that the control device determines the target intelligent device to be networked based on the list of intelligent devices to be networked.

[0067] Specifically, the list of smart devices to be networked displays device information of multiple devices to be networked. In one embodiment, only key information that is easy for users to identify, such as device type and model, may be displayed.

[0068] Optionally, the device information of multiple devices to be configured in the list of smart devices to be configured can be sorted based on the time order of sending the request and be in a default selected state. The user can operate the list of smart devices to be configured, select the target smart device to be configured, and then click the confirmation button to determine the final selected target smart device to be configured.

[0069] In addition, the display interface may further include a "multiple selection" button. After the user selects multiple smart devices to be networked, the user clicks the confirmation button to confirm the final selection of multiple target smart devices to be networked.

[0070] Step 36: receiving the target intelligent device to be networked determined by the control device, and performing network configuration operation on the target intelligent device to be networked based on the device information of the target intelligent device to be networked.

[0071] For example, taking the control device as a mobile phone and the smart device to be networked as a smart air conditioner, the router searches for wireless signals and communication requests sent by the smart air conditioner within the communication range, establishes a wireless channel with the smart air conditioner based on the communication request, and then, the smart air conditioner sends a network configuration request to the router based on the wireless channel. The router obtains the device information of the smart device to be networked based on the network configuration request, and organizes the received device information of all the smart devices to be networked into a list, and then sends the list to the user's mobile phone and displays it on the display interface. The user selects at least one target smart air conditioner that needs to be networked on the display interface, and the router sends the device information of the target smart air conditioner and the account information of the router login to the server. The server then binds the device information of the target smart air conditioner with the account information of the router to complete the network connection of the target smart air conditioner.

[0072] Different from the prior art, the present application realizes simultaneous network configuration of multiple intelligent devices to be configured through routing equipment, which can improve the network configuration efficiency.

[0073] See also Figure 4 , Figure 4 : is a flow chart of a third embodiment of a method for connecting a smart device to a network provided by the present application, which is applied to a routing device. The method includes:

[0074] Step 41: Obtain a network configuration request sent by the smart device to be configured based on short-range wireless communication.

[0075] Step 42: Based on the network configuration request, verification information is sent to the smart device to be configured based on short-range wireless communication, so that the smart device to be configured performs verification based on the verification information to verify whether the network status of the smart device to be configured is to be configured.

[0076] Specifically, the verification information may be a character string, which is triggered when the routing device receives a network configuration request sent by the intelligent device to be configured.

[0077] If the verification result shows yes, go to step 43.

[0078] Step 43: receiving the encrypted information sent by the to-be-configured smart device, and decrypting the encrypted information to obtain the device information of the to-be-configured smart device; wherein the encrypted information is information obtained by encrypting a combination of the verification result and the device information of the to-be-configured smart device.

[0079] For example, assuming that the smart device to be networked is a smart air conditioner and the routing device is a router, the router returns verification information to the smart air conditioner based on the network configuration request received from the smart air conditioner, so that the smart air conditioner locally verifies whether the network status is the network configuration status to be configured, and obtains the verification result. If so, the verification result and the device information of the smart air conditioner are encrypted to obtain combined encrypted information, and the combined encrypted information is fed back to the router, so that the router decrypts the information to obtain the device information of the smart air conditioner.

[0080] In the above manner, by encrypting the key information of the routing device and the device information of the smart device to be configured, the target smart device to be configured can be configured.

[0081] See also Figure 5 , Figure 5 : is a flowchart of a fourth embodiment of a method for connecting a smart device to a network provided by the present application, the method comprising:

[0082] Step 51: The routing device searches for a short-range wireless communication signal.

[0083] Optionally, the short-range wireless communication signal is an AP signal, and may also be a Bluetooth signal, a local area network signal, a ZigBee signal, or the like.

[0084] Step 52: when obtaining a communication request sent by the to-be-connected smart device based on short-range wireless communication, the routing device establishes a short-range wireless communication channel with the to-be-connected smart device based on the communication request.

[0085] Specifically, before the routing device establishes a communication connection with the network device to be configured that is searched within the communication range, it needs to verify whether the short-range wireless communication signal name complies with the naming rules, such as the type, product series and extended attributes of the smart device, such as "refrigerator-XX-XXXX". If so, a communication channel is established.

[0086] Optionally, in one embodiment, the communication requests sent by the devices to be networked are arranged in chronological order on the display interface. The user can search by pulling down the display interface or entering key information such as the type of smart device through the search bar, select the target device to be networked, and press the "Select" button to complete the establishment of the communication channel between the target smart devices to be networked.

[0087] Step 53: The routing device obtains the network configuration request sent by the intelligent device to be configured based on short-range wireless communication.

[0088] Among them, equipment information includes equipment model, equipment specifications, technical parameters, technical indicators, etc.

[0089] Specifically, in one embodiment, a unique device ID number of each smart device is used as an identification mark.

[0090] Step 54: Based on the network configuration request, the routing device obtains device information sent by the to-be-configured smart device based on short-range wireless communication.

[0091] Optionally, the conditions for sending the network configuration request include power-on, power-off and restart, network disconnection and reconnection, etc., and the methods for sending the network configuration request include periodic sending, non-periodic sending, etc.

[0092] Among them, the process of the routing device obtaining the device information of the device to be configured needs to be encrypted and decrypted.

[0093] Step 55: the routing device sends the list of intelligent devices to be networked to the control device, so that the control device determines the target intelligent device to be networked based on the list of intelligent devices to be networked.

[0094] It can be understood that the list of intelligent devices to be networked includes the devices to be networked that are within the communication range and have sent networked requests and are received by the routing device.

[0095] Specifically, the display interface displays the devices to be configured received by the routing device, and these devices to be configured can be arranged in the order of the time when the request is sent. The user can select the devices to be configured on the display interface, and can select multiple devices to be configured at the same time.

[0096] Step 56: The routing device sends the device information of the target intelligent device to be networked and the account information of the routing device logged in to the server.

[0097] Step 57: The server binds the device information and account information of the target smart device to be networked, thereby completing the network configuration operation for the target smart device to be networked.

[0098] For example, taking the control device as a mobile phone and the smart device to be configured as a smart air conditioner, first, the smart air conditioner communicates with the router and sends a configuration request to the router. The router obtains the device information of all devices to be configured that have sent configuration requests, and arranges the device information in the order of the time of sending the configuration request, and organizes the device information into a table and sends it to the user's mobile phone. The user can select the target smart device to be configured according to the device information displayed on the display interface of the mobile phone, press the "Confirm" button, select the target smart device to be configured, and then the device information of the target smart device to be configured will be fed back to the router, and then the router will package the received information together with the local account information of the router and send it to the server, and the server will complete the network connection of the target smart device to be configured.

[0099] Different from the existing technology, based on short-range wireless communication, the present application can realize network configuration for multiple intelligent devices to be configured at the same time, thereby improving the network configuration efficiency.

[0100] Combine the following Figure 6 , Figure 6 This is a schematic diagram of four-party interaction in the fourth embodiment of the smart device network connection method provided by the present application. The interaction objects include the smart device to be networked, the control device, the routing device and the server. The interaction process includes:

[0101] S1: The routing device searches for short-range wireless communication signals.

[0102] In one embodiment, the short-range wireless communication signal is an AP signal.

[0103] S2: The intelligent device to be configured sends a communication request to the routing device based on short-range wireless communication.

[0104] It can be understood that the communication request can only be sent after the routing device searches for the short-range wireless communication signal of the smart device to be networked, and the sent communication request can be sent periodically. In other embodiments, the communication request can also be sent non-periodically, which is not limited here.

[0105] S3: The routing device establishes a short-range wireless communication channel with the intelligent device to be networked based on the communication request.

[0106] In one embodiment, the short-range wireless communication channel is an AP channel.

[0107] S4: The smart device to be networked sends a network configuration request to the routing device based on short-range wireless communication.

[0108] S5: Based on the network configuration request, the routing device obtains device information sent by the to-be-configured smart device based on short-range wireless communication.

[0109] Optionally, the device information includes device type, performance parameters, device specifications, manufacturer, etc.

[0110] S6: The routing device sends a list of smart devices to be networked to the control device.

[0111] Specifically, in one embodiment, the information of the devices to be networked can be sorted in the order of the time when the network configuration request is sent, and the devices to be networked that send the request first are ranked first, and the user can select multiple devices for network connection at the same time.

[0112] S7: The control device determines the target intelligent device to be configured based on the list of intelligent devices to be configured.

[0113] It can be understood that the user can select at least one device to be networked on the display interface of the control device.

[0114] S8: The control device sends the device information of the target intelligent device to be networked to the routing device.

[0115] S9: The routing device sends the device information of the target intelligent device to be networked and the account information of the routing device logged in to the server.

[0116] S10: The server binds the device information and account information of the target smart device to be networked, thereby completing the network configuration operation for the target smart device to be networked.

[0117] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of an embodiment of a routing device provided in the present application. The routing device 30 includes a memory 301 and a processor 302. The memory 301 is used to store program data, and the processor 302 is used to execute program data to implement the method described above, which will not be repeated here.

[0118] See also Figure 8 , Figure 8 2 is a schematic diagram of the structure of an embodiment of a smart device provided in the present application. The smart device 20 includes a memory 201 and a processor 202. The memory 201 is used to store program data, and the processor 202 is used to execute program data to implement the method described above, which will not be repeated here.

[0119] See also Fig. 9 , Fig. 9 It is a structural diagram of an embodiment of a computer-readable storage medium provided in the present application. The computer-readable storage medium 90 stores program data 901. When the program data 901 is processed and executed, it is used to implement the above method, which will not be repeated here.

[0120] When the embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory) or an optical disk.

[0121] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A network connection method, applied to a routing device, characterized in that: The method comprises: Obtaining a network configuration request sent by the intelligent device to be configured based on short-range wireless communication; Based on the network configuration request, verification information is sent to the smart device to be configured based on short-range wireless communication, so that the smart device to be configured performs verification based on the verification information to obtain a verification result; wherein the verification information is to confirm whether the network status of the smart device to be configured is the network to be configured; If the verification result shows yes, the smart device to be configured encrypts the verification result and the device information of the smart device to be configured to obtain encrypted information; Receive the encrypted information sent by the smart device to be configured, and decrypt the encrypted information to obtain the device information of the smart device to be configured; Sending a list of intelligent devices to be networked to a control device, so that the control device determines a target intelligent device to be networked based on the list of intelligent devices to be networked; Receive the target intelligent device to be networked determined by the control device, and perform network configuration operations on the target intelligent device to be networked based on the device information of the target intelligent device to be networked, including: sending the device information of the target intelligent device to be networked and the account information logged in by the routing device to the server, so that the server binds the device information of the target intelligent device to be networked and the account information, thereby completing the network configuration operation on the target intelligent device to be networked.

2. The method according to claim 1, characterized in that The method further comprises: Searching for short-range wireless communication signals; When a communication request sent by the to-be-connected smart device based on short-distance wireless communication is obtained, a short-distance wireless communication channel is established with the to-be-connected smart device based on the communication request.

3. The method according to any one of claims 1 to 2, characterized in that: The short distance wireless communication is AP communication.

4. A routing device, characterized in that: The routing device comprises a processor and a memory, wherein the memory stores program data, and the processor is configured to execute the program data to implement the method according to any one of claims 1 to 3.

5. A network connection method, applied to a smart device, characterized in that: The method comprises: Sending short-range wireless communication signals; Sending a network configuration request to a routing device based on short-range wireless communication, and establishing a short-range wireless communication channel with the routing device based on the communication request; Sending a network configuration request to the routing device based on short-range wireless communication; and Based on the network configuration request, receiving the verification information sent by the routing device based on the short-range wireless communication, and performing verification based on the verification information to obtain a verification result; wherein the verification information is to verify whether the network status of the intelligent device to be configured is the network to be configured; If the verification result shows yes, the verification result and the device information of the smart device to be configured are encrypted to obtain encrypted information, and the encrypted information is sent to the routing device so that the routing device decrypts the encrypted information to obtain the device information of the smart device to be configured, so that the routing device can perform configuration operations on the smart device to be configured based on the device information of the smart device to be configured and the account information of the routing device that has logged in.

6. A smart device, characterized in that: The smart device includes a memory and a processor, the memory stores program data, and the processor is configured to execute the program data to implement the method according to claim 5 .

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and when the program data is executed by a processor, it is used to execute the method according to any one of claims 1 to 4 or 5.

Citation Information

Patent Citations

  • Automatic network distribution method and system for intelligent equipment and storage medium

    CN111867007A

  • Distribution network binding method and device of equipment, storage medium and electronic device

    CN113596089A