Dual-band router control method, dual-band router control device and storage medium
By obtaining the device connection list, we determine whether the dual-band router meets the energy saving conditions and control the 5G network to stop transmitting, which solves the problem of high power consumption of WiFi dual-band routers and realizes effective energy utilization.
Patent Information
- Application Number
- CN202210663471.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-13
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2042-06-13
AI Technical Summary
When the 2.4G and 5G modules are turned on at the same time in WiFi dual-band routers, if no terminal equipment is connected to the 5G frequency band network, the 5G module will be turned on, resulting in large power consumption and waste of energy.
By obtaining a list of devices connected to a wireless network in the 1 signal area and a list of devices connected to a wireless network in the 2 signal area, it is determined whether the dual-band router meets the preset energy saving conditions. When the energy saving conditions are met, the dual-band router controls the transmission of 2 wireless networks.
It effectively reduces the power consumption of dual-band routers, avoids unnecessary energy waste, and ensures the continuity of network services.
Smart Images

Figure CN115175277B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of WiFi technology, and in particular to a dual-band router control method, a dual-band router control device and a storage medium. Background Art
[0002] At present, most WiFi dual-band routers have 2.4G modules and 5G modules. WiFi dual-band routers transmit 2.4G band networks through the 2.4G module and transmit 5G band networks through the 5G module. The 2.4G band network has a wide coverage range, but the network speed is low, while the 5G band network has a small coverage range, but the network speed is fast. When the 2.4G module and 5G module in the WIFI dual-band router are turned on at the same time, but there is no terminal device connected to the 5G band network, if the 5G module is not turned off, the WiFi dual-band router will consume more power because the 5G module is always turned on, resulting in energy waste. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide a dual-band router control method, a dual-band router control device and a storage medium, aiming to solve the problem of high power consumption of the dual-band router.
[0004] In a first aspect, an embodiment of the present invention provides a dual-band router control method, comprising:
[0005] Controlling the dual-band router to transmit a first wireless network and a second wireless network, wherein the first wireless network covers a first signal area, the second wireless network covers a second signal area, and the first signal area covers the second signal area;
[0006] Acquire a list of first devices connected to the first wireless network in the first signal area, and a list of second devices connected to the second wireless network in the second signal area;
[0007] Determining whether the dual-band router meets a preset energy-saving condition according to the device information corresponding to the first device list and the second device list;
[0008] When the dual-band router meets the energy-saving condition, the dual-band router is controlled to stop transmitting the second wireless network.
[0009] In a second aspect, an embodiment of the present invention further provides a dual-band router control device, the dual-band router control device comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus comprising a connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any dual-band router control method provided in the specification of the present invention are implemented.
[0010] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any dual-band router control method provided in the specification of the present invention.
[0011] An embodiment of the present invention provides a dual-band router control method, a dual-band router control device and a storage medium. In the embodiment of the present invention, whether the dual-band router meets the preset energy-saving condition is determined based on a first device list connected to a first wireless network in a first signal area and a second device list connected to a second wireless network in a second signal area. When the dual-band router meets the preset energy-saving condition, the dual-band router is controlled to stop transmitting the second wireless network, thereby solving the problem of high power consumption of the dual-band router in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. 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.
[0013] Figure 1 A schematic flow chart of a dual-band router control method provided by an embodiment of the present invention;
[0014] Figure 2 A schematic diagram of a scenario in which a dual-band router transmits a first wireless network and a second wireless network provided for implementing this embodiment;
[0015] Figure 3 A schematic diagram of a scenario in which a device currently connected to a second wireless network of a dual-band router is provided for implementing this embodiment;
[0016] Figure 4 A schematic diagram of a scenario in which a device having permission to connect to a second wireless network provided in this embodiment is currently connected to a first wireless network of a dual-band router;
[0017] Figure 5 A schematic diagram of a scenario in which the dual-band router provided in this embodiment stops transmitting the second wireless network when the preset energy-saving condition is met;
[0018] Figure 6 A schematic diagram of a scenario in which a dual-band router only transmits a first wireless network provided for implementing this embodiment;
[0019] Figure 7A schematic diagram of a scenario in which the second wireless network is retransmitted when the dual-band router does not meet the energy-saving condition for implementing the present embodiment;
[0020] Figure 8 A schematic block diagram of the structure of a dual-band router control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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.
[0022] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0023] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0024] The embodiment of the present invention provides a dual-band router control method, a dual-band router control device and a storage medium. The dual-band router control method can be applied to a dual-band router.
[0025] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0026] Please refer to Figure 1 , Figure 1 A schematic flow chart of a dual-band router control method provided by an embodiment of the present invention.
[0027] like Figure 1 As shown, the dual-band router control method includes steps S10 to S14.
[0028] Step S10: Control the dual-band router to transmit the first wireless network and the second wireless network, wherein the first wireless network covers a first signal area, the second wireless network covers a second signal area, and the first signal area covers the second signal area.
[0029] It can be understood that the frequency bands of the first wireless network and the second wireless network emitted by the dual-band router are different. The first wireless network corresponds to a first frequency band, and the second wireless network corresponds to a second frequency band, wherein the first frequency band is shorter than the second frequency band.
[0030] Please refer to Figure 2 , Figure 2 A schematic diagram of a scenario in which a dual-band router transmits a first wireless network and a second wireless network provided for implementing the present embodiment.
[0031] like Figure 2 As shown, the dual-band router 1 forms a first signal area 10 when transmitting a first wireless network, and forms a second signal area 11 when transmitting a second wireless network.
[0032] The signal coverage area of the first wireless network is the first signal area 10, and similarly, the signal coverage area of the second wireless network is the second signal area 11. Because the first frequency band is shorter than the second frequency band, the transmission distance and wall penetration capability of the first wireless network are better than those of the second wireless network. Therefore, the first signal area 10 covers the second signal area 11. Accordingly, the signal of the first frequency band is easily interfered, and the wireless transmission speed of the second wireless network is better than that of the first wireless network.
[0033] In some implementations, the first wireless network is a wireless network with a frequency band of 2.4G, and the second wireless network is a wireless network with a frequency band of 5G. Of course, the first wireless network and the second wireless network can also be wireless networks with other different frequency bands, which is not limited here.
[0034] In some implementations, the dual-band router 1 may use the same antenna to transmit the first wireless network and the second wireless network, or may use different antennas to transmit the first wireless network and the second wireless network respectively, which is not limited here.
[0035] Step S11, obtaining a list of first devices connected to a first wireless network in a first signal area, and a list of second devices connected to a second wireless network in a second signal area.
[0036] It can be understood that a device can only connect to a wireless network after it enters the signal area of the corresponding wireless network. Therefore, if the connecting device is currently connected to the first wireless network, the connecting device must be in the first signal area. Correspondingly, if the connecting device is currently connected to the second wireless network, the connecting device must be in the second signal area. At the same time, because the first signal area covers the second signal area, the connecting device connected to the second wireless network must also be in the first signal area.
[0037] In addition, the dual-band router 1 records the device information of the connection devices currently connected to the first wireless network and the connection devices currently connected to the second wireless network to form a connection device list.
[0038] The device information records the device identification information of the connected device and the corresponding wireless network connection type. In some embodiments, the device information may also record other information of the connected device, which is not limited here. Through the wireless network connection type in the device information, it can be determined whether the connected device is currently connected to the first wireless network or the second wireless network. In addition, according to the device identification information, it can be determined whether the connected device has the authority to connect to the first wireless network and the second wireless network.
[0039] The device information of the device currently connected to the first wireless network is filtered from the connection device list to obtain a first device list, in which the wireless network connection type of the device information corresponds to the first wireless network; correspondingly, the device information of the device currently connected to the second wireless network is filtered from the connection device list to obtain a second device list, in which the wireless network connection type of the device information corresponds to the second wireless network.
[0040] In some embodiments, a whitelist information set by a user is stored in the dual-band router 1, and the whitelist information records the device identity information of devices with permission to connect to the first wireless network and the device identity information of devices with permission to connect to the second wireless network. When determining the connection permission of the connecting device, the whitelist information can be used for judgment.
[0041] Step S12: determining whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list.
[0042] It can be understood that the first device list can be used to determine whether there are devices currently connected to the first wireless network, and the second device list can be used to determine whether there are devices currently connected to the second wireless network. Specifically, when the first device list is empty, it means that there are currently no devices connected to the first wireless network; similarly, when the second device list is empty, it means that there are currently no devices connected to the second wireless network.
[0043] Step S13: When the dual-band router meets the energy-saving condition, the dual-band router is controlled to stop transmitting the second wireless network.
[0044] It can be understood that if the dual-band router 1 is always transmitting the first wireless network and the second wireless network regardless of whether there are devices connected to the first wireless network and the second wireless network, the power consumption of the dual-band router 1 will always be in a large state, resulting in unnecessary waste of power energy.
[0045] In some embodiments, when it is determined according to the first device list and the second device list that the dual-band router 1 meets the energy-saving conditions, the dual-band router 1 can stop transmitting the second wireless network by turning off the module power of the module used to transmit the second wireless network, or by controlling the module used to transmit the second wireless network to enter a deep sleep mode. At this time, the dual-band router 1 enters a power reduction mode, which can reduce the power consumption of the dual-band router 1 and avoid unnecessary waste of electric energy.
[0046] Please refer to Figure 3 , Figure 3 A schematic diagram of a scenario in which a device currently connected to a second wireless network of a dual-band router is provided for implementing the present embodiment.
[0047] like Figure 3 As shown, within the second signal area 11, there is a connection device 2 that has the authority to connect to the second wireless network.
[0048] Please refer to Figure 4 , Figure 4 A schematic diagram of a scenario in which a device having permission to connect to a second wireless network provided for implementing the present embodiment is currently connected to a first wireless network of a dual-band router.
[0049] like Figure 4 As shown, although there is no connection device 2 with the permission to connect to the second wireless network in the second signal area 11 , there is a connection device 2 with the permission to connect to the second wireless network in the first signal area 10 .
[0050] In some implementations, determining whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list includes:
[0051] When it is determined according to the second device list that there is no device connected to the second wireless network, and it is determined according to the first device list that all devices connected to the first wireless network do not have permission to connect to the second wireless network, the dual-band router meets the preset energy-saving condition.
[0052] It can be understood that the first device list records the device information of the devices currently connected to the first wireless network, and the second device list records the device information of the devices currently connected to the second wireless network.
[0053] If no device information is stored in the second device list, it means that there is no device currently connected to the second wireless network. In addition, by combining the whitelist information with the device information in the first device list, it can be determined whether the device currently connected to the first wireless network has the authority to connect to the second wireless network. If none of the devices currently connected to the first wireless network has the authority to connect to the second wireless network, it means that there is no device currently connected to the first wireless network that can connect to the second wireless network.
[0054] In this case, because no device is currently connecting to the second wireless network, and there is no potential device to connect to the wireless network, if the dual-band router 1 continues to transmit the second wireless network, the dual-band router 1 will be in a high-power state, causing unnecessary energy waste. At this time, whether the dual-band router 1 provides the second wireless network or not, it has no effect on the devices currently connected to the network of the dual-band router 1 to access the Internet. The dual-band router 1 meets the energy-saving conditions, and the dual-band router 1 is controlled to stop transmitting the second wireless network.
[0055] Please refer to Figure 5 , Figure 5 A schematic diagram of a scenario in which the dual-band router provided in the present embodiment stops transmitting the second wireless network when the preset energy-saving condition is met.
[0056] like Figure 5 As shown, when there is no device connected to the second wireless network in the second signal area 11, and the devices connected to the first wireless network in the first signal area 10 also do not have the authority to connect to the second wireless network, the dual-band router 1 meets the preset energy-saving conditions and controls the dual-band router 1 to stop transmitting the second wireless network.
[0057] In some implementations, determining whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list includes:
[0058] When it is determined according to the second device list that there is a device connected to the second wireless network, or when it is determined according to the first device list that there is a device with permission to connect to the second wireless network among the devices connected to the first wireless network, the dual-band router does not meet the preset energy-saving condition.
[0059] It can be understood that if one or more device information is stored in the second device list, it means that there are devices currently connected to the second wireless network. In addition, if one or more device information is stored in the first device list, it means that there are devices currently connected to the first wireless network. At this time, after extracting the device identity information from the device information, it can be checked whether the device corresponding to the device identity information has the authority to connect to the second wireless network according to the preset whitelist information. If it is determined that one or more devices currently connected to the first wireless network have the authority to connect to the second wireless network, the dual-band router 1 does not meet the energy-saving conditions. Because users may bring these devices into the second signal area 11, allowing the dual-band router 1 to continue to transmit the second wireless network can allow these devices to immediately connect to the second wireless network when they enter the second signal area.
[0060] Correspondingly, if there are devices currently connecting to the second wireless network, if the dual-band router 1 stops transmitting the second wireless network at this moment, these devices will not be able to use the second wireless network; and if there are no devices currently connecting to the second wireless network, but there are devices connected to the first wireless network that have the authority to connect to the second wireless network, these devices may enter the second signal area 11 at any time. If the dual-band router 1 stops transmitting the second wireless network at this moment, these devices will not be able to use the second wireless network in time after entering the second signal area 11, affecting the customer's Internet experience.
[0061] Please refer to Figure 6 , Figure 6 A schematic diagram of a scenario in which a dual-band router only transmits a first wireless network is provided for implementing the present embodiment.
[0062] like Figure 6 As shown, after the dual-band router 1 stops transmitting the second wireless network, it will continue to transmit the first wireless network to provide wireless network services to devices entering the first signal area 10 and determine whether there is a device with permission to connect to the second wireless network in the first signal area 10.
[0063] Please refer to Figure 7 , Figure 7 A schematic diagram of a scenario in which the second wireless network is retransmitted when the dual-band router does not meet the energy-saving condition for implementing the present embodiment.
[0064] like Figure 7 As shown, after the dual-band router 1 meets the energy-saving condition and stops transmitting the second wireless network, when the connecting device 2 appears in the first signal area 10, the dual-band router 1 does not meet the energy-saving condition, and the dual-band router 1 is controlled to resend the second wireless network.
[0065] In some embodiments, the method further comprises:
[0066] When the newly added target device information appears in the first device list, judging whether the target connection device corresponding to the target device information has the authority to connect to the second wireless network according to the preset whitelist information;
[0067] When it is determined that the target connection device has the authority to connect to the second wireless network and the dual-band router is in a state of stopping transmitting the second wireless network, the dual-band router is controlled to transmit the second wireless network.
[0068] It can be understood that the whitelist information is information preset by the user in the dual-band router 1. When the user wants to allow a certain device to have the permission to connect to a certain wireless network, the device identity information of the device can be added to the whitelist information, and the network connection permission of the device identity information can be set in the whitelist information. Exemplarily, the network connection permission can be set to allow only connection to the first wireless network, or it can be set to allow connection to both the first wireless network and the second wireless network.
[0069] When newly added target device information appears in the first device list, it indicates that a new device is in the first signal area 10 and is connected to the first wireless network, wherein the device corresponding to the target device information is the target connection device, and the target device information records the device identity information of the target connection device.
[0070] After obtaining the device identity information of the target connection device from the target device information, if the device identity information is marked in the whitelist information as having the authority to connect to the second wireless network, at this time if the dual-band router 1 is in a state of stopping transmitting the second wireless network because it previously met the energy-saving conditions, the dual-band router 1 is controlled to re-transmit the second wireless network.
[0071] In some implementations, when newly added target device information appears in the first device list, before determining whether the target connection device corresponding to the target device information has permission to connect to the second wireless network according to the preset whitelist information, the method further includes:
[0072] When the target connection device enters the first signal area, receiving connection request information sent by the target connection device;
[0073] Acquire target device information and verification information corresponding to the target connection device according to the connection request information, and verify the target connection device according to the verification information;
[0074] When the verification passes, the target connection device is connected to the first wireless network, and the target device information is added to the first device list.
[0075] It can be understood that after the target connection device enters the first signal area 10, if it wants to connect to the first wireless network, it needs to send a connection request message to the dual-band router 1, and can access the first wireless network only after the connection request message is verified.
[0076] In some embodiments, the target device information includes the device identification information of the target connection device, and the verification information is the connection password sent by the target connection device when connecting to the first wireless network. When the connection password matches the network connection password of the first wireless network set by the user through the dual-band router 1, the connection request information is verified, the target connection device is connected to the first wireless network, and the target device information is added to the first device list.
[0077] In some embodiments, when it is determined that the target connection device has the authority to connect to the second wireless network and the dual-band router is in a state of stopping transmitting the second wireless network, after controlling the dual-band router to transmit the second wireless network, the method further includes:
[0078] When the target connection device enters the second signal area, the target device information is removed from the first device list, and the target device information is added to the second device list;
[0079] The target connection device is disconnected from the first wireless network, and the target connection device is connected to the second wireless network.
[0080] It can be understood that the target connection device is a device having permission to connect to the second wireless network. After the dual-band router 1 retransmits the second wireless network, when the target connection device enters the second signal area 11, it can access the second wireless network.
[0081] In addition, before the target connection device accesses the second wireless network, the target device information needs to be moved from the first device list to the second device list. It can be understood that all device information connected to the second wireless network is maintained in the second device list, and the dual-band router 1 can determine whether there is a device currently using the second wireless network based on the second device list.
[0082] In some implementations, after disconnecting the target connection device from the first wireless network and connecting the target connection device to the second wireless network, the method further includes:
[0083] When the target connection device leaves the second signal area and is in the first signal area, the target device information is removed from the second device list and the target device information is added to the first device list;
[0084] The target connection device is disconnected from the second wireless network, and the target connection device is connected to the first wireless network.
[0085] It can be understood that because the coverage of the first signal area 10 is greater than that of the second signal area 11 , when the target connection device just leaves the second signal area 11 , although it is beyond the connection range of the second wireless network, it is still in the first signal area 10 .
[0086] At this time, the connection between the target connection device and the second wireless network is disconnected, and the target connection device is connected to the first wireless network, and the target connection device can access the network through the first wireless network.
[0087] It can be understood that all device information connected to the first wireless network is maintained in the first device list. The dual-band router 1 can determine whether there is a device currently using the first wireless network based on the first device list, and whether there is a device with permission to connect to the second wireless network among the devices currently connected to the first wireless network.
[0088] In some implementations, after disconnecting the target connection device from the second wireless network and connecting the target connection device to the first wireless network, the method further includes:
[0089] When the target connection device leaves the first signal area, the connection between the target connection device and the first wireless network is disconnected, and the target device information is removed from the first device list.
[0090] It can be understood that when the target connection device leaves the first signal area 10, the target connection device has exceeded the signal coverage of the first wireless network.
[0091] After removing the target device information from the first device list, if the device information corresponding to the device with the permission to connect to the second wireless network does not exist in the first device list and the second device list, the dual-band router 1 meets the energy-saving conditions. At this time, the dual-band router 1 is controlled to stop transmitting the second wireless network.
[0092] The dual-band router control method provided in the above embodiment determines whether the dual-band router meets the preset energy-saving conditions based on the first device list connected to the first wireless network in the first signal area and the second device list connected to the second wireless network in the second signal area. When the dual-band router meets the preset energy-saving conditions, the dual-band router is controlled to stop transmitting the second wireless network, thereby solving the problem of high power consumption of dual-band routers in the prior art.
[0093] See also Figure 8 , Figure 8 A schematic block diagram of the structure of a dual-band router control device provided by an embodiment of the present invention.
[0094] like Figure 8As shown, the dual-band router control device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected via a bus 303, such as an I2C (Inter-integrated Circuit) bus.
[0095] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire dual-band router control device. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0096] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0097] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the embodiment of the present invention, and does not constitute a limitation on the dual-band router control device to which the embodiment of the present invention is applied. The specific server may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0098] The processor is used to run a computer program stored in the memory, and implement any one of the dual-band router control methods provided by the embodiments of the present invention when executing the computer program.
[0099] In one embodiment, the processor is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:
[0100] Controlling the dual-band router to transmit a first wireless network and a second wireless network, wherein the first wireless network covers a first signal area, the second wireless network covers a second signal area, and the first signal area covers the second signal area;
[0101] Acquire a list of first devices connected to a first wireless network in a first signal area, and a list of second devices connected to a second wireless network in a second signal area;
[0102] Determining whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list;
[0103] When the dual-band router meets the energy-saving condition, the dual-band router is controlled to stop transmitting the second wireless network.
[0104] In one embodiment, when the processor determines whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list, the processor includes:
[0105] When it is determined according to the second device list that there is no device connected to the second wireless network, and it is determined according to the first device list that all devices connected to the first wireless network do not have permission to connect to the second wireless network, it is determined that the dual-band router meets the preset energy-saving condition.
[0106] In one embodiment, the processor determines whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list, including:
[0107] When it is determined according to the second device list that there is a device connected to the second wireless network, or when it is determined according to the first device list that there is a device with permission to connect to the second wireless network among the devices connected to the first wireless network, it is determined that the dual-band router does not meet the preset energy-saving condition.
[0108] In one embodiment, the processor is further configured to:
[0109] When the newly added target device information appears in the first device list, judging whether the target connection device corresponding to the target device information has the authority to connect to the second wireless network according to the preset whitelist information;
[0110] When it is determined that the target connection device has the authority to connect to the second wireless network and the dual-band router is in a state of stopping transmitting the second wireless network, the dual-band router is controlled to transmit the second wireless network.
[0111] In one embodiment, when newly added target device information appears in the first device list, the processor further includes:
[0112] When the target connection device enters the first signal area, receiving connection request information sent by the target connection device;
[0113] Acquire target device information and verification information corresponding to the target connection device according to the connection request information, and verify the target connection device according to the verification information;
[0114] When the verification passes, the target connection device is connected to the first wireless network, and the target device information is added to the first device list.
[0115] In one embodiment, when it is determined that the target connection device has the authority to connect to the second wireless network and the dual-band router is in a state of stopping transmitting the second wireless network, the processor controls the dual-band router to transmit the second wireless network, and further includes:
[0116] When the target connection device enters the second signal area, the target device information is removed from the first device list, and the target device information is added to the second device list;
[0117] The target connection device is disconnected from the first wireless network, and the target connection device is connected to the second wireless network.
[0118] In one embodiment, after disconnecting the target connection device from the first wireless network and connecting the target connection device to the second wireless network, the processor further includes:
[0119] When the target connection device leaves the second signal area and is in the first signal area, the target device information is removed from the second device list and the target device information is added to the first device list;
[0120] The target connection device is disconnected from the second wireless network, and the target connection device is connected to the first wireless network.
[0121] In one embodiment, after disconnecting the target connection device from the second wireless network and connecting the target connection device to the first wireless network, the processor further includes:
[0122] When the target connection device leaves the first signal area, the connection between the target connection device and the first wireless network is disconnected, and the target device information is removed from the first device list.
[0123] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the XXXX device described above can refer to the corresponding process in the aforementioned XXXX method embodiment, and will not be repeated here.
[0124] An embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any dual-band router control method provided in the description of the embodiment of the present invention.
[0125] The storage medium may be an internal storage unit of the dual-band router control device described in the foregoing embodiment, such as a hard disk or memory of the dual-band router control device. The storage medium may also be an external storage device of the dual-band router control device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the dual-band router control device.
[0126] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0127] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0128] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A dual-band router control method, characterized in that: Methods include: Controlling the dual-band router to transmit a first wireless network and a second wireless network, wherein the first wireless network covers a first signal area, the second wireless network covers a second signal area, and the first signal area covers the second signal area; Acquire a list of first devices connected to the first wireless network in the first signal area, and a list of second devices connected to the second wireless network in the second signal area; Determining whether the dual-band router meets a preset energy-saving condition according to the device information corresponding to the first device list and the second device list; When the dual-band router meets the energy-saving condition, controlling the dual-band router to stop transmitting the second wireless network; The determining whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list includes: When it is determined according to the second device list that there is no device connected to the second wireless network, and it is determined according to the first device list and the preset whitelist information that the devices connected to the first wireless network do not have the permission to connect to the second wireless network, the dual-band router meets the preset energy-saving condition; The method further comprises: When newly added target device information appears in the first device list, judging whether the target connection device corresponding to the target device information has the authority to connect to the second wireless network according to the preset whitelist information; When it is determined that the target connection device has the authority to connect to the second wireless network and the dual-band router is in a state of stopping transmitting the second wireless network, the dual-band router is controlled to transmit the second wireless network.
2. The method according to claim 1, characterized in that The determining whether the dual-band router meets the preset energy-saving condition according to the device information corresponding to the first device list and the second device list includes: When it is determined according to the second device list that there is a device connected to the second wireless network, or when it is determined according to the first device list that there is a device connected to the first wireless network with permission to connect to the second wireless network, the dual-band router does not meet the preset energy-saving condition.
3. The method according to claim 1, characterized in that When the newly added target device information appears in the first device list, before determining whether the target connection device corresponding to the target device information has the permission to connect to the second wireless network according to the preset whitelist information, the method further includes: When the target connection device enters the first signal area, receiving connection request information sent by the target connection device; Acquire target device information and verification information corresponding to the target connection device according to the connection request information, and verify the target connection device according to the verification information; When the verification passes, the target connection device is connected to the first wireless network, and the target device information is added to the first device list.
4. The method according to claim 1, characterized in that: When it is determined that the target connection device has the authority to connect to the second wireless network and the dual-band router is in a state of stopping transmitting the second wireless network, after controlling the dual-band router to transmit the second wireless network, the method further includes: When the target connection device enters the second signal area, removing the target device information from the first device list and adding the target device information to the second device list; The target connection device is disconnected from the first wireless network, and the target connection device is connected to the second wireless network.
5. The method according to claim 4, characterized in that After disconnecting the target connection device from the first wireless network and connecting the target connection device to the second wireless network, the method further includes: When the target connection device leaves the second signal area and is in the first signal area, removing the target device information from the second device list and adding the target device information to the first device list; The target connection device is disconnected from the second wireless network, and the target connection device is connected to the first wireless network.
6. The method according to claim 5, characterized in that After disconnecting the target connection device from the second wireless network and connecting the target connection device to the first wireless network, the method further includes: When the target connection device leaves the first signal area, the connection between the target connection device and the first wireless network is disconnected, and the target device information is removed from the first device list.
7. A dual-band router control device, characterized in that: The dual-band router control device includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus including a connection communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of the dual-band router control method according to any one of claims 1 to 6 are implemented.
8. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the dual-band router control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Equipment management method and communication device
CN113938990A