Search

CN-122027473-A - Energy saving method and device

CN122027473ACN 122027473 ACN122027473 ACN 122027473ACN-122027473-A

Abstract

The application provides an energy saving method, which comprises the steps that a first device obtains first energy saving indication information, wherein the first energy saving indication information comprises a first energy saving level, the first energy saving level indicates first energy saving depth of a multi-section channel included in a link for transmitting data to a second device by the first device, and the first energy saving depth indicates first energy saving type of the multi-section channel. The first device transmits first energy saving instruction information to the second device. Accordingly, after receiving the first energy saving instruction information, the second device may control itself to switch to the first energy saving level so as to operate at the first energy saving level. In the application, the second device can realize channel-level energy-saving control based on the first energy-saving indication information sent by the first device, and can control based on the first energy-saving depth when the energy-saving control is executed for a plurality of channels, and the finer degree of the energy-saving control is higher, and the effect of reducing the power consumption is better correspondingly. By using the scheme, the power consumption can be effectively reduced.

Inventors

  • SUN DESHENG
  • Yin Hengda
  • CHEN CHUANGLU
  • WANG DONG
  • WANG QING
  • WANG RENLEI

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20241112

Claims (20)

  1. 1. A method of conserving energy applied to a first device, the method comprising: Acquiring first energy saving indication information, wherein the first energy saving indication information comprises a first energy saving level, the first energy saving level indicates a first energy saving depth of a multi-section channel included in a link for transmitting data to a second device by the first device, and the first energy saving depth indicates a first energy saving type of the multi-section channel; and sending the first energy saving indication information to a second device.
  2. 2. The method of claim 1, wherein the first energy conservation type of the first channel in the multi-segment channel comprises: power saving, clock gating or power gating.
  3. 3. The method of claim 1, wherein the first energy level indicates a first energy level of a non-operational channel of the multi-segment channel.
  4. 4. A method according to claim 3, wherein the first energy saving type of the second one of the plurality of channels in the inactive state comprises: Clock gating or power gating.
  5. 5. The method of any of claims 1-4, wherein the multi-segment channel comprises a physical channel to which the first device and the second device are coupled, the first energy conservation instruction message further comprising: And the first channel state information is used for indicating the state of a physical channel connected by the first device and the second device, and the state comprises a working state or a non-working state.
  6. 6. The method according to any one of claims 1-5, further comprising: And sending switching instruction information to the second device, wherein the switching instruction information instructs the second device to execute switching from the first energy saving level to a target working mode.
  7. 7. The method of claim 6, wherein the target operating mode comprises: and the normal working mode indicates that the multi-section channels are all in a working state.
  8. 8. The method of claim 6, wherein the target operating mode comprises: a second energy savings level indicating a second energy savings depth of the multi-segment channel, the second energy savings depth indicating a second energy savings type of the multi-segment channel.
  9. 9. The method according to any of claims 6-8, wherein the handover indication information is carried in the first energy saving indication information, the first energy saving indication information further comprising the target operation mode.
  10. 10. The method according to any one of claims 6-9, characterized in that the method further comprises: and controlling the first device to switch from the first energy saving level to the target working mode.
  11. 11. The method according to any of claims 1-10, wherein the first energy saving indication information is used to trigger the second device to switch to the first energy saving level.
  12. 12. The method according to any one of claims 1-11, wherein the first energy saving indication information further comprises: the current energy-saving depth of the multi-section channel.
  13. 13. The method according to any one of claims 1-12, wherein the method further comprises: determining a first flow to be sent by the first device to the second device in a first time period; the first energy saving level is determined according to the first traffic and the link type between the first device and the second device.
  14. 14. The method of claim 13, wherein said determining the first energy level based on the first traffic and a type of link between the first device and the second device comprises: Determining the number of physical channels in working states in the physical channels connected with the first device and the second device according to the first flow and the bandwidths of the physical channels connected with the first device and the second device; And determining a first energy saving depth of the multi-section channel according to the energy saving depth information corresponding to the first link type, wherein the energy saving depth information corresponding to the first link type comprises the energy saving depth and the energy saving type of the multi-section channel included in the first link type corresponding to the energy saving depth.
  15. 15. The method according to any one of claims 1-14, further comprising: and controlling the first device to switch to the first energy saving level and operating at the first energy saving level.
  16. 16. The method according to any one of claims 6-10, characterized in that the method further comprises: Determining a second flow to be sent to the second device by the first device in a second time period, wherein the second time period is a time period after the first time period; and determining the target working mode according to the second flow.
  17. 17. The method of claim 5, wherein the first power level further indicates a third power saving depth of a channel in the multi-segment channel that is operational, the third power saving depth indicating a third power saving type of a channel in the multi-segment channel that is operational, the third power saving type including clock gating or power gating.
  18. 18. The method of claim 17, wherein the total number of physical channels to which the first device and the second device are connected is M, where M is an integer greater than 1, and wherein the M physical channels are all in an operating state, or only one of the M physical channels is in an operating state.
  19. 19. A method of conserving energy applied to a second device, the method comprising: Receiving first energy saving indication information sent by a first device, wherein the first energy saving indication information comprises a first energy saving level, the first energy saving level indicates a first energy saving depth of a multi-section channel included in a link for sending data to a second device by the first device, and the first energy saving depth indicates a first energy saving type of the multi-section channel; And switching to the first energy saving level according to the first energy saving indication information.
  20. 20. The method of claim 19, wherein the first energy conservation type of the first channel in the multi-segment channel comprises: power saving, clock gating or power gating.

Description

Energy saving method and device Technical Field The present application relates to the field of communications, and in particular, to an energy saving method and apparatus. Background In digital communication networks, particularly campus networks, traffic has typical tidal characteristics, e.g., traffic during late night phases is generally much less than the bandwidth provided by the network. Currently, even if there is no traffic in the network, the communication device in the network needs to be in an operating state, for example, a physical layer (PHY) of an ethernet interface, a serializer/deserializer (serdes), an optical module, etc. are still in an operating state, which causes a great deal of waste of power consumption. In an ethernet protocol defined by the Institute of Electrical and Electronics Engineers (IEEE) standard, energy-efficient ethernet (EEE) technology is used to put the physical layer into a Low Power Idle (LPI) mode when there is less traffic to save power consumption of the communication device. The current EEE technology has poor power consumption reduction effect. Therefore, a solution is needed to solve the above-mentioned problems. Disclosure of Invention The application provides an energy-saving method and device, which can effectively reduce power consumption. In a first aspect, the present application provides a method of conserving energy, the method being applied to a first device. The first device may obtain first energy saving indication information, where the first energy saving indication information includes a first energy saving level, and the first energy saving level indicates a first energy saving depth of a multi-segment channel included in a link where the first device sends data to the second device, and the first energy saving depth indicates a first energy saving type of the multi-segment channel. After the first device acquires the first energy saving instruction information, the first device sends the first energy saving instruction information to the second device. Accordingly, after receiving the first energy saving instruction information, the second device may control itself to switch to the first energy saving level so as to operate at the first energy saving level. In the application, the second device can realize channel-level energy-saving control based on the first energy-saving indication information sent by the first device, and can control based on the first energy-saving depth when the energy-saving control is executed for the multi-section channels, so that the finer degree of the energy-saving control is higher, and the effect of reducing the power consumption is better correspondingly. By using the scheme, the power consumption can be effectively reduced. In one possible implementation, the first energy saving type of the first channel of the multi-segment channels includes no energy saving, clock gating, or power gating. Where non-power saving means that the device (including but not limited to power, clock, and other processing circuitry) is in operation, clock gating means turning off the clock, and power gating means turning off the power. In a specific example, the first energy saving instruction information includes first energy saving depths corresponding to all channels in the multi-segment channels, and in this scenario, the first energy saving type indicated by the first energy saving depth may include no energy saving, clock gating, or power gating. In other words, for any one of the multiple segments of channels (e.g., the first channel), the first energy saving type of the first channel may include not saving energy, clock gating, or power gating. In this scenario, the first energy saving depth of all channels in the multi-segment channel may also be used to indicate the state of the multi-segment channel, specifically, for a certain segment of channel, the first energy saving type corresponding to the multi-segment channel is not energy saving, which indicates that the state of the segment channel is an operating state, and when the first energy saving type corresponding to the segment channel is clock gating or power gating, the state of the segment channel is indicated as an inactive state. In one possible implementation, the first energy saving level is used to indicate a first energy saving depth of a channel in the multi-segment channel that is not in operation. In this scenario, the first energy type of the first energy depth indication may include clock gating or power gating. In other words, for any channel of the multi-segment channels that is not operational (e.g., the second channel), the first energy saving type of the second channel may include clock gating or power gating. In one possible implementation, the first energy saving indication information may further include first channel state information for indicating a state of a physical channel to which the first device and the second device are connected. As a