Network distribution method, equipment and system

By encrypting and broadcasting the hotspot information of the home router, the problem of smart devices permanently disconnecting the network when they fail to obtain new hotspot information is solved, the success rate and efficiency of the distribution network system are improved, and the security of distribution network information is enhanced.

CN119562250APending Publication Date: 2025-03-04CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311129250.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-04
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

During the broadcast period or window period, once the smart device fails to obtain new hotspot information for some reason, the smart device will be permanently disconnected after the broadcast period or window period ends, reducing the success rate and efficiency of the distribution system.

Method used

By encrypting its current hotspot information, the encrypted hotspot information is obtained and broadcast on pre-divided public channels. If the device to be allocated in the preset whitelist is connected to the current hotspot, it is marked as the allocated in the network status. If the hot spot information is detected to be modified, the devices in the preset whitelist are marked as the network status to be allocated, and the encryption and broadcasting process are repeated until all devices are marked as the network status.

Benefits of technology

Ensure that all smart devices can obtain modified hot information, avoid permanent disconnection, improve the success rate and efficiency of the distribution network system, and enhance the security of distribution network information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562250A_ABST
    Figure CN119562250A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of network distribution, and provides a network distribution method, device and system. The method comprises the following steps: encrypting information of a current hotspot to obtain encrypted hotspot information; broadcasting the encrypted hotspot information to a public channel, and if the equipment in the to-be-distributed network state in the preset white list is connected to the current hotspot of the equipment, marking the equipment in the to-be-distributed network state as a distributed network state; and if it is detected that the information of the current hotspot of the device is modified, marking the devices in the preset white list as a state to be subjected to network configuration, and then returning to the step of encrypting the information of the current hotspot of the device and broadcasting the encrypted hotspot information to the public channel until the devices in the state to be subjected to network configuration are all marked as a network-configured state. According to the network distribution method provided by the invention, all the intelligent devices can obtain the modified hotspot information, the network distribution requirements of all the intelligent devices are met, and the overall success rate and efficiency of a network distribution system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network distribution technology, and specifically to a network distribution method, device and system. Background Art

[0002] With the development of Internet of Things technology, there are more and more smart devices in the home. When a smart device is used for the first time, it is necessary to obtain the hotspot information of the home router. In addition, for security reasons, the hotspot information of the home router will be modified regularly. Once the hotspot information is modified, the smart devices previously connected to this hotspot need to be re-configured one by one, which is time-consuming and labor-intensive, affecting the user experience of the smart device.

[0003] A traditional network configuration method, when the hotspot information of a home router is modified, the new hotspot information will be broadcast on the original hotspot network. After a period of broadcasting time, the original hotspot information will be modified to the new hotspot information. The smart device will obtain the new hotspot information during the broadcast period and connect to the hotspot corresponding to the new hotspot information after the broadcast period ends. This method only involves the modification of the hotspot information, and does not involve the addition or change of the hotspot network; another traditional network configuration method, when the hotspot information of a home router is modified, a new hotspot network is immediately generated for the new hotspot information, and the original hotspot network continues to be valid, and the new hotspot information is sent to the smart device through the original hotspot network. After a window period, the original hotspot network is closed. The smart device obtains the new hotspot information during the window period and switches to the new hotspot network in real time. This method not only involves the modification of the hotspot information, but also involves the addition or change of the hotspot network.

[0004] However, in the above traditional methods, whether during the broadcast period or the window period, once the smart device fails to obtain new hotspot information for some reason, the smart device will be permanently disconnected after the broadcast period or the window period ends, reducing the overall success rate and efficiency of the distribution network system. Summary of the invention

[0005] The embodiments of the present application provide a network distribution method, device and system to solve the technical problem that once a smart device fails to obtain new hotspot information for some reason during a broadcast period or a window period, the smart device will be permanently disconnected from the network after the broadcast period or the window period ends, thereby reducing the overall success rate and efficiency of the network distribution system.

[0006] In a first aspect, an embodiment of the present application provides a network configuration method, including:

[0007] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0008] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0009] If it is detected that the information of its current hotspot has been modified, the devices in the preset whitelist will be marked as being in the state to be networked, and the process will return to the step of encrypting the information of its current hotspot until all devices in the state to be networked are marked as being in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked.

[0010] In one embodiment, before encrypting the information of the current hotspot itself to obtain the encrypted hotspot information, the process includes:

[0011] Collect identification information of devices to be networked that are not connected to their current hotspots;

[0012] Perform a legality check on the identification information. If the check passes, add the to-be-configured network device to the device list table to obtain a preset whitelist;

[0013] The devices to be networked in the preset whitelist are marked as being in a state to be networked.

[0014] In one embodiment, encrypting the information of the current hotspot to obtain the encrypted hotspot information includes:

[0015] The preset whitelist is traversed, and the identification information of any device in the state of waiting for network configuration is used as a symmetric key to encrypt the information of its own current hotspot, so as to obtain the encrypted hotspot information of any device in the state of waiting for network configuration.

[0016] In one embodiment, broadcasting the encrypted hotspot information to a public channel includes:

[0017] The encrypted hotspot information of the devices to be networked is broadcasted to the public channel in sequence within a preset broadcast period.

[0018] In a second aspect, an embodiment of the present application provides a network configuration method, including:

[0019] If a network anomaly is detected, the broadcast of the public channel is monitored and the encrypted hotspot information is obtained; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0020] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0021] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0022] In one embodiment, decrypting the encrypted hotspot information to obtain the current hotspot information of the distribution network device includes:

[0023] The encrypted hotspot information is decrypted using its own identification information as a symmetric key. If the decryption is successful, the current hotspot information of the distribution network device is obtained.

[0024] In a third aspect, an embodiment of the present application provides a network distribution device, including a memory, a transceiver, and a processor;

[0025] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0026] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0027] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0028] If it is detected that the information of its current hotspot has been modified, the devices in the preset whitelist will be marked as being in the state to be networked, and the process will return to the step of encrypting the information of its current hotspot until all devices in the state to be networked are marked as being in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked.

[0029] In a fourth aspect, an embodiment of the present application provides a device in a state of waiting for network configuration, including a memory, a transceiver, and a processor;

[0030] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0031] If a network anomaly is detected, the broadcast of the public channel is monitored and the encrypted hotspot information is obtained; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0032] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0033] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0034] In a fifth aspect, an embodiment of the present application provides a network distribution system, including: a network distribution device and a device in a state to be networked;

[0035] The network distribution equipment is used for:

[0036] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0037] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0038] If it is detected that the information of its current hotspot has been modified, the device in the preset whitelist is marked as in a state to be networked, and the process returns to the step of encrypting the information of its current hotspot until all devices in a state to be networked are marked as in a state to be networked; the devices in the preset whitelist include devices in a state to be networked and devices in a state to be networked;

[0039] The device in the state of waiting for network configuration is used to:

[0040] If a network anomaly is detected, the public channel broadcast is monitored and encrypted hotspot information is obtained;

[0041] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0042] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0043] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the network configuration method described in the first aspect or the second aspect.

[0044] The network configuration method, device and system provided by the present application, the network configuration device encrypts the information of its own current hotspot to obtain the encrypted hotspot information, broadcasts the encrypted hotspot information to a public channel pre-divided from its own channel, if the device in the to-be-configured state in the preset whitelist is connected to its own current hotspot, the device in the to-be-configured state is marked as being in the configured state, if it is detected that the information of its own current hotspot is modified, the device in the preset whitelist is marked as being in the to-be-configured state, and then returns to the step of encrypting the information of its own current hotspot, until all the devices in the to-be-configured state are marked as being in the configured state. The network configuration device can be a router, and the device in the state of waiting for network configuration can be a smart device. In the present application, when the current hotspot information of the router is modified, all smart devices in the preset whitelist are directly marked as being in the state of waiting for network configuration, and the new hotspot information obtained after the modification is encrypted and broadcast to the public channel. If the smart device is reconnected to the hotspot corresponding to the new hotspot information of the router, the smart device is marked as being in the state of network configuration. On the one hand, the present application sets up a public channel specifically for broadcasting new hotspot information, and separates it from the data channel used for data transmission, which helps the smart device to directly switch to the public channel to obtain the latest hotspot information when the network is abnormal. On the other hand, the broadcast of hotspot information is not time-limited. As long as there are smart devices that have not been connected to the latest hotspot, the broadcast of the latest hotspot information will not stop. Therefore, it can ensure that all smart devices obtain the modified hotspot information, meet the network configuration needs of all smart devices, and improve the overall success rate and efficiency of the network configuration system. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 This is one of the flow charts of the network distribution method provided in the embodiment of the present application;

[0047] Figure 2 This is the second flow chart of the network distribution method provided in the embodiment of the present application;

[0048] Figure 3 A schematic diagram of the structure of a device in a state to be networked according to an embodiment of the present application;

[0049] Figure 4 A schematic diagram of the structure of a network distribution device according to an embodiment of the present application;

[0050] Figure 5 It is a communication signaling diagram of the distribution network system provided in an embodiment of the present application;

[0051] Figure 6 One of the structural schematic diagrams of the distribution network device provided in the embodiment of the present application;

[0052] Figure 7 The second structural diagram of the distribution network device provided in the embodiment of the present application;

[0053] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0055] Figure 1 This is one of the flow charts of the network distribution method provided in the embodiment of the present application. Figure 1 , the embodiment of the present application provides a network configuration method, which may include:

[0056] 101. Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0057] 102. Broadcast the encrypted hotspot information to the public channel. If a device in the preset whitelist in the waiting network configuration state is connected to its current hotspot, the device in the waiting network configuration state is marked as the network configuration state.

[0058] The common channel is pre-divided from the own channel;

[0059] 103. If it is detected that the information of the current hotspot is modified, the device in the preset whitelist is marked as a waiting network configuration state, and the process returns to step 101;

[0060] 104. If all devices in the state of waiting for network configuration are marked as in the state of having been configured, the public channel is converted into a data channel and the broadcasting of encrypted hotspot information is stopped.

[0061] The devices in the preset whitelist include devices in the state of waiting for network configuration and devices in the state of network configuration.

[0062] The execution subject of this embodiment is a network configuration device, which can be any router, and the device to be configured can be any smart device. The hotspot information at least includes a hotspot name and a hotspot password. Then:

[0063] Before step 102, the router may divide its own frequency band to obtain multiple channels. The own frequency band may be a 2.4G frequency band or other frequency bands, which is not limited here. In this embodiment, the router divides its own 2.4G frequency band to obtain 13 channels.

[0064] Generally speaking, these 13 channels are all used for data transmission of normal Internet access channels. In this embodiment, one of the channels is separated as a public channel, which is specifically used to broadcast the current hotspot information of the router.

[0065] The selection of a public channel can be agreed upon between the smart device and the router, such as using channel 1 of the 2.4G frequency band as the public channel, or the router can specify the public channel itself.

[0066] In step 102, if the smart device in the preset whitelist in the waiting network configuration state is connected to the current hotspot of the router, it means that the smart device in the waiting network configuration state has obtained the current hotspot information of the router from the public channel.

[0067] In step 103, if the router detects that the information of its current hotspot has been modified, all smart devices in the preset whitelist are marked as waiting for network configuration, that is, all smart devices in the waiting for network configuration state and the smart devices in the network configuration state are marked as waiting for network configuration state, waiting for re-configuration.

[0068] When returning to step 101, since the hotspot information of the router itself has been modified, the current hotspot information at this time is the modified hotspot information. The new hotspot information obtained after the modification is encrypted, and then the encrypted new hotspot information is broadcast to the public channel to ensure that the public channel broadcasts the latest hotspot information of the router each time.

[0069] In step 104, if all the smart devices in the waiting network configuration state are marked as the network configuration state, there are no smart devices that need to be configured. At this time, the public channel can be converted into a data channel to enhance the data transmission performance of the Internet access channel.

[0070] The first traditional network configuration method of reconfiguring the network after the router hotspot information is modified has the following problems:

[0071] 1. If the broadcast period is too long, the new hotspot that the smart device expects to connect to will be unavailable for a long time, affecting the user experience;

[0072] 2. If the broadcast period is too short, the smart device connected to the original hotspot may not have time to receive the new hotspot information on the original hotspot network, and the original hotspot of the router has become invalid. At this time, the smart device will be permanently disconnected from the network;

[0073] 3. Regardless of how long the broadcast period is, if smart devices fail to obtain new hotspot information for some reason during the broadcast period, these smart devices will be permanently disconnected from the Internet after the broadcast period.

[0074] In the second traditional network configuration method of reconfiguring the network after the hotspot information of the router is modified, the original hotspot network and the new hotspot network coexist in the window period, and the smart device is connected to the new hotspot network in real time according to the acquired new hotspot information. Therefore, it can be ensured that the smart device is connected to the desired new hotspot in real time. At the same time, a longer window period can be set to ensure that the smart device connected to the original hotspot has enough time to obtain the new hotspot information, that is, the first two problems in the first traditional network configuration method can be solved, but the following two problems still exist:

[0075] 1. To modify an original hotspot information, you need to generate a new hotspot. If you modify the hotspot information of the 2.4G band and the 5G band at the same time, you need to start two new hotspots, which increases the resource requirements of the router and thus increases the R&D cost;

[0076] 2. The third problem in the first traditional distribution network method cannot be solved.

[0077] The method of this embodiment is not limited in the time of broadcasting on the public channel, and the smart device can also connect to the new hotspot in real time, so it can also solve the first two problems in the first traditional network distribution method. At the same time, the method of this embodiment does not require the router to start an additional hotspot, and does not involve the addition or change of the hotspot network. Therefore, it can solve the first problem in the second traditional network distribution method, that is, it will not increase the resource requirements and R&D costs of the router.

[0078] In response to the common problems of the first traditional network configuration method and the second traditional network configuration method, the network configuration method provided in this embodiment is that the network configuration device encrypts the information of its own current hotspot to obtain the encrypted hotspot information, and broadcasts the encrypted hotspot information to a public channel pre-divided from its own channel. If a device in the to-be-connected state in a preset whitelist is connected to its own current hotspot, the device in the to-be-connected state is marked as being in the to-be-connected state. If it is detected that the information of its own current hotspot is modified, the device in the preset whitelist is marked as being in the to-be-connected state, and the step of encrypting the information of its own current hotspot is returned until all devices in the to-be-connected state are marked as being in the to-be-connected state. The network configuration device may be a router, and the device in the state of waiting for network configuration may be a smart device. In this embodiment, when the current hotspot information of the router is modified, all smart devices in the preset whitelist are directly marked as being in the state of waiting for network configuration, and the new hotspot information obtained after the modification is encrypted and broadcast to the public channel. If the smart device is reconnected to the hotspot corresponding to the new hotspot information of the router, the smart device is marked as being in the network configuration state. On the one hand, this embodiment sets up a public channel specifically for broadcasting new hotspot information, which is separated from the data channel used for data transmission, which helps the smart device to directly switch to the public channel to obtain the latest hotspot information when the network is abnormal. On the other hand, the broadcast of hotspot information is not time-limited. As long as there are smart devices that have not been connected to the latest hotspot, the broadcast of the latest hotspot information will not stop. Therefore, it can ensure that all smart devices obtain the modified hotspot information, meet the network configuration needs of all smart devices, and improve the overall success rate and efficiency of the network configuration system.

[0079] In one embodiment, before encrypting the information of the current hotspot itself and obtaining the encrypted hotspot information, the following steps may be included:

[0080] Collect the identification information of the devices to be configured that are not connected to the current hotspot, and verify the legitimacy of the identification information. If the verification passes, add the devices to be configured to the device list table to obtain the preset whitelist, and mark the devices to be configured in the preset whitelist as being in the state of being configured.

[0081] The identification information can be obtained by bringing the router close to the smart device (such as NFC) through a mobile phone APP based on a unified family account or by scanning the QR code (or barcode) of the smart device through a mobile phone APP based on a unified family account or by scanning the QR code (or barcode) of the smart device. When the router is close to the smart device, it is necessary to develop data collection functions such as NFC for the router. When the router scans the QR code or barcode itself, it is necessary to develop a scanning function similar to that of a mobile phone camera for the router. In the package marketing scenario where the operator bundles the router with several smart devices, the collection of smart device identification information can also be completed directly when opening a marketing account.

[0082] At present, in a traditional first-time network configuration method, the smart device will start an open hotspot or encrypted hotspot with a name and password agreed with the mobile phone APP. The mobile phone APP prompts the user to connect to this open hotspot or encrypted hotspot through the mobile phone. After the connection is completed, the user manually enters the hotspot information of the router into the mobile phone APP. The mobile phone APP automatically sends the hotspot information of the router to the smart device through the channel of this open hotspot or encrypted hotspot. After the smart device receives the hotspot information of the router, it connects to the hotspot of the router according to the information; in another traditional first-time network configuration method, the router starts a default hotspot with a name and password agreed with the smart device. The smart device automatically connects to this default hotspot when it is powered on, and then forms a channel through this default hotspot to obtain the Internet hotspot of the router.

[0083] The first traditional initial network configuration method has the following two problems:

[0084] 1. The requirements for smart devices are high, and they need to have the ability to start hotspots;

[0085] 2. The network configuration process requires manual operation by the user and the operation process is complicated.

[0086] In the second traditional first-time network configuration method, the smart device is not required to have the ability to start the hotspot, which reduces the requirements for smart devices and does not require manual operation by the user. However, there are still the following two problems:

[0087] 1. Increased resource requirements for routers. The router needs to start a hotspot agreed with smart devices for a long or short period of time. Since it is an agreed hotspot and the password is permanently fixed, there is a risk of short-term or long-term access by illegal smart devices;

[0088] 2. When there are multiple routers in the environment, since multiple routers start the default hotspot with the same hotspot information, the smart device cannot distinguish which router to connect to, and the router does not know whether to authorize the smart device to access. Therefore, there are problems such as smart devices accessing unexpected networks and routers configuring networks for illegal smart devices.

[0089] When the first network configuration of the smart device is completed by using steps 101 to 102 of the present application, on the one hand, the smart device is not required to have the ability to start the hotspot, and the user does not need to operate manually, which can solve the problem of the first traditional first network configuration method. On the other hand, the router and the smart device will not agree on a hotspot, so the smart device will not automatically connect to the default hotspot, but obtain the hotspot information of the router through the public channel, and then connect to the router hotspot. Since the smart device is a smart device in the preset whitelist, and when the preset whitelist is created, the router verifies the legitimacy of the smart device, so the smart device in the preset whitelist and the router complete two-way authentication and mutual recognition. Therefore, if the smart device can connect to the current hotspot of the router, it can be considered that the smart device has obtained the encrypted hotspot information of the router from the public channel and decrypted it successfully, that is, it has authenticated each other with the router as being legitimate, avoiding illegal smart devices from accessing legitimate routers, or legitimate smart devices from accessing illegal routers, which can solve the problem of the second traditional first network configuration method.

[0090] Furthermore, in the traditional method, the methods used for the first network configuration of the smart device and the second network configuration of the smart device after the hotspot information of the router is modified are different. Therefore, the method in the first network configuration scenario of the smart device and the method in the second network configuration scenario of the smart device after the hotspot information of the router is modified are usually not compatible, which increases the development difficulty and increases the resource requirements of the router and the smart device. In the method of the present application, due to the existence of a public channel and the creation of a preset whitelist, all problems in the traditional method in these two scenarios can be solved, that is, the same set of network configuration solutions can be used to complete the network configuration in the two scenarios, which reduces the development difficulty of the network configuration process, saves code space, and greatly reduces the resource requirements required for the network configuration of smart devices and routers.

[0091] This embodiment creates a preset whitelist to verify the legitimacy of smart devices, which can ensure that the smart devices in the preset whitelist are smart devices that have completed two-way authentication with the router, thereby facilitating the compatibility of the first network configuration plan of the smart device and the second network configuration plan after the router hotspot information is modified, thereby improving the network configuration efficiency and success rate.

[0092] In one embodiment, encrypting the information of the current hotspot to obtain the encrypted hotspot information may include:

[0093] Traverse the preset whitelist, use the identification information of any device in the waiting network configuration state as the symmetric key, encrypt the information of its own current hotspot, and obtain the encrypted hotspot information of the device in the waiting network configuration state.

[0094] The encrypted hotspot information can be expressed by the following formula:

[0095] C i =Ki *M;

[0096] Among them, C i is the encrypted hotspot information of the i-th smart device in the network configuration state, K i is the identification information of the i-th smart device to be networked, and M is the information of the current hotspot of the router.

[0097] This embodiment encrypts the current hotspot information of the router according to the identification information of the smart device, which can ensure the security of the current hotspot information of the router on the one hand, and ensure the accuracy of the correspondence between the encrypted hotspot information and the smart device on the other hand.

[0098] In one embodiment, broadcasting the encrypted hotspot information to a public channel may include:

[0099] The encrypted hotspot information of the devices to be networked will be broadcast to the public channel in sequence within the preset broadcast period.

[0100] Assuming that there are N smart devices in the preset whitelist that are waiting to be configured, N encrypted hotspot information will be generated. Within a preset broadcast week, these N encrypted hotspot information will be broadcast to the public channel in turn. The broadcast method can be based on the link layer protocol, using the private element data field of the WiFi detection request broadcast frame to carry the encrypted hotspot information for broadcast.

[0101] In a preset broadcast cycle, not all smart devices in the waiting network configuration state can complete the acquisition of encrypted hotspot information and connect to the current hotspot of the router. If there are n smart devices connected to the current hotspot of the router, then in the next preset broadcast cycle, the broadcast of the encrypted hotspot information corresponding to the identification information of these n smart devices will be stopped, and the remaining Nn encrypted hotspot information will be broadcast to the public channel in turn until all smart devices in the preset whitelist are marked as configured. This avoids encrypting and broadcasting the current hotspot information of the router for all smart devices in the next preset broadcast cycle, thereby reducing the number of broadcasts on the public channel and improving the efficiency of smart devices accessing the router.

[0102] In addition, whether it is the first network configuration for the smart device or the re-network configuration after the router hotspot information has been modified, since the encrypted hotspot information broadcast in the public channel is the hotspot information corresponding one-to-one to the smart device to be configured, it can improve the accuracy of matching the smart device with the encrypted hotspot information, ensure the security of the network configuration, and improve the efficiency of the network configuration.

[0103] This implementation enhances the security of the network configuration information sent by the router, the reliability and accuracy of the smart device connecting to the router, and improves the success rate of network configuration and hotspot information synchronization by periodically broadcasting the encrypted hotspot information corresponding to the identification information of the smart device in the network configuration state on the public channel.

[0104] Figure 2 This is the second flow chart of the network configuration method provided in the embodiment of the present application. Figure 2 , the embodiment of the present application provides a network configuration method, which may include:

[0105] 201. If a network anomaly is detected, monitor the broadcast of the public channel and obtain encrypted hotspot information;

[0106] The public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0107] 202. Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0108] 203. Connect to the current hotspot of the distribution network device according to the information of the current hotspot of the distribution network device.

[0109] The execution subject of this embodiment is a device in a network configuration state, which can be any smart device, and the network configuration device can be any router. The hotspot information at least includes a hotspot name and a hotspot password. Then:

[0110] In step 201, the smart device detects a network anomaly, including detecting no network when the smart device is powered on and detecting a network anomaly when the smart device is in standby mode. The network anomaly may be caused by the modification of the router hotspot information, the router power failure, or other reasons. If the smart device detects no network when it is powered on, it automatically enters the public channel agreed with the router, or performs a full-band (such as 2.4G band) scan, listens to a specific synchronized plaintext broadcast, such as a specific beacon frame, to determine the public channel, and then enters the public channel to listen to the link layer broadcast. If the smart device detects a network anomaly when it is in standby mode, it can wait for several seconds. If the network is still abnormal, it will enter the public channel agreed with the router or perform a full-band scan, listen to a specific synchronized plaintext broadcast, such as a specific beacon frame, to determine the public channel, and then enter the public channel to listen to the link layer broadcast. The purpose of waiting for several seconds is to prevent the router from switching hotspots back and forth due to jitter.

[0111] In step 202, the encrypted hotspot information is decrypted using the smart device's own identification information as a symmetric key. If the decryption is successful, the smart device considers the router to be legitimate and obtains the router's current hotspot information; if the decryption fails, the smart device continues to monitor the public channel broadcast.

[0112] It should be noted that if the router loses power, during the power outage, the smart device will automatically enter the public channel to listen to the broadcast due to network abnormalities. When the router is powered on again, even if its hotspot information has not been modified, since the smart devices connected to its hotspot before the power outage have entered the public channel to listen to the broadcast, the router still needs to mark all smart devices in the preset whitelist as waiting for network configuration, and re-encrypt the original hotspot information and broadcast it, so that the smart device can obtain the corresponding encrypted hotspot information from the public channel and reconnect to the router.

[0113] In this embodiment, when the hotspot information of the router is modified, the smart device will detect a network anomaly. At this time, the smart device immediately monitors the public channel broadcast, and uses its own device unique identifier to decrypt the obtained encrypted hotspot information, and restores the current hotspot information of the router. Since a public channel is specially set up and the broadcast of hotspot information is not time-restricted, it is possible to ensure that all smart devices obtain the modified new hotspot information, meet the network configuration needs of all smart devices, improve the efficiency and success rate of network configuration, and enhance the security of network configuration information issuance. In addition, since the decryption is successful, the router can be considered legal, thereby preventing access to unexpected networks such as phishing hotspots and improving the security of smart devices accessing the network.

[0114] The device in the state of waiting for network configuration involved in the embodiments of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem, etc. In different systems, the name of the device in the state of waiting for network configuration may also be different. For example, in a 5G system, the device in the state of waiting for network configuration may be called a user equipment (UE).

