An energy-saving method and device, electronic equipment and storage medium

By monitoring the status of the data channel interface and controlling the power-down or power-on of the devices using the main control board, the problem of high power consumption of the data channel in the core routing equipment was solved, thus achieving energy saving and improved reliability of the equipment.

CN119561892BActive Publication Date: 2026-02-06NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411578079.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2026-02-06
Estimated Expiration
2044-11-06

AI Technical Summary

Technical Problem

The data channels of core routing devices consume a lot of power, and existing technologies make it difficult to achieve effective energy saving.

Method used

The main control board monitors the status of the data channel interface, determines whether the device is in energy-saving mode, controls the power-down or power-on of related devices, and records the channel status information.

Benefits of technology

Reduce equipment power consumption, extend service life, reduce maintenance costs, and improve equipment reliability and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561892B_ABST
    Figure CN119561892B_ABST
Patent Text Reader

Abstract

The application provides an energy-saving method and device, electronic equipment and a storage medium. The method is applied to a master main control board in a core routing device, and comprises the following steps: when a current energy-saving monitoring period is reached, for each data channel created in the core routing device, if it is monitored that all interfaces corresponding to the data channel are configured as a shutdown state, it is judged whether the core routing device is started in an energy-saving mode; if the result of the judgment is yes, first channel state information is output to represent that the data channel is performing an energy-saving operation, and each device associated with the data channel in a service board to which the data channel belongs is powered off; after each device is powered off, the identification of the service board and the channel identification of the data channel are recorded, and second channel state information is output to represent that the data channel has completed the energy-saving operation. The application can reduce the power consumption of the device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to an energy saving method and device, electronic equipment and storage medium. BACKGROUND

[0002] In modern communication equipment, core routing equipment is known for its high performance, high reliability and scalability, but its high power consumption and high heat dissipation requirements become important defects restricting its application.

[0003] The core routing equipment usually has a control channel and a data channel running independently, and the two do not interfere with each other. The control channel has a small bandwidth, and the devices associated with the control channel are less, and the power consumption is much lower than that of the data channel. Therefore, how to realize the energy saving of the data channel is one of the technical problems to be solved at present. SUMMARY

[0004] In order to overcome the problems in the related art, the present application provides an energy saving method and device, electronic equipment and storage medium.

[0005] According to a first aspect of an embodiment of the present application, an energy saving method is provided, the method is applied to a master main control board in a core routing equipment, and the method comprises:

[0006] When a current energy saving monitoring period is reached, for each data channel created in the core routing equipment, if it is monitored that all interfaces corresponding to the data channel are configured to be in a shutdown state, it is judged whether the core routing equipment has started an energy saving mode;

[0007] If the judgment result is yes, first channel state information is output to represent that the data channel is performing energy saving operation, and each device associated with the data channel in a service board to which the data channel belongs is powered off;

[0008] After the devices are powered off, the identifier of the service board and the channel identifier of the data channel are recorded, and second channel state information is output to represent that the data channel has completed energy saving operation.

[0009] According to a second aspect of an embodiment of the present application, an energy saving device is provided, the device is applied to a master main control board in a core routing equipment, and the device comprises:

[0010] The monitoring module is configured to, when a current energy saving monitoring period is reached, for each data channel created in the core routing equipment, if it is monitored that all interfaces corresponding to the data channel are configured to be in a shutdown state, judge whether the core routing equipment has started an energy saving mode;

[0011] an output control module, configured to, if the determination result is yes, output first channel state information representing that the data channel is performing energy-saving operation, and control each device associated with the data channel in a service board to which the data channel belongs to power off;

[0012] a record output module, configured to, after the each device is powered off, record an identifier of the service board and a channel identifier of the data channel, and output second channel state information representing that the data channel has completed energy-saving operation.

[0013] According to a third aspect of the embodiments of the present application, an electronic device is provided, including a processor and a machine readable storage medium, the machine readable storage medium stores machine executable instructions which can be executed by the processor, and the processor is prompted by the machine executable instructions to implement the method steps of the energy-saving method.

[0014] According to a fourth aspect of the embodiments of the present application, a computer readable storage medium is provided, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method steps of the energy-saving method.

[0015] The technical solutions provided by the embodiments of the present application can include the following beneficial effects:

[0016] In the embodiments of the present application, the master control board in the core routing device can automatically identify the idle data channel in the core routing device, and timely control the devices associated with the idle data channel to power off, thereby reducing the use time of these devices and reducing the aging degree of these devices. Not only can the device power consumption be reduced, but also the service life of the core routing device can be prolonged, and the maintenance cost is further reduced.

[0017] In addition, the master control board can also automatically identify the data channel which needs to be re-enabled in the core routing device, and timely enable it to ensure the normal operation of the corresponding data channel, thereby improving the reliability and stability of the core routing device.

[0018] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0019] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the present application.

[0020] Figure 1 a flowchart of an energy-saving method provided by the embodiments of the present application;

[0021] Figure 2A schematic diagram of some components of a core routing device provided in the present application;

[0022] Figure 3 A structural schematic diagram of an energy-saving device provided in an embodiment of the present application;

[0023] Figure 4 A structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, unless otherwise indicated, like numbers in the attached drawings refer to the same or similar elements. The following detailed description includes specific details for the purpose of providing a thorough understanding of the exemplary embodiments. However, it will be apparent to those skilled in the art that the exemplary embodiments can be practiced without these specific details. In some instances, well-known structures and components are not described in detail in order to avoid obscuring the understanding of the present application.

[0025] The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the present application and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0026] It is to be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. It is to be further understood that the terms "comprise," "comprising," "comprises," and / or "comprising" when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It is to be understood that, in this application, the term "if' can be construed to mean "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. That is, the phrase "if X is Y" should be interpreted as "when X is Y" or "upon determining X is Y" or "in response to detecting X is Y."

[0027] Next, embodiments of the present application will be described in detail.

[0028] An energy-saving method is provided in an embodiment of the present application, which is applied to a master main control board in a core routing device, as shown in FIG. 1, and can include the following steps: Figure 1

[0029] S11, when a current energy-saving monitoring period is reached, for each data channel created in the core routing device, if all interfaces corresponding to the data channel are configured to be in a closed state, it is determined whether the core routing device is started in an energy-saving mode; if the result of the determination is yes, steps S12 and S13 are performed; if the result of the determination is no, step S14 is performed. ​

[0030] S12, outputting first channel status information for representing that the data channel is in energy-saving operation, and controlling each device associated with the data channel in the service board to which the data channel belongs to power off.

[0031] S13, recording the identification of the service board and the channel identification of the data channel after powering off each device, and outputting second channel status information for representing that the data channel has completed energy-saving operation.

[0032] S14, performing no operation.

[0033] It should be noted that in the above step S11, the energy-saving monitoring period can be set by an administrator according to the network demand of the network in which the core routing device is located, and is configured in the master main control board in advance.

[0034] Specifically, in the above step S12, the master main control board can be powered off by the following steps when controlling the devices associated with the data channel to power off:

[0035] controlling each device to power off in sequence according to the connection order between each device associated with the data channel in the service board.

[0036] It should be noted that the specific control process of the master main control board for powering off each device is prior art, which will not be described in detail here.

[0037] Further, in the embodiment of the present application, the master main control board can also perform the following operations:

[0038] Before outputting the second channel status information, it is judged whether there is a redundant switching network board in the switching network board currently connected by the service board;

[0039] If the result of the judgment is yes, then each device associated with the data channel in the redundant switching network board is controlled to power off;

[0040] After powering off each device associated with the data channel in the redundant switching network board, the identification of the redundant switching network board is recorded, and the step of outputting the second channel status information is performed.

[0041] It should be noted that by performing this operation process, the device power consumption can be further reduced, the service life of the core routing device can be prolonged, and the maintenance cost can be further reduced.

[0042] It should be further noted that in the embodiment of the present application, for the master main control board, when it is judged that there is no redundant switching network board in the switching network board currently connected by the service board, the step of outputting the second channel status information is directly performed.

[0043] Here, the main master board can adopt existing various judging manners to judge whether there exists a redundant switch board in the switch board currently connected by the service board, which will not be described in detail here.

[0044] Further, in the embodiment of the present application, the main master board can further perform the following operations:

[0045] When the current energy-saving monitoring period is reached, for each data channel created in the core routing device, if it is monitored that there exists an interface configured as undo shutdown state in all interfaces corresponding to the data channel, it is judged whether the core routing device has started the energy-saving mode;

[0046] If the judgment result is yes, the third channel state information is outputted to represent that the data channel is being operated online, and each device associated with the data channel in the service board to which the data channel belongs is powered on;

[0047] After each device associated with the data channel in the service board to which the data channel belongs is powered on, the fourth channel state information is outputted to represent that the data channel has completed the online operation.

[0048] It should be noted that in the embodiment of the present application, when it is monitored that there exists an interface configured as undo shutdown state in all interfaces corresponding to the data channel, and the core routing device has not started the energy-saving mode, the main master board does not perform any operation.

[0049] Further, the specific control process of the main master board to control each device associated with the data channel in the service board to which the data channel belongs to be powered on is the prior art, which will not be described in detail here.

[0050] In addition, in the embodiment of the present application, before the fourth channel state information is outputted, the main master board can further perform the following operations:

[0051] If the local record has the identifier of the target switch board corresponding to the service board to which the data channel belongs, each device associated with the data channel in the target switch board is controlled to be powered on;

[0052] After each device associated with the data channel in the target switch board is powered on, the step of outputting the fourth channel state information is performed.

[0053] The above energy-saving method will be described in detail in combination with specific embodiments.

[0054] Taking a core routing device in a certain network as an example, it is assumed that a certain energy-saving monitoring period is reached, and a data channel 0 (denoted as slice0, for example, in the core routing device 1 is created. Figure 2As an example, assume that the primary master board in the core routing device 1 monitors that all interfaces (i.e., interface 1 and interface 2) corresponding to sliceO are configured as shutdown state, in which case the primary master board determines whether the core routing device has enabled the power saving mode.

[0055] Assume that the core routing device has enabled the power saving mode, so the determination result is yes, at this time, the primary master board outputs the channel status information 1 representing that sliceO is performing the power saving operation, so that the administrator can know the relevant status of sliceO in time.

[0056] Also, the primary master board controls the devices (e.g., subcard, network processor (NP) and fabric access processors (FAP)) associated with the data channel in the service board (Line Processing Unit, LPU, also referred to as line card board) to which sliceO belongs to be powered off. Figure 2

[0057] After powering off the devices, the primary master board records the identification (e.g., LPU slot number) of the service board and the channel identification (e.g., sliceO) of the data channel.

[0058] Then, the primary master board continues to determine whether there is a redundant switch fabric unit (SFU) in the switch fabric unit to which the service board is currently connected;

[0059] Assume that the determination result is yes, at this time, the primary master board controls the devices (e.g., fabric elements (FE)) associated with the data channel in the redundant switch fabric unit to be powered off.

[0060] Also, after powering off the devices associated with the data channel in the redundant switch fabric unit, the identification of the redundant switch fabric unit is recorded, and the channel status information 2 representing that sliceO has completed the power saving operation is outputted.

[0061] Next, assume that another power saving monitoring period arrives, for example, the data channel 1 (denoted as slice1, as shown in Figure 2 As an example, assume that the primary master board monitors that there is an interface (e.g., interface 3) configured as undo shutdown state in all interfaces corresponding to slice1, in which case the primary master board determines whether the core routing device has enabled the power saving mode.

[0062] ​Since the core routing device starts the energy saving mode, the result is yes, at this time, the active master board outputs the channel state information 3 for representing that slice 1 is performing the online operation, and controls each device (for example, a sub-card, an NP and an FAP) associated with slice 1 in the service board (namely, the service board) to be powered on.

[0063] After each device associated with slice 1 in the service board is powered on, it is assumed that the active master board finds that the identification of a switching network board (denoted as a target switching network board) corresponding to the service board is recorded locally, at this time, the active master board controls each device associated with slice 1 in the target switching network board to be powered on.

[0064] And after each device associated with slice 1 in the target switching network board is powered on, the active master board outputs the channel state information 4 for representing that slice 1 has completed the online operation.

[0065] It can be seen from the above technical solution that in the embodiment of the present application, the active master board in the core routing device can automatically identify the idle data channel in the core routing device, and timely controls the devices associated with the idle data channel to be powered off, thereby reducing the use time of the devices and reducing the aging degree of the devices. Not only can the device power consumption be reduced, but also the service life of the core routing device can be prolonged, and the maintenance cost is further reduced.

[0066] In addition, the active master board can also automatically identify the data channel that needs to be re-enabled in the core routing device, and timely enables the data channel to ensure the normal operation of the corresponding data channel, thereby improving the reliability and stability of the core routing device.

[0067] Based on the same inventive concept, the present application also provides an energy saving device, which is applied to an active master board in a core routing device, and a structure diagram thereof is as shown in Figure 3 The device specifically comprises:

[0068] A monitoring module 31 is configured to, when a current energy saving monitoring period is reached, for each data channel created in the core routing device, if it is monitored that all interfaces corresponding to the data channel are configured to be in a shutdown state, determine whether the core routing device starts an energy saving mode.

[0069] An energy saving module 32 is configured to, if the result is yes, output first channel state information for representing that the data channel is performing an energy saving operation, and control each device associated with the data channel in a service board to which the data channel belongs to be powered off; and

[0070] After powering down the devices associated with the data channel in the service board, the identity of the service board and the channel identity of the data channel are recorded, and second channel state information indicating that the data channel has completed the power saving operation is output.

[0071] Preferably, the power saving module 32 is specifically configured to:

[0072] The devices associated with the data channel in the service board are powered down in sequence according to the connection order between the devices.

[0073] Preferably, the power saving module 32 is further configured to:

[0074] Before outputting the second channel state information, it is determined whether there is a redundant switching network board in the switching network board currently connected to the service board;

[0075] If the determination result is yes, the devices associated with the data channel in the redundant switching network board are powered down;

[0076] After powering down the devices associated with the data channel in the redundant switching network board, the identity of the redundant switching network board is recorded, and the step of outputting the second channel state information is triggered.

[0077] Preferably, the monitoring module 31 is further configured to:

[0078] If it is monitored that there is an interface configured to be in an undo shutdown state in all interfaces corresponding to the data channel, it is determined whether the core routing device is in a power saving mode;

[0079] The power saving module 32 is further configured to:

[0080] When the determination result of the monitoring module 31 is yes, third channel state information indicating that the data channel is being brought online is output, and the devices associated with the data channel in the service board to which the data channel belongs are powered on; and

[0081] After powering on the devices associated with the data channel in the service board to which the data channel belongs, fourth channel state information indicating that the data channel has completed the online operation is output.

[0082] Preferably, the power saving module 32 is further configured to:

[0083] Before outputting the fourth channel state information, if the identity of a target switching network board corresponding to the service board to which the data channel belongs is recorded locally, the devices associated with the data channel in the target switching network board are powered on;

[0084] After the devices associated with the data channel in the target switching network board are powered on, the step of outputting the fourth channel status information is performed.

[0085] From the above technical solutions, it can be seen that in the embodiments of the present application, the active master control board in the core routing device can automatically identify the idle data channel in the core routing device, and timely control the devices associated with the idle data channel to power off, thereby reducing the use time of the devices and lowering the aging degree of the devices. Not only can the power consumption of the device be reduced, but also the service life of the core routing device can be prolonged, and the maintenance cost is further reduced.

[0086] In addition, the active master control board can also automatically identify the data channel that needs to be re-enabled in the core routing device, and timely enable the data channel to ensure the normal operation of the corresponding data channel, thereby improving the reliability and stability of the core routing device.

[0087] The embodiments of the present application also provide an electronic device, as shown in the accompanying drawings, which comprises a processor 41 and a machine readable storage medium 42, the machine readable storage medium 42 stores machine executable instructions which can be executed by the processor 41, and the processor 41 is prompted by the machine executable instructions to implement the steps of the above energy saving method. Figure 4

[0088] The machine readable storage medium described above can include a random access memory (RAM), and can also include a non-volatile memory (NVM), for example, at least one disk memory. Optionally, the machine readable storage medium can also be at least one storage device located away from the aforementioned processor.

[0089] The processor described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0090] ​In a further embodiment, the application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the energy saving method.

[0091] The above only shows the preferred embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. An energy saving method, characterized by, The method is applied to a master main control board in a core routing device, and the method comprises: When a current energy-saving monitoring period is reached, for each data channel created in the core routing device, if it is monitored that all interfaces corresponding to the data channel are configured to be in a shutdown state, it is judged whether the core routing device is started in an energy-saving mode; If the judgment result is yes, first channel state information is outputted to represent that the data channel is performing energy-saving operation, and each device associated with the data channel in a service board to which the data channel belongs is powered off; After the devices are powered off, the identification of the service board and the channel identification of the data channel are recorded, and second channel state information is outputted to represent that the data channel has completed energy-saving operation; The devices associated with the data channel are powered off, specifically comprising: According to the connection order between each device associated with the data channel in the service board, each device is powered off in turn; Before the second channel state information is outputted, it is judged whether there is a redundant switching network board in a switching network board currently connected to the service board; If the judgment result is yes, each device associated with the data channel in the redundant switching network board is powered off; After the devices associated with the data channel in the redundant switching network board are powered off, the identification of the redundant switching network board is recorded, and the step of outputting the second channel state information is executed.

2. The method of claim 1, wherein, The method further comprises: If it is monitored that there is an interface configured to be in an undo shutdown state in all interfaces corresponding to the data channel, it is judged whether the core routing device is started in the energy-saving mode; If the judgment result is yes, third channel state information is outputted to represent that the data channel is performing online operation, and each device associated with the data channel in a service board to which the data channel belongs is powered on; After each device associated with the data channel in the service board to which the data channel belongs is powered on, fourth channel state information is outputted to represent that the data channel has completed online operation.

3. The method of claim 2, wherein, The method further comprises: Before the fourth channel state information is outputted, if the identification of a target switching network board corresponding to the service board to which the data channel belongs is recorded locally, each device associated with the data channel in the target switching network board is powered on; After each device associated with the data channel in the target switching network board is powered on, the step of outputting the fourth channel state information is executed.

4. An energy saving device characterized by, The device is applied to a master main control board in a core routing device, and the device comprises: A monitoring module is configured to, when a current energy-saving monitoring period is reached, for each data channel created in the core routing device, if it is monitored that all interfaces corresponding to the data channel are configured to be in a shutdown state, judge whether the core routing device is started in an energy-saving mode; The energy-saving module is configured to: if the determination result is yes, output first channel state information representing that the data channel is performing energy-saving operation, and control each device associated with the data channel in a service board to which the data channel belongs to be powered off; and after the each device is powered off, record an identifier of the service board and a channel identifier of the data channel, and output second channel state information representing that the data channel has completed energy-saving operation. The energy-saving module is configured to: control the devices to be powered off in sequence according to a connection sequence between the devices associated with the data channel in the service board; The energy-saving module is further configured to: before the second channel state information is output, determine whether there is a redundant switching network board in a switching network board currently connected by the service board; if the determination result is yes, control each device associated with the data channel in the redundant switching network board to be powered off; after the each device associated with the data channel in the redundant switching network board is powered off, record an identifier of the redundant switching network board, and perform the step of outputting the second channel state information.

5. The apparatus of claim 4, wherein, The monitoring module is further configured to: if it is monitored that there is an interface configured to be in an undo shutdown state in all interfaces corresponding to the data channel, determine whether the core routing device is started in energy-saving mode; The energy-saving module is further configured to: if the determination result of the monitoring module is yes, output third channel state information representing that the data channel is performing online operation, and control each device associated with the data channel in a service board to which the data channel belongs to be powered on; and after the each device associated with the data channel in the service board to which the data channel belongs is powered on, output fourth channel state information representing that the data channel has completed online operation.

6. The apparatus of claim 5, wherein, The energy-saving module is further configured to: before the fourth channel state information is output, if there is an identifier of a target switching network board corresponding to the service board to which the data channel belongs recorded locally, control each device associated with the data channel in the target switching network board to be powered on; after the each device associated with the data channel in the target switching network board is powered on, perform the step of outputting the fourth channel state information.

7. An electronic device, comprising: The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method steps of any one of claims 1-3.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method steps of any one of claims 1-3.