CN116744416A - Gateway energy saving method, system, equipment and computer readable storage medium - Google Patents
Gateway energy saving method, system, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN116744416A CN116744416A CN202210876224.3A CN202210876224A CN116744416A CN 116744416 A CN116744416 A CN 116744416A CN 202210876224 A CN202210876224 A CN 202210876224A CN 116744416 A CN116744416 A CN 116744416A
- Authority
- CN
- China
- Prior art keywords
- gateway
- client
- acquiring
- offline
- active state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000002093 peripheral effect Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 4
- 238000005265 energy consumption Methods 0.000 abstract 1
- CURLTUGMZLYLDI-UHFFFAOYSA-N Carbon dioxide Chemical compound O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 229910002092 carbon dioxide Inorganic materials 0.000 description 3
- 239000001569 carbon dioxide Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0203—Power saving arrangements in the radio access network or backbone network of wireless communication networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Power Sources (AREA)
Abstract
The application discloses a gateway energy saving method, a system, equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring the active state of a gateway; judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client; judging whether the client is offline according to the active state of the client, and if the client is offline, starting a secondary energy-saving mode; acquiring local time in the secondary energy-saving mode, and judging whether the local time is at early morning time; and if the time is in the early morning, the secondary energy saving mode is adjusted to be a primary energy saving mode. According to the application, when the user does not use the home gateway equipment, the scheme that each chip and peripheral interface in the control equipment enter the energy-saving mode is adopted, so that the problem that the existing home gateway equipment wastes a large amount of energy is solved, and the effect of saving energy consumption to the greatest extent on the premise of not influencing user experience is achieved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a technology applied to the field of home gateways or routers, and in particular, to a gateway energy saving method, system, device, and computer readable storage medium.
Background
In one year, when a user uses a home gateway or a router, few network terminals are powered off, and the network terminals are in a standby state for a long time, so that the service life of equipment is influenced, and electricity is wasted. The gateway is operated at full load by about 80 degrees for one year according to the power 12W calculation of the common home gateway.
If the operation load of the home gateway is reduced, the power consumption of the home gateway is about 400 hundred million degrees in a year according to the current about 5 hundred million households of the home gateway, about 4000 ten thousand tons of carbon dioxide are generated, 24 tons of carbon dioxide are absorbed in a mu forest in the south for one year, 4000 ten thousand tons of carbon dioxide can be absorbed in a 160 mu forest, and the total value is about 24 hundred million in terms of 59 yuan per ton of carbon transaction.
Therefore, after the home gateway device is deployed in the home of the user, most users have the habit of directly connecting the device with the mains supply, and the home gateway device is not powered off, so that a large amount of energy is wasted.
The present application has been made in view of this.
Disclosure of Invention
The application aims to overcome the defects of the prior art and provide a gateway energy saving method, a system, equipment and a computer readable storage medium.
In order to solve the technical problems, the application adopts the basic conception of the technical scheme that:
in a first aspect, a gateway energy saving method, the method comprising the steps of:
acquiring the active state of a gateway;
judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
judging whether the client is offline according to the active state of the client, and if the client is offline, starting a secondary energy-saving mode;
acquiring local time in the secondary energy-saving mode, and judging whether the local time is at early morning time;
and if the time is in the early morning, the secondary energy saving mode is adjusted to be a primary energy saving mode.
In a preferred embodiment of any of the foregoing solutions, the acquiring an active state of the gateway includes:
acquiring a DHCP lease list;
reading the DHCP lease list, wherein the DHCP lease list represents timeout time for a client to acquire lease;
judging whether the DHCP lease is overtime, if the DHCP lease is overtime and the client does not renew, the server is offline.
In a preferred embodiment of any one of the foregoing solutions, the acquiring an active state of a gateway further includes:
reading address resolution protocol information;
acquiring a message authentication request sent by the address resolution protocol;
if the message authentication instruction is sent to the address resolution protocol, the gateway is online, and if the message authentication instruction is not sent to the gateway, the gateway is offline.
In a preferred embodiment of any one of the foregoing solutions, the acquiring an active state of the client includes:
acquiring the signal intensity of the client in real time;
judging whether the client is successfully authenticated in an associated way according to the signal intensity of the client;
if the client has been successfully authenticated, judging whether the client has entered a connection range.
In a preferred embodiment of any of the foregoing solutions, the determining whether the client has entered a connection range includes:
acquiring a wireless radio frequency signal sent by the client;
if the intensity of the wireless radio frequency signal is < -90dB, the client is not in the connection range.
In a second aspect, a gateway energy saving system includes:
the first acquisition module is used for acquiring the active state of the gateway;
the first judging module is used for judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
the second judging module is used for judging whether the client is offline according to the active state of the client, and if the client is offline, a secondary energy-saving mode is started;
the processing module is used for acquiring the local time in the secondary energy-saving mode, judging whether the local time is in the early morning time, and adjusting the secondary energy-saving mode into the primary energy-saving mode if the local time is in the early morning time.
In a preferred embodiment of any of the foregoing solutions, the first obtaining module includes:
the second acquisition module is used for acquiring a DHCP lease list;
the first reading module is used for reading the DHCP lease list, wherein the DHCP lease list represents the timeout time for obtaining lease by the client;
and the third judging module is used for judging whether the DHCP lease is overtime, and if the DHCP lease is overtime and the client does not renew, the gateway is offline.
In a preferred embodiment of any one of the foregoing solutions, the first obtaining module further includes:
the second reading module is used for reading the address resolution protocol information;
and the third acquisition module is used for acquiring the message authentication request sent by the address resolution protocol, if the message authentication instruction is sent to the address resolution protocol, the gateway is on line, and if the message authentication instruction is not sent to the gateway, the gateway is off line.
In a third aspect, a gateway energy saving apparatus includes:
one or more processors;
and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the gateway energy saving method.
In a fourth aspect, a computer readable storage medium implements the gateway power saving method when the program is executed by a processor.
Compared with the prior art, the gateway energy saving method of the embodiment of the application judges whether the gateway is offline or not by acquiring the active state of the gateway and adopts the corresponding energy saving mode, thereby playing a role in saving resources, judging whether the client is offline or not and starting the corresponding secondary energy saving mode, and solving the problem that the prior home gateway equipment wastes a large amount of energy by adopting the scheme that each chip and peripheral interfaces in the control equipment enter the energy saving mode when the user does not use the home gateway equipment, thereby achieving the effect of saving energy to the maximum extent on the premise of not influencing the user experience.
The following describes the embodiments of the present application in further detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. Some specific embodiments of the application will be described in detail hereinafter by way of example and not by way of limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify identical or similar components or portions thereof, and it should be understood by those skilled in the art that the drawings are not necessarily drawn to scale and that:
fig. 1 is a schematic flow chart of a gateway energy saving method according to an embodiment of the application.
Fig. 2 is a schematic flow chart of acquiring an active state of a gateway according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a gateway energy saving system according to an embodiment of the application.
Fig. 4 is a schematic diagram of a first acquisition module of the gateway energy saving system according to an embodiment of the application.
Fig. 5 is a schematic diagram of a gateway energy saving device according to an embodiment of the present application.
It should be noted that these drawings and the written description are not intended to limit the scope of the inventive concept in any way, but to illustrate the inventive concept to those skilled in the art by referring to the specific embodiments.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings. It will be apparent that the described embodiments are merely some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implying a number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following embodiments of the present application take a gateway energy saving method as an example to describe the scheme of the present application in detail, but the embodiments do not limit the protection scope of the present application.
Examples
As shown in fig. 1, the present application provides a gateway energy saving method, which includes the following steps:
step 1: acquiring the active state of a gateway;
step 2: judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
step 3: judging whether the client is offline according to the active state of the client, and if the client is offline, starting a secondary energy-saving mode;
step 4: acquiring local time in the secondary energy-saving mode, and judging whether the local time is at early morning time;
step 5: and if the time is in the early morning, the secondary energy saving mode is adjusted to be a primary energy saving mode.
In the gateway energy saving method of the embodiment of the application, whether the gateway is offline is judged by acquiring the active state of the gateway, a corresponding energy saving mode is adopted, the effect of saving resources can be achieved by judging whether the client is offline and starting a corresponding secondary energy saving mode, the problem that the existing home gateway equipment wastes a large amount of energy is solved by adopting the scheme that each chip and peripheral interfaces in the control equipment enter the energy saving mode when the user does not use the home gateway equipment, the effect of furthest saving energy is achieved on the premise that the user experience is not influenced is mainly achieved, early morning detection is mainly responsible for local time detection, whether the energy saving mark is judged to be in a boot state after early morning, the energy saving mode is restarted at the moment, the client is in the early morning, the state is in the 2-level energy saving mode at the moment, the time is not active, the state is judged to be out after the time is overtime, the client is not in the 2-level energy saving mode when the user is not online in the daytime, the 5G, the 2-G, LAN port, the USB port and the voice interface are closed, the equipment enters the mode, and the quietly exits after the device is in the silence mode, and the user is in the silence mode after the waiting for the 5 minutes.
As shown in fig. 2, the acquiring the active state of the gateway includes:
step 11: acquiring a DHCP lease list;
step 12: reading the DHCP lease list, wherein the DHCP lease list represents timeout time for a client to acquire lease;
step 13: judging whether the DHCP lease is overtime, if the DHCP lease is overtime and the client does not renew, the server is offline.
In the gateway energy saving method according to the embodiment of the present application, the gateway includes a 5G interface, a 2.4G interface, a VOICE interface, a LAN interface, a USB interface, and an LED interface, when in use, a DHCP lease time may be set, for example, about 30 minutes, after a stop starts after 30 minutes, whether the lease expires is monitored online through a 5G/4G/2G/ethernet or the like, if the DHCP lease expires after 30 minutes is timed out, whether the lease is resumed may be detected again in a certain time, and if it is found that the lease is not resumed again after the judgement, the server is offline.
Preferably, in an embodiment of the present application, the acquiring the active state of the gateway further includes:
step 14: reading address resolution protocol information;
step 15: acquiring a message authentication request sent by the address resolution protocol;
step 16: if the message authentication instruction is sent to the address resolution protocol, the gateway is online, and if the message authentication instruction is not sent to the gateway, the gateway is offline.
In the gateway energy saving method provided by the embodiment of the application, the gateway can be conveniently and further regulated and controlled by judging whether the server is offline, so that different energy saving modes can be regulated according to specific conditions.
Preferably, in an embodiment of the present application, the obtaining the active state of the client includes:
step 21: acquiring the signal intensity of the client in real time;
step 22: judging whether the client is successfully authenticated in an associated way according to the signal intensity of the client;
step 23: if the client has been successfully authenticated in an associated way, judging whether the client has entered a connection range; step 231: acquiring a wireless radio frequency signal sent by the client; step 232: if the intensity of the wireless radio frequency signal is < -90dB, the client is not in the connection range.
In the gateway energy saving method of the embodiment of the application, a router scans the signal intensity of surrounding client mobile phones or flat plates, detects whether all scanned mobile phones or flat plates are successful by WIFI (wireless fidelity) association authentication, and if the mobile phones or flat plates are successful by WIFI association authentication, the mobile phones or flat plates are proved to enter a connection range, wherein Beacon frames near the router can carry RSSI (wireless radio frequency signal intensity) information, and the distance of the mobile phones or flat plates can be judged through the RSSI (wireless radio frequency signal intensity) information, wherein the distance is inversely proportional to the intensity, and if the intensity of the wireless radio frequency signal is < -90dB, the client is not in the connection range.
As shown in fig. 3, a gateway energy saving system includes:
the first acquisition module is used for acquiring the active state of the gateway;
the first judging module is used for judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
the second judging module is used for judging whether the client is offline according to the active state of the client, and if the client is offline, a secondary energy-saving mode is started;
the processing module is used for acquiring the local time in the secondary energy-saving mode, judging whether the local time is in the early morning time, and adjusting the secondary energy-saving mode into the primary energy-saving mode if the local time is in the early morning time.
As shown in fig. 4, in an embodiment of the present application, the first obtaining module includes:
the second acquisition module is used for acquiring a DHCP lease list;
the first reading module is used for reading the DHCP lease list, wherein the DHCP lease list represents the timeout time for obtaining lease by the client;
and the third judging module is used for judging whether the DHCP lease is overtime, and if the DHCP lease is overtime and the client does not renew, the gateway is offline.
Preferably, in an embodiment of the present application, the first obtaining module further includes:
the second reading module is used for reading the address resolution protocol information;
and the third acquisition module is used for acquiring the message authentication request sent by the address resolution protocol, if the message authentication instruction is sent to the address resolution protocol, the gateway is on line, and if the message authentication instruction is not sent to the gateway, the gateway is off line.
Fig. 5 is a schematic structural diagram of a gateway energy-saving device according to an embodiment of the present application. Fig. 5 illustrates a block diagram of an exemplary gateway energy saving apparatus suitable for use in implementing embodiments of the present application. The gateway energy saving device shown in fig. 5 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present application.
As shown in fig. 5, the gateway energy saving device is in the form of a general purpose computing device. Components of the gateway energy saving device may include, but are not limited to: one or more processors or processing units, a memory, a bus that connects the various system components (including the memory and the processing units).
Bus means one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Gateway energy saving devices typically include a variety of computer system readable media. Such media can be any available media that can be accessed by the gateway energy saving device and includes both volatile and nonvolatile media, removable and non-removable media.
The memory may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory. The gateway power saving device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, a storage system may be used to read from or write to a non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be coupled to the bus through one or more data medium interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the application.
A program/utility having a set (at least one) of program modules may be stored, for example, in a memory, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules typically carry out the functions and/or methods of the embodiments described herein.
The gateway energy saving device may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), with one or more devices that enable a user to interact with the gateway energy saving device, and/or with any device (e.g., network card, modem, etc.) that enables the gateway energy saving device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. Also, the gateway energy saving device may communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet, through a network adapter. As shown, the network adapter communicates with other modules of the gateway energy saving device via a bus. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the gateway energy saving device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit executes various functional applications and data processing by running programs stored in the memory, for example, to implement the gateway energy saving method provided by any embodiment of the present application. Namely: acquiring the active state of a gateway; judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client; judging whether the client is offline according to the active state of the client, and if the client is offline, starting a secondary energy-saving mode; acquiring local time in the secondary energy-saving mode, and judging whether the local time is at early morning time; and if the time is in the early morning, the secondary energy saving mode is adjusted to be a primary energy saving mode.
The embodiment of the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a stack splitting processing method according to any embodiment of the present application, the method comprising:
acquiring the active state of a gateway;
judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
judging whether the client is offline according to the active state of the client, and if the client is offline, starting a secondary energy-saving mode;
acquiring local time in the secondary energy-saving mode, and judging whether the local time is at early morning time;
and if the time is in the early morning, the secondary energy saving mode is adjusted to be a primary energy saving mode.
The computer storage media of embodiments of the application may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of remote computers, the remote computer may be connected to the user computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected through the internet using an internet service provider).
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or the technical features of the components or the whole components can be replaced equivalently; such modifications and substitutions do not depart from the spirit of the application.
Claims (10)
1. A gateway energy saving method, the method comprising the steps of:
acquiring the active state of a gateway;
judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
judging whether the client is offline according to the active state of the client, and if the client is offline, starting a secondary energy-saving mode;
acquiring local time in the secondary energy-saving mode, and judging whether the local time is at early morning time;
and if the time is in the early morning, the secondary energy saving mode is adjusted to be a primary energy saving mode.
2. The gateway power saving method of claim 1, wherein the obtaining the active state of the gateway comprises:
acquiring a DHCP lease list;
reading the DHCP lease list, wherein the DHCP lease list represents timeout time for a client to acquire lease;
judging whether the DHCP lease is overtime, if the DHCP lease is overtime and the client does not renew, the server is offline.
3. The gateway power saving method of claim 2, wherein the obtaining the active state of the gateway further comprises:
reading address resolution protocol information;
acquiring a message authentication request sent by the address resolution protocol;
if the message authentication instruction is sent to the address resolution protocol, the gateway is online, and if the message authentication instruction is not sent to the gateway, the gateway is offline.
4. The gateway power saving method of claim 2, wherein the obtaining the active state of the client comprises:
acquiring the signal intensity of the client in real time;
judging whether the client is successfully authenticated in an associated way according to the signal intensity of the client;
if the client has been successfully authenticated, judging whether the client has entered a connection range.
5. The gateway power saving method of claim 4, wherein: the determining whether the client has entered a connection range includes:
acquiring a wireless radio frequency signal sent by the client;
if the intensity of the wireless radio frequency signal is < -90dB, the client is not in the connection range.
6. A gateway energy saving system, characterized by: comprising the following steps:
the first acquisition module is used for acquiring the active state of the gateway;
the first judging module is used for judging whether the gateway is offline according to the active state of the gateway, and if the gateway is offline, acquiring the active state of the client;
the second judging module is used for judging whether the client is offline according to the active state of the client, and if the client is offline, a secondary energy-saving mode is started;
the processing module is used for acquiring the local time in the secondary energy-saving mode, judging whether the local time is in the early morning time, and adjusting the secondary energy-saving mode into the primary energy-saving mode if the local time is in the early morning time.
7. The gateway energy saving system of claim 6, wherein: the first acquisition module includes:
the second acquisition module is used for acquiring a DHCP lease list;
the first reading module is used for reading the DHCP lease list, wherein the DHCP lease list represents the timeout time for obtaining lease by the client;
and the third judging module is used for judging whether the DHCP lease is overtime, and if the DHCP lease is overtime and the client does not renew, the gateway is offline.
8. The gateway energy saving system of claim 7, wherein: the first acquisition module further includes:
the second reading module is used for reading the address resolution protocol information;
and the third acquisition module is used for acquiring the message authentication request sent by the address resolution protocol, if the message authentication instruction is sent to the address resolution protocol, the gateway is on line, and if the message authentication instruction is not sent to the gateway, the gateway is off line.
9. A gateway energy saving apparatus, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the gateway power saving method of any of claims 1-5.
10. A computer readable storage medium, characterized in that the program, when executed by a processor, implements a gateway power saving method according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210876224.3A CN116744416A (en) | 2022-07-21 | 2022-07-21 | Gateway energy saving method, system, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210876224.3A CN116744416A (en) | 2022-07-21 | 2022-07-21 | Gateway energy saving method, system, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116744416A true CN116744416A (en) | 2023-09-12 |
Family
ID=87905001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210876224.3A Pending CN116744416A (en) | 2022-07-21 | 2022-07-21 | Gateway energy saving method, system, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116744416A (en) |
-
2022
- 2022-07-21 CN CN202210876224.3A patent/CN116744416A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7792066B2 (en) | Wireless wake-on-LAN power management | |
US9152195B2 (en) | Wake on cloud | |
CN102572836B (en) | Access the method for wireless network, portable mobile terminal and Radio Network System | |
US20080162682A1 (en) | Maintaining network connectivity while operating in low power mode | |
US20050165909A1 (en) | Data processing system and method for permitting a server to remotely access asset information of a mobile client | |
US10251130B2 (en) | Adaptive and static keep alive message detection and simulation | |
JP2012518821A (en) | Wireless module built-in computer and its standby and recovery method | |
CN109309948B (en) | Communication method and device of wireless local area network, station equipment and access point equipment | |
US20200260277A1 (en) | Method for wireless access authentication | |
US20200288403A1 (en) | Smart power saving method for terminal, terminal, and device having memory function | |
CN112769876B (en) | Method, device, equipment and medium for acquiring equipment channel information | |
US10945207B2 (en) | Beacon signal processing system and filtering method of reducing wake-up frequency | |
US8086879B2 (en) | Powering on devices via intermediate computing device | |
WO2024027745A1 (en) | Network connection method, electronic device, readable storage medium, and chip | |
CN116744416A (en) | Gateway energy saving method, system, equipment and computer readable storage medium | |
US10772041B2 (en) | Beacon signal processing system | |
CN111314495A (en) | Communication method, device, equipment, storage medium and system based on LoRaWAN of Internet of things | |
CN113612659B (en) | Device networking test method and device, electronic device and storage medium | |
CN215867831U (en) | Dormancy awakening device and NAS storage system | |
CN116691556B (en) | Vehicle control method, device, system and storage medium | |
CN113242561B (en) | AP deployment method and device for transformer substation, electronic equipment and storage medium | |
CN114339969B (en) | Data receiving method, device, equipment and storage medium of low-power-consumption network | |
KR102566967B1 (en) | Iot service system based on wireless tag | |
WO2024067356A1 (en) | Network connection method and apparatus, and electronic device and readable storage medium | |
CN111800848B (en) | Smart card control method and device, terminal equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |