A method and system for link aggregation control of a switch SFP optical module
By identifying service types and implementing differentiated activation strategies, the power consumption of the auxiliary transmission channel of the SFP optical module is intelligently controlled, solving the data packet delay and loss problems caused by activation delay in existing technologies, and improving adaptability and performance in network environments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG ZHISHI CLOUD CONTROL TECHNOLOGY CO LTD
- Filing Date
- 2026-04-23
- Publication Date
- 2026-07-03
AI Technical Summary
In existing technologies, the link aggregation control method for SFP optical modules suffers from problems such as packet queuing delays or even packet loss due to activation delays when handling bursty, latency-sensitive data streams.
By introducing a service type identification mechanism, adopting a differentiated activation strategy and intelligent power consumption status control, the service type is identified based on the message characteristics of the data stream, and the corresponding activation threshold and judgment duration are matched to control the power consumption status of the auxiliary transmission channel, shield the link status change signal, and send the link failure signal only when there is a hardware failure.
It significantly improves the response speed and transmission efficiency of SFP optical modules when handling bursty, latency-sensitive services, reduces data packet latency and packet loss rate, and balances energy management and system stability.
Smart Images

Figure CN122093308B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information transmission technology, and more specifically, to a link aggregation control method and system for an SFP optical module of a switch. Background Technology
[0002] In modern enterprise networks and data centers, to improve network bandwidth utilization efficiency and effectively manage operational energy consumption, existing technologies have introduced a special low-rate dual-transmit SFP optical module. This module integrates two independent low-rate transmit channels within a standard SFP package; for example, each channel provides a transmission capacity of 1Gbps. Through the link aggregation function of the switch, these two physical channels can be bundled into a logical 2Gbps link, thereby providing higher bandwidth when needed. The accompanying control method is designed to monitor the total traffic on the switch ports. During periods of low network traffic, such as at night or during off-peak hours, the control method determines that the current 1Gbps channel is sufficient and shuts down the second transmit channel, putting it into a low-power state to conserve energy. When network traffic is detected to be rising continuously and exceeding the pre-set bandwidth threshold of the first channel, the control method automatically wakes up and enables the second transmit channel. The switch then adds this channel to the link aggregation group, restoring the logical link bandwidth to 2Gbps to meet peak service demands. This total flow-based control method has shown good results in handling homogeneous, high-capacity data transmission tasks, achieving a balance between ensuring communication capabilities and reducing operating costs.
[0003] However, with the continuous expansion of enterprise businesses and the deepening of digital transformation, the network environment has begun to support more diverse applications. In addition to traditional batch data transmission and continuous business traffic, a new type of business, which places higher demands on network performance, is gradually emerging. These businesses are characterized by generating highly bursty data streams that are extremely sensitive to latency. For example, in the financial trading field, high-frequency trading systems require millisecond-level response times to process market data and trading instructions; in industrial automation, real-time sensor data acquisition and control command transmission require data to be transmitted within an extremely short time to ensure precise control of the production line; in scientific computing, data synchronization and intermediate result exchange between distributed computing clusters often exhibit short-term, high-bandwidth, low-latency requirements. These bursty data streams are characterized by generating massive traffic close to or exceeding the capacity of a single 1Gbps channel within an extremely short time window (possibly only tens of milliseconds to a few seconds), which then quickly drops back to a lower level.
[0004] Faced with this new traffic pattern, the existing control methods began to show their limitations. To avoid frequent activation and deactivation of the second transmission channel due to minor traffic fluctuations (i.e., so-called "link jitter" or "link flip"), these methods typically introduce activation delays or hysteresis mechanisms. This means that even if the first 1Gbps channel rapidly saturates due to a sudden surge in traffic, the control system will not immediately activate the second channel. It needs to wait for the traffic to consistently exceed a threshold for a period of time, or for the traffic to reach a higher second threshold, before triggering the activation of the second channel. This design is effective when handling steadily increasing traffic, but it becomes a bottleneck when facing highly bursty, latency-sensitive data streams. When a high-intensity burst of data packets floods in, the first channel quickly becomes congested, and a large number of packets begin queuing in the switch's internal buffer. Due to the activation delay of the control system, the second channel cannot provide additional bandwidth support in time, causing these critical burst data packets to experience significant queuing delays, and even packet loss due to buffer overflow. This directly leads to a sharp decline in the performance of applications that rely on these data streams; for example, transaction instructions may not be delivered in time, industrial control systems may respond slowly, and it may even cause business interruptions or economic losses.
[0005] To address the aforementioned issues, existing technologies urgently need improvement. Summary of the Invention
[0006] The purpose of this application is to provide a link aggregation control method and system for SFP optical modules of a switch, which aims to solve the problem that the existing SFP optical module link aggregation control method suffers from packet queuing delay or even packet loss due to activation delay when handling bursty, latency-sensitive data streams.
[0007] In a first aspect, this application provides a link aggregation control method for an SFP optical module of a switch, used to control the SFP optical module of the switch, wherein the SFP optical module has a main transmission channel and an auxiliary transmission channel; the method includes the following steps:
[0008] A1. Obtain message characteristic information of the data stream to be transmitted, and identify the service type based on the message characteristic information; the service type includes at least a first type of service and a second type of service, wherein the first type of service is more sensitive to transmission delay than the second type of service;
[0009] A2. Match the corresponding activation threshold and judgment duration based on the identified business type;
[0010] A3. Determine whether the activation conditions are met based on the changes in real-time transmission traffic, the activation threshold, and the determination duration;
[0011] A4. Based on the identified service type and the fulfillment of activation conditions, control the power consumption state of the auxiliary transmission channel; the power consumption state includes at least full power state, preheating standby state, and off state;
[0012] A5. When the power consumption state of the auxiliary transmission channel changes, the link state change signal is blocked from being sent to the switch during the switching process, and a link failure signal is sent to the switch only when a hardware failure of the auxiliary transmission channel is detected.
[0013] Preferably, step A1 includes:
[0014] A101. Real-time acquisition of the header information of data packets in the data stream to be transmitted, so as to extract at least one of the DSCP value, VLAN identifier, TCP port number or UDP port number as the message feature information;
[0015] A102. The message feature information is compared with a preset service rule table to classify the data stream to be transmitted into the first type of service or the second type of service; the service rule table contains predefined matching conditions and corresponding service type labels.
[0016] Preferably, the activation threshold corresponding to the first type of service is less than the activation threshold corresponding to the second type of service, and the determination time corresponding to the first type of service is shorter than the determination time corresponding to the second type of service;
[0017] Step A3 includes:
[0018] When the real-time transmission traffic exceeds the activation threshold for a duration that reaches the determination duration, the activation condition is determined to be met; otherwise, the activation condition is determined not to be met.
[0019] Preferably, step A4 includes:
[0020] A401. When the identified service type is a Class I service and the activation conditions are not met, the auxiliary transmission channel is controlled to enter the preheating standby state;
[0021] A402. When the identified service type is a second type of service and the activation conditions are not met, the auxiliary transmission channel is controlled to enter the closed state;
[0022] A403. When the activation condition is met, the auxiliary transmission channel is controlled to enter the full power state to cooperate with the main transmission channel for aggregated transmission.
[0023] Preferably, step A401 includes:
[0024] When the identified service type is the first type and the activation conditions are not met, the laser driving circuit in the auxiliary transmission channel is controlled to maintain a non-zero bias current and the operating temperature of the laser in the auxiliary transmission channel is kept within a preset thermal equilibrium range.
[0025] Preferably, step A403 includes:
[0026] When the identified service type is the second type of service and the activation conditions are met, the auxiliary transmission channel is controlled to gradually switch from the current power consumption state to the full power state according to the preset current step gradient.
[0027] When the identified service type is a Class 1 service and the activation conditions are met, the auxiliary transmission channel is controlled to instantly switch from the current power consumption state to the full power state.
[0028] Preferably, step A403 includes:
[0029] During the action chain of switching from power consumption state to full power state in the auxiliary transmission channel, the real-time bit error rate of the main transmission channel is acquired synchronously.
[0030] If the rise rate of the real-time bit error rate exceeds a preset safety threshold, it is determined that the instantaneous current change of the auxiliary transmission channel causes power integrity interference to the main transmission channel, and a signal compensation mechanism is triggered.
[0031] After the signal compensation mechanism is triggered, the impact of power integrity interference on the data transmission of the main transmission channel is offset by increasing the driving current at the transmitting end of the main transmission channel or adjusting the decision threshold at the receiving end of the main transmission channel.
[0032] Preferably, step A5 includes:
[0033] A501. Establish an abstraction layer of physical link status inside the SFP optical module;
[0034] A502. When the auxiliary transmission channel switches between different power consumption states, the activation status signal of the logical link is reported to the switch through the abstraction layer, and a link failure signal is sent to the switch only when a hardware failure of the auxiliary transmission channel is detected.
[0035] Preferably, the method further includes the step of:
[0036] A6. When the auxiliary transmission channel is in full power mode, perform the following steps:
[0037] A601. When it is detected that the main transmission channel and the auxiliary transmission channel are simultaneously in a high-load aggregated transmission state, the physical distance between the main transmission channel and the auxiliary transmission channel and their respective real-time power consumption data are obtained.
[0038] A602. Based on the physical spacing and the real-time power consumption data, calculate the local thermal superposition density inside the SFP optical module;
[0039] A603. If the local thermal superposition density exceeds a preset reliability threshold, then, under the premise of meeting the minimum bandwidth requirements corresponding to the identified service type, the instantaneous power consumption of the auxiliary transmission channel is reduced by adjusting the modulation format of the auxiliary transmission channel or reducing the symbol rate of the auxiliary transmission channel, thereby suppressing the temperature rise rate of the SFP optical module.
[0040] Secondly, this application provides a link aggregation control system for an SFP optical module of a switch, used to control the SFP optical module of the switch, wherein the SFP optical module has a main transmission channel and an auxiliary transmission channel; the system includes:
[0041] A type identification module is used to acquire message feature information of the data stream to be transmitted, and to identify the service type based on the message feature information; the service type includes at least a first type of service and a second type of service, wherein the first type of service is more sensitive to transmission delay than the second type of service;
[0042] The parameter matching module is used to match the corresponding activation threshold and judgment duration based on the identified service type;
[0043] The judgment module is used to determine whether the activation conditions are met based on the changes in real-time transmission traffic, the activation threshold, and the judgment duration.
[0044] The status control module is used to control the power consumption status of the auxiliary transmission channel based on the identified service type and the satisfaction of activation conditions; the power consumption status includes at least a full power status, a preheating standby status, and a shutdown status;
[0045] The signal transmission module is used to shield the transmission of link state change signals to the switch during the switching process when the power consumption state of the auxiliary transmission channel changes, and to send link failure signals to the switch only when a hardware failure of the auxiliary transmission channel is detected.
[0046] Beneficial effects: The link aggregation control method and system for SFP optical modules of switches provided in this application significantly improve the response speed and transmission efficiency of SFP optical modules when handling diverse service traffic through intelligent service type identification and differentiated channel activation strategies, combined with optimized link status signal management. Especially when dealing with bursty and latency-sensitive services, it can effectively reduce data packet latency and packet loss rate, while taking into account energy consumption management and system stability, overcoming the shortcomings of the prior art. Attached Figure Description
[0047] Figure 1 A flowchart of a link aggregation control method for an SFP optical module of a switch provided in this application.
[0048] Figure 2 This is a schematic diagram of a link aggregation control system for an SFP optical module of a switch provided in this application.
[0049] Labeling Explanation: 1. Type Identification Module; 2. Parameter Matching Module; 3. Judgment Module; 4. Status Control Module; 5. Signal Transmission Module. Detailed Implementation
[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0051] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0052] Please refer to Figure 1 This application discloses a link aggregation control method for an SFP optical module of a switch in some embodiments, used to control the SFP optical module of the switch, wherein the SFP optical module has a main transmission channel and an auxiliary transmission channel; the method includes the following steps:
[0053] A1. Obtain message characteristic information of the data stream to be transmitted, and identify the service type based on the message characteristic information; the service type includes at least a first type of service and a second type of service, wherein the first type of service is more sensitive to transmission delay than the second type of service;
[0054] A2. Match the corresponding activation threshold and judgment duration based on the identified business type;
[0055] A3. Determine whether the activation conditions are met based on the changes in real-time transmission traffic, the activation threshold, and the determination duration;
[0056] A4. Based on the identified service type and the fulfillment of activation conditions, control the power consumption state of the auxiliary transmission channel; the power consumption state includes at least full power state, preheating standby state, and off state;
[0057] A5. When the power consumption state of the auxiliary transmission channel changes, the link state change signal is blocked from being sent to the switch during the switching process, and a link failure signal is sent to the switch only when a hardware failure of the auxiliary transmission channel is detected.
[0058] This application effectively solves the problems of link activation delay and data transmission performance degradation that exist in traditional methods when handling bursty, latency-sensitive services by introducing service type identification, dynamic matching of activation parameters, and intelligent power consumption state control. By distinguishing different service types and configuring differentiated activation strategies for them, this application can ensure that high-priority services receive timely and efficient bandwidth support during traffic bursts, while avoiding unnecessary power waste and link jitter, thereby significantly improving the adaptability and performance of SFP optical modules in complex network environments.
[0059] SFP optical modules are small, hot-swappable optical transceiver modules widely used in network switches, routers, and other devices for photoelectric signal conversion. An SFP optical module typically includes a primary transmission channel and an auxiliary transmission channel. The primary transmission channel is the default or main physical channel used for data transmission within the SFP optical module, and it is usually active upon module startup. The auxiliary transmission channel is a spare or on-demand activated physical channel within the SFP optical module; its power consumption can be dynamically adjusted according to service requirements to achieve link aggregation or energy saving. Link aggregation is a network technology that bundles multiple physical links into a single logical link to provide higher bandwidth, better load balancing, and link redundancy.
[0060] The method in this embodiment aims to intelligently control the power consumption state of the auxiliary transmission channel in the SFP optical module according to the service type of the data stream to be transmitted, so as to optimize network performance and energy consumption.
[0061] In step A1, it is necessary to obtain the message characteristic information of the data stream to be transmitted and identify the service type based on this information. The service type includes at least Category I and Category II services, with Category I services being more sensitive to transmission latency than Category II services. Message characteristic information can be extracted from the data stream messages; for example, it can be obtained by analyzing the header information of the data packets. One implementation method is that the control logic inside the SFP optical module can be configured with a message analyzer. This analyzer captures data packets flowing through the SFP optical module in real time and parses their header fields, such as source / destination IP addresses, port numbers, and protocol types, using this parsed information as message characteristic information. Furthermore, the SFP optical module can communicate with a switch, which pre-classifies the data stream and informs the SFP optical module of the classification result (i.e., service type) through a specific control interface or protocol.
[0062] In step A2, the corresponding activation threshold and decision duration are matched according to the identified service type. The activation threshold is the traffic limit for determining whether the auxiliary transmission channel needs to be activated, while the decision duration is the time required for the traffic to continuously exceed the activation threshold. As a preferred implementation, the SFP optical module internally stores a mapping table between service types and activation parameters. When a specific service type is identified, such as the first type of service, the system looks up and retrieves the preset activation threshold and decision duration from this mapping table. For example, for the latency-sensitive first type of service, a lower activation threshold and a shorter decision duration can be matched to ensure that the auxiliary transmission channel can respond quickly. For the second type of service, a higher activation threshold and a longer decision duration can be matched to avoid unnecessary frequent switching. Furthermore, these activation parameters can be dynamically configured by the network administrator through the management interface and sent to the SFP optical module, which then matches them according to the received configuration information.
[0063] In step A3, the activation condition is determined based on the changes in real-time transmission traffic, the activation threshold, and the determination duration. The changes in real-time transmission traffic can be obtained through the traffic monitoring module inside the SFP optical module. Specifically, the SFP optical module continuously monitors the real-time traffic of the main transmission channel and compares it with the activation threshold matched in step A2. If the real-time traffic continuously exceeds the activation threshold, and this state lasts for the matched determination duration, the activation condition is determined to be met. For example, if the activation threshold for the first type of service is 1Gbps and the determination duration is 100 milliseconds, then when the traffic of the main transmission channel is higher than 1Gbps for 100 consecutive milliseconds, the activation condition is met. As an optional implementation, the SFP optical module can use a sliding time window to calculate the average traffic and compare it with the activation threshold to smooth out the impact of traffic fluctuations.
[0064] In step A4, the power consumption state of the auxiliary transmission channel is controlled based on the identified service type and the fulfillment of activation conditions. The power consumption states include at least a full-power state, a preheating standby state, and a shutdown state. The full-power state refers to the auxiliary transmission channel being fully activated and ready for data transmission, at which point power consumption is highest. The preheating standby state refers to the auxiliary transmission channel being in an intermediate state of low power consumption that can quickly switch to full-power mode; for example, the laser may maintain a non-zero bias current to keep the temperature stable. The shutdown state refers to the auxiliary transmission channel being completely shut down, at which point power consumption is lowest. Specifically, the power management unit inside the SFP optical module sends control commands to the hardware components of the auxiliary transmission channel (such as the laser driver circuit, transceiver chip, etc.) based on the service type identified in step A1 and the judgment result in step A3, causing it to enter the corresponding power consumption state. For example, when a first type of service is identified and the activation conditions are met, the auxiliary transmission channel is controlled to enter the full-power state. When a second type of service is identified but the activation conditions are not met, the auxiliary transmission channel is controlled to enter the shutdown state.
[0065] In step A5, when the power state of the auxiliary transmission channel changes, the link state change signal sent to the switch is blocked during the switching process. A link failure signal is only sent to the switch when a hardware failure is detected in the auxiliary transmission channel. Traditional SFP optical modules immediately send a link state change signal to the connected switch when the link state changes (e.g., from off to active). This can cause the switch to frequently update its link aggregation group configuration, introducing unnecessary latency and processing overhead, especially when the auxiliary transmission channel switches frequently. This embodiment manages the physical link state changes of the auxiliary transmission channel by establishing an abstraction layer within the SFP optical module. Specifically, the control logic inside the SFP optical module temporarily suppresses or does not generate standard link state change signals (such as Link Up / Link Down) when the auxiliary transmission channel undergoes a power state switch, thus avoiding reporting these transient changes to the switch. Only when the SFP optical module detects that a hardware failure has indeed occurred in the auxiliary transmission channel (e.g., laser damage, abnormal optical power, etc.), causing it to malfunction, will it send a link failure signal to the switch, notifying the switch that the physical link is unavailable.
[0066] The link aggregation control method for the SFP optical modules of the switch in this embodiment has significant advantages and innovations compared to the traditional control method based on total traffic. When dealing with bursty and latency-sensitive services, traditional methods often result in queuing delays or even packet loss of critical data packets when the main transmission channel is saturated due to their inherent activation delays and lag judgment mechanisms, which seriously affects the performance of high-priority services.
[0067] The core innovation of this embodiment lies in the introduction of a "service type identification" mechanism, based on which "differentiated activation strategy" and "intelligent power consumption state control" are implemented. By acquiring the message characteristic information of the data stream to be transmitted, this method can identify the first type of service that is sensitive to transmission delay and the second type of service that is not sensitive to delay. This innovation enables the SFP optical module to no longer simply respond to changes in total traffic, but to understand the "priority" and "characteristics" of the data stream.
[0068] Based on service type identification, this method can match corresponding activation thresholds and decision durations for different service types. For example, for the first type of service, a lower activation threshold and a shorter decision duration can be configured to ensure that the auxiliary transmission channel can be quickly activated when sudden traffic surges occur, providing timely additional bandwidth support and effectively avoiding queuing and packet loss problems caused by activation delays in traditional methods. For the second type of service, a higher activation threshold and a longer decision duration can be configured to balance performance and energy consumption, avoiding unnecessary frequent switching. This differentiated strategy significantly improves the adaptability of SFP optical modules to complex network environments.
[0069] Furthermore, this method introduces a "preheating standby state" and a "link state signal masking" mechanism. The preheating standby state allows the auxiliary transmission channel to maintain rapid startup capability at low power consumption, further shortening the switching time from standby to full power state, which is particularly critical for latency-sensitive services. Link state signal masking solves the link jitter problem caused by the switching of auxiliary transmission channel power states in traditional methods. By not sending link state change signals to the switch during the switching process, and only sending link failure signals in the event of hardware failure, it greatly improves network stability and reduces the processing burden on the switch.
[0070] In summary, this embodiment effectively overcomes the limitations of existing technologies in handling bursty and latency-sensitive services through innovations such as service type identification, differentiated activation strategies, intelligent power consumption status control, and link status signal shielding. It significantly improves the overall performance, energy consumption, and stability of SFP optical modules, providing a more efficient and intelligent link aggregation control solution for modern enterprise networks and data centers.
[0071] In some implementations, step A1 includes:
[0072] A101. Real-time acquisition of the header information of data packets in the data stream to be transmitted, so as to extract at least one of the DSCP value, VLAN identifier, TCP port number or UDP port number as the message feature information;
[0073] A102. The message feature information is compared with a preset service rule table to classify the data stream to be transmitted into the first type of service or the second type of service; the service rule table contains predefined matching conditions and corresponding service type labels.
[0074] The DSCP (Differentiated Services Code Point) value is a field in the IP packet header used to mark the Quality of Service (QoS) level of the data packet. Different DSCP values correspond to different service priorities and latency sensitivities. The VLAN (Virtual Local Area Network) identifier is used to distinguish different virtual local area networks and can identify specific service flows based on the VLAN ID. The TCP or UDP port number is used to identify the application layer protocol, such as HTTP (80), HTTPS (443), VoIP (5060), etc. These port numbers are closely related to specific service applications. By extracting at least one of these header information, the packet feature information can be comprehensively and accurately constructed.
[0075] Furthermore, the service rule table can be pre-configured in the memory inside the SFP optical module, containing a series of matching conditions and corresponding service type tags. For example, when the DSCP value is within a specific range, it can be marked as a Class I service; when the TCP port number is a specific value, it can also be marked as a Class I service. The matching conditions can be based on a single packet feature or a combination of multiple packet feature information. By comparing the real-time acquired packet feature information with the service rule table, the system can automatically and efficiently classify the data stream to be transmitted into either the Class I service or the Class II service, thereby providing an accurate service type basis for subsequent power consumption control.
[0076] The solution in this application can accurately extract the packet characteristic information of the data stream to be transmitted by acquiring the header information of the data packets in real time, such as DSCP value, VLAN identifier, TCP port number or UDP port number. This characteristic information directly reflects the service attributes and priority of the data stream. Subsequently, by comparing this packet characteristic information with a preset service rule table, the system can accurately classify the data stream into Category I services, which are highly sensitive to transmission latency, or Category II services, which are less sensitive, according to predefined matching conditions. This meticulous classification mechanism ensures that subsequent steps, such as matching activation thresholds and judgment durations for different service types, and controlling the power consumption status of auxiliary transmission channels, have sufficient basis and accuracy, thereby achieving refined link aggregation control.
[0077] In some preferred embodiments, the activation threshold corresponding to the first type of service is less than the activation threshold corresponding to the second type of service, and the determination time corresponding to the first type of service is shorter than the determination time corresponding to the second type of service.
[0078] Step A3 includes:
[0079] When the real-time transmission traffic exceeds the activation threshold for a duration that reaches the determination duration, the activation condition is determined to be met; otherwise, the activation condition is determined not to be met.
[0080] Specifically, the first type of service is more sensitive to transmission latency than the second type of service. Therefore, to ensure faster response times for latency-sensitive services, their activation thresholds are set lower than those for the second type of service, and their decision duration is set shorter. For example, for first-type services such as real-time audio and video streaming, the auxiliary transmission channel is determined to be activated when its traffic reaches a relatively low threshold and persists for a short period. Conversely, for second-type services such as file transfer, the activation threshold can be higher, and the decision duration can be longer, to avoid frequent activation of the auxiliary transmission channel due to short-term traffic fluctuations, thereby saving power.
[0081] The phrase "the duration for which real-time transmission traffic continuously exceeds the activation threshold reaches the determination duration" means that the system continuously monitors real-time transmission traffic. Only when the traffic value continuously and uninterruptedly exceeds the preset activation threshold, and this state lasts for the preset determination duration, is the activation condition ultimately determined to be met. This determination mechanism aims to filter out transient traffic spikes, ensuring that the activation of the auxiliary transmission channel is based on stable and continuous traffic demand.
[0082] This application's solution, by setting differentiated activation thresholds and judgment durations for different service types and introducing a "continuous exceedance" judgment mechanism, can more accurately respond to the transmission needs of different services. Specifically, for the first type of service, which is sensitive to transmission latency, a lower activation threshold and a shorter judgment duration allow the auxiliary transmission channel to be activated quickly, thereby promptly relieving the load on the main transmission channel and ensuring the transmission quality and low latency requirements of high-priority services. For the second type of service, which is not sensitive to transmission latency, a higher activation threshold and a longer judgment duration can effectively prevent the frequent activation of the auxiliary transmission channel due to short-term traffic fluctuations, thereby reducing unnecessary power consumption and resource waste. In addition, the judgment logic of "continuously exceeding the activation threshold to reach the judgment duration" can effectively filter out instantaneous traffic spikes, ensuring that the activation of the auxiliary transmission channel is based on stable and continuous traffic demand, further improving the stability and reliability of system operation.
[0083] Specifically, step A4 includes:
[0084] A401. When the identified service type is a Class I service and the activation conditions are not met, the auxiliary transmission channel is controlled to enter the preheating standby state;
[0085] A402. When the identified service type is a second type of service and the activation conditions are not met, the auxiliary transmission channel is controlled to enter the closed state;
[0086] A403. When the activation condition is met, the auxiliary transmission channel is controlled to enter the full power state to cooperate with the main transmission channel for aggregated transmission.
[0087] Specifically, step A401 refers to the following: when the system identifies that the current data stream to be transmitted mainly belongs to the first type of service, which is highly sensitive to transmission latency, and the conditions for activating the auxiliary transmission channel for aggregated transmission have not yet been met, the auxiliary transmission channel will not be completely shut down, but will be controlled to enter a preheating standby state. The preheating standby state can be understood as a low-power but quickly wake-up state. Its purpose is to significantly shorten the time required for the auxiliary transmission channel to switch from a non-working state to a full-power working state while ensuring low power consumption, thereby providing a faster response speed for the first type of service.
[0088] Step A402 can be understood as follows: when the identified service type is a Category II service with low sensitivity to transmission latency, and the activation conditions are not met, the auxiliary transmission channel is controlled to enter a shutdown state. The shutdown state means that the auxiliary transmission channel is in a minimum power consumption mode, such as completely cutting off the power supply to its main functional modules to maximize energy savings. The purpose is to achieve optimal energy saving by completely shutting down the auxiliary transmission channel when it is not needed for latency-insensitive services.
[0089] In practical applications, step A403 specifically involves the auxiliary transmission channel entering full-power mode once the activation conditions are met, regardless of whether the currently identified service type is Category I or Category II. Full-power mode means the auxiliary transmission channel operates at its maximum performance, working in conjunction with the main transmission channel for link aggregation transmission, thereby providing higher bandwidth and / or better transmission performance. Its purpose is to ensure that the system can provide sufficient transmission capacity in a timely manner when traffic demand reaches a certain level.
[0090] This application's solution addresses the potential imbalance between power consumption and latency in traditional solutions by finely controlling the power consumption state of the auxiliary transmission channel. Specifically, when a latency-sensitive first-type service is identified, the auxiliary transmission channel is placed in a preheating standby state instead of being directly shut down, even if the activation conditions are not met. This preheating standby state allows the auxiliary transmission channel to maintain a "semi-wake-up" state, such as maintaining the bias current or temperature of critical components. This allows it to quickly switch to full power when the activation conditions are met, avoiding the significant latency caused by starting from a completely off state and ensuring the transmission quality of the first-type service. Conversely, for latency-insensitive second-type services, the auxiliary transmission channel is completely shut down when the activation conditions are not met to achieve maximum energy savings, as these services have a higher tolerance for startup latency. Once the activation conditions are met, regardless of the service type, the auxiliary transmission channel is quickly switched to full power to provide the necessary aggregation transmission capability, thus effectively balancing power management and service performance requirements.
[0091] Preferably, step A401 may include:
[0092] When the identified service type is the first type and the activation conditions are not met, the laser driving circuit in the auxiliary transmission channel is controlled to maintain a non-zero bias current and the operating temperature of the laser in the auxiliary transmission channel is kept within a preset thermal equilibrium range.
[0093] Specifically, maintaining a non-zero bias current in the laser driver circuit means that even when the auxiliary transmission channel is not in full-power transmission mode, the internal laser driver circuit is still subjected to a bias current that is lower than the normal operating current but higher than zero. The purpose of this non-zero bias current is to keep the laser in a quasi-operational state, preventing it from being completely shut down, thereby reducing the time required to start up from a completely shut-down state.
[0094] The laser's operating temperature being within a preset thermal equilibrium range means that the core temperature of the laser is maintained within a relatively stable range close to its optimal operating temperature through the temperature control mechanism within the SFP optical module (e.g., an integrated temperature controller or thermoelectric cooler). This thermal equilibrium range aims to eliminate the physical response delay of the laser caused by temperature changes, ensuring that it can quickly reach stable output power and wavelength when needed. For example, this thermal equilibrium range can be set to the typical operating temperature of the laser at full power ± X degrees Celsius, where X is a small value (which can be set according to actual needs) to minimize the impact of temperature fluctuations on performance.
[0095] The solution proposed in this application maintains a non-zero bias current in the laser driver circuit, ensuring the laser is always in a "pre-activated" state rather than a completely off state. This significantly shortens the startup time required for the laser to go from standby to emitting light. Simultaneously, by keeping the laser's operating temperature within a preset thermal equilibrium range, the delay caused by instability in the laser's physical characteristics (such as threshold current, slope efficiency, and wavelength) due to sudden temperature changes is eliminated. It is precisely because the laser can quickly achieve stable optical output when needed that the auxiliary transmission channel can rapidly switch from a preheating standby state to a full-power state, thereby meeting the stringent transmission delay requirements of Category I services.
[0096] In practical applications, if the auxiliary transmission channel uses a single handover method to enter full-power state regardless of the service type when the activation condition is met, it may not adequately address the varying transmission delay sensitivities of different service types. For example, for the first type of service, which is highly sensitive to transmission delay, a prolonged handover process will affect its service quality; while for the second type of service, which is less sensitive to transmission delay, an instantaneous handover may cause unnecessary instantaneous power consumption spikes or potential impacts on system stability. Therefore, this application further proposes a differentiated handover strategy for different service types to control the auxiliary transmission channel to enter full-power state. Specifically, step A403 includes:
[0097] When the identified service type is the second type of service and the activation conditions are met, the auxiliary transmission channel is controlled to gradually switch from the current power consumption state to the full power state according to the preset current step gradient.
[0098] When the identified service type is a Class 1 service and the activation conditions are met, the auxiliary transmission channel is controlled to instantly switch from the current power consumption state to the full power state.
[0099] Specifically, the "preset current step gradient" refers to the internal drive current or bias current not reaching full power level all at once when the auxiliary transmission channel switches from its current power consumption state (e.g., preheating standby or off state) to full power state. Instead, it is adjusted according to a pre-set, phased increase in current value. For example, it can be set to increase a fixed current step (e.g., 1 mA) every certain time interval (e.g., 100 microseconds) until the current required for full power state is reached. The purpose is to smoothly increase the output power of the auxiliary transmission channel and avoid instantaneous large current surges.
[0100] "Gradual switching" can be understood as the auxiliary transmission channel's power consumption or output power gradually increasing to full power over a period of time according to the preset current step gradient. This switching method is suitable for the second type of service, which has relatively low sensitivity to transmission delay. Its purpose is to ensure the smoothness of the switching process, reduce potential interference to the system's power integrity, and potentially extend device lifespan.
[0101] In practical applications, "instantaneous switching" refers to the auxiliary transmission channel rapidly reaching the required full-power level within the shortest possible time after receiving a command to enter full-power mode. This switching method aims to minimize switching latency and ensure that Type I services, which are highly sensitive to transmission latency, can obtain the required transmission bandwidth as quickly as possible, thereby guaranteeing service quality.
[0102] This application's solution addresses the problem of the basic solution's single switching mode being unable to meet the needs of different service types by finely managing the power consumption state switching method of the auxiliary transmission channel. Specifically, when a first-type service with high transmission latency sensitivity is identified as needing to activate the auxiliary transmission channel, an instantaneous switching method is used, allowing the auxiliary transmission channel to quickly enter full-power mode, thereby rapidly responding to the bandwidth requirements of high-latency-sensitive services and minimizing the latency caused by channel activation. When a second-type service with relatively low transmission latency sensitivity is identified as needing to activate the auxiliary transmission channel, a gradual switching method is used, smoothly increasing power consumption through a preset current step gradient. This helps suppress power integrity issues that may be caused by instantaneous current changes, reduces potential interference to other components inside the SFP optical module (such as the main transmission channel), and helps extend the lifespan of key components in the auxiliary transmission channel (such as the laser), while avoiding unnecessary instantaneous power consumption surges and improving the overall stability of the system.
[0103] When the activation conditions are met, the auxiliary transmission channel is controlled to enter full-power mode to cooperate with the main transmission channel for aggregated transmission. However, during the transition from the auxiliary transmission channel's power consumption state to the full-power state, its instantaneous current changes may interfere with the power integrity of the main transmission channel, thereby affecting the data transmission quality and stability of the main transmission channel.
[0104] Therefore, in some embodiments, step A403 further includes:
[0105] During the action chain of switching from power consumption state to full power state in the auxiliary transmission channel, the real-time bit error rate of the main transmission channel is acquired synchronously.
[0106] If the rise rate of the real-time bit error rate exceeds a preset safety threshold, it is determined that the instantaneous current change of the auxiliary transmission channel causes power integrity interference to the main transmission channel, and a signal compensation mechanism is triggered.
[0107] After the signal compensation mechanism is triggered, the impact of power integrity interference on the data transmission of the main transmission channel is offset by increasing the driving current at the transmitting end of the main transmission channel or adjusting the decision threshold at the receiving end of the main transmission channel.
[0108] Specifically, the "action chain during which the auxiliary transmission channel switches from power consumption state to full power state" refers to the entire process from the auxiliary transmission channel increasing its power consumption until it reaches full power state. During this period, the control logic inside the SFP optical module continuously monitors the operating status of the main transmission channel. "Real-time bit error rate" refers to the data transmission error rate of the main transmission channel at the current moment, which can be measured in real time by the bit error rate detection circuit inside the SFP optical module. "Rise slope" refers to the rate at which the bit error rate changes over time, reflecting the degree of abrupt change in the bit error rate. "Preset safety threshold" is an empirical value or an upper limit set according to system design requirements, used to determine whether the rise in bit error rate is abnormal. When the rise slope of the bit error rate exceeds this threshold, it indicates that the main transmission channel may have been significantly interfered with. "Power integrity interference" can be understood as voltage fluctuations on the power lines inside the SFP optical module caused by rapid current changes during power consumption state switching in the auxiliary transmission channel, thus affecting the power supply stability of the main transmission channel and leading to a decrease in its signal quality. "Signal compensation mechanism" is a technical means designed to counteract this interference. In practical applications, specific implementation methods include "increasing the driving current of the transmitter of the main transmission channel," that is, increasing the strength of the signal transmitted by the main transmission channel to make it more resistant to noise interference; or "adjusting the decision threshold of the receiver of the main transmission channel," that is, changing the threshold for the receiver to determine the high and low levels of the signal to adapt to the signal waveform after interference, thereby recovering data more accurately. These adjustments aim to ensure that the main transmission channel can maintain stable data transmission performance even when the auxiliary transmission channel switches.
[0109] This application's solution simultaneously monitors the real-time bit error rate (BER) of the main transmission channel during the critical period when the auxiliary transmission channel switches to full power mode. This allows for timely detection and quantification of potential power integrity interference caused by the auxiliary transmission channel switching. When the BER rise rate exceeds a preset safety threshold, it indicates that the interference has adversely affected the performance of the main transmission channel. At this point, by triggering a signal compensation mechanism, such as increasing the transmitter drive current of the main transmission channel or adjusting its receiver decision threshold, the signal of the main transmission channel can be actively optimized to effectively resist or adapt to power fluctuations caused by instantaneous current changes in the auxiliary transmission channel. This proactive compensation strategy ensures that the main transmission channel maintains stable data transmission quality during the power state switching of the auxiliary transmission channel, avoiding link performance degradation or interruption due to interference.
[0110] In actual implementation, simply blocking physical link status change signals may cause the switch to be unable to accurately obtain the logical activation status of the aggregated link, or require complex internal logic to coordinate the reporting of physical and logical status, thereby affecting the efficiency and stability of network management.
[0111] Therefore, in some implementations, step A5 includes:
[0112] A501. Establish an abstraction layer of physical link status inside the SFP optical module;
[0113] A502. When the auxiliary transmission channel switches between different power consumption states, the activation status signal of the logical link is reported to the switch through the abstraction layer, and a link failure signal is sent to the switch only when a hardware failure of the auxiliary transmission channel is detected.
[0114] Specifically, the physical link state abstraction layer can be understood as a logical entity or software module within the SFP optical module. Its main function is to encapsulate and manage the physical link state of the auxiliary transmission channel. This abstraction layer is responsible for receiving low-level physical state information from the auxiliary transmission channel, such as optical signal strength, bit error rate, and laser bias current, and converting it into a higher-level logical link state. For example, this abstraction layer can be firmware running on the microcontroller inside the SFP optical module, or a state machine implemented by dedicated hardware logic circuitry. Its purpose is to decouple the physical power consumption state switching of the auxiliary transmission channel from the externally reported link state, preventing frequent fluctuations at the physical layer from directly affecting the switch's link management.
[0115] The logical link activation status signal refers to the signal reported by the abstraction layer to the switch regarding the availability of the aggregated link, based on the actual operating status of the auxiliary transmission channel and the preset service logic. This signal does not directly reflect the instantaneous physical power consumption state of the auxiliary transmission channel, but rather its logical participation capability in the aggregated link. For example, when the auxiliary transmission channel switches from a preheating standby state to a full-power state, the abstraction layer can determine that it has the capability to participate in aggregated transmission and report a stable "logical activation" signal to the switch, rather than a physical link "UP" signal. Conversely, a link failure signal is only generated and sent to the switch when the abstraction layer detects an unrecoverable hardware failure in the auxiliary transmission channel, such as laser damage or receiver failure, to indicate that the channel can no longer provide service.
[0116] The solution proposed in this application effectively solves the aforementioned problems by introducing an abstraction layer for physical link states within the SFP optical module. Specifically, when the power consumption state of the auxiliary transmission channel changes, such as switching from a preheating standby state to a full-power state, or from a full-power state to a shutdown state, these physical state changes are first captured and processed by the abstraction layer. The abstraction layer does not directly convert these instantaneous physical state changes into link UP / DOWN signals and send them to the switch. Instead, it maintains a stable logical link activation state according to preset logical rules. For example, as long as the auxiliary transmission channel is in a preheating standby state or a full-power state, and no hardware fault is detected, the abstraction layer can continuously report to the switch that the logical link is active, indicating that the channel is logically available or can be activated in a short period of time. Therefore, the link state signal received by the switch is the result of filtering and logical judgment by the abstraction layer, thus avoiding interference to the switch caused by frequent link state change signals due to power consumption management within the auxiliary transmission channel. The abstraction layer will only send a link failure signal to the switch when it detects that a hardware failure has indeed occurred in the auxiliary transmission channel, such as damage to internal components of the optical module that prevents normal data transmission. This ensures that the switch can accurately identify the real link failure and take appropriate network adjustment measures in a timely manner.
[0117] When both the primary and auxiliary transmission channels are simultaneously in full-power, high-load aggregated transmission mode, the compact structure and high power consumption of the SFP optical module may lead to excessive local heat accumulation, resulting in a high thermal superposition density, which poses a potential threat to the long-term stability and reliability of the optical module. If this problem is not addressed, it may lead to performance degradation, shortened lifespan, or even failure of the optical module. To address this, this application further proposes a method to effectively suppress the temperature rise rate of the SFP optical module by actively monitoring and intelligently adjusting the transmission parameters of the auxiliary transmission channel when it is in full-power mode.
[0118] Specifically, the method also includes the following steps:
[0119] A6. When the auxiliary transmission channel is in full power mode, perform the following steps:
[0120] A601. When it is detected that the main transmission channel and the auxiliary transmission channel are simultaneously in a high-load aggregated transmission state, the physical distance between the main transmission channel and the auxiliary transmission channel and their respective real-time power consumption data are obtained.
[0121] A602. Based on the physical spacing and the real-time power consumption data, calculate the local thermal superposition density inside the SFP optical module;
[0122] A603. If the local thermal superposition density exceeds a preset reliability threshold, then, under the premise of meeting the minimum bandwidth requirements corresponding to the identified service type, the instantaneous power consumption of the auxiliary transmission channel is reduced by adjusting the modulation format of the auxiliary transmission channel or reducing the symbol rate of the auxiliary transmission channel, thereby suppressing the temperature rise rate of the SFP optical module.
[0123] Specifically, step A6 aims to proactively manage the internal thermal condition of the SFP optical module when the auxiliary transmission channel is at full power and simultaneously subjected to high-load aggregated transmission with the main transmission channel. The high-load aggregated transmission state can be understood as both the main and auxiliary transmission channels carrying data traffic close to or reaching their design capacity (for example, when the carried data traffic is greater than or equal to a preset proportion of the design capacity, such as 90%, it is determined to be a high-load aggregated transmission state), resulting in higher overall power consumption of the optical module.
[0124] In step A601, acquiring the physical distance between the main transmission channel and the auxiliary transmission channel, as well as their respective real-time power consumption data, is crucial for accurately assessing the heat source distribution and heat generation. The physical distance refers to the spatial distance between the two transmission channels (e.g., their respective lasers or driver circuits) within the SFP optical module; this distance directly affects heat conduction and superposition effects. Real-time power consumption data refers to the instantaneous energy consumption of the main and auxiliary transmission channels under current operating conditions, directly reflecting the rate of heat generation. This data can be acquired in real-time using integrated temperature sensors and power monitoring circuits within the SFP optical module, or through a firmware interface.
[0125] In step A602, based on the acquired physical spacing and real-time power consumption data, the local thermal superposition density inside the SFP optical module is calculated. Local thermal superposition density can be understood as the degree of heat concentration in a specific area inside the SFP optical module (e.g., between two transmission channels or near key components), reflecting the temperature rise trend and potential thermal stress in that area. Specifically, a thermal simulation model can be used for calculation. This model takes the physical spacing, real-time power consumption data, and parameters such as the module's material thermal conductivity and packaging structure as input, and outputs the temperature distribution or heat flux density at various points inside the module. For example, a finite element thermal simulation model can be established, using the heat generated by power consumption in the two channels as the heat source, to calculate the temperature field inside the module, thereby obtaining the local thermal superposition density.
[0126] In step A603, if the calculated local thermal superposition density exceeds a preset reliability threshold, it indicates that the SFP optical module is at risk of overheating and measures need to be taken. The preset reliability threshold is determined based on the SFP optical module's design specifications, material properties, and expected lifespan, and is used to ensure the reliability of the optical module during long-term operation. At this point, while meeting the minimum bandwidth requirements corresponding to the identified service type, the instantaneous power consumption of the auxiliary transmission channel is reduced by adjusting the modulation format of the auxiliary transmission channel or lowering the symbol rate of the auxiliary transmission channel. Modulation format adjustments can be made, for example, by switching from high-order modulation (such as PAM4) to low-order modulation (such as NRZ), or by reducing the symbol rate without affecting the service, thereby reducing the amount of data transmitted per unit time and thus reducing the power consumption of the laser driver circuit and photodetector. The aim is to effectively suppress the temperature rise rate of the SFP optical module while ensuring the basic service transmission quality, avoiding performance degradation or hardware damage due to overheating.
[0127] This application's solution addresses the potential for localized overheating when both the primary and auxiliary transmission channels operate under high load simultaneously by introducing an active thermal management mechanism. Specifically, when the auxiliary transmission channel is at full power and shares the high-load aggregated transmission load with the primary channel, the system monitors and acquires real-time data on the physical distance and power consumption of the two channels. This data is crucial input for assessing the internal thermal condition of the SFP optical module. Based on this data, the system can calculate the localized thermal density within the SFP optical module, thus quantifying the current thermal load. Once this localized thermal density exceeds a preset reliability threshold, indicating an overheating risk, the system triggers an intelligent power reduction strategy. The core of this strategy is to reduce instantaneous power consumption by adjusting the modulation format or reducing the symbol rate of the auxiliary transmission channel, while ensuring the minimum bandwidth requirements of the current service type. For example, switching from a more complex modulation scheme to a simpler one, or reducing the data transmission rate, effectively reduces the energy consumption of the laser driver circuit and related components, thereby reducing heat generation. Thus, the temperature rise rate of the SFP optical module is effectively suppressed, avoiding performance degradation and reliability issues caused by overheating.
[0128] In some preferred embodiments, a specific example is given below. Assume that the main transmission channel and auxiliary transmission channel within an SFP optical module both use PAM4 modulation and are physically close together. When the system identifies a Category 1 service (e.g., latency-sensitive video conferencing traffic) and the real-time transmission traffic continues to surge, the auxiliary transmission channel is activated and enters full-power mode, performing high-load aggregation transmission together with the main transmission channel. At this time, the temperature sensor and power consumption monitoring unit inside the SFP optical module acquire real-time instantaneous power consumption data for the main and auxiliary transmission channels; for example, the main channel power consumption is 1.5W and the auxiliary channel power consumption is 1.2W. Simultaneously, the system knows that the physical distance between the two channels is 5mm. Based on this data, the control unit calculates the local thermal superposition density inside the SFP optical module. If the calculated result (e.g., the equivalent temperature rise rate) exceeds a preset reliability threshold (e.g., 0.5 degrees Celsius per second), the system determines that there is an overheating risk.
[0129] To suppress temperature rise, the system first checks the minimum bandwidth requirements of the current Category 1 service. Assuming that under the current high load, the bandwidth requirements of the auxiliary transmission channel can be met by using NRZ modulation or slightly reducing the symbol rate, the system will trigger an adjustment mechanism to switch the modulation format of the auxiliary transmission channel from PAM4 to NRZ, or, while maintaining PAM4 modulation, reduce the symbol rate from 28 GBaud to 25 GBaud. These adjustments immediately reduce the instantaneous power consumption of the auxiliary transmission channel, for example, from 1.2W to 0.8W, thereby effectively reducing heat generation inside the SFP optical module, suppressing the overall temperature rise rate, and ensuring stable operation of the optical module under sustained high load.
[0130] refer to Figure 2 This application provides a link aggregation control system for an SFP optical module of a switch, used to control the SFP optical module of the switch, wherein the SFP optical module has a main transmission channel and an auxiliary transmission channel; the system includes:
[0131] Type identification module 1 is used to acquire message feature information of the data stream to be transmitted, and identify the service type based on the message feature information; the service type includes at least a first type of service and a second type of service, wherein the first type of service is more sensitive to transmission delay than the second type of service (the specific process can be referred to step A1 above).
[0132] Parameter matching module 2 is used to match the corresponding activation threshold and judgment duration according to the identified business type (for details, please refer to step A2 above).
[0133] The judgment module 3 is used to determine whether the activation conditions are met based on the changes in real-time transmission traffic, the activation threshold, and the judgment duration (for details, please refer to step A3 above).
[0134] The status control module 4 is used to control the power consumption status of the auxiliary transmission channel according to the identified service type and the satisfaction of activation conditions; the power consumption status includes at least full power status, preheating standby status and off status (the specific process can be referred to step A4 above).
[0135] The signal transmission module 5 is used to shield the transmission of link state change signals to the switch during the switching process when the power consumption state of the auxiliary transmission channel changes, and only send a link failure signal to the switch when a hardware failure of the auxiliary transmission channel is detected (the specific process can be referred to step A5 above).
[0136] In some implementations, the system further includes:
[0137] The temperature control module is used to perform the following steps when the auxiliary transmission channel is in full power mode:
[0138] When it is detected that the main transmission channel and the auxiliary transmission channel are both in a high-load aggregated transmission state, the physical distance between the main transmission channel and the auxiliary transmission channel and their respective real-time power consumption data are obtained.
[0139] Based on the physical spacing and the real-time power consumption data, the local thermal superposition density inside the SFP optical module is calculated.
[0140] If the local thermal superposition density exceeds the preset reliability threshold, then, under the premise of meeting the minimum bandwidth requirements corresponding to the identified service type, the instantaneous power consumption of the auxiliary transmission channel is reduced by adjusting the modulation format of the auxiliary transmission channel or reducing the symbol rate of the auxiliary transmission channel, thereby suppressing the temperature rise rate of the SFP optical module (for details, please refer to step A6 above).
[0141] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A link aggregation control method of a switch SFP optical module, used for controlling a switch SFP optical module, the SFP optical module having a main transmission channel and an auxiliary transmission channel; characterized in that, The method includes the following steps: A1. Obtain message characteristic information of the data stream to be transmitted, and identify the service type based on the message characteristic information; the service type includes at least a first type of service and a second type of service, wherein the first type of service is more sensitive to transmission delay than the second type of service; A2. Match the corresponding activation threshold and judgment duration based on the identified business type; A3. Determine whether the activation conditions are met based on the changes in real-time transmission traffic, the activation threshold, and the determination duration; A4. Based on the identified service type and the fulfillment of activation conditions, control the power consumption state of the auxiliary transmission channel; the power consumption state includes at least full power state, preheating standby state, and off state; A5. When the power consumption state of the auxiliary transmission channel changes, the link state change signal is blocked from being sent to the switch during the switching process, and a link failure signal is sent to the switch only when a hardware failure of the auxiliary transmission channel is detected.
2. The method of claim 1, wherein the SFP optical module is a switch SFP optical module. Step A1 includes: A101. Real-time acquisition of the header information of data packets in the data stream to be transmitted, so as to extract at least one of the DSCP value, VLAN identifier, TCP port number or UDP port number as the message feature information; A102. The message feature information is compared with a preset service rule table to classify the data stream to be transmitted into the first type of service or the second type of service; the service rule table contains predefined matching conditions and corresponding service type labels.
3. The method of claim 1, wherein the SFP optical module is a switch SFP optical module. The activation threshold corresponding to the first type of service is less than the activation threshold corresponding to the second type of service, and the determination time corresponding to the first type of service is shorter than the determination time corresponding to the second type of service; Step A3 includes: When the real-time transmission traffic exceeds the activation threshold for a duration that reaches the determination duration, the activation condition is determined to be met; otherwise, the activation condition is determined not to be met.
4. The link aggregation control method for the SFP optical module of the switch according to claim 1, characterized in that, Step A4 includes: A401. When the identified service type is a Class I service and the activation conditions are not met, the auxiliary transmission channel is controlled to enter the preheating standby state; A402. When the identified service type is a second type of service and the activation conditions are not met, the auxiliary transmission channel is controlled to enter the closed state; A403. When the activation condition is met, the auxiliary transmission channel is controlled to enter the full power state to cooperate with the main transmission channel for aggregated transmission.
5. The method of claim 4, wherein the SFP optical module is a switch SFP optical module. Step A401 includes: When the identified service type is the first type and the activation conditions are not met, the laser driving circuit in the auxiliary transmission channel is controlled to maintain a non-zero bias current and the operating temperature of the laser in the auxiliary transmission channel is kept within a preset thermal equilibrium range.
6. The method of claim 4, wherein the SFP optical module is a switch SFP optical module. Step A403 includes: When the identified service type is the second type of service and the activation conditions are met, the auxiliary transmission channel is controlled to gradually switch from the current power consumption state to the full power state according to the preset current step gradient. When the identified service type is a Class 1 service and the activation conditions are met, the auxiliary transmission channel is controlled to instantly switch from the current power consumption state to the full power state.
7. The method of claim 4, wherein the SFP optical module is a switch SFP optical module. Step A403 includes: During the action chain of switching from power consumption state to full power state in the auxiliary transmission channel, the real-time bit error rate of the main transmission channel is acquired synchronously. If the rise rate of the real-time bit error rate exceeds a preset safety threshold, it is determined that the instantaneous current change of the auxiliary transmission channel causes power integrity interference to the main transmission channel, and a signal compensation mechanism is triggered. After the signal compensation mechanism is triggered, the impact of power integrity interference on the data transmission of the main transmission channel is offset by increasing the driving current at the transmitting end of the main transmission channel or adjusting the decision threshold at the receiving end of the main transmission channel.
8. The method of claim 1, wherein the SFP optical module is a switch SFP optical module. Step A5 includes: A501. Establish an abstraction layer of physical link status inside the SFP optical module; A502. When the auxiliary transmission channel switches between different power consumption states, the activation status signal of the logical link is reported to the switch through the abstraction layer, and a link failure signal is sent to the switch only when a hardware failure of the auxiliary transmission channel is detected.
9. The link aggregation control method for the SFP optical module of the switch according to claim 1, characterized in that, The method also includes the following steps: A6. When the auxiliary transmission channel is in full power mode, perform the following steps: A601. When it is detected that the main transmission channel and the auxiliary transmission channel are simultaneously in a high-load aggregated transmission state, the physical distance between the main transmission channel and the auxiliary transmission channel and their respective real-time power consumption data are obtained. A602. Based on the physical spacing and the real-time power consumption data, calculate the local thermal superposition density inside the SFP optical module; A603. If the local thermal superposition density exceeds a preset reliability threshold, then, under the premise of meeting the minimum bandwidth requirements corresponding to the identified service type, the instantaneous power consumption of the auxiliary transmission channel is reduced by adjusting the modulation format of the auxiliary transmission channel or reducing the symbol rate of the auxiliary transmission channel, thereby suppressing the temperature rise rate of the SFP optical module.
10. A link aggregation control system of a switch SFP optical module, used for controlling a switch SFP optical module, the SFP optical module having a main transmission channel and an auxiliary transmission channel; characterized in that, The system includes: A type identification module is used to acquire message feature information of the data stream to be transmitted, and to identify the service type based on the message feature information; the service type includes at least a first type of service and a second type of service, wherein the first type of service is more sensitive to transmission delay than the second type of service; The parameter matching module is used to match the corresponding activation threshold and judgment duration based on the identified service type; The judgment module is used to determine whether the activation conditions are met based on the changes in real-time transmission traffic, the activation threshold, and the judgment duration. The status control module is used to control the power consumption status of the auxiliary transmission channel based on the identified service type and the satisfaction of activation conditions; the power consumption status includes at least a full power status, a preheating standby status, and a shutdown status; The signal transmission module is used to shield the transmission of link state change signals to the switch during the switching process when the power consumption state of the auxiliary transmission channel changes, and to send link failure signals to the switch only when a hardware failure of the auxiliary transmission channel is detected.