Device operation control method, optical transmission device and storage medium
By monitoring the changes in the service board flow in the optical transmission equipment, adjusting the working status and frequency, and adjusting the fan board power, the problem of taking into account the power consumption and performance of the entire optical transmission equipment is solved, and effective power consumption reduction and performance protection are achieved.
Patent Information
- Application Number
- CN202011300480.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-18
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2040-11-18
AI Technical Summary
When existing optical transmission equipment reduces the power consumption of the entire machine, it is easy to affect the working performance of the equipment and lacks effective power consumption reduction methods.
By monitoring the traffic trend of the service board, adjusting the working status of the service port and cross board, as well as the working frequency of the core device, and then adjusting the output power of the fan board according to the frequency value of the core device, so as to reduce the power consumption of the entire machine without affecting the Equipment performance.
It effectively reduces the power consumption of the entire machine of the optical transmission equipment, while ensuring the working performance of the equipment, avoiding the problem of performance reduction.
Smart Images

Figure CN114584495B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a device operation control method, optical transmission equipment and storage medium. Background Art
[0002] The bearer network needs to have the characteristics of ultra-low latency, ultra-large capacity and network slicing. Therefore, the power consumption of optical transmission equipment, which is one of the core technologies of the bearer network, is relatively high. At present, one of the power reduction technologies applied to optical transmission equipment is to put one or more service boards or cross-connect boards into sleep mode. The second power reduction technology applied to optical transmission equipment is to reduce the output power of the fan board. However, both methods may reduce the working performance of the optical transmission equipment. Therefore, a method is needed to reduce the power consumption of the optical transmission equipment without affecting the working performance of the optical transmission equipment. Summary of the invention
[0003] Based on this, the embodiments of the present application provide a device operation control method, an optical transmission device and a storage medium, so as to reduce the power consumption of the entire optical transmission device without affecting the working performance of the optical transmission device.
[0004] In a first aspect, an embodiment of the present application provides a device operation control method, including:
[0005] When a low power consumption operation instruction is received, determining a traffic change trend of a first service board, where the first service board is a service board in an in-place state;
[0006] According to the traffic change trend of the first business board, adjust the working state of the service port on the first business board and the working state of the communication port on the cross board associated with the first business board, and adjust the working frequency of the core device on the first business board and the working frequency of the core device on the cross board;
[0007] After a first preset time period, the output power of the fan board is adjusted according to the operating frequency value of the core component on the first service board and / or the operating frequency value of the core component on the cross-connect board.
[0008] In a second aspect, an embodiment of the present application provides an optical transmission device, comprising a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program and implement the device operation control method described in the first aspect when executing the computer program.
[0009] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor enables the processor to implement the device operation control method as described in the first aspect.
[0010] The embodiment of the present application provides a device operation control method, optical transmission equipment and storage medium, the method comprising: when receiving a low power operation instruction, determining the flow change trend of the first service board; adjusting the working state of the service port on the first service board and adjusting the working state of the communication port on the cross board associated with the first service board according to the flow change trend of the first service board, and adjusting the working frequency of the core device on the first service board and adjusting the working frequency of the core device on the cross board; after a first preset time period, adjusting the output power of the fan board according to the working frequency value of the core device on the first service board and / or the working frequency value of the core device on the cross board; wherein the first service board is a service board in position. It can be understood that the power consumption reduction adjustment of the first service board, the cross board and the fan board is performed on the flow change trend of the first service board, so that not only the power consumption of the first service board, the cross board and the fan board can be reduced, but also the service processing and transmission of the first service board and the cross board will not be affected, that is, while reducing the power consumption of the entire optical transmission equipment, the working performance of the optical transmission equipment will not be affected. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a schematic diagram of an optional application scenario of each embodiment of the present application;
[0012] Figure 2 A schematic diagram of the internal accommodation space of the optical transmission device in the embodiment of the present application;
[0013] Figure 3 A schematic diagram of a flow chart of a device operation control method provided in an embodiment of the present application;
[0014] Figure 4 A schematic diagram of a process of step S10 in an embodiment of the present application;
[0015] Figure 5 A schematic diagram showing that the first preset threshold and the second preset threshold are divided into three numerical intervals in an embodiment of the present application;
[0016] Figure 6 A schematic diagram of a connection relationship between the first service board and the cross-connect board in an embodiment of the present application;
[0017] Figure 7 A schematic diagram of the structure of an optical transmission device in an embodiment of the present application;
[0018] Figure 8 A schematic block diagram of the structure of an optical transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0020] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0021] In conjunction with the accompanying drawings, some implementation methods of this specification are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0022] The embodiments of the present application can be applied to Figure 1 In the application scenario shown, in this scenario, the network management terminal is connected to the optical transmission system, wherein the optical transmission system may include one or more optical transmission devices, and the optical transmission devices may include OTN (Optical Transport Network) devices and POTN (Packet Optical Transport Network) devices, etc. It can be understood that the network management terminal can send control instructions to the optical transmission device to control the operation of the optical transmission device. It should be noted that Figure 1 Three optical transmission devices are shown only for exemplary purposes.
[0023] In some embodiments, the optical transmission equipment may include a main control board, a service board, a cross board and a fan board, and these four boards can all work normally by inserting them into slots. Among them, the main control board can be used to receive control instructions sent from the network management terminal and control other boards to perform corresponding operations. Simply put, the main control board is similar to the CPU (Central Processing Unit) of a computer terminal; the service board implements the access and convergence of different types and rate services on the client side, as well as the detection and processing of access signals, to form optical signals to be crossed; the cross board can be used to cross-process the optical signals to be crossed; the fan board can be used to reduce the operating temperature of the board. In some embodiments, the internal accommodation space of the optical transmission equipment can be divided into multiple areas, each area can be placed with one or more boards, and each area can be cooled by one or more fan boards. It should be noted that the optical transmission equipment can also include other types of boards, which will not be repeated here for the sake of brevity.
[0024] For example, Figure 2 As shown, the storage space inside the optical transmission device can be divided into two areas, and each area is provided with one or more slots. For example, the first area can be used to place the main control board, service board 1, service board 2, cross board 1 and fan board 1, etc., and the second area can be used to place service board 3, cross board 2, cross board 3, fan board 2 and fan board 3, etc., and the main control board and other boards can be connected through I 2 C bus for communication (the connection relationship is not shown in the figure).
[0025] The device operation control method provided in the embodiment of the present application can be applied to optical transmission equipment, for example, the method is executed by a main control board in the optical transmission equipment, such as Figure 3 As shown, the method includes but is not limited to steps S10 to S30.
[0026] Step S10, when a low power operation instruction is received, determining the flow change trend of the first service board, wherein the first service board is a service board in an in-place state in the optical transmission device.
[0027] In some implementations, the management personnel may send low-power operation instructions to the optical transmission equipment through the network management terminal, or the network management terminal may send low-power operation instructions to the optical transmission equipment according to a preset automatic operation strategy. Of course, other methods are possible and the embodiments of the present application are not limited thereto.
[0028] In some implementations, the service board in the optical transmission device in the in-place state refers to the service board currently inserted into the slot. Correspondingly, if the service board is not currently inserted into the slot, the service board is in the out-of-place state. Figure 2 In the optical transmission device shown, if service board 1 and service board 3 have been inserted into the slots, and service board 2 has not been inserted into the slot, then service board 1 and service board 3 in the in-place state can both serve as the first service board.
[0029] When receiving the low-power operation instruction, the main control board can perform a series of power reduction operations to reduce the overall power consumption of the optical transmission equipment. However, in order to ensure the working performance of the optical transmission equipment, it is necessary to ensure that the service board and the cross board can process and transmit services normally. Therefore, when receiving the low-power operation instruction, the flow change trend of the first service board can be determined first before further power reduction operations are performed, wherein the flow of the first service board refers to the sum of the flows of all service ports on the first service board.
[0030] In some embodiments, Figure 4 As shown, "determining the traffic change trend of the first service board" in step S10 may include but is not limited to steps S101 to S102.
[0031] Step S101, recording the current service flow value of the first service board as a first sample value, and recording the service flow value of the first service board again as a second sample value after a second preset time period.
[0032] Step S102: determining the traffic change trend of the first service board according to the magnitude relationship between the first sample value and the second sample value.
[0033] The traffic change trend may include traffic increase, traffic easing, and traffic decrease, etc. The main control board may first record the current service traffic value of the first service board, and then record the service traffic value of the first service board again after a period of time, so that the traffic change trend of the first service board can be known based on the relationship between the two values. It should be noted that the second preset time period can be reasonably set according to actual needs.
[0034] In some implementations, step S102 may include but is not limited to the following.
[0035] The difference obtained by subtracting the first sample value from the second sample value is taken as the change value; if the change value exceeds the first preset threshold, it is determined that the traffic change trend of the first business board is an increase in traffic; if the change value is less than the second preset threshold, it is determined that the traffic change trend of the first business board is a decrease in traffic; otherwise, it is determined that the traffic change trend of the first business board is a easing of traffic, wherein the first preset threshold is greater than zero and the second preset threshold is less than zero.
[0036] From the above, it can be known that the magnitude relationship between the first sample value and the second sample value can reflect the flow change trend of the first service board, so the flow change trend can be known according to the change value. Figure 5 As shown, the first preset threshold and the second preset threshold can be divided into three numerical intervals, and each numerical interval can represent a change trend. Therefore, the traffic change trend of the first business board can be determined according to the numerical interval in which the change value is located. It should be noted that the first preset threshold and the second preset threshold can be reasonably set according to actual conditions, and can also be reasonably set according to the second preset time period.
[0037] Exemplarily, the first preset threshold can be set to 10G, the second preset threshold can be set to -10G, and the second preset time period can be set to 10 seconds. Based on this, when a low-power operation instruction is received, the current business traffic value of the first business board can be recorded as the first sample value num1, and the business traffic value of the first business board can be recorded again as num2 after the second preset time period. In this way, the change value D=num2-num1 is recorded. If D≥10G, it is determined that the traffic change trend of the first business board is an increase in traffic. If 10G>D>-10G, it is determined that the traffic change trend of the first business board is a easing of traffic. If D≤-10G, it is determined that the traffic change trend of the first business board is a decrease in traffic.
[0038] Step S20, according to the traffic change trend of the first business board, adjust the working status of the service port on the first business board and the working status of the communication port on the cross board associated with the first business board, and adjust the working frequency of the core components on the first business board and the working frequency of the core components on the cross board.
[0039] Among them, the cross board associated with the first business board refers to the cross board that is connected to the first business board. It can be understood that the first business board and the cross board associated with it are used for business processing and transmission. Based on this, the business port and core components on the first business board can be adjusted according to the traffic change trend of the first business board, and the communication port and core components on the cross board can be adjusted to reduce the power consumption of the first business board and the cross board, thereby reducing the power consumption of the entire optical transmission equipment. It can be understood that the adjustment of the first business board and the cross board is performed on the traffic change trend of the first business board, which will not affect the business processing and transmission of the first business board and the cross board, in other words, it will not affect the working performance of the optical transmission equipment. In some embodiments, the core components on the business board and the core components on the cross board refer to the devices involved in business processing. For example, the core components on the business board can include business chips, lasers, splitters and error detectors, etc., and the core components on the cross board can include cross chips, etc.
[0040] In some embodiments, step S20 may include but is not limited to the following.
[0041] When the traffic change trend of the first service board is traffic increase, the first service port on the first service board that is in a closed state is opened, and the communication port on the cross board connected to the first service port is opened.
[0042] From the above, it can be seen that the business board can form optical signals to be crossed, and the cross-board can perform cross-processing on the optical signals to be crossed. Therefore, the business board can include one or more business ports, and the cross-board can include one or more communication ports, wherein the business port can be connected to the communication port, so that the business board can transmit the optical signal to be crossed to the cross-board. It can be understood that if there are one or more communication ports on the cross-board connected to the business board, then the cross-board is associated with the business board; in addition, the communication port may include a SERDES (short for SERializer (serializer) / DESerializer (deserializer)) port, etc. Based on this, when it is determined that the traffic change trend of the first business board is an increase in traffic, in order to enable the first business board to handle the increased business traffic normally, the first business port on the first business board that is in a closed state can be opened in advance. At the same time, in order for the first business board to transmit the optical signal to be crossed to the cross-board through the first business port, it is also necessary to open the communication port on the cross-board connected to the first business port. In this way, the first business board can handle the increased business traffic normally, thereby ensuring the working performance of the optical transmission equipment. In addition, the main control board can perform other power-saving operations to reduce the power consumption of the first business board and the cross-board, that is, reduce the overall power consumption of the optical transmission equipment.
[0043] For example, Figure 6 As shown, the first business board may include four business ports, of which business port 11 can be in working state, while business ports 12, 13, and 14 can be in closed state; cross boards 1, 2, and 3 all have communication ports connected thereto, for example, communication port 21 on cross board 1 is connected to business port 11, and other similar ones are not repeated here. It can be understood that cross boards 1, 2, and 3 are all associated with the first business board. Based on this, when it is determined that the traffic change trend of the first business board is an increase in traffic, at least one of the business ports 12, 13, and 14 can be opened, for example, business port 12 is opened, and correspondingly, communication port 22 also needs to be opened. It should be noted that the number of the first business ports in the closed state on the first business board to be opened can be reasonably set according to the actual situation, or can also be set according to the magnitude of the traffic change, etc.
[0044] In some embodiments, step S20 may include but is not limited to the following.
[0045] When the traffic change trend of the first service board is that the traffic increases, the operating frequency of the core device on the first service board is increased, and the operating frequency of the core device on the cross-connect board is increased.
[0046] As can be seen from the above, when the traffic change trend of the first business board is an increase in traffic, the first business port and the communication port connected to the first business port can be opened in advance. In addition, the operating frequency of the core device on the first business board can be increased in advance to enhance the working capacity of the core device on the first business board in advance. In other words, the first business board's processing capacity for the business is enhanced in advance. Correspondingly, the operating frequency of the core device on the cross board can also be increased in advance to enhance the working capacity of the core device on the cross board in advance, so as to further ensure that the working performance of the optical transmission equipment is not affected. It should be noted that the increase in the operating frequency of the core device can be set according to the type of device, the traffic change range and / or the actual situation.
[0047] In some embodiments, step S20 may include but is not limited to the following.
[0048] When the traffic change trend of the first service board is traffic easing or traffic decreasing, the second service port in redundant working state on the first service board is closed, and the communication port connected to the second service port on the cross board is closed.
[0049] As can be seen from the above, there can be multiple service ports in working state on the first service board, but there may be service ports that do not transmit optical signals among these service ports, and such service ports are service ports in redundant working state. In addition, for the convenience of description, the service ports that transmit optical signals among these service ports are called service ports in normal working state. Based on this, when it is determined that the flow change trend of the first service board is that the flow is easing or decreasing, the service port in normal working state at this time can enable the first service board to perform normal optical signal transmission. Therefore, the second service port in redundant working state can be closed. At the same time, the communication port connected to the second service port on the cross board can also be closed. This will not only not affect the service processing and transmission of the first service board, but also reduce the power consumption of the first service board and the cross board. In other words, this can reduce the power consumption of the entire optical transmission equipment without affecting the working performance of the optical transmission equipment; in addition, the main control board can perform other power reduction operations to further reduce the power consumption of the first service board and the cross board, thereby further reducing the power consumption of the entire optical transmission equipment.
[0050] For example, Figure 6As shown, the first business board may include four running business ports, among which business port 11 may be in normal working state, and business ports 12, 13, 14 may be in redundant working state; cross boards 1, 2, 3 all have communication ports connected thereto, for example, communication port 21 on cross board 1 is connected to business port 11, and other similar ones are not repeated here. It can be understood that cross boards 1, 2, 3 are all associated with the first business board. Based on this, when it is determined that the traffic change trend of the first business board is that the traffic is easing or the traffic is decreasing, at least one of the business ports 12, 13, 14 can be closed, for example, all business ports 12, 13, 14 can be closed, and correspondingly, communication ports 22, 23, 24 can also be closed. It should be noted that the number of second business ports in redundant working state closed on the first business board can be reasonably set according to actual conditions, or can also be set according to the magnitude of traffic change, etc.
[0051] In some implementations, step S20 may include but is not limited to the following.
[0052] When the traffic change trend of the first service board is traffic easing or traffic decreasing, the operating frequency of the core device on the first service board is reduced, and the operating frequency of the core device on the cross-connect board is reduced.
[0053] As can be seen from the above, when the traffic change trend of the first service board is traffic easing or traffic decline, the second service port and the communication port connected to the second service port can be closed. Based on this, since the second service port is closed, the working capacity of the core device on the first service board is in excess at this time, so the working frequency of the core device on the first service board can also be reduced. Correspondingly, since the communication port connected to the second service port is closed, the working frequency of the core device on the cross board can also be reduced. In this way, not only can the power consumption of the first service board and the cross board be further reduced, but also the processing and transmission of the services by the first service board and the cross board will not be affected. In other words, the power consumption of the entire optical transmission equipment can be reduced without affecting the working performance of the optical transmission equipment. It should be noted that the reduction range of the working frequency of the core device can be set according to the device type, traffic change range and / or actual situation. It can be understood that when the traffic change trend is traffic decline, the reduction range of the working frequency of the core device can be greater than the reduction range of the working frequency of the core device when the traffic change trend is traffic easing.
[0054] Step S30, after a first preset time period, adjust the output power of the fan board according to the operating frequency value of the core components on the first service board and / or the operating frequency value of the core components on the cross-connect board.
[0055] Since the first business board has been adjusted according to the traffic change trend of the first business board before step S30, the board power consumption of the first business board will gradually decrease. Since the board power consumption, operating temperature and the operating frequency of the core components affect each other, these three will tend to be stable after a certain period of time. Correspondingly, the same is true for the cross-board associated with the first business board, which will not be repeated here. Based on this, since the board power consumption of the first business board and the cross-board associated with it is reduced, resulting in excess working capacity of the fan board, the output power of the fan board can be adjusted according to the operating frequency value of the core components on the first business board and / or the operating frequency value of the core components on the cross-board, thereby reducing the board power consumption of the fan board. This not only further reduces the overall power consumption of the optical transmission equipment, but also does not affect the working performance of the optical transmission equipment. It should be noted that the first preset time period can be reasonably set according to actual conditions.
[0056] In some embodiments, step S30 may include but is not limited to the following.
[0057] When the first service board and the cross board are located in different areas of the device, the output power of the first fan board is adjusted according to the operating frequency value of the core device on the first service board, and the output power of the second fan board is adjusted according to the operating frequency value of the core device on the cross board.
[0058] When the first service board and the cross board are located in the same area of the device, the output power of the third fan board is adjusted according to the operating frequency value of the core component on the first service board or the operating frequency value of the core component on the cross board.
[0059] From the above, it can be known that the internal storage space of the optical transmission equipment can be divided into multiple areas, so the first business board and the cross board may be located in the same area or in different areas. When the first business board and the cross board are located in different areas, the first fan board and the second fan board can be adjusted accordingly according to the operating frequency values of the core components of the two, wherein the first fan board is used to reduce the operating temperature of the area where the first business board is located, and the second fan board is used to reduce the operating temperature of the area where the cross board is located; when the first business board and the cross board are located in the same area, the third fan board can be adjusted according to the operating frequency value of the core components of one of them, wherein the third fan board is used to reduce the operating temperature of the area where the first business board and the cross board are located.
[0060] In some implementations, adjusting the output power of the first fan board or the third fan board according to the operating frequency value of the core component on the first service board may include, but is not limited to, the following contents.
[0061] A first power consumption value is determined according to an operating frequency value of a core component on the first business board and a preset first mapping relationship, wherein the first mapping relationship is a correspondence between the operating frequency of the core component on the first business board and the power consumption of the first business board.
[0062] The first output power value is determined according to the first power consumption value and a preset second mapping relationship, wherein the second mapping relationship is a correspondence between the power consumption of the first service board and the minimum output power of the first fan board or the third fan board.
[0063] The current output power of the first fan board or the third fan board is adjusted to a first output power value.
[0064] From the above, it can be known that the working frequency of the core device on the first business board and the power consumption of the board affect each other, that is, there is a certain corresponding relationship between the two. Therefore, the first mapping relationship can be generated in advance according to the corresponding relationship between the two, and the first mapping relationship can be pre-stored in the optical transmission device; in addition, when the power consumption of the board of the first business board is basically unchanged, the output power of the fan board is greater than a certain value to meet the heat dissipation requirements of the first business board. Therefore, the minimum power value of the fan board under different power consumption of the first business board can be determined in advance, and the second mapping relationship can be generated and stored in the optical transmission device. Based on this, the corresponding first power consumption value can be calculated according to the current working frequency value of the core device on the first business board, combined with the first mapping relationship, and then the corresponding first output power value can be calculated in combination with the second mapping relationship, so that the current output power of the fan board is adjusted to the first output power value. It can be understood that the output power of the adjusted fan board is the lowest value, thereby reducing the power consumption of the board of the fan board, and this will not affect the heat dissipation requirements of the first business board, that is, it will not affect the business processing and transmission of the first business board. In other words, this not only reduces the power consumption of the entire machine of the optical transmission equipment but also does not affect the working performance of the optical transmission equipment.
[0065] In some implementations, adjusting the output power of the second fan board or the third fan board according to the operating frequency value of the core device on the crossover board may include, but is not limited to, the following contents.
[0066] The second power consumption value is determined according to the operating frequency value of the core device on the cross board and a preset third mapping relationship, wherein the third mapping relationship is a correspondence between the operating frequency of the core device on the cross board and the power consumption of the cross board.
[0067] The second output power value is determined according to the second power consumption value and a preset fourth mapping relationship, wherein the fourth mapping relationship is a correspondence relationship between the power consumption of the cross-connect board and the minimum output power of the second fan board or the third fan board.
[0068] The current output power of the second fan board or the third fan board is adjusted to a second output power value.
[0069] The specific implementation of this part of the technical features can be found in the above discussion, and will not be repeated here for the sake of brevity.
[0070] In some embodiments, after receiving the low power operation instruction, the method may further include at least one of the following.
[0071] (1) Closing a communication port on the cross-connect board that is connected to a third service port on the second service board, wherein the second service board is a service board that is not in place.
[0072] From the above, it can be seen that the business board in the out-of-place state refers to the business board that is not inserted into the slot. Therefore, the business board is not performing business processing and transmission at this time. Therefore, if there are communication ports connected to the business board on the cross-board, the main control board can close these communication ports. This can reduce the overall power consumption of the optical transmission equipment and will not affect the working performance of the optical transmission equipment.
[0073] (2) When there is no card in the cooling area of the fourth fan board, the fourth fan board is turned off or the output power of the fourth fan board is adjusted to the minimum power value.
[0074] From the above, it can be seen that the fan board is used to reduce the operating temperature of the boards in the specified area. Therefore, if there are no boards in place in the cooling area of the fan board, the fan board can be turned off or the output power of the fan board can be adjusted to the minimum power value. This can reduce the overall power consumption of the optical transmission equipment without affecting the working performance of the optical transmission equipment.
[0075] (3) Setting the working state of the standby board on the device and / or the standby device on the normally operating board to a dormant state.
[0076] In order to cope with various emergencies, the optical transmission equipment may be provided with a spare board and / or a spare device may be provided on the board. For example, the optical transmission equipment may be provided with a spare board for the main control board, or a spare device for the laser may be provided on the service board, etc. Based on this, the main control board may put all these spare boards and / or spare devices into a dormant state to reduce the power consumption of the entire optical transmission equipment. When an emergency occurs, the dormant spare boards and / or spare devices may be quickly restored to a working state, so that the working performance of the optical transmission equipment is basically not affected.
[0077] In some embodiments, the method may also include but is not limited to the following.
[0078] When the first service board changes from the in-place state to the out-of-place state, the communication port on the cross board connected to each service port on the first service board is closed, and / or the working state of the core device on the cross board is set to the dormant state.
[0079] From the above, it can be seen that the first business board can be inserted into the slot for business processing and transmission. However, if the first business board is manually unplugged or the slot fails, etc., the first business board will change from the in-place state to the out-of-place state. Therefore, when the first business board changes from the in-place state to the out-of-place state, the communication port on the cross-board connecting the various business ports on the first business board can be closed, and / or the working state of the core components on the cross-board can be set to a sleep state. This can reduce the overall power consumption of the optical transmission equipment and will not affect the working performance of the optical transmission equipment.
[0080] In some embodiments, the method may also include but is not limited to the following.
[0081] When a normally operating board on the device fails, a corresponding standby board is started, and / or when a normally operating device on the board fails, a corresponding standby device is started.
[0082] The main control board can set the working state of the standby board and / or standby device to sleep state. Therefore, if an abnormality occurs in a normally operating board, the corresponding standby board is turned on; if an abnormality occurs in a normally operating device on the board, the corresponding standby device is turned on.
[0083] In summary, the embodiments of the present application can be applied to Figure 7 The optical transmission device has an internal storage space divided into four areas, and the specific position relationship is shown in the figure. Based on this, when the main control board receives a low-power operation instruction, the method described in the embodiment of the present application can be executed, for example, the following operations can be performed.
[0084] In some implementations, the main control board may put the standby main control board into a sleep state.
[0085] In some embodiments, the business board 3 may be in an out-of-position state, and since there is no board in the fan board 6 that is in the working state, the fan board 6 may be turned off or the output power of the fan board 6 may be adjusted to the minimum power value; in addition, the business board 3 may be associated with the cross boards 2, 3, and the communication port on the cross boards 2, 3 connected to the business port of the business board 3 may be turned off.
[0086] In some embodiments, the service board 1 can be in the in-place state, and the main control board can determine that the traffic change trend of the service board 1 is an increase in traffic, and then the first service port of the service board 1 in the closed state can be opened, and the communication port connected to the first service port on the cross board 1 can be opened; at the same time, the operating frequency of the core device on the service board 1 can be increased, and the operating frequency of the core device on the cross board 1 can be increased. In this way, after a preset time period, the output power of the fan board 1 can be adjusted according to the operating frequency value of the core device on the service board 1, according to the corresponding first mapping relationship and the second mapping relationship.
[0087] In some embodiments, the service board 2 can be in the in-place state, and the main control board can determine that the flow change trend of the service board 2 is a flow easing or a flow decline, and then the second service port in the redundant working state on the service board 2 can be closed, and the communication port connected to the second service port on the cross board 2, 3 can be closed; at the same time, the operating frequency of the core components on the service board 2 can be reduced, and the operating frequency of the core components on the cross board 2, 3 can be reduced. In this way, after a preset time period, the output power of the fan board 2, 3 can be adjusted according to the operating frequency value of the core components on the service board 2, according to the corresponding first mapping relationship and the second mapping relationship, and the output power of the fan board 4, 5 can be adjusted according to the operating frequency value of the core components on the cross board 3, according to the corresponding third mapping relationship and the fourth mapping relationship.
[0088] It should be noted that when the main control board receives a low-power operation instruction, it can loop the method described in the embodiment of the present application, for example, it can loop the above operations until the optical transmission equipment no longer operates in a low-power state.
[0089] The embodiment of the present application also provides an optical transmission device, such as Figure 8 As shown, it includes a processor and a memory, the memory is used to store a computer program; the processor is used to execute the computer program and implement any network flow sampling method provided in the embodiments of the present application when executing the computer program.
[0090] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0091] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor implements any network flow sampling method provided in the embodiments of the present application.
[0092] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0093] As is known to those of ordinary skill in the art, the term computer-readable storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0094] Exemplarily, the computer-readable storage medium may be an internal storage unit of the optical transmission device described in the aforementioned embodiment, such as a hard disk or memory of the optical transmission device. The computer-readable storage medium may also be an external storage device of the optical transmission device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the optical transmission device.
[0095] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A device operation control method, characterized in that: include: When a low power consumption operation instruction is received, determining a traffic change trend of a first service board, where the first service board is a service board in an in-place state; According to the traffic change trend of the first service board, adjust the working state of the service port on the first service board and the working state of the communication port on the cross-board associated with the first service board, and adjust the working frequency of the core device on the first service board and the working frequency of the core device on the cross-board; After a first preset time period, the output power of the fan board is adjusted according to the operating frequency value of the core component on the first service board and / or the operating frequency value of the core component on the cross-connect board.
2. The method according to claim 1, characterized in that: The adjusting the working state of the service port on the first service board and adjusting the working state of the communication port on the cross-connect board associated with the first service board according to the traffic change trend of the first service board includes: When the traffic change trend of the first service board is an increase in traffic, opening the first service port on the first service board that is in a closed state, and opening the communication port on the cross board connected to the first service port; or, When the traffic change trend of the first service board is traffic easing or traffic decreasing, the second service port in redundant working state on the first service board is closed, and the communication port connected to the second service port on the cross board is closed.
3. The method according to claim 1, characterized in that: The adjusting the operating frequency of the core device on the first service board and the adjusting the operating frequency of the core device on the cross-connect board according to the traffic change trend of the first service board includes: When the traffic change trend of the first service board is an increase in traffic, increasing the operating frequency of the core device on the first service board, and increasing the operating frequency of the core device on the cross-connect board; or When the traffic change trend of the first business board is traffic easing or traffic decreasing, the operating frequency of the core components on the first business board is reduced, and the operating frequency of the core components on the cross-board is reduced.
4. The method according to claim 1, characterized in that The adjusting the output power of the fan board according to the operating frequency value of the core device on the first service board and / or the operating frequency value of the core device on the cross-connect board includes: When the first business board and the cross board are located in different areas of the device, the output power of the first fan board is adjusted according to the operating frequency value of the core device on the first business board, and the output power of the second fan board is adjusted according to the operating frequency value of the core device on the cross board, wherein the first fan board is used to reduce the operating temperature of the area where the first business board is located, and the second fan board is used to reduce the operating temperature of the area where the cross board is located; or When the first business board and the cross board are located in the same area of the device, the output power of the third fan board is adjusted according to the operating frequency value of the core component on the first business board or the operating frequency value of the core component on the cross board, wherein the third fan board is used to reduce the operating temperature of the area where the first business board and the cross board are located.
5. The method according to claim 4, characterized in that The adjusting the output power of the first fan board or the third fan board according to the operating frequency value of the core component on the first service board includes: Determine a first power consumption value according to an operating frequency value of a core device on the first business board and a preset first mapping relationship, wherein the first mapping relationship is a correspondence between an operating frequency of a core device on the first business board and a power consumption of the first business board; Determine a first output power value according to the first power consumption value and a preset second mapping relationship, where the second mapping relationship is a correspondence between the power consumption of the first service board and the minimum output power of the first fan board or the third fan board; The current output power of the first fan board or the third fan board is adjusted to the first output power value.
6. The method according to claim 4, characterized in that The adjusting the output power of the second fan board or the third fan board according to the operating frequency value of the core device on the cross-connect board comprises: Determine the second power consumption value according to the operating frequency value of the core device on the cross board and a preset third mapping relationship, wherein the third mapping relationship is a correspondence between the operating frequency of the core device on the cross board and the power consumption of the cross board; Determine a second output power value according to the second power consumption value and a preset fourth mapping relationship, wherein the fourth mapping relationship is a correspondence between the power consumption of the cross-connect board and the minimum output power of the second fan board or the third fan board; The current output power of the second fan board or the third fan board is adjusted to the second output power value.
7. The method according to any one of claims 1 to 6, characterized in that: After receiving the low power operation instruction, the method further includes at least one of the following: Closing the communication port on the cross-connect board connected to the third service port on the second service board, where the second service board is a service board that is not in place; When there is no card in the cooling area of the fourth fan board, shutting down the fourth fan board or adjusting the output power of the fourth fan board to the minimum power value; The working state of the standby board on the device and / or the standby device on the board operating normally is set to a dormant state.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the first service board changes from the in-place state to the out-of-place state, the communication port on the cross board connected to each service port on the first service board is closed, and / or the working state of the core device on the first service board is set to a dormant state; or When a normally operating board on the device has an abnormality, the corresponding standby board is turned on, and / or when a normally operating device on the board has an abnormality, the corresponding standby device is turned on.
9. An optical transmission device, characterized in that: including a processor and a memory; The memory is used to store computer programs; The processor is used to execute the computer program and implement the device operation control method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the device operation control method according to any one of claims 1 to 8.
