Power supply methods, devices and communication equipment

By obtaining the power threshold from the main control board after the communication equipment is deployed and determining the power-on status of the service board based on the cumulative power, the problem of low efficiency in calculating power relationships before deployment is solved, thus achieving efficient equipment deployment and full utilization of power.

CN115278383BActive Publication Date: 2025-11-14BEIJING HUAWEI DIGITAL TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110485789.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-30
Publication Date
2025-11-14
Estimated Expiration
2041-04-30

AI Technical Summary

Technical Problem

Before deploying communication equipment, technicians need to calculate the relationship between the maximum power required by the equipment and the power threshold that the data center can provide, which leads to low deployment efficiency and low power utilization.

Method used

After the communication equipment is deployed, the power threshold is obtained through the main control board, and the relationship between the cumulative power and the threshold is judged before the service board is powered on. This determines whether to power on the service board or adjust the working mode to adapt to the power threshold, thus realizing flexible power supply to the service board.

Benefits of technology

This improves the deployment efficiency of communication equipment and the power utilization rate of the computer room, ensuring that the equipment can make full use of power without exceeding the power threshold.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278383B_ABST
    Figure CN115278383B_ABST
Patent Text Reader

Abstract

This application discloses a power supply method, apparatus, and communication equipment, belonging to the field of communication technology. The method is applied to a communication device including a basic board and n service boards, the communication device being deployed in a computer room, where n is a positive integer greater than 1. The method includes: obtaining a power threshold for the communication device; determining a first cumulative power before powering on the i-th service board among the n service boards, the first cumulative power being the sum of the power of the already powered basic board and the power of the (i-1)-th already powered service boards, where 1 < i ≤ n; and powering on the i-th service board according to the first cumulative power and the power threshold. Using this application can improve the deployment efficiency of communication equipment and also improve the utilization rate of computer room power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a power supply method, apparatus and communication equipment. Background Technology

[0002] Before deploying communication equipment such as routers and switches in the data center, it is necessary to determine the appropriate deployment location based on the data center's power supply capacity.

[0003] For example, technicians first determine the power threshold that the data center can provide to the communication equipment to be deployed. Then, the technicians calculate the maximum power required by the communication equipment to be deployed in operation. After that, the technicians compare the relationship between the power threshold and the maximum power required by the communication equipment. If the power threshold is greater than the maximum power required by the communication equipment, the communication equipment is deployed in the data center, and power is supplied to all the basic boards and service boards of the communication equipment.

[0004] It is evident that before deploying communication equipment in a data center, technicians need to calculate the maximum power required by the equipment and determine the relationship between the power threshold and the maximum power, resulting in low deployment efficiency. Furthermore, the equipment can only be deployed in the data center if its maximum power requirement is lower than the power threshold that the data center can provide, leading to low energy utilization in the data center. Summary of the Invention

[0005] This application provides a power supply method, apparatus, and communication device, which can solve the problems in related technologies. The technical solution is as follows:

[0006] On one hand, a power supply method is provided, the method being applied to a communication device comprising a basic board and n service boards, the communication device being deployed in a computer room, wherein n is a positive integer greater than 1, the method comprising:

[0007] Obtain the power threshold of the communication device;

[0008] Before powering on the i-th service board among the n service boards, a first cumulative power is determined. The first cumulative power is the sum of the power of the power-on basic board and the power of the i-1 power-on service boards, where 1 < i ≤ n.

[0009] Based on the first cumulative power and the power threshold of the communication device, the i-th service board is powered on.

[0010] Wherein, the power threshold is the difference between the total input power provided by the computer room to the communication equipment and the backup power, or the power threshold is a preset power value, and the power threshold is less than the difference between the total input power provided by the computer room to the communication equipment and the backup power.

[0011] In the solution presented in this application, before deploying the communication equipment in the computer room, technicians are not required to calculate the maximum power required by the communication equipment, nor are they required to determine the relationship between the maximum power required by the communication equipment and the power threshold that the computer room can provide. Instead, the communication equipment is deployed in the computer room, and the main control board of the communication equipment, during the power-on process of the service boards, performs power-on processing on the service boards about to be powered on based on the relationship between the first cumulative power and the power threshold of the communication equipment. This improves the deployment efficiency of the communication equipment.

[0012] Moreover, this solution allows for the deployment of either communication equipment with a maximum power requirement not lower than the power threshold provided by the data center, or communication equipment with a maximum power requirement lower than the power threshold provided by the data center. This ensures full utilization of the power in the data center and improves its power efficiency.

[0013] In one possible implementation, the step of powering on the i-th service board based on the first cumulative power and the power threshold of the communication device includes:

[0014] If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then the i-th service board is powered on.

[0015] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, then powering on the i-th service board is stopped.

[0016] In the scheme shown in this application, after the communication equipment powers on the first service board, before powering on each subsequent service board, it first determines whether the sum of the power of the already powered-on basic board, the power of all already powered-on service boards, and the power of the service board about to be powered on exceeds the power threshold. If it does not exceed the threshold, the service board about to be powered on can be powered on. If it exceeds the power threshold, the powering on the service board about to be powered on is stopped.

[0017] By powering on each service board in the above manner, the power threshold of the communication equipment can be fully allocated and utilized as much as possible, thereby improving the utilization rate of the data center's power.

[0018] In one possible implementation, the communication device includes m levels of operating modes, and the power corresponding to the first level of operating mode to the m level of operating mode decreases sequentially, where m is a positive integer greater than 1.

[0019] Before powering on the i-th service board among the n service boards, determining the first cumulative power includes:

[0020] Before powering on the i-th service board among the n service boards, determine the first cumulative power in the j-th level operating mode, where the j-th level operating mode is the current operating mode;

[0021] The step of powering on the i-th service board based on the first cumulative power and the power threshold of the communication device includes:

[0022] If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then in the j-th operating mode, the i-th service board is powered on.

[0023] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, and j = m, then powering on the i-th service board is stopped.

[0024] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, and j < m, then the j-th level working mode is adjusted to the k-th level working mode, the first cumulative power is updated, and the i-th service board is powered on according to the updated first cumulative power and the power threshold, where j < k ≤ m.

[0025] In the scheme shown in this application, after the communication equipment powers on the basic board and the first service board, before powering on subsequent service boards, it first determines whether the sum of the power of the already powered-on basic board, the power of each already powered-on service board, and the power of the service board about to be powered on in the current operating mode exceeds a power threshold. If it does not exceed the power threshold, the service board about to be powered on is powered on in the current operating mode. If it exceeds the power threshold and the current operating mode is the most energy-efficient operating mode, the service board about to be powered on is not powered on. If it exceeds the power threshold and the current operating mode is not the most energy-efficient operating mode, the operating mode is adjusted to reduce the power of the communication equipment before powering on the service board about to be powered on.

[0026] In one possible implementation, the step of powering on the i-th service board based on the updated first cumulative power and the power threshold includes:

[0027] If the sum of the updated first cumulative power and the power of the i-th service board is less than or equal to the power threshold, and k≤m, then the i-th service board is powered on.

[0028] If the sum of the updated first cumulative power and the power of the i-th service board is greater than the power threshold, and k = m, then powering on the i-th service board is stopped.

[0029] In the scheme shown in this application, after the communication equipment's operating mode is adjusted to a certain operating mode, if the power of the already powered basic board, the power of each powered service board, and the power of the service board about to be powered are not greater than a power threshold, then the service board about to be powered is powered on. However, after the communication equipment's operating mode is adjusted to the most energy-efficient operating mode, if the power of the already powered basic board, the power of each powered service board, and the power of the service board about to be powered are greater than a power threshold, then the service board about to be powered is not powered on.

[0030] In one possible implementation, obtaining the power threshold of the communication device includes:

[0031] Obtain the total input power and backup power provided by the computer room to the communication equipment;

[0032] The difference between the total input power and the reserve power is used as the power threshold of the communication device.

[0033] In one possible implementation, obtaining the power threshold of the communication device includes:

[0034] Obtain the total input power, backup power, and preset power value provided by the computer room to the communication equipment;

[0035] If the difference between the total input power and the reserve power is greater than or equal to the preset power value, then the preset power value is used as the power threshold of the communication device.

[0036] If the difference between the total input power and the reserve power is less than the preset power value, then the difference between the total input power and the reserve power is used as the power threshold of the communication device.

[0037] In one possible implementation, the method further includes:

[0038] When powering on the i-th service board is stopped, a power-on failure message is displayed.

[0039] In the scheme shown in this application, when the i-th service board is powered off, the main control board can also control the display screen of the communication device to display a power-on failure message to remind the technicians. If the power threshold is the power value preset by the technicians, then the technicians can adjust the power threshold according to the message so that the i-th service board can be powered on successfully.

[0040] In one possible implementation, the method further includes:

[0041] When a change in the power threshold of the communication device is detected, a second cumulative power and the changed power threshold are determined. The second cumulative power is the sum of the power of the powered-on basic board and the power of the q powered-on service boards, where 1 < q ≤ n.

[0042] Power supply processing is performed on the n service boards based on the second cumulative power and the changed power threshold.

[0043] In the scheme shown in this application, when the total input power provided by the computer room to the communication equipment changes, if the power threshold of the communication equipment is the difference between the total input power and the backup power, then the power threshold of the communication equipment will also change.

[0044] Therefore, when the main control board detects a change in the power threshold, it can obtain the power of the currently powered basic boards and the sum of the power of each powered service board, which is recorded as the second cumulative power. The relationship between the third cumulative power and the changed power threshold is then determined, and power supply processing is performed on the n service boards based on the second cumulative power and the changed power threshold.

[0045] It is evident that when powering service boards, communication equipment can adaptively adjust the power supply to service boards based on changes in the power threshold.

[0046] In one possible implementation, the step of powering the n service boards according to the second cumulative power and the changed power threshold includes:

[0047] If the changed power threshold is less than the second cumulative power, and the sum of the changed power threshold and the reserve power is greater than or equal to the second cumulative power, then power is stopped on q1 service boards out of the q service boards, and power is continued on q2 service boards out of the q service boards. The third cumulative power is less than or equal to the changed power threshold, and the third cumulative power is the sum of the power of the powered-on basic board and the power of q2 service boards, where 1 ≤ q1 < q and 1 ≤ q2 < q.

[0048] In the scheme shown in this application, the sum of q1 and q2 is q, and the q2 service boards can be the q2 service boards with the later power-on sequence. For example, if q is 10, q1 is 7, and q2 is 3, then the three service boards with the last three power-on sequences among the 10 service boards will stop being powered on, while the service boards with the first seven power-on sequences will remain powered on.

[0049] On the other hand, a device for powering service boards is also provided. The communication equipment in which the device is located is deployed in a computer room. The communication equipment includes communication equipment for a basic board and n service boards, where n is a positive integer greater than 1. The device includes:

[0050] The acquisition module is used to acquire the power threshold of the communication device.

[0051] The determination module is used to determine the first cumulative power before powering on the i-th service board among the n service boards. The first cumulative power is the sum of the power of the power-on basic board and the power of the i-1 power-on service boards, where 1 < i ≤ n.

[0052] The power supply module is used to power on the i-th service board based on the first cumulative power and the power threshold of the communication device.

[0053] In one possible implementation, the power supply module is used for:

[0054] If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then the i-th service board is powered on.

[0055] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, then powering on the i-th service board is stopped.

[0056] In one possible implementation, the communication device includes m levels of operating modes, and the power corresponding to the first level of operating mode to the m level of operating mode decreases sequentially, where m is a positive integer greater than 1.

[0057] The determining module is used for:

[0058] Before powering on the i-th service board among the n service boards, determine the first cumulative power in the j-th level operating mode, where the j-th level operating mode is the current operating mode;

[0059] The power supply module is used for:

[0060] If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then in the j-th operating mode, the i-th service board is powered on.

[0061] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, and j = m, then powering on the i-th service board is stopped.

[0062] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, and j < m, then the j-th level working mode is adjusted to the k-th level working mode, the first cumulative power is updated, and the i-th service board is powered on according to the updated first cumulative power and the power threshold, where j < k ≤ m.

[0063] In one possible implementation, the power supply module is used for:

[0064] If the sum of the updated first cumulative power and the power of the i-th service board is less than or equal to the power threshold, and k≤m, then the i-th service board is powered on.

[0065] If the sum of the updated first cumulative power and the power of the i-th service board is greater than the power threshold, and k = m, then powering on the i-th service board is stopped.

[0066] In one possible implementation, the acquisition module is configured to:

[0067] Obtain the total input power and backup power provided by the computer room to the communication equipment;

[0068] The difference between the total input power and the reserve power is used as the power threshold of the communication device.

[0069] In one possible implementation, the acquisition module is configured to:

[0070] Obtain the total input power, backup power, and preset power value provided by the computer room to the communication equipment;

[0071] If the difference between the total input power and the reserve power is greater than or equal to the preset power value, then the preset power value is used as the power threshold of the communication device.

[0072] If the difference between the total input power and the reserve power is less than the preset power value, then the difference between the total input power and the reserve power is used as the power threshold of the communication device.

[0073] In one possible implementation, the device further includes:

[0074] The display module is used to display a power-on failure message when powering on the i-th service board is stopped.

[0075] In one possible implementation, the determining module is further configured to:

[0076] When a change in the power threshold of the communication device is detected, a second cumulative power and the changed power threshold are determined. The second cumulative power is the sum of the power of the powered-on basic board and the power of the q powered-on service boards, where 1 < q ≤ n.

[0077] The power supply module is also used to supply power to the n service boards based on the second cumulative power and the changed power threshold.

[0078] In one possible implementation, the power supply module is used for:

[0079] If the changed power threshold is less than the second cumulative power, and the sum of the changed power threshold and the reserve power is greater than or equal to the second cumulative power, then power is stopped on q1 service boards out of the q service boards, and power is continued on q2 service boards out of the q service boards. The third cumulative power is less than or equal to the changed power threshold, and the third cumulative power is the sum of the power of the powered-on basic board and the power of q2 service boards, where 1 ≤ q1 < q and 1 ≤ q2 < q.

[0080] On the other hand, a communication device is provided, which is deployed in a computer room. The communication device includes a basic board and n service boards, where n is a positive integer greater than 1. The main control board of the basic board supplies power to the n service boards in accordance with the method described above.

[0081] On the other hand, a communication device is provided, characterized in that the communication device is deployed in a computer room, the communication device includes a basic board, n service boards and a main control board, where n is a positive integer greater than 1, and the main control board supplies power to the n service boards in accordance with the method described above. Attached Figure Description

[0082] Figure 1 This is a flowchart of a power supply method provided in this application;

[0083] Figure 2 This is a flowchart of a power supply method provided in this application;

[0084] Figure 3 This is a flowchart of a power supply method provided in this application;

[0085] Figure 4 This is a schematic diagram of a power supply device provided in this application;

[0086] Figure 5 This is a schematic diagram of a power supply device provided in this application. Detailed Implementation

[0087] This application provides a method for powering a service board. This method is applied in a communication device, such as a router, switch, or server.

[0088] In one example, the communication equipment can be deployed in a server rack in a data center. The communication equipment includes multiple boards that are inserted into slots in the rack. These boards typically include basic configuration boards and service processing boards; the basic configuration boards can be referred to as basic boards, and the service processing boards as service boards.

[0089] The basic board may include, but is not limited to, the main processing unit (MPU) and the network board. The number of service boards (line processer units, LPU) can be multiple, which can be denoted as n, where n is a positive integer greater than 1. The service boards can be used to perform service forwarding processing.

[0090] The basic board of the communication equipment also includes multiple power modules (PMs). These power modules are usually located in the head cabinet, which is the cabinet located at the head of the cabinet. The power modules are used to provide power to the various components of the communication equipment.

[0091] In one example, before deploying the communication equipment in the data center, technicians do not need to precisely compare the maximum power required by the equipment during operation with the power threshold that the data center can provide; they can make a rough comparison. Then, the communication equipment is deployed in the data center. After deployment, the communication equipment can be used as follows: Figure 1 The process shown is to power on the business board.

[0092] The maximum power required for communication equipment to operate is the sum of the power of each individual board when the equipment is operating at full load. Full load operation means that all boards of the communication equipment are active, or that all slots in the rack housing the equipment are filled with active boards. However, communication equipment typically operates at 50% to 70% of its full load capacity.

[0093] Therefore, in this embodiment, instead of precisely comparing the maximum power required by the communication device during operation with the power threshold that the data center can provide, the communication device is first deployed in the data center. Then, before powering on the service board, it is determined whether the power threshold of the communication device is sufficient to power on the service board. If it is sufficient, the service board is powered on; otherwise, powering on the service board is stopped. Alternatively, if the service board cannot be powered on, the operating mode of the communication device can be adjusted before determining whether it can power on the service board. The specific process is described below.

[0094] like Figure 1 The diagram shows a process for powering n service boards using communication equipment deployed in a computer room.

[0095] The main control board of the communication device can be the executing entity of this method.

[0096] In step 101, the power threshold of the communication device is obtained.

[0097] For example, the main control board can periodically acquire the power threshold of the communication device. The acquisition period can be flexibly set by technicians according to the actual situation.

[0098] Among them, the power threshold of communication equipment can be the difference between the total input power provided by the computer room to the communication equipment and the backup power.

[0099] In one example, the total input power can be obtained through power supply modules. For instance, each power supply module in a communication device has an independent power input interface. The main control board can determine whether a power supply module has input current by detecting the current value input to its power input interface. For example, if the computer room inputs current to the power input interface of a certain power supply module, the main control board can detect that the current value input to that power supply module's power input interface is within a pre-stored current threshold range.

[0100] In this way, the main control board can determine the number of power modules with input current by detecting whether the input current in each power module is within a pre-stored current threshold range. Then, based on the rated power of each power module, the total input power supplied by the computer room to the communication equipment can be obtained.

[0101] For example, if the main control board detects that the communication device has normal current in the power input interfaces of u power modules, where the rated output current of each power module is A and the rated output voltage is B, then the total input power provided by the computer room to the communication device is u×A×B.

[0102] Typically, the power supply module of a communication device includes a backup power supply module. For example, if there are v backup power supply modules, then the backup power is v × A × B, where v is less than u. Therefore, the power threshold of the communication device can be (uv) × A × B. For example, if v is 1, the power threshold of the communication device can be (u-1) × A × B.

[0103] The power threshold of the communication equipment can also be a power value preset by the technician.

[0104] In one example, the main control board can obtain the total input power, backup power, and preset power value provided by the equipment room to the communication equipment. The preset power value is a power value pre-set by technicians. The main control board then compares the difference between the total input power and the backup power with the preset power value. If the difference between the total input power and the backup power is greater than or equal to the preset power value (i.e., the preset power value is less than the difference between the total input power and the backup power), then the main control board can use the preset power value set by the technicians as the power threshold. However, if the difference between the total input power and the backup power is less than the preset power value (i.e., the preset power value set by the technicians is greater than the difference between the total input power and the backup power), then the main control board cannot use the preset power value set by the technicians as the power threshold; instead, it uses the difference between the total input power and the backup power as the power threshold.

[0105] Based on the above, the power threshold of a communication device is either the difference between the total input power and the backup power, or a power value set by the technician that is less than or equal to the difference between the total input power and the backup power.

[0106] In step 102, before powering on the i-th service board among the n service boards, the first cumulative power is determined. The first cumulative power is the sum of the power of the power-on basic board and the power of the i-1 power-on service boards.

[0107] Where n is a positive integer greater than 1, and 1 < i ≤ n.

[0108] In one example, after the communication equipment is deployed in the computer room, the basic board of the communication equipment is powered on first to facilitate the power-on processing of the subsequent control service boards. Since the power of the basic board is relatively small, and none of the n service boards are powered on, the power threshold provided by the computer room to the communication equipment must be greater than the power required for the basic board to be powered on. Therefore, before powering on the basic board, it is not necessary to determine the relationship between the power required for the basic board to work and the power threshold of the communication equipment.

[0109] After the basic board is powered on, the main control board can obtain the power value of the basic board, which can be the rated power of the basic board.

[0110] In one example, before the main control board powers on the first service board, since none of the current n service boards are powered on, only the basic board is powered on. Since the power of the basic board is relatively small, the power provided by the equipment room to the communication equipment is still sufficient to power on the first service board. Therefore, there is no need to determine whether the first service board can be powered on.

[0111] After powering on the first service board, when powering on each subsequent service board, it is necessary to determine the sum of the power of all powered-on boards in the communication equipment. For example, before powering on the i-th service board out of n service boards, a first cumulative power is determined, where the first cumulative power is the sum of the power of the already powered-on base board and the power of the (i-1)-th already powered-on service boards, and i is a positive integer greater than 1 and less than or equal to n.

[0112] Among them, the basic board that has been powered on is the basic board that is currently powered on, and the i-1 service boards that have been powered on are the service boards that are currently powered on.

[0113] In step 103, the i-th service board is powered on based on the first cumulative power and the power threshold.

[0114] In one example, after the basic boards of the communication equipment, such as the main control board and network board, are powered on, the main control board can obtain the power threshold of the communication equipment. This power threshold can be the difference between the total input power provided by the equipment room to the communication equipment and the backup power, or it can be a power value preset by the user. Then, based on the relationship between the first accumulated power and the power threshold, the service boards that are about to be powered on can be powered on.

[0115] For example, if the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then the i-th service board is powered on. If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, then powering on the i-th service board is stopped.

[0116] As can be seen from the above, before deploying communication equipment in the data center, technicians no longer need to calculate the maximum power required by the equipment, nor do they need to determine the relationship between the maximum power required and the power threshold that the data center can provide. Instead, once the communication equipment is deployed in the data center, the main control board of the equipment, during the power-on process for the service boards, uses the relationship between the first accumulated power and the power threshold of the communication equipment to power on the service boards. This improves the deployment efficiency of the communication equipment.

[0117] Moreover, this solution allows for the deployment of either communication equipment with a maximum power requirement not lower than the power threshold provided by the data center, or communication equipment with a maximum power requirement lower than the power threshold provided by the data center. This ensures full utilization of the power in the data center and improves its power efficiency.

[0118] For example, if the maximum power required by the communication equipment to be deployed exceeds the power threshold provided by the data center, then the existing solutions would prevent the equipment from being deployed in the data center, leaving at least the power threshold of the data center unused. However, this solution allows the communication equipment to be deployed in the data center while fully utilizing the power threshold provided by the data center, thereby improving the energy efficiency of the data center.

[0119] It should be noted that when the communication equipment powers on n service boards, it can do so in ascending order of slot number, in order of importance, in a user-defined order, or randomly. This application does not impose any restrictions on the order of power-on processing for the service boards.

[0120] It should be noted that the power of the basic board can be the rated power of the basic board, and the power of the service board can also be the rated power of the service board.

[0121] Based on the above, after the communication equipment is deployed in the computer room, it can be arranged as follows: Figure 2 The process shown executes the power-on procedure.

[0122] In step 201, the basic board of the communication equipment is powered on. Then, proceed to step 202.

[0123] For example, power on the main control board, network board, and power module.

[0124] In step 202, the power threshold of the communication device is determined.

[0125] As mentioned above, the power threshold can be the difference between the total input power provided by the equipment room to the communication equipment and the backup power. Alternatively, the power threshold can be a preset power value that is less than or equal to the difference between the total input power provided by the equipment room to the communication equipment and the backup power. Afterwards, the service board is powered on.

[0126] In step 203, the first service board is powered on.

[0127] Since only the basic board is powered on before the first service board is powered on, and the basic board has relatively low power, it is fully capable of powering on the first service board. Therefore, it is not necessary to determine the relationship between the sum of the power of the basic board and the power of the first service board and the power threshold; the first service board can be powered on directly. After powering on the first service board, proceed to step 204.

[0128] In step 204, it is determined whether the sum of the power of the newly added service board, the power of the already powered basic board, and the power of all powered service boards exceeds a power threshold. If it exceeds the power threshold, proceed to step 205 to stop powering on the newly added service board; that is, the power-on of the newly added service board fails. If it does not exceed the power threshold, proceed to step 206.

[0129] In step 206, the newly added service board is powered on. Then, proceed to step 204.

[0130] In one example, if the sum of the first cumulative power and the power of the i-th service board exceeds the power threshold of the communication device, the power of the i-th service board can be changed by adjusting the operating mode of the communication device. The corresponding approach is as follows:

[0131] The communication equipment includes m-level operating modes, with the power consumption decreasing sequentially from the first-level mode to the m-level mode, where m is a positive integer greater than 1. The m-level operating modes can be energy-saving modes for the communication equipment, with the energy-saving effect increasing sequentially from the first-level mode to the m-level mode. The first-level mode is the most energy-consuming mode, and the m-level mode is the most energy-efficient mode.

[0132] For example, a communication device may have four operating modes, denoted as Level 1, Level 2, Level 3, and Level 4. The power consumption of the communication device in Level 1 is higher than that in Level 2, which is higher than that in Level 3, which is higher than that in Level 4. Level 1 is the most energy-intensive operating mode, and Level 4 is the most energy-efficient operating mode.

[0133] Before powering on the i-th service board among the n service boards, the main control board can first determine the first cumulative power in the j-th working mode, where the j-th working mode is the current working mode. Then, based on the first cumulative power and the power threshold of the communication device, the i-th service board is powered on.

[0134] The power-on process for the i-th service board, based on the first cumulative power and the power threshold of the communication device, can include the following scenarios.

[0135] (1) If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then the i-th service board is powered on in the j-th level working mode.

[0136] (2) If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication equipment, and j = m, then powering on the i-th service board is stopped. In this case, the communication equipment is already in the most energy-efficient operating mode, so it is impossible to power on the i-th service board by reducing the power of the communication equipment. Therefore, in this case, powering on the i-th service board is stopped.

[0137] (3) If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication equipment, and j < m, then the j-th level operating mode is adjusted to the k-th level operating mode, the first cumulative power is updated, and the i-th service board is powered on based on the updated first cumulative power and the power threshold, where j < k ≤ m. Since the current operating mode of the communication equipment is not the most energy-efficient operating mode, the power of the communication equipment can be reduced to power on the i-th service board.

[0138] (3) can include the following situations.

[0139] (i) If the sum of the updated first cumulative power and the power of the i-th service board is less than or equal to the power threshold, and k≤m, then power on the i-th service board.

[0140] For example, after adjusting the operating mode of the communication equipment to the k-th level operating mode, if the sum of the first cumulative power corresponding to the k-th level operating mode and the power of the i-th service board is less than or equal to the power threshold, then the i-th service board is powered on.

[0141] (ii) If the sum of the updated first cumulative power and the power of the i-th service board is greater than the power threshold and k = m, then powering on the i-th service board is stopped.

[0142] For example, if the operating mode of the communication equipment is adjusted to the most energy-efficient operating mode, but the sum of the first cumulative power corresponding to the most energy-efficient function mode and the power of the i-th service board is still greater than the power threshold, then it will be impossible to continue to power on the i-th service board by reducing the power of the communication equipment. Therefore, in this case, powering on the i-th service board is stopped.

[0143] In one example, the main control board can adjust the operating mode of the communication device from the j-th level operating mode to the k-th level operating mode. Each time the operating mode is adjusted, the first cumulative power is updated, and the ith service board is powered on based on the updated first cumulative power and the power threshold.

[0144] For example, a communication device has four operating modes, where j is 2 and k is 4. Adjusting the communication device to the fourth operating mode, enabling power-on of the i-th service board, can be achieved as follows:

[0145] The current operating mode of the communication device is Level 2. If the sum of the first cumulative power corresponding to Level 2 and the power of the i-th service board is greater than the power threshold, the operating mode of the communication device is adjusted to Level 3, and the first cumulative power corresponding to Level 3 is calculated. If the sum of the first cumulative power corresponding to Level 3 and the power of the i-th service board is still greater than the power threshold, the operating mode of the communication device is further adjusted to Level 4, and the first cumulative power corresponding to Level 4 is calculated. If the sum of the first cumulative power corresponding to Level 4 and the power of the i-th service board is less than or equal to the power threshold, the i-th service board is powered on in Level 4.

[0146] In one example, when the i-th service board is powered off, the main control board can also control the display screen of the communication device to show a power-on failure message to remind the technicians. If the power threshold is the power value preset by the technicians, then the technicians can adjust the power threshold according to the message so that the i-th service board can be powered on successfully.

[0147] After the communication equipment powers on the service boards according to the methods described above and reaches a stable state, the main control board can statistically analyze the maximum operating power of the communication equipment. The maximum operating power is determined based on the power of the base boards and the power of each service board currently powered on. The main control board can also control the communication equipment's display screen to show a power threshold reference value for technicians to set. Technicians can then customize the power threshold. After detecting the power threshold set by the technician, the main control board can proceed as follows... Figure 3 The process shown adjusts the operating mode of the communication equipment so that the maximum operating power of the communication equipment does not exceed the power threshold set by the technician.

[0148] Taking a communication device with four operating modes as an example, the power of the first to the fourth operating modes decreases sequentially.

[0149] In step 301, the set power threshold is obtained. Then, proceed to step 302 to determine if the maximum operating power of the communication device is greater than the power threshold. If not, proceed to the end. If it is greater than the power threshold, proceed to step 303 to adjust the communication device's operating mode to level 1. Then, proceed to step 304 to determine if the maximum operating power of the communication device is greater than the power threshold. If not, proceed to the end. If it is greater than the power threshold, proceed to step 305 to adjust the communication device's operating mode to level 2. Then, proceed to step 306 to determine if the maximum operating power of the communication device is greater than the power threshold. If not, proceed to the end. If it is greater than the power threshold, proceed to step 307 to adjust the communication device's operating mode to level 3. Then, proceed to step 308 to determine if the maximum operating power of the communication device is greater than the power threshold. If not, proceed to the end. If it is greater than the power threshold, proceed to step 309 to adjust the communication device's operating mode to level 4. Next, proceed to step 310 to determine whether the maximum operating power of the communication equipment is greater than the power threshold. If it is not greater, proceed to the end. If it is greater than the power threshold, proceed to step 311 to stop supplying power to some service boards until the updated maximum operating power consumption is not greater than the power threshold.

[0150] In one example, following the method described above, if the i-th service board is successfully powered on, the power-on process can continue for subsequent service boards. Conversely, if the i-th service board fails to power on, the power-on process can still continue for subsequent service boards.

[0151] Alternatively, if powering on the i-th service board fails, then powering on subsequent service boards that are not yet powered on and whose power is less than that of the i-th service board can also be performed.

[0152] Alternatively, if powering on the i-th service board fails, then powering on subsequent unpowered service boards can be stopped. This embodiment does not limit this; it can be flexibly selected according to the actual situation, such as the power consumption of each service board in the communication equipment.

[0153] In one example, a communication device may malfunction during operation, causing a change in the total input power from the equipment room to the device, which in turn alters the device's power threshold. When the main control board detects this change, it can determine a second cumulative power and the changed power threshold. The second cumulative power is the sum of the power of the powered-on basic board and the power of the q powered-on service boards, where 1 < q ≤ n. The main control board can then adjust the power supply to the n service boards based on the second cumulative power and the changed power threshold.

[0154] Here, q may or may not be equal to i-1 mentioned above.

[0155] As an example, if the power threshold is changed to decrease, the changed power threshold may be less than the second cumulative power. When the power threshold changes, the backup power module will be triggered to start supplying power. Since the power threshold is not significantly reduced, the sum of the changed power threshold and the backup power is greater than or equal to the second cumulative power. In this state, power can be stopped for q1 out of q service boards, and power can continue to be supplied to q2 out of q service boards. The third cumulative power is less than or equal to the changed power threshold. The third cumulative power is the sum of the power of the powered-on basic board and the power of q2 service boards, where 1≤q1<q and 1≤q2<q.

[0156] Here, q1 and q2 are summed to form q, and q2 service boards can be the q2 service boards that are powered on last in the power-on sequence. For example, if q is 10, q1 is 7, and q2 is 3, then the three service boards that are powered on last three times in the power-on sequence will stop being powered on, while the service boards that are powered on first seven times in the power-on sequence will remain powered on.

[0157] In this embodiment, before deploying the communication equipment in the data center, technicians are not required to calculate the maximum power required by the equipment, nor are they required to determine the relationship between the maximum power required and the power threshold that the data center can provide. Instead, the communication equipment is deployed in the data center, and the main control board of the equipment powers on the service boards based on the relationship between the first cumulative power and the power threshold of the communication equipment. This improves the deployment efficiency of the communication equipment.

[0158] Moreover, this solution allows for the deployment of either communication equipment with a maximum power requirement not lower than the power threshold provided by the data center, or communication equipment with a maximum power requirement lower than the power threshold provided by the data center. This ensures full utilization of the power in the data center and improves its power efficiency.