[0115] Figure 3 is a schematic diagram of a device in a state of waiting for network configuration according to an embodiment of the present application, referring to Figure 3 , the embodiment of the present application also provides a device in a state of waiting for network configuration, which may include: a memory 310, a transceiver 320 and a processor 330;

[0116] The memory 310 is used to store computer programs; the transceiver 320 is used to send and receive data under the control of the processor 330; the processor 330 is used to read the computer program in the memory 310 and perform the following operations:

[0117] If a network anomaly is detected, the broadcast of the public channel is monitored and the encrypted hotspot information is obtained; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0118] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0119] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0120] Among them, Figure 3 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 330 and various circuits of memory represented by memory 310 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 320 may be a plurality of components, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 340 may also be an interface capable of externally connecting to the required internal devices.

[0121] The processor 330 is responsible for managing the bus architecture and general processing, and the memory 310 can store data used by the processor 330 when performing operations.

[0122] The processor 330 is used to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 310. The processor and the memory may also be arranged physically separately.

[0123] Figure 4 is a schematic diagram of the structure of a distribution network device according to an embodiment of the present application, referring to Figure 4 , the embodiment of the present application further provides a network distribution device, which may include: a memory 410, a transceiver 420 and a processor 430;

[0124] The memory 410 is used to store computer programs; the transceiver 420 is used to send and receive data under the control of the processor 430; the processor 430 is used to read the computer program in the memory 410 and perform the following operations:

[0125] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0126] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0127] If it is detected that the information of its current hotspot has been modified, the devices in the preset whitelist will be marked as being in the state to be networked, and the process will return to the step of encrypting the information of its current hotspot until all devices in the state to be networked are marked as being in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked.

[0128] Among them, Figure 4 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 430 and various circuits of memory represented by memory 410 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 420 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 430 is responsible for managing the bus architecture and general processing, and the memory 410 may store data used by the processor 430 when performing operations.

[0129] It should be noted here that the device in the network configuration state and the network configuration device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0130] Figure 5 This is a communication signaling diagram of the distribution network system provided in the embodiment of the present application. Figure 5 , the embodiment of the present application provides a network distribution system, which may include: a network distribution device and a device in a state to be networked;

[0131] The network distribution equipment is used for:

[0132] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0133] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0134] If it is detected that the information of its current hotspot has been modified, the devices in the preset whitelist will be marked as being in the state to be networked, and the process will return to the step of encrypting the information of its current hotspot until all devices in the state to be networked are marked as being in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked.

[0135] The device in the state of waiting for network configuration is used to:

[0136] If a network anomaly is detected, the public channel broadcast is monitored and encrypted hotspot information is obtained;

[0137] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0138] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0139] In the network distribution system provided by the present embodiment, the network distribution device may be a router, and the device in the state of to-be-connected network may be a smart device. When the current hotspot information of the router is modified, all smart devices in the preset whitelist are directly marked as being in the state of to-be-connected network, and the new hotspot information obtained after the modification is encrypted and broadcast to the public channel. If the smart device is reconnected to the hotspot corresponding to the new hotspot information of the router, the smart device is marked as being in the state of to-be-connected network. On the one hand, the present embodiment sets up a public channel specifically for broadcasting new hotspot information, which is separated from the data channel used for data transmission, which helps the smart device to directly switch to the public channel to obtain the latest hotspot information when the network is abnormal. On the other hand, the broadcast of hotspot information is not time-limited. As long as there are smart devices that have not been connected to the latest hotspot, the broadcast of the latest hotspot information will not stop. Therefore, it can ensure that all smart devices obtain the modified hotspot information, meet the network distribution needs of all smart devices, and improve the overall success rate and efficiency of the network distribution system.

[0140] Reference Figure 5 , the communication process between the router and the smart device is as follows:

[0141] 1. The router verifies the legitimacy of the identification information of the smart device collected in advance. After the verification is passed, if the preset whitelist has not been created, the smart device is added to the device list table to create the preset whitelist; if the preset whitelist has been created, the smart device is added to the preset whitelist to update the preset whitelist;

[0142] 2. Select the identification information of the smart device according to the status of the router to construct the encrypted hotspot information:

[0143] 2.1. When the router is powered on or detects that its current hotspot information has been modified, all smart devices in the preset whitelist are marked as waiting for network configuration, the preset whitelist is traversed, and the identification information of all smart devices in the preset whitelist is used to construct encrypted hotspot information;

[0144] 2.2. When the smart device is configured for the first time and the router is in standby mode, the smart device to be configured in the preset whitelist is marked as being in the configuration state, the preset whitelist is traversed, and the identification information of the smart device to be configured in the preset whitelist is used to construct encrypted hotspot information;

[0145] 3. The router periodically broadcasts N pieces of encrypted hotspot information to the public channel. At the same time, the smart device detects network anomalies and immediately enters the public channel to listen to the broadcast and obtain the encrypted hotspot information.

[0146] 4. The smart device decrypts the encrypted hotspot information and obtains the latest hotspot information of the router (if the hotspot information of the router is modified, the modified new hotspot information is obtained);

[0147] 5. Smart devices connect to the latest hotspot of the router;

