Network configuration method, electronic device and program product
By acquiring information about devices to be configured on the network through management devices and selecting appropriate routing devices based on preset rules, the problem of routing device overload in home networks is solved, and reliable access and efficient network configuration for smart terminals are achieved.
Patent Information
- Application Number
- PCT/CN2025/087855
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-07
- Filing Date
- 2025-04-08
- Publication Date
- 2025-12-11
AI Technical Summary
In home networks, as the number of smart devices increases, routing devices may become overloaded, leading to unreliable network services. Existing network configuration methods cannot effectively match smart terminals with routing devices, resulting in poor network service quality.
A network configuration method is provided, which obtains the device information of the device to be configured through a management device, determines the target routing device from multiple routing devices based on preset rules, and sends access information to ensure that the device to be configured is connected to the appropriate routing device.
It improves the reliability and effectiveness of the network configuration process, ensures that the routing devices connected to smart terminals can provide reliable network services, lowers the barrier to entry for users, and supports automatic network configuration for a large number of smart devices.
Smart Images

Figure CN2025087855_11122025_PF_FP_ABST
Abstract
Description
Network configuration method, electronic device, and program product
[0001] The present disclosure claims priority to Chinese Patent Application No. 202410741795.5, filed on June 7, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0002] The present disclosure relates to the field of communication technology, and in particular to a network configuration method, an electronic device, and a program product. BACKGROUND
[0003] With the advancement of home intelligence, the number of smart home devices in a home is increasing, and there are many smart home devices that access a home network through a wireless interface of a routing device.
[0004] Currently, there is an upper limit to the number of devices that can be accessed by a routing device that implements wireless access, and there are more and more smart home devices accessing the home network through the wireless interface, so that the routing device accessed by the new smart home device may be overloaded. SUMMARY
[0005] In one aspect, a network configuration method is provided, applied to a management device of a target network, the target network including a plurality of routing devices. The network configuration method includes: after the management device and a device to be configured establish a connection, obtaining a network configuration request message of the device to be configured, wherein the network configuration request message includes device information of the device to be configured; determining a target routing device from the plurality of routing devices based on the device information of the device to be configured and a preset network configuration rule, wherein the target routing device is a routing device accessible by the device to be configured; and sending a network configuration response message to the device to be configured, wherein the network configuration response message includes access information of the target routing device.
[0006] In another aspect, a network configuration apparatus is provided. The network configuration apparatus includes an obtaining module, a determining module, and a sending module. The obtaining module is configured to, after the management device and a device to be configured establish a connection, obtain a network configuration request message of the device to be configured, wherein the network configuration request message includes device information of the device to be configured. The determining module is configured to determine a target routing device from the plurality of routing devices based on the device information of the device to be configured and a preset network configuration rule, wherein the target routing device is a routing device accessible by the device to be configured. The sending module is configured to send a network configuration response message to the device to be configured, wherein the network configuration response message includes access information of the target routing device.
[0007] In yet another aspect, an electronic device is provided. The electronic device includes a memory and a processor; the memory and the processor are coupled; the memory is configured to store instructions executable by the processor; and the processor is configured to implement the network configuration method in the above aspect when executing the instructions.
[0008] In yet another aspect, a computer readable storage medium is provided. The computer readable storage medium stores computer program instructions. The computer program instructions are executed by a processor to implement the network configuration method in the above aspect.
[0009] In yet another aspect, a computer program product is provided. The computer program product includes computer program instructions. The computer program instructions are executed by a processor to implement the network configuration method in the above aspect. BRIEF DESCRIPTION OF DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the present disclosure, the following will briefly introduce the drawings needed to be used in some embodiments of the present disclosure. Obviously, the drawings described in the following description are only some drawings of the present disclosure, and other drawings can also be obtained by those skilled in the art according to these drawings.
[0011] FIG. 1 is a system architecture diagram according to some embodiments of the present disclosure.
[0012] FIG. 2 is a networking schematic diagram of an optical fiber home network according to some embodiments of the present disclosure.
[0013] FIG. 3 is a distribution schematic diagram of devices to be configured in a smart home scenario according to some embodiments of the present disclosure.
[0014] FIG. 4 is an architecture schematic diagram of a linkage monitoring network according to some embodiments of the present disclosure.
[0015] FIG. 5 is an architecture schematic diagram of a distributed service architecture according to some embodiments of the present disclosure.
[0016] FIG. 6 is a schematic diagram of a home network based on a distributed service architecture for networking according to some embodiments of the present disclosure.
[0017] FIG. 7 is a flow schematic diagram of a network configuration method according to some embodiments of the present disclosure.
[0018] FIG. 8 is a flow schematic diagram of another network configuration method according to some embodiments of the present disclosure.
[0019] FIG. 9 is a flow schematic diagram of yet another network configuration method according to some embodiments of the present disclosure.
[0020] FIG. 10 is a flow schematic diagram of yet another network configuration method according to some embodiments of the present disclosure.
[0021] FIG. 11 is a flow diagram of yet another network configuration method according to some embodiments of the present disclosure.
[0022] FIG. 12 is a flow diagram of yet another network configuration method according to some embodiments of the present disclosure.
[0023] FIG. 13 is a flow diagram of yet another network configuration method according to some embodiments of the present disclosure.
[0024] FIG. 14 is a structural diagram of a network configuration device according to some embodiments of the present disclosure.
[0025] FIG. 15 is a structural diagram of another network configuration device according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0026] In order for those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the technical solutions in the present disclosure will be described clearly and completely below in conjunction with the drawings in the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work shall fall within the scope of protection of the present disclosure.
[0027] It should be noted that in the present disclosure, the words such as "exemplarily" or "for example" are used to represent as an example, illustration or description. Any embodiment or design scheme described as "exemplarily" or "for example" in the present disclosure shall not be interpreted as more preferred or more advantageous than other embodiments or design schemes in the present disclosure. Rather, the words such as "exemplarily" or "for example" are intended to present the relevant concept in a specific manner.
[0028] Hereinafter, the terms "first", "second", and the like are used only for descriptive purposes, and shall not be construed as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second", and the like can explicitly or implicitly include one or more of the features.
[0029] In the description of the present disclosure, unless otherwise specified, the symbol " / " represents the relationship of "or", for example, A / B can represent A or B. "And / or" in the present disclosure only represents a description of the association object, which means that there can be three kinds of relationships, for example, A and / or B can represent: only A, only B, and A and B. In addition, "at least one" means one or more, and "multiple" means two or more.
[0030] With the advancement of home intelligence, connecting intelligent terminals (or referred to as home devices) to a home network can bring users a more intelligent experience. The process of connecting intelligent terminals to a home network is referred to as the network configuration process of intelligent terminals.
[0031] Currently, multiple routing devices are included in a home network, and different routing devices can access different numbers of terminals. After the number of terminals accessed by a routing device exceeds a limit, the routing device will not be able to provide reliable network services for the terminals; in addition, the home network corresponds to multiple areas, and each routing device is distributed in a different area, and intelligent terminals are also distributed in different areas. Since the network service quality provided by a routing device in one area for intelligent terminals in different areas is different, the matching between the area where an intelligent terminal is located and the area where a routing device is located also needs to be considered when network configuration is performed.
[0032] In addition, there are different types of intelligent terminals and routing devices, and an intelligent terminal needs to access a routing device that matches the type of the intelligent terminal.
[0033] However, the network configuration process given in some technologies only includes how an intelligent terminal accesses a routing device. After the terminal is configured, the routing device corresponding to the terminal can not match the terminal or can be overloaded, and there is a problem that the routing device corresponding to the terminal after network configuration cannot provide good network services for the terminal, and the effectiveness of network configuration is poor.
[0034] To solve the above technical problems, the disclosure embodiment provides a network configuration method, which is applied to a management device of a target network, and the target network includes multiple routing devices. The network configuration method includes: after the management device and a device to be configured establish a connection, obtaining a network configuration request message of the device to be configured, wherein the network configuration request message includes device information of the device to be configured; determining a target routing device from the multiple routing devices based on the device information of the device to be configured and a preset network configuration rule, wherein the target routing device is a routing device that the device to be configured can access; and sending a network configuration response message to the device to be configured, wherein the network configuration response message includes access information of the target routing device. In this way, by using the preset network configuration rule, the routing device that the device to be configured can access can be accurately determined from the multiple routing devices. Therefore, the routing device accessed by the device to be configured can provide reliable network services for the device to be configured, and the reliability and effectiveness of the network configuration process are improved.
[0035] The network configuration method provided by the disclosure embodiment can be applied to the network configuration system as shown in FIG. 1. As shown in FIG. 1, the network configuration system includes a management device 101, a first routing device 102, a second routing device 103, and a device to be configured 104.
[0036] In some embodiments, the management device 101 and the device to be configured 104 are connected through a wireless network in which the management device 101 serves as a signal transmitting device. For example, the management device 101 has a hotspot function, and the management device 101 and the device to be configured 104 are connected through the hotspot of the management device 101.
[0037] The management device 101 is configured to manage a target network (which can be a home network), or to obtain a commissioning request message of a device to be commissioned 104, or to determine an accessible routing device of the device to be commissioned 104 from the first routing device 102 and the second routing device 103, or to send a commissioning response message including access information of the accessible routing device to the device to be commissioned 104.
[0038] In some embodiments, the target network is a home network, and the target network can be connected to the Internet through a home optical modem or a fiber-to-the-home main gateway.
[0039] In some embodiments, the management device 101 is referred to as a network control node of the target network.
[0040] In some embodiments, the commissioning service function of the management device 101 can be triggered based on a physical button.
[0041] In some embodiments, the commissioning service function of the management device 101 can be triggered based on a virtual button.
[0042] In some embodiments, the management device 101 is deployed with a commissioning application (or referred to as a commissioning server application). The management device 101 implements the commissioning method provided in the embodiments of the present disclosure based on the commissioning application.
[0043] In some embodiments, the management device 101 obtains the access information of the first routing device 102 or the second routing device 103 in response to the input operation (or referred to as the registration operation) of the user on the commissioning application. The access information of the first routing device 102 or the second routing device 103 includes at least one of a service set identifier (SSID), a password (PWD), or packet filtering information. The service set identifier is used to mark the routing device; the password is used for the device to be commissioned to access the routing device; and the packet filtering information is used to indicate the network group to which the routing device belongs in the case that the target network includes multiple network groups.
[0044] In some embodiments, the access information of the first routing device 102 or the second routing device 103 can be referred to as network information (or wireless fidelity (WI-FI) information) of the target network.
[0045] Exemplarily, the management device 101 can be a phone, a tablet computer (PAD), a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) \ virtual reality (VR) device, and the like. The form of the electronic device is not specially limited in the embodiments of the present disclosure. The management device 101 can interact with the user through one or more of a keyboard, a touchpad, a touch screen, a remote controller, voice interaction, a handwriting device, and the like.
[0046] Exemplarily, the management device 101 can also be a routing device with a management function.
[0047] The first routing device 102 or the second routing device 103 is a routing device under a target network, configured to provide a network access service for the device to be commissioned 104, so that the device to be commissioned 104 can access the target network.
[0048] In some embodiments, the first routing device 102 or the second routing device 103 includes a wired network interface and a wireless network interface.
[0049] In some embodiments, the first routing device 102 or the second routing device 103 can be a wireless access point (AP or wireless access point, WAP).
[0050] In some embodiments, the first routing device 102 or the second routing device 103 can provide a network access service for the device to be commissioned 104 (or other terminals) through one or more of the following: WI-FI, Bluetooth, wired, or optical fiber. When providing a network access service for the device to be commissioned 104 based on optical fiber, the first routing device 102 or the second routing device 103 is a fiber to the room (FTTR) device.
[0051] In some embodiments, in the case that the first routing device 102 or the second routing device 103 is a fiber-to-the-home device, the target network is a fiber-to-the-home home network. For example, FIG. 2 is a networking schematic diagram of a fiber-to-the-home home network provided by an embodiment of the present disclosure. The fiber-to-the-home home network includes an operator network 201, a fiber-to-the-home master gateway 202, a master bedroom routing device 203, a study routing device 204, a guest bedroom routing device 205, a living room routing device 206, other routing devices 207 (kitchen, balcony, bathroom, toilet, etc.), a camera 208, a mobile phone 209, a sweeping robot 210, a virtual reality device 211, a personal computer 212, and a network-enabled air conditioner 213. The camera 208, the mobile phone 209, the sweeping robot 210, the virtual reality device 211, the personal computer 212, and the network-enabled air conditioner 213 are wirelessly connected to the router.
[0052] In some embodiments, the installation range of the fiber-to-the-home home network is 50 meters, and the access range of the routing device is 5 meters.
[0053] In some embodiments, the temperature and humidity sensor, the mobile phone, the sweeping robot, the virtual reality device, the personal computer, the tablet computer, and the network-enabled air conditioner are smart home devices that form the Internet of Things of the home.
[0054] In some embodiments, the fiber-to-the-home master gateway (master device) is a Wi-Fi-enabled gigabit optical modem, and the slave devices (i.e., the master bedroom routing device, the study routing device, the guest bedroom routing device, the living room routing device, and the other routing devices) are gigabit routers. The master device and the slave devices are connected by a hidden optical cable.
[0055] The to-be-commissioned device 104 is configured to send a commissioning request message to the management device 101 or access a commissioning response message sent by the management device 101 and access the first routing device 102 or the second routing device 103.
[0056] It should be understood that after the to-be-commissioned device 104 accesses the target network, the user can remotely control the to-be-commissioned device 104 based on the management device 101.
[0057] In some embodiments, the to-be-commissioned device 104 can be a WI-FI-enabled device.
[0058] In some embodiments, the to-be-commissioned device 104 can be a Bluetooth communication-enabled device, in which case the to-be-commissioned device 104 can first access a Bluetooth gateway and then access the target network in wired or wireless form through the Bluetooth gateway.
[0059] In some embodiments, the commissioning method provided by the present disclosure is implemented by deploying a commissioning client application on the routing device, the to-be-commissioned device, and the commissioned device (the to-be-commissioned device becomes the commissioned device after being commissioned).
[0060] In some embodiments, the to-be-commissioned device 104 can be any of the following: an IP camera, a smart speaker, a smart table lamp, a smart switch, a smart air conditioner, a smart television, a smart curtain, a central device with AI computing power (such as an AI personal computer, an AI tablet, an AI mobile phone, etc.), and other smart home devices. Remote control that can be performed by the user includes one or more of the following: turning on or off the smart home device, adjusting the temperature of the air conditioner, adjusting the television channel, selecting the program content of the television, and home security monitoring. The central device with AI computing power is used to perform intent recognition on the control instructions (including voice instructions, gesture instructions, or text instructions) of the user based on a local or online recognition model.
[0061] Exemplarily, FIG. 3 is a distribution diagram of a to-be-commissioned device (or referred to as a smart home terminal) in a smart home scene according to an embodiment of the present disclosure. The to-be-commissioned device in the smart home scene includes one or more of the following: a sheet-type heating device 301 (such as a heating radiator, an electric heating radiator), a smart door lock 302, an electric water treatment device 303 (such as a central water heater), a water treatment device 304 (such as a central water treatment device), a home audio-visual device 305, a solar water heater 306, an air conditioning device 307 (such as a central air conditioner), an air circulation device 308 (such as a central fresh air device, an air purifier), a home cleaning device 309 (such as a central dust removal device, a sweeping robot, a kitchen cleaning device (such as a dishwasher)), a floor radiant heating device 310 (such as a water floor heating, an electric floor heating).
[0062] It should be understood that the to-be-commissioned device described in FIG. 3 can be commissioned based on the commissioning method provided by an embodiment of the present disclosure.
[0063] In some embodiments, the commissioning method provided by an embodiment of the present disclosure can also be applied to a linkage monitoring scene in a smart home scene. At this time, the management device 101 can serve as a security protection host in the home scene, such as a computer. The to-be-commissioned device 104 is a plurality of IP network cameras. The management device 101 and the plurality of IP network cameras form a linkage monitoring network for preventing possible intrusion risks.
[0064] Exemplarily, a schematic diagram of an architecture of a linkage monitoring network in the linkage monitoring scenario is shown in FIG. 4. The linkage monitoring network includes a first camera 401, a second camera 402, a routing device 403, and a computer 404.
[0065] In some embodiments, the first camera 401, the second camera 402, the routing device 403, and the computer 404 can be connected by wire.
[0066] In some embodiments, the first camera 401, the second camera 402, the routing device 403, and the computer 404 can be connected by wire.
[0067] The first camera 401 or the second camera 402 is configured to monitor a living area of the home or a peripheral scene of the home.
[0068] The routing device 403 is configured to connect the first camera 401, the second camera 402, and the computer 404 to form a linkage monitoring network, and to connect the first camera 401, the second camera 402, and the computer 404 to a home network to realize a connection between the linkage monitoring network and the home network.
[0069] The computer 404 is configured to receive, send (to a user terminal or to a cloud network), display, or store a monitoring video monitored by the first camera 401 or the second camera 402.
[0070] In addition, the linkage monitoring network can be connected to a cloud video storage system, so that a user can access the monitoring video in the linkage monitoring network at any time based on a user terminal (or an application (APP) on the user terminal) that is not connected to a target network, so that the user can obtain the home monitoring situation in an area outside the home. For privacy protection, the monitoring video is stored in the cloud based on a network attached storage (NAS) system.
[0071] The linkage monitoring network can be connected to a smart speaker in the home, so that the smart speaker can be used as an output device of an alarm audio in addition to playing music.
[0072] In some embodiments, the target network can be a network under a distributed service architecture. The distributed service architecture is used to realize near-field device discovery and communication. The distributed service architecture can realize communication between devices under different operating systems (OSs).
[0073] Exemplarily, the heterogeneous system architecture can include one or more of the following: Bluetooth communication, WI-FI AP communication, WI-FI direct communication, and wired LAN communication.
[0074] Exemplarily, FIG. 5 is a schematic diagram of an architecture of a distributed service architecture provided by an embodiment of the present disclosure, which includes an application layer, a service layer, a technology service layer, an infrastructure layer, and a device layer.
[0075] The application layer includes Android system applications, Windows system applications, smart applets, and an intelligent center (Icenter). The service layer is a distributed service architecture, which includes screen projection services, input back services, camera services, file collaboration services, application flow services, and network configuration services. The technology service layer is a distributed bus architecture, which includes device discovery, device connection, and data transmission. The infrastructure layer is used to indicate an operating system, which includes Android, Linux, Windows, or other systems. The device layer includes mobile phones, computers, cloud computers, routing devices, cameras, televisions, tablets, and Bluetooth headsets, etc.
[0076] In some embodiments, the network configuration application deployed in the management device 101 described above is written based on the distributed service architecture.
[0077] In some embodiments, the target network is a network under the distributed service architecture, i.e., the target network completes networking based on the distributed service architecture. The management device, the routing device, the device to be configured, and the device configured all communicate according to the distributed service architecture. The distributed service architecture is used to realize near field communication between the routing device, the device to be configured, and the device configured under the heterogeneous system architecture, so as to provide unified message transmission capability for the upper layer software services of the routing device, the device to be configured, and the device configured.
[0078] It should be understood that the distributed service architecture can be a software base for the management device, the routing device, the device to be configured, and the device configured, and realize near field communication between the management device, the routing device, the device to be configured, and the device configured.
[0079] Exemplarily, FIG. 6 is a schematic diagram of a home network based on a distributed service architecture for networking, according to an embodiment of the present disclosure. The home network based on the distributed service architecture for networking includes a management device, a center device with AI computing power, and smart home devices (i.e., devices that have been commissioned). The management device is deployed with a commissioning service application and a distributed service architecture base; the center device with AI computing power is deployed with a smart home central control brain and a distributed service architecture base, the smart home central control brain being configured to perform operation intention recognition on a user control instruction based on a local or online recognition model; and the smart home devices are deployed with a thing model service module, a smart networking service module, a commissioning service module, and a distributed bus software development kit (SDK).
[0080] It should be understood that the thing model service module deployed on the smart home device is configured to manage or control a thing model corresponding to the smart home device, the thing model corresponding to the smart home device including state information, executable functions, or operations of the smart home device. The smart networking service module is configured to perform networking of the smart home device. The commissioning service module is configured to implement a commissioning process of the smart home device. The distributed bus SDK is configured to implement the capability of mutual discovery and communication among the smart home devices in a local area network brought by the distributed bus. The distributed network structure can define a routing protocol and a message forwarding mechanism based on the distributed bus.
[0081] In some embodiments, each network access node (such as a wireless access point, a hub, a GO device in WI-FI direct) in the home network can implement a service management function based on the distributed bus technology. Through the service management function, the information that can be recorded includes at least one of the following: node information of an access device under the network access node, types of messages that the access device supports to send and receive, bandwidth of the access device, timeout time limit of the access device, communication mode of the access device, thing model of the access device, or routing information (or wireless access point information) of the network access node, etc. The node information of the access device includes one or more of the following: an IP address, a device type, a device ID, a network role (the network role can be a routing node or a leaf node). The types of messages that the access device supports to send and receive include one or more of the following: a message, a streaming media, a file, a plain text, a rich text. The communication mode of the access device includes one or more of the following: a constrained application protocol (CoAP), a hypertext transfer protocol restful interface (HTTP Rest interface), a socket.
[0082] In some embodiments, the routing device, the baseliner, the master routing device, the GO device in WI-FI direct all provide the query distribution function of the node routing information. In addition, the routing device, the baseliner, the master routing device, the GO device in WI-FI direct also provide the message forwarding function, support the transparent transmission of messages to the target leaf node according to the agreed routing protocol. The leaf node is the terminal node that does not exist in the target network. The target leaf node is the leaf node to which the message to be transparently transmitted is directed.
[0083] In some embodiments, the target network is a multi-hop network, which includes a wireless controller (wireless access point controller, AC). The wireless controller is used to implement the management of the controllable wireless access points in the target network (or called local area network). The management of the wireless access points by the wireless controller includes one or more of the following: issuing configuration, modifying relevant configuration parameters, radio frequency intelligent management, access security control.
[0084] In some embodiments, the routing device can discover all accessible smart home devices under the subnet corresponding to the routing device based on the distributed bus, and record all accessible smart home devices in the routing table of the routing device; at the same time, the routing device marks itself as a routing device role in the whole-house smart network in the routing table, and the user can mark the room position information represented by the routing device after the routing device records the routing table.
[0085] In some embodiments, the target network includes multi-level routing devices (or called routing nodes). The upper-level routing device can discover the lower-level routing device and record the lower-level routing device in the routing table of the node. When the management device as the central control brain accesses any wireless access point, it can initiate a full-network routing collection instruction; all routing tables are collected to the management device (or called center device) by the routing and message forwarding mechanism of each level of routing device, and the management device assembles a visual full-network topology view.
[0086] In some embodiments, the management device can also collect the physical model files of all networked devices (or called online devices) on all subnets, so as to visually present all accessed smart home devices of the target network (for example, the types, functions, provided services, device states, and other information of the accessed smart home devices).
[0087] In some embodiments, on the management device (or referred to as the central control brain), various subsystems (for example, a sleep subsystem, a learning subsystem, an entertainment subsystem, a cooking subsystem, and an air conditioning subsystem) can be flexibly grouped. The management device can intelligently link and operate based on the various subsystems described above to control various devices that have been configured in the network in the multiple subsystems.
[0088] In some embodiments, each routing device is provided with a timing refresh mechanism and can discover new online devices or offline devices at desired interval times.
[0089] In some embodiments, the management device can operate home devices across subnets according to a routing table.
[0090] It should be noted that FIG. 1 is only an exemplary framework diagram, and the number of devices included in FIG. 1 and the names of various devices are not limited.
[0091] The application scenarios of the embodiments of the present disclosure are not limited. The system architecture and business scenarios described in the embodiments of the present disclosure are used to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. It can be known by those skilled in the art that, as the network architecture evolves and new business scenarios appear, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
[0092] The network configuration method provided by the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0093] The network configuration method provided by the embodiments of the present disclosure can be applied to the network configuration system shown in FIG. 1. FIG. 6 shows a flowchart of a network configuration method. As shown in FIG. 7, the network configuration method includes the following S701-S703:
[0094] S701, after the management device and the device to be configured in the network establish a connection, obtaining a network configuration request message of the device to be configured in the network.
[0095] The network configuration request message includes device information of the device to be configured in the network.
[0096] It should be understood that the management device is a management device of a target network. The target network includes multiple routing devices.
[0097] In some embodiments, the target network can be a home WI-FI network or a wireless local area network (WLAN).
[0098] In some embodiments, the device information of the device to be configured in the network includes one or more of the following: a device type of the device to be configured in the network, a location of the device to be configured in the network, a network quality requirement, a device name or a device identifier of the device to be configured in the network.
[0099] In some embodiments, the management device and the device to be commissioned establish the connection by the following manner: in response to a commissioning start request, the management device enters a commissioning service mode (or referred to as a server end), in which the management device automatically starts a hotspot (such as a WI-FI hotspot) for commissioning; the management device and the device to be commissioned establish the connection based on the hotspot. The hotspot can be a commissioning dedicated hotspot, and no password is required. The device to be commissioned can directly access the hotspot after detecting the hotspot.
[0100] In some embodiments, the device to be commissioned cannot connect to the Internet through the commissioning dedicated hotspot; the commissioning dedicated hotspot is only used for communication between the management device and the device to be commissioned.
[0101] S702, determining a target routing device from the plurality of routing devices based on the device information of the device to be commissioned and a preset commissioning rule.
[0102] The target routing device is a routing device accessible to the device to be commissioned.
[0103] In some embodiments, the preset commissioning rule includes one or more of the following:
[0104] The target routing device is closest to the device to be commissioned;
[0105] The target routing device matches the device type of the device to be commissioned;
[0106] The target routing device meets the network quality requirement.
[0107] Exemplarily, the management device stores the positions of the plurality of routing devices respectively; the management device can determine the distances between the plurality of routing devices and the device to be commissioned based on the position of the device to be commissioned and the positions of the plurality of routing devices respectively, and determine the routing device with the smallest distance as the target routing device. In the case where there are more than two routing devices with the smallest distance from the device to be commissioned, the more than two routing devices are determined as the target routing device; or a preset number (such as 1) of routing devices are randomly selected from the more than two routing devices, and determined as the target routing device.
[0108] Exemplarily, the management device stores the device types of the devices to be commissioned respectively matched by the plurality of routing devices, and one routing device can provide network access service for the device to be commissioned matched with the routing device. The management device can determine the routing device matched with the device type of the device to be commissioned (i.e., the routing device that can provide network access service for the device to be commissioned of the device type) as the target routing device based on the device type of the device to be commissioned.
[0109] Exemplarily, the management device stores in the management device a plurality of network quality parameters corresponding to each of the plurality of routing devices at each position in the space. The network quality parameter corresponding to each of the plurality of routing devices at each position in the space is used to indicate the network quality when the routing device is able to provide network service for the to-be-commissioned device at the position. The management device determines the target routing device based on the network quality parameter corresponding to each of the plurality of routing devices at each position in the space, the position of the to-be-commissioned device, and the expected network quality parameter.
[0110] In some embodiments, the preset commissioning rule further includes that the sum of the number of the accessed devices of the target routing device and the number of the to-be-commissioned devices is less than or equal to the number threshold of the target routing device.
[0111] Exemplarily, the management device stores in the management device a plurality of network quality parameters corresponding to each of the plurality of routing devices at each position in the space. The network quality parameter corresponding to each of the plurality of routing devices at each position in the space is used to indicate the network quality when the routing device is able to provide network service for the to-be-commissioned device at the position. The management device determines the target routing device based on the network quality parameter corresponding to each of the plurality of routing devices at each position in the space, the position of the to-be-commissioned device, and the expected network quality parameter.
[0112] In some embodiments, in a case where the preset commissioning rule includes any two or more of the following: the target routing device is closest to the to-be-commissioned device, the target routing device matches the device type of the to-be-commissioned device, the target routing device meets the network quality requirement, and the sum of the number of the accessed devices of the target routing device and the number of the to-be-commissioned devices is less than or equal to the number threshold of the target routing device, the management device stores in the management device related information corresponding to the preset commissioning rule; and the management device can determine the target routing device based on the related information corresponding to the preset commissioning rule and the device information of the to-be-commissioned device.
[0113] Exemplarily, assuming that the preset commissioning rule includes a first preset commissioning rule and a second preset commissioning rule, the management device can determine a set of routing devices satisfying the first preset commissioning rule and a set of routing devices satisfying the second preset commissioning rule based on the first preset commissioning rule and the second preset commissioning rule, and determine a routing device in an intersection between the set of routing devices satisfying the first preset commissioning rule and the set of routing devices satisfying the second preset commissioning rule as the target routing device.
[0114] For example, it is assumed that the preset network configuration rule includes that the target routing device is closest to the device to be configured, and the target routing device matches the device type of the device to be configured. At this time, the management device stores the positions of the plurality of routing devices and the device types of the devices to be configured matched by the plurality of routing devices respectively. The management device determines the distances between the plurality of routing devices and the device to be configured based on the position of the device to be configured and the positions of the plurality of routing devices, and determines the routing device with the minimum distance as the first routing device (the first routing device can include multiple routing devices). The management device determines the second routing device matching the device type of the device to be configured based on the device type of the device to be configured. The management device determines the same routing device in the first routing device and the second routing device as the target routing device.
[0115] In some embodiments, it is assumed that the preset network configuration rule includes a third network configuration rule and a fourth network configuration rule. The management device can determine a candidate device to be configured satisfying the third network configuration rule based on the third network configuration rule, and determine the target routing device from the candidate device to be configured based on the fourth network configuration rule.
[0116] For example, it is assumed that the preset network configuration rule includes that the target routing device is closest to the device to be configured, and the target routing device matches the device type of the device to be configured. At this time, the management device stores the positions of the plurality of routing devices and the device types of the devices to be configured matched by the plurality of routing devices respectively. The management device can determine the routing devices matching the device type of the device to be configured based on the device type of the device to be configured. The management device can determine the distances between the device to be configured and each routing device matching the device type of the device to be configured based on the position of the device to be configured and the positions of the routing devices matching the device type of the device to be configured, and determine the routing device matching the device type of the device to be configured with the minimum distance as the target routing device.
[0117] It should be noted that, referring to the process of determining the target routing device described in the above embodiment in which the preset network configuration rule includes two network configuration rules, the process of determining the target routing device by the management device based on the preset network configuration rule including more than two network configuration rules can be obtained accordingly.
[0118] In some embodiments, the device types of the devices to be configured matched by the plurality of routing devices respectively, the expected network quality parameters, and the quantity thresholds corresponding to the plurality of routing devices respectively can be preset.
[0119] For example, the management device can determine the device types of the devices to be configured matched by the plurality of routing devices, the expected network quality parameters, or the quantity thresholds corresponding to the plurality of routing devices in response to the input of the user.
[0120] In some embodiments, the device type of the to-be-configured device, the expected network quality parameter, and the quantity threshold corresponding to each of the plurality of routing devices are referred to as configuration parameters.
[0121] In some embodiments, the management device prompts the user to set the configuration parameters when the user does not set the configuration parameters.
[0122] In some embodiments, the configuration parameters further include information of a legal routing device. The information of the legal routing device is used for the to-be-configured device to identify a trusted routing device in the environment, so as to avoid the to-be-configured device from accessing a non-trusted routing device (or referred to as a non-trusted hotspot, i.e., a hotspot corresponding to a non-trusted routing device) or being interfered by the non-trusted routing device. The to-be-configured device can filter a list of routing devices around the to-be-configured device according to a filtering mechanism based on the information of the legal routing device.
[0123] In some embodiments, the routing device can include a plurality of wireless access points, and the information of the legal routing device included in the configuration parameters can be information of a legal wireless access point. One wireless access point can correspond to one wireless network or one hotspot.
[0124] In some embodiments, the target routing device includes a primary routing device and a backup routing device, and the connection priority of the primary routing device is higher than that of the backup routing device. The connection priority is used to represent the order of establishing a connection with the to-be-configured device. In this way, after the to-be-configured device accesses the target network based on the primary routing device, if the primary routing device fails, the to-be-configured device can access the target network through the backup routing device, thereby enhancing the robustness of the to-be-configured device accessing the target network and improving the reliability of the configuration.
[0125] S703, sending a configuration response message to the to-be-configured device.
[0126] The configuration response message includes access information of the target routing device.
[0127] In the embodiments of the present disclosure, the management device determines the target routing device accessible by the to-be-configured device from the plurality of routing devices based on the device information of the to-be-configured device and the preset configuration rule, and sends the access information of the target routing device to the to-be-configured device. In this way, the to-be-configured device can access the target routing device, and since the target routing device is determined by the management device based on the device information of the to-be-configured device and the preset configuration rule, the to-be-configured device can access the routing device capable of providing reliable network service from the plurality of routing devices, thereby improving the reliability and effectiveness of the configuration process.
[0128] In addition, since the automatic network configuration can be performed by the management device in the network configuration process, the use threshold of the user is reduced, and the network configuration is realized without feeling. In the smart home scene, the smart home device of the user can be increased in batches, and the automatic network configuration of a large number of smart home devices can be realized by the network configuration method, and the experience of the user is improved.
[0129] In some embodiments, the access information of the target routing device includes one or more of the following: a network name (or identifier) of the target routing device, a network password of the target routing device, and packet filtering information of the target routing device.
[0130] In some embodiments, the management device determines the access information of the target routing device in response to a user access information input operation.
[0131] In some embodiments, the network configuration service application is deployed on the management device, and the management device completes the network configuration method provided by the embodiments of the present disclosure based on the network configuration service application.
[0132] In some embodiments, when the network configuration service application on the management device is run for the first time, the management device prompts the user to set the network configuration parameters.
[0133] In some embodiments, the device information of the device to be configured includes a device identifier of the device to be configured; before determining the target routing device from the plurality of routing devices based on the device information of the device to be configured and the preset network configuration rule, in combination with the embodiment shown in FIG. 7, as shown in FIG. 8, the method provided by the embodiments of the present disclosure further includes S801-S802.
[0134] S801, compare whether the device identifier of the device to be configured in the network configuration request message is consistent with the pre-stored device identifier.
[0135] In some embodiments, the management device can scan and obtain the device identifier of the device to be configured based on the near field communication (NFC) function of the management device.
[0136] In some embodiments, the management device can obtain the device identifier of the device to be configured by recognizing a two-dimensional code pasted on the device to be configured through a two-dimensional code scanning function.
[0137] In some embodiments, the pre-stored device identifier in the management device is the identifier of a device with network configuration permission.
[0138] In some embodiments, the pre-stored device identifier in the management device can be input by the user.
[0139] S802, in response to determining that the device identifier of the device to be commissioned in the commissioning request message is consistent with the pre-stored device identifier, granting the device to be commissioned the commissioning permission.
[0140] It should be understood that the device identifier of the device to be commissioned is consistent with the pre-stored device identifier, which means that there is no security risk in accessing the target network for the device to be commissioned. At this time, the management device grants the device to be commissioned the commissioning permission, allowing the management device to commission the device to be commissioned or allowing the access information to be sent to the device to be commissioned, thereby ensuring the security of the commissioning process.
[0141] In some embodiments, the device identifier is also referred to as an identifier (ID).
[0142] In some embodiments, in response to determining that the device identifier of the device to be commissioned is inconsistent with the pre-stored device identifier, the management device sends a commissioning exception message to the device to be commissioned, prompting the device to be commissioned as an abnormal device, so as to avoid commissioning the device to be commissioned with security risks.
[0143] In an implementation manner, in combination with the embodiment shown in FIG. 7, as shown in FIG. 9, the method provided by the embodiment of the disclosure further includes S901-S902:
[0144] S901, obtaining the report information sent by each routing device in the management device.
[0145] The report information sent by the routing device includes the state information of the routing device itself and / or the state information of the commissioned device connected to the routing device.
[0146] In some embodiments, the management device sends an information reporting message to each routing device; after the routing device receives the information reporting message, the routing device sends the report information to the management device.
[0147] In some embodiments, in response to the user inputting an operation of determining the mobile terminal as the management device on the mobile terminal, the management device, i.e., the mobile terminal, sends an information reporting message to each routing device; after the routing device receives the information reporting message, the routing device sends the report information to the management device.
[0148] S902, determining the network topology of the target network based on the report information sent by each routing device in the management device, and displaying a visual interface of the network topology of the target network.
[0149] The visual interface at least includes icons of each routing device in the target network and / or icons of the commissioned devices connected to each routing device.
[0150] In the embodiments of the present disclosure, the management device determines the network topology of the target network based on the report information sent by each routing device in the management device, displays a visual interface of the network topology of the target network, and can visually display the network topology of the target network, so that the user can intuitively and conveniently view the devices in the target network and the device information of the devices (or the networking situation of the target network), thereby improving the user experience.
[0151] In some embodiments, the visual interface further includes a visual icon of a wireless access point under the target network. The wireless access point can be a wireless access point of the routing device, and one routing device can include multiple wireless access points.
[0152] In some embodiments, the target network is a home network, and the visual interface further includes a house type diagram corresponding to the home network. The management device displays the visual interface based on the relative positions of one or more of the plurality of routing devices, the to-be-configured device, and the wireless access point in the house type diagram.
[0153] In some embodiments, the management device displays the to-be-configured device in the form of a list.
[0154] In some embodiments, the method provided by the embodiments of the present disclosure further includes: in response to the state information of the already-configured device including fault alarm information, the visual interface further includes an icon for representing that the already-configured device has a fault alarm.
[0155] In one implementation, in combination with the embodiment shown in FIG. 9, as shown in FIG. 10, the method provided by the embodiments of the present disclosure further includes S1001-S1002.
[0156] S1001, in response to an instruction of the user changing the connected routing device for the already-configured device in the visual interface, determining a new routing device to which the already-configured device is connected.
[0157] It should be understood that the already-configured device is a device that has completed configuration in the target network, and the already-configured device has an accessible routing device. The new routing device to which the already-configured device is connected is a new routing device accessible to the already-configured device determined by the management device from routing devices other than the accessible routing device allocated to the already-configured device in the previous configuration process.
[0158] In some embodiments, the instruction of the user changing the connected routing device for the already-configured device in the visual interface can be implemented in the following manner: the user drags the icon of the already-configured device to a preset range of the icon of the new routing device.
[0159] S1002, sending access information of the new routing device to the already-configured device.
[0160] In the embodiments of the present disclosure, the user can change the instruction of the connected routing device for the already-configured device in the visual interface, so that the already-configured device obtains the access information of the new accessible routing device. In this way, the user can complete the update of the accessible routing device of the already-configured device through the quick and simple operation on the visual interface, and the user experience is improved.
[0161] In some embodiments, in response to the instruction of the user removing the routing device connected by the already-configured device in the visual interface, the management device sends a disconnection message to the routing device connected by the already-configured device, and the disconnection message is used to instruct the routing device connected by the already-configured device to disconnect with the already-configured device, so that the routing device connected by the already-configured device is disconnected; or the management device sends a delete access information message to the already-configured device, and the delete access information message is used to instruct the already-configured device to delete the access information of the routing device connected by the already-configured device, so that the already-configured device does not automatically connect to the routing device connected by the already-configured device.
[0162] In some embodiments, in combination with the embodiment shown in FIG. 7, as shown in FIG. 11, the method provided by the embodiments of the present disclosure further includes S1101-S1103.
[0163] S1101, receiving a control instruction input by a user.
[0164] The control instruction includes a voice instruction or a text instruction or a gesture instruction.
[0165] S1102, performing intent conversion on the control instruction to obtain a user operation intent.
[0166] The user operation intent is used to indicate a plurality of already-configured devices expected to be operated in linkage by the user and respective control instructions of the plurality of already-configured devices.
[0167] S1103, respectively sending, to each of the plurality of already-configured devices, a control instruction corresponding to the already-configured device.
[0168] In the embodiments of the present disclosure, the user operation intent is obtained by performing intent conversion on the control instruction input by the user. Since the user operation intent can indicate the plurality of already-configured devices expected to be operated in linkage by the user and the respective control instructions of the plurality of already-configured devices, the management device respectively sends, to each of the plurality of already-configured devices corresponding to the user operation intent, a control instruction corresponding to the already-configured device. In this way, compared with the user inputting the control instruction for each of the already-configured devices due to the user's own needs, the user operation is reduced, and the user experience is improved.
[0169] In some embodiments, the target network is a smart home network, and the control instruction includes a voice instruction, so that the user can control the smart home network through voice chat or chat mode in the form of a large language model (LLM), such as chatGPT, thereby improving the user's operation experience.
[0170] In some embodiments, the management device identifies the user operation intention based on a local identification model and a cloud identification model (or based on local AI computing power, cloud AI computing power, and natural language processing algorithms or large language model algorithms).
[0171] For example, the user's voice instruction or text instruction is "I need to rest in the bedroom for 30 minutes", and the management device can generate a linkage control instruction based on the instruction to control the bedroom curtains to close, adjust the light, play soothing music, adjust the air conditioner temperature to a temperature range suitable for sleeping, and adjust the smart alarm clock to set a time. In this way, the user is prepared for rest in a suitable environment, and the complexity of controlling smart home devices is simplified.
[0172] In some embodiments, the association between the user operation intention and the control requirement can be pre-trained through an algorithm from the user operation intention to the device control, and the control instruction corresponding to the user operation intention can be generated according to the device information, online state, and physical model file of the smart home device in the target network.
[0173] In some embodiments, since the smart home devices in the target network can increase or decrease, the model in the management device for generating control instructions of the already-configured devices based on the user operation intention should also have the ability to interact with the user and learn. Through interaction with the user, the understanding of the user operation intention is improved, and the number or type of already-configured devices corresponding to the generated control instructions is increased or decreased, thereby providing the user with more intelligent and personalized artificial intelligence services and whole-house smart experience.
[0174] For example, the training process of the model for generating control instructions based on the user operation intention provided by the embodiments of the present disclosure includes data preparation (pre-training), supervised pre-training, human feedback reinforcement learning, model evaluation, and model deployment.
[0175] In some embodiments, FIG. 12 is a flowchart of another network configuration method provided by the embodiments of the present disclosure. The network configuration method is applied to a management device and includes S1201-S1207.
[0176] S1201, in response to the user running a smart home network configuration application on the management device and the network configuration parameters being empty, prompting the user to set the network configuration parameters.
[0177] S1202, in response to the user's setting operation on the network parameter, determine the network parameter.
[0178] S1203, start the network service and the network hot spot.
[0179] S1204, after the to-be-networked device is connected to the network hot spot, obtain the identity of the to-be-networked device.
[0180] In some embodiments, the network service follows a distributed service architecture and runs in the background, waiting for the device automatically discovered and connected to the network hot spot to send a network request message (or a service request for synchronizing the network parameter) to the management device, which meets the interface standard of the network service of the distributed service architecture.
[0181] S1205, based on the identity of the to-be-networked device, authenticate and identify whether the to-be-networked device is a legal device.
[0182] In some embodiments, after the management device detects the network request message, the user can be prompted to discover the to-be-networked device with network demand (exemplarily, a pop-up box can be prompted); and in response to the user's authorization operation, the to-be-networked device is granted network permission. Thus, the user authorizes whether to allow network.
[0183] In some embodiments, the user can authorize single device, batch authorization or default authorization.
[0184] In some embodiments, after the to-be-networked device is authorized, the management device records the authorization information through the network service and synchronizes the recorded authorization information to each to-be-networked device allowed to network through the service interface of the distributed service architecture.
[0185] S1206, in the case that the to-be-networked device is a legal device, send a network response message in a preset format to the to-be-networked device.
[0186] In some embodiments, the network response message is sent through the service interface of the distributed service architecture.
[0187] S1207, based on the list, display the network result.
[0188] In some embodiments, in response to the user's network determination operation, determine that the network is ended.
[0189] In some embodiments, in response to the user's network determination operation, the management device records the network information of this network through the network service and synchronizes the recorded network information to the routing device corresponding to the network information through the service interface of the distributed service architecture.
[0190] In some embodiments, after receiving the network configuration information, the routing device performs integrity check on the network configuration information, and stores (or records) the network configuration information on the device.
[0191] In some embodiments, FIG. 13 is a flowchart of another network configuration method provided by an embodiment of the present disclosure. The network configuration method is applied to a device to be configured, and includes S1301-S1305.
[0192] S1301, entering a network configuration state and scanning for a name of a network configuration hotspot in the surrounding environment.
[0193] In some embodiments, the device to be configured enters the network configuration state by starting a preset network configuration service client.
[0194] In some embodiments, the network configuration service client complies with a service interface specification of a distributed service architecture, which specifies a service request interface and a response interface for obtaining network configuration parameters. The request message that can be sent by the request interface includes one or more of the following parameters: device name, device ID, required network configuration data type, network bandwidth requirement, etc. The response message that can be received by the response interface includes one or more of the following parameters: connectable WIFI parameters, maximum number of connectable devices, etc.
[0195] S1302, accessing a network configuration hotspot that complies with a naming rule and sending a network configuration request message to a management device.
[0196] In one implementation, the network configuration request message includes an identifier of the device to be configured.
[0197] S1303, in a case where a network configuration response message is not received within a timeout duration or a network configuration rejection message is received, accessing a next network configuration hotspot that complies with the naming rule; or receiving a network configuration response message in a preset format.
[0198] In some embodiments, when the device to be configured fails to connect to the network configuration hotspot, an alarm message is displayed. At this time, the user can reset the device to be configured to re-enter the network configuration state. In the network configuration state, the management device can obtain a network configuration failure log on the device to be configured and display the network configuration failure log to present the reason for the hotspot connection failure to the user.
[0199] S1304, based on network configuration information in the network configuration response message, scanning for a routing device in the surrounding environment.
[0200] S1305, in a case where the routing device corresponding to the network configuration information exists, disconnecting from the network configuration hotspot, ending the network configuration mode, entering a normal working mode, and accessing the routing device.
[0201] In some embodiments, after receiving the network configuration information, the device to be configured performs integrity check on the network configuration information, and stores (or records) the network configuration information on the device.
[0202] The disclosed embodiments can divide the function modules of the network device according to the above method embodiments. For example, each function module can correspond to each function, or two or more functions can be integrated into one function module. The integrated module can be implemented in the form of hardware or software. It should be noted that the division of the modules in the disclosed embodiments is illustrative, and is only a logical function division. In actual implementation, another division manner can be used. Hereinafter, the case of dividing each function module corresponding to each function is taken as an example for description.
[0203] FIG. 14 is a structural schematic diagram of a network device provided by an embodiment of the present disclosure. The network device can execute the network device method provided by the above method embodiments. As shown in FIG. 14, the network device 140 includes an acquisition module 1401, a determination module 1402, and a sending module 1403.
[0204] The acquisition module 1401 is configured to acquire a network device request message of a to-be-networked device after a management device and the to-be-networked device establish a connection. The network device request message includes device information of the to-be-networked device.
[0205] The determination module 1402 is configured to determine a target routing device from a plurality of routing devices based on the device information of the to-be-networked device and a preset network device rule. The target routing device is a routing device accessible by the to-be-networked device.
[0206] The sending module 1403 is configured to send a network device response message to the to-be-networked device. The network device response message includes access information of the target routing device.
[0207] In the case of implementing the functions of the above integrated module in the form of hardware, the disclosed embodiments provide another structure of the network device involved in the above embodiments. As shown in FIG. 15, the network device 150 includes a memory 1501, a processor 1502, a communication interface 1503, and a bus 1504.
[0208] The memory 1501 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, can be a random access memory (RAM) or other type of dynamic storage device that can store dynamic information and instructions, can be an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium, or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
[0209] The processor 1502 can be a logical block, a module, and a circuit that implements or executes various exemplary methods described in combination with the embodiments of the present disclosure. The processor 1502 can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor 1502 can also implement or execute various exemplary logical blocks, modules, and circuits described in combination with the embodiments of the present disclosure. The processor 1502 can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0210] The communication interface 1503 is configured to connect with other devices through a communication network. The communication network can be an Ethernet, a wireless access network, a wireless local area network (WLAN), and the like.
[0211] In some implementations, the memory 1501 can exist independently of the processor 1502, and the memory 1501 can be connected with the processor 1502 through the bus 1504, for storing instructions or program codes. When the processor 1502 invokes and executes the instructions or program codes stored in the memory 1501, the network configuration method provided by the embodiments of the present disclosure can be implemented.
[0212] In some implementations, the memory 1501 can also be integrated with the processor 1502.
[0213] Bus 1504, which can be an extended industry standard architecture (EISA) bus, a peripheral component
[0214] Some embodiments of the present disclosure provide a computer readable storage medium (for example, a non-transitory computer readable storage medium) having stored computer program instructions, which, when executed on a computer, cause the computer to perform the network configuration method according to any one of the above embodiments.
[0215] Exemplarily, the above computer readable storage medium can include, but is not limited to, a magnetic storage device (for example, a hard disk, a floppy disk or a magnetic tape, etc.), an optical disc (for example, a compact disk (CD), a digital versatile disk (DVD), etc.), a smart card and a flash memory device (for example, an erasable programmable read-only memory (EPROM), a card, a stick or a key drive, etc.). The various computer readable storage media described in the present disclosure can represent one or more devices and / or other machine readable storage media for storing information. The term "machine readable storage medium" can include, but is not limited to, a wireless channel and various other media capable of storing, containing and / or carrying instructions and / or data.
[0216] The embodiments of the present disclosure provide a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the network configuration method according to any one of the above embodiments.
[0217] The above is merely specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any changes or replacements within the technical scope disclosed by the present disclosure should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A network configuration method applied to a management device of a target network, wherein, The target network includes a plurality of routing devices, and the method comprises: After the management device and the device to be configured for networking establish a connection, a configuration request message of the device to be configured for networking is acquired, wherein the configuration request message comprises device information of the device to be configured for networking; Based on the device information of the device to be configured for networking and a preset configuration rule, a target routing device is determined from the plurality of routing devices, wherein the target routing device is a routing device accessible to the device to be configured for networking; A configuration response message is sent to the device to be configured for networking, wherein the configuration response message comprises access information of the target routing device.
2. The method of claim 1, wherein, The device information of the device to be configured for networking comprises one or more of the following: a device type of the device to be configured for networking, a location of the device to be configured for networking, and a network quality requirement; and the preset configuration rule comprises one or more of the following: The target routing device is closest to the device to be configured for networking; The target routing device matches the device type of the device to be configured for networking; The target routing device meets the network quality requirement.
3. The method of claim 1, wherein, The target routing device comprises a primary routing device and a backup routing device, and the connection priority of the primary routing device is higher than that of the backup routing device, wherein the connection priority is used to represent the order of establishing a connection with the device to be configured for networking.
4. The method of claim 1, wherein, The device information of the device to be configured for networking comprises a device identifier of the device to be configured for networking; Before the target routing device is determined from the plurality of routing devices based on the device information of the device to be configured for networking and the preset configuration rule, the method further comprises: The device identifier of the device to be configured for networking in the configuration request message is compared with a pre-stored device identifier; In response to determining that the device identifier of the device to be configured for networking in the configuration request message is consistent with the pre-stored device identifier, the device to be configured for networking is granted a configuration permission.
5. The method of claim 1, further comprising: acquiring report information sent by each routing device in the management device, wherein the report information sent by each routing device comprises state information of the routing device itself and / or state information of a device configured for networking connected to the routing device; based on the report information sent by each routing device in the management device, determining a network topology of the target network, and displaying a visual interface of the network topology of the target network, wherein the visual interface at least comprises icons of each routing device in the target network and / or icons of each device configured for networking connected to the routing device.
6. The method of claim 5, wherein, In response to the state information of the device configured for networking comprising fault alarm information, the visual interface further comprises an icon used to represent that the device configured for networking has a fault alarm.
7. The method of claim 5, further comprising: in response to an instruction of a user changing a connected routing device for the device configured for networking in the visual interface, determining a newly connected routing device of the device configured for networking; and sending access information of the newly connected routing device to the device configured for networking.
8. The method of claim 1, further comprising: receiving a control instruction input by a user, wherein the control instruction comprises a voice instruction or a text instruction or a gesture instruction. The control instruction is subjected to intention conversion to obtain a user operation intention, where the user operation intention is used to indicate a plurality of pre-configured network devices that the user expects to be operated in linkage and respective control instructions of the plurality of pre-configured network devices; The control instruction is subjected to intention conversion to obtain a user operation intention, where the user operation intention is used to indicate a plurality of pre-configured network devices that the user expects to be operated in linkage and respective control instructions of the plurality of pre-configured network devices; 9. An electronic device comprising: The computer program product comprises computer program instructions, and the computer program instructions are executed by a processor to implement the method according to any one of claims 1-8.
10. A computer program product, wherein, The computer program product comprises computer program instructions, and the computer program instructions are executed by a processor to implement the method according to any one of claims 1-8. The computer program product comprises computer program instructions, and the computer program instructions are executed by a processor to implement the method according to any one of claims 1-8.
Citation Information
Patent Citations
Terminal equipment batch network distribution method and device, routing equipment and storage medium
CN114697053A
Network distribution method and device, router and storage medium
CN115865972A
Network distribution method and system of household appliance, electronic equipment and computer storage medium
CN116094860A
Network connection method, device, equipment, system and storage medium
CN116962107A
Group management method, mobile communication apparatus and program thereof
JP2005191659A
Cited By
IoT device network configuration method and device combining edge cloud and large model
CN122496851A