Network distribution method and device of equipment, equipment and storage medium

By obtaining the terminal distribution network information and using the target communication protocol to connect to smart home devices, the problems of cumbersome network distribution process and low compatibility of smart home devices are solved, and simultaneous network distribution of multiple devices is realized, improving network distribution efficiency.

CN118740536APending Publication Date: 2024-10-01GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410892492.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing smart home equipment distribution network process is cumbersome, and the compatibility of different devices from the same manufacturer is low, resulting in low distribution network efficiency and inability to be effectively compatible with multi-device distribution networks.

Method used

By obtaining the distribution network information sent by the terminal, using the target communication protocol to connect to the target device, and obtaining a collection of devices that support the protocol, the distribution network information is sent one by one for network distribution, optimizing the user operation process and improving network distribution efficiency.

Benefits of technology

It achieves the acquisition of terminal distribution network information through the target device, allowing multiple devices that support the target communication protocol to perform network distribution at the same time, shortening network distribution time, reducing user operations, and improving network distribution efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740536A_ABST
    Figure CN118740536A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a network distribution method and device of equipment, the equipment and a storage medium, and the method comprises the steps: obtaining network distribution information sent by a terminal, and enabling the terminal to be connected with target equipment through a target communication protocol; after network distribution is carried out according to the network distribution information, a first device set corresponding to the target device is obtained, and devices in the first device set all support the target communication protocol; and sending the network distribution information to each first device in a first device set according to the target communication protocol, so that each first device performs network distribution according to the network distribution information. Therefore, the network distribution information of the terminal can be obtained through the target equipment, so that the target equipment and equipment using a target communication protocol (such as a matter protocol) can perform network distribution operation, user network distribution steps are optimized, multiple pieces of equipment supporting the target communication protocol can perform network distribution networking at the same time, the network distribution time is shortened, user operation is reduced, and the network distribution efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of smart home technology, and in particular to a network configuration method, device, equipment, and storage medium for a device. Background Art

[0002] With the rapid development of smart homes in recent years, the demand for multi-device networking and linkage is increasing day by day. The introduction of the matter protocol in recent years has solved the compatibility issues of different devices and different manufacturers. However, there are still problems such as the network configuration process is too cumbersome, the conversion efficiency of complex functions of manufacturers is slow, and the program compatibility of different devices from the same manufacturer is low, and the transplantation effect is poor. When multiple devices are networked, the operation load of the network configuration time of multiple devices cannot be compatible, and the compatibility of different devices from the same manufacturer is low.

[0003] Therefore, how to improve the efficiency of multi-device network configuration has become an urgent problem to be solved. Summary of the invention

[0004] In view of this, in order to solve the above technical problems or part of the technical problems, the embodiments of the present invention provide a network configuration method, apparatus, device and storage medium for a device.

[0005] In a first aspect, an embodiment of the present invention provides a network configuration method for a device, which is applied to a target device and includes:

[0006] Acquiring network configuration information sent by a terminal, wherein the terminal and the target device are connected via a target communication protocol;

[0007] After performing network configuration according to the network configuration information, a first device set corresponding to the target device is obtained, wherein the devices in the first device set all support the target communication protocol;

[0008] The network configuration information is sent to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

[0009] In a possible implementation manner, the acquiring the network configuration information sent by the terminal includes:

[0010] Sending a broadcast signal carrying an identifier of the target communication protocol to the terminal;

[0011] When it is determined that the connection with the terminal through the target communication protocol is successful, the network configuration information is obtained from the terminal.

[0012] In a possible implementation, sending the network configuration information to each first device in the first device set according to the target communication protocol so that each first device performs network configuration according to the network configuration information includes:

[0013] When receiving a broadcast signal sent by any of the first devices, connecting with the first device according to the target communication protocol;

[0014] Sending the network configuration information to the connected first device, so that the connected first device performs network configuration according to the network configuration information;

[0015] A new target device is determined from the connected first devices, so that the new target device performs network configuration on the unconnected first devices in the first device set.

[0016] In a possible implementation manner, determining a new target device from the connected first devices so that the new target device performs network configuration on unconnected first devices in the first device set includes:

[0017] When the number of first devices connected to the target device reaches a maximum value, obtaining a signal strength of each connected first device;

[0018] The connected first device with the smallest signal strength is determined as the new target device, so that after the new target device is connected to the unconnected first device, the network configuration information is sent to the unconnected first device for network configuration.

[0019] In a possible implementation, after performing network configuration according to the network configuration information, the method further includes:

[0020] Acquire a function mapping table of each of the first devices;

[0021] The function mapping table is sent to the terminal, so that the terminal generates a virtual device corresponding to each first device according to the function mapping table for storage.

[0022] In a second aspect, an embodiment of the present invention provides a network configuration method for a device, which is applied to the terminal described in the first aspect, including:

[0023] Acquire multiple broadcast signals sent by a set of first devices within a preset range, each of the first devices supporting a target communication protocol;

[0024] determining a target device from the first device set according to the plurality of broadcast signals;

[0025] The network configuration information of the terminal is sent to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and the target device performs network configuration on the first device in the first device set according to the target communication protocol.

[0026] In a possible implementation manner, determining a target device from the first device set according to the plurality of broadcast signals includes:

[0027] Obtaining the signal strength of each of the broadcast signals;

[0028] The first device with the greatest signal strength is determined from the first device set as the target device.

[0029] In a third aspect, an embodiment of the present invention provides a network distribution device for a device, including:

[0030] A first acquisition module, used to acquire network configuration information sent by a terminal, wherein the terminal and a target device are connected via a target communication protocol;

[0031] The first acquisition module is further used to acquire a first device set corresponding to the target device after performing network configuration according to the network configuration information, wherein all devices in the first device set support the target communication protocol;

[0032] The first sending module is used to send the network configuration information to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

[0033] In a fourth aspect, an embodiment of the present invention provides a device, comprising: a processor and a memory, wherein the processor is used to execute a network configuration program of the device stored in the memory to implement a network configuration method of the device described in any one of the first aspect or the second aspect.

[0034] In a fifth aspect, an embodiment of the present invention provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the network configuration method of the device described in any one of the first aspect or the second aspect.

[0035] The network configuration scheme of the device provided in the embodiment of the present invention obtains the network configuration information sent by the terminal, and the terminal and the target device are connected through the target communication protocol; after the network configuration is performed according to the network configuration information, the first device set corresponding to the target device is obtained, and the devices in the first device set all support the target communication protocol; according to the target communication protocol, the network configuration information is sent to each first device in the first device set, so that each first device performs network configuration according to the network configuration information. In this way, it is possible to obtain the network configuration information of the terminal through the target device, so that the target device and the device using the target communication protocol (for example, the matter protocol) perform network configuration operations, optimize the user network configuration steps, and enable multiple devices supporting the target communication protocol to perform network configuration and networking at the same time, shorten the network configuration time, reduce user operations, and improve network configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of a flow chart of a network configuration method for a first device provided in an embodiment of the present invention;

[0037] Figure 2 A schematic diagram of a flow chart of a network configuration method for a second device provided in an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of a flow chart of a network configuration method for a third device provided in an embodiment of the present invention;

[0039] Figure 4 A schematic diagram of a flow chart of a network configuration method for a fourth device provided in an embodiment of the present invention;

[0040] Figure 5 A schematic diagram of the structure of a network distribution device of a device provided in an embodiment of the present invention;

[0041] Figure 6 A schematic diagram of the structure of a network distribution device of another device provided in an embodiment of the present invention.

[0042] Figure 7 A schematic diagram of the structure of a device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0045] Figure 1 A schematic diagram of a flow chart of a network configuration method for a first device provided in an embodiment of the present invention, such as Figure 1 As shown, the method specifically includes:

[0046] S11. Obtain network configuration information sent by the terminal, and connect the terminal and the target device through the target communication protocol.

[0047] The network configuration method of the device provided in the embodiment of the present invention is applied to the target device, which may be a sweeping robot, a smart home device such as a smart speaker waiting for network configuration, and the target device is a device supporting the target communication protocol, which may be the matter protocol. The target device is a device that is currently connected to the terminal for communication. The terminal may be a mobile phone, a tablet computer, a central control device, or other network-configured device.

[0048] In this embodiment, the target device pre-sends a Bluetooth broadcast with a matter-related identification mark. After receiving the Bluetooth broadcast, the terminal establishes a connection with the target device. The target device obtains the network configuration information of the terminal through Bluetooth communication. The network configuration information may include but is not limited to: WiFi name, network password, IP address and other information used for network configuration.

[0049] S12: After performing network configuration according to the network configuration information, a first device set corresponding to the target device is obtained, and the devices in the first device set all support the target communication protocol.

[0050] In this embodiment, after receiving the network configuration information, the target device connects to the server of the manufacturer corresponding to the target device according to the network configuration information to complete the network configuration operation.

[0051] Furthermore, the first device is a pre-set device that belongs to the same matter device group as the target device (for example, all white appliances used in the user's space are pre-set to belong to the matter device group). The first device may be a device that supports different models from different manufacturers, that is, each first device supports the target communication protocol, and after the target device successfully performs network configuration according to the obtained network configuration information, the first device set corresponding to the target device is obtained.

[0052] S13. Send the network configuration information to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

[0053] In this embodiment, the target device and the first device can establish a communication connection according to the matter protocol. Specifically, the Bluetooth broadcast with the matter-related identification mark sent by each first device can be obtained. When the Bluetooth broadcast is obtained, a communication connection is established with the first device. Since the first devices are located at different distances, only some of the first devices in the first device set may be able to communicate with the target device. After the target device is connected to the first device, the network configuration information is sent to the connected first device to enable it to perform network configuration. Then, the first device farthest from the target device is determined from the connected first devices as the new target device. After the new target device establishes a connection with the unconnected first device, the network configuration information is sent to the unconnected first device to enable it to perform network configuration. In this way, the new target device can be continuously determined as the control center for sending network configuration information, and the network configuration information can be continuously sent to the distant first devices to enable all the first devices to perform network configuration.

[0054] The network configuration method of the device provided in the embodiment of the present invention obtains the network configuration information sent by the terminal, and the terminal and the target device are connected through the target communication protocol; after the network configuration is performed according to the network configuration information, the first device set corresponding to the target device is obtained, and the devices in the first device set all support the target communication protocol; according to the target communication protocol, the network configuration information is sent to each first device in the first device set, so that each first device performs network configuration according to the network configuration information. In this way, it is possible to obtain the network configuration information of the terminal through the target device, so that the target device and the device using the target communication protocol (for example, the matter protocol) perform network configuration operations, optimize the user network configuration steps, and enable multiple devices supporting the target communication protocol to perform network configuration and networking at the same time, shorten the network configuration time, reduce user operations, and improve network configuration efficiency.

[0055] Figure 2 A schematic diagram of a flow chart of a network configuration method for a second device provided in an embodiment of the present invention, such as Figure 2 As shown, the method specifically includes:

[0056] S21. Send a broadcast signal carrying an identifier of a target communication protocol to a terminal; when it is determined that the connection with the terminal through the target communication protocol is successful, obtain network configuration information from the terminal.

[0057] In this embodiment, when the target device and the terminal are not connected, the target device sends a Bluetooth broadcast signal carrying the identification of the target communication protocol. The target communication protocol is the matter protocol. The terminal will choose whether to connect to the target device. When the terminal determines to connect to the target device, the target device obtains the network configuration information sent by the terminal.

[0058] S22: After network configuration is performed according to the network configuration information, a first device set corresponding to the target device is obtained, and the devices in the first device set all support the target communication protocol.

[0059] In this embodiment, similar to step S12, the specific Figure 1 For the sake of brevity, the relevant content will not be elaborated here.

[0060] S23, obtaining a function mapping table of each first device; sending the function mapping table to the terminal, so that the terminal generates a virtual device corresponding to each first device according to the function mapping table for storage.

[0061] In this embodiment, after the target device is networked, the function mapping table of each first device is obtained from the target server. The function mapping table can also be pre-stored in the target device or each first device. Since the functions of different devices are different, the functions corresponding to the functions of each device can be mapped into a function mapping table. For example, the functions of the sweeping robot include: house finding, cleaning, etc.; the smart switch includes: switch function, and each device and the corresponding function generate a function mapping table. The function mapping table can be obtained from the server through the networked target device, or from each first device, or the function of each first device can be obtained and then the function mapping table is generated in the target device. The specific method of obtaining the function mapping table is not specifically limited in this embodiment.

[0062] The target device sends the function mapping table to the terminal, and forms a virtual device for each first device in the first device set on the terminal. Since each first device in the first device set eventually needs to be networked, after the target device is successfully networked or connected to the terminal, the virtual device corresponding to the first device can be preloaded in the terminal. After the first device completes the network configuration, it does not need to be loaded into the terminal again. Preloading can facilitate users to view controllable networked devices in advance through the terminal, giving users a fast experience of device networking.

[0063] Furthermore, after loading each first device, the terminal can view the function corresponding to each first device through the function mapping table, and can select a function to control the first device.

[0064] S24. When a broadcast signal sent by any first device is received, connect to the first device according to the target communication protocol; send network configuration information to the connected first device so that the connected first device performs network configuration according to the network configuration information; determine a new target device from the connected first devices so that the new target device performs network configuration for the unconnected first devices in the first device set.

[0065] In this embodiment, after the target device is networked, the target device is used as a network configuration control center to send network configuration information to each first device that can be connected, so that each first device performs network configuration according to the network configuration information.

[0066] Specifically, each first device sends a broadcast with a matter protocol identification identifier. When the target device receives the broadcast, it connects to the first device sending the broadcast and sends the network configuration information to the connected first device, so that the connected first device performs network configuration according to the network configuration information.

[0067] Furthermore, some first devices that are far away from the target device cannot connect to the target device, and it is necessary to re-determine a new target device in the connected first device as the control center of the new network configuration, and then receive the broadcast of the currently unconnected first device according to the new target device. When the connection is successful, the network configuration information is sent to the unconnected first device to enable it to configure the network. New target devices are continuously selected, and the network configuration operation for the unconnected first device is performed until the network configuration of all first devices is completed.

[0068] The determining of a new target device from the connected first devices so that the new target device performs network configuration on the unconnected first devices in the first device set includes:

[0069] When the number of first devices connected to the target device reaches a maximum value, the signal strength of each connected first device is obtained; the connected first device with the smallest signal strength is determined as a new target device, so that after the new target device is connected to the unconnected first device, the network configuration information is sent to the unconnected first device for network configuration.

[0070] Because, when the number of first devices connected to the target device reaches the maximum value, or when the broadcast of any first device is not received at present, it means that the current target device can no longer connect to other unconnected first devices. At this time, a new target device needs to be selected. The signal strength can represent the distance between devices. The connected first device with the smallest signal strength is taken as the new target device, or the connected first device with the latest successful connection time is taken as the new target device. The smallest signal strength or the latest successful connection time represents the connected first device with the longest distance. Therefore, the unconnected first device farther from the target device can be networked through the new target device. Finally, network configuration is achieved for each first device.

[0071] As an example, Figure 4The figure shows a flow chart of the network configuration method of the fourth device provided by an embodiment of the present invention. The method specifically includes powering on an unactivated matter device group (including multiple first devices supporting different manufacturers), and each device automatically transmits a Bluetooth broadcast with a matter-related identification mark (supporting matter terminal identification, facilitating rapid multi-device networking). The terminal uses the surrounding Bluetooth broadcast signal strength to select the nearest device (ensuring the stability of Bluetooth connection) as the target device for pairing. The connected matter device uses the terminal to obtain relevant routing and cloud information as network configuration information, and performs network activation according to the network configuration information. When the Matter device is activated by the corresponding server of the terminal, it needs to connect to the corresponding server of its own manufacturer and pull the corresponding function information. After the first target device is activated online, the first device corresponding to the broadcast with the matter protocol scanned by the terminal is formed into a virtual device in the terminal. At the same time, the terminal stores the function mapping table corresponding to each first device to realize the pre-loaded device of the terminal. When the first device is networked, the terminal can quickly control it. The first activated target device is automatically converted into a central device for controlling the network configuration of other first devices, and the first devices broadcast by other matter are connected to the target device. The target device has the same principle as the terminal, and also uses the Bluetooth broadcast signal strength to connect, when the number of connections reaches the maximum value. The last connected device is used as the new target device, that is, the new target device acts as both a central device and a peripheral device, that is, a sub-node function. In the end, all devices successfully use matter to form a network. Among them, the terminal can also obtain the function mapping table in the following way: when each device is successfully networked, it is activated in the cloud. And obtain its own function comparison table in its own cloud, after the matter device successfully obtains its own function, it is transmitted to the target device, and the target device sends it to the terminal, so that the terminal generates a function mapping table according to the function and the virtual device. In this way, different terminal APPs are used for function control. When there is no network, the terminal is connected to the target device by Bluetooth, and the function mapping table can be pre-stored in the target device. The target device sends the function mapping table to the terminal via Bluetooth. The terminal can select the control of the virtual device according to the function mapping table, and send the control instruction to the first device to be controlled via Bluetooth, so that the terminal can realize fast network-free control of each first device and function conversion control of different manufacturers.

[0072] The network configuration method of the device provided in the embodiment of the present invention is to send a broadcast signal carrying the identification of the target communication protocol to the terminal; when it is determined that the connection with the terminal through the target communication protocol is successful, the network configuration information is obtained from the terminal. After the network configuration is performed according to the network configuration information, the first device set corresponding to the target device is obtained. The function mapping table of each first device is obtained; the function mapping table is sent to the terminal so that the terminal generates a virtual device corresponding to each first device according to the function mapping table for storage. When the broadcast signal sent by any first device is received, the first device is connected according to the target communication protocol; the network configuration information is sent to the connected first device so that the connected first device performs network configuration according to the network configuration information; a new target device is determined from the connected first device so that the new target device performs network configuration on the unconnected first device in the first device set. In this way, it is possible to obtain the network configuration information of the terminal through the target device, so that the target device and the device using the target communication protocol (for example, the matter protocol) perform network configuration operations, optimize the user network configuration steps, and enable multiple devices supporting the target communication protocol to perform network configuration and networking at the same time, shorten the network configuration time, reduce user operations, and improve network configuration efficiency. The corresponding function mapping is stored in the intermediate node of the network, and the function mapping table is sent to the terminal in advance for pre-storage, so as to realize function configurability, realize network-free control, and reduce the problem of incompatibility of functions of the same manufacturer.

[0073] Figure 3 A schematic diagram of a flow chart of a network configuration method for a third device provided in an embodiment of the present invention, such as Figure 3 As shown, the method specifically includes:

[0074] S31. Acquire multiple broadcast signals sent by a set of first devices within a preset range, each of the first devices supporting a target communication protocol.

[0075] In this embodiment, it is applied to a terminal (for example, a mobile phone, a tablet computer, etc.), the terminal is a network-connected device, and can receive a broadcast sent by a first device that carries an identifier of a target communication protocol. The target communication protocol may be a matter protocol, and the preset range may be a preset space (for example, a user's home). The first device set may be devices that use the target communication protocol set within the preset range (for example, smart TVs, smart sweeping robots, smart speakers, and other smart home devices in a user's home). The terminal scans the broadcast sent by the first device and obtains multiple broadcast signals.

[0076] S32: Determine a target device from the first device set according to the multiple broadcast signals.

[0077] In this embodiment, a first device corresponding to a broadcast signal can be arbitrarily selected from multiple broadcast signals obtained as a target device, and the signal strength of each broadcast signal can also be obtained; the first device with the largest signal strength is determined as the target device from the first device set and connected via Bluetooth, thereby selecting the first device closest to the terminal as the target device, thereby ensuring the stability of the Bluetooth signal.

[0078] S33. Send the network configuration information of the terminal to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and enables the target device to perform network configuration on the first device in the first device set according to the target communication protocol.

[0079] In this embodiment, after the terminal is connected to the target device, the network configuration information is sent to the target device so that the target device performs network configuration, and the target device performs network configuration on all first devices in the first device set according to the target communication protocol, so that all first devices are configured with the network. The network configuration method of the target device for the first device set is the same as Figure 2 Steps S21-S24 are similar, please refer to Figure 2 For the sake of brevity, the relevant content will not be elaborated here.

[0080] Furthermore, after the target device is successfully networked, the terminal can obtain the function mapping table sent by the target device and the device identifier in the first device set, and form a corresponding virtual device in the terminal based on the device identifiers of all the first devices currently included, so that users can view the virtual devices and the functions corresponding to each virtual device. The user selects the target virtual device and function to be controlled and generates control instructions. When the network configuration of all the first devices is completed, the control instructions of the terminal can be sent to the first device corresponding to the target virtual device and control it.

[0081] The control method of the device provided in the embodiment of the present invention is applied to a terminal, and obtains multiple broadcast signals sent by a first device set within a preset range, each of which supports a target communication protocol; determines a target device from the first device set according to the multiple broadcast signals; sends the network configuration information of the terminal to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and enables the target device to perform network configuration on the first device in the first device set according to the target communication protocol. In this way, it is possible to quickly configure the network of devices using the target communication protocol through the terminal, and utilize the characteristic that the target communication protocol can support the interconnection and interoperability of devices from different manufacturers, shorten the network configuration time of all devices, and improve the network configuration efficiency.

[0082] Figure 5 A schematic diagram of a network distribution device for a device provided in an embodiment of the present invention is shown in FIG. Figure 5As shown, the device specifically includes:

[0083] A first acquisition module 51 is used to acquire network configuration information sent by a terminal, wherein the terminal and a target device are connected via a target communication protocol;

[0084] The acquisition module is further used to acquire a first device set corresponding to the target device after performing network configuration according to the network configuration information, wherein all devices in the first device set support the target communication protocol;

[0085] The first sending module 52 is used to send the network configuration information to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

[0086] In a possible implementation manner, the first acquisition module is specifically configured to send a broadcast signal carrying an identifier of the target communication protocol to the terminal;

[0087] When it is determined that the connection with the terminal through the target communication protocol is successful, the network configuration information is obtained from the terminal.

[0088] In a possible implementation manner, the first sending module is specifically configured to connect to the first device according to the target communication protocol when receiving a broadcast signal sent by any of the first devices;

[0089] Sending the network configuration information to the connected first device, so that the connected first device performs network configuration according to the network configuration information;

[0090] The first determining module 53 is configured to determine a new target device from the connected first devices, so that the new target device performs network configuration on the unconnected first devices in the first device set.

[0091] In a possible implementation manner, the first acquisition module is specifically configured to acquire the signal strength of each connected first device when the number of first devices connected to the target device reaches a maximum value;

[0092] The first determination module is specifically used to determine that the connected first device with the smallest signal strength is the new target device, so that after the new target device is connected to the unconnected first device, the network configuration information is sent to the unconnected first device for network configuration.

[0093] In a possible implementation manner, the first acquisition module is further configured to acquire a function mapping table of each of the first devices;

[0094] The first sending module is further used to send the function mapping table to the terminal, so that the terminal generates a virtual device corresponding to each first device according to the function mapping table for storage.

[0095] The device provided in this embodiment can be as follows Figure 5 The device shown in FIG. 1 may perform the following steps: Figure 1-2 All the steps of the method in Figure 1-2 For details on the technical effects of the method shown, please refer to Figure 1-2 For the sake of brevity, the relevant description is not repeated here.

[0096] Figure 6 A schematic diagram of the structure of a network distribution device of another device provided in an embodiment of the present invention, such as Figure 6 As shown, the device specifically includes:

[0097] A second acquisition module 61 is used to acquire multiple broadcast signals sent by a set of first devices within a preset range, each of which supports a target communication protocol;

[0098] A second determination module 62, configured to determine a target device from the first device set according to the plurality of broadcast signals;

[0099] The second sending module 63 is used to send the network configuration information of the terminal to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and enables the target device to perform network configuration on the first device in the first device set according to the target communication protocol.

[0100] In a possible implementation manner, the second acquisition module is specifically configured to acquire the signal strength of each of the broadcast signals;

[0101] The second determination module is specifically configured to determine, from the first device set, the first device with the greatest signal strength as the target device.

[0102] The device provided in this embodiment can be as follows Figure 6 The device shown in FIG. 1 may perform the following steps: Figure 3 All the steps of the method in Figure 3 For details on the technical effects of the method shown, please refer to Figure 3 For the sake of brevity, the relevant description is not repeated here.

[0103] Figure 7 A schematic diagram of a device provided in an embodiment of the present invention is provided. Figure 7The device 700 shown includes: at least one processor 701, a memory 702, at least one network interface 707 and other user interfaces 703. The various components in the device 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 705 is not shown in FIG. Figure 7 Various buses are labeled as bus system 705.

[0104] The user interface 703 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0105] It can be understood that the memory 702 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 702 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0106] In some implementations, the memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 7021 and an application 7022 .