[0148] 6. The smart device sends a successful networking notification to the router. This step is optional.

[0149] The network distribution device provided in the embodiment of the present application is described below. The network distribution device described below and the network distribution method described above can be referenced to each other.

[0150] Figure 6 This is one of the structural diagrams of the distribution network device provided in the embodiment of the present application. Figure 6 , the embodiment of the present application provides a network distribution device, which may include:

[0151] The encryption module 601 is used to: encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0152] The broadcast and network configuration module 602 is used to: broadcast the encrypted hotspot information to a public channel, and if a device in a to-be-configured state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-configured state as a configured state; the public channel is pre-divided from its own channel;

[0153] The network configuration module 603 after the hotspot information is modified is used to: if it is detected that the information of its current hotspot is modified, then mark the devices in the preset whitelist as being in the state to be configured, and return to the step of encrypting the information of its current hotspot until all devices in the state to be configured are marked as being in the configured state; the devices in the preset whitelist include devices in the state to be configured and devices in the configured state.

[0154] The network configuration device provided in this embodiment encrypts the information of its own current hotspot to obtain the encrypted hotspot information, and broadcasts the encrypted hotspot information to a public channel pre-divided from its own channel. If a device in a to-be-connected state in a preset whitelist is connected to its own current hotspot, the device in the to-be-connected state is marked as being in a connected state. If it is detected that the information of its own current hotspot is modified, the device in the preset whitelist is marked as being in a to-be-connected state, and the step of encrypting the information of its own current hotspot is returned until all devices in a to-be-connected state are marked as being in a connected state. The network configuration device may be a router, and the device in the state of waiting for network configuration may be a smart device. In this embodiment, when the current hotspot information of the router is modified, all smart devices in the preset whitelist are directly marked as being in the state of waiting for network configuration, and the new hotspot information obtained after the modification is encrypted and broadcast to the public channel. If the smart device is reconnected to the hotspot corresponding to the new hotspot information of the router, the smart device is marked as being in the network configuration state. On the one hand, this embodiment sets up a public channel specifically for broadcasting new hotspot information, which is separated from the data channel used for data transmission, which helps the smart device to directly switch to the public channel to obtain the latest hotspot information when the network is abnormal. On the other hand, the broadcast of hotspot information is not time-limited. As long as there are smart devices that have not been connected to the latest hotspot, the broadcast of the latest hotspot information will not stop. Therefore, it can ensure that all smart devices obtain the modified hotspot information, meet the network configuration needs of all smart devices, and improve the overall success rate and efficiency of the network configuration system.

[0155] In one embodiment, a whitelist creation module (not shown in the figure) is preset to:

[0156] Collect identification information of devices to be networked that are not connected to their current hotspots;

[0157] Perform a legality check on the identification information. If the check passes, add the to-be-configured network device to the device list table to obtain a preset whitelist;

[0158] The devices to be networked in the preset whitelist are marked as being in a state to be networked.

[0159] In one embodiment, the encryption module 601 is specifically used for:

[0160] The preset whitelist is traversed, and the identification information of any device in the state of waiting for network configuration is used as a symmetric key to encrypt the information of its own current hotspot, so as to obtain the encrypted hotspot information of any device in the state of waiting for network configuration.

[0161] In one embodiment, the broadcast and network distribution module 602 is specifically used to:

[0162] The encrypted hotspot information of the devices to be networked is broadcasted to the public channel in sequence within a preset broadcast period.

[0163] Figure 7 This is a second structural diagram of a network distribution device provided in an embodiment of the present application. Figure 7 , the embodiment of the present application provides a network distribution device, which may include:

[0164] The broadcast monitoring module 701 is used to: if a network anomaly is detected, monitor the broadcast of the public channel and obtain the encrypted hotspot information; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the information of the current hotspot of the distribution network device encrypted;

[0165] The decryption module 702 is used to: decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0166] The networking module 703 is used to connect to the current hotspot of the distribution network device according to the information of the current hotspot of the distribution network device.

[0167] In this embodiment, when the hotspot information of the router is modified, the smart device will detect a network anomaly. At this time, the smart device immediately monitors the public channel broadcast, and uses its own device unique identifier to decrypt the obtained encrypted hotspot information, and restores the current hotspot information of the router. Since a public channel is specially set up and the broadcast of hotspot information is not time-restricted, it is possible to ensure that all smart devices obtain the modified new hotspot information, meet the network configuration needs of all smart devices, improve the efficiency and success rate of network configuration, and enhance the security of network configuration information issuance. In addition, since the decryption is successful, the router can be considered legal, thereby preventing access to unexpected networks such as phishing hotspots and improving the security of smart devices accessing the network.

[0168] In one embodiment, the decryption module 702 is specifically used to:

[0169] The encrypted hotspot information is decrypted using its own identification information as a symmetric key. If the decryption is successful, the current hotspot information of the distribution network device is obtained.

[0170] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute the steps of the network configuration method, for example, including:

[0171] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0172] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0173] If it is detected that the information of its current hotspot has been modified, the device in the preset whitelist is marked as in the state to be networked, and the step of encrypting the information of its current hotspot is returned until all devices in the state to be networked are marked as in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked; or

