Network distribution method, network distribution device, electronic equipment and storage medium
By setting a second hotspot in the distribution network equipment and judging the legality of the equipment to be distributed, the security vulnerabilities in the existing distribution network solution are solved, and higher equipment connection security and reliability are achieved.
Patent Information
- Application Number
- CN202311371129.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2025-04-22
AI Technical Summary
The existing smart device distribution solution has security vulnerabilities, and the identity of the device to be distributed cannot be identified, and the LAN connection links are at risk of illegal device access, resulting in the possibility of user privacy leakage.
By setting a second hot spot in the distribution network device, receiving the distribution network request of the device to be distributed, and determining its legality based on its device identification information. The distribution information is sent only when the device identification information of the device to be distributed is present in the legal device permit list, including the service set identification and password of the first hotspot.
Identity identification of distribution network equipment is realized, the security and reliability of device connections are improved, the risk of illegal device access is reduced, and the privacy and security of users are enhanced.
Smart Images

Figure CN119865822A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a network distribution method, a network distribution device, an electronic device and a storage medium. Background Art
[0002] With the development of Internet of Things technology and smart home industry, more and more smart devices (such as smart network cameras, smart TV boxes, smart speakers, etc.) have begun to enter people's lives. The first step to using smart devices is to solve the problem of how to connect to the network, that is, how to connect smart devices to the working hotspot of the router safely and efficiently to complete the network configuration. The network configuration problem of smart devices has always been a major problem affecting user experience.
[0003] In one network configuration method in the prior art, the network configuration device has an auxiliary hotspot, and the terminal device relies on the LAN link formed by the auxiliary hotspot to obtain the network configuration information such as the service set identifier SSID (Service Set Identifier) and password of the working hotspot of the network configuration device, and then switches to the working network to achieve normal network configuration. However, this technical solution has the following problems: the network configuration device cannot identify the identity of the network configuration device to be configured, and the LAN connection link of the network configuration device has the security problem that illegal network configuration terminal devices can also be connected. At the same time, the network configuration device to be configured may also be connected to unexpected network configuration devices. Therefore, the existing network configuration solution has certain security loopholes for the network configuration device and the network configuration device to be configured, and there is a certain risk of privacy leakage. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a network distribution method and a network distribution device, which can improve the safety and reliability of equipment network distribution and provide convenience for users.
[0005] To solve the above technical problems, an embodiment of the present invention provides a network configuration method, which is applied to a network configuration device, wherein the network configuration device is provided with a first hotspot for connecting to the network configuration device to be configured, and the network configuration method comprises: receiving a network configuration request of the network configuration device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the network configuration device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; if the device identification information of the network configuration device to be configured exists in an allowed list of legal devices, then the network configuration device to be configured is determined to be a legal device; the allowed list of legal devices includes device identification information of at least one legal device; and sending network configuration information to the network configuration device to be configured on a channel corresponding to the second hotspot, wherein the network configuration information includes a service set identifier and a password of the first hotspot.
[0006] An embodiment of the present invention provides a network configuration method, which is applied to a network configuration device, wherein the network configuration device is provided with a first hotspot for network configuration connection with the device to be configured, and the network configuration method comprises: receiving a network configuration request of the device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; sending the device identification information of the device to be configured included in the network configuration request to a cloud, or sending a network configuration request to the cloud; determining that the device to be configured is a legal device based on the allowed network configuration information sent by the cloud; the allowed network configuration information is generated by the cloud when the device identification information of the device to be configured exists in an allowed list of legal devices; the allowed list of legal devices is generated by the cloud based on the device identification information of at least one legal device, wherein the device identification information of at least one legal device is collected by a data collection device and reported to the cloud, or collected by the network configuration device and reported to the cloud, and the network configuration information is sent to the device to be configured on the channel corresponding to the second hotspot, wherein the network configuration information includes a service set identifier and a password of the first hotspot.
[0007] An embodiment of the present invention also provides a network configuration method, which is applied to a device to be configured, and the network configuration method includes: connecting to a second hotspot of the network configuration device, the network configuration device is provided with a first hotspot for network configuration connection with the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; based on a channel corresponding to the second hotspot of the network configuration device, a network configuration request is sent to the network configuration device, and the network configuration request carries device identification information of the device to be configured; if the device identification information of the device to be configured exists in an allowed list of legal devices, it indicates that the device to be configured is a legal device; the allowed list of legal devices includes device identification information of at least one legal device; receiving the network configuration information sent by the network configuration device, the network configuration information includes a service set identifier and a password of the first hotspot; and connecting to the first hotspot of the network configuration device after receiving the network configuration information sent by the network configuration device.
[0008] An embodiment of the present invention also provides a network configuration device, which is applied to network configuration equipment. The network configuration equipment is provided with a first hotspot for network configuration connection with the device to be configured. The network configuration device includes a first network configuration request receiving module, a first legal device determination module and a first network configuration information sending module; the first network configuration request receiving module is used to receive a network configuration request of the device to be configured on a channel corresponding to a second hotspot, the network configuration request includes device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; the first legal device determination module is used to determine that the device to be configured is a legal device if the device identification information of the device to be configured exists in a legal device allowed list; the legal device allowed list includes device identification information of at least one legal device; the first network configuration information sending module is used to send network configuration information to the device to be configured on a channel corresponding to the second hotspot, and the network configuration information includes a service set identifier and a password of the first hotspot.
[0009] The embodiment of the present invention further provides a network configuration device, which is applied to network configuration equipment. The network configuration equipment is provided with a first hotspot for network configuration connection with the network configuration equipment to be configured. The network configuration device includes a second network configuration request receiving module, a second sending module, a second legal device determination module and a second network configuration information sending module; the second network configuration request receiving module is used to receive a network configuration request of the network configuration equipment to be configured on a channel corresponding to the second hotspot, the network configuration request includes device identification information of the network configuration equipment to be configured, and the second hotspot is a connection hotspot other than the first hotspot; the second sending module is used to send the device identification information of the network configuration equipment to be configured included in the network configuration request to the cloud, or send a network configuration request to the cloud ; The second legal device determination module is used to determine whether the device to be configured is a legal device based on the allowed network configuration information sent by the cloud; the allowed network configuration information is generated by the cloud when the device identification information of the device to be configured exists in the allowed list of legal devices; the allowed list of legal devices is generated by the cloud based on the device identification information of at least one legal device, and the device identification information of at least one legal device is collected by the data acquisition device and reported to the cloud, or collected by the network configuration device and reported to the cloud. The second network configuration information sending module is used to send network configuration information to the device to be configured on the channel corresponding to the second hotspot, and the network configuration information includes the service set identifier and password of the first hotspot.
[0010] An embodiment of the present invention also provides a network configuration device, which is applied to a device to be configured with a network, and the network configuration device includes a hotspot connection module, a network configuration request sending module and a network configuration information receiving module; the hotspot connection module is used to connect to the second hotspot of the network configuration device before the network configuration information receiving module receives the network configuration information sent by the network configuration device, and to connect to the first hotspot of the network configuration device after the network configuration information receiving module receives the network configuration information sent by the network configuration device; the network configuration device is provided with a first hotspot for network configuration connection with the device to be configured with a network, and the second hotspot is a connection hotspot other than the first hotspot; the network configuration request sending module is used to send a network configuration request to the network configuration device based on a channel corresponding to the second hotspot of the network configuration device, and the network configuration request includes device identification information of the device to be configured with a network; if the device identification information of the device to be configured with a network exists in the allowed list of legal devices, it indicates that the device to be configured with a network is a legal device; the allowed list of legal devices includes device identification information of at least one legal device; the network configuration information receiving module is used to receive the network configuration information sent by the network configuration device, and the network configuration information includes a service set identifier and password of the first hotspot.
[0011] An embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned network configuration method when executing the program.
[0012] An embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned network configuration method when executed by a processor.
[0013] Compared with the related art, the embodiment of the present invention is that a network configuration device is provided with a first hotspot for network configuration connection with a device to be configured. The network configuration device receives a network configuration request of the device to be configured on a channel corresponding to a second hotspot. The network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot. If the device identification information of the device to be configured exists in an allowed list of legal devices, the device to be configured is determined to be a legal device. The allowed list of legal devices includes device identification information of at least one legal device. The network configuration device sends network configuration information to the device to be configured on a channel corresponding to the second hotspot, thereby realizing identity recognition of the device to be configured by the network configuration device, improving the security of the device to be configured connecting to the network configuration device, filling the security loophole that the device to be configured may access unexpected network configuration devices, enhancing the security and reliability of device network configuration, and providing convenience for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 is a flow chart of a network distribution method provided by a first embodiment of the present invention;
[0016] Figure 2 is a flow chart of a network distribution method provided by a second embodiment of the present invention;
[0017] Figure 3 It is a distribution network system interaction timing diagram provided by the present invention when the data acquisition device and the distribution network device are not the same device and the distribution network device performs device identification information comparison;
[0018] Figure 4 is a flow chart of a network distribution method provided by a third embodiment of the present invention;
[0019] Figure 5 It is a distribution network system interaction timing diagram in which the data acquisition device and the distribution network device provided by the present invention are the same device and the distribution network device performs device identification information comparison;
[0020] Figure 6 is a flow chart of a network distribution method provided by a fourth embodiment of the present invention;
[0021] Figure 7 is a flow chart of a network distribution method provided by a fifth embodiment of the present invention;
[0022] Figure 8 It is one of the interactive flow charts of the distribution network system provided by the present invention;
[0023] Fig. 9 is a flow chart of a network distribution method provided by a sixth embodiment of the present invention;
[0024] Fig.10 is a flow chart of a network distribution method provided by a seventh embodiment of the present invention;
[0025] Fig.11 It is a timing diagram of the interaction of the distribution network system provided by the present invention when the data acquisition device and the distribution network device are not the same device and the device identification information is compared by the cloud;
[0026] Fig.12 It is a timing diagram of the interaction of the distribution network system provided by the present invention when the data acquisition device and the distribution network device are the same device and the device identification information is compared by the cloud;
[0027] Fig.13 is a schematic flow chart of a network distribution method provided in an eighth embodiment of the present invention;
[0028] Fig.14 This is the second interactive flow chart of the distribution network system provided by the present invention;
[0029] Fig.15 is a schematic flow chart of a network distribution method provided by a ninth embodiment of the present invention;
[0030] Fig.16 is a flow chart of a network distribution method provided in a tenth embodiment of the present invention;
[0031] Fig.17 It is one of the structural schematic diagrams of the distribution network device provided by the present invention;
[0032] Fig.18 It is one of the structural schematic diagrams of the distribution network device provided by the present invention;
[0033] Fig.19 This is the second structural schematic diagram of the distribution network device provided by the present invention;
[0034] Fig. 20 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution 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.
[0036] With the continuous advancement of the national smart home and digital home strategies, more and more smart terminal devices are entering homes. How to achieve safe, reliable and efficient network distribution for these terminal devices, especially screenless terminal devices, has become a technical problem that needs to be urgently solved in the industry.
[0037] The first embodiment of the present invention relates to a network configuration method, wherein a network configuration device is provided with a first hotspot for network configuration connection with a network configuration device to be configured, and the network configuration device receives a network configuration request of the network configuration device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the network configuration device to be configured, and the second hotspot is a connection hotspot other than the first hotspot, and the device identification information of the network configuration device to be configured exists in a list of legal devices allowed, and the list of legal devices allowed includes device identification information of at least one legal device, and the network configuration device will send network configuration information to the network configuration device to be configured through a channel corresponding to the second hotspot, and the network configuration information includes a service set identifier and a password of the first hotspot, thereby realizing the identity recognition of the network configuration device to be configured, and improving the security, reliability and accuracy of the network configuration device to be configured to connect to the network configuration device. At the same time, it is also conducive to solving the security loopholes that the network configuration device to be configured may access unexpected network configuration devices and that illegal network configuration devices may reside in the network of network configuration devices, thereby enhancing the security and reliability of device network configuration, improving the success rate of network configuration, reducing the complexity of user operations during network configuration, and providing convenience for users.
[0038] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of a network distribution method provided in a first embodiment of the present invention. The network distribution method provided in an embodiment of the present invention comprises the following steps:
[0039] S101: The network configuration device receives a network configuration request from a device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request carries device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0040] In order to implement the network configuration method provided in the embodiment of the present invention, optionally, the device to be configured can continuously scan the second hotspot of the network configuration device, and key information such as the SSID, password and channel number of the second hotspot can be pre-configured in the terminal device to be configured. The device to be configured is connected to the channel corresponding to the second hotspot agreed with the network configuration device, and the device to be configured carries the device identification information of the device to be configured to initiate a network configuration request to the channel corresponding to the second hotspot of the network configuration device. In an optional manner, the device to be configured can scan and monitor the second hotspot only on the agreed channel number, thereby eliminating the time for scanning multiple channels of the second hotspot in the network environment (for example, multiple channels in the 2.4GHz frequency band), and only scanning and connecting to the second hotspot on the specific channel corresponding to the second hotspot can improve the existing network configuration method, the problem of long hotspot scanning time, shorten the default channel scanning time, and thus improve the overall network configuration efficiency.
[0041] The channel corresponding to the second hotspot of the distribution network device can be in a normally open state or in a state triggered to open by certain conditions. The distribution network device can also be set with a certain window period to open the channel corresponding to the second hotspot.
[0042] The device identification information of the device to be configured may be, but is not limited to, a MAC (Media Access Control, physical address), an SN (Series Number, serial number) code, or information that uniquely represents the device to be configured, and may even be pictures, characters, and the like.
[0043] It should be noted that, in addition to the first hotspot and the second hotspot, the network distribution device may also include other hotspots, and the implementation manner of the present invention does not impose any specific limitation on the number of hotspots included in the network distribution device.
[0044] S102: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0045] The network configuration device determines whether the device identification information of the device to be configured exists in the allowed list of legal devices. If so, the device to be configured is determined to be a legal device. Specifically, the network configuration device compares the device identification information of the device to be configured with the device identification information of the legal device. The device identification information of the device to be configured can correspond to the device identification information of the legal device one-to-one, or the device identification information of the device to be configured can correspond to one of the device identification information of multiple legal devices. The device identification information of the device to be configured is compared with the device identification information of the legal device through the allowed list of legal devices, and then the identity of the device to be configured is identified, which enhances the security, reliability and accuracy of device configuration.
[0046] S103: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0047] Optionally, the service set identifier and password of the first hotspot can change dynamically, for example, be modified based on user needs. The user can adjust the service set identifier and password of the first hotspot in the home environment through, for example, the client app corresponding to the network configuration device or the hotspot information configuration web page, such as adjusting the server identifier of the first hotspot from "CMCC-GREM" to "Zhang San Home Network", and the password from "123456" to "654321", and so on.
[0048] Optionally, when the network configuration device receives a network configuration request and the device identification information of the device to be configured exists in the list of legal devices allowed, the network configuration information will be sent to the device to be configured through the channel corresponding to the second hotspot, so that the device to be configured switches the connection hotspot according to the network configuration information, that is, disconnects from the second hotspot and connects to the first hotspot. The device to be configured connects to the first hotspot of the network configuration device through the network configuration information to achieve normal network configuration with the network configuration device. This is conducive to the identification of the device to be configured by the network configuration device, and the device to be configured can achieve a safer, more efficient and more accurate access to the expected network of the family in a nearly imperceptible network configuration method on the user side. At the same time, it fills the security loophole that the device to be configured may access unexpected network configuration devices, enhances the security and reliability of device network configuration, and provides convenience for users.
[0049] Optionally, if the device identification information of the network configuration device in the device to be configured is not in the allowed list of legal devices, it means that the device to be configured may not be a legal device. For example, the device to be configured is a device in a neighbor's home, or a device that has not yet been approved by the owner of the network configuration device. The network configuration device can send a network configuration rejection message to the device to be configured to exclude the device to be configured, or the network configuration device does not make any response, so that the device to be configured will determine that the network configuration is rejected after not receiving the network configuration information within a preset time period, so that the device to be configured can try to connect to the next network configuration device as soon as possible, so that the device to be configured can access the expected network of the home more safely, efficiently and accurately in a senseless network configuration manner.
[0050] Optionally, the network distribution equipment of the present invention is mainly a terminal device that can realize intelligent networking, which can be a LAN (Local Area Network) uplink networking terminal (compatible with Wi-Fi (Wireless Fidelity) uplink), a power uplink networking terminal, a POE (Power Over Ethernet) panel terminal, an all-optical networking terminal, an IoT (Internet of Things) networking terminal and a converged networking terminal, etc. In some embodiments of the present invention, the network distribution equipment can be specifically a router, a gateway, etc.
[0051] Optionally, the network equipment to be configured in the present invention mainly refers to electronic and information products that are connected to the home network via WiFi in the smart home system, can execute interactive instructions of the control terminal, and meet people's demand for intelligent application of living environment. In some embodiments of the present invention, the network equipment to be configured can be a speaker, a socket, a camera, a lamp, a washing machine, a refrigerator, etc.
[0052] Optionally, the legal device can be triggered and selected by the user. For example, if a QR code, barcode, RFID (Radio Frequency Identification) tag is attached to the device to be configured, the user can collect the device identification information of the device to be configured through the data collection device or the configuration device itself by "scanning the QR code of the device to be configured" or "touching the RFID tag of the device to be configured" or "manually entering" the device identification information of the device to be configured in the client app control interface of the configuration device. In this process, since the device to be configured is a device confirmed by the user, it can be considered that such a device is a legal device for the user side.
[0053] Optionally, for a newly purchased set of equipment at home (including a combination of multiple terminal devices to be networked), the device identification information of all devices in the set can be included in one code. When the user scans the QR code of the set device through a data acquisition device or the network configuration device itself or approaches the RFID tag of the set device, the device identification information of all devices in the set can be obtained. This can provide users with diverse choices for network configuration and enhance the user experience of smart home appliances.
[0054] Compared with the related art, the network configuration method provided by the embodiment of the present invention is that the network configuration device receives the network configuration request of the network configuration device on the channel corresponding to the second hotspot, wherein the network configuration request carries the device identification information of the network configuration device, and only if the device identification information of the network configuration device exists in the legal device allowed list, the network configuration device is determined to be a legal device, and the network configuration device will send the network configuration information that can connect to the first hotspot to the network configuration device, which can improve the network configuration efficiency of the network configuration device and enhance the security, reliability and accuracy of the network configuration. In addition, compared with the related art, the present invention hardly increases the software and hardware costs, and the application and promotion costs are extremely low.
[0055] Please refer to Figure 2 , Figure 2 A schematic flow chart of a network distribution method provided in accordance with a second embodiment of the present invention.
[0056] The second embodiment of the present invention relates to a network configuration method. The second embodiment is substantially the same as the first embodiment, with the main difference being that before receiving a network configuration request from a device to be configured on a channel corresponding to the second hotspot, a list of legal devices allowed is obtained.
[0057] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0058] S201: The network configuration device obtains a list of legal devices allowed.
[0059] S202: The network configuration device receives a network configuration request from the device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0060] S203: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0061] S204: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0062] Compared with the related art, in the network configuration method provided by the embodiment of the present invention, the network configuration device needs to first obtain the allowed list of legal devices and then receive the network configuration request of the device to be configured on the channel corresponding to the second hotspot, and then execute subsequent steps such as determining the legal devices. In this way, the subsequent network configuration efficiency of the device to be configured is improved by pre-obtaining the allowed list of legal devices, and the security, reliability and accuracy of the network configuration are enhanced.
[0063] For S201, the specific description is as follows: the legal device allowed list can be generated by the cloud and sent to the distribution network device or generated by the distribution network device, or it can be generated by other terminal devices with certain computing power and then sent to the distribution network device.
[0064] The third embodiment of the present invention relates to a network configuration method. The third embodiment is substantially the same as the second embodiment, with the main difference being that the device identification information of the legal device is sent from the cloud to the network configuration device, and the network configuration device locally generates a list of legal device permission.
[0065] Please refer to Figure 3 , Figure 3 The data acquisition device provided by the present invention is not the same device as the network distribution device and the network distribution device performs a comparison of device identification information in the network distribution system interaction timing diagram. After the data acquisition device collects the device identification information of at least one legal device, the device identification information of at least one legal device is reported to the cloud. The cloud sends the generated device identification information of at least one legal device to the network distribution device. The network distribution device can generate a list of legal devices based on the device identification information of at least one legal device, and then open the channel corresponding to the second hotspot, receive the network distribution request sent by the device to be configured on the channel corresponding to the second hotspot, and then determine whether the device identification information of the device to be configured in the network distribution request exists in the list of legal devices allowed. If the device identification information of the device to be configured exists in the list of legal devices allowed, the network distribution information is sent to the device to be configured. In this way, the intelligent terminal device that has been configured can subsequently interact with other devices through the end-cloud link and / or the end-edge link.
[0066] Please refer to Figure 4 , Figure 4 The schematic diagram of the flow chart of the network distribution method provided by the third embodiment of the present invention. The network distribution method provided by the embodiment of the present invention specifically comprises the following steps:
[0067] S301: The network configuration device receives device identification information of at least one legitimate device sent by the cloud.
[0068] S302: The network distribution device generates an allowed list of legal devices based on device identification information of at least one legal device, wherein the device identification information of at least one legal device is collected by a data collection device and reported to the cloud.
[0069] S303: The network configuration device receives a network configuration request from the device to be configured on a channel corresponding to the second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0070] S304: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0071] S305: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0072] For S301-S302, the specific description is as follows: the data collection device is an independent device, which obtains the device identification information of at least one legal device by scanning a code (such as a QR code, barcode, etc.) or approaching (such as RFID, NFC (Near Field Communication)). For the data collection device, one data collection can obtain the device identification information of a legal device, and can also obtain the device identification information of all legal devices in a home network package. For the network configuration of home network package devices, one data collection can complete the network configuration of all devices to be configured in the home network package. For some sales scenarios of package products, this method can greatly improve the network configuration efficiency of multiple devices to be configured when they are used for the first time. The data collection device can be a mobile phone equipped with a network configuration client APP or a device with data collection capabilities (such as a camera), or a network configuration device with data collection capabilities (such as a router with a camera). The data collection device then reports the collected device identification information of the legal device to the cloud. In some optional methods, the data acquisition device can also communicate through the local area network to complete the synchronization of the device identification information of the legitimate device between the data acquisition device and the distribution network device, thereby improving the speed and efficiency of the distribution network device in obtaining the device identification information of the legitimate device.
[0073] In some implementations, if multiple network configuration devices are bound to the client APP, the user can select which network configuration device to use as the target device. In addition to the device identification information of the legal device, the information reported to the cloud by the data collection device also includes the identification information of the network configuration device, so that the cloud can be accurately requested to send the device identification information of the legal device to the designated network configuration device as needed, so as to achieve accurate authorization in the scenario of multiple network configuration devices. After receiving the device identification information of at least one legal device, the network configuration device generates a list of legal devices allowed according to the device identification information of at least one legal device.
[0074] Compared with the related technology, the network configuration method provided in the embodiment of the present invention sends the device identification information of at least one legal device to the network configuration device through the cloud. The network configuration device locally generates an allowed list of legal devices based on the device identification information of at least one legal device, and compares the device identification information of the device to be configured with the allowed list of legal devices to determine whether to send network configuration information to the device to be configured based on the comparison result. The security and reliability of the network configuration are higher.
[0075] Please refer to Figure 5 , Figure 5 The data acquisition device and the network distribution device provided by the present invention are the same device and the network distribution device performs device identification information comparison.
[0076] The timing of alt2-1 is: after the network configuration device collects the device identification information of at least one legal device, it reports the device identification information of at least one legal device to the cloud. The cloud sends the generated legal device allowed list to the network configuration device. After receiving the legal device allowed list, the network configuration device will open the channel corresponding to the second hotspot, and receive the network configuration request sent by the device to be configured on the channel corresponding to the second hotspot, and then determine whether the device identification information of the device to be configured in the network configuration request exists in the legal device allowed list. If the device identification information of the device to be configured exists in the legal device allowed list, it is determined that the device to be configured is a legal device, and the network configuration information is sent to the device to be configured. In this way, the network-configured smart terminal device can subsequently exchange data with other devices through the end-cloud link and / or the end-edge link.
[0077] The timing of alt2-2 is: after the network configuration device collects the device identification information of at least one legal device, it generates a list of legal devices allowed, then opens the channel corresponding to the second hotspot, and receives the network configuration request sent by the device to be configured on the channel corresponding to the second hotspot, and then determines whether the device identification information of the device to be configured in the network configuration request exists in the list of legal devices allowed. If the device identification information of the device to be configured exists in the list of legal devices allowed, it determines that the device to be configured is a legal device, and sends the network configuration information to the device to be configured. In this way, the network-configured smart terminal device can subsequently exchange data with other devices through the end-cloud link and / or the end-edge link.
[0078] The fourth embodiment of the present invention relates to a network distribution method. The fourth embodiment is substantially the same as the third embodiment, with the main difference being that: the data acquisition device is integrated in the network distribution device, the cloud generates a legal device allowed list and sends it to the network distribution device, and the network distribution device completes the comparison between the device identification information of the device to be networked and the legal device allowed list, the network distribution device can be used as a data collection device to collect the device identification information of the legal device, the allowed list is more efficient in credit authorization, the network distribution process can be streamlined, the network distribution efficiency can be improved, and the functions of the networked home router are enriched, reducing the cost of users purchasing smart home appliances.
[0079] Please refer to Figure 6 , Figure 6 A schematic flow chart of a network distribution method provided in the fourth embodiment of the present invention.
[0080] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0081] S401: The network distribution device reports the collected device identification information of at least one legitimate device to the cloud.
[0082] S402: The network configuration device receives a list of legal devices allowed from the cloud; the list of legal devices allowed is generated by the cloud based on device identification information of at least one legal device.
[0083] S403: The network configuration device receives a network configuration request from the device to be configured on a channel corresponding to the second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0084] S404: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0085] S405: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0086] For S401-S402, the specific instructions are as follows:
[0087] In order to further improve the security and reliability of network configuration, the network configuration equipment can also report the device identification information of the legal device to the cloud. The cloud generates a legal device allowed list based on the device identification information of the legal device, and sends the legal device allowed list to the network configuration equipment. The network configuration equipment can compare the device identification information of the network device to be configured with the legal device allowed list, and when the device identification information of the network device to be configured exists in the legal device allowed list, the network configuration equipment sends the network configuration information to the network device to be configured, which can improve the network configuration efficiency of the network device to be configured, enhance the security and reliability of the network configuration, and save the computing resources of the network configuration equipment.
[0088] The fifth embodiment of the present invention relates to a network distribution method. The fifth embodiment is substantially the same as the fourth embodiment, with the main difference being that the data collection device is integrated into the network distribution device, and the network distribution device locally generates a list of legal devices allowed.
[0089] Please refer to Figure 7 , Figure 7 A schematic flow chart of a network distribution method provided in the fifth embodiment of the present invention.
[0090] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0091] S501: The network distribution device collects device identification information of at least one legitimate device.
[0092] S502: The network configuration device generates an allowed list of legal devices based on device identification information of at least one legal device.
[0093] S503: The network configuration device receives a network configuration request from the device to be configured on a channel corresponding to the second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0094] S504: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0095] S505: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0096] For S501-S502, the specific instructions are as follows:
[0097] Considering that the main purpose of the data collection device reporting the device identification information of the legal device to the cloud is to synchronize the device identification information of the legal device between the data collection device and the distribution network device, and in order to further shorten the link, the path for synchronizing the legal device allowed list can also not pass through the cloud.
[0098] Optionally, the network distribution device can be used as a data collection device to collect device identification information of legal devices, and generate a legal device allowed list based on the device identification information of legal devices. In this case, the link is shorter and the credit efficiency of the legal device allowed list is higher. By streamlining the network distribution process, the network distribution efficiency can be improved, and the functions of the networked home routers can be enriched, reducing the cost of users purchasing smart home appliances.
[0099] Please refer to Figure 8 , Figure 8 This is one of the interactive flow charts of the distribution network system provided by the present invention.
[0100] The device identification information of the device to be configured is pasted on the body of the device to be configured. The data collection device obtains the device identification information of at least one legal device by scanning, RFID, etc., and reports the device identification information of at least one legal device to the cloud. The cloud will forward the device identification information of the legal device to the network configuration device. The network configuration device will add the device identification information of the legal device to the legal device allowed list, and then open the channel corresponding to the second hotspot. The device to be configured sends a network configuration request on the channel corresponding to the second hotspot with the device identification information of the device to be configured. After receiving the network configuration request, the network configuration device will determine whether the device identification information of the device to be configured is in the legal device allowed list. If it exists in the legal device allowed list, the network configuration information is sent to the device to be configured. After receiving the network configuration information, the device to be configured can be connected to the first hotspot of the network configuration device, and a terminal cloud / terminal edge link can be established. If it does not exist in the legal device allowed list, a network configuration rejection message is sent to the device to be configured. After receiving the network configuration rejection information, the device to be configured connects to the second hotspot opened by another network configuration device and sends a network configuration request on the channel corresponding to the second hotspot until the device identification information of the device to be configured exists in the legal device allowed list of the other network configuration device.
[0101] The sixth embodiment of the present invention relates to a network configuration method. The sixth embodiment is substantially the same as the second embodiment, with the main difference being that the opening of the second hotspot is triggered by the generation of a legitimate device allowed list, so that the opening of the second hotspot can be configured to be triggered by certain conditions, rather than being in a very open state or requiring the user to actively open it, which is conducive to saving the waste of resources caused by opening the hotspot of the network configuration device, and also avoids frequent reception of broadcast data from various types of smart terminal devices, saving certain network resource consumption.
[0102] Please refer to Fig. 9 , Fig. 9 The schematic diagram of the flow chart of the network distribution method provided by the sixth embodiment of the present invention. The network distribution method provided by the embodiment of the present invention specifically comprises the following steps:
[0103] S601: The network configuration device obtains a list of legal devices allowed.
[0104] S602: Turn on the second hotspot.
[0105] S603: The network configuration device receives a network configuration request from the device to be configured on a channel corresponding to the second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0106] S604: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0107] S605: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0108] For S602, the specific description is as follows: Considering that the device to be configured needs to send a network configuration request on the channel corresponding to the second hotspot, optionally, the network configuration device can trigger the opening of the channel corresponding to the second hotspot by generating an allowed list of legal devices, so that the device to be configured can send a network configuration request on the channel corresponding to the second hotspot. When the device identification information of the device to be configured exists in the allowed list of legal devices, it means that the identity of the device to be configured has been recognized by the owner of the device to be configured, that is, authorization can be performed directly. The network configuration device sends the network configuration information to the device to be configured, which can improve the network configuration efficiency of the device to be configured and enhance the security, reliability and accuracy of the network configuration.
[0109] The network configuration device can also be set with a certain window period to open the channel corresponding to the second hotspot. For example, the window duration is set to 3 minutes. After the window period ends, the network configuration device closes the second hotspot and no longer receives network configuration requests from the device to be configured.
[0110] Please refer to Fig.10 , Fig.10 A schematic flow chart of a network distribution method provided in the seventh embodiment of the present invention.
[0111] The seventh embodiment of the present invention relates to a network configuration method. The seventh embodiment is substantially the same as the first embodiment, with the main difference being that the network configuration device sends the network configuration information to the network configuration device in an encrypted manner.
[0112] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0113] S701: The network configuration device receives a network configuration request from a device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0114] S702: If the device identification information of the device to be configured exists in the legal device allowed list, the device to be configured is determined to be a legal device. The legal device allowed list includes the device identification information of at least one legal device.
[0115] S703: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0116] Wherein, the network configuration device sends the network configuration information to the network configuration device to be configured on the channel corresponding to the second hotspot, and is executed according to step S704, including:
[0117] S704: Use the device identification information of the device to be configured as a key to encrypt the network configuration information; and send the encrypted network configuration information to the device to be configured.
[0118] For S704-S705, the specific instructions are as follows:
[0119] When the network configuration device sends the network configuration information, on the one hand, it can be encrypted through the link. For example, the communication between the network configuration device and the network configuration device is transmitted using the coap protocol, and the transmission layer can be encrypted through coap+DTLS, etc., making the transmission link more secure. On the other hand, the device identification information of the network configuration device can be used as a key, and the network configuration information can be encrypted and transmitted through symmetric encryption, which can prevent the password of the home network configuration device from being leaked, thereby improving the security of the network configuration. After receiving the network configuration information, the network configuration device to be configured decrypts it through the device identification information of the network configuration device to restore the network connection information in plain text and connect to the channel corresponding to the first hotspot of the network configuration device.
[0120] The steps of the above methods are divided only for the purpose of clear description. When implementing, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process, are all within the scope of protection of this patent.
[0121] Please refer to Fig.11 , Fig.11 This is a timing diagram of the interaction of the distribution network system when the data acquisition device and the distribution network device provided by the present invention are not the same device and the device identification information is compared by the cloud.
[0122] After the data collection device collects the device identification information of at least one legal device, it reports the device identification information of at least one legal device to the cloud. The cloud sends the generated legal device allowed list to the network configuration device. After receiving the legal device allowed list, the network configuration device will open the channel corresponding to the second hotspot, and receive the network configuration request sent by the device to be configured on the channel corresponding to the second hotspot, and then send the network configuration request or the device identification information of the device to be configured included in the network configuration request to the cloud. The cloud will determine whether the device identification information of the device to be configured in the network configuration request exists in the legal device allowed list, and send the comparison result to the network configuration device. The network configuration device obtains the comparison result from the cloud, and sends the network configuration information to the device to be configured if the device identification information of the device to be configured exists in the legal device allowed list. In this way, the network-configured smart terminal device can subsequently exchange data with other devices through the end-cloud link and / or the end-edge link.
[0123] Please refer to Fig.12 , Fig.12 The data acquisition device and the network distribution device provided by the present invention are the same device and the device identification information is compared by the cloud.
[0124] The timing of Alt4-1 is: after the network configuration device collects the device identification information of at least one legal device, it reports the device identification information of at least one legal device to the cloud. The cloud sends the generated legal device allowed list to the network configuration device. After receiving the legal device allowed list, the network configuration device will open the channel corresponding to the second hotspot, and receive the network configuration request sent by the network configuration device on the channel corresponding to the second hotspot, and then send the network configuration request or the device identification information of the network configuration device included in the network configuration request to the cloud. The cloud will determine whether the device identification information of the network configuration device to be configured in the network configuration request exists in the legal device allowed list. If the device identification information of the network configuration device to be configured exists in the legal device allowed list, the comparison result will be sent to the network configuration device. The network configuration device obtains the comparison result from the cloud, and sends the network configuration information to the network configuration device to be configured if the device identification information of the network configuration device to be configured exists in the legal device allowed list. In this way, the network-configured smart terminal device can subsequently exchange data with other devices through the end-cloud link and / or the end-edge link.
[0125] The timing of Alt4-2 is: after the network configuration device collects the device identification information of at least one legal device, it generates a list of legal devices allowed, then opens the channel corresponding to the second hotspot, and receives the network configuration request sent by the device to be configured on the channel corresponding to the second hotspot, and then sends the network configuration request or the device identification information of the device to be configured included in the network configuration request to the cloud. The cloud will determine whether the device identification information of the device to be configured in the network configuration request exists in the list of legal devices allowed. If the device identification information of the device to be configured exists in the list of legal devices allowed, the comparison result will be sent to the network configuration device. The network configuration device obtains the comparison result from the cloud, and sends the network configuration information to the device to be configured if the device identification information of the device to be configured exists in the list of legal devices allowed. In this way, the intelligent terminal device that has been configured can subsequently exchange data with other devices through the end-cloud link and / or the end-edge link.
[0126] Please refer to Fig.13 , Fig.13 A schematic flow chart of a network distribution method provided in the eighth embodiment of the present invention.
[0127] The eighth embodiment of the present invention relates to a network configuration method. The eighth embodiment is substantially the same as the first embodiment, with the main difference being that the cloud generates a list of legal devices allowed, and the cloud completes the comparison between the device identification information of the device to be configured and the list of legal devices allowed.
[0128] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0129] S801: The network configuration device receives a network configuration request from the device to be configured on a channel corresponding to a second hotspot. The network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0130] S802: The network configuration device sends the device identification information of the device to be configured included in the network configuration request to the cloud, or sends the network configuration request to the cloud.
[0131] S803: The network configuration device determines that the device to be configured is a legal device based on the allowed network configuration information sent by the cloud; the allowed network configuration information is generated by the cloud when the device identification information of the device to be configured exists in the allowed list of legal devices; the allowed list of legal devices is generated by the cloud based on the device identification information of at least one legal device, and the device identification information of at least one legal device is collected by the data collection device and reported to the cloud, or collected by the network configuration device and reported to the cloud.
[0132] S804: The network configuration device sends network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes the service set identifier and password of the first hotspot.
[0133] The specific description is as follows: The data collection device can be an independent device or integrated in the network distribution device. The data collection device reports the device identification information of at least one legal device collected to the cloud. The cloud will generate a legal device allowed list based on the device identification information of at least one legal device, and send a message that the legal device allowed list has been generated to the network distribution device. After receiving the network distribution request of the device to be distributed, the network distribution device will send the device identification information of the device to be distributed carried in the network distribution request to the cloud or directly forward the network distribution request of the device to be distributed to the cloud, and the cloud will compare whether the device identification information of the device to be distributed exists in the legal device allowed list. The network distribution device and the cloud exchange the network distribution request and the comparison result of the device identification information of the device to be distributed and the device identification information of the legal device. When the device identification information of the device to be distributed exists in the legal device allowed list, the network distribution device sends the network distribution information to the device to be distributed, so that the device to be distributed performs network distribution according to the network distribution information. If the device identification information of the device to be configured does not exist in the list of legal devices allowed, the network configuration device sends a network configuration rejection message to remove the device to be configured, so that the device to be configured can try to connect to the next network configuration device as soon as possible, thereby enabling the device to be configured to access the expected network of the home more safely, efficiently and accurately in a senseless way. By running the device identification verification process in the cloud, the computing power consumption of the network configuration device can be saved, the cost of the network configuration device can be reduced, the network configuration process is simpler, and there is no need for excessive user operations, and the user experience is better.
[0134] Optionally, if the device identification information of the device to be configured does not exist in the allowed list of legal devices, the configuration device may not respond. Therefore, if the device to be configured does not receive the configuration information within a preset time period, it can determine that the configuration is rejected, so that the device to be configured can try to connect to the next configuration device as soon as possible.
[0135] Please refer to Fig.14 , Fig.14 This is the second interactive flow chart of the distribution network system provided by the present invention.
[0136] The device identification information of the device to be configured is pasted on the body of the device to be configured. The data collection device obtains the device identification information of at least one legal device by scanning, RFID, etc., and reports the device identification information of at least one legal device to the cloud. The cloud will add the device identification information of the legal device to the legal device allowed list, and notify the network configuration device that there is a legal device allowed list. The network configuration device will open the channel corresponding to the second hotspot. The device to be configured carries the device identification information of the device to be configured and sends a network configuration request on the channel corresponding to the second hotspot. After receiving the network configuration request, the network configuration device will forward the network configuration request or the device identification information of the device to be configured in the network configuration request to the cloud. After receiving the network configuration request, the cloud will determine whether the device identification information of the device to be configured is in the legal device allowed list. If it exists in the legal device allowed list, the cloud sends the network configuration permission information to the network configuration device. After receiving the network configuration permission information, the network configuration device will send the network configuration information to the device to be configured. After receiving the network configuration information, the device to be configured can be connected to the first hotspot of the network configuration device, and a terminal cloud / terminal edge link can be established. When it does not exist in the legal device allowed list, the cloud sends a network configuration rejection message to the network configuration device. After receiving the network configuration rejection message, the network configuration device will send the network configuration rejection message to the network configuration device. After receiving the network configuration rejection message, the network configuration device will connect to the second hotspot opened by another network configuration device and send a network configuration request on the channel corresponding to the second hotspot until the device identification information of the network configuration device exists in the legal device allowed list of another cloud.
[0137] The ninth embodiment of the present invention relates to a network configuration method, in which a network configuration device is provided with a first hotspot for network configuration connection with a device to be configured, and a second hotspot is a connection hotspot other than the first hotspot. The device to be configured is connected to the second hotspot opened by the network configuration device, and a network configuration request carrying device identification information of the device to be configured is sent to the network configuration device through a channel corresponding to the second hotspot. The network configuration information sent by the network configuration device can only be received when the device identification information of the device to be configured exists in an allowed list of legal devices, so that the device to be configured is connected to the first hotspot of the network configuration device according to the network configuration information, thereby achieving connection with the expected network, thereby enhancing the security and reliability of device network configuration and providing convenience for users.
[0138] Please refer to Fig.15 , Fig.15 A schematic flow chart of a network distribution method provided in the ninth embodiment of the present invention.
[0139] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0140] S901: Before receiving the network configuration information sent by the network configuration device, the device to be configured connects to the second hotspot opened by the network configuration device. The network configuration device is provided with a first hotspot for network configuration connection with the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot.
[0141] In order to implement the network configuration method provided in the embodiment of the present invention, optionally, the device to be configured can scan the second hotspot of the network configuration device, connect to the SSID, password, and agreed channel number agreed with the network configuration device, so that the device to be configured can save the time overhead of scanning the frequency band, thereby improving the efficiency of network configuration.
[0142] S902: The device to be configured sends a configuration request to the device to be configured based on the channel corresponding to the second hotspot of the device to be configured, wherein the configuration request includes device identification information of the device to be configured; if the device identification information of the device to be configured exists in the allowed list of legal devices, it indicates that the device to be configured is a legal device; the allowed list of legal devices includes device identification information of at least one legal device.
[0143] Optionally, in a scenario where there are multiple network configuration devices around the device to be configured, the device to be configured can use a traversal method to send network configuration requests in sequence. Once the device identification information of the device to be configured exists in the allowed list of legal devices, the traversal will be exited to connect to the expected network, thereby avoiding privacy leakage caused by the device to be configured accessing an unexpected network, reducing the security risk of the first hotspot of illegal users accessing the network configuration device, and improving the networking experience of seamless network configuration, thereby achieving accurate network configuration.
[0144] S903: The device to be networked receives network configuration information sent by the network configuration device, where the network configuration information includes a service set identifier and a password for the first hotspot.
[0145] S904: After receiving the network configuration information sent by the network configuration device, the device to be configured connects to the first hotspot of the network configuration device.
[0146] Optionally, the device to be configured sends a network configuration request carrying the device identification information of the device to be configured to the network configuration device through the channel corresponding to the second hotspot, and receives the network configuration information on the channel corresponding to the second hotspot. If the device to be configured receives the network configuration information sent by the network configuration device within a preset time period, it means that the device identification information of the device to be configured exists in the allowed list of legal devices, and the device to be configured is a legal device. Therefore, the device to be configured can access the expected network of the home more safely, efficiently and accurately in a seamless configuration manner according to the network configuration information.
[0147] Please refer to Fig.16 , Fig.16 A schematic flow chart of a network distribution method provided in the eleventh embodiment of the present invention.
[0148] The tenth embodiment of the present invention relates to a network configuration method. The tenth embodiment is substantially the same as the ninth embodiment, with the main difference being that the tenth embodiment is applicable to the case where the device identification information of the device to be configured does not exist in the legal device allowed list.
[0149] The network distribution method provided in the embodiment of the present invention specifically includes the following steps:
[0150] S1001: Before receiving the network configuration information sent by the network configuration device, the device to be configured connects to the second hotspot opened by the network configuration device. The network configuration device is provided with a first hotspot for network configuration connection with the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot.
[0151] S1002: The device to be networked sends a network configuration request to the network configuration device based on the channel corresponding to the second hotspot of the network configuration device. The network configuration request carries device identification information of the device to be networked.
[0152] S1003: The device to be networked receives network configuration rejection information sent by the network configuration device when the device to be networked is not a legitimate device of the network configuration device.
[0153] S1004: The device to be networked connects to a second hotspot opened by another networked device, and sends a networked request to the other networked device based on a channel corresponding to the second hotspot of the other networked device, until the device to be networked is a legitimate device of the other networked device.
[0154] For S1003-S1004, the specific instructions are as follows:
[0155] If the device to be configured does not receive the network configuration information sent by the network configuration device within the preset time period, it means that the device identification information of the device to be configured does not exist in the allowed list of legal devices, or when the device to be configured receives the network configuration rejection information sent by the network configuration device on the channel corresponding to the second hotspot, the device to be configured connects to the second hotspot opened by another network configuration device, and sends a network configuration request to the other network configuration device through the channel corresponding to the second hotspot of the other network configuration device, until it receives the network configuration information sent by the other network configuration device according to the network configuration request, that is, the device identification information of the device to be configured exists in the allowed list of legal devices corresponding to the other network configuration device, and the device to be configured connects to the first hotspot of the other network configuration device according to the network configuration information sent by the other network configuration device, thereby enhancing the security and reliability of device network configuration.
[0156] Optionally, in order to facilitate the control of the device to be configured after the network configuration is completed, an end-to-end link can be established between the device to be configured and the network configuration device, or an end-to-cloud link can be established between the device to be configured and the cloud, so that the network configuration device or the cloud can control the device to be configured.
[0157] Please refer to Fig.17 , Fig.17 This is one of the structural schematic diagrams of the distribution network device provided by the present invention.
[0158] The eleventh embodiment of the present invention relates to a network distribution device, which is applied to a network distribution device. The network distribution device is provided with a first hotspot for connecting to a network distribution device to be distributed. The network distribution device includes a first network distribution request receiving module 1, a first legal device determination module 2 and a first network distribution information delivery module 3. The functions of each module are described in detail as follows:
[0159] The first network configuration request receiving module 1 is used to receive a network configuration request of a device to be configured on a channel corresponding to the opened second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0160] The first legal device determination module 2 is used to determine that the device to be configured is a legal device if the device identification information of the device to be configured exists in the legal device allowed list; the legal device allowed list includes the device identification information of at least one legal device.
[0161] The first network configuration information sending module 3 is used to send network configuration information to the device to be configured on the channel corresponding to the second hotspot, and the network configuration information includes the service set identifier and password of the first hotspot.
[0162] It is not difficult to find that this embodiment is a device embodiment corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
[0163] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0164] Please refer to Fig.18 , Fig.18 This is one of the structural schematic diagrams of the distribution network device provided by the present invention.
[0165] The twelfth embodiment of the present invention relates to a network distribution device, which is applied to a network distribution device. The network distribution device is provided with a first hotspot for connecting to a network distribution device to be distributed. The network distribution device includes a second network distribution request receiving module 4, a second sending module 5, a second legal device determination module 6, and a second network distribution information sending module 7. The functions of each module are described in detail as follows:
[0166] The second network configuration request receiving module 4 is used to receive a network configuration request of a device to be configured on a channel corresponding to the opened second hotspot, wherein the network configuration request includes device identification information of the device to be configured. The second hotspot is a connection hotspot other than the first hotspot.
[0167] The second sending module 5 is used to send the device identification information of the to-be-configured device included in the network configuration request to the cloud, or to send the network configuration request to the cloud.
[0168] The second legal device determination module 6 is used to determine whether the device to be configured is a legal device based on the allowed network configuration information sent by the cloud; the allowed network configuration information is generated by the cloud when the device identification information of the device to be configured exists in the allowed list of legal devices; the allowed list of legal devices is generated by the cloud based on the device identification information of at least one legal device, and the device identification information of at least one legal device is collected by a data collection device and reported to the cloud, or collected by a network configuration device and reported to the cloud.
[0169] The second network configuration information sending module 7 is used to send network configuration information to the device to be configured on the channel corresponding to the second hotspot, and the network configuration information includes the service set identifier and password of the first hotspot.
[0170] It is not difficult to find that this embodiment is a device embodiment corresponding to the eighth embodiment, and this embodiment can be implemented in conjunction with the eighth embodiment. The relevant technical details mentioned in the eighth embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
[0171] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0172] Please refer to Fig.19 , Fig.19 This is the second structural schematic diagram of the distribution network device provided by the present invention.
[0173] The thirteenth embodiment of the present invention relates to a network configuration device, which is applied to a device to be configured. The network configuration device includes a hotspot connection module 8, a network configuration request sending module 9 and a network configuration information receiving module 10. The functions of each module are described in detail as follows:
[0174] The hotspot connection module 8 is used to connect to the second hotspot opened by the network configuration device before the network configuration information receiving module 10 receives the network configuration information sent by the network configuration device, and to connect to the first hotspot of the network configuration device after the network configuration information receiving module receives the network configuration information sent by the network configuration device. The network configuration device is provided with a first hotspot for connecting to the network configuration device to be configured, and the second hotspot is a connection hotspot other than the first hotspot.
[0175] The network configuration request sending module 9 is used to send a network configuration request to the network configuration device based on the channel corresponding to the second hotspot of the network configuration device, and the network configuration request carries the device identification information of the device to be configured; if the device identification information of the device to be configured exists in the allowed list of legal devices, it indicates that the device to be configured is a legal device; the allowed list of legal devices includes the device identification information of at least one legal device.
[0176] The network configuration information receiving module 10 is used to receive the network configuration information sent by the network configuration device, where the network configuration information includes the service set identifier and password of the first hotspot.
[0177] It is not difficult to find that this embodiment is a device embodiment corresponding to the ninth embodiment, and this embodiment can be implemented in conjunction with the ninth embodiment. The relevant technical details mentioned in the ninth embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the ninth embodiment.
[0178] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0179] Fig. 20 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 20As shown, the electronic device may include: a processor 2001, a communication interface 2002, a memory 2003 and a communication bus 2004, wherein the processor 2001, the communication interface 2002 and the memory 2003 complete mutual communication through the communication bus 2004. The processor 2001 may call the logic instructions in the memory 2003 to execute the network configuration method, which is applied to the network configuration device, and the network configuration device is provided with a first hotspot for network configuration connection with the network configuration device to be configured. The network configuration method includes: receiving a network configuration request of the network configuration device to be configured on a channel corresponding to a second hotspot, the network configuration request includes device identification information of the network configuration device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; if the device identification information of the network configuration device to be configured exists in the legal device allowed list, then the network configuration device to be configured is determined to be a legal device; the legal device allowed list includes the device identification information of at least one legal device; and sending network configuration information to the network configuration device to be configured on the channel corresponding to the second hotspot, and the network configuration information includes the service set identifier and password of the first hotspot.
[0180] In addition, the logic instructions in the above-mentioned memory 2003 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0181] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the network configuration methods provided by the above-mentioned methods, and is applied to a network configuration device. The network configuration device is provided with a first hotspot for connecting to the device to be configured. The network configuration method includes: receiving a network configuration request of the device to be configured on a channel corresponding to a second hotspot, the network configuration request including device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; if the device identification information of the device to be configured exists in an allowed list of legal devices, then the device to be configured is determined to be a legal device; the allowed list of legal devices includes device identification information of at least one legal device; and sending network configuration information to the device to be configured on a channel corresponding to the second hotspot, the network configuration information including a service set identifier and password of the first hotspot.
[0182] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A network distribution method, characterized in that: Applied to a network distribution device, the network distribution device is provided with a first hotspot for connecting to a network distribution device to be distributed, and the network distribution method comprises: Receiving a network configuration request of a device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; If the device identification information of the to-be-configured network device exists in the legal device allowed list, the to-be-configured network device is determined to be a legal device; the legal device allowed list includes the device identification information of at least one legal device; Send network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes a service set identifier and a password of the first hotspot.
2. The network distribution method according to claim 1, characterized in that: Before receiving a network configuration request of a device to be configured on a channel corresponding to the second hotspot, the method further includes: Obtain the legal device allowed list.
3. The network distribution method according to claim 2, characterized in that: The obtaining of the legal device allowed list includes: Receiving device identification information of at least one legitimate device sent by the cloud; generating the legal device allowed list based on the device identification information of the at least one legal device; Wherein, the device identification information of the at least one legitimate device is collected by a data collection device and reported to the cloud.
4. The network distribution method according to claim 2, characterized in that: The obtaining of the legal device allowed list includes: Reporting the collected device identification information of at least one legitimate device to the cloud; Receive a legal device allowed list sent by the cloud; the legal device allowed list is generated by the cloud based on device identification information of at least one of the legal devices.
5. The network distribution method according to claim 2, characterized in that: The obtaining of the legal device allowed list includes: Collecting device identification information of at least one legitimate device; The legal device allowed list is generated based on the device identification information of the at least one legal device.
6. The network distribution method according to claim 2, characterized in that: The method further comprises: After obtaining the allowed list of legitimate devices, the second hotspot is turned on.
7. The network distribution method according to claim 1, characterized in that: The sending of network configuration information to the device to be configured on the channel corresponding to the second hotspot includes: Using the device identification information of the device to be networked as a key to encrypt the network configuration information; Send encrypted network configuration information to the device to be configured.
8. A network distribution method, characterized in that: Applied to a network distribution device, the network distribution device is provided with a first hotspot for connecting to a network distribution device to be distributed, and the network distribution method comprises: Receiving a network configuration request of a device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; Sending the device identification information of the device to be networked included in the network configuration request to the cloud, or sending the network configuration request to the cloud; Determine that the device to be configured is a legal device according to the network configuration permission information sent by the cloud; the network configuration permission information is generated by the cloud when the device identification information of the device to be configured exists in the legal device allowed list; the legal device allowed list is generated by the cloud based on the device identification information of at least one legal device, and the device identification information of at least one legal device is collected by a data collection device and reported to the cloud, or collected by the network configuration device and reported to the cloud, Send network configuration information to the device to be configured on the channel corresponding to the second hotspot, where the network configuration information includes a service set identifier and a password of the first hotspot.
9. The network distribution method according to claim 8, characterized in that: The method further comprises: The second hotspot is turned on based on a message notification generated by the legitimate device allowance list sent by the cloud.
10. A network distribution method, characterized in that: Applied to the equipment to be networked, the network configuration method includes: Connecting to a second hotspot of the network distribution device, the network distribution device is provided with a first hotspot for connecting to the network distribution device to be distributed, and the second hotspot is a connection hotspot other than the first hotspot; Based on the channel corresponding to the second hotspot of the network configuration device, a network configuration request is sent to the network configuration device, wherein the network configuration request includes the device identification information of the device to be configured; if the device identification information of the device to be configured is in the legal device allowed list, it indicates that the device to be configured is a legal device; the legal device allowed list includes the device identification information of at least one legal device; Receiving network configuration information sent by the network configuration device, the network configuration information including a service set identifier and a password of the first hotspot; After receiving the network configuration information sent by the network configuration device, connect to the first hotspot of the network configuration device.
11. The network distribution method according to claim 10, characterized in that: The method further comprises: In the case that the device to be network-configured is an illegal device of the network-configured device, receiving network-configuration rejection information sent by the network-configured device; Connect to the second hotspot of another network distribution device, and send a network distribution request to the other network distribution device based on the channel corresponding to the second hotspot of the other network distribution device, until the device to be configured is a legitimate device of the other network distribution device.
12. A network distribution device, characterized in that: Applied to network distribution equipment, the network distribution equipment is provided with a first hotspot for network distribution connection with the device to be distributed, the network distribution device comprises a first network distribution request receiving module, a first legal device determining module and a first network distribution information issuing module; The first network configuration request receiving module is used to receive a network configuration request of a device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; The first legal device determination module is used to determine that the device to be configured is a legal device if the device identification information of the device to be configured exists in the legal device allowed list; the legal device allowed list includes the device identification information of at least one legal device; The first network configuration information sending module is used to send network configuration information to the device to be configured on the channel corresponding to the second hotspot, and the network configuration information includes a service set identifier and a password of the first hotspot.
13. A network distribution device, characterized in that: Applied to network distribution equipment, the network distribution equipment is provided with a first hotspot for network distribution connection with the network equipment to be distributed, the network distribution device comprises a second network distribution request receiving module, a second sending module, a second legal device determination module and a second network distribution information sending module; The second network configuration request receiving module is used to receive a network configuration request of a device to be configured on a channel corresponding to a second hotspot, wherein the network configuration request includes device identification information of the device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; The second sending module is used to send the device identification information of the to-be-configured device included in the network configuration request to the cloud, or send the network configuration request to the cloud; The second legal device determination module is used to determine whether the device to be configured is a legal device according to the network configuration permission information sent by the cloud; The network configuration permission information is generated by the cloud when the device identification information of the device to be configured exists in the legal device permission list; The legal device allowed list is generated by the cloud based on the device identification information of at least one legal device, and the device identification information of at least one legal device is collected by a data collection device and reported to the cloud, or collected by the network distribution device and reported to the cloud, The second network configuration information sending module is used to send network configuration information to the device to be configured on the channel corresponding to the second hotspot, and the network configuration information includes the service set identifier and password of the first hotspot.
14. A network distribution device, characterized in that: Applied to the equipment to be networked, the network configuration device includes a hotspot connection module, a network configuration request sending module and a network configuration information receiving module; The hotspot connection module is used to connect to the second hotspot of the network distribution device before the network distribution information receiving module receives the network distribution information sent by the network distribution device, and to connect to the first hotspot of the network distribution device after the network distribution information receiving module receives the network distribution information sent by the network distribution device; the network distribution device is provided with a first hotspot for network connection with the network device to be configured, and the second hotspot is a connection hotspot other than the first hotspot; The network configuration request sending module is used to send a network configuration request to the network configuration device based on the channel corresponding to the second hotspot of the network configuration device, wherein the network configuration request carries the device identification information of the device to be configured; if the device identification information of the device to be configured exists in the legal device allowed list, it indicates that the device to be configured is a legal device; the legal device allowed list includes the device identification information of at least one legal device; The network configuration information receiving module is used to receive the network configuration information sent by the network configuration device, and the network configuration information includes the service set identifier and password of the first hotspot.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the network configuration method according to any one of claims 1 to 11 is implemented.
16. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the network configuration method according to any one of claims 1 to 11 is implemented.