[0159] Based on the same technical concept, this application also provides a device for powering service boards. The communication equipment housing this device is deployed in a computer room. The communication equipment includes communication devices for a basic board and n service boards, where n is a positive integer greater than 1. Figure 4 As shown, the device includes:

[0160] The acquisition module 410 is used to acquire the power threshold of the communication device;

[0161] The determination module 420 is used to determine the first cumulative power before powering on the i-th service board among n service boards. The first cumulative power is the sum of the power of the power-on basic board and the power of the i-1 power-on service boards, where 1 < i ≤ n.

[0162] The power supply module 430 is used to power on the i-th service board based on the first cumulative power and the power threshold of the communication device.

[0163] Optional, power supply module 430, used for:

[0164] If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then power on the i-th service board.

[0165] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, then powering on the i-th service board will be stopped.

[0166] Optionally, the communication device includes m levels of operating modes, and the power corresponding to the first level of operating mode to the m level of operating mode decreases sequentially, where m is a positive integer greater than 1.

[0167] Determine module 420, used for:

[0168] Before powering on the i-th service board among n service boards, determine the first cumulative power in the j-th level operating mode, where the j-th level operating mode is the current operating mode.

[0169] Power supply module 430, used for:

[0170] If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold of the communication device, then in the j-th level working mode, the i-th service board is powered on.

[0171] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, and j = m, then powering on the i-th service board is stopped.

[0172] If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold of the communication device, and j < m, then the j-th level working mode is adjusted to the k-th level working mode, the first cumulative power is updated, and the i-th service board is powered on according to the updated first cumulative power and the power threshold, where j < k ≤ m.

[0173] Optional, power supply module 430, used for:

[0174] If the sum of the updated first cumulative power and the power of the i-th service board is less than or equal to the power threshold, and k≤m, then power on the i-th service board.

[0175] If the sum of the updated first cumulative power and the power of the i-th service board is greater than the power threshold, and k = m, then powering on the i-th service board should be stopped.

[0176] Optionally, the acquisition module 410 is used for:

[0177] Obtain the total input power and backup power provided by the computer room to the communication equipment;

[0178] The difference between the total input power and the reserve power is used as the power threshold of the communication device.

[0179] Optionally, the acquisition module 410 is used for:

[0180] Obtain the total input power, backup power, and preset power value provided by the computer room to the communication equipment;

[0181] If the difference between the total input power and the reserve power is greater than or equal to the preset power value, then the preset power value is used as the power threshold of the communication device.

[0182] If the difference between the total input power and the reserve power is less than the preset power value, then the difference between the total input power and the reserve power is used as the power threshold of the communication device.

[0183] Optional, such as Figure 5 As shown, the device also includes:

[0184] Display module 440 is used to display a power-on failure message when powering on the i-th service board is stopped.

[0185] Optionally, the determination module 420 is also used for:

[0186] When a change in the power threshold of a communication device is detected, a second cumulative power and the changed power threshold are determined. The second cumulative power is the sum of the power of the powered-on basic board and the power of the q powered-on service boards, where 1 < q ≤ n.

[0187] The power supply module is also used to supply power to n service boards based on the second cumulative power and the changed power threshold.

[0188] Optional, power supply module 430, used for:

[0189] If the changed power threshold is less than the second cumulative power, and the sum of the changed power threshold and the reserve power is greater than or equal to the second cumulative power, then power supply is stopped for q1 service boards out of q service boards, and power supply continues for q2 service boards out of q service boards. The third cumulative power is less than or equal to the changed power threshold, and the third cumulative power is the sum of the power of the powered-on basic board and the power of q2 service boards, where 1≤q1<q and 1≤q2<q.

[0190] It should be noted that the power supply device provided in the above embodiments is only illustrated by the division of the above functional modules when powering the service board. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the power supply device and the power supply method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0191] This application embodiment also provides a communication device, which is deployed in a computer room. The communication device includes a basic board and n service boards, where n is a positive integer greater than 1. The main control board of the basic board supplies power to the n service boards according to the above method. The specific process can be found above, and will not be repeated here.

[0192] This application embodiment also provides a communication device, characterized in that the communication device is deployed in a computer room, the communication device includes a basic single board, n service single boards and a main control board, where n is a positive integer greater than 1, and the main control board supplies power to the n service single boards in accordance with the method described above. The specific process can be referred to the above description, and will not be repeated here.

[0193] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0194] The above description is merely one embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for supplying power to a service board, characterized in that, The method is applied to a communication device comprising a basic single board and n service single boards, the communication device being deployed in a computer room, the communication device having m levels of operating modes, and the power corresponding to the first level of operating mode decreasing sequentially to the power corresponding to the m-th level of operating mode, where m is a positive integer greater than 1 and n is a positive integer greater than 1, the method comprising: Obtain the power threshold of the communication device; Before powering on the i-th service board among the n service boards, the first cumulative power in the j-th level working mode is determined, where the j-th level working mode is the current working mode. The first cumulative power is the sum of the power of the powered-on basic board and the power of the powered-on i-1 service boards, where 1 < i ≤ n. If the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold, then in the j-th level working mode, the i-th service board is powered on. If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold, and j = m, then powering on the i-th service board is stopped. If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold, and j < m, then the j-th level working mode is adjusted to the k-th level working mode, the first cumulative power is updated, and the i-th service board is powered on according to the updated first cumulative power and the power threshold, where j < k ≤ m.