[0174] If a network anomaly is detected, the broadcast of the public channel is monitored and the encrypted hotspot information is obtained; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0175] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0176] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0177] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0178] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform the steps of the network configuration method provided in the above embodiments, for example, including:

[0179] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0180] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0181] If it is detected that the information of its current hotspot has been modified, the device in the preset whitelist is marked as in the state to be networked, and the step of encrypting the information of its current hotspot is returned until all devices in the state to be networked are marked as in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked; or

[0182] If a network anomaly is detected, the broadcast of the public channel is monitored and the encrypted hotspot information is obtained; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0183] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0184] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0185] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the steps of the methods provided in the above embodiments, for example, including:

[0186] Encrypt the information of the current hotspot to obtain the encrypted hotspot information;

[0187] Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; the public channel is pre-divided from its own channel;

[0188] If it is detected that the information of its current hotspot has been modified, the device in the preset whitelist is marked as in the state to be networked, and the step of encrypting the information of its current hotspot is returned until all devices in the state to be networked are marked as in the state to be networked; the devices in the preset whitelist include devices in the state to be networked and devices in the state to be networked; or

[0189] If a network anomaly is detected, the broadcast of the public channel is monitored and the encrypted hotspot information is obtained; the public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device;

[0190] Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device;

[0191] According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

[0192] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

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

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

[0195] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. 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 application.

Claims

1. A network distribution method, characterized in that: include: Encrypt the information of the current hotspot to obtain the encrypted hotspot information; Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; The common channel is pre-divided from the own channel; If it is detected that the information of its current hotspot has been modified, the device in the preset whitelist is marked as being in a state to be networked, and the process returns to the step of encrypting the information of its current hotspot until all devices in a state to be networked are marked as being in a state to be networked; The devices in the preset whitelist include devices in a state of waiting for network configuration and devices in a state of having been network configured.

2. The network distribution method according to claim 1, characterized in that: The step of encrypting the information of the current hotspot to obtain the encrypted hotspot information includes: Collect identification information of devices to be networked that are not connected to their current hotspots; Perform a legality check on the identification information. If the check passes, add the to-be-configured network device to the device list table to obtain a preset whitelist; The devices to be networked in the preset whitelist are marked as being in a state to be networked.

3. The network distribution method according to claim 2, characterized in that: The step of encrypting the information of the current hotspot to obtain the encrypted hotspot information includes: The preset whitelist is traversed, and the identification information of any device in the state of waiting for network configuration is used as a symmetric key to encrypt the information of its own current hotspot, so as to obtain the encrypted hotspot information of any device in the state of waiting for network configuration.

4. The network distribution method according to claim 3, characterized in that: The broadcasting of the encrypted hotspot information to a public channel includes: The encrypted hotspot information of the devices to be networked is broadcasted to the public channel in sequence within a preset broadcast period.

5. A network distribution method, characterized in that: include: If a network anomaly is detected, the public channel broadcast is monitored and encrypted hotspot information is obtained; The public channel is pre-divided from the distribution network device channel, and the encrypted hotspot information is the encrypted information of the current hotspot of the distribution network device; Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device; According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

6. The network distribution method according to claim 5, characterized in that: The decrypting of the encrypted hotspot information to obtain the current hotspot information of the distribution network device includes: The encrypted hotspot information is decrypted using its own identification information as a symmetric key. If the decryption is successful, the current hotspot information of the distribution network device is obtained.

7. A network distribution device, characterized in that: Including memory, transceiver, processor; Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor, configured to read the computer program in the memory and execute the network distribution method according to any one of claims 1 to 4.

8. A device in a state of waiting for network configuration, characterized in that: include: Memory, transceiver, processor; Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor, configured to read the computer program in the memory and execute the network distribution method according to any one of claims 5 to 6.

9. A distribution network system, characterized in that: include: Network configuration equipment and equipment to be configured; The network distribution equipment is used for: Encrypt the information of the current hotspot to obtain the encrypted hotspot information; Broadcast the encrypted hotspot information to a public channel. If a device in a to-be-connected state in a preset whitelist is connected to its current hotspot, mark the device in the to-be-connected state as connected to the network; The common channel is pre-divided from the own channel; If it is detected that the information of its current hotspot has been modified, the device in the preset whitelist is marked as in a state to be networked, and the process returns to the step of encrypting the information of its current hotspot until all devices in a state to be networked are marked as in a state to be networked; the devices in the preset whitelist include devices in a state to be networked and devices in a state to be networked; The device in the state of waiting for network configuration is used to: If a network anomaly is detected, the public channel broadcast is monitored and encrypted hotspot information is obtained; Decrypt the encrypted hotspot information to obtain the current hotspot information of the distribution network device; According to the information of the current hotspot of the distribution network device, connect to the current hotspot of the distribution network device.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the network distribution method described in any one of claims 1 to 4 are implemented, or the steps of the network distribution method described in any one of claims 5 to 6 are implemented.

Citation Information

Patent Citations

  • Terminal, terminal network distribution method and device, and storage medium

    CN113573384A

  • Network distribution method, network distribution system, electronic equipment and computer storage medium

    CN113973352A

  • Hotspot mode synchronization method and device, equipment and storage medium

    CN116614832A

  • Wi-fi hotspot sharing method and device

    WO2020233204A1

  • Network configuration method and apparatus for intelligent device

    WO2022087842A1