[0107] The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 7022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 7022.

[0108] In the embodiment of the present invention, by calling the program or instruction stored in the memory 702, specifically, the program or instruction stored in the application 7022, the processor 701 is used to execute the method steps provided by each method embodiment, for example, when applied to the target device, including:

[0109] Acquiring network configuration information sent by a terminal, wherein the terminal and the target device are connected via a target communication protocol;

[0110] After performing network configuration according to the network configuration information, a first device set corresponding to the target device is obtained, wherein the devices in the first device set all support the target communication protocol;

[0111] The network configuration information is sent to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

[0112] When applied to a terminal, it includes:

[0113] Acquire multiple broadcast signals sent by a set of first devices within a preset range, each of the first devices supporting a target communication protocol;

[0114] determining a target device from the first device set according to the plurality of broadcast signals;

[0115] The network configuration information of the terminal is sent to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and the target device performs network configuration on the first device in the first device set according to the target communication protocol.

[0116] The method disclosed in the above embodiment of the present invention can be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 701 or the instruction in the form of software. The above processor 701 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.

[0117] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0118] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0119] The device provided in this embodiment can be Figure 7 The device shown in , can be executed as Figure 1-3 All steps of the network configuration method of the device in the Figure 1-3 For technical effects of the network distribution method of the equipment shown, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.

[0120] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0121] When one or more programs in the storage medium can be executed by one or more processors, the network configuration method of the device executed on the device side can be implemented.

[0122] The processor is used to execute the network configuration program of the device stored in the memory to implement the following steps of the network configuration method of the device executed on the device side:

[0123] When applied to a target device, this includes:

[0124] Acquiring network configuration information sent by a terminal, wherein the terminal and the target device are connected via a target communication protocol;

[0125] After performing network configuration according to the network configuration information, a first device set corresponding to the target device is obtained, wherein the devices in the first device set all support the target communication protocol;

[0126] The network configuration information is sent to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

[0127] When applied to a terminal, it includes:

[0128] Acquire multiple broadcast signals sent by a set of first devices within a preset range, each of the first devices supporting a target communication protocol;

[0129] determining a target device from the first device set according to the plurality of broadcast signals;

[0130] The network configuration information of the terminal is sent to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and the target device performs network configuration on the first device in the first device set according to the target communication protocol.

[0131] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0132] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0133] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A network configuration method for a device, It is characterized in that Applied to target devices, including: Acquiring network configuration information sent by a terminal, wherein the terminal and the target device are connected via a target communication protocol; After performing network configuration according to the network configuration information, a first device set corresponding to the target device is obtained, wherein the devices in the first device set all support the target communication protocol; The network configuration information is sent to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

2. The method according to claim 1, It is characterized in that The obtaining of network configuration information sent by the terminal includes: Sending a broadcast signal carrying an identifier of the target communication protocol to the terminal; When it is determined that the connection with the terminal through the target communication protocol is successful, the network configuration information is obtained from the terminal.

3. The method according to claim 1, It is characterized in that The sending the network configuration information to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information, includes: When receiving a broadcast signal sent by any of the first devices, connecting with the first device according to the target communication protocol; Sending the network configuration information to the connected first device, so that the connected first device performs network configuration according to the network configuration information; A new target device is determined from the connected first devices, so that the new target device performs network configuration on the unconnected first devices in the first device set.

4. The method according to claim 3, It is characterized in that The determining a new target device from the connected first devices so that the new target device performs network configuration on the unconnected first devices in the first device set includes: When the number of first devices connected to the target device reaches a maximum value, obtaining a signal strength of each connected first device; The connected first device with the smallest signal strength is determined as the new target device, so that after the new target device is connected to the unconnected first device, the network configuration information is sent to the unconnected first device for network configuration.

5. The method according to claim 1, It is characterized in that After performing network configuration according to the network configuration information, the method further includes: Acquire a function mapping table of each of the first devices; The function mapping table is sent to the terminal, so that the terminal generates a virtual device corresponding to each first device according to the function mapping table for storage.

6. A network configuration method for a device, It is characterized in that The terminal according to claim 1, comprising: Acquire multiple broadcast signals sent by a set of first devices within a preset range, each of the first devices supporting a target communication protocol; determining a target device from the first device set according to the plurality of broadcast signals; The network configuration information of the terminal is sent to the target device according to the target communication protocol, so that the target device performs network configuration according to the network configuration information, and the target device performs network configuration on the first device in the first device set according to the target communication protocol.

7. The method according to claim 6, It is characterized in that The determining a target device from the first device set according to the plurality of broadcast signals comprises: Obtaining the signal strength of each of the broadcast signals; The first device with the largest signal strength is determined from the first device set as the target device.

8. A network distribution device for equipment, It is characterized in that include: A first acquisition module, used to acquire network configuration information sent by a terminal, wherein the terminal and a target device are connected via a target communication protocol; The first acquisition module is further used to acquire a first device set corresponding to the target device after performing network configuration according to the network configuration information, wherein all devices in the first device set support the target communication protocol; The first sending module is used to send the network configuration information to each first device in the first device set according to the target communication protocol, so that each first device performs network configuration according to the network configuration information.

9. A device, It is characterized in that include: A processor and a memory, wherein the processor is used to execute a network configuration program of a device stored in the memory to implement a network configuration method for the device described in any one of claims 1 to 5 or 6 to 7.

10. A storage medium, It is characterized in that The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the network configuration method of the device in any one of claims 1 to 5 or 6 to 7.

Citation Information

Cited By

  • Cross-platform multi-device network distribution method and system

    CN119449927A

  • Batch activation method and system for off-line equipment and related products

    CN119561751A