2. The method according to claim 1, characterized in that, The step of powering on the i-th service board based on the updated first cumulative power and the power threshold includes: If the sum of the updated first cumulative power and the power of the i-th service board is less than or equal to the power threshold, and k≤m, then the i-th service board is powered on. If the sum of the updated first cumulative power and the power of the i-th service board is greater than the power threshold, and k = m, then powering on the i-th service board is stopped.

3. The method according to any one of claims 1 to 2, characterized in that, The acquisition of the power threshold of the communication device includes: Obtain the total input power and backup power provided by the computer room to the communication equipment; The difference between the total input power and the reserve power is used as the power threshold of the communication device.

4. The method according to any one of claims 1 to 3, characterized in that, The acquisition of the power threshold of the communication device includes: Obtain the total input power, backup power, and preset power value provided by the computer room to the communication equipment; If the difference between the total input power and the reserve power is greater than or equal to the preset power value, then the preset power value is used as the power threshold of the communication device. If the difference between the total input power and the reserve power is less than the preset power value, then the difference between the total input power and the reserve power is used as the power threshold of the communication device.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: When powering on the i-th service board is stopped, a power-on failure message is displayed.

6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: When a change in the power threshold is detected, a second cumulative power and a changed power threshold are determined. The second cumulative power is the sum of the power of the powered-on basic board and the power of the q powered-on service boards, where 1 < q ≤ n. Power supply processing is performed on the n service boards based on the second cumulative power and the changed power threshold.

7. The method according to claim 6, characterized in that, The step of powering the n service boards according to the second cumulative power and the changed power threshold includes: If the changed power threshold is less than the second cumulative power, and the sum of the changed power threshold and the reserve power is greater than or equal to the second cumulative power, then power is stopped on q1 service boards out of the q service boards, and power is continued on q2 service boards out of the q service boards. The third cumulative power is less than or equal to the changed power threshold, and the third cumulative power is the sum of the power of the powered-on basic board and the power of q2 service boards, where 1 ≤ q1 < q and 1 ≤ q2 < q.

8. A device for supplying power to a service board, characterized in that, The communication equipment containing the device is deployed in a computer room. The communication equipment includes a basic single board and n service single boards. The communication equipment has m operating modes, with the power decreasing sequentially from the first operating mode to the mth operating mode, where m is a positive integer greater than 1 and n is a positive integer greater than 1. The device includes: The acquisition module is used to acquire the power threshold of the communication device; The determination module is used to determine the first cumulative power in the j-th level working mode before powering on the i-th service board among the n service boards. The j-th level working mode is the current working mode. The first cumulative power is the sum of the power of the power-on basic board and the power of the i-1 power-on service boards, where 1 < i ≤ n. The power supply module is configured to power on the i-th service board in the j-th operating mode if the sum of the first cumulative power and the power of the i-th service board is less than or equal to the power threshold. If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold, and j = m, then powering on the i-th service board is stopped. If the sum of the first cumulative power and the power of the i-th service board is greater than the power threshold, and j < m, then the j-th level working mode is adjusted to the k-th level working mode, the first cumulative power is updated, and the i-th service board is powered on according to the updated first cumulative power and the power threshold, where j < k ≤ m.

9. The apparatus according to claim 8, characterized in that, The power supply module is used for: If the sum of the updated first cumulative power and the power of the i-th service board is less than or equal to the power threshold, and k≤m, then the i-th service board is powered on. If the sum of the updated first cumulative power and the power of the i-th service board is greater than the power threshold, and k = m, then powering on the i-th service board is stopped.

10. The apparatus according to any one of claims 8 to 9, characterized in that, The acquisition module is used for: Obtain the total input power and backup power provided by the computer room to the communication equipment; The difference between the total input power and the reserve power is used as the power threshold of the communication device.

11. The apparatus according to any one of claims 8 to 10, characterized in that, The acquisition module is used for: Obtain the total input power, backup power, and preset power value provided by the computer room to the communication equipment; If the difference between the total input power and the reserve power is greater than or equal to the preset power value, then the preset power value is used as the power threshold of the communication device. If the difference between the total input power and the reserve power is less than the preset power value, then the difference between the total input power and the reserve power is used as the power threshold of the communication device.

12. The apparatus according to any one of claims 8 to 11, characterized in that, The device further includes: The display module is used to display a power-on failure message when powering on the i-th service board is stopped.

13. The apparatus according to any one of claims 8 to 12, characterized in that, The determining module is further configured to: When a change in the power threshold is detected, a second cumulative power and a changed power threshold are determined. The second cumulative power is the sum of the power of the powered-on basic board and the power of the q powered-on service boards, where 1 < q ≤ n. The power supply module is also used to supply power to the n service boards based on the second cumulative power and the changed power threshold.

14. The apparatus according to claim 13, characterized in that, The power supply module is used for: If the changed power threshold is less than the second cumulative power, and the sum of the changed power threshold and the reserve power is greater than or equal to the second cumulative power, then power is stopped on q1 service boards out of the q service boards, and power is continued on q2 service boards out of the q service boards. The third cumulative power is less than or equal to the changed power threshold, and the third cumulative power is the sum of the power of the powered-on basic board and the power of q2 service boards, where 1 ≤ q1 < q and 1 ≤ q2 < q.

15. A communication device, characterized in that, The communication equipment is deployed in a computer room. The communication equipment includes a basic board and n service boards, where n is a positive integer greater than 1. The main control board of the basic board supplies power to the n service boards in accordance with the method described in any one of claims 1 to 7.

16. A communication device, characterized in that, The communication equipment is deployed in a computer room. The communication equipment includes a basic board, n service boards and a main control board, where n is a positive integer greater than 1. The main control board supplies power to the n service boards in accordance with the method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Single board and method for controlling power supply of it

    CN101001171A