CN115242748A - Method for reducing power consumption of computer system and low-power-consumption computer system - Google Patents
Method for reducing power consumption of computer system and low-power-consumption computer system Download PDFInfo
- Publication number
- CN115242748A CN115242748A CN202210780815.0A CN202210780815A CN115242748A CN 115242748 A CN115242748 A CN 115242748A CN 202210780815 A CN202210780815 A CN 202210780815A CN 115242748 A CN115242748 A CN 115242748A
- Authority
- CN
- China
- Prior art keywords
- address
- response
- destination
- message
- request message
- 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 35
- 230000004044 response Effects 0.000 claims abstract description 156
- 238000004891 communication Methods 0.000 claims abstract description 69
- 238000010586 diagram Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Classifications
-
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- 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
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a method for reducing power consumption of a computer system and a low-power-consumption computer system, which relate to the technical field of communication and comprise the following steps: when the host central processing unit is in a low power consumption state, and the communication equipment receives an address request message transmitted by an external network, and judges that the address request message needs to be responded according to a target IP address in the address request message, the communication equipment generates a response message according to the address request message and the MAC address of the communication equipment and transmits the response message to a sender of the address request message through the external network, so that the host central processing unit is kept in the low power consumption state. The method has the advantages that the communication equipment directly responds to the address request message transmitted in a multicast or broadcast mode, so that scattered and frequent broadcast and multicast data packets cannot or less touch the host central processing unit, the influence of the broadcast and multicast data packets on the power consumption of the host central processing unit is effectively reduced, and the host central processing unit has more chances to be kept in a low-power consumption state when no network application runs.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for reducing power consumption of a computer system and a low-power-consumption computer system.
Background
When a data packet is received by an existing operating system, such as a windows operating system and a linux operating system, a host cpu (host central processing unit) exits from a low power consumption state to process the data packet, for example, an intel cpu exits from a C10 state. This is inevitable when handling communication packets. However, many times the system is not working with communication apps, but there are many multicast and broadcast packets on the external network, such as ARP request, NS request, etc., which will frequently wake up host cpu to let it exit the low power state to respond.
Specifically, when the network card receives the multicast and broadcast packets, the network card communicates with the host root node in a direct memory access writing mode to report the received multicast and broadcast packets, and specifies a response time, which is usually 2us, the host root node triggers the host cpu to exit from the low power consumption state for response, after the response, the host cpu is still in the wake-up state until the network card waits for a period of time without receiving the multicast and broadcast packets, and a longer response time, such as 900ms, is usually reported, at this time, the host cpu will not enter into the low power consumption state again, in other words, the host cpu needs to exit from the low power consumption state each time the network card responds to the multicast and broadcast packets, and cannot enter into the low power consumption state for a subsequent period of time, which causes unnecessary power consumption.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for reducing the power consumption of a computer system, wherein the computer system comprises a host central processing unit and a communication device, and the host central processing unit is communicated with an external network through the communication device;
the method for reducing the power consumption of the computer system comprises the following steps:
step S1, when the host central processing unit is in a low power consumption state and the communication equipment receives an address request message transmitted by the external network, judging whether the address request message needs to be responded according to a target IP address in the address request message:
if not, returning to the step S1;
if yes, turning to step S2;
and S2, the communication equipment generates a response message according to the address request message and the MAC address of the communication equipment and transmits the response message to a sender of the address request message through the external network, so that the host central processing unit keeps the low power consumption state.
Preferably, the communication device is associated with a corresponding register, and an IP address of the computer system is stored in the register;
in step S1, when the communication device receives the address request message and determines that the destination IP address in the address request message is consistent with the IP address stored in the register, it indicates that the address request message needs to be responded.
Preferably, before executing step S1, the method further includes:
when the computer system is started after power failure every time, the IP address of the computer system is actively written into the register of the communication equipment through an operating system;
or when the computer system is started after power failure every time, the communication equipment actively acquires the IP address of the computer system and stores the IP address into the register.
Preferably, the step S1 further includes:
and in the running process of the computer system after starting, when the IP address of the computer system is updated, the updated IP address is actively written into the register of the communication equipment so as to synchronously update the IP address stored in the register.
Preferably, the address request packet is a broadcast data packet or a multicast data packet.
Preferably, the address request message includes an address resolution protocol message sent by the sender in a broadcast manner, and the generation process of the response message in step S2 includes:
step S21a, the communication equipment copies a source MAC address, a source IP address and a destination IP address from the address resolution protocol message respectively;
step S22a, the communication device writes the copied source MAC address into a destination MAC address field of the response packet, writes the MAC address of the communication device into a source MAC address field of the response packet, writes the copied destination IP address into a source IP address field of the response packet, writes the copied source IP address into a destination IP address field of the response packet, configures the OP field of the response packet to 2, and then calculates and writes a CRC value into the CRC field of the response packet to generate the response packet corresponding to the arp packet.
Preferably, the address request message includes a neighbor request message sent by the sender in a multicast manner, and the generating process of the response message in step S2 includes:
step S21b, the communication equipment copies a source MAC address, a source IP address, a destination IP address and a destination address from the neighbor request message respectively;
step S22b, the communication device writes the copied source MAC address into a destination MAC address field of the response packet, writes the copied source IP address into a destination IP address field of the response packet, writes the MAC address of the communication device into a source MAC address field of the response packet, writes the copied destination IP address into a source IP address field of the response packet, writes the copied destination address into a destination address field of the response packet, calculates a load length in the response packet and writes the load length field, sets an extension segment of the response packet, and then calculates a CRC value and writes the CRC field in the response packet to generate the response packet corresponding to the neighbor request packet.
The invention also provides a low-power computer system, which applies the method for reducing the power consumption of the computer system, and the low-power computer system comprises:
the host central processing unit is communicated with an external network through a communication device;
the communication device includes:
a message judgment unit, configured to output a response signal when the host central processing unit receives an address request message transmitted by the external network in a low power consumption state and a destination IP address in the address request message needs to respond to the address request message; and the message response unit is connected with the message judgment unit and used for generating a response message according to the address request message and the MAC address of the message response unit and transmitting the response message to a sender of the address request message through the external network when receiving the response signal so that the host central processing unit keeps the low power consumption state.
Preferably, the address request message includes an address resolution protocol message sent by the sender in a broadcast manner, and the message response unit includes:
a first copy subunit, configured to copy a source MAC address, a source IP address, and a destination IP address from the arp packet, respectively;
and the first generating subunit is connected to the first copying subunit and configured to write the copied source MAC address into a destination MAC address field of the response packet, write the MAC address of the first generating subunit into the source MAC address field of the response packet, write the copied destination IP address into a source IP address field of the response packet, write the copied source IP address into a destination IP address field of the response packet, configure the OP field of the response packet to 2, calculate a CRC value and write the CRC value into the CRC field of the response packet, so as to generate the response packet corresponding to the arp packet.
Preferably, the address request message includes a neighbor request message sent by the sender in a multicast manner, and the message response unit includes:
a second copy subunit, configured to copy a source MAC address, a source IP address, a destination IP address, and a destination address from the neighbor request message, respectively;
and the second generating subunit is connected with the second copying subunit and is used for writing the copied source MAC address into a destination MAC address field of the response message, writing the copied source IP address into a destination IP address field of the response message, writing the MAC address of the second generating subunit into a source MAC address field of the response message, writing the copied destination IP address into a source IP address field of the response message, writing the copied destination address into a destination address field of the response message, calculating the load length in the response message, writing the load length field in the response message, setting an expansion segment of the response message, and then calculating a CRC value and writing the CRC value into the CRC field of the response message to generate the response message corresponding to the neighbor request message.
The technical scheme has the following advantages or beneficial effects: the communication equipment directly responds to the address request message transmitted in a multicast or broadcast mode, so that scattered and frequent broadcast and multicast data packets cannot or less touch the host central processing unit, the influence of the broadcast and multicast packets on the power consumption of the host central processing unit is effectively reduced, and the host central processing unit has more chances to be kept in a low-power consumption state when no network application runs.
Drawings
FIG. 1 is a flow chart illustrating a method for reducing power consumption of a computer system according to a preferred embodiment of the invention;
fig. 2 is a schematic diagram illustrating a generation process of a corresponding response message when an address request message includes an address resolution protocol message sent by a sender in a broadcast manner according to a preferred embodiment of the present invention;
FIG. 3 is a diagram illustrating the message structure of an ARP message and a response message corresponding to the ARP message in the preferred embodiment of the invention;
fig. 4 is a schematic diagram illustrating a generation process of a corresponding response message when an address request message includes a neighbor request message sent by a sender in a multicast manner in a preferred embodiment of the present invention;
FIG. 5 is a diagram illustrating a message structure of a neighbor solicitation message according to a preferred embodiment of the present invention;
fig. 6 is a message structure diagram of a response message corresponding to a neighbor solicitation message in a preferred embodiment of the present invention;
FIG. 7 is a block diagram of a low power computer system according to a preferred embodiment of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present invention is not limited to the embodiment, and other embodiments may be included in the scope of the present invention as long as the gist of the present invention is satisfied.
In a preferred embodiment of the present invention, based on the above problems in the prior art, a method for reducing power consumption of a computer system is provided, where the computer system includes a host central processing unit and a communication device, and the host central processing unit communicates with an external network through the communication device;
as shown in fig. 1, the method for reducing power consumption of a computer system comprises:
step S1, when a host central processing unit is in a low power consumption state and a communication device receives an address request message transmitted by an external network, whether the address request message needs to be responded is judged according to a target IP address in the address request message:
if not, returning to the step S1;
if yes, turning to step S2;
and S2, the communication equipment generates a response message according to the address request message and the MAC address of the communication equipment and transmits the response message to a sender of the address request message through an external network, so that the central processing unit of the host computer keeps a low power consumption state.
Specifically, in this embodiment, the communication device is a hardware device installed in a computer system, and includes but is not limited to a network card, a PCIE interface device, and a USB interface device. When the communication equipment receives an address request message transmitted by an external network, whether the address request message needs to be responded or not is determined, if the address request message does not need to be responded, the address request message is directly ignored, and if the address request message needs to be responded, the communication equipment directly generates a corresponding response message, namely the communication equipment completely accepts the processing of the address request message, including receiving, judging and responding, and the whole processing process does not need to touch a host central processing unit, so that the host central processing unit has more chances to be kept in a low power consumption state when no network application runs.
In the preferred embodiment of the invention, the communication equipment is associated with a corresponding register, and the register stores the IP address of the computer system;
in step S1, when the communication device receives the address request message and determines that the destination IP address in the address request message is consistent with the IP address stored in the register, it indicates that the address request message needs to be responded.
Specifically, in this embodiment, since the register stores the IP address of the computer system itself, if the destination IP address in the address request message is consistent with the IP address stored in the register, it is indicated that the address request message is sent to the computer system, and the destination IP address is for acquiring the MAC address of the computer system, and at this time, a response needs to be made; if the destination IP address in the address request message is not consistent with the IP address stored in the register, the address request message is sent to other computer systems, and the computer systems do not need to respond and can directly ignore the address request message.
In a preferred embodiment of the present invention, before executing step S1, the method further includes:
when the computer system is started after power failure every time, the IP address of the computer system is actively written into a register of the communication equipment through an operating system;
or when the computer system is started after power failure every time, the communication equipment actively acquires the IP address of the computer system and stores the IP address into the register.
Specifically, in this embodiment, it is considered that data in the register is lost when the computer system is powered down, and therefore, when the computer system is started after each power down, the IP address of the computer system is rewritten into the register of the communication device for subsequent processing of the address request packet.
In a preferred embodiment of the present invention, step S1 further includes:
in the running process of the computer system after starting, when the IP address of the computer system is updated, the updated IP address is actively written into a register of the communication equipment so as to synchronously update the IP address stored in the register.
In a preferred embodiment of the present invention, the address request message is a broadcast packet or a multicast packet.
In a preferred embodiment of the present invention, the address request message includes an address resolution protocol message sent by the sender in a broadcast manner, and in step S2, as shown in fig. 2, the generation process of the response message includes:
step S21a, the communication equipment copies a source MAC address, a source IP address and a destination IP address from an address resolution protocol message respectively;
step S22a, the communication equipment writes the copied source MAC address into a destination MAC address field of a response message, writes the MAC address of the communication equipment into the source MAC address field of the response message, writes the copied destination IP address into a source IP address field of the response message, writes the copied source IP address into a destination IP address field of the response message, configures an OP field of the response message to be 2, then calculates a CRC value and writes the CRC value into a CRC field of the response message to generate the response message corresponding to the address resolution protocol message.
Specifically, in this embodiment, an Address Resolution Protocol (ARP) message is used as a sender to broadcast an Address request message including a destination IP Address to all computer systems in a network, and receive a response message to obtain a MAC Address (physical Address) of a target. Based on this, when the communication device receives the address resolution protocol message, it first judges whether the address request message is sent to itself based on the destination IP address in the address request message and its own IP address, and if so, generates a response message in a format corresponding to the address resolution protocol message.
More specifically, the datagram format corresponding to the address resolution protocol packet is as shown in fig. 3, and includes a destination MAC field, a source MAC field, a frame type field, a data field, and a CRC field, where the data field is typically an IP datagram of 46-1500B, and the address resolution protocol packet and the corresponding response packet have the same packet structure, and specifically include a hardware type field (2B), a protocol type field (2B), a hardware size field (1B), a protocol size field (1B), an Op field (2B), a source MAC field (6B), a source IP field (4B), a destination MAC field (6B), and a destination IP (4B). The sender sends an address resolution protocol message to a destination party in a broadcasting manner, and the destination party feeds back a response message to the sender, so as to obtain an MAC address of the destination party, it can be understood that only a source IP address in the address resolution protocol message is required to be used as a destination IP address of the response message, the obtained MAC address is used as a source MAC address, and the source MAC address in the address resolution protocol message is used as a destination MAC address, the Op field is configured to be 2 for representing that the message is the response message, a calculation manner of a CRC value is the prior art, and a specific calculation manner is not described herein again.
In a preferred embodiment of the present invention, the address request message includes a neighbor request message sent by the sender in a multicast manner, and in step S2, as shown in fig. 4, the generation process of the response message includes:
step S21b, the communication equipment copies a source MAC address, a source IP address, a destination IP address and a destination address from the neighbor request message respectively;
and S22b, the communication equipment writes the copied source MAC address into a destination MAC address field of the response message, writes the copied source IP address into a destination IP address field of the response message, writes the MAC address of the communication equipment into the source MAC address field of the response message, writes the copied destination IP address into the source IP address field of the response message, writes the copied destination address into the destination address field of the response message, calculates the load length in the response message and writes the load length field, sets an expansion segment of the response message, and then calculates a CRC value and writes the CRC value into a CRC field of the response message so as to generate the response message corresponding to the neighbor request message.
Specifically, in this embodiment, the neighbor solicitation message is also for acquiring the MAC address of the target computer system, and is different from the arp message in that the neighbor solicitation message is sent in a multicast manner, and the structures of the corresponding messages are also different. As shown in fig. 5 and fig. 6, the configuration modes of the source IP address, the destination IP address, the source MAC address, the destination MAC address, and the CRC field are similar to the arp packet, and are not described herein again. As shown in fig. 5, setting an expansion segment of the response packet for the response packet corresponding to the neighbor solicitation packet includes:
setting a message type field in the expansion segment to be 136 to indicate that the message type field is a Neighbor request message (NS) response;
setting the R field in the expansion segment to be 0 to indicate that the routing response is not needed;
setting the S field in the extension segment to be 1 to indicate that the S field is the response of NS;
setting the O field in the expansion segment to be 1 to indicate that the neighbor cache table entry needs to be covered;
setting a type field in option in the expansion section as 2 to represent a destination link layer address;
and setting the expansion segment to perform a checksum calculation and writing the checksum into a checksum field.
The present invention also provides a low power consumption computer system, which applies the method for reducing the power consumption of the computer system, as shown in fig. 7, the low power consumption computer system includes:
the host computer central processing unit 1 is communicated with an external network through a communication device 2;
the communication apparatus 2 includes:
a message determining unit 21, configured to output a response signal when the host central processing unit receives an address request message transmitted by an external network in a low power consumption state and needs to respond to the address request message according to a destination IP address in the address request message;
and the message response unit 22 is connected with the message judgment unit 21, and is used for generating a response message according to the address request message and the MAC address of the message when receiving the response signal, and transmitting the response message to a sender of the address request message through an external network, so that the host central processing unit keeps a low power consumption state.
In a preferred embodiment of the present invention, the address request message includes an address resolution protocol message sent by the sender in a broadcast manner, and the message response unit 22 includes:
a first copy subunit 221a, configured to copy a source MAC address, a source IP address, and a destination IP address from the arp packet, respectively;
the first generating subunit 222a is connected to the first copying subunit 221a, and is configured to write the copied source MAC address into a destination MAC address field of the response packet, write the MAC address of the first generating subunit into a source MAC address field of the response packet, write the copied destination IP address into a source IP address field of the response packet, write the copied source IP address into a destination IP address field of the response packet, configure an OP field of the response packet to 2, then calculate a CRC value and write the CRC value into a CRC field of the response packet, so as to generate the response packet corresponding to the address resolution protocol packet.
In a preferred embodiment of the present invention, the address request message includes a neighbor request message sent by the sender in a multicast manner, and the message response unit 22 includes:
a second copy subunit 221b, configured to copy the source MAC address, the source IP address, the destination IP address, and the destination address from the neighbor request packet, respectively;
the second generating subunit 222b is connected to the second copying subunit 221b, and is configured to write the copied source MAC address into the destination MAC address field of the response packet, write the copied source IP address into the destination IP address field of the response packet, write the MAC address of the second generating subunit into the source MAC address field of the response packet, write the copied destination IP address into the source IP address field of the response packet, write the copied destination address into the destination address field of the response packet, calculate the load length in the response packet and write the load length field, set an expansion segment of the response packet, and then calculate a CRC value and write the CRC field of the response packet, so as to generate the response packet corresponding to the neighbor request packet.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A method for reducing power consumption of a computer system, wherein the computer system comprises a host central processing unit and a communication device, the host central processing unit communicates with an external network through the communication device;
the method for reducing the power consumption of the computer system comprises the following steps:
step S1, when the host central processing unit is in a low power consumption state and the communication equipment receives an address request message transmitted by the external network, judging whether the address request message needs to be responded according to a target IP address in the address request message:
if not, returning to the step S1;
if yes, turning to step S2;
and S2, the communication equipment generates a response message according to the address request message and the MAC address of the communication equipment and transmits the response message to a sender of the address request message through the external network so as to enable the host central processing unit to keep the low power consumption state.
2. The method for reducing power consumption of a computer system according to claim 1, wherein the communication device is associated with a corresponding register, and an IP address of the computer system is stored in the register;
in step S1, when the communication device receives the address request packet and determines that the destination IP address in the address request packet is consistent with the IP address stored in the register, it indicates that the address request packet needs to be responded.
3. The method for reducing power consumption of a computer system according to claim 2, wherein before executing step S1, the method further comprises:
when the computer system is started after power failure every time, the IP address of the computer system is actively written into the register of the communication equipment through an operating system;
or when the computer system is started after power failure every time, the communication equipment actively acquires the IP address of the computer system and stores the IP address into the register.
4. The method for reducing power consumption of a computer system according to claim 2, wherein the step S1 further comprises:
and in the running process of the computer system after starting, when the IP address of the computer system is updated, the updated IP address is actively written into the register of the communication equipment so as to synchronously update the IP address stored in the register.
5. The method of claim 1, wherein the address request message is a broadcast packet or a multicast packet.
6. The method according to claim 1, wherein the address request message includes an address resolution protocol message sent by the sender in a broadcast manner, and the step S2 includes the step of generating the response message by:
step S21a, the communication equipment copies a source MAC address, a source IP address and a destination IP address from the address resolution protocol message respectively;
step S22a, the communication device writes the copied source MAC address into a destination MAC address field of the response packet, writes the MAC address of the communication device into a source MAC address field of the response packet, writes the copied destination IP address into a source IP address field of the response packet, writes the copied source IP address into a destination IP address field of the response packet, configures the OP field of the response packet to 2, and then calculates and writes a CRC value into the CRC field of the response packet to generate the response packet corresponding to the arp packet.
7. The method according to claim 1, wherein the address request message includes a neighbor request message sent by the sender in a multicast manner, and the step S2 includes the step of generating the response message by:
step S21b, the communication equipment copies a source MAC address, a source IP address, a destination IP address and a destination address from the neighbor request message respectively;
step S22b, the communication device writes the copied source MAC address into a destination MAC address field of the response packet, writes the copied source IP address into a destination IP address field of the response packet, writes the MAC address of the communication device into a source MAC address field of the response packet, writes the copied destination IP address into a source IP address field of the response packet, writes the copied destination address into a destination address field of the response packet, calculates a load length in the response packet and writes the load length field, sets an extension segment of the response packet, and then calculates a CRC value and writes the CRC field in the response packet to generate the response packet corresponding to the neighbor request packet.
8. A low power computer system, wherein the method for reducing power consumption of a computer system according to any one of claims 1 to 7 is applied, the low power computer system comprising:
the host central processing unit is communicated with an external network through a communication device;
the communication device includes:
a message judgment unit, configured to output a response signal when the host central processing unit receives an address request message transmitted by the external network in a low power consumption state and a destination IP address in the address request message needs to respond to the address request message;
and the message response unit is connected with the message judgment unit and used for generating a response message according to the address request message and the MAC address of the message response unit and transmitting the response message to a sender of the address request message through the external network when receiving the response signal so that the host central processing unit keeps the low power consumption state.
9. The computer system of claim 8, wherein the address request message includes an address resolution protocol message sent by the sender in a broadcast manner, and the message response unit includes:
a first copy subunit, configured to copy a source MAC address, a source IP address, and a destination IP address from the arp packet, respectively;
and the first generating subunit is connected to the first copying subunit and configured to write the copied source MAC address into a destination MAC address field of the response packet, write the MAC address of the first generating subunit into the source MAC address field of the response packet, write the copied destination IP address into a source IP address field of the response packet, write the copied source IP address into a destination IP address field of the response packet, configure the OP field of the response packet to 2, calculate a CRC value and write the CRC value into the CRC field of the response packet, so as to generate the response packet corresponding to the arp packet.
10. The computer system with low power consumption of claim 8, wherein the address request message includes a neighbor request message sent by the sender in a multicast manner, and the message response unit includes:
the second copy subunit is used for copying a source MAC address, a source IP address, a destination IP address and a destination address from the neighbor request message respectively;
and the second generating subunit is connected with the second copying subunit and is used for writing the copied source MAC address into a destination MAC address field of the response message, writing the copied source IP address into a destination IP address field of the response message, writing the MAC address of the second generating subunit into a source MAC address field of the response message, writing the copied destination IP address into a source IP address field of the response message, writing the copied destination address into a destination address field of the response message, calculating the load length in the response message, writing the load length field in the response message, setting an expansion segment of the response message, and then calculating a CRC value and writing the CRC value into the CRC field of the response message to generate the response message corresponding to the neighbor request message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210780815.0A CN115242748A (en) | 2022-07-04 | 2022-07-04 | Method for reducing power consumption of computer system and low-power-consumption computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210780815.0A CN115242748A (en) | 2022-07-04 | 2022-07-04 | Method for reducing power consumption of computer system and low-power-consumption computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115242748A true CN115242748A (en) | 2022-10-25 |
Family
ID=83670589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210780815.0A Pending CN115242748A (en) | 2022-07-04 | 2022-07-04 | Method for reducing power consumption of computer system and low-power-consumption computer system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115242748A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090135751A1 (en) * | 2007-11-26 | 2009-05-28 | Microsoft Corporation | Low Power Operation of Networked Devices |
CN102150103A (en) * | 2008-07-14 | 2011-08-10 | 加利福尼亚大学董事会 | Architecture to enable energy savings in networked computers |
CN103052135A (en) * | 2012-11-30 | 2013-04-17 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for processing data of wireless fidelity (Wi-Fi) used on mobile terminal |
CN103404084A (en) * | 2012-11-21 | 2013-11-20 | 华为技术有限公司 | MAC address forced forwarding device and method |
CN104219340A (en) * | 2014-09-25 | 2014-12-17 | 杭州华三通信技术有限公司 | ARP (Address Resolution Protocol) response proxy method and apparatus |
CN104301123A (en) * | 2014-10-05 | 2015-01-21 | 陈为人 | Electricity saving method and device for household cloud computing host computer |
CN111130981A (en) * | 2019-12-24 | 2020-05-08 | 锐捷网络股份有限公司 | Proxy response method and device for MAC address |
CN113347155A (en) * | 2021-05-10 | 2021-09-03 | 西安交大捷普网络科技有限公司 | Method, system and device for defending ARP spoofing |
-
2022
- 2022-07-04 CN CN202210780815.0A patent/CN115242748A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090135751A1 (en) * | 2007-11-26 | 2009-05-28 | Microsoft Corporation | Low Power Operation of Networked Devices |
CN102150103A (en) * | 2008-07-14 | 2011-08-10 | 加利福尼亚大学董事会 | Architecture to enable energy savings in networked computers |
CN103404084A (en) * | 2012-11-21 | 2013-11-20 | 华为技术有限公司 | MAC address forced forwarding device and method |
CN103052135A (en) * | 2012-11-30 | 2013-04-17 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for processing data of wireless fidelity (Wi-Fi) used on mobile terminal |
CN104219340A (en) * | 2014-09-25 | 2014-12-17 | 杭州华三通信技术有限公司 | ARP (Address Resolution Protocol) response proxy method and apparatus |
CN104301123A (en) * | 2014-10-05 | 2015-01-21 | 陈为人 | Electricity saving method and device for household cloud computing host computer |
CN111130981A (en) * | 2019-12-24 | 2020-05-08 | 锐捷网络股份有限公司 | Proxy response method and device for MAC address |
CN113347155A (en) * | 2021-05-10 | 2021-09-03 | 西安交大捷普网络科技有限公司 | Method, system and device for defending ARP spoofing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080301322A1 (en) | Network controller, information processing apparatus and wake-up control method | |
US5915119A (en) | Proxy terminal for network controlling of power managed user terminals in suspend mode | |
US7324518B2 (en) | Method and apparatus for transmitting wake-up packets over a network data processing system | |
CN102209064B (en) | Method of using VRRP to provide backup for access equipment and VRRP gateway equipment | |
US7840706B1 (en) | Wake-on-LAN design in a load balanced environment | |
US11057813B2 (en) | Method and apparatus for transmitting downlink data | |
CN108712783B (en) | CAPWAP tunnel establishment method and device | |
JP2008071267A (en) | Power saving system and power saving program | |
CN115242748A (en) | Method for reducing power consumption of computer system and low-power-consumption computer system | |
US10587428B2 (en) | Communication apparatus, method for controlling communication apparatus, and storage medium | |
CN103986588A (en) | Computer system and far-end remote control method of computer device | |
CN115685971A (en) | Vehicle diagnosis method and related device | |
US20150363178A1 (en) | Deploying software in a computer network | |
CN113472912A (en) | ARP cache table item updating method, VTEP, VM and device | |
US9634987B2 (en) | Obtaining a MAC address from an external source | |
JP2012109831A (en) | Communication system | |
JP4880128B2 (en) | Duality of link integrity for network devices in cold power condition | |
CN113711195A (en) | Transmission device, information processing device, and data transmission method | |
JP3566127B2 (en) | Communication address management device and communication address control method | |
CN115208794B (en) | Timer adjustment method, device, equipment and medium of Profibus-DP protocol | |
JP5994226B2 (en) | Network controller, wakeup control method, and information processing apparatus | |
JP6794202B2 (en) | Communication equipment and its control method | |
JPH09162887A (en) | Terminal connection method on network and network system | |
WO2020191671A1 (en) | Two-bus based low-power-consumption data synchronization method and system | |
JP6480747B2 (en) | Communication device, control method, and program |
